10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
30inline constexpr SparsePermutationProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
34 _support_cached_byte_size_{0},
36 _cycle_sizes_cached_byte_size_{0} {}
40#if defined(PROTOBUF_CUSTOM_VTABLE)
43 : ::google::protobuf::Message(),
45 _impl_(::_pbi::ConstantInitialized()) {
55PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
58inline constexpr PartialVariableAssignment::Impl_::Impl_(
59 ::_pbi::ConstantInitialized) noexcept
62 _vars_cached_byte_size_{0},
64 _values_cached_byte_size_{0} {}
68#if defined(PROTOBUF_CUSTOM_VTABLE)
71 : ::google::protobuf::Message(),
73 _impl_(::_pbi::ConstantInitialized()) {
83PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
86inline constexpr NoOverlapConstraintProto::Impl_::Impl_(
87 ::_pbi::ConstantInitialized) noexcept
90 _intervals_cached_byte_size_{0} {}
94#if defined(PROTOBUF_CUSTOM_VTABLE)
97 : ::google::protobuf::Message(),
99 _impl_(::_pbi::ConstantInitialized()) {
109PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
112inline constexpr NoOverlap2DConstraintProto::Impl_::Impl_(
113 ::_pbi::ConstantInitialized) noexcept
116 _x_intervals_cached_byte_size_{0},
118 _y_intervals_cached_byte_size_{0} {}
122#if defined(PROTOBUF_CUSTOM_VTABLE)
125 : ::google::protobuf::Message(),
127 _impl_(::_pbi::ConstantInitialized()) {
137PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
140inline constexpr ListOfVariablesProto::Impl_::Impl_(
141 ::_pbi::ConstantInitialized) noexcept
144 _vars_cached_byte_size_{0} {}
148#if defined(PROTOBUF_CUSTOM_VTABLE)
151 : ::google::protobuf::Message(),
153 _impl_(::_pbi::ConstantInitialized()) {
163PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
166inline constexpr LinearExpressionProto::Impl_::Impl_(
167 ::_pbi::ConstantInitialized) noexcept
170 _vars_cached_byte_size_{0},
172 _coeffs_cached_byte_size_{0},
173 offset_{::int64_t{0}} {}
177#if defined(PROTOBUF_CUSTOM_VTABLE)
180 : ::google::protobuf::Message(),
182 _impl_(::_pbi::ConstantInitialized()) {
192PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
195inline constexpr LinearConstraintProto::Impl_::Impl_(
196 ::_pbi::ConstantInitialized) noexcept
199 _vars_cached_byte_size_{0},
201 _coeffs_cached_byte_size_{0},
203 _domain_cached_byte_size_{0} {}
207#if defined(PROTOBUF_CUSTOM_VTABLE)
210 : ::google::protobuf::Message(),
212 _impl_(::_pbi::ConstantInitialized()) {
222PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
225inline constexpr InverseConstraintProto::Impl_::Impl_(
226 ::_pbi::ConstantInitialized) noexcept
229 _f_direct_cached_byte_size_{0},
231 _f_inverse_cached_byte_size_{0} {}
235#if defined(PROTOBUF_CUSTOM_VTABLE)
238 : ::google::protobuf::Message(),
240 _impl_(::_pbi::ConstantInitialized()) {
250PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
253inline constexpr IntegerVariableProto::Impl_::Impl_(
254 ::_pbi::ConstantInitialized) noexcept
257 _domain_cached_byte_size_{0},
259 &::google::protobuf::internal::fixed_address_empty_string,
260 ::_pbi::ConstantInitialized()) {}
264#if defined(PROTOBUF_CUSTOM_VTABLE)
267 : ::google::protobuf::Message(),
269 _impl_(::_pbi::ConstantInitialized()) {
279PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
282inline constexpr FloatObjectiveProto::Impl_::Impl_(
283 ::_pbi::ConstantInitialized) noexcept
286 _vars_cached_byte_size_{0},
293#if defined(PROTOBUF_CUSTOM_VTABLE)
296 : ::google::protobuf::Message(),
298 _impl_(::_pbi::ConstantInitialized()) {
308PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
311inline constexpr DenseMatrixProto::Impl_::Impl_(
312 ::_pbi::ConstantInitialized) noexcept
315 _entries_cached_byte_size_{0},
321#if defined(PROTOBUF_CUSTOM_VTABLE)
324 : ::google::protobuf::Message(),
326 _impl_(::_pbi::ConstantInitialized()) {
336PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
339inline constexpr CpSolverSolution::Impl_::Impl_(
340 ::_pbi::ConstantInitialized) noexcept
343 _values_cached_byte_size_{0} {}
347#if defined(PROTOBUF_CUSTOM_VTABLE)
350 : ::google::protobuf::Message(),
352 _impl_(::_pbi::ConstantInitialized()) {
362PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
365inline constexpr CpObjectiveProto::Impl_::Impl_(
366 ::_pbi::ConstantInitialized) noexcept
369 _vars_cached_byte_size_{0},
371 _coeffs_cached_byte_size_{0},
373 _domain_cached_byte_size_{0},
376 integer_before_offset_{::int64_t{0}},
377 integer_scaling_factor_{::int64_t{0}},
378 integer_after_offset_{::int64_t{0}},
379 scaling_was_exact_{
false} {}
383#if defined(PROTOBUF_CUSTOM_VTABLE)
386 : ::google::protobuf::Message(),
388 _impl_(::_pbi::ConstantInitialized()) {
398PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
401inline constexpr CircuitConstraintProto::Impl_::Impl_(
402 ::_pbi::ConstantInitialized) noexcept
405 _tails_cached_byte_size_{0},
407 _heads_cached_byte_size_{0},
409 _literals_cached_byte_size_{0} {}
413#if defined(PROTOBUF_CUSTOM_VTABLE)
416 : ::google::protobuf::Message(),
418 _impl_(::_pbi::ConstantInitialized()) {
428PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
431inline constexpr BoolArgumentProto::Impl_::Impl_(
432 ::_pbi::ConstantInitialized) noexcept
435 _literals_cached_byte_size_{0} {}
439#if defined(PROTOBUF_CUSTOM_VTABLE)
442 : ::google::protobuf::Message(),
444 _impl_(::_pbi::ConstantInitialized()) {
454PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
457inline constexpr TableConstraintProto::Impl_::Impl_(
458 ::_pbi::ConstantInitialized) noexcept
461 _vars_cached_byte_size_{0},
463 _values_cached_byte_size_{0},
469#if defined(PROTOBUF_CUSTOM_VTABLE)
472 : ::google::protobuf::Message(),
474 _impl_(::_pbi::ConstantInitialized()) {
484PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
487inline constexpr SymmetryProto::Impl_::Impl_(
488 ::_pbi::ConstantInitialized) noexcept
495#if defined(PROTOBUF_CUSTOM_VTABLE)
498 : ::google::protobuf::Message(),
500 _impl_(::_pbi::ConstantInitialized()) {
510PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
513inline constexpr RoutesConstraintProto_NodeExpressions::Impl_::Impl_(
514 ::_pbi::ConstantInitialized) noexcept
520#if defined(PROTOBUF_CUSTOM_VTABLE)
523 : ::google::protobuf::Message(),
525 _impl_(::_pbi::ConstantInitialized()) {
535PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
538inline constexpr ReservoirConstraintProto::Impl_::Impl_(
539 ::_pbi::ConstantInitialized) noexcept
543 _active_literals_cached_byte_size_{0},
545 min_level_{::int64_t{0}},
546 max_level_{::int64_t{0}} {}
550#if defined(PROTOBUF_CUSTOM_VTABLE)
553 : ::google::protobuf::Message(),
555 _impl_(::_pbi::ConstantInitialized()) {
565PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
568inline constexpr LinearArgumentProto::Impl_::Impl_(
569 ::_pbi::ConstantInitialized) noexcept
576#if defined(PROTOBUF_CUSTOM_VTABLE)
579 : ::google::protobuf::Message(),
581 _impl_(::_pbi::ConstantInitialized()) {
591PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
594inline constexpr IntervalConstraintProto::Impl_::Impl_(
595 ::_pbi::ConstantInitialized) noexcept
603#if defined(PROTOBUF_CUSTOM_VTABLE)
606 : ::google::protobuf::Message(),
608 _impl_(::_pbi::ConstantInitialized()) {
618PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
621inline constexpr ElementConstraintProto::Impl_::Impl_(
622 ::_pbi::ConstantInitialized) noexcept
625 _vars_cached_byte_size_{0},
627 linear_index_{
nullptr},
628 linear_target_{
nullptr},
634#if defined(PROTOBUF_CUSTOM_VTABLE)
637 : ::google::protobuf::Message(),
639 _impl_(::_pbi::ConstantInitialized()) {
649PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
652inline constexpr DecisionStrategyProto::Impl_::Impl_(
653 ::_pbi::ConstantInitialized) noexcept
656 _variables_cached_byte_size_{0},
663#if defined(PROTOBUF_CUSTOM_VTABLE)
666 : ::google::protobuf::Message(),
668 _impl_(::_pbi::ConstantInitialized()) {
678PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
681inline constexpr CumulativeConstraintProto::Impl_::Impl_(
682 ::_pbi::ConstantInitialized) noexcept
685 _intervals_cached_byte_size_{0},
687 capacity_{
nullptr} {}
691#if defined(PROTOBUF_CUSTOM_VTABLE)
694 : ::google::protobuf::Message(),
696 _impl_(::_pbi::ConstantInitialized()) {
706PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
709inline constexpr CpSolverResponse::Impl_::Impl_(
710 ::_pbi::ConstantInitialized) noexcept
713 _solution_cached_byte_size_{0},
714 tightened_variables_{},
715 sufficient_assumptions_for_infeasibility_{},
716 _sufficient_assumptions_for_infeasibility_cached_byte_size_{0},
717 additional_solutions_{},
719 &::google::protobuf::internal::fixed_address_empty_string,
720 ::_pbi::ConstantInitialized()),
722 &::google::protobuf::internal::fixed_address_empty_string,
723 ::_pbi::ConstantInitialized()),
724 integer_objective_{
nullptr},
726 best_objective_bound_{0},
727 num_booleans_{::int64_t{0}},
728 num_conflicts_{::int64_t{0}},
729 num_branches_{::int64_t{0}},
730 num_binary_propagations_{::int64_t{0}},
731 num_integer_propagations_{::int64_t{0}},
734 deterministic_time_{0},
736 num_restarts_{::int64_t{0}},
737 num_lp_iterations_{::int64_t{0}},
738 inner_objective_lower_bound_{::int64_t{0}},
739 num_integers_{::int64_t{0}},
740 num_fixed_booleans_{::int64_t{0}},
745#if defined(PROTOBUF_CUSTOM_VTABLE)
748 : ::google::protobuf::Message(),
750 _impl_(::_pbi::ConstantInitialized()) {
760PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
763inline constexpr AutomatonConstraintProto::Impl_::Impl_(
764 ::_pbi::ConstantInitialized) noexcept
767 _final_states_cached_byte_size_{0},
769 _transition_tail_cached_byte_size_{0},
771 _transition_head_cached_byte_size_{0},
773 _transition_label_cached_byte_size_{0},
775 _vars_cached_byte_size_{0},
777 starting_state_{::int64_t{0}} {}
781#if defined(PROTOBUF_CUSTOM_VTABLE)
784 : ::google::protobuf::Message(),
786 _impl_(::_pbi::ConstantInitialized()) {
796PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
799inline constexpr AllDifferentConstraintProto::Impl_::Impl_(
800 ::_pbi::ConstantInitialized) noexcept
806#if defined(PROTOBUF_CUSTOM_VTABLE)
809 : ::google::protobuf::Message(),
811 _impl_(::_pbi::ConstantInitialized()) {
821PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
824inline constexpr RoutesConstraintProto::Impl_::Impl_(
825 ::_pbi::ConstantInitialized) noexcept
828 _tails_cached_byte_size_{0},
830 _heads_cached_byte_size_{0},
832 _literals_cached_byte_size_{0},
834 _demands_cached_byte_size_{0},
836 capacity_{::int64_t{0}} {}
840#if defined(PROTOBUF_CUSTOM_VTABLE)
843 : ::google::protobuf::Message(),
845 _impl_(::_pbi::ConstantInitialized()) {
855PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
858inline constexpr ConstraintProto::Impl_::Impl_(
859 ::_pbi::ConstantInitialized) noexcept
861 enforcement_literal_{},
862 _enforcement_literal_cached_byte_size_{0},
864 &::google::protobuf::internal::fixed_address_empty_string,
865 ::_pbi::ConstantInitialized()),
871#if defined(PROTOBUF_CUSTOM_VTABLE)
874 : ::google::protobuf::Message(),
876 _impl_(::_pbi::ConstantInitialized()) {
886PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
889inline constexpr CpModelProto::Impl_::Impl_(
890 ::_pbi::ConstantInitialized) noexcept
896 _assumptions_cached_byte_size_{0},
898 &::google::protobuf::internal::fixed_address_empty_string,
899 ::_pbi::ConstantInitialized()),
901 solution_hint_{
nullptr},
903 floating_point_objective_{
nullptr} {}
907#if defined(PROTOBUF_CUSTOM_VTABLE)
910 : ::google::protobuf::Message(),
912 _impl_(::_pbi::ConstantInitialized()) {
922PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
926static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
928static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
1309static const ::_pbi::MigrationSchema
1376 "\n\032ortools/sat/cp_model.proto\022\027operations"
1377 "_research.sat\"4\n\024IntegerVariableProto\022\014\n"
1378 "\004name\030\001 \001(\t\022\016\n\006domain\030\002 \003(\003\"%\n\021BoolArgum"
1379 "entProto\022\020\n\010literals\030\001 \003(\005\"E\n\025LinearExpr"
1380 "essionProto\022\014\n\004vars\030\001 \003(\005\022\016\n\006coeffs\030\002 \003("
1381 "\003\022\016\n\006offset\030\003 \001(\003\"\224\001\n\023LinearArgumentProt"
1382 "o\022>\n\006target\030\001 \001(\0132..operations_research."
1383 "sat.LinearExpressionProto\022=\n\005exprs\030\002 \003(\013"
1384 "2..operations_research.sat.LinearExpress"
1385 "ionProto\"\\\n\033AllDifferentConstraintProto\022"
1386 "=\n\005exprs\030\001 \003(\0132..operations_research.sat"
1387 ".LinearExpressionProto\"E\n\025LinearConstrai"
1388 "ntProto\022\014\n\004vars\030\001 \003(\005\022\016\n\006coeffs\030\002 \003(\003\022\016\n"
1389 "\006domain\030\003 \003(\003\"\221\002\n\026ElementConstraintProto"
1390 "\022\r\n\005index\030\001 \001(\005\022\016\n\006target\030\002 \001(\005\022\014\n\004vars\030"
1391 "\003 \003(\005\022D\n\014linear_index\030\004 \001(\0132..operations"
1392 "_research.sat.LinearExpressionProto\022E\n\rl"
1393 "inear_target\030\005 \001(\0132..operations_research"
1394 ".sat.LinearExpressionProto\022=\n\005exprs\030\006 \003("
1395 "\0132..operations_research.sat.LinearExpres"
1396 "sionProto\"\323\001\n\027IntervalConstraintProto\022=\n"
1397 "\005start\030\004 \001(\0132..operations_research.sat.L"
1398 "inearExpressionProto\022;\n\003end\030\005 \001(\0132..oper"
1399 "ations_research.sat.LinearExpressionProt"
1400 "o\022<\n\004size\030\006 \001(\0132..operations_research.sa"
1401 "t.LinearExpressionProto\"-\n\030NoOverlapCons"
1402 "traintProto\022\021\n\tintervals\030\001 \003(\005\"F\n\032NoOver"
1403 "lap2DConstraintProto\022\023\n\013x_intervals\030\001 \003("
1404 "\005\022\023\n\013y_intervals\030\002 \003(\005\"\261\001\n\031CumulativeCon"
1405 "straintProto\022@\n\010capacity\030\001 \001(\0132..operati"
1406 "ons_research.sat.LinearExpressionProto\022\021"
1407 "\n\tintervals\030\002 \003(\005\022\?\n\007demands\030\003 \003(\0132..ope"
1408 "rations_research.sat.LinearExpressionPro"
1409 "to\"\352\001\n\030ReservoirConstraintProto\022\021\n\tmin_l"
1410 "evel\030\001 \001(\003\022\021\n\tmax_level\030\002 \001(\003\022B\n\ntime_ex"
1411 "prs\030\003 \003(\0132..operations_research.sat.Line"
1412 "arExpressionProto\022E\n\rlevel_changes\030\006 \003(\013"
1413 "2..operations_research.sat.LinearExpress"
1414 "ionProto\022\027\n\017active_literals\030\005 \003(\005J\004\010\004\020\005\""
1415 "H\n\026CircuitConstraintProto\022\r\n\005tails\030\003 \003(\005"
1416 "\022\r\n\005heads\030\004 \003(\005\022\020\n\010literals\030\005 \003(\005\"\220\002\n\025Ro"
1417 "utesConstraintProto\022\r\n\005tails\030\001 \003(\005\022\r\n\005he"
1418 "ads\030\002 \003(\005\022\020\n\010literals\030\003 \003(\005\022\017\n\007demands\030\004"
1419 " \003(\005\022\020\n\010capacity\030\005 \001(\003\022R\n\ndimensions\030\006 \003"
1420 "(\0132>.operations_research.sat.RoutesConst"
1421 "raintProto.NodeExpressions\032P\n\017NodeExpres"
1422 "sions\022=\n\005exprs\030\001 \003(\0132..operations_resear"
1423 "ch.sat.LinearExpressionProto\"\204\001\n\024TableCo"
1424 "nstraintProto\022\014\n\004vars\030\001 \003(\005\022\016\n\006values\030\002 "
1425 "\003(\003\022=\n\005exprs\030\004 \003(\0132..operations_research"
1426 ".sat.LinearExpressionProto\022\017\n\007negated\030\003 "
1427 "\001(\010\"=\n\026InverseConstraintProto\022\020\n\010f_direc"
1428 "t\030\001 \003(\005\022\021\n\tf_inverse\030\002 \003(\005\"\341\001\n\030Automaton"
1429 "ConstraintProto\022\026\n\016starting_state\030\002 \001(\003\022"
1430 "\024\n\014final_states\030\003 \003(\003\022\027\n\017transition_tail"
1431 "\030\004 \003(\003\022\027\n\017transition_head\030\005 \003(\003\022\030\n\020trans"
1432 "ition_label\030\006 \003(\003\022\014\n\004vars\030\007 \003(\005\022=\n\005exprs"
1433 "\030\010 \003(\0132..operations_research.sat.LinearE"
1434 "xpressionProto\"$\n\024ListOfVariablesProto\022\014"
1435 "\n\004vars\030\001 \003(\005\"\360\014\n\017ConstraintProto\022\014\n\004name"
1436 "\030\001 \001(\t\022\033\n\023enforcement_literal\030\002 \003(\005\022=\n\007b"
1437 "ool_or\030\003 \001(\0132*.operations_research.sat.B"
1438 "oolArgumentProtoH\000\022>\n\010bool_and\030\004 \001(\0132*.o"
1439 "perations_research.sat.BoolArgumentProto"
1440 "H\000\022A\n\013at_most_one\030\032 \001(\0132*.operations_res"
1441 "earch.sat.BoolArgumentProtoH\000\022A\n\013exactly"
1442 "_one\030\035 \001(\0132*.operations_research.sat.Boo"
1443 "lArgumentProtoH\000\022>\n\010bool_xor\030\005 \001(\0132*.ope"
1444 "rations_research.sat.BoolArgumentProtoH\000"
1445 "\022\?\n\007int_div\030\007 \001(\0132,.operations_research."
1446 "sat.LinearArgumentProtoH\000\022\?\n\007int_mod\030\010 \001"
1447 "(\0132,.operations_research.sat.LinearArgum"
1448 "entProtoH\000\022@\n\010int_prod\030\013 \001(\0132,.operation"
1449 "s_research.sat.LinearArgumentProtoH\000\022\?\n\007"
1450 "lin_max\030\033 \001(\0132,.operations_research.sat."
1451 "LinearArgumentProtoH\000\022@\n\006linear\030\014 \001(\0132.."
1452 "operations_research.sat.LinearConstraint"
1453 "ProtoH\000\022H\n\010all_diff\030\r \001(\01324.operations_r"
1454 "esearch.sat.AllDifferentConstraintProtoH"
1455 "\000\022B\n\007element\030\016 \001(\0132/.operations_research"
1456 ".sat.ElementConstraintProtoH\000\022B\n\007circuit"
1457 "\030\017 \001(\0132/.operations_research.sat.Circuit"
1458 "ConstraintProtoH\000\022@\n\006routes\030\027 \001(\0132..oper"
1459 "ations_research.sat.RoutesConstraintProt"
1460 "oH\000\022>\n\005table\030\020 \001(\0132-.operations_research"
1461 ".sat.TableConstraintProtoH\000\022F\n\tautomaton"
1462 "\030\021 \001(\01321.operations_research.sat.Automat"
1463 "onConstraintProtoH\000\022B\n\007inverse\030\022 \001(\0132/.o"
1464 "perations_research.sat.InverseConstraint"
1465 "ProtoH\000\022F\n\treservoir\030\030 \001(\01321.operations_"
1466 "research.sat.ReservoirConstraintProtoH\000\022"
1467 "D\n\010interval\030\023 \001(\01320.operations_research."
1468 "sat.IntervalConstraintProtoH\000\022G\n\nno_over"
1469 "lap\030\024 \001(\01321.operations_research.sat.NoOv"
1470 "erlapConstraintProtoH\000\022L\n\rno_overlap_2d\030"
1471 "\025 \001(\01323.operations_research.sat.NoOverla"
1472 "p2DConstraintProtoH\000\022H\n\ncumulative\030\026 \001(\013"
1473 "22.operations_research.sat.CumulativeCon"
1474 "straintProtoH\000\022I\n\020dummy_constraint\030\036 \001(\013"
1475 "2-.operations_research.sat.ListOfVariabl"
1476 "esProtoH\000B\014\n\nconstraint\"\340\001\n\020CpObjectiveP"
1477 "roto\022\014\n\004vars\030\001 \003(\005\022\016\n\006coeffs\030\004 \003(\003\022\016\n\006of"
1478 "fset\030\002 \001(\001\022\026\n\016scaling_factor\030\003 \001(\001\022\016\n\006do"
1479 "main\030\005 \003(\003\022\031\n\021scaling_was_exact\030\006 \001(\010\022\035\n"
1480 "\025integer_before_offset\030\007 \001(\003\022\034\n\024integer_"
1481 "after_offset\030\t \001(\003\022\036\n\026integer_scaling_fa"
1482 "ctor\030\010 \001(\003\"U\n\023FloatObjectiveProto\022\014\n\004var"
1483 "s\030\001 \003(\005\022\016\n\006coeffs\030\002 \003(\001\022\016\n\006offset\030\003 \001(\001\022"
1484 "\020\n\010maximize\030\004 \001(\010\"\201\005\n\025DecisionStrategyPr"
1485 "oto\022\021\n\tvariables\030\001 \003(\005\022=\n\005exprs\030\005 \003(\0132.."
1486 "operations_research.sat.LinearExpression"
1487 "Proto\022m\n\033variable_selection_strategy\030\002 \001"
1488 "(\0162H.operations_research.sat.DecisionStr"
1489 "ategyProto.VariableSelectionStrategy\022i\n\031"
1490 "domain_reduction_strategy\030\003 \001(\0162F.operat"
1491 "ions_research.sat.DecisionStrategyProto."
1492 "DomainReductionStrategy\"\224\001\n\031VariableSele"
1493 "ctionStrategy\022\020\n\014CHOOSE_FIRST\020\000\022\025\n\021CHOOS"
1494 "E_LOWEST_MIN\020\001\022\026\n\022CHOOSE_HIGHEST_MAX\020\002\022\032"
1495 "\n\026CHOOSE_MIN_DOMAIN_SIZE\020\003\022\032\n\026CHOOSE_MAX"
1496 "_DOMAIN_SIZE\020\004\"\244\001\n\027DomainReductionStrate"
1497 "gy\022\024\n\020SELECT_MIN_VALUE\020\000\022\024\n\020SELECT_MAX_V"
1498 "ALUE\020\001\022\025\n\021SELECT_LOWER_HALF\020\002\022\025\n\021SELECT_"
1499 "UPPER_HALF\020\003\022\027\n\023SELECT_MEDIAN_VALUE\020\004\022\026\n"
1500 "\022SELECT_RANDOM_HALF\020\005\"9\n\031PartialVariable"
1501 "Assignment\022\014\n\004vars\030\001 \003(\005\022\016\n\006values\030\002 \003(\003"
1502 "\">\n\026SparsePermutationProto\022\017\n\007support\030\001 "
1503 "\003(\005\022\023\n\013cycle_sizes\030\002 \003(\005\"G\n\020DenseMatrixP"
1504 "roto\022\020\n\010num_rows\030\001 \001(\005\022\020\n\010num_cols\030\002 \001(\005"
1505 "\022\017\n\007entries\030\003 \003(\005\"\224\001\n\rSymmetryProto\022E\n\014p"
1506 "ermutations\030\001 \003(\0132/.operations_research."
1507 "sat.SparsePermutationProto\022<\n\torbitopes\030"
1508 "\002 \003(\0132).operations_research.sat.DenseMat"
1509 "rixProto\"\216\004\n\014CpModelProto\022\014\n\004name\030\001 \001(\t\022"
1510 "@\n\tvariables\030\002 \003(\0132-.operations_research"
1511 ".sat.IntegerVariableProto\022=\n\013constraints"
1512 "\030\003 \003(\0132(.operations_research.sat.Constra"
1513 "intProto\022<\n\tobjective\030\004 \001(\0132).operations"
1514 "_research.sat.CpObjectiveProto\022N\n\030floati"
1515 "ng_point_objective\030\t \001(\0132,.operations_re"
1516 "search.sat.FloatObjectiveProto\022G\n\017search"
1517 "_strategy\030\005 \003(\0132..operations_research.sa"
1518 "t.DecisionStrategyProto\022I\n\rsolution_hint"
1519 "\030\006 \001(\01322.operations_research.sat.Partial"
1520 "VariableAssignment\022\023\n\013assumptions\030\007 \003(\005\022"
1521 "8\n\010symmetry\030\010 \001(\0132&.operations_research."
1522 "sat.SymmetryProto\"\"\n\020CpSolverSolution\022\016\n"
1523 "\006values\030\001 \003(\003\"\261\006\n\020CpSolverResponse\0227\n\006st"
1524 "atus\030\001 \001(\0162\'.operations_research.sat.CpS"
1525 "olverStatus\022\020\n\010solution\030\002 \003(\003\022\027\n\017objecti"
1526 "ve_value\030\003 \001(\001\022\034\n\024best_objective_bound\030\004"
1527 " \001(\001\022G\n\024additional_solutions\030\033 \003(\0132).ope"
1528 "rations_research.sat.CpSolverSolution\022J\n"
1529 "\023tightened_variables\030\025 \003(\0132-.operations_"
1530 "research.sat.IntegerVariableProto\0220\n(suf"
1531 "ficient_assumptions_for_infeasibility\030\027 "
1532 "\003(\005\022D\n\021integer_objective\030\034 \001(\0132).operati"
1533 "ons_research.sat.CpObjectiveProto\022#\n\033inn"
1534 "er_objective_lower_bound\030\035 \001(\003\022\024\n\014num_in"
1535 "tegers\030\036 \001(\003\022\024\n\014num_booleans\030\n \001(\003\022\032\n\022nu"
1536 "m_fixed_booleans\030\037 \001(\003\022\025\n\rnum_conflicts\030"
1537 "\013 \001(\003\022\024\n\014num_branches\030\014 \001(\003\022\037\n\027num_binar"
1538 "y_propagations\030\r \001(\003\022 \n\030num_integer_prop"
1539 "agations\030\016 \001(\003\022\024\n\014num_restarts\030\030 \001(\003\022\031\n\021"
1540 "num_lp_iterations\030\031 \001(\003\022\021\n\twall_time\030\017 \001"
1541 "(\001\022\021\n\tuser_time\030\020 \001(\001\022\032\n\022deterministic_t"
1542 "ime\030\021 \001(\001\022\024\n\014gap_integral\030\026 \001(\001\022\025\n\rsolut"
1543 "ion_info\030\024 \001(\t\022\021\n\tsolve_log\030\032 \001(\t*[\n\016CpS"
1544 "olverStatus\022\013\n\007UNKNOWN\020\000\022\021\n\rMODEL_INVALI"
1545 "D\020\001\022\014\n\010FEASIBLE\020\002\022\016\n\nINFEASIBLE\020\003\022\013\n\007OPT"
1546 "IMAL\020\004Bv\n\026com.google.ortools.satB\017CpMode"
1547 "lProtobufP\001Z4github.com/google/or-tools/"
1548 "ortools/sat/proto/cpmodel\252\002\022Google.OrToo"
1556 descriptor_table_protodef_ortools_2fsat_2fcp_5fmodel_2eproto,
1557 "ortools/sat/cp_model.proto",
1590class IntegerVariableProto::_Internal {
1593 decltype(::std::declval<IntegerVariableProto>()._impl_._has_bits_);
1599#if defined(PROTOBUF_CUSTOM_VTABLE)
1602 : ::google::protobuf::Message(arena) {
1607PROTOBUF_NDEBUG_INLINE IntegerVariableProto::Impl_::Impl_(
1608 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1609 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1610 [[maybe_unused]] const ::operations_research::sat::IntegerVariableProto& from_msg)
1611 : _has_bits_{from._has_bits_},
1613 domain_{visibility, arena, from.domain_},
1614 _domain_cached_byte_size_{0},
1615 name_(arena, from.name_) {}
1618 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1620#if defined(PROTOBUF_CUSTOM_VTABLE)
1623 : ::google::protobuf::Message(arena) {
1627 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1628 from._internal_metadata_);
1629 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1633PROTOBUF_NDEBUG_INLINE IntegerVariableProto::Impl_::Impl_(
1634 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1635 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1637 domain_{visibility, arena},
1638 _domain_cached_byte_size_{0},
1641inline void IntegerVariableProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1642 new (&
_impl_) Impl_(internal_visibility(), arena);
1648inline void IntegerVariableProto::SharedDtor(
MessageLite& self) {
1650 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1651 this_.CheckHasBitConsistency();
1653 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1654 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1655 this_.
_impl_.name_.Destroy();
1659inline void* PROTOBUF_NONNULL IntegerVariableProto::PlacementNew_(
1660 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1661 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1664constexpr auto IntegerVariableProto::InternalNewImpl_() {
1665 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1668 InternalGetArenaOffset(
1669 ::google::protobuf::Message::internal_visibility()),
1671 if (arena_bits.has_value()) {
1672 return ::google::protobuf::internal::MessageCreator::CopyInit(
1673 sizeof(IntegerVariableProto), alignof(IntegerVariableProto), *arena_bits);
1675 return ::google::protobuf::internal::MessageCreator(&IntegerVariableProto::PlacementNew_,
1676 sizeof(IntegerVariableProto),
1677 alignof(IntegerVariableProto));
1681 return ::google::protobuf::internal::ClassDataFull{
1682 ::google::protobuf::internal::ClassData{
1687 &IntegerVariableProto::MergeImpl,
1688 ::google::protobuf::Message::GetNewImpl<IntegerVariableProto>(),
1689#if defined(PROTOBUF_CUSTOM_VTABLE)
1690 &IntegerVariableProto::SharedDtor,
1697 &IntegerVariableProto::kDescriptorMethods,
1703PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1707PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1708IntegerVariableProto::GetClassData()
const {
1713PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1714const ::_pbi::TcParseTable<1, 2, 0, 57, 2>
1715IntegerVariableProto::_table_ = {
1720 offsetof(
decltype(_table_), field_lookup_table),
1722 offsetof(
decltype(_table_), field_entries),
1725 offsetof(
decltype(_table_), field_names),
1728 ::_pbi::TcParser::GenericFallback,
1729 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1730 ::_pbi::TcParser::GetTable<::operations_research::sat::IntegerVariableProto>(),
1734 {::_pbi::TcParser::FastV64P1,
1738 {::_pbi::TcParser::FastUS1,
1752 "operations_research.sat.IntegerVariableProto"
1758 ::google::protobuf::internal::TSanWrite(&
_impl_);
1759 ::uint32_t cached_has_bits = 0;
1761 (void) cached_has_bits;
1763 cached_has_bits =
_impl_._has_bits_[0];
1764 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1765 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1768 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1769 _impl_.name_.ClearNonDefaultToEmpty();
1772 _impl_._has_bits_.Clear();
1773 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1776#if defined(PROTOBUF_CUSTOM_VTABLE)
1778 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1779 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1783 ::uint8_t* PROTOBUF_NONNULL target,
1784 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1787 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1788 this_.CheckHasBitConsistency();
1791 ::uint32_t cached_has_bits = 0;
1792 (void)cached_has_bits;
1794 cached_has_bits = this_.
_impl_._has_bits_[0];
1796 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1797 if (!this_._internal_name().empty()) {
1798 const ::std::string& _s = this_._internal_name();
1799 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1800 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.IntegerVariableProto.name");
1801 target = stream->WriteStringMaybeAliased(1, _s, target);
1806 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1808 int byte_size = this_.
_impl_._domain_cached_byte_size_.Get();
1809 if (byte_size > 0) {
1810 target = stream->WriteInt64Packed(
1811 2, this_._internal_domain(), byte_size, target);
1816 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1818 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1819 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1825#if defined(PROTOBUF_CUSTOM_VTABLE)
1833 ::size_t total_size = 0;
1835 ::uint32_t cached_has_bits = 0;
1837 (void)cached_has_bits;
1839 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1840 cached_has_bits = this_.
_impl_._has_bits_[0];
1841 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1843 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1845 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1846 this_._internal_domain(), 1,
1847 this_.
_impl_._domain_cached_byte_size_);
1850 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1851 if (!this_._internal_name().empty()) {
1852 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1853 this_._internal_name());
1857 return this_.MaybeComputeUnknownFieldsSize(total_size,
1858 &this_.
_impl_._cached_size_);
1861void IntegerVariableProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1862 const ::google::protobuf::MessageLite& from_msg) {
1866 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1867 from.CheckHasBitConsistency();
1870 ABSL_DCHECK_NE(&from, _this);
1871 ::uint32_t cached_has_bits = 0;
1872 (void)cached_has_bits;
1874 cached_has_bits = from._impl_._has_bits_[0];
1875 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1876 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1877 _this->_internal_mutable_domain()->MergeFrom(from._internal_domain());
1879 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1880 if (!from._internal_name().empty()) {
1881 _this->_internal_set_name(from._internal_name());
1883 if (_this->_impl_.name_.IsDefault()) {
1884 _this->_internal_set_name(
"");
1889 _this->_impl_._has_bits_[0] |= cached_has_bits;
1890 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1891 from._internal_metadata_);
1896 if (&from ==
this)
return;
1902void IntegerVariableProto::InternalSwap(
IntegerVariableProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1904 auto* arena = GetArena();
1905 ABSL_DCHECK_EQ(arena, other->GetArena());
1906 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1907 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1908 _impl_.domain_.InternalSwap(&other->_impl_.domain_);
1909 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
1913 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1920 decltype(::std::declval<BoolArgumentProto>()._impl_._has_bits_);
1926#if defined(PROTOBUF_CUSTOM_VTABLE)
1929 : ::google::protobuf::Message(arena) {
1934PROTOBUF_NDEBUG_INLINE BoolArgumentProto::Impl_::Impl_(
1935 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1936 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1937 [[maybe_unused]] const ::operations_research::sat::BoolArgumentProto& from_msg)
1938 : _has_bits_{from._has_bits_},
1940 literals_{visibility, arena, from.literals_},
1941 _literals_cached_byte_size_{0} {}
1944 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1946#if defined(PROTOBUF_CUSTOM_VTABLE)
1949 : ::google::protobuf::Message(arena) {
1953 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1954 from._internal_metadata_);
1955 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1959PROTOBUF_NDEBUG_INLINE BoolArgumentProto::Impl_::Impl_(
1960 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1961 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1963 literals_{visibility, arena},
1964 _literals_cached_byte_size_{0} {}
1966inline void BoolArgumentProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1967 new (&
_impl_) Impl_(internal_visibility(), arena);
1973inline void BoolArgumentProto::SharedDtor(
MessageLite& self) {
1975 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1976 this_.CheckHasBitConsistency();
1978 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1979 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1983inline void* PROTOBUF_NONNULL BoolArgumentProto::PlacementNew_(
1984 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1985 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1988constexpr auto BoolArgumentProto::InternalNewImpl_() {
1989 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1992 InternalGetArenaOffset(
1993 ::google::protobuf::Message::internal_visibility()),
1995 if (arena_bits.has_value()) {
1996 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1997 sizeof(BoolArgumentProto), alignof(BoolArgumentProto), *arena_bits);
1999 return ::google::protobuf::internal::MessageCreator(&BoolArgumentProto::PlacementNew_,
2000 sizeof(BoolArgumentProto),
2001 alignof(BoolArgumentProto));
2005 return ::google::protobuf::internal::ClassDataFull{
2006 ::google::protobuf::internal::ClassData{
2011 &BoolArgumentProto::MergeImpl,
2012 ::google::protobuf::Message::GetNewImpl<BoolArgumentProto>(),
2013#if defined(PROTOBUF_CUSTOM_VTABLE)
2014 &BoolArgumentProto::SharedDtor,
2021 &BoolArgumentProto::kDescriptorMethods,
2027PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2031PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2032BoolArgumentProto::GetClassData()
const {
2037PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2038const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
2039BoolArgumentProto::_table_ = {
2044 offsetof(
decltype(_table_), field_lookup_table),
2046 offsetof(
decltype(_table_), field_entries),
2049 offsetof(
decltype(_table_), field_names),
2052 ::_pbi::TcParser::GenericFallback,
2053 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2054 ::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>(),
2058 {::_pbi::TcParser::FastV32P1,
2073 ::google::protobuf::internal::TSanWrite(&
_impl_);
2074 ::uint32_t cached_has_bits = 0;
2076 (void) cached_has_bits;
2078 cached_has_bits =
_impl_._has_bits_[0];
2079 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2080 _impl_.literals_.Clear();
2082 _impl_._has_bits_.Clear();
2083 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2086#if defined(PROTOBUF_CUSTOM_VTABLE)
2088 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2089 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2093 ::uint8_t* PROTOBUF_NONNULL target,
2094 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2097 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2098 this_.CheckHasBitConsistency();
2101 ::uint32_t cached_has_bits = 0;
2102 (void)cached_has_bits;
2104 cached_has_bits = this_.
_impl_._has_bits_[0];
2106 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2108 int byte_size = this_.
_impl_._literals_cached_byte_size_.Get();
2109 if (byte_size > 0) {
2110 target = stream->WriteInt32Packed(
2111 1, this_._internal_literals(), byte_size, target);
2116 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2118 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2119 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2125#if defined(PROTOBUF_CUSTOM_VTABLE)
2133 ::size_t total_size = 0;
2135 ::uint32_t cached_has_bits = 0;
2137 (void)cached_has_bits;
2139 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2142 cached_has_bits = this_.
_impl_._has_bits_[0];
2143 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2145 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2146 this_._internal_literals(), 1,
2147 this_.
_impl_._literals_cached_byte_size_);
2150 return this_.MaybeComputeUnknownFieldsSize(total_size,
2151 &this_.
_impl_._cached_size_);
2154void BoolArgumentProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2155 const ::google::protobuf::MessageLite& from_msg) {
2159 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2160 from.CheckHasBitConsistency();
2163 ABSL_DCHECK_NE(&from, _this);
2164 ::uint32_t cached_has_bits = 0;
2165 (void)cached_has_bits;
2167 cached_has_bits = from._impl_._has_bits_[0];
2168 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2169 _this->_internal_mutable_literals()->MergeFrom(from._internal_literals());
2171 _this->_impl_._has_bits_[0] |= cached_has_bits;
2172 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2173 from._internal_metadata_);
2178 if (&from ==
this)
return;
2184void BoolArgumentProto::InternalSwap(
BoolArgumentProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2186 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2187 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2188 _impl_.literals_.InternalSwap(&other->_impl_.literals_);
2192 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2199 decltype(::std::declval<LinearExpressionProto>()._impl_._has_bits_);
2205#if defined(PROTOBUF_CUSTOM_VTABLE)
2208 : ::google::protobuf::Message(arena) {
2213PROTOBUF_NDEBUG_INLINE LinearExpressionProto::Impl_::Impl_(
2214 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2215 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2216 [[maybe_unused]] const ::operations_research::sat::LinearExpressionProto& from_msg)
2217 : _has_bits_{from._has_bits_},
2219 vars_{visibility, arena, from.vars_},
2220 _vars_cached_byte_size_{0},
2221 coeffs_{visibility, arena, from.coeffs_},
2222 _coeffs_cached_byte_size_{0} {}
2225 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2227#if defined(PROTOBUF_CUSTOM_VTABLE)
2230 : ::google::protobuf::Message(arena) {
2234 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2235 from._internal_metadata_);
2236 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2237 _impl_.offset_ = from._impl_.offset_;
2241PROTOBUF_NDEBUG_INLINE LinearExpressionProto::Impl_::Impl_(
2242 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2243 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2245 vars_{visibility, arena},
2246 _vars_cached_byte_size_{0},
2247 coeffs_{visibility, arena},
2248 _coeffs_cached_byte_size_{0} {}
2250inline void LinearExpressionProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2251 new (&
_impl_) Impl_(internal_visibility(), arena);
2258inline void LinearExpressionProto::SharedDtor(
MessageLite& self) {
2260 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2261 this_.CheckHasBitConsistency();
2263 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2264 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2268inline void* PROTOBUF_NONNULL LinearExpressionProto::PlacementNew_(
2269 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2270 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2271 return ::new (mem) LinearExpressionProto(arena);
2273constexpr auto LinearExpressionProto::InternalNewImpl_() {
2274 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2275 PROTOBUF_FIELD_OFFSET(LinearExpressionProto,
_impl_.vars_) +
2277 InternalGetArenaOffset(
2278 ::google::protobuf::Message::internal_visibility()),
2279 PROTOBUF_FIELD_OFFSET(LinearExpressionProto,
_impl_.coeffs_) +
2280 decltype(LinearExpressionProto::
_impl_.coeffs_)::
2281 InternalGetArenaOffset(
2282 ::google::protobuf::Message::internal_visibility()),
2284 if (arena_bits.has_value()) {
2285 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2286 sizeof(LinearExpressionProto), alignof(LinearExpressionProto), *arena_bits);
2288 return ::google::protobuf::internal::MessageCreator(&LinearExpressionProto::PlacementNew_,
2289 sizeof(LinearExpressionProto),
2290 alignof(LinearExpressionProto));
2294 return ::google::protobuf::internal::ClassDataFull{
2295 ::google::protobuf::internal::ClassData{
2300 &LinearExpressionProto::MergeImpl,
2301 ::google::protobuf::Message::GetNewImpl<LinearExpressionProto>(),
2302#if defined(PROTOBUF_CUSTOM_VTABLE)
2303 &LinearExpressionProto::SharedDtor,
2310 &LinearExpressionProto::kDescriptorMethods,
2316PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2320PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2321LinearExpressionProto::GetClassData()
const {
2326PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2327const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
2328LinearExpressionProto::_table_ = {
2330 PROTOBUF_FIELD_OFFSET(LinearExpressionProto,
_impl_._has_bits_),
2333 offsetof(
decltype(_table_), field_lookup_table),
2335 offsetof(
decltype(_table_), field_entries),
2338 offsetof(
decltype(_table_), field_names),
2341 ::_pbi::TcParser::GenericFallback,
2342 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2343 ::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>(),
2346 {::_pbi::TcParser::MiniParse, {}},
2348 {::_pbi::TcParser::FastV32P1,
2350 PROTOBUF_FIELD_OFFSET(LinearExpressionProto,
_impl_.vars_)}},
2352 {::_pbi::TcParser::FastV64P1,
2354 PROTOBUF_FIELD_OFFSET(LinearExpressionProto,
_impl_.coeffs_)}},
2356 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(LinearExpressionProto,
_impl_.offset_), 2>(),
2358 PROTOBUF_FIELD_OFFSET(LinearExpressionProto,
_impl_.offset_)}},
2375 ::google::protobuf::internal::TSanWrite(&
_impl_);
2376 ::uint32_t cached_has_bits = 0;
2378 (void) cached_has_bits;
2380 cached_has_bits =
_impl_._has_bits_[0];
2381 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2382 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2385 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2389 _impl_.offset_ = ::int64_t{0};
2390 _impl_._has_bits_.Clear();
2391 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2394#if defined(PROTOBUF_CUSTOM_VTABLE)
2396 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2397 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2398 const LinearExpressionProto& this_ =
static_cast<const LinearExpressionProto&
>(base);
2401 ::uint8_t* PROTOBUF_NONNULL target,
2402 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2405 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2406 this_.CheckHasBitConsistency();
2409 ::uint32_t cached_has_bits = 0;
2410 (void)cached_has_bits;
2412 cached_has_bits = this_.
_impl_._has_bits_[0];
2414 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2416 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
2417 if (byte_size > 0) {
2418 target = stream->WriteInt32Packed(
2419 1, this_._internal_vars(), byte_size, target);
2425 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2427 int byte_size = this_.
_impl_._coeffs_cached_byte_size_.Get();
2428 if (byte_size > 0) {
2429 target = stream->WriteInt64Packed(
2430 2, this_._internal_coeffs(), byte_size, target);
2436 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2437 if (this_._internal_offset() != 0) {
2439 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
2440 stream, this_._internal_offset(), target);
2444 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2446 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2447 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2453#if defined(PROTOBUF_CUSTOM_VTABLE)
2455 const LinearExpressionProto& this_ =
static_cast<const LinearExpressionProto&
>(base);
2458 const LinearExpressionProto& this_ = *
this;
2461 ::size_t total_size = 0;
2463 ::uint32_t cached_has_bits = 0;
2465 (void)cached_has_bits;
2467 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2468 cached_has_bits = this_._impl_._has_bits_[0];
2469 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2471 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2473 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2474 this_._internal_vars(), 1,
2475 this_._impl_._vars_cached_byte_size_);
2478 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2480 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
2481 this_._internal_coeffs(), 1,
2482 this_._impl_._coeffs_cached_byte_size_);
2485 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2486 if (this_._internal_offset() != 0) {
2487 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2488 this_._internal_offset());
2492 return this_.MaybeComputeUnknownFieldsSize(total_size,
2493 &this_._impl_._cached_size_);
2496void LinearExpressionProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2497 const ::google::protobuf::MessageLite& from_msg) {
2499 static_cast<LinearExpressionProto*
>(&to_msg);
2500 auto& from =
static_cast<const LinearExpressionProto&
>(from_msg);
2501 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2502 from.CheckHasBitConsistency();
2505 ABSL_DCHECK_NE(&from, _this);
2506 ::uint32_t cached_has_bits = 0;
2507 (void)cached_has_bits;
2509 cached_has_bits = from._impl_._has_bits_[0];
2510 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2511 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2512 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
2514 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2515 _this->_internal_mutable_coeffs()->MergeFrom(from._internal_coeffs());
2517 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2518 if (from._internal_offset() != 0) {
2519 _this->_impl_.offset_ = from._impl_.offset_;
2523 _this->_impl_._has_bits_[0] |= cached_has_bits;
2524 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2525 from._internal_metadata_);
2530 if (&from ==
this)
return;
2536void LinearExpressionProto::InternalSwap(
LinearExpressionProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2538 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2539 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2540 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
2541 _impl_.coeffs_.InternalSwap(&other->_impl_.coeffs_);
2546 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2553 decltype(::std::declval<LinearArgumentProto>()._impl_._has_bits_);
2559#if defined(PROTOBUF_CUSTOM_VTABLE)
2562 : ::google::protobuf::Message(arena) {
2567PROTOBUF_NDEBUG_INLINE LinearArgumentProto::Impl_::Impl_(
2568 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2569 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2570 [[maybe_unused]] const ::operations_research::sat::LinearArgumentProto& from_msg)
2571 : _has_bits_{from._has_bits_},
2573 exprs_{visibility, arena, from.exprs_} {}
2576 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2578#if defined(PROTOBUF_CUSTOM_VTABLE)
2581 : ::google::protobuf::Message(arena) {
2585 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2586 from._internal_metadata_);
2587 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2588 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
2589 _impl_.target_ = (CheckHasBit(cached_has_bits, 0x00000002U))
2590 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.target_)
2595PROTOBUF_NDEBUG_INLINE LinearArgumentProto::Impl_::Impl_(
2596 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2597 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2599 exprs_{visibility, arena} {}
2601inline void LinearArgumentProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2602 new (&
_impl_) Impl_(internal_visibility(), arena);
2611 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2612 this_.CheckHasBitConsistency();
2614 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2615 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2616 delete this_.
_impl_.target_;
2620inline void* PROTOBUF_NONNULL LinearArgumentProto::PlacementNew_(
2621 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2622 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2625constexpr auto LinearArgumentProto::InternalNewImpl_() {
2626 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2627 PROTOBUF_FIELD_OFFSET(LinearArgumentProto,
_impl_.exprs_) +
2629 InternalGetArenaOffset(
2632 if (arena_bits.has_value()) {
2633 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2634 sizeof(LinearArgumentProto), alignof(LinearArgumentProto), *arena_bits);
2636 return ::google::protobuf::internal::MessageCreator(&LinearArgumentProto::PlacementNew_,
2637 sizeof(LinearArgumentProto),
2638 alignof(LinearArgumentProto));
2642 return ::google::protobuf::internal::ClassDataFull{
2643 ::google::protobuf::internal::ClassData{
2648 &LinearArgumentProto::MergeImpl,
2649 ::google::protobuf::Message::GetNewImpl<LinearArgumentProto>(),
2650#if defined(PROTOBUF_CUSTOM_VTABLE)
2651 &LinearArgumentProto::SharedDtor,
2658 &LinearArgumentProto::kDescriptorMethods,
2664PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2668PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2669LinearArgumentProto::GetClassData()
const {
2674PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2675const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
2676LinearArgumentProto::_table_ = {
2678 PROTOBUF_FIELD_OFFSET(LinearArgumentProto,
_impl_._has_bits_),
2681 offsetof(
decltype(_table_), field_lookup_table),
2683 offsetof(
decltype(_table_), field_entries),
2686 offsetof(
decltype(_table_), aux_entries),
2689 ::_pbi::TcParser::GenericFallback,
2690 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2691 ::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>(),
2695 {::_pbi::TcParser::FastMtR1,
2697 PROTOBUF_FIELD_OFFSET(LinearArgumentProto,
_impl_.exprs_)}},
2699 {::_pbi::TcParser::FastMtS1,
2701 PROTOBUF_FIELD_OFFSET(LinearArgumentProto,
_impl_.target_)}},
2706 {PROTOBUF_FIELD_OFFSET(LinearArgumentProto,
_impl_.target_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2708 {PROTOBUF_FIELD_OFFSET(LinearArgumentProto,
_impl_.exprs_),
_Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2711 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
2712 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
2719 ::google::protobuf::internal::TSanWrite(&
_impl_);
2720 ::uint32_t cached_has_bits = 0;
2722 (void) cached_has_bits;
2724 cached_has_bits =
_impl_._has_bits_[0];
2725 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2726 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2729 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2730 ABSL_DCHECK(
_impl_.target_ !=
nullptr);
2734 _impl_._has_bits_.Clear();
2735 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2738#if defined(PROTOBUF_CUSTOM_VTABLE)
2740 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2741 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2742 const LinearArgumentProto& this_ =
static_cast<const LinearArgumentProto&
>(
base);
2745 ::uint8_t* PROTOBUF_NONNULL target,
2746 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2747 const LinearArgumentProto& this_ = *
this;
2749 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2750 this_.CheckHasBitConsistency();
2753 ::uint32_t cached_has_bits = 0;
2754 (void)cached_has_bits;
2756 cached_has_bits = this_._impl_._has_bits_[0];
2758 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2759 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2760 1, *this_._impl_.target_, this_._impl_.target_->GetCachedSize(), target,
2765 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2766 for (
unsigned i = 0, n =
static_cast<unsigned>(
2767 this_._internal_exprs_size());
2769 const auto& repfield = this_._internal_exprs().Get(
i);
2771 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2772 2, repfield, repfield.GetCachedSize(),
2777 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2779 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2780 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2786#if defined(PROTOBUF_CUSTOM_VTABLE)
2788 const LinearArgumentProto& this_ =
static_cast<const LinearArgumentProto&
>(base);
2791 const LinearArgumentProto& this_ = *
this;
2794 ::size_t total_size = 0;
2796 ::uint32_t cached_has_bits = 0;
2798 (void)cached_has_bits;
2800 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2801 cached_has_bits = this_._impl_._has_bits_[0];
2802 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2804 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2805 total_size += 1UL * this_._internal_exprs_size();
2806 for (
const auto& msg : this_._internal_exprs()) {
2807 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2811 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2813 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.target_);
2816 return this_.MaybeComputeUnknownFieldsSize(total_size,
2817 &this_._impl_._cached_size_);
2820void LinearArgumentProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2821 const ::google::protobuf::MessageLite& from_msg) {
2823 static_cast<LinearArgumentProto*
>(&to_msg);
2824 auto& from =
static_cast<const LinearArgumentProto&
>(from_msg);
2825 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2826 from.CheckHasBitConsistency();
2830 ABSL_DCHECK_NE(&from, _this);
2831 ::uint32_t cached_has_bits = 0;
2832 (void)cached_has_bits;
2834 cached_has_bits = from._impl_._has_bits_[0];
2835 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2836 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2837 _this->_internal_mutable_exprs()->InternalMergeFromWithArena(
2838 ::google::protobuf::MessageLite::internal_visibility(), arena,
2839 from._internal_exprs());
2841 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2842 ABSL_DCHECK(from._impl_.target_ !=
nullptr);
2843 if (_this->_impl_.target_ ==
nullptr) {
2844 _this->_impl_.target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.target_);
2846 _this->_impl_.target_->MergeFrom(*from._impl_.target_);
2850 _this->_impl_._has_bits_[0] |= cached_has_bits;
2851 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2852 from._internal_metadata_);
2857 if (&from ==
this)
return;
2863void LinearArgumentProto::InternalSwap(
LinearArgumentProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2865 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2866 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2867 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
2872 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2879 decltype(::std::declval<AllDifferentConstraintProto>()._impl_._has_bits_);
2880 static constexpr ::int32_t kHasBitsOffset =
2885#if defined(PROTOBUF_CUSTOM_VTABLE)
2888 : ::google::protobuf::Message(arena) {
2893PROTOBUF_NDEBUG_INLINE AllDifferentConstraintProto::Impl_::Impl_(
2894 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2895 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2896 [[maybe_unused]] const ::operations_research::sat::AllDifferentConstraintProto& from_msg)
2897 : _has_bits_{from._has_bits_},
2899 exprs_{visibility, arena, from.exprs_} {}
2902 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2904#if defined(PROTOBUF_CUSTOM_VTABLE)
2907 : ::google::protobuf::Message(arena) {
2911 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2912 from._internal_metadata_);
2913 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2917PROTOBUF_NDEBUG_INLINE AllDifferentConstraintProto::Impl_::Impl_(
2918 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2919 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2921 exprs_{visibility, arena} {}
2923inline void AllDifferentConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2924 new (&
_impl_) Impl_(internal_visibility(), arena);
2930inline void AllDifferentConstraintProto::SharedDtor(
MessageLite& self) {
2932 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2933 this_.CheckHasBitConsistency();
2935 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2936 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2940inline void* PROTOBUF_NONNULL AllDifferentConstraintProto::PlacementNew_(
2941 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2942 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2943 return ::new (mem) AllDifferentConstraintProto(arena);
2945constexpr auto AllDifferentConstraintProto::InternalNewImpl_() {
2946 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2947 PROTOBUF_FIELD_OFFSET(AllDifferentConstraintProto,
_impl_.exprs_) +
2949 InternalGetArenaOffset(
2950 ::
google::protobuf::Message::internal_visibility()),
2952 if (arena_bits.has_value()) {
2953 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2954 sizeof(AllDifferentConstraintProto), alignof(AllDifferentConstraintProto), *arena_bits);
2956 return ::google::protobuf::internal::MessageCreator(&AllDifferentConstraintProto::PlacementNew_,
2957 sizeof(AllDifferentConstraintProto),
2958 alignof(AllDifferentConstraintProto));
2962 return ::google::protobuf::internal::ClassDataFull{
2963 ::google::protobuf::internal::ClassData{
2968 &AllDifferentConstraintProto::MergeImpl,
2969 ::google::protobuf::Message::GetNewImpl<AllDifferentConstraintProto>(),
2970#if defined(PROTOBUF_CUSTOM_VTABLE)
2971 &AllDifferentConstraintProto::SharedDtor,
2978 &AllDifferentConstraintProto::kDescriptorMethods,
2984PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2988PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2989AllDifferentConstraintProto::GetClassData()
const {
2994PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2995const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
2996AllDifferentConstraintProto::_table_ = {
2998 PROTOBUF_FIELD_OFFSET(AllDifferentConstraintProto,
_impl_._has_bits_),
3001 offsetof(
decltype(_table_), field_lookup_table),
3003 offsetof(
decltype(_table_), field_entries),
3006 offsetof(
decltype(_table_), aux_entries),
3009 ::_pbi::TcParser::GenericFallback,
3010 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3011 ::_pbi::TcParser::GetTable<::operations_research::sat::AllDifferentConstraintProto>(),
3015 {::_pbi::TcParser::FastMtR1,
3017 PROTOBUF_FIELD_OFFSET(AllDifferentConstraintProto,
_impl_.exprs_)}},
3022 {PROTOBUF_FIELD_OFFSET(AllDifferentConstraintProto,
_impl_.exprs_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3025 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3032 ::google::protobuf::internal::TSanWrite(&
_impl_);
3033 ::uint32_t cached_has_bits = 0;
3035 (void) cached_has_bits;
3037 cached_has_bits =
_impl_._has_bits_[0];
3038 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3041 _impl_._has_bits_.Clear();
3042 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3045#if defined(PROTOBUF_CUSTOM_VTABLE)
3047 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3048 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3049 const AllDifferentConstraintProto& this_ =
static_cast<const AllDifferentConstraintProto&
>(
base);
3052 ::uint8_t* PROTOBUF_NONNULL target,
3053 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3054 const AllDifferentConstraintProto& this_ = *
this;
3056 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3057 this_.CheckHasBitConsistency();
3060 ::uint32_t cached_has_bits = 0;
3061 (void)cached_has_bits;
3063 cached_has_bits = this_.
_impl_._has_bits_[0];
3065 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3066 for (
unsigned i = 0, n =
static_cast<unsigned>(
3067 this_._internal_exprs_size());
3069 const auto& repfield = this_._internal_exprs().Get(
i);
3071 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3072 1, repfield, repfield.GetCachedSize(),
3077 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3079 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3080 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3086#if defined(PROTOBUF_CUSTOM_VTABLE)
3088 const AllDifferentConstraintProto& this_ =
static_cast<const AllDifferentConstraintProto&
>(base);
3091 const AllDifferentConstraintProto& this_ = *
this;
3094 ::size_t total_size = 0;
3096 ::uint32_t cached_has_bits = 0;
3098 (void)cached_has_bits;
3100 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3103 cached_has_bits = this_._impl_._has_bits_[0];
3104 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3105 total_size += 1UL * this_._internal_exprs_size();
3106 for (
const auto& msg : this_._internal_exprs()) {
3107 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3111 return this_.MaybeComputeUnknownFieldsSize(total_size,
3112 &this_._impl_._cached_size_);
3115void AllDifferentConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
3116 const ::google::protobuf::MessageLite& from_msg) {
3118 static_cast<AllDifferentConstraintProto*
>(&to_msg);
3119 auto& from =
static_cast<const AllDifferentConstraintProto&
>(from_msg);
3120 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3121 from.CheckHasBitConsistency();
3125 ABSL_DCHECK_NE(&from, _this);
3126 ::uint32_t cached_has_bits = 0;
3127 (void)cached_has_bits;
3129 cached_has_bits = from._impl_._has_bits_[0];
3130 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3131 _this->_internal_mutable_exprs()->InternalMergeFromWithArena(
3132 ::google::protobuf::MessageLite::internal_visibility(), arena,
3133 from._internal_exprs());
3135 _this->_impl_._has_bits_[0] |= cached_has_bits;
3136 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3137 from._internal_metadata_);
3142 if (&from ==
this)
return;
3150 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3151 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3152 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
3156 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3163 decltype(::std::declval<LinearConstraintProto>()._impl_._has_bits_);
3164 static constexpr ::int32_t kHasBitsOffset =
3169#if defined(PROTOBUF_CUSTOM_VTABLE)
3172 : ::google::protobuf::Message(arena) {
3177PROTOBUF_NDEBUG_INLINE LinearConstraintProto::Impl_::Impl_(
3178 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3179 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3180 [[maybe_unused]] const ::operations_research::sat::LinearConstraintProto& from_msg)
3181 : _has_bits_{from._has_bits_},
3183 vars_{visibility, arena, from.vars_},
3184 _vars_cached_byte_size_{0},
3185 coeffs_{visibility, arena, from.coeffs_},
3186 _coeffs_cached_byte_size_{0},
3187 domain_{visibility, arena, from.domain_},
3188 _domain_cached_byte_size_{0} {}
3191 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3193#if defined(PROTOBUF_CUSTOM_VTABLE)
3196 : ::google::protobuf::Message(arena) {
3200 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3201 from._internal_metadata_);
3202 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3206PROTOBUF_NDEBUG_INLINE LinearConstraintProto::Impl_::Impl_(
3207 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3208 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3210 vars_{visibility, arena},
3211 _vars_cached_byte_size_{0},
3212 coeffs_{visibility, arena},
3213 _coeffs_cached_byte_size_{0},
3214 domain_{visibility, arena},
3215 _domain_cached_byte_size_{0} {}
3217inline void LinearConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3218 new (&
_impl_) Impl_(internal_visibility(), arena);
3224inline void LinearConstraintProto::SharedDtor(
MessageLite& self) {
3226 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3227 this_.CheckHasBitConsistency();
3229 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3230 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3234inline void* PROTOBUF_NONNULL LinearConstraintProto::PlacementNew_(
3235 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3236 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3237 return ::new (mem) LinearConstraintProto(arena);
3239constexpr auto LinearConstraintProto::InternalNewImpl_() {
3240 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3241 PROTOBUF_FIELD_OFFSET(LinearConstraintProto,
_impl_.vars_) +
3243 InternalGetArenaOffset(
3244 ::
google::protobuf::Message::internal_visibility()),
3245 PROTOBUF_FIELD_OFFSET(LinearConstraintProto,
_impl_.coeffs_) +
3246 decltype(LinearConstraintProto::
_impl_.coeffs_)::
3247 InternalGetArenaOffset(
3248 ::
google::protobuf::Message::internal_visibility()),
3249 PROTOBUF_FIELD_OFFSET(LinearConstraintProto,
_impl_.domain_) +
3250 decltype(LinearConstraintProto::
_impl_.domain_)::
3251 InternalGetArenaOffset(
3252 ::
google::protobuf::Message::internal_visibility()),
3254 if (arena_bits.has_value()) {
3255 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3256 sizeof(LinearConstraintProto), alignof(LinearConstraintProto), *arena_bits);
3258 return ::google::protobuf::internal::MessageCreator(&LinearConstraintProto::PlacementNew_,
3259 sizeof(LinearConstraintProto),
3260 alignof(LinearConstraintProto));
3264 return ::google::protobuf::internal::ClassDataFull{
3265 ::google::protobuf::internal::ClassData{
3270 &LinearConstraintProto::MergeImpl,
3271 ::google::protobuf::Message::GetNewImpl<LinearConstraintProto>(),
3272#if defined(PROTOBUF_CUSTOM_VTABLE)
3273 &LinearConstraintProto::SharedDtor,
3280 &LinearConstraintProto::kDescriptorMethods,
3286PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3290PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3291LinearConstraintProto::GetClassData()
const {
3296PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3297const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
3298LinearConstraintProto::_table_ = {
3300 PROTOBUF_FIELD_OFFSET(LinearConstraintProto,
_impl_._has_bits_),
3303 offsetof(
decltype(_table_), field_lookup_table),
3305 offsetof(
decltype(_table_), field_entries),
3308 offsetof(
decltype(_table_), field_names),
3311 ::_pbi::TcParser::GenericFallback,
3312 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3313 ::_pbi::TcParser::GetTable<::operations_research::sat::LinearConstraintProto>(),
3316 {::_pbi::TcParser::MiniParse, {}},
3318 {::_pbi::TcParser::FastV32P1,
3320 PROTOBUF_FIELD_OFFSET(LinearConstraintProto,
_impl_.vars_)}},
3322 {::_pbi::TcParser::FastV64P1,
3324 PROTOBUF_FIELD_OFFSET(LinearConstraintProto,
_impl_.coeffs_)}},
3326 {::_pbi::TcParser::FastV64P1,
3328 PROTOBUF_FIELD_OFFSET(LinearConstraintProto,
_impl_.domain_)}},
3345 ::google::protobuf::internal::TSanWrite(&
_impl_);
3346 ::uint32_t cached_has_bits = 0;
3348 (void) cached_has_bits;
3350 cached_has_bits =
_impl_._has_bits_[0];
3351 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3352 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3355 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3358 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3362 _impl_._has_bits_.Clear();
3363 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3366#if defined(PROTOBUF_CUSTOM_VTABLE)
3368 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3369 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3370 const LinearConstraintProto& this_ =
static_cast<const LinearConstraintProto&
>(
base);
3373 ::uint8_t* PROTOBUF_NONNULL target,
3374 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3375 const LinearConstraintProto& this_ = *
this;
3377 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3378 this_.CheckHasBitConsistency();
3381 ::uint32_t cached_has_bits = 0;
3382 (void)cached_has_bits;
3384 cached_has_bits = this_.
_impl_._has_bits_[0];
3386 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3388 int byte_size = this_._impl_._vars_cached_byte_size_.Get();
3389 if (byte_size > 0) {
3390 target = stream->WriteInt32Packed(
3391 1, this_._internal_vars(), byte_size, target);
3397 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3399 int byte_size = this_._impl_._coeffs_cached_byte_size_.Get();
3400 if (byte_size > 0) {
3401 target = stream->WriteInt64Packed(
3402 2, this_._internal_coeffs(), byte_size, target);
3408 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3410 int byte_size = this_._impl_._domain_cached_byte_size_.Get();
3411 if (byte_size > 0) {
3412 target = stream->WriteInt64Packed(
3413 3, this_._internal_domain(), byte_size, target);
3418 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3420 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3421 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3427#if defined(PROTOBUF_CUSTOM_VTABLE)
3429 const LinearConstraintProto& this_ =
static_cast<const LinearConstraintProto&
>(base);
3432 const LinearConstraintProto& this_ = *
this;
3435 ::size_t total_size = 0;
3437 ::uint32_t cached_has_bits = 0;
3439 (void)cached_has_bits;
3441 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3442 cached_has_bits = this_._impl_._has_bits_[0];
3443 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3445 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3447 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
3448 this_._internal_vars(), 1,
3449 this_._impl_._vars_cached_byte_size_);
3452 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3454 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
3455 this_._internal_coeffs(), 1,
3456 this_._impl_._coeffs_cached_byte_size_);
3459 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3461 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
3462 this_._internal_domain(), 1,
3463 this_._impl_._domain_cached_byte_size_);
3466 return this_.MaybeComputeUnknownFieldsSize(total_size,
3467 &this_._impl_._cached_size_);
3470void LinearConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
3471 const ::google::protobuf::MessageLite& from_msg) {
3473 static_cast<LinearConstraintProto*
>(&to_msg);
3474 auto& from =
static_cast<const LinearConstraintProto&
>(from_msg);
3475 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3476 from.CheckHasBitConsistency();
3479 ABSL_DCHECK_NE(&from, _this);
3480 ::uint32_t cached_has_bits = 0;
3481 (void)cached_has_bits;
3483 cached_has_bits = from._impl_._has_bits_[0];
3484 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3485 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3486 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
3488 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3489 _this->_internal_mutable_coeffs()->MergeFrom(from._internal_coeffs());
3491 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3492 _this->_internal_mutable_domain()->MergeFrom(from._internal_domain());
3495 _this->_impl_._has_bits_[0] |= cached_has_bits;
3496 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3497 from._internal_metadata_);
3502 if (&from ==
this)
return;
3508void LinearConstraintProto::InternalSwap(
LinearConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3510 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3511 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3512 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
3513 _impl_.coeffs_.InternalSwap(&other->_impl_.coeffs_);
3514 _impl_.domain_.InternalSwap(&other->_impl_.domain_);
3518 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3522class ElementConstraintProto::_Internal {
3525 decltype(::std::declval<ElementConstraintProto>()._impl_._has_bits_);
3526 static constexpr ::int32_t kHasBitsOffset =
3531#if defined(PROTOBUF_CUSTOM_VTABLE)
3534 : ::google::protobuf::Message(arena) {
3539PROTOBUF_NDEBUG_INLINE ElementConstraintProto::Impl_::Impl_(
3540 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3541 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3542 [[maybe_unused]] const ::operations_research::sat::ElementConstraintProto& from_msg)
3543 : _has_bits_{from._has_bits_},
3545 vars_{visibility, arena, from.vars_},
3546 _vars_cached_byte_size_{0},
3547 exprs_{visibility, arena, from.exprs_} {}
3550 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3552#if defined(PROTOBUF_CUSTOM_VTABLE)
3555 : ::google::protobuf::Message(arena) {
3559 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3560 from._internal_metadata_);
3561 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
3562 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
3563 _impl_.linear_index_ = (CheckHasBit(cached_has_bits, 0x00000004U))
3564 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.linear_index_)
3566 _impl_.linear_target_ = (CheckHasBit(cached_has_bits, 0x00000008U))
3567 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.linear_target_)
3569 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
3570 offsetof(Impl_, index_),
3571 reinterpret_cast<const char*
>(&from.
_impl_) +
3572 offsetof(Impl_, index_),
3573 offsetof(Impl_, target_) -
3574 offsetof(Impl_, index_) +
3575 sizeof(Impl_::target_));
3579PROTOBUF_NDEBUG_INLINE ElementConstraintProto::Impl_::Impl_(
3580 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3581 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3583 vars_{visibility, arena},
3584 _vars_cached_byte_size_{0},
3585 exprs_{visibility, arena} {}
3587inline void ElementConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3588 new (&
_impl_) Impl_(internal_visibility(), arena);
3589 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
3590 offsetof(Impl_, linear_index_),
3592 offsetof(Impl_, target_) -
3593 offsetof(Impl_, linear_index_) +
3594 sizeof(Impl_::target_));
3600inline void ElementConstraintProto::SharedDtor(
MessageLite& self) {
3602 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3603 this_.CheckHasBitConsistency();
3605 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3606 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3607 delete this_._impl_.linear_index_;
3608 delete this_._impl_.linear_target_;
3609 this_._impl_.~Impl_();
3612inline void* PROTOBUF_NONNULL ElementConstraintProto::PlacementNew_(
3613 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3614 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3617constexpr auto ElementConstraintProto::InternalNewImpl_() {
3618 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3621 InternalGetArenaOffset(
3622 ::
google::protobuf::Message::internal_visibility()),
3625 InternalGetArenaOffset(
3626 ::
google::protobuf::Message::internal_visibility()),
3628 if (arena_bits.has_value()) {
3629 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3630 sizeof(ElementConstraintProto), alignof(ElementConstraintProto), *arena_bits);
3632 return ::google::protobuf::internal::MessageCreator(&ElementConstraintProto::PlacementNew_,
3633 sizeof(ElementConstraintProto),
3634 alignof(ElementConstraintProto));
3638 return ::google::protobuf::internal::ClassDataFull{
3639 ::google::protobuf::internal::ClassData{
3644 &ElementConstraintProto::MergeImpl,
3645 ::google::protobuf::Message::GetNewImpl<ElementConstraintProto>(),
3646#if defined(PROTOBUF_CUSTOM_VTABLE)
3647 &ElementConstraintProto::SharedDtor,
3654 &ElementConstraintProto::kDescriptorMethods,
3660PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3664PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3665ElementConstraintProto::GetClassData()
const {
3670PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3671const ::_pbi::TcParseTable<3, 6, 3, 0, 2>
3672ElementConstraintProto::_table_ = {
3677 offsetof(
decltype(_table_), field_lookup_table),
3679 offsetof(
decltype(_table_), field_entries),
3682 offsetof(
decltype(_table_), aux_entries),
3685 ::_pbi::TcParser::GenericFallback,
3686 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3687 ::_pbi::TcParser::GetTable<::operations_research::sat::ElementConstraintProto>(),
3690 {::_pbi::TcParser::MiniParse, {}},
3700 {::_pbi::TcParser::FastV32P1,
3704 {::_pbi::TcParser::FastMtS1,
3708 {::_pbi::TcParser::FastMtS1,
3712 {::_pbi::TcParser::FastMtR1,
3715 {::_pbi::TcParser::MiniParse, {}},
3733 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3734 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3735 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3742 ::google::protobuf::internal::TSanWrite(&
_impl_);
3743 ::uint32_t cached_has_bits = 0;
3745 (void) cached_has_bits;
3748 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
3749 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3752 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3755 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3756 ABSL_DCHECK(
_impl_.linear_index_ !=
nullptr);
3757 _impl_.linear_index_->Clear();
3759 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3760 ABSL_DCHECK(
_impl_.linear_target_ !=
nullptr);
3761 _impl_.linear_target_->Clear();
3764 if (BatchCheckHasBit(cached_has_bits, 0x00000030U)) {
3765 ::memset(&
_impl_.index_, 0,
static_cast<::
size_t>(
3766 reinterpret_cast<char*
>(&
_impl_.target_) -
3767 reinterpret_cast<char*
>(&
_impl_.index_)) +
sizeof(
_impl_.target_));
3769 _impl_._has_bits_.Clear();
3770 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3773#if defined(PROTOBUF_CUSTOM_VTABLE)
3775 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL
target,
3776 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3780 ::uint8_t* PROTOBUF_NONNULL
target,
3781 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3784 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3785 this_.CheckHasBitConsistency();
3788 ::uint32_t cached_has_bits = 0;
3789 (void)cached_has_bits;
3791 cached_has_bits = this_._impl_._has_bits_[0];
3793 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
3794 if (this_._internal_index() != 0) {
3796 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
3797 stream, this_._internal_index(),
target);
3802 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
3803 if (this_._internal_target() != 0) {
3805 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
3806 stream, this_._internal_target(),
target);
3811 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3813 int byte_size = this_._impl_._vars_cached_byte_size_.Get();
3814 if (byte_size > 0) {
3815 target = stream->WriteInt32Packed(
3816 3, this_._internal_vars(), byte_size,
target);
3822 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3823 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3824 4, *this_._impl_.linear_index_, this_._impl_.linear_index_->GetCachedSize(),
target,
3829 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3830 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3831 5, *this_._impl_.linear_target_, this_._impl_.linear_target_->GetCachedSize(),
target,
3836 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3837 for (
unsigned i = 0, n =
static_cast<unsigned>(
3838 this_._internal_exprs_size());
3840 const auto& repfield = this_._internal_exprs().Get(
i);
3842 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3843 6, repfield, repfield.GetCachedSize(),
3848 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3850 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3851 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance),
target, stream);
3857#if defined(PROTOBUF_CUSTOM_VTABLE)
3865 ::size_t total_size = 0;
3867 ::uint32_t cached_has_bits = 0;
3869 (void)cached_has_bits;
3871 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3872 cached_has_bits = this_._impl_._has_bits_[0];
3873 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
3875 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3877 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
3878 this_._internal_vars(), 1,
3879 this_._impl_._vars_cached_byte_size_);
3882 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3883 total_size += 1UL * this_._internal_exprs_size();
3884 for (
const auto& msg : this_._internal_exprs()) {
3885 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3889 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3891 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.linear_index_);
3894 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3896 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.linear_target_);
3899 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
3900 if (this_._internal_index() != 0) {
3901 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3902 this_._internal_index());
3906 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
3907 if (this_._internal_target() != 0) {
3908 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3909 this_._internal_target());
3913 return this_.MaybeComputeUnknownFieldsSize(total_size,
3914 &this_._impl_._cached_size_);
3917void ElementConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
3918 const ::google::protobuf::MessageLite& from_msg) {
3922 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3923 from.CheckHasBitConsistency();
3927 ABSL_DCHECK_NE(&from, _this);
3928 ::uint32_t cached_has_bits = 0;
3929 (void)cached_has_bits;
3931 cached_has_bits = from.
_impl_._has_bits_[0];
3932 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
3933 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3934 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
3936 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3937 _this->_internal_mutable_exprs()->InternalMergeFromWithArena(
3938 ::google::protobuf::MessageLite::internal_visibility(), arena,
3939 from._internal_exprs());
3941 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3942 ABSL_DCHECK(from.
_impl_.linear_index_ !=
nullptr);
3943 if (_this->
_impl_.linear_index_ ==
nullptr) {
3944 _this->
_impl_.linear_index_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.linear_index_);
3949 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3950 ABSL_DCHECK(from.
_impl_.linear_target_ !=
nullptr);
3951 if (_this->
_impl_.linear_target_ ==
nullptr) {
3952 _this->
_impl_.linear_target_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.linear_target_);
3957 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
3958 if (from._internal_index() != 0) {
3962 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
3963 if (from._internal_target() != 0) {
3968 _this->
_impl_._has_bits_[0] |= cached_has_bits;
3969 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3970 from._internal_metadata_);
3975 if (&from ==
this)
return;
3981void ElementConstraintProto::InternalSwap(
ElementConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3983 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3984 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3985 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
3986 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
3987 ::google::protobuf::internal::memswap<
3991 reinterpret_cast<char*
>(&
_impl_.linear_index_),
3992 reinterpret_cast<char*
>(&other->_impl_.linear_index_));
3996 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4000class IntervalConstraintProto::_Internal {
4003 decltype(::std::declval<IntervalConstraintProto>()._impl_._has_bits_);
4004 static constexpr ::int32_t kHasBitsOffset =
4009#if defined(PROTOBUF_CUSTOM_VTABLE)
4012 : ::google::protobuf::Message(arena) {
4017PROTOBUF_NDEBUG_INLINE IntervalConstraintProto::Impl_::Impl_(
4018 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
4019 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4020 [[maybe_unused]] const ::operations_research::sat::IntervalConstraintProto& from_msg)
4021 : _has_bits_{from._has_bits_},
4025 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4027#if defined(PROTOBUF_CUSTOM_VTABLE)
4030 : ::google::protobuf::Message(arena) {
4034 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4035 from._internal_metadata_);
4036 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4037 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
4038 _impl_.start_ = (CheckHasBit(cached_has_bits, 0x00000001U))
4039 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.start_)
4041 _impl_.end_ = (CheckHasBit(cached_has_bits, 0x00000002U))
4042 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.end_)
4044 _impl_.size_ = (CheckHasBit(cached_has_bits, 0x00000004U))
4045 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.size_)
4050PROTOBUF_NDEBUG_INLINE IntervalConstraintProto::Impl_::Impl_(
4051 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
4052 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4053 : _cached_size_{0} {}
4055inline void IntervalConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4056 new (&
_impl_) Impl_(internal_visibility(), arena);
4057 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
4058 offsetof(Impl_, start_),
4060 offsetof(Impl_, size_) -
4061 offsetof(Impl_, start_) +
4062 sizeof(Impl_::size_));
4068inline void IntervalConstraintProto::SharedDtor(
MessageLite& self) {
4070 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4071 this_.CheckHasBitConsistency();
4073 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4074 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4075 delete this_._impl_.start_;
4076 delete this_._impl_.end_;
4077 delete this_._impl_.size_;
4078 this_._impl_.~Impl_();
4081inline void* PROTOBUF_NONNULL IntervalConstraintProto::PlacementNew_(
4082 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4083 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4086constexpr auto IntervalConstraintProto::InternalNewImpl_() {
4091 return ::google::protobuf::internal::ClassDataFull{
4092 ::google::protobuf::internal::ClassData{
4097 &IntervalConstraintProto::MergeImpl,
4098 ::google::protobuf::Message::GetNewImpl<IntervalConstraintProto>(),
4099#if defined(PROTOBUF_CUSTOM_VTABLE)
4100 &IntervalConstraintProto::SharedDtor,
4107 &IntervalConstraintProto::kDescriptorMethods,
4113PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4117PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4118IntervalConstraintProto::GetClassData()
const {
4123PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4124const ::_pbi::TcParseTable<2, 3, 3, 0, 2>
4125IntervalConstraintProto::_table_ = {
4130 offsetof(
decltype(_table_), field_lookup_table),
4132 offsetof(
decltype(_table_), field_entries),
4135 offsetof(
decltype(_table_), aux_entries),
4138 ::_pbi::TcParser::GenericFallback,
4139 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4140 ::_pbi::TcParser::GetTable<::operations_research::sat::IntervalConstraintProto>(),
4144 {::_pbi::TcParser::FastMtS1,
4148 {::_pbi::TcParser::FastMtS1,
4152 {::_pbi::TcParser::FastMtS1,
4155 {::_pbi::TcParser::MiniParse, {}},
4167 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
4168 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
4169 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
4176 ::google::protobuf::internal::TSanWrite(&
_impl_);
4177 ::uint32_t cached_has_bits = 0;
4179 (void) cached_has_bits;
4181 cached_has_bits =
_impl_._has_bits_[0];
4182 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
4183 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
4184 ABSL_DCHECK(
_impl_.start_ !=
nullptr);
4187 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
4188 ABSL_DCHECK(
_impl_.end_ !=
nullptr);
4191 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
4192 ABSL_DCHECK(
_impl_.size_ !=
nullptr);
4196 _impl_._has_bits_.Clear();
4197 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4200#if defined(PROTOBUF_CUSTOM_VTABLE)
4202 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
4203 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4207 ::uint8_t* PROTOBUF_NONNULL target,
4208 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4211 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4212 this_.CheckHasBitConsistency();
4215 ::uint32_t cached_has_bits = 0;
4216 (void)cached_has_bits;
4218 cached_has_bits = this_._impl_._has_bits_[0];
4220 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
4221 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4222 4, *this_._impl_.start_, this_._impl_.start_->GetCachedSize(), target,
4227 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
4228 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4229 5, *this_._impl_.end_, this_._impl_.end_->GetCachedSize(), target,
4234 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
4235 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4236 6, *this_._impl_.size_, this_._impl_.size_->GetCachedSize(), target,
4240 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4242 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4243 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4249#if defined(PROTOBUF_CUSTOM_VTABLE)
4257 ::size_t total_size = 0;
4259 ::uint32_t cached_has_bits = 0;
4261 (void)cached_has_bits;
4263 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4264 cached_has_bits = this_._impl_._has_bits_[0];
4265 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
4267 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
4269 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.start_);
4272 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
4274 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.end_);
4277 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
4279 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.size_);
4282 return this_.MaybeComputeUnknownFieldsSize(total_size,
4283 &this_._impl_._cached_size_);
4286void IntervalConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
4287 const ::google::protobuf::MessageLite& from_msg) {
4291 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4292 from.CheckHasBitConsistency();
4296 ABSL_DCHECK_NE(&from, _this);
4297 ::uint32_t cached_has_bits = 0;
4298 (void)cached_has_bits;
4300 cached_has_bits = from.
_impl_._has_bits_[0];
4301 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
4302 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
4303 ABSL_DCHECK(from.
_impl_.start_ !=
nullptr);
4304 if (_this->
_impl_.start_ ==
nullptr) {
4305 _this->
_impl_.start_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.start_);
4310 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
4311 ABSL_DCHECK(from.
_impl_.end_ !=
nullptr);
4312 if (_this->
_impl_.end_ ==
nullptr) {
4313 _this->
_impl_.end_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.end_);
4318 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
4319 ABSL_DCHECK(from.
_impl_.size_ !=
nullptr);
4320 if (_this->
_impl_.size_ ==
nullptr) {
4321 _this->
_impl_.size_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.size_);
4327 _this->
_impl_._has_bits_[0] |= cached_has_bits;
4328 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4329 from._internal_metadata_);
4334 if (&from ==
this)
return;
4342 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4343 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4344 ::google::protobuf::internal::memswap<
4348 reinterpret_cast<char*
>(&
_impl_.start_),
4349 reinterpret_cast<char*
>(&other->_impl_.start_));
4353 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4357class NoOverlapConstraintProto::_Internal {
4360 decltype(::std::declval<NoOverlapConstraintProto>()._impl_._has_bits_);
4361 static constexpr ::int32_t kHasBitsOffset =
4366#if defined(PROTOBUF_CUSTOM_VTABLE)
4369 : ::google::protobuf::Message(arena) {
4374PROTOBUF_NDEBUG_INLINE NoOverlapConstraintProto::Impl_::Impl_(
4375 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
4376 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4377 [[maybe_unused]] const ::operations_research::sat::NoOverlapConstraintProto& from_msg)
4378 : _has_bits_{from._has_bits_},
4380 intervals_{visibility, arena, from.intervals_},
4381 _intervals_cached_byte_size_{0} {}
4384 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4386#if defined(PROTOBUF_CUSTOM_VTABLE)
4389 : ::google::protobuf::Message(arena) {
4393 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4394 from._internal_metadata_);
4395 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4399PROTOBUF_NDEBUG_INLINE NoOverlapConstraintProto::Impl_::Impl_(
4400 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
4401 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4403 intervals_{visibility, arena},
4404 _intervals_cached_byte_size_{0} {}
4406inline void NoOverlapConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4407 new (&
_impl_) Impl_(internal_visibility(), arena);
4413inline void NoOverlapConstraintProto::SharedDtor(
MessageLite& self) {
4415 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4416 this_.CheckHasBitConsistency();
4418 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4419 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4420 this_._impl_.~Impl_();
4423inline void* PROTOBUF_NONNULL NoOverlapConstraintProto::PlacementNew_(
4424 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4425 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4428constexpr auto NoOverlapConstraintProto::InternalNewImpl_() {
4429 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4432 InternalGetArenaOffset(
4435 if (arena_bits.has_value()) {
4436 return ::google::protobuf::internal::MessageCreator::ZeroInit(
4437 sizeof(NoOverlapConstraintProto), alignof(NoOverlapConstraintProto), *arena_bits);
4439 return ::google::protobuf::internal::MessageCreator(&NoOverlapConstraintProto::PlacementNew_,
4440 sizeof(NoOverlapConstraintProto),
4441 alignof(NoOverlapConstraintProto));
4445 return ::google::protobuf::internal::ClassDataFull{
4446 ::google::protobuf::internal::ClassData{
4451 &NoOverlapConstraintProto::MergeImpl,
4452 ::google::protobuf::Message::GetNewImpl<NoOverlapConstraintProto>(),
4453#if defined(PROTOBUF_CUSTOM_VTABLE)
4454 &NoOverlapConstraintProto::SharedDtor,
4461 &NoOverlapConstraintProto::kDescriptorMethods,
4467PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4471PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4472NoOverlapConstraintProto::GetClassData()
const {
4477PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4478const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
4479NoOverlapConstraintProto::_table_ = {
4484 offsetof(
decltype(_table_), field_lookup_table),
4486 offsetof(
decltype(_table_), field_entries),
4489 offsetof(
decltype(_table_), field_names),
4492 ::_pbi::TcParser::GenericFallback,
4493 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4494 ::_pbi::TcParser::GetTable<::operations_research::sat::NoOverlapConstraintProto>(),
4498 {::_pbi::TcParser::FastV32P1,
4513 ::google::protobuf::internal::TSanWrite(&
_impl_);
4514 ::uint32_t cached_has_bits = 0;
4516 (void) cached_has_bits;
4518 cached_has_bits =
_impl_._has_bits_[0];
4519 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
4522 _impl_._has_bits_.Clear();
4523 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4526#if defined(PROTOBUF_CUSTOM_VTABLE)
4528 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
4529 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4533 ::uint8_t* PROTOBUF_NONNULL target,
4534 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4537 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4538 this_.CheckHasBitConsistency();
4541 ::uint32_t cached_has_bits = 0;
4542 (void)cached_has_bits;
4544 cached_has_bits = this_._impl_._has_bits_[0];
4546 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
4548 int byte_size = this_._impl_._intervals_cached_byte_size_.Get();
4549 if (byte_size > 0) {
4550 target = stream->WriteInt32Packed(
4551 1, this_._internal_intervals(), byte_size, target);
4556 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4558 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4559 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4565#if defined(PROTOBUF_CUSTOM_VTABLE)
4573 ::size_t total_size = 0;
4575 ::uint32_t cached_has_bits = 0;
4577 (void)cached_has_bits;
4579 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4582 cached_has_bits = this_._impl_._has_bits_[0];
4583 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
4585 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
4586 this_._internal_intervals(), 1,
4587 this_._impl_._intervals_cached_byte_size_);
4590 return this_.MaybeComputeUnknownFieldsSize(total_size,
4591 &this_._impl_._cached_size_);
4594void NoOverlapConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
4595 const ::google::protobuf::MessageLite& from_msg) {
4599 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4600 from.CheckHasBitConsistency();
4603 ABSL_DCHECK_NE(&from, _this);
4604 ::uint32_t cached_has_bits = 0;
4605 (void)cached_has_bits;
4607 cached_has_bits = from.
_impl_._has_bits_[0];
4608 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
4609 _this->_internal_mutable_intervals()->MergeFrom(from._internal_intervals());
4611 _this->
_impl_._has_bits_[0] |= cached_has_bits;
4612 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4613 from._internal_metadata_);
4618 if (&from ==
this)
return;
4626 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4627 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4628 _impl_.intervals_.InternalSwap(&other->_impl_.intervals_);
4632 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4636class NoOverlap2DConstraintProto::_Internal {
4639 decltype(::std::declval<NoOverlap2DConstraintProto>()._impl_._has_bits_);
4640 static constexpr ::int32_t kHasBitsOffset =
4645#if defined(PROTOBUF_CUSTOM_VTABLE)
4648 : ::google::protobuf::Message(arena) {
4653PROTOBUF_NDEBUG_INLINE NoOverlap2DConstraintProto::Impl_::Impl_(
4654 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
4655 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4656 [[maybe_unused]] const ::operations_research::sat::NoOverlap2DConstraintProto& from_msg)
4657 : _has_bits_{from._has_bits_},
4659 x_intervals_{visibility, arena, from.x_intervals_},
4660 _x_intervals_cached_byte_size_{0},
4661 y_intervals_{visibility, arena, from.y_intervals_},
4662 _y_intervals_cached_byte_size_{0} {}
4665 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4667#if defined(PROTOBUF_CUSTOM_VTABLE)
4670 : ::google::protobuf::Message(arena) {
4674 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4675 from._internal_metadata_);
4676 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4680PROTOBUF_NDEBUG_INLINE NoOverlap2DConstraintProto::Impl_::Impl_(
4681 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
4682 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4684 x_intervals_{visibility, arena},
4685 _x_intervals_cached_byte_size_{0},
4686 y_intervals_{visibility, arena},
4687 _y_intervals_cached_byte_size_{0} {}
4689inline void NoOverlap2DConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4690 new (&
_impl_) Impl_(internal_visibility(), arena);
4696inline void NoOverlap2DConstraintProto::SharedDtor(
MessageLite& self) {
4698 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4699 this_.CheckHasBitConsistency();
4701 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4702 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4703 this_._impl_.~Impl_();
4706inline void* PROTOBUF_NONNULL NoOverlap2DConstraintProto::PlacementNew_(
4707 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4708 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4711constexpr auto NoOverlap2DConstraintProto::InternalNewImpl_() {
4712 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4715 InternalGetArenaOffset(
4719 InternalGetArenaOffset(
4722 if (arena_bits.has_value()) {
4723 return ::google::protobuf::internal::MessageCreator::ZeroInit(
4724 sizeof(NoOverlap2DConstraintProto), alignof(NoOverlap2DConstraintProto), *arena_bits);
4726 return ::google::protobuf::internal::MessageCreator(&NoOverlap2DConstraintProto::PlacementNew_,
4727 sizeof(NoOverlap2DConstraintProto),
4728 alignof(NoOverlap2DConstraintProto));
4732 return ::google::protobuf::internal::ClassDataFull{
4733 ::google::protobuf::internal::ClassData{
4738 &NoOverlap2DConstraintProto::MergeImpl,
4739 ::google::protobuf::Message::GetNewImpl<NoOverlap2DConstraintProto>(),
4740#if defined(PROTOBUF_CUSTOM_VTABLE)
4741 &NoOverlap2DConstraintProto::SharedDtor,
4748 &NoOverlap2DConstraintProto::kDescriptorMethods,
4754PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4758PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4759NoOverlap2DConstraintProto::GetClassData()
const {
4764PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4765const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
4766NoOverlap2DConstraintProto::_table_ = {
4771 offsetof(
decltype(_table_), field_lookup_table),
4773 offsetof(
decltype(_table_), field_entries),
4776 offsetof(
decltype(_table_), field_names),
4779 ::_pbi::TcParser::GenericFallback,
4780 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4781 ::_pbi::TcParser::GetTable<::operations_research::sat::NoOverlap2DConstraintProto>(),
4785 {::_pbi::TcParser::FastV32P1,
4789 {::_pbi::TcParser::FastV32P1,
4806 ::google::protobuf::internal::TSanWrite(&
_impl_);
4807 ::uint32_t cached_has_bits = 0;
4809 (void) cached_has_bits;
4811 cached_has_bits =
_impl_._has_bits_[0];
4812 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
4813 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
4816 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
4817 _impl_.y_intervals_.Clear();
4820 _impl_._has_bits_.Clear();
4821 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4824#if defined(PROTOBUF_CUSTOM_VTABLE)
4826 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
4827 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4831 ::uint8_t* PROTOBUF_NONNULL target,
4832 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4835 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4836 this_.CheckHasBitConsistency();
4839 ::uint32_t cached_has_bits = 0;
4840 (void)cached_has_bits;
4842 cached_has_bits = this_._impl_._has_bits_[0];
4844 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
4846 int byte_size = this_._impl_._x_intervals_cached_byte_size_.Get();
4847 if (byte_size > 0) {
4848 target = stream->WriteInt32Packed(
4849 1, this_._internal_x_intervals(), byte_size, target);
4855 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
4857 int byte_size = this_._impl_._y_intervals_cached_byte_size_.Get();
4858 if (byte_size > 0) {
4859 target = stream->WriteInt32Packed(
4860 2, this_._internal_y_intervals(), byte_size, target);
4865 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4867 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4868 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4874#if defined(PROTOBUF_CUSTOM_VTABLE)
4882 ::size_t total_size = 0;
4884 ::uint32_t cached_has_bits = 0;
4886 (void)cached_has_bits;
4888 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4889 cached_has_bits = this_._impl_._has_bits_[0];
4890 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
4892 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
4894 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
4895 this_._internal_x_intervals(), 1,
4896 this_._impl_._x_intervals_cached_byte_size_);
4899 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
4901 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
4902 this_._internal_y_intervals(), 1,
4903 this_._impl_._y_intervals_cached_byte_size_);
4906 return this_.MaybeComputeUnknownFieldsSize(total_size,
4907 &this_._impl_._cached_size_);
4910void NoOverlap2DConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
4911 const ::google::protobuf::MessageLite& from_msg) {
4915 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4916 from.CheckHasBitConsistency();
4919 ABSL_DCHECK_NE(&from, _this);
4920 ::uint32_t cached_has_bits = 0;
4921 (void)cached_has_bits;
4923 cached_has_bits = from.
_impl_._has_bits_[0];
4924 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
4925 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
4926 _this->_internal_mutable_x_intervals()->MergeFrom(from._internal_x_intervals());
4928 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
4929 _this->_internal_mutable_y_intervals()->MergeFrom(from._internal_y_intervals());
4932 _this->
_impl_._has_bits_[0] |= cached_has_bits;
4933 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4934 from._internal_metadata_);
4939 if (&from ==
this)
return;
4947 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4948 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4949 _impl_.x_intervals_.InternalSwap(&other->_impl_.x_intervals_);
4950 _impl_.y_intervals_.InternalSwap(&other->_impl_.y_intervals_);
4954 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4958class CumulativeConstraintProto::_Internal {
4961 decltype(::std::declval<CumulativeConstraintProto>()._impl_._has_bits_);
4962 static constexpr ::int32_t kHasBitsOffset =
4967#if defined(PROTOBUF_CUSTOM_VTABLE)
4970 : ::google::protobuf::Message(arena) {
4975PROTOBUF_NDEBUG_INLINE CumulativeConstraintProto::Impl_::Impl_(
4976 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
4977 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4978 [[maybe_unused]] const ::operations_research::sat::CumulativeConstraintProto& from_msg)
4979 : _has_bits_{from._has_bits_},
4981 intervals_{visibility, arena, from.intervals_},
4982 _intervals_cached_byte_size_{0},
4983 demands_{visibility, arena, from.demands_} {}
4986 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4988#if defined(PROTOBUF_CUSTOM_VTABLE)
4991 : ::google::protobuf::Message(arena) {
4995 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4996 from._internal_metadata_);
4997 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4998 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
4999 _impl_.capacity_ = (CheckHasBit(cached_has_bits, 0x00000004U))
5000 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.capacity_)
5005PROTOBUF_NDEBUG_INLINE CumulativeConstraintProto::Impl_::Impl_(
5006 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
5007 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
5009 intervals_{visibility, arena},
5010 _intervals_cached_byte_size_{0},
5011 demands_{visibility, arena} {}
5013inline void CumulativeConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
5014 new (&
_impl_) Impl_(internal_visibility(), arena);
5021inline void CumulativeConstraintProto::SharedDtor(
MessageLite& self) {
5023 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
5024 this_.CheckHasBitConsistency();
5026 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5027 ABSL_DCHECK(this_.GetArena() ==
nullptr);
5028 delete this_._impl_.capacity_;
5029 this_._impl_.~Impl_();
5032inline void* PROTOBUF_NONNULL CumulativeConstraintProto::PlacementNew_(
5033 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5034 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
5037constexpr auto CumulativeConstraintProto::InternalNewImpl_() {
5038 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
5041 InternalGetArenaOffset(
5045 InternalGetArenaOffset(
5048 if (arena_bits.has_value()) {
5049 return ::google::protobuf::internal::MessageCreator::ZeroInit(
5050 sizeof(CumulativeConstraintProto), alignof(CumulativeConstraintProto), *arena_bits);
5052 return ::google::protobuf::internal::MessageCreator(&CumulativeConstraintProto::PlacementNew_,
5053 sizeof(CumulativeConstraintProto),
5054 alignof(CumulativeConstraintProto));
5058 return ::google::protobuf::internal::ClassDataFull{
5059 ::google::protobuf::internal::ClassData{
5064 &CumulativeConstraintProto::MergeImpl,
5065 ::google::protobuf::Message::GetNewImpl<CumulativeConstraintProto>(),
5066#if defined(PROTOBUF_CUSTOM_VTABLE)
5067 &CumulativeConstraintProto::SharedDtor,
5074 &CumulativeConstraintProto::kDescriptorMethods,
5080PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
5084PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
5085CumulativeConstraintProto::GetClassData()
const {
5090PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5091const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
5092CumulativeConstraintProto::_table_ = {
5097 offsetof(
decltype(_table_), field_lookup_table),
5099 offsetof(
decltype(_table_), field_entries),
5102 offsetof(
decltype(_table_), aux_entries),
5105 ::_pbi::TcParser::GenericFallback,
5106 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5107 ::_pbi::TcParser::GetTable<::operations_research::sat::CumulativeConstraintProto>(),
5110 {::_pbi::TcParser::MiniParse, {}},
5112 {::_pbi::TcParser::FastMtS1,
5116 {::_pbi::TcParser::FastV32P1,
5120 {::_pbi::TcParser::FastMtR1,
5134 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
5135 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
5142 ::google::protobuf::internal::TSanWrite(&
_impl_);
5143 ::uint32_t cached_has_bits = 0;
5145 (void) cached_has_bits;
5147 cached_has_bits =
_impl_._has_bits_[0];
5148 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
5149 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
5150 _impl_.intervals_.Clear();
5152 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
5155 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
5156 ABSL_DCHECK(
_impl_.capacity_ !=
nullptr);
5160 _impl_._has_bits_.Clear();
5161 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5164#if defined(PROTOBUF_CUSTOM_VTABLE)
5166 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
5167 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
5171 ::uint8_t* PROTOBUF_NONNULL target,
5172 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5175 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
5176 this_.CheckHasBitConsistency();
5179 ::uint32_t cached_has_bits = 0;
5180 (void)cached_has_bits;
5182 cached_has_bits = this_._impl_._has_bits_[0];
5184 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
5185 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5186 1, *this_._impl_.capacity_, this_._impl_.capacity_->GetCachedSize(), target,
5191 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
5193 int byte_size = this_._impl_._intervals_cached_byte_size_.Get();
5194 if (byte_size > 0) {
5195 target = stream->WriteInt32Packed(
5196 2, this_._internal_intervals(), byte_size, target);
5202 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
5203 for (
unsigned i = 0, n =
static_cast<unsigned>(
5204 this_._internal_demands_size());
5206 const auto& repfield = this_._internal_demands().Get(
i);
5208 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5209 3, repfield, repfield.GetCachedSize(),
5214 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5216 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5217 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5223#if defined(PROTOBUF_CUSTOM_VTABLE)
5231 ::size_t total_size = 0;
5233 ::uint32_t cached_has_bits = 0;
5235 (void)cached_has_bits;
5237 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5238 cached_has_bits = this_._impl_._has_bits_[0];
5239 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
5241 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
5243 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
5244 this_._internal_intervals(), 1,
5245 this_._impl_._intervals_cached_byte_size_);
5248 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
5249 total_size += 1UL * this_._internal_demands_size();
5250 for (
const auto& msg : this_._internal_demands()) {
5251 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5255 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
5257 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.capacity_);
5260 return this_.MaybeComputeUnknownFieldsSize(total_size,
5261 &this_._impl_._cached_size_);
5264void CumulativeConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
5265 const ::google::protobuf::MessageLite& from_msg) {
5269 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
5270 from.CheckHasBitConsistency();
5272 ::google::protobuf::Arena* arena = _this->GetArena();
5274 ABSL_DCHECK_NE(&from, _this);
5275 ::uint32_t cached_has_bits = 0;
5276 (void)cached_has_bits;
5278 cached_has_bits = from.
_impl_._has_bits_[0];
5279 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
5280 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
5281 _this->_internal_mutable_intervals()->MergeFrom(from._internal_intervals());
5283 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
5284 _this->_internal_mutable_demands()->InternalMergeFromWithArena(
5285 ::google::protobuf::MessageLite::internal_visibility(), arena,
5286 from._internal_demands());
5288 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
5289 ABSL_DCHECK(from.
_impl_.capacity_ !=
nullptr);
5290 if (_this->
_impl_.capacity_ ==
nullptr) {
5291 _this->
_impl_.capacity_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.capacity_);
5297 _this->
_impl_._has_bits_[0] |= cached_has_bits;
5298 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5299 from._internal_metadata_);
5304 if (&from ==
this)
return;
5312 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5314 _impl_.intervals_.InternalSwap(&other->_impl_.intervals_);
5315 _impl_.demands_.InternalSwap(&other->_impl_.demands_);
5316 swap(
_impl_.capacity_, other->_impl_.capacity_);
5320 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
5324class ReservoirConstraintProto::_Internal {
5327 decltype(::std::declval<ReservoirConstraintProto>()._impl_._has_bits_);
5328 static constexpr ::int32_t kHasBitsOffset =
5329 8 * PROTOBUF_FIELD_OFFSET(ReservoirConstraintProto, _impl_._has_bits_);
5333#if defined(PROTOBUF_CUSTOM_VTABLE)
5336 : ::google::protobuf::Message(arena) {
5341PROTOBUF_NDEBUG_INLINE ReservoirConstraintProto::Impl_::Impl_(
5342 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
5343 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5344 [[maybe_unused]] const ::operations_research::sat::ReservoirConstraintProto& from_msg)
5345 : _has_bits_{from._has_bits_},
5347 time_exprs_{visibility, arena, from.time_exprs_},
5348 active_literals_{visibility, arena, from.active_literals_},
5349 _active_literals_cached_byte_size_{0},
5350 level_changes_{visibility, arena, from.level_changes_} {}
5353 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
5355#if defined(PROTOBUF_CUSTOM_VTABLE)
5358 : ::google::protobuf::Message(arena) {
5362 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5363 from._internal_metadata_);
5364 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
5365 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
5366 offsetof(Impl_, min_level_),
5367 reinterpret_cast<const char*
>(&from.
_impl_) +
5368 offsetof(Impl_, min_level_),
5369 offsetof(Impl_, max_level_) -
5370 offsetof(Impl_, min_level_) +
5371 sizeof(Impl_::max_level_));
5375PROTOBUF_NDEBUG_INLINE ReservoirConstraintProto::Impl_::Impl_(
5376 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
5377 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
5379 time_exprs_{visibility, arena},
5380 active_literals_{visibility, arena},
5381 _active_literals_cached_byte_size_{0},
5382 level_changes_{visibility, arena} {}
5384inline void ReservoirConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
5385 new (&
_impl_) Impl_(internal_visibility(), arena);
5386 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
5387 offsetof(Impl_, min_level_),
5389 offsetof(Impl_, max_level_) -
5390 offsetof(Impl_, min_level_) +
5391 sizeof(Impl_::max_level_));
5397inline void ReservoirConstraintProto::SharedDtor(
MessageLite& self) {
5399 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
5400 this_.CheckHasBitConsistency();
5402 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5403 ABSL_DCHECK(this_.GetArena() ==
nullptr);
5404 this_._impl_.~Impl_();
5407inline void* PROTOBUF_NONNULL ReservoirConstraintProto::PlacementNew_(
5408 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5409 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
5412constexpr auto ReservoirConstraintProto::InternalNewImpl_() {
5413 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
5416 InternalGetArenaOffset(
5420 InternalGetArenaOffset(
5424 InternalGetArenaOffset(
5427 if (arena_bits.has_value()) {
5428 return ::google::protobuf::internal::MessageCreator::ZeroInit(
5429 sizeof(ReservoirConstraintProto), alignof(ReservoirConstraintProto), *arena_bits);
5431 return ::google::protobuf::internal::MessageCreator(&ReservoirConstraintProto::PlacementNew_,
5432 sizeof(ReservoirConstraintProto),
5433 alignof(ReservoirConstraintProto));
5437 return ::google::protobuf::internal::ClassDataFull{
5438 ::google::protobuf::internal::ClassData{
5443 &ReservoirConstraintProto::MergeImpl,
5444 ::google::protobuf::Message::GetNewImpl<ReservoirConstraintProto>(),
5445#if defined(PROTOBUF_CUSTOM_VTABLE)
5446 &ReservoirConstraintProto::SharedDtor,
5453 &ReservoirConstraintProto::kDescriptorMethods,
5459PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
5463PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
5464ReservoirConstraintProto::GetClassData()
const {
5469PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5470const ::_pbi::TcParseTable<3, 5, 2, 0, 2>
5471ReservoirConstraintProto::_table_ = {
5476 offsetof(
decltype(_table_), field_lookup_table),
5478 offsetof(
decltype(_table_), field_entries),
5481 offsetof(
decltype(_table_), aux_entries),
5484 ::_pbi::TcParser::GenericFallback,
5485 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5486 ::_pbi::TcParser::GetTable<::operations_research::sat::ReservoirConstraintProto>(),
5489 {::_pbi::TcParser::MiniParse, {}},
5499 {::_pbi::TcParser::FastMtR1,
5502 {::_pbi::TcParser::MiniParse, {}},
5504 {::_pbi::TcParser::FastV32P1,
5508 {::_pbi::TcParser::FastMtR1,
5511 {::_pbi::TcParser::MiniParse, {}},
5527 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
5528 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
5535 ::google::protobuf::internal::TSanWrite(&
_impl_);
5536 ::uint32_t cached_has_bits = 0;
5538 (void) cached_has_bits;
5540 cached_has_bits =
_impl_._has_bits_[0];
5541 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
5542 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
5543 _impl_.time_exprs_.Clear();
5545 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
5546 _impl_.active_literals_.Clear();
5548 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
5549 _impl_.level_changes_.Clear();
5552 if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
5553 ::memset(&
_impl_.min_level_, 0,
static_cast<::
size_t>(
5554 reinterpret_cast<char*
>(&
_impl_.max_level_) -
5555 reinterpret_cast<char*
>(&
_impl_.min_level_)) +
sizeof(
_impl_.max_level_));
5557 _impl_._has_bits_.Clear();
5558 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5561#if defined(PROTOBUF_CUSTOM_VTABLE)
5563 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
5564 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
5568 ::uint8_t* PROTOBUF_NONNULL target,
5569 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5572 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
5573 this_.CheckHasBitConsistency();
5576 ::uint32_t cached_has_bits = 0;
5577 (void)cached_has_bits;
5579 cached_has_bits = this_._impl_._has_bits_[0];
5581 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
5582 if (this_._internal_min_level() != 0) {
5584 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
5585 stream, this_._internal_min_level(), target);
5590 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
5591 if (this_._internal_max_level() != 0) {
5593 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
5594 stream, this_._internal_max_level(), target);
5599 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
5600 for (
unsigned i = 0, n =
static_cast<unsigned>(
5601 this_._internal_time_exprs_size());
5603 const auto& repfield = this_._internal_time_exprs().Get(
i);
5605 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5606 3, repfield, repfield.GetCachedSize(),
5612 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
5614 int byte_size = this_._impl_._active_literals_cached_byte_size_.Get();
5615 if (byte_size > 0) {
5616 target = stream->WriteInt32Packed(
5617 5, this_._internal_active_literals(), byte_size, target);
5623 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
5624 for (
unsigned i = 0, n =
static_cast<unsigned>(
5625 this_._internal_level_changes_size());
5627 const auto& repfield = this_._internal_level_changes().Get(
i);
5629 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5630 6, repfield, repfield.GetCachedSize(),
5635 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5637 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5638 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5644#if defined(PROTOBUF_CUSTOM_VTABLE)
5652 ::size_t total_size = 0;
5654 ::uint32_t cached_has_bits = 0;
5656 (void)cached_has_bits;
5658 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5659 cached_has_bits = this_._impl_._has_bits_[0];
5660 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
5662 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
5663 total_size += 1UL * this_._internal_time_exprs_size();
5664 for (
const auto& msg : this_._internal_time_exprs()) {
5665 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5669 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
5671 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
5672 this_._internal_active_literals(), 1,
5673 this_._impl_._active_literals_cached_byte_size_);
5676 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
5677 total_size += 1UL * this_._internal_level_changes_size();
5678 for (
const auto& msg : this_._internal_level_changes()) {
5679 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5683 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
5684 if (this_._internal_min_level() != 0) {
5685 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
5686 this_._internal_min_level());
5690 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
5691 if (this_._internal_max_level() != 0) {
5692 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
5693 this_._internal_max_level());
5697 return this_.MaybeComputeUnknownFieldsSize(total_size,
5698 &this_._impl_._cached_size_);
5701void ReservoirConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
5702 const ::google::protobuf::MessageLite& from_msg) {
5706 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
5707 from.CheckHasBitConsistency();
5709 ::google::protobuf::Arena* arena = _this->GetArena();
5711 ABSL_DCHECK_NE(&from, _this);
5712 ::uint32_t cached_has_bits = 0;
5713 (void)cached_has_bits;
5715 cached_has_bits = from.
_impl_._has_bits_[0];
5716 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
5717 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
5718 _this->_internal_mutable_time_exprs()->InternalMergeFromWithArena(
5719 ::google::protobuf::MessageLite::internal_visibility(), arena,
5720 from._internal_time_exprs());
5722 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
5723 _this->_internal_mutable_active_literals()->MergeFrom(from._internal_active_literals());
5725 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
5726 _this->_internal_mutable_level_changes()->InternalMergeFromWithArena(
5727 ::google::protobuf::MessageLite::internal_visibility(), arena,
5728 from._internal_level_changes());
5730 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
5731 if (from._internal_min_level() != 0) {
5735 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
5736 if (from._internal_max_level() != 0) {
5741 _this->
_impl_._has_bits_[0] |= cached_has_bits;
5742 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5743 from._internal_metadata_);
5748 if (&from ==
this)
return;
5756 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5757 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5758 _impl_.time_exprs_.InternalSwap(&other->_impl_.time_exprs_);
5759 _impl_.active_literals_.InternalSwap(&other->_impl_.active_literals_);
5760 _impl_.level_changes_.InternalSwap(&other->_impl_.level_changes_);
5761 ::google::protobuf::internal::memswap<
5765 reinterpret_cast<char*
>(&
_impl_.min_level_),
5766 reinterpret_cast<char*
>(&other->_impl_.min_level_));
5770 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
5774class CircuitConstraintProto::_Internal {
5777 decltype(::std::declval<CircuitConstraintProto>()._impl_._has_bits_);
5778 static constexpr ::int32_t kHasBitsOffset =
5779 8 * PROTOBUF_FIELD_OFFSET(CircuitConstraintProto, _impl_._has_bits_);
5783#if defined(PROTOBUF_CUSTOM_VTABLE)
5786 : ::google::protobuf::Message(arena) {
5791PROTOBUF_NDEBUG_INLINE CircuitConstraintProto::Impl_::Impl_(
5792 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
5793 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5794 [[maybe_unused]] const ::operations_research::sat::CircuitConstraintProto& from_msg)
5795 : _has_bits_{from._has_bits_},
5797 tails_{visibility, arena, from.tails_},
5798 _tails_cached_byte_size_{0},
5799 heads_{visibility, arena, from.heads_},
5800 _heads_cached_byte_size_{0},
5801 literals_{visibility, arena, from.literals_},
5802 _literals_cached_byte_size_{0} {}
5805 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
5807#if defined(PROTOBUF_CUSTOM_VTABLE)
5810 : ::google::protobuf::Message(arena) {
5814 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5815 from._internal_metadata_);
5816 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
5820PROTOBUF_NDEBUG_INLINE CircuitConstraintProto::Impl_::Impl_(
5821 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
5822 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
5824 tails_{visibility, arena},
5825 _tails_cached_byte_size_{0},
5826 heads_{visibility, arena},
5827 _heads_cached_byte_size_{0},
5828 literals_{visibility, arena},
5829 _literals_cached_byte_size_{0} {}
5831inline void CircuitConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
5832 new (&
_impl_) Impl_(internal_visibility(), arena);
5838inline void CircuitConstraintProto::SharedDtor(
MessageLite& self) {
5840 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
5841 this_.CheckHasBitConsistency();
5843 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5844 ABSL_DCHECK(this_.GetArena() ==
nullptr);
5845 this_._impl_.~Impl_();
5848inline void* PROTOBUF_NONNULL CircuitConstraintProto::PlacementNew_(
5849 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5850 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
5853constexpr auto CircuitConstraintProto::InternalNewImpl_() {
5854 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
5857 InternalGetArenaOffset(
5861 InternalGetArenaOffset(
5865 InternalGetArenaOffset(
5868 if (arena_bits.has_value()) {
5869 return ::google::protobuf::internal::MessageCreator::ZeroInit(
5870 sizeof(CircuitConstraintProto), alignof(CircuitConstraintProto), *arena_bits);
5872 return ::google::protobuf::internal::MessageCreator(&CircuitConstraintProto::PlacementNew_,
5873 sizeof(CircuitConstraintProto),
5874 alignof(CircuitConstraintProto));
5878 return ::google::protobuf::internal::ClassDataFull{
5879 ::google::protobuf::internal::ClassData{
5884 &CircuitConstraintProto::MergeImpl,
5885 ::google::protobuf::Message::GetNewImpl<CircuitConstraintProto>(),
5886#if defined(PROTOBUF_CUSTOM_VTABLE)
5887 &CircuitConstraintProto::SharedDtor,
5894 &CircuitConstraintProto::kDescriptorMethods,
5900PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
5904PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
5905CircuitConstraintProto::GetClassData()
const {
5910PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5911const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
5912CircuitConstraintProto::_table_ = {
5917 offsetof(
decltype(_table_), field_lookup_table),
5919 offsetof(
decltype(_table_), field_entries),
5922 offsetof(
decltype(_table_), field_names),
5925 ::_pbi::TcParser::GenericFallback,
5926 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5927 ::_pbi::TcParser::GetTable<::operations_research::sat::CircuitConstraintProto>(),
5931 {::_pbi::TcParser::FastV32P1,
5935 {::_pbi::TcParser::FastV32P1,
5938 {::_pbi::TcParser::MiniParse, {}},
5940 {::_pbi::TcParser::FastV32P1,
5959 ::google::protobuf::internal::TSanWrite(&
_impl_);
5960 ::uint32_t cached_has_bits = 0;
5962 (void) cached_has_bits;
5964 cached_has_bits =
_impl_._has_bits_[0];
5965 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
5966 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
5969 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
5972 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
5973 _impl_.literals_.Clear();
5976 _impl_._has_bits_.Clear();
5977 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5980#if defined(PROTOBUF_CUSTOM_VTABLE)
5982 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
5983 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
5987 ::uint8_t* PROTOBUF_NONNULL target,
5988 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5991 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
5992 this_.CheckHasBitConsistency();
5995 ::uint32_t cached_has_bits = 0;
5996 (void)cached_has_bits;
5998 cached_has_bits = this_._impl_._has_bits_[0];
6000 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6002 int byte_size = this_._impl_._tails_cached_byte_size_.Get();
6003 if (byte_size > 0) {
6004 target = stream->WriteInt32Packed(
6005 3, this_._internal_tails(), byte_size, target);
6011 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
6013 int byte_size = this_._impl_._heads_cached_byte_size_.Get();
6014 if (byte_size > 0) {
6015 target = stream->WriteInt32Packed(
6016 4, this_._internal_heads(), byte_size, target);
6022 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
6024 int byte_size = this_._impl_._literals_cached_byte_size_.Get();
6025 if (byte_size > 0) {
6026 target = stream->WriteInt32Packed(
6027 5, this_._internal_literals(), byte_size, target);
6032 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6034 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6035 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6041#if defined(PROTOBUF_CUSTOM_VTABLE)
6049 ::size_t total_size = 0;
6051 ::uint32_t cached_has_bits = 0;
6053 (void)cached_has_bits;
6055 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6056 cached_has_bits = this_._impl_._has_bits_[0];
6057 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
6059 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6061 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6062 this_._internal_tails(), 1,
6063 this_._impl_._tails_cached_byte_size_);
6066 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
6068 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6069 this_._internal_heads(), 1,
6070 this_._impl_._heads_cached_byte_size_);
6073 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
6075 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6076 this_._internal_literals(), 1,
6077 this_._impl_._literals_cached_byte_size_);
6080 return this_.MaybeComputeUnknownFieldsSize(total_size,
6081 &this_._impl_._cached_size_);
6084void CircuitConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
6085 const ::google::protobuf::MessageLite& from_msg) {
6089 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
6090 from.CheckHasBitConsistency();
6093 ABSL_DCHECK_NE(&from, _this);
6094 ::uint32_t cached_has_bits = 0;
6095 (void)cached_has_bits;
6097 cached_has_bits = from.
_impl_._has_bits_[0];
6098 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
6099 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6100 _this->_internal_mutable_tails()->MergeFrom(from._internal_tails());
6102 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
6103 _this->_internal_mutable_heads()->MergeFrom(from._internal_heads());
6105 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
6106 _this->_internal_mutable_literals()->MergeFrom(from._internal_literals());
6109 _this->
_impl_._has_bits_[0] |= cached_has_bits;
6110 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6111 from._internal_metadata_);
6116 if (&from ==
this)
return;
6122void CircuitConstraintProto::InternalSwap(
CircuitConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
6124 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6125 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6126 _impl_.tails_.InternalSwap(&other->_impl_.tails_);
6127 _impl_.heads_.InternalSwap(&other->_impl_.heads_);
6128 _impl_.literals_.InternalSwap(&other->_impl_.literals_);
6132 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
6136class RoutesConstraintProto_NodeExpressions::_Internal {
6139 decltype(::std::declval<RoutesConstraintProto_NodeExpressions>()._impl_._has_bits_);
6140 static constexpr ::int32_t kHasBitsOffset =
6141 8 * PROTOBUF_FIELD_OFFSET(RoutesConstraintProto_NodeExpressions, _impl_._has_bits_);
6145#if defined(PROTOBUF_CUSTOM_VTABLE)
6148 : ::google::protobuf::Message(arena) {
6153PROTOBUF_NDEBUG_INLINE RoutesConstraintProto_NodeExpressions::Impl_::Impl_(
6154 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
6155 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
6156 [[maybe_unused]] const ::operations_research::sat::RoutesConstraintProto_NodeExpressions& from_msg)
6157 : _has_bits_{from._has_bits_},
6159 exprs_{visibility, arena, from.exprs_} {}
6162 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
6164#if defined(PROTOBUF_CUSTOM_VTABLE)
6167 : ::google::protobuf::Message(arena) {
6171 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6172 from._internal_metadata_);
6173 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
6177PROTOBUF_NDEBUG_INLINE RoutesConstraintProto_NodeExpressions::Impl_::Impl_(
6178 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
6179 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6181 exprs_{visibility, arena} {}
6183inline void RoutesConstraintProto_NodeExpressions::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
6184 new (&
_impl_) Impl_(internal_visibility(), arena);
6190inline void RoutesConstraintProto_NodeExpressions::SharedDtor(
MessageLite& self) {
6192 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
6193 this_.CheckHasBitConsistency();
6195 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6196 ABSL_DCHECK(this_.GetArena() ==
nullptr);
6197 this_._impl_.~Impl_();
6200inline void* PROTOBUF_NONNULL RoutesConstraintProto_NodeExpressions::PlacementNew_(
6201 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6202 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6205constexpr auto RoutesConstraintProto_NodeExpressions::InternalNewImpl_() {
6206 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
6209 InternalGetArenaOffset(
6212 if (arena_bits.has_value()) {
6213 return ::google::protobuf::internal::MessageCreator::ZeroInit(
6214 sizeof(RoutesConstraintProto_NodeExpressions), alignof(RoutesConstraintProto_NodeExpressions), *arena_bits);
6216 return ::google::protobuf::internal::MessageCreator(&RoutesConstraintProto_NodeExpressions::PlacementNew_,
6217 sizeof(RoutesConstraintProto_NodeExpressions),
6218 alignof(RoutesConstraintProto_NodeExpressions));
6222 return ::google::protobuf::internal::ClassDataFull{
6223 ::google::protobuf::internal::ClassData{
6228 &RoutesConstraintProto_NodeExpressions::MergeImpl,
6229 ::google::protobuf::Message::GetNewImpl<RoutesConstraintProto_NodeExpressions>(),
6230#if defined(PROTOBUF_CUSTOM_VTABLE)
6231 &RoutesConstraintProto_NodeExpressions::SharedDtor,
6238 &RoutesConstraintProto_NodeExpressions::kDescriptorMethods,
6244PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
6248PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
6249RoutesConstraintProto_NodeExpressions::GetClassData()
const {
6254PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6255const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
6256RoutesConstraintProto_NodeExpressions::_table_ = {
6261 offsetof(
decltype(_table_), field_lookup_table),
6263 offsetof(
decltype(_table_), field_entries),
6266 offsetof(
decltype(_table_), aux_entries),
6269 ::_pbi::TcParser::GenericFallback,
6270 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6271 ::_pbi::TcParser::GetTable<::operations_research::sat::RoutesConstraintProto_NodeExpressions>(),
6275 {::_pbi::TcParser::FastMtR1,
6285 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
6292 ::google::protobuf::internal::TSanWrite(&
_impl_);
6293 ::uint32_t cached_has_bits = 0;
6295 (void) cached_has_bits;
6297 cached_has_bits =
_impl_._has_bits_[0];
6298 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6301 _impl_._has_bits_.Clear();
6302 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6305#if defined(PROTOBUF_CUSTOM_VTABLE)
6307 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
6308 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
6312 ::uint8_t* PROTOBUF_NONNULL target,
6313 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
6316 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
6317 this_.CheckHasBitConsistency();
6320 ::uint32_t cached_has_bits = 0;
6321 (void)cached_has_bits;
6323 cached_has_bits = this_.
_impl_._has_bits_[0];
6325 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6326 for (
unsigned i = 0, n =
static_cast<unsigned>(
6327 this_._internal_exprs_size());
6329 const auto& repfield = this_._internal_exprs().Get(
i);
6331 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6332 1, repfield, repfield.GetCachedSize(),
6337 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6339 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6340 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6346#if defined(PROTOBUF_CUSTOM_VTABLE)
6354 ::size_t total_size = 0;
6356 ::uint32_t cached_has_bits = 0;
6358 (void)cached_has_bits;
6360 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6363 cached_has_bits = this_._impl_._has_bits_[0];
6364 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6365 total_size += 1UL * this_._internal_exprs_size();
6366 for (
const auto& msg : this_._internal_exprs()) {
6367 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
6371 return this_.MaybeComputeUnknownFieldsSize(total_size,
6372 &this_._impl_._cached_size_);
6375void RoutesConstraintProto_NodeExpressions::MergeImpl(::google::protobuf::MessageLite& to_msg,
6376 const ::google::protobuf::MessageLite& from_msg) {
6380 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
6381 from.CheckHasBitConsistency();
6385 ABSL_DCHECK_NE(&from, _this);
6386 ::uint32_t cached_has_bits = 0;
6387 (void)cached_has_bits;
6389 cached_has_bits = from.
_impl_._has_bits_[0];
6390 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6391 _this->_internal_mutable_exprs()->InternalMergeFromWithArena(
6392 ::google::protobuf::MessageLite::internal_visibility(), arena,
6393 from._internal_exprs());
6395 _this->
_impl_._has_bits_[0] |= cached_has_bits;
6396 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6397 from._internal_metadata_);
6402 if (&from ==
this)
return;
6410 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6411 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6412 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
6416 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
6423 decltype(::std::declval<RoutesConstraintProto>()._impl_._has_bits_);
6424 static constexpr ::int32_t kHasBitsOffset =
6429#if defined(PROTOBUF_CUSTOM_VTABLE)
6432 : ::google::protobuf::Message(arena) {
6437PROTOBUF_NDEBUG_INLINE RoutesConstraintProto::Impl_::Impl_(
6438 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
6439 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
6440 [[maybe_unused]] const ::operations_research::sat::RoutesConstraintProto& from_msg)
6441 : _has_bits_{from._has_bits_},
6443 tails_{visibility, arena, from.tails_},
6444 _tails_cached_byte_size_{0},
6445 heads_{visibility, arena, from.heads_},
6446 _heads_cached_byte_size_{0},
6447 literals_{visibility, arena, from.literals_},
6448 _literals_cached_byte_size_{0},
6449 demands_{visibility, arena, from.demands_},
6450 _demands_cached_byte_size_{0},
6451 dimensions_{visibility, arena, from.dimensions_} {}
6454 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
6456#if defined(PROTOBUF_CUSTOM_VTABLE)
6459 : ::google::protobuf::Message(arena) {
6463 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6464 from._internal_metadata_);
6465 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
6470PROTOBUF_NDEBUG_INLINE RoutesConstraintProto::Impl_::Impl_(
6471 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
6472 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6474 tails_{visibility, arena},
6475 _tails_cached_byte_size_{0},
6476 heads_{visibility, arena},
6477 _heads_cached_byte_size_{0},
6478 literals_{visibility, arena},
6479 _literals_cached_byte_size_{0},
6480 demands_{visibility, arena},
6481 _demands_cached_byte_size_{0},
6482 dimensions_{visibility, arena} {}
6484inline void RoutesConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
6485 new (&
_impl_) Impl_(internal_visibility(), arena);
6492inline void RoutesConstraintProto::SharedDtor(
MessageLite& self) {
6494 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
6495 this_.CheckHasBitConsistency();
6497 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6498 ABSL_DCHECK(this_.GetArena() ==
nullptr);
6499 this_._impl_.~Impl_();
6502inline void* PROTOBUF_NONNULL RoutesConstraintProto::PlacementNew_(
6503 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6504 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6507constexpr auto RoutesConstraintProto::InternalNewImpl_() {
6508 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
6511 InternalGetArenaOffset(
6515 InternalGetArenaOffset(
6519 InternalGetArenaOffset(
6523 InternalGetArenaOffset(
6527 InternalGetArenaOffset(
6530 if (arena_bits.has_value()) {
6531 return ::google::protobuf::internal::MessageCreator::ZeroInit(
6532 sizeof(RoutesConstraintProto), alignof(RoutesConstraintProto), *arena_bits);
6534 return ::google::protobuf::internal::MessageCreator(&RoutesConstraintProto::PlacementNew_,
6535 sizeof(RoutesConstraintProto),
6536 alignof(RoutesConstraintProto));
6540 return ::google::protobuf::internal::ClassDataFull{
6541 ::google::protobuf::internal::ClassData{
6546 &RoutesConstraintProto::MergeImpl,
6547 ::google::protobuf::Message::GetNewImpl<RoutesConstraintProto>(),
6548#if defined(PROTOBUF_CUSTOM_VTABLE)
6549 &RoutesConstraintProto::SharedDtor,
6556 &RoutesConstraintProto::kDescriptorMethods,
6562PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
6566PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
6567RoutesConstraintProto::GetClassData()
const {
6572PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6573const ::_pbi::TcParseTable<3, 6, 1, 0, 2>
6574RoutesConstraintProto::_table_ = {
6579 offsetof(
decltype(_table_), field_lookup_table),
6581 offsetof(
decltype(_table_), field_entries),
6584 offsetof(
decltype(_table_), aux_entries),
6587 ::_pbi::TcParser::GenericFallback,
6588 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6589 ::_pbi::TcParser::GetTable<::operations_research::sat::RoutesConstraintProto>(),
6592 {::_pbi::TcParser::MiniParse, {}},
6594 {::_pbi::TcParser::FastV32P1,
6598 {::_pbi::TcParser::FastV32P1,
6602 {::_pbi::TcParser::FastV32P1,
6606 {::_pbi::TcParser::FastV32P1,
6614 {::_pbi::TcParser::FastMtR1,
6617 {::_pbi::TcParser::MiniParse, {}},
6635 {::_pbi::TcParser::GetTable<::operations_research::sat::RoutesConstraintProto_NodeExpressions>()},
6642 ::google::protobuf::internal::TSanWrite(&
_impl_);
6643 ::uint32_t cached_has_bits = 0;
6645 (void) cached_has_bits;
6647 cached_has_bits =
_impl_._has_bits_[0];
6648 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
6649 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6652 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
6655 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
6656 _impl_.literals_.Clear();
6658 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
6661 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
6662 _impl_.dimensions_.Clear();
6665 _impl_.capacity_ = ::int64_t{0};
6666 _impl_._has_bits_.Clear();
6667 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6670#if defined(PROTOBUF_CUSTOM_VTABLE)
6672 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
6673 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
6677 ::uint8_t* PROTOBUF_NONNULL target,
6678 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
6681 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
6682 this_.CheckHasBitConsistency();
6685 ::uint32_t cached_has_bits = 0;
6686 (void)cached_has_bits;
6688 cached_has_bits = this_._impl_._has_bits_[0];
6690 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6692 int byte_size = this_._impl_._tails_cached_byte_size_.Get();
6693 if (byte_size > 0) {
6694 target = stream->WriteInt32Packed(
6695 1, this_._internal_tails(), byte_size, target);
6701 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
6703 int byte_size = this_._impl_._heads_cached_byte_size_.Get();
6704 if (byte_size > 0) {
6705 target = stream->WriteInt32Packed(
6706 2, this_._internal_heads(), byte_size, target);
6712 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
6714 int byte_size = this_._impl_._literals_cached_byte_size_.Get();
6715 if (byte_size > 0) {
6716 target = stream->WriteInt32Packed(
6717 3, this_._internal_literals(), byte_size, target);
6723 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
6725 int byte_size = this_._impl_._demands_cached_byte_size_.Get();
6726 if (byte_size > 0) {
6727 target = stream->WriteInt32Packed(
6728 4, this_._internal_demands(), byte_size, target);
6734 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
6735 if (this_._internal_capacity() != 0) {
6737 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
6738 stream, this_._internal_capacity(), target);
6743 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
6744 for (
unsigned i = 0, n =
static_cast<unsigned>(
6745 this_._internal_dimensions_size());
6747 const auto& repfield = this_._internal_dimensions().Get(
i);
6749 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6750 6, repfield, repfield.GetCachedSize(),
6755 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6757 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6758 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6764#if defined(PROTOBUF_CUSTOM_VTABLE)
6772 ::size_t total_size = 0;
6774 ::uint32_t cached_has_bits = 0;
6776 (void)cached_has_bits;
6778 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6779 cached_has_bits = this_._impl_._has_bits_[0];
6780 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
6782 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6784 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6785 this_._internal_tails(), 1,
6786 this_._impl_._tails_cached_byte_size_);
6789 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
6791 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6792 this_._internal_heads(), 1,
6793 this_._impl_._heads_cached_byte_size_);
6796 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
6798 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6799 this_._internal_literals(), 1,
6800 this_._impl_._literals_cached_byte_size_);
6803 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
6805 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6806 this_._internal_demands(), 1,
6807 this_._impl_._demands_cached_byte_size_);
6810 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
6811 total_size += 1UL * this_._internal_dimensions_size();
6812 for (
const auto& msg : this_._internal_dimensions()) {
6813 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
6817 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
6818 if (this_._internal_capacity() != 0) {
6819 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
6820 this_._internal_capacity());
6824 return this_.MaybeComputeUnknownFieldsSize(total_size,
6825 &this_._impl_._cached_size_);
6828void RoutesConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
6829 const ::google::protobuf::MessageLite& from_msg) {
6833 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
6834 from.CheckHasBitConsistency();
6838 ABSL_DCHECK_NE(&from, _this);
6839 ::uint32_t cached_has_bits = 0;
6840 (void)cached_has_bits;
6842 cached_has_bits = from.
_impl_._has_bits_[0];
6843 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
6844 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
6845 _this->_internal_mutable_tails()->MergeFrom(from._internal_tails());
6847 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
6848 _this->_internal_mutable_heads()->MergeFrom(from._internal_heads());
6850 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
6851 _this->_internal_mutable_literals()->MergeFrom(from._internal_literals());
6853 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
6854 _this->_internal_mutable_demands()->MergeFrom(from._internal_demands());
6856 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
6857 _this->_internal_mutable_dimensions()->InternalMergeFromWithArena(
6858 ::google::protobuf::MessageLite::internal_visibility(), arena,
6859 from._internal_dimensions());
6861 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
6862 if (from._internal_capacity() != 0) {
6867 _this->
_impl_._has_bits_[0] |= cached_has_bits;
6868 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6869 from._internal_metadata_);
6874 if (&from ==
this)
return;
6880void RoutesConstraintProto::InternalSwap(
RoutesConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
6882 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6883 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6884 _impl_.tails_.InternalSwap(&other->_impl_.tails_);
6885 _impl_.heads_.InternalSwap(&other->_impl_.heads_);
6886 _impl_.literals_.InternalSwap(&other->_impl_.literals_);
6887 _impl_.demands_.InternalSwap(&other->_impl_.demands_);
6888 _impl_.dimensions_.InternalSwap(&other->_impl_.dimensions_);
6889 swap(
_impl_.capacity_, other->_impl_.capacity_);
6893 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
6897class TableConstraintProto::_Internal {
6900 decltype(::std::declval<TableConstraintProto>()._impl_._has_bits_);
6901 static constexpr ::int32_t kHasBitsOffset =
6902 8 * PROTOBUF_FIELD_OFFSET(TableConstraintProto, _impl_._has_bits_);
6906#if defined(PROTOBUF_CUSTOM_VTABLE)
6909 : ::google::protobuf::Message(arena) {
6914PROTOBUF_NDEBUG_INLINE TableConstraintProto::Impl_::Impl_(
6915 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
6916 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
6917 [[maybe_unused]] const ::operations_research::sat::TableConstraintProto& from_msg)
6918 : _has_bits_{from._has_bits_},
6920 vars_{visibility, arena, from.vars_},
6921 _vars_cached_byte_size_{0},
6922 values_{visibility, arena, from.values_},
6923 _values_cached_byte_size_{0},
6924 exprs_{visibility, arena, from.exprs_} {}
6927 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
6929#if defined(PROTOBUF_CUSTOM_VTABLE)
6932 : ::google::protobuf::Message(arena) {
6936 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6937 from._internal_metadata_);
6938 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
6943PROTOBUF_NDEBUG_INLINE TableConstraintProto::Impl_::Impl_(
6944 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
6945 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6947 vars_{visibility, arena},
6948 _vars_cached_byte_size_{0},
6949 values_{visibility, arena},
6950 _values_cached_byte_size_{0},
6951 exprs_{visibility, arena} {}
6953inline void TableConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
6954 new (&
_impl_) Impl_(internal_visibility(), arena);
6961inline void TableConstraintProto::SharedDtor(
MessageLite& self) {
6963 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
6964 this_.CheckHasBitConsistency();
6966 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6967 ABSL_DCHECK(this_.GetArena() ==
nullptr);
6968 this_._impl_.~Impl_();
6971inline void* PROTOBUF_NONNULL TableConstraintProto::PlacementNew_(
6972 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6973 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6976constexpr auto TableConstraintProto::InternalNewImpl_() {
6977 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
6980 InternalGetArenaOffset(
6984 InternalGetArenaOffset(
6988 InternalGetArenaOffset(
6991 if (arena_bits.has_value()) {
6992 return ::google::protobuf::internal::MessageCreator::ZeroInit(
6993 sizeof(TableConstraintProto), alignof(TableConstraintProto), *arena_bits);
6995 return ::google::protobuf::internal::MessageCreator(&TableConstraintProto::PlacementNew_,
6996 sizeof(TableConstraintProto),
6997 alignof(TableConstraintProto));
7001 return ::google::protobuf::internal::ClassDataFull{
7002 ::google::protobuf::internal::ClassData{
7007 &TableConstraintProto::MergeImpl,
7008 ::google::protobuf::Message::GetNewImpl<TableConstraintProto>(),
7009#if defined(PROTOBUF_CUSTOM_VTABLE)
7010 &TableConstraintProto::SharedDtor,
7017 &TableConstraintProto::kDescriptorMethods,
7023PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
7027PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
7028TableConstraintProto::GetClassData()
const {
7033PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7034const ::_pbi::TcParseTable<2, 4, 1, 0, 2>
7035TableConstraintProto::_table_ = {
7040 offsetof(
decltype(_table_), field_lookup_table),
7042 offsetof(
decltype(_table_), field_entries),
7045 offsetof(
decltype(_table_), aux_entries),
7048 ::_pbi::TcParser::GenericFallback,
7049 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7050 ::_pbi::TcParser::GetTable<::operations_research::sat::TableConstraintProto>(),
7054 {::_pbi::TcParser::FastMtR1,
7058 {::_pbi::TcParser::FastV32P1,
7062 {::_pbi::TcParser::FastV64P1,
7082 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
7089 ::google::protobuf::internal::TSanWrite(&
_impl_);
7090 ::uint32_t cached_has_bits = 0;
7092 (void) cached_has_bits;
7094 cached_has_bits =
_impl_._has_bits_[0];
7095 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
7096 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7099 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7102 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
7107 _impl_._has_bits_.Clear();
7108 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7111#if defined(PROTOBUF_CUSTOM_VTABLE)
7113 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
7114 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
7118 ::uint8_t* PROTOBUF_NONNULL target,
7119 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
7122 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
7123 this_.CheckHasBitConsistency();
7126 ::uint32_t cached_has_bits = 0;
7127 (void)cached_has_bits;
7129 cached_has_bits = this_._impl_._has_bits_[0];
7131 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7133 int byte_size = this_._impl_._vars_cached_byte_size_.Get();
7134 if (byte_size > 0) {
7135 target = stream->WriteInt32Packed(
7136 1, this_._internal_vars(), byte_size, target);
7142 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7144 int byte_size = this_._impl_._values_cached_byte_size_.Get();
7145 if (byte_size > 0) {
7146 target = stream->WriteInt64Packed(
7147 2, this_._internal_values(), byte_size, target);
7153 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
7154 if (this_._internal_negated() != 0) {
7155 target = stream->EnsureSpace(target);
7156 target = ::_pbi::WireFormatLite::WriteBoolToArray(
7157 3, this_._internal_negated(), target);
7162 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
7163 for (
unsigned i = 0, n =
static_cast<unsigned>(
7164 this_._internal_exprs_size());
7166 const auto& repfield = this_._internal_exprs().Get(
i);
7168 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7169 4, repfield, repfield.GetCachedSize(),
7174 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7176 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7177 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7183#if defined(PROTOBUF_CUSTOM_VTABLE)
7191 ::size_t total_size = 0;
7193 ::uint32_t cached_has_bits = 0;
7195 (void)cached_has_bits;
7197 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7198 cached_has_bits = this_._impl_._has_bits_[0];
7199 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
7201 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7203 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
7204 this_._internal_vars(), 1,
7205 this_._impl_._vars_cached_byte_size_);
7208 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7210 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
7211 this_._internal_values(), 1,
7212 this_._impl_._values_cached_byte_size_);
7215 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
7216 total_size += 1UL * this_._internal_exprs_size();
7217 for (
const auto& msg : this_._internal_exprs()) {
7218 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
7222 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
7223 if (this_._internal_negated() != 0) {
7228 return this_.MaybeComputeUnknownFieldsSize(total_size,
7229 &this_._impl_._cached_size_);
7232void TableConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
7233 const ::google::protobuf::MessageLite& from_msg) {
7237 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
7238 from.CheckHasBitConsistency();
7242 ABSL_DCHECK_NE(&from, _this);
7243 ::uint32_t cached_has_bits = 0;
7244 (void)cached_has_bits;
7246 cached_has_bits = from.
_impl_._has_bits_[0];
7247 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
7248 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7249 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
7251 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7252 _this->_internal_mutable_values()->MergeFrom(from._internal_values());
7254 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
7255 _this->_internal_mutable_exprs()->InternalMergeFromWithArena(
7256 ::google::protobuf::MessageLite::internal_visibility(), arena,
7257 from._internal_exprs());
7259 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
7260 if (from._internal_negated() != 0) {
7265 _this->
_impl_._has_bits_[0] |= cached_has_bits;
7266 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
7267 from._internal_metadata_);
7272 if (&from ==
this)
return;
7278void TableConstraintProto::InternalSwap(
TableConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
7280 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7281 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7282 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
7283 _impl_.values_.InternalSwap(&other->_impl_.values_);
7284 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
7285 swap(
_impl_.negated_, other->_impl_.negated_);
7289 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
7293class InverseConstraintProto::_Internal {
7296 decltype(::std::declval<InverseConstraintProto>()._impl_._has_bits_);
7297 static constexpr ::int32_t kHasBitsOffset =
7298 8 * PROTOBUF_FIELD_OFFSET(InverseConstraintProto, _impl_._has_bits_);
7302#if defined(PROTOBUF_CUSTOM_VTABLE)
7305 : ::google::protobuf::Message(arena) {
7310PROTOBUF_NDEBUG_INLINE InverseConstraintProto::Impl_::Impl_(
7311 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
7312 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
7313 [[maybe_unused]] const ::operations_research::sat::InverseConstraintProto& from_msg)
7314 : _has_bits_{from._has_bits_},
7316 f_direct_{visibility, arena, from.f_direct_},
7317 _f_direct_cached_byte_size_{0},
7318 f_inverse_{visibility, arena, from.f_inverse_},
7319 _f_inverse_cached_byte_size_{0} {}
7322 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
7324#if defined(PROTOBUF_CUSTOM_VTABLE)
7327 : ::google::protobuf::Message(arena) {
7331 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
7332 from._internal_metadata_);
7333 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
7337PROTOBUF_NDEBUG_INLINE InverseConstraintProto::Impl_::Impl_(
7338 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
7339 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
7341 f_direct_{visibility, arena},
7342 _f_direct_cached_byte_size_{0},
7343 f_inverse_{visibility, arena},
7344 _f_inverse_cached_byte_size_{0} {}
7346inline void InverseConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
7347 new (&
_impl_) Impl_(internal_visibility(), arena);
7353inline void InverseConstraintProto::SharedDtor(
MessageLite& self) {
7355 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
7356 this_.CheckHasBitConsistency();
7358 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7359 ABSL_DCHECK(this_.GetArena() ==
nullptr);
7360 this_._impl_.~Impl_();
7363inline void* PROTOBUF_NONNULL InverseConstraintProto::PlacementNew_(
7364 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
7365 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
7368constexpr auto InverseConstraintProto::InternalNewImpl_() {
7369 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
7372 InternalGetArenaOffset(
7376 InternalGetArenaOffset(
7379 if (arena_bits.has_value()) {
7380 return ::google::protobuf::internal::MessageCreator::ZeroInit(
7381 sizeof(InverseConstraintProto), alignof(InverseConstraintProto), *arena_bits);
7383 return ::google::protobuf::internal::MessageCreator(&InverseConstraintProto::PlacementNew_,
7384 sizeof(InverseConstraintProto),
7385 alignof(InverseConstraintProto));
7389 return ::google::protobuf::internal::ClassDataFull{
7390 ::google::protobuf::internal::ClassData{
7395 &InverseConstraintProto::MergeImpl,
7396 ::google::protobuf::Message::GetNewImpl<InverseConstraintProto>(),
7397#if defined(PROTOBUF_CUSTOM_VTABLE)
7398 &InverseConstraintProto::SharedDtor,
7405 &InverseConstraintProto::kDescriptorMethods,
7411PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
7415PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
7416InverseConstraintProto::GetClassData()
const {
7421PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7422const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
7423InverseConstraintProto::_table_ = {
7428 offsetof(
decltype(_table_), field_lookup_table),
7430 offsetof(
decltype(_table_), field_entries),
7433 offsetof(
decltype(_table_), field_names),
7436 ::_pbi::TcParser::GenericFallback,
7437 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7438 ::_pbi::TcParser::GetTable<::operations_research::sat::InverseConstraintProto>(),
7442 {::_pbi::TcParser::FastV32P1,
7446 {::_pbi::TcParser::FastV32P1,
7463 ::google::protobuf::internal::TSanWrite(&
_impl_);
7464 ::uint32_t cached_has_bits = 0;
7466 (void) cached_has_bits;
7468 cached_has_bits =
_impl_._has_bits_[0];
7469 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
7470 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7471 _impl_.f_direct_.Clear();
7473 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7474 _impl_.f_inverse_.Clear();
7477 _impl_._has_bits_.Clear();
7478 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7481#if defined(PROTOBUF_CUSTOM_VTABLE)
7483 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
7484 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
7488 ::uint8_t* PROTOBUF_NONNULL target,
7489 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
7492 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
7493 this_.CheckHasBitConsistency();
7496 ::uint32_t cached_has_bits = 0;
7497 (void)cached_has_bits;
7499 cached_has_bits = this_.
_impl_._has_bits_[0];
7501 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7503 int byte_size = this_.
_impl_._f_direct_cached_byte_size_.Get();
7504 if (byte_size > 0) {
7505 target = stream->WriteInt32Packed(
7506 1, this_._internal_f_direct(), byte_size, target);
7512 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7514 int byte_size = this_.
_impl_._f_inverse_cached_byte_size_.Get();
7515 if (byte_size > 0) {
7516 target = stream->WriteInt32Packed(
7517 2, this_._internal_f_inverse(), byte_size, target);
7522 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7524 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7525 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7531#if defined(PROTOBUF_CUSTOM_VTABLE)
7539 ::size_t total_size = 0;
7541 ::uint32_t cached_has_bits = 0;
7543 (void)cached_has_bits;
7545 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7546 cached_has_bits = this_._impl_._has_bits_[0];
7547 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
7549 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7551 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
7552 this_._internal_f_direct(), 1,
7553 this_._impl_._f_direct_cached_byte_size_);
7556 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7558 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
7559 this_._internal_f_inverse(), 1,
7560 this_._impl_._f_inverse_cached_byte_size_);
7563 return this_.MaybeComputeUnknownFieldsSize(total_size,
7564 &this_._impl_._cached_size_);
7567void InverseConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
7568 const ::google::protobuf::MessageLite& from_msg) {
7572 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
7573 from.CheckHasBitConsistency();
7576 ABSL_DCHECK_NE(&from, _this);
7577 ::uint32_t cached_has_bits = 0;
7578 (void)cached_has_bits;
7580 cached_has_bits = from.
_impl_._has_bits_[0];
7581 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
7582 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7583 _this->_internal_mutable_f_direct()->MergeFrom(from._internal_f_direct());
7585 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7586 _this->_internal_mutable_f_inverse()->MergeFrom(from._internal_f_inverse());
7589 _this->
_impl_._has_bits_[0] |= cached_has_bits;
7590 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
7591 from._internal_metadata_);
7596 if (&from ==
this)
return;
7602void InverseConstraintProto::InternalSwap(
InverseConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
7604 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7605 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7606 _impl_.f_direct_.InternalSwap(&other->_impl_.f_direct_);
7607 _impl_.f_inverse_.InternalSwap(&other->_impl_.f_inverse_);
7611 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
7618 decltype(::std::declval<AutomatonConstraintProto>()._impl_._has_bits_);
7619 static constexpr ::int32_t kHasBitsOffset =
7624#if defined(PROTOBUF_CUSTOM_VTABLE)
7627 : ::google::protobuf::Message(arena) {
7632PROTOBUF_NDEBUG_INLINE AutomatonConstraintProto::Impl_::Impl_(
7633 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
7634 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
7635 [[maybe_unused]] const ::operations_research::sat::AutomatonConstraintProto& from_msg)
7636 : _has_bits_{from._has_bits_},
7638 final_states_{visibility, arena, from.final_states_},
7639 _final_states_cached_byte_size_{0},
7640 transition_tail_{visibility, arena, from.transition_tail_},
7641 _transition_tail_cached_byte_size_{0},
7642 transition_head_{visibility, arena, from.transition_head_},
7643 _transition_head_cached_byte_size_{0},
7644 transition_label_{visibility, arena, from.transition_label_},
7645 _transition_label_cached_byte_size_{0},
7646 vars_{visibility, arena, from.vars_},
7647 _vars_cached_byte_size_{0},
7648 exprs_{visibility, arena, from.exprs_} {}
7651 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
7653#if defined(PROTOBUF_CUSTOM_VTABLE)
7656 : ::google::protobuf::Message(arena) {
7660 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
7661 from._internal_metadata_);
7662 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
7667PROTOBUF_NDEBUG_INLINE AutomatonConstraintProto::Impl_::Impl_(
7668 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
7669 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
7671 final_states_{visibility, arena},
7672 _final_states_cached_byte_size_{0},
7673 transition_tail_{visibility, arena},
7674 _transition_tail_cached_byte_size_{0},
7675 transition_head_{visibility, arena},
7676 _transition_head_cached_byte_size_{0},
7677 transition_label_{visibility, arena},
7678 _transition_label_cached_byte_size_{0},
7679 vars_{visibility, arena},
7680 _vars_cached_byte_size_{0},
7681 exprs_{visibility, arena} {}
7683inline void AutomatonConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
7684 new (&
_impl_) Impl_(internal_visibility(), arena);
7685 _impl_.starting_state_ = {};
7691inline void AutomatonConstraintProto::SharedDtor(
MessageLite& self) {
7693 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
7694 this_.CheckHasBitConsistency();
7696 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7697 ABSL_DCHECK(this_.GetArena() ==
nullptr);
7698 this_._impl_.~Impl_();
7701inline void* PROTOBUF_NONNULL AutomatonConstraintProto::PlacementNew_(
7702 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
7703 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
7706constexpr auto AutomatonConstraintProto::InternalNewImpl_() {
7707 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
7710 InternalGetArenaOffset(
7711 ::google::protobuf::Message::internal_visibility()),
7714 InternalGetArenaOffset(
7715 ::google::protobuf::Message::internal_visibility()),
7718 InternalGetArenaOffset(
7719 ::google::protobuf::Message::internal_visibility()),
7722 InternalGetArenaOffset(
7723 ::google::protobuf::Message::internal_visibility()),
7726 InternalGetArenaOffset(
7727 ::google::protobuf::Message::internal_visibility()),
7730 InternalGetArenaOffset(
7731 ::google::protobuf::Message::internal_visibility()),
7733 if (arena_bits.has_value()) {
7734 return ::google::protobuf::internal::MessageCreator::ZeroInit(
7737 return ::google::protobuf::internal::MessageCreator(&AutomatonConstraintProto::PlacementNew_,
7743 return ::google::protobuf::internal::ClassDataFull{
7744 ::google::protobuf::internal::ClassData{
7749 &AutomatonConstraintProto::MergeImpl,
7750 ::google::protobuf::Message::GetNewImpl<AutomatonConstraintProto>(),
7751#if defined(PROTOBUF_CUSTOM_VTABLE)
7752 &AutomatonConstraintProto::SharedDtor,
7759 &AutomatonConstraintProto::kDescriptorMethods,
7765PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
7769PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
7770AutomatonConstraintProto::GetClassData()
const {
7775PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7776const ::_pbi::TcParseTable<3, 7, 1, 0, 2>
7777AutomatonConstraintProto::_table_ = {
7782 offsetof(
decltype(_table_), field_lookup_table),
7784 offsetof(
decltype(_table_), field_entries),
7787 offsetof(
decltype(_table_), aux_entries),
7790 ::_pbi::TcParser::GenericFallback,
7791 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7792 ::_pbi::TcParser::GetTable<::operations_research::sat::AutomatonConstraintProto>(),
7796 {::_pbi::TcParser::FastMtR1,
7799 {::_pbi::TcParser::MiniParse, {}},
7805 {::_pbi::TcParser::FastV64P1,
7809 {::_pbi::TcParser::FastV64P1,
7813 {::_pbi::TcParser::FastV64P1,
7817 {::_pbi::TcParser::FastV64P1,
7821 {::_pbi::TcParser::FastV32P1,
7843 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
7850 ::google::protobuf::internal::TSanWrite(&
_impl_);
7851 ::uint32_t cached_has_bits = 0;
7853 (void) cached_has_bits;
7855 cached_has_bits =
_impl_._has_bits_[0];
7856 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
7857 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7858 _impl_.final_states_.Clear();
7860 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7861 _impl_.transition_tail_.Clear();
7863 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
7864 _impl_.transition_head_.Clear();
7866 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
7867 _impl_.transition_label_.Clear();
7869 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
7872 if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
7876 _impl_.starting_state_ = ::int64_t{0};
7877 _impl_._has_bits_.Clear();
7878 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7881#if defined(PROTOBUF_CUSTOM_VTABLE)
7883 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
7884 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
7888 ::uint8_t* PROTOBUF_NONNULL target,
7889 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
7892 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
7893 this_.CheckHasBitConsistency();
7896 ::uint32_t cached_has_bits = 0;
7897 (void)cached_has_bits;
7899 cached_has_bits = this_._impl_._has_bits_[0];
7901 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
7902 if (this_._internal_starting_state() != 0) {
7904 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
7905 stream, this_._internal_starting_state(), target);
7910 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
7912 int byte_size = this_._impl_._final_states_cached_byte_size_.Get();
7913 if (byte_size > 0) {
7914 target = stream->WriteInt64Packed(
7915 3, this_._internal_final_states(), byte_size, target);
7921 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
7923 int byte_size = this_._impl_._transition_tail_cached_byte_size_.Get();
7924 if (byte_size > 0) {
7925 target = stream->WriteInt64Packed(
7926 4, this_._internal_transition_tail(), byte_size, target);
7932 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
7934 int byte_size = this_._impl_._transition_head_cached_byte_size_.Get();
7935 if (byte_size > 0) {
7936 target = stream->WriteInt64Packed(
7937 5, this_._internal_transition_head(), byte_size, target);
7943 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
7945 int byte_size = this_._impl_._transition_label_cached_byte_size_.Get();
7946 if (byte_size > 0) {
7947 target = stream->WriteInt64Packed(
7948 6, this_._internal_transition_label(), byte_size, target);
7954 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
7956 int byte_size = this_._impl_._vars_cached_byte_size_.Get();
7957 if (byte_size > 0) {
7958 target = stream->WriteInt32Packed(
7959 7, this_._internal_vars(), byte_size, target);
7965 if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
7966 for (
unsigned i = 0, n =
static_cast<unsigned>(
7967 this_._internal_exprs_size());
7969 const auto& repfield = this_._internal_exprs().Get(
i);
7971 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7972 8, repfield, repfield.GetCachedSize(),
7977 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7979 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7980 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7986#if defined(PROTOBUF_CUSTOM_VTABLE)
7994 ::size_t total_size = 0;
7996 ::uint32_t cached_has_bits = 0;
7998 (void)cached_has_bits;
8000 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
8001 cached_has_bits = this_._impl_._has_bits_[0];
8002 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
8004 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
8006 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
8007 this_._internal_final_states(), 1,
8008 this_._impl_._final_states_cached_byte_size_);
8011 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
8013 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
8014 this_._internal_transition_tail(), 1,
8015 this_._impl_._transition_tail_cached_byte_size_);
8018 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
8020 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
8021 this_._internal_transition_head(), 1,
8022 this_._impl_._transition_head_cached_byte_size_);
8025 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
8027 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
8028 this_._internal_transition_label(), 1,
8029 this_._impl_._transition_label_cached_byte_size_);
8032 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
8034 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
8035 this_._internal_vars(), 1,
8036 this_._impl_._vars_cached_byte_size_);
8039 if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
8040 total_size += 1UL * this_._internal_exprs_size();
8041 for (
const auto& msg : this_._internal_exprs()) {
8042 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
8046 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
8047 if (this_._internal_starting_state() != 0) {
8048 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
8049 this_._internal_starting_state());
8053 return this_.MaybeComputeUnknownFieldsSize(total_size,
8054 &this_._impl_._cached_size_);
8057void AutomatonConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
8058 const ::google::protobuf::MessageLite& from_msg) {
8062 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
8063 from.CheckHasBitConsistency();
8067 ABSL_DCHECK_NE(&from, _this);
8068 ::uint32_t cached_has_bits = 0;
8069 (void)cached_has_bits;
8071 cached_has_bits = from.
_impl_._has_bits_[0];
8072 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
8073 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
8074 _this->_internal_mutable_final_states()->MergeFrom(from._internal_final_states());
8076 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
8077 _this->_internal_mutable_transition_tail()->MergeFrom(from._internal_transition_tail());
8079 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
8080 _this->_internal_mutable_transition_head()->MergeFrom(from._internal_transition_head());
8082 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
8083 _this->_internal_mutable_transition_label()->MergeFrom(from._internal_transition_label());
8085 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
8086 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
8088 if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
8089 _this->_internal_mutable_exprs()->InternalMergeFromWithArena(
8090 ::google::protobuf::MessageLite::internal_visibility(), arena,
8091 from._internal_exprs());
8093 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
8094 if (from._internal_starting_state() != 0) {
8095 _this->
_impl_.starting_state_ = from.
_impl_.starting_state_;
8099 _this->
_impl_._has_bits_[0] |= cached_has_bits;
8100 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
8101 from._internal_metadata_);
8106 if (&from ==
this)
return;
8114 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8115 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8116 _impl_.final_states_.InternalSwap(&other->_impl_.final_states_);
8117 _impl_.transition_tail_.InternalSwap(&other->_impl_.transition_tail_);
8118 _impl_.transition_head_.InternalSwap(&other->_impl_.transition_head_);
8119 _impl_.transition_label_.InternalSwap(&other->_impl_.transition_label_);
8120 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
8121 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
8126 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
8130class ListOfVariablesProto::_Internal {
8133 decltype(::std::declval<ListOfVariablesProto>()._impl_._has_bits_);
8134 static constexpr ::int32_t kHasBitsOffset =
8135 8 * PROTOBUF_FIELD_OFFSET(ListOfVariablesProto, _impl_._has_bits_);
8139#if defined(PROTOBUF_CUSTOM_VTABLE)
8142 : ::google::protobuf::Message(arena) {
8147PROTOBUF_NDEBUG_INLINE ListOfVariablesProto::Impl_::Impl_(
8148 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
8149 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
8150 [[maybe_unused]] const ::operations_research::sat::ListOfVariablesProto& from_msg)
8151 : _has_bits_{from._has_bits_},
8153 vars_{visibility, arena, from.vars_},
8154 _vars_cached_byte_size_{0} {}
8157 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
8159#if defined(PROTOBUF_CUSTOM_VTABLE)
8162 : ::google::protobuf::Message(arena) {
8166 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
8167 from._internal_metadata_);
8168 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
8172PROTOBUF_NDEBUG_INLINE ListOfVariablesProto::Impl_::Impl_(
8173 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
8174 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
8176 vars_{visibility, arena},
8177 _vars_cached_byte_size_{0} {}
8179inline void ListOfVariablesProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
8180 new (&
_impl_) Impl_(internal_visibility(), arena);
8186inline void ListOfVariablesProto::SharedDtor(
MessageLite& self) {
8188 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
8189 this_.CheckHasBitConsistency();
8191 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8192 ABSL_DCHECK(this_.GetArena() ==
nullptr);
8193 this_._impl_.~Impl_();
8196inline void* PROTOBUF_NONNULL ListOfVariablesProto::PlacementNew_(
8197 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
8198 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
8201constexpr auto ListOfVariablesProto::InternalNewImpl_() {
8202 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
8205 InternalGetArenaOffset(
8206 ::google::protobuf::Message::internal_visibility()),
8208 if (arena_bits.has_value()) {
8209 return ::google::protobuf::internal::MessageCreator::ZeroInit(
8212 return ::google::protobuf::internal::MessageCreator(&ListOfVariablesProto::PlacementNew_,
8218 return ::google::protobuf::internal::ClassDataFull{
8219 ::google::protobuf::internal::ClassData{
8224 &ListOfVariablesProto::MergeImpl,
8225 ::google::protobuf::Message::GetNewImpl<ListOfVariablesProto>(),
8226#if defined(PROTOBUF_CUSTOM_VTABLE)
8227 &ListOfVariablesProto::SharedDtor,
8234 &ListOfVariablesProto::kDescriptorMethods,
8240PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
8244PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
8245ListOfVariablesProto::GetClassData()
const {
8250PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8251const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
8252ListOfVariablesProto::_table_ = {
8257 offsetof(
decltype(_table_), field_lookup_table),
8259 offsetof(
decltype(_table_), field_entries),
8262 offsetof(
decltype(_table_), field_names),
8265 ::_pbi::TcParser::GenericFallback,
8266 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
8267 ::_pbi::TcParser::GetTable<::operations_research::sat::ListOfVariablesProto>(),
8271 {::_pbi::TcParser::FastV32P1,
8286 ::google::protobuf::internal::TSanWrite(&
_impl_);
8287 ::uint32_t cached_has_bits = 0;
8289 (void) cached_has_bits;
8291 cached_has_bits =
_impl_._has_bits_[0];
8292 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
8295 _impl_._has_bits_.Clear();
8296 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8299#if defined(PROTOBUF_CUSTOM_VTABLE)
8301 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
8302 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
8306 ::uint8_t* PROTOBUF_NONNULL target,
8307 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
8310 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
8311 this_.CheckHasBitConsistency();
8314 ::uint32_t cached_has_bits = 0;
8315 (void)cached_has_bits;
8317 cached_has_bits = this_.
_impl_._has_bits_[0];
8319 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
8321 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
8322 if (byte_size > 0) {
8323 target = stream->WriteInt32Packed(
8324 1, this_._internal_vars(), byte_size, target);
8329 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
8331 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8332 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8338#if defined(PROTOBUF_CUSTOM_VTABLE)
8346 ::size_t total_size = 0;
8348 ::uint32_t cached_has_bits = 0;
8350 (void)cached_has_bits;
8352 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
8355 cached_has_bits = this_._impl_._has_bits_[0];
8356 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
8358 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
8359 this_._internal_vars(), 1,
8360 this_._impl_._vars_cached_byte_size_);
8363 return this_.MaybeComputeUnknownFieldsSize(total_size,
8364 &this_._impl_._cached_size_);
8367void ListOfVariablesProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
8368 const ::google::protobuf::MessageLite& from_msg) {
8372 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
8373 from.CheckHasBitConsistency();
8376 ABSL_DCHECK_NE(&from, _this);
8377 ::uint32_t cached_has_bits = 0;
8378 (void)cached_has_bits;
8380 cached_has_bits = from.
_impl_._has_bits_[0];
8381 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
8382 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
8384 _this->
_impl_._has_bits_[0] |= cached_has_bits;
8385 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
8386 from._internal_metadata_);
8391 if (&from ==
this)
return;
8397void ListOfVariablesProto::InternalSwap(
ListOfVariablesProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
8399 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8400 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8401 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
8405 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
8412 decltype(::std::declval<ConstraintProto>()._impl_._has_bits_);
8413 static constexpr ::int32_t kHasBitsOffset =
8415 static constexpr ::int32_t kOneofCaseOffset =
8420 ::google::protobuf::Arena* message_arena = GetArena();
8424 if (message_arena != submessage_arena) {
8425 bool_or = ::google::protobuf::internal::GetOwnedMessage(message_arena, bool_or, submessage_arena);
8428 _impl_.constraint_.bool_or_ = bool_or;
8433 ::google::protobuf::Arena* message_arena = GetArena();
8436 ::google::protobuf::Arena* submessage_arena =
bool_and->GetArena();
8437 if (message_arena != submessage_arena) {
8438 bool_and = ::google::protobuf::internal::GetOwnedMessage(message_arena,
bool_and, submessage_arena);
8441 _impl_.constraint_.bool_and_ = bool_and;
8446 ::google::protobuf::Arena* message_arena = GetArena();
8449 ::google::protobuf::Arena* submessage_arena = at_most_one->GetArena();
8450 if (message_arena != submessage_arena) {
8451 at_most_one = ::google::protobuf::internal::GetOwnedMessage(message_arena, at_most_one, submessage_arena);
8453 set_has_at_most_one();
8454 _impl_.constraint_.at_most_one_ = at_most_one;
8459 ::google::protobuf::Arena* message_arena = GetArena();
8462 ::google::protobuf::Arena* submessage_arena = exactly_one->GetArena();
8463 if (message_arena != submessage_arena) {
8464 exactly_one = ::google::protobuf::internal::GetOwnedMessage(message_arena, exactly_one, submessage_arena);
8466 set_has_exactly_one();
8467 _impl_.constraint_.exactly_one_ = exactly_one;
8472 ::google::protobuf::Arena* message_arena = GetArena();
8475 ::google::protobuf::Arena* submessage_arena = bool_xor->GetArena();
8476 if (message_arena != submessage_arena) {
8477 bool_xor = ::google::protobuf::internal::GetOwnedMessage(message_arena, bool_xor, submessage_arena);
8480 _impl_.constraint_.bool_xor_ = bool_xor;
8485 ::google::protobuf::Arena* message_arena = GetArena();
8488 ::google::protobuf::Arena* submessage_arena = int_div->GetArena();
8489 if (message_arena != submessage_arena) {
8490 int_div = ::google::protobuf::internal::GetOwnedMessage(message_arena, int_div, submessage_arena);
8493 _impl_.constraint_.int_div_ = int_div;
8498 ::google::protobuf::Arena* message_arena = GetArena();
8501 ::google::protobuf::Arena* submessage_arena = int_mod->GetArena();
8502 if (message_arena != submessage_arena) {
8503 int_mod = ::google::protobuf::internal::GetOwnedMessage(message_arena, int_mod, submessage_arena);
8506 _impl_.constraint_.int_mod_ = int_mod;
8511 ::google::protobuf::Arena* message_arena = GetArena();
8514 ::google::protobuf::Arena* submessage_arena = int_prod->GetArena();
8515 if (message_arena != submessage_arena) {
8516 int_prod = ::google::protobuf::internal::GetOwnedMessage(message_arena, int_prod, submessage_arena);
8519 _impl_.constraint_.int_prod_ = int_prod;
8524 ::google::protobuf::Arena* message_arena = GetArena();
8527 ::google::protobuf::Arena* submessage_arena = lin_max->GetArena();
8528 if (message_arena != submessage_arena) {
8529 lin_max = ::google::protobuf::internal::GetOwnedMessage(message_arena, lin_max, submessage_arena);
8532 _impl_.constraint_.lin_max_ = lin_max;
8537 ::google::protobuf::Arena* message_arena = GetArena();
8540 ::google::protobuf::Arena* submessage_arena = linear->GetArena();
8541 if (message_arena != submessage_arena) {
8542 linear = ::google::protobuf::internal::GetOwnedMessage(message_arena, linear, submessage_arena);
8545 _impl_.constraint_.linear_ = linear;
8550 ::google::protobuf::Arena* message_arena = GetArena();
8553 ::google::protobuf::Arena* submessage_arena = all_diff->GetArena();
8554 if (message_arena != submessage_arena) {
8555 all_diff = ::google::protobuf::internal::GetOwnedMessage(message_arena, all_diff, submessage_arena);
8558 _impl_.constraint_.all_diff_ = all_diff;
8563 ::google::protobuf::Arena* message_arena = GetArena();
8566 ::google::protobuf::Arena* submessage_arena = element->GetArena();
8567 if (message_arena != submessage_arena) {
8568 element = ::google::protobuf::internal::GetOwnedMessage(message_arena, element, submessage_arena);
8571 _impl_.constraint_.element_ = element;
8576 ::google::protobuf::Arena* message_arena = GetArena();
8579 ::google::protobuf::Arena* submessage_arena = circuit->GetArena();
8580 if (message_arena != submessage_arena) {
8581 circuit = ::google::protobuf::internal::GetOwnedMessage(message_arena, circuit, submessage_arena);
8584 _impl_.constraint_.circuit_ = circuit;
8589 ::google::protobuf::Arena* message_arena = GetArena();
8592 ::google::protobuf::Arena* submessage_arena = routes->GetArena();
8593 if (message_arena != submessage_arena) {
8594 routes = ::google::protobuf::internal::GetOwnedMessage(message_arena, routes, submessage_arena);
8597 _impl_.constraint_.routes_ = routes;
8602 ::google::protobuf::Arena* message_arena = GetArena();
8605 ::google::protobuf::Arena* submessage_arena = table->GetArena();
8606 if (message_arena != submessage_arena) {
8607 table = ::google::protobuf::internal::GetOwnedMessage(message_arena, table, submessage_arena);
8610 _impl_.constraint_.table_ = table;
8615 ::google::protobuf::Arena* message_arena = GetArena();
8618 ::google::protobuf::Arena* submessage_arena = automaton->GetArena();
8619 if (message_arena != submessage_arena) {
8620 automaton = ::google::protobuf::internal::GetOwnedMessage(message_arena, automaton, submessage_arena);
8622 set_has_automaton();
8623 _impl_.constraint_.automaton_ = automaton;
8628 ::google::protobuf::Arena* message_arena = GetArena();
8631 ::google::protobuf::Arena* submessage_arena = inverse->GetArena();
8632 if (message_arena != submessage_arena) {
8633 inverse = ::google::protobuf::internal::GetOwnedMessage(message_arena, inverse, submessage_arena);
8636 _impl_.constraint_.inverse_ = inverse;
8641 ::google::protobuf::Arena* message_arena = GetArena();
8644 ::google::protobuf::Arena* submessage_arena = reservoir->GetArena();
8645 if (message_arena != submessage_arena) {
8646 reservoir = ::google::protobuf::internal::GetOwnedMessage(message_arena, reservoir, submessage_arena);
8648 set_has_reservoir();
8649 _impl_.constraint_.reservoir_ = reservoir;
8654 ::google::protobuf::Arena* message_arena = GetArena();
8657 ::google::protobuf::Arena* submessage_arena = interval->GetArena();
8658 if (message_arena != submessage_arena) {
8659 interval = ::google::protobuf::internal::GetOwnedMessage(message_arena, interval, submessage_arena);
8662 _impl_.constraint_.interval_ = interval;
8667 ::google::protobuf::Arena* message_arena = GetArena();
8670 ::google::protobuf::Arena* submessage_arena = no_overlap->GetArena();
8671 if (message_arena != submessage_arena) {
8672 no_overlap = ::google::protobuf::internal::GetOwnedMessage(message_arena, no_overlap, submessage_arena);
8674 set_has_no_overlap();
8675 _impl_.constraint_.no_overlap_ = no_overlap;
8680 ::google::protobuf::Arena* message_arena = GetArena();
8682 if (no_overlap_2d) {
8683 ::google::protobuf::Arena* submessage_arena = no_overlap_2d->GetArena();
8684 if (message_arena != submessage_arena) {
8685 no_overlap_2d = ::google::protobuf::internal::GetOwnedMessage(message_arena, no_overlap_2d, submessage_arena);
8687 set_has_no_overlap_2d();
8688 _impl_.constraint_.no_overlap_2d_ = no_overlap_2d;
8693 ::google::protobuf::Arena* message_arena = GetArena();
8696 ::google::protobuf::Arena* submessage_arena = cumulative->GetArena();
8697 if (message_arena != submessage_arena) {
8698 cumulative = ::google::protobuf::internal::GetOwnedMessage(message_arena, cumulative, submessage_arena);
8700 set_has_cumulative();
8701 _impl_.constraint_.cumulative_ = cumulative;
8706 ::google::protobuf::Arena* message_arena = GetArena();
8708 if (dummy_constraint) {
8709 ::google::protobuf::Arena* submessage_arena = dummy_constraint->GetArena();
8710 if (message_arena != submessage_arena) {
8711 dummy_constraint = ::google::protobuf::internal::GetOwnedMessage(message_arena, dummy_constraint, submessage_arena);
8713 set_has_dummy_constraint();
8714 _impl_.constraint_.dummy_constraint_ = dummy_constraint;
8719#if defined(PROTOBUF_CUSTOM_VTABLE)
8722 : ::google::protobuf::Message(arena) {
8727PROTOBUF_NDEBUG_INLINE ConstraintProto::Impl_::Impl_(
8728 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
8729 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
8730 [[maybe_unused]] const ::operations_research::sat::ConstraintProto& from_msg)
8731 : _has_bits_{from._has_bits_},
8733 enforcement_literal_{visibility, arena, from.enforcement_literal_},
8734 _enforcement_literal_cached_byte_size_{0},
8735 name_(arena, from.name_),
8737 _oneof_case_{from._oneof_case_[0]} {}
8740 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
8741 const ConstraintProto& from)
8742#if defined(PROTOBUF_CUSTOM_VTABLE)
8745 : ::google::protobuf::Message(arena) {
8747 ConstraintProto*
const _this =
this;
8749 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
8750 from._internal_metadata_);
8751 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
8752 switch (constraint_case()) {
8753 case CONSTRAINT_NOT_SET:
8756 _impl_.constraint_.bool_or_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.bool_or_);
8759 _impl_.constraint_.bool_and_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.bool_and_);
8762 _impl_.constraint_.at_most_one_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.at_most_one_);
8765 _impl_.constraint_.exactly_one_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.exactly_one_);
8768 _impl_.constraint_.bool_xor_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.bool_xor_);
8771 _impl_.constraint_.int_div_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.int_div_);
8774 _impl_.constraint_.int_mod_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.int_mod_);
8777 _impl_.constraint_.int_prod_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.int_prod_);
8780 _impl_.constraint_.lin_max_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.lin_max_);
8783 _impl_.constraint_.linear_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.linear_);
8786 _impl_.constraint_.all_diff_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.all_diff_);
8789 _impl_.constraint_.element_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.element_);
8792 _impl_.constraint_.circuit_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.circuit_);
8795 _impl_.constraint_.routes_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.routes_);
8798 _impl_.constraint_.table_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.table_);
8801 _impl_.constraint_.automaton_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.automaton_);
8804 _impl_.constraint_.inverse_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.inverse_);
8807 _impl_.constraint_.reservoir_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.reservoir_);
8810 _impl_.constraint_.interval_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.interval_);
8813 _impl_.constraint_.no_overlap_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.no_overlap_);
8816 _impl_.constraint_.no_overlap_2d_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.no_overlap_2d_);
8819 _impl_.constraint_.cumulative_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.cumulative_);
8821 case kDummyConstraint:
8822 _impl_.constraint_.dummy_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.dummy_constraint_);
8828PROTOBUF_NDEBUG_INLINE ConstraintProto::Impl_::Impl_(
8829 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
8830 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
8832 enforcement_literal_{visibility, arena},
8833 _enforcement_literal_cached_byte_size_{0},
8838inline void ConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
8839 new (&
_impl_) Impl_(internal_visibility(), arena);
8845inline void ConstraintProto::SharedDtor(MessageLite& self) {
8847 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
8848 this_.CheckHasBitConsistency();
8850 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8851 ABSL_DCHECK(this_.GetArena() ==
nullptr);
8852 this_._impl_.name_.Destroy();
8853 if (this_.has_constraint()) {
8854 this_.clear_constraint();
8856 this_._impl_.~Impl_();
8861 ::google::protobuf::internal::TSanWrite(&
_impl_);
8864 if (GetArena() ==
nullptr) {
8865 delete _impl_.constraint_.bool_or_;
8866 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8867 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.
bool_or_);
8872 if (GetArena() ==
nullptr) {
8874 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8875 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.bool_and_);
8880 if (GetArena() ==
nullptr) {
8881 delete _impl_.constraint_.at_most_one_;
8882 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8883 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.at_most_one_);
8888 if (GetArena() ==
nullptr) {
8890 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8891 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.
exactly_one_);
8896 if (GetArena() ==
nullptr) {
8897 delete _impl_.constraint_.bool_xor_;
8898 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8899 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.bool_xor_);
8904 if (GetArena() ==
nullptr) {
8905 delete _impl_.constraint_.int_div_;
8906 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8907 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.int_div_);
8912 if (GetArena() ==
nullptr) {
8913 delete _impl_.constraint_.int_mod_;
8914 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8915 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.int_mod_);
8920 if (GetArena() ==
nullptr) {
8921 delete _impl_.constraint_.int_prod_;
8922 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8923 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.int_prod_);
8928 if (GetArena() ==
nullptr) {
8929 delete _impl_.constraint_.lin_max_;
8930 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8931 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.lin_max_);
8936 if (GetArena() ==
nullptr) {
8937 delete _impl_.constraint_.linear_;
8938 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8939 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.linear_);
8944 if (GetArena() ==
nullptr) {
8945 delete _impl_.constraint_.all_diff_;
8946 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8947 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.all_diff_);
8952 if (GetArena() ==
nullptr) {
8953 delete _impl_.constraint_.element_;
8954 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8955 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.element_);
8960 if (GetArena() ==
nullptr) {
8961 delete _impl_.constraint_.circuit_;
8962 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8963 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.circuit_);
8968 if (GetArena() ==
nullptr) {
8969 delete _impl_.constraint_.routes_;
8970 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8971 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.routes_);
8976 if (GetArena() ==
nullptr) {
8977 delete _impl_.constraint_.table_;
8978 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8979 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.table_);
8984 if (GetArena() ==
nullptr) {
8985 delete _impl_.constraint_.automaton_;
8986 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8987 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.automaton_);
8992 if (GetArena() ==
nullptr) {
8993 delete _impl_.constraint_.inverse_;
8994 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8995 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.inverse_);
9000 if (GetArena() ==
nullptr) {
9001 delete _impl_.constraint_.reservoir_;
9002 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
9003 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.reservoir_);
9008 if (GetArena() ==
nullptr) {
9009 delete _impl_.constraint_.interval_;
9010 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
9011 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.interval_);
9016 if (GetArena() ==
nullptr) {
9017 delete _impl_.constraint_.no_overlap_;
9018 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
9019 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.no_overlap_);
9024 if (GetArena() ==
nullptr) {
9025 delete _impl_.constraint_.no_overlap_2d_;
9026 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
9027 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.no_overlap_2d_);
9032 if (GetArena() ==
nullptr) {
9033 delete _impl_.constraint_.cumulative_;
9034 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
9035 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.cumulative_);
9040 if (GetArena() ==
nullptr) {
9041 delete _impl_.constraint_.dummy_constraint_;
9042 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
9043 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.dummy_constraint_);
9055inline void* PROTOBUF_NONNULL ConstraintProto::PlacementNew_(
9056 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
9057 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
9060constexpr auto ConstraintProto::InternalNewImpl_() {
9061 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
9064 InternalGetArenaOffset(
9065 ::google::protobuf::Message::internal_visibility()),
9067 if (arena_bits.has_value()) {
9068 return ::google::protobuf::internal::MessageCreator::CopyInit(
9069 sizeof(ConstraintProto), alignof(ConstraintProto), *arena_bits);
9071 return ::google::protobuf::internal::MessageCreator(&ConstraintProto::PlacementNew_,
9072 sizeof(ConstraintProto),
9073 alignof(ConstraintProto));
9077 return ::google::protobuf::internal::ClassDataFull{
9078 ::google::protobuf::internal::ClassData{
9083 &ConstraintProto::MergeImpl,
9084 ::google::protobuf::Message::GetNewImpl<ConstraintProto>(),
9085#if defined(PROTOBUF_CUSTOM_VTABLE)
9086 &ConstraintProto::SharedDtor,
9093 &ConstraintProto::kDescriptorMethods,
9099PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
9103PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
9104ConstraintProto::GetClassData()
const {
9109PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
9110const ::_pbi::TcParseTable<1, 25, 23, 76, 2>
9111ConstraintProto::_table_ = {
9116 offsetof(
decltype(_table_), field_lookup_table),
9118 offsetof(
decltype(_table_), field_entries),
9121 offsetof(
decltype(_table_), aux_entries),
9124 ::_pbi::TcParser::GenericFallback,
9125 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
9126 ::_pbi::TcParser::GetTable<::operations_research::sat::ConstraintProto>(),
9130 {::_pbi::TcParser::FastV32P1,
9134 {::_pbi::TcParser::FastUS1,
9192 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
9193 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
9194 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
9195 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>()},
9196 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>()},
9197 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>()},
9198 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearConstraintProto>()},
9199 {::_pbi::TcParser::GetTable<::operations_research::sat::AllDifferentConstraintProto>()},
9200 {::_pbi::TcParser::GetTable<::operations_research::sat::ElementConstraintProto>()},
9201 {::_pbi::TcParser::GetTable<::operations_research::sat::CircuitConstraintProto>()},
9202 {::_pbi::TcParser::GetTable<::operations_research::sat::TableConstraintProto>()},
9203 {::_pbi::TcParser::GetTable<::operations_research::sat::AutomatonConstraintProto>()},
9204 {::_pbi::TcParser::GetTable<::operations_research::sat::InverseConstraintProto>()},
9205 {::_pbi::TcParser::GetTable<::operations_research::sat::IntervalConstraintProto>()},
9206 {::_pbi::TcParser::GetTable<::operations_research::sat::NoOverlapConstraintProto>()},
9207 {::_pbi::TcParser::GetTable<::operations_research::sat::NoOverlap2DConstraintProto>()},
9208 {::_pbi::TcParser::GetTable<::operations_research::sat::CumulativeConstraintProto>()},
9209 {::_pbi::TcParser::GetTable<::operations_research::sat::RoutesConstraintProto>()},
9210 {::_pbi::TcParser::GetTable<::operations_research::sat::ReservoirConstraintProto>()},
9211 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
9212 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>()},
9213 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
9214 {::_pbi::TcParser::GetTable<::operations_research::sat::ListOfVariablesProto>()},
9217 "\47\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
9218 "operations_research.sat.ConstraintProto"
9224 ::google::protobuf::internal::TSanWrite(&
_impl_);
9225 ::uint32_t cached_has_bits = 0;
9227 (void) cached_has_bits;
9229 cached_has_bits =
_impl_._has_bits_[0];
9230 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
9231 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
9232 _impl_.enforcement_literal_.Clear();
9234 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
9235 _impl_.name_.ClearNonDefaultToEmpty();
9239 _impl_._has_bits_.Clear();
9240 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
9243#if defined(PROTOBUF_CUSTOM_VTABLE)
9245 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
9246 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
9250 ::uint8_t* PROTOBUF_NONNULL target,
9251 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
9254 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
9255 this_.CheckHasBitConsistency();
9258 ::uint32_t cached_has_bits = 0;
9259 (void)cached_has_bits;
9261 cached_has_bits = this_.
_impl_._has_bits_[0];
9263 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
9264 if (!this_._internal_name().empty()) {
9265 const ::std::string& _s = this_._internal_name();
9266 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9267 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.ConstraintProto.name");
9268 target = stream->WriteStringMaybeAliased(1, _s, target);
9273 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
9275 int byte_size = this_.
_impl_._enforcement_literal_cached_byte_size_.Get();
9276 if (byte_size > 0) {
9277 target = stream->WriteInt32Packed(
9278 2, this_._internal_enforcement_literal(), byte_size, target);
9285 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9291 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9297 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9303 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9309 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9315 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9321 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9327 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9333 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9339 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9345 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9351 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9357 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9363 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9369 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9375 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9381 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9387 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9393 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9399 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9405 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9411 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9417 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9425 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
9427 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9428 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
9434#if defined(PROTOBUF_CUSTOM_VTABLE)
9442 ::size_t total_size = 0;
9444 ::uint32_t cached_has_bits = 0;
9446 (void)cached_has_bits;
9448 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
9449 cached_has_bits = this_._impl_._has_bits_[0];
9450 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
9452 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
9454 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
9455 this_._internal_enforcement_literal(), 1,
9456 this_._impl_._enforcement_literal_cached_byte_size_);
9459 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
9460 if (!this_._internal_name().empty()) {
9461 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
9462 this_._internal_name());
9466 switch (this_.constraint_case()) {
9470 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.bool_or_);
9476 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.bool_and_);
9482 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.at_most_one_);
9488 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.exactly_one_);
9494 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.bool_xor_);
9500 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.int_div_);
9506 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.int_mod_);
9512 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.int_prod_);
9518 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.lin_max_);
9524 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.linear_);
9530 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.all_diff_);
9536 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.element_);
9542 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.circuit_);
9548 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.routes_);
9554 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.table_);
9560 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.automaton_);
9566 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.inverse_);
9572 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.reservoir_);
9578 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.interval_);
9584 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.no_overlap_);
9590 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.no_overlap_2d_);
9596 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.cumulative_);
9602 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.dummy_constraint_);
9609 return this_.MaybeComputeUnknownFieldsSize(total_size,
9610 &this_._impl_._cached_size_);
9613void ConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
9614 const ::google::protobuf::MessageLite& from_msg) {
9618 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
9619 from.CheckHasBitConsistency();
9623 ABSL_DCHECK_NE(&from, _this);
9624 ::uint32_t cached_has_bits = 0;
9625 (void)cached_has_bits;
9627 cached_has_bits = from._impl_._has_bits_[0];
9628 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
9629 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
9630 _this->_internal_mutable_enforcement_literal()->MergeFrom(from._internal_enforcement_literal());
9632 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
9633 if (!from._internal_name().empty()) {
9634 _this->_internal_set_name(from._internal_name());
9636 if (_this->_impl_.name_.IsDefault()) {
9637 _this->_internal_set_name(
"");
9642 _this->_impl_._has_bits_[0] |= cached_has_bits;
9643 if (
const uint32_t oneof_from_case =
9644 from._impl_._oneof_case_[0]) {
9645 const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
9646 const bool oneof_needs_init = oneof_to_case != oneof_from_case;
9647 if (oneof_needs_init) {
9648 if (oneof_to_case != 0) {
9649 _this->clear_constraint();
9651 _this->_impl_._oneof_case_[0] = oneof_from_case;
9654 switch (oneof_from_case) {
9656 if (oneof_needs_init) {
9657 _this->_impl_.constraint_.bool_or_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.bool_or_);
9659 _this->_impl_.constraint_.bool_or_->MergeFrom(*from._impl_.constraint_.bool_or_);
9664 if (oneof_needs_init) {
9665 _this->_impl_.constraint_.bool_and_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.bool_and_);
9667 _this->_impl_.constraint_.bool_and_->MergeFrom(*from._impl_.constraint_.bool_and_);
9672 if (oneof_needs_init) {
9673 _this->_impl_.constraint_.at_most_one_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.at_most_one_);
9675 _this->_impl_.constraint_.at_most_one_->MergeFrom(*from._impl_.constraint_.at_most_one_);
9680 if (oneof_needs_init) {
9681 _this->_impl_.constraint_.exactly_one_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.exactly_one_);
9683 _this->_impl_.constraint_.exactly_one_->MergeFrom(*from._impl_.constraint_.exactly_one_);
9688 if (oneof_needs_init) {
9689 _this->_impl_.constraint_.bool_xor_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.bool_xor_);
9691 _this->_impl_.constraint_.bool_xor_->MergeFrom(*from._impl_.constraint_.bool_xor_);
9696 if (oneof_needs_init) {
9697 _this->_impl_.constraint_.int_div_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.int_div_);
9699 _this->_impl_.constraint_.int_div_->MergeFrom(*from._impl_.constraint_.int_div_);
9704 if (oneof_needs_init) {
9705 _this->_impl_.constraint_.int_mod_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.int_mod_);
9707 _this->_impl_.constraint_.int_mod_->MergeFrom(*from._impl_.constraint_.int_mod_);
9712 if (oneof_needs_init) {
9713 _this->_impl_.constraint_.int_prod_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.int_prod_);
9715 _this->_impl_.constraint_.int_prod_->MergeFrom(*from._impl_.constraint_.int_prod_);
9720 if (oneof_needs_init) {
9721 _this->_impl_.constraint_.lin_max_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.lin_max_);
9723 _this->_impl_.constraint_.lin_max_->MergeFrom(*from._impl_.constraint_.lin_max_);
9728 if (oneof_needs_init) {
9729 _this->_impl_.constraint_.linear_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.linear_);
9731 _this->_impl_.constraint_.linear_->MergeFrom(*from._impl_.constraint_.linear_);
9736 if (oneof_needs_init) {
9737 _this->_impl_.constraint_.all_diff_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.all_diff_);
9739 _this->_impl_.constraint_.all_diff_->MergeFrom(*from._impl_.constraint_.all_diff_);
9744 if (oneof_needs_init) {
9745 _this->_impl_.constraint_.element_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.element_);
9747 _this->_impl_.constraint_.element_->MergeFrom(*from._impl_.constraint_.element_);
9752 if (oneof_needs_init) {
9753 _this->_impl_.constraint_.circuit_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.circuit_);
9755 _this->_impl_.constraint_.circuit_->MergeFrom(*from._impl_.constraint_.circuit_);
9760 if (oneof_needs_init) {
9761 _this->_impl_.constraint_.routes_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.routes_);
9763 _this->_impl_.constraint_.routes_->MergeFrom(*from._impl_.constraint_.routes_);
9768 if (oneof_needs_init) {
9769 _this->_impl_.constraint_.table_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.table_);
9771 _this->_impl_.constraint_.table_->MergeFrom(*from._impl_.constraint_.table_);
9776 if (oneof_needs_init) {
9777 _this->_impl_.constraint_.automaton_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.automaton_);
9779 _this->_impl_.constraint_.automaton_->MergeFrom(*from._impl_.constraint_.automaton_);
9784 if (oneof_needs_init) {
9785 _this->_impl_.constraint_.inverse_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.inverse_);
9787 _this->_impl_.constraint_.inverse_->MergeFrom(*from._impl_.constraint_.inverse_);
9792 if (oneof_needs_init) {
9793 _this->_impl_.constraint_.reservoir_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.reservoir_);
9795 _this->_impl_.constraint_.reservoir_->MergeFrom(*from._impl_.constraint_.reservoir_);
9800 if (oneof_needs_init) {
9801 _this->_impl_.constraint_.interval_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.interval_);
9803 _this->_impl_.constraint_.interval_->MergeFrom(*from._impl_.constraint_.interval_);
9808 if (oneof_needs_init) {
9809 _this->_impl_.constraint_.no_overlap_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.no_overlap_);
9811 _this->_impl_.constraint_.no_overlap_->MergeFrom(*from._impl_.constraint_.no_overlap_);
9816 if (oneof_needs_init) {
9817 _this->_impl_.constraint_.no_overlap_2d_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.no_overlap_2d_);
9819 _this->_impl_.constraint_.no_overlap_2d_->MergeFrom(*from._impl_.constraint_.no_overlap_2d_);
9824 if (oneof_needs_init) {
9825 _this->_impl_.constraint_.cumulative_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.cumulative_);
9827 _this->_impl_.constraint_.cumulative_->MergeFrom(*from._impl_.constraint_.cumulative_);
9832 if (oneof_needs_init) {
9833 _this->_impl_.constraint_.dummy_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_.dummy_constraint_);
9835 _this->_impl_.constraint_.dummy_constraint_->MergeFrom(*from._impl_.constraint_.dummy_constraint_);
9843 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
9844 from._internal_metadata_);
9849 if (&from ==
this)
return;
9855void ConstraintProto::InternalSwap(
ConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
9857 auto* arena = GetArena();
9858 ABSL_DCHECK_EQ(arena, other->GetArena());
9859 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9860 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9861 _impl_.enforcement_literal_.InternalSwap(&other->_impl_.enforcement_literal_);
9862 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
9863 swap(
_impl_.constraint_, other->_impl_.constraint_);
9864 swap(
_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
9868 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
9875 decltype(::std::declval<CpObjectiveProto>()._impl_._has_bits_);
9876 static constexpr ::int32_t kHasBitsOffset =
9881#if defined(PROTOBUF_CUSTOM_VTABLE)
9884 : ::google::protobuf::Message(arena) {
9889PROTOBUF_NDEBUG_INLINE CpObjectiveProto::Impl_::Impl_(
9890 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
9891 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
9892 [[maybe_unused]] const ::operations_research::sat::CpObjectiveProto& from_msg)
9893 : _has_bits_{from._has_bits_},
9895 vars_{visibility, arena, from.vars_},
9896 _vars_cached_byte_size_{0},
9897 coeffs_{visibility, arena, from.coeffs_},
9898 _coeffs_cached_byte_size_{0},
9899 domain_{visibility, arena, from.domain_},
9900 _domain_cached_byte_size_{0} {}
9903 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
9905#if defined(PROTOBUF_CUSTOM_VTABLE)
9908 : ::google::protobuf::Message(arena) {
9912 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
9913 from._internal_metadata_);
9914 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
9915 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
9916 offsetof(Impl_, offset_),
9917 reinterpret_cast<const char*
>(&from.
_impl_) +
9918 offsetof(Impl_, offset_),
9919 offsetof(Impl_, scaling_was_exact_) -
9920 offsetof(Impl_, offset_) +
9921 sizeof(Impl_::scaling_was_exact_));
9925PROTOBUF_NDEBUG_INLINE CpObjectiveProto::Impl_::Impl_(
9926 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
9927 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
9929 vars_{visibility, arena},
9930 _vars_cached_byte_size_{0},
9931 coeffs_{visibility, arena},
9932 _coeffs_cached_byte_size_{0},
9933 domain_{visibility, arena},
9934 _domain_cached_byte_size_{0} {}
9936inline void CpObjectiveProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
9937 new (&
_impl_) Impl_(internal_visibility(), arena);
9938 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
9939 offsetof(Impl_, offset_),
9941 offsetof(Impl_, scaling_was_exact_) -
9942 offsetof(Impl_, offset_) +
9943 sizeof(Impl_::scaling_was_exact_));
9949inline void CpObjectiveProto::SharedDtor(
MessageLite& self) {
9951 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
9952 this_.CheckHasBitConsistency();
9954 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
9955 ABSL_DCHECK(this_.GetArena() ==
nullptr);
9956 this_._impl_.~Impl_();
9959inline void* PROTOBUF_NONNULL CpObjectiveProto::PlacementNew_(
9960 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
9961 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
9964constexpr auto CpObjectiveProto::InternalNewImpl_() {
9965 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
9968 InternalGetArenaOffset(
9972 InternalGetArenaOffset(
9976 InternalGetArenaOffset(
9979 if (arena_bits.has_value()) {
9980 return ::google::protobuf::internal::MessageCreator::ZeroInit(
9981 sizeof(CpObjectiveProto), alignof(CpObjectiveProto), *arena_bits);
9983 return ::google::protobuf::internal::MessageCreator(&CpObjectiveProto::PlacementNew_,
9984 sizeof(CpObjectiveProto),
9985 alignof(CpObjectiveProto));
9989 return ::google::protobuf::internal::ClassDataFull{
9990 ::google::protobuf::internal::ClassData{
9995 &CpObjectiveProto::MergeImpl,
9996 ::google::protobuf::Message::GetNewImpl<CpObjectiveProto>(),
9997#if defined(PROTOBUF_CUSTOM_VTABLE)
9998 &CpObjectiveProto::SharedDtor,
10005 &CpObjectiveProto::kDescriptorMethods,
10011PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
10015PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
10016CpObjectiveProto::GetClassData()
const {
10021PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
10022const ::_pbi::TcParseTable<4, 9, 0, 0, 2>
10023CpObjectiveProto::_table_ = {
10028 offsetof(
decltype(_table_), field_lookup_table),
10030 offsetof(
decltype(_table_), field_entries),
10033 offsetof(
decltype(_table_), field_names),
10036 ::_pbi::TcParser::GenericFallback,
10037 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
10038 ::_pbi::TcParser::GetTable<::operations_research::sat::CpObjectiveProto>(),
10041 {::_pbi::TcParser::MiniParse, {}},
10043 {::_pbi::TcParser::FastV32P1,
10047 {::_pbi::TcParser::FastF64S1,
10051 {::_pbi::TcParser::FastF64S1,
10055 {::_pbi::TcParser::FastV64P1,
10059 {::_pbi::TcParser::FastV64P1,
10063 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
CpObjectiveProto,
_impl_.scaling_was_exact_), 8>(),
10067 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
CpObjectiveProto,
_impl_.integer_before_offset_), 5>(),
10071 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
CpObjectiveProto,
_impl_.integer_scaling_factor_), 6>(),
10075 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
CpObjectiveProto,
_impl_.integer_after_offset_), 7>(),
10078 {::_pbi::TcParser::MiniParse, {}},
10079 {::_pbi::TcParser::MiniParse, {}},
10080 {::_pbi::TcParser::MiniParse, {}},
10081 {::_pbi::TcParser::MiniParse, {}},
10082 {::_pbi::TcParser::MiniParse, {}},
10083 {::_pbi::TcParser::MiniParse, {}},
10112 ::google::protobuf::internal::TSanWrite(&
_impl_);
10113 ::uint32_t cached_has_bits = 0;
10115 (void) cached_has_bits;
10117 cached_has_bits =
_impl_._has_bits_[0];
10118 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
10119 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
10122 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
10125 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
10129 if (BatchCheckHasBit(cached_has_bits, 0x000000f8U)) {
10130 ::memset(&
_impl_.offset_, 0,
static_cast<::
size_t>(
10131 reinterpret_cast<char*
>(&
_impl_.integer_after_offset_) -
10132 reinterpret_cast<char*
>(&
_impl_.offset_)) +
sizeof(
_impl_.integer_after_offset_));
10134 _impl_.scaling_was_exact_ =
false;
10135 _impl_._has_bits_.Clear();
10136 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
10139#if defined(PROTOBUF_CUSTOM_VTABLE)
10141 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
10142 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
10146 ::uint8_t* PROTOBUF_NONNULL target,
10147 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
10150 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
10151 this_.CheckHasBitConsistency();
10154 ::uint32_t cached_has_bits = 0;
10155 (void)cached_has_bits;
10157 cached_has_bits = this_._impl_._has_bits_[0];
10159 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
10161 int byte_size = this_._impl_._vars_cached_byte_size_.Get();
10162 if (byte_size > 0) {
10163 target = stream->WriteInt32Packed(
10164 1, this_._internal_vars(), byte_size, target);
10170 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
10171 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
10172 target = stream->EnsureSpace(target);
10173 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
10174 2, this_._internal_offset(), target);
10179 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
10180 if (::absl::bit_cast<::uint64_t>(this_._internal_scaling_factor()) != 0) {
10181 target = stream->EnsureSpace(target);
10182 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
10183 3, this_._internal_scaling_factor(), target);
10188 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
10190 int byte_size = this_._impl_._coeffs_cached_byte_size_.Get();
10191 if (byte_size > 0) {
10192 target = stream->WriteInt64Packed(
10193 4, this_._internal_coeffs(), byte_size, target);
10199 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
10201 int byte_size = this_._impl_._domain_cached_byte_size_.Get();
10202 if (byte_size > 0) {
10203 target = stream->WriteInt64Packed(
10204 5, this_._internal_domain(), byte_size, target);
10210 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
10211 if (this_._internal_scaling_was_exact() != 0) {
10212 target = stream->EnsureSpace(target);
10213 target = ::_pbi::WireFormatLite::WriteBoolToArray(
10214 6, this_._internal_scaling_was_exact(), target);
10219 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
10220 if (this_._internal_integer_before_offset() != 0) {
10222 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>(
10223 stream, this_._internal_integer_before_offset(), target);
10228 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
10229 if (this_._internal_integer_scaling_factor() != 0) {
10231 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
10232 stream, this_._internal_integer_scaling_factor(), target);
10237 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
10238 if (this_._internal_integer_after_offset() != 0) {
10240 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<9>(
10241 stream, this_._internal_integer_after_offset(), target);
10245 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
10247 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10248 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
10254#if defined(PROTOBUF_CUSTOM_VTABLE)
10262 ::size_t total_size = 0;
10264 ::uint32_t cached_has_bits = 0;
10266 (void)cached_has_bits;
10268 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
10269 cached_has_bits = this_._impl_._has_bits_[0];
10270 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
10272 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
10274 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
10275 this_._internal_vars(), 1,
10276 this_._impl_._vars_cached_byte_size_);
10279 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
10281 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
10282 this_._internal_coeffs(), 1,
10283 this_._impl_._coeffs_cached_byte_size_);
10286 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
10288 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
10289 this_._internal_domain(), 1,
10290 this_._impl_._domain_cached_byte_size_);
10293 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
10294 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
10299 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
10300 if (::absl::bit_cast<::uint64_t>(this_._internal_scaling_factor()) != 0) {
10305 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
10306 if (this_._internal_integer_before_offset() != 0) {
10307 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
10308 this_._internal_integer_before_offset());
10312 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
10313 if (this_._internal_integer_scaling_factor() != 0) {
10314 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
10315 this_._internal_integer_scaling_factor());
10319 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
10320 if (this_._internal_integer_after_offset() != 0) {
10321 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
10322 this_._internal_integer_after_offset());
10328 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
10329 if (this_._internal_scaling_was_exact() != 0) {
10334 return this_.MaybeComputeUnknownFieldsSize(total_size,
10335 &this_._impl_._cached_size_);
10338void CpObjectiveProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
10339 const ::google::protobuf::MessageLite& from_msg) {
10340 auto*
const _this =
10343 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
10344 from.CheckHasBitConsistency();
10347 ABSL_DCHECK_NE(&from, _this);
10348 ::uint32_t cached_has_bits = 0;
10349 (void)cached_has_bits;
10351 cached_has_bits = from.
_impl_._has_bits_[0];
10352 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
10353 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
10354 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
10356 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
10357 _this->_internal_mutable_coeffs()->MergeFrom(from._internal_coeffs());
10359 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
10360 _this->_internal_mutable_domain()->MergeFrom(from._internal_domain());
10362 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
10363 if (::absl::bit_cast<::uint64_t>(from._internal_offset()) != 0) {
10367 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
10368 if (::absl::bit_cast<::uint64_t>(from._internal_scaling_factor()) != 0) {
10369 _this->
_impl_.scaling_factor_ = from.
_impl_.scaling_factor_;
10372 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
10373 if (from._internal_integer_before_offset() != 0) {
10374 _this->
_impl_.integer_before_offset_ = from.
_impl_.integer_before_offset_;
10377 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
10378 if (from._internal_integer_scaling_factor() != 0) {
10379 _this->
_impl_.integer_scaling_factor_ = from.
_impl_.integer_scaling_factor_;
10382 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
10383 if (from._internal_integer_after_offset() != 0) {
10384 _this->
_impl_.integer_after_offset_ = from.
_impl_.integer_after_offset_;
10388 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
10389 if (from._internal_scaling_was_exact() != 0) {
10390 _this->
_impl_.scaling_was_exact_ = from.
_impl_.scaling_was_exact_;
10393 _this->
_impl_._has_bits_[0] |= cached_has_bits;
10394 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
10395 from._internal_metadata_);
10400 if (&from ==
this)
return;
10406void CpObjectiveProto::InternalSwap(
CpObjectiveProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
10408 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10409 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10410 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
10411 _impl_.coeffs_.InternalSwap(&other->_impl_.coeffs_);
10412 _impl_.domain_.InternalSwap(&other->_impl_.domain_);
10413 ::google::protobuf::internal::memswap<
10417 reinterpret_cast<char*
>(&
_impl_.offset_),
10418 reinterpret_cast<char*
>(&other->_impl_.offset_));
10422 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
10426class FloatObjectiveProto::_Internal {
10429 decltype(::std::declval<FloatObjectiveProto>()._impl_._has_bits_);
10430 static constexpr ::int32_t kHasBitsOffset =
10431 8 * PROTOBUF_FIELD_OFFSET(FloatObjectiveProto, _impl_._has_bits_);
10435#if defined(PROTOBUF_CUSTOM_VTABLE)
10438 : ::google::protobuf::Message(arena) {
10443PROTOBUF_NDEBUG_INLINE FloatObjectiveProto::Impl_::Impl_(
10444 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
10445 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
10446 [[maybe_unused]] const ::operations_research::sat::FloatObjectiveProto& from_msg)
10447 : _has_bits_{from._has_bits_},
10449 vars_{visibility, arena, from.vars_},
10450 _vars_cached_byte_size_{0},
10451 coeffs_{visibility, arena, from.coeffs_} {}
10454 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
10456#if defined(PROTOBUF_CUSTOM_VTABLE)
10459 : ::google::protobuf::Message(arena) {
10463 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
10464 from._internal_metadata_);
10465 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
10466 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
10467 offsetof(Impl_, offset_),
10468 reinterpret_cast<const char*
>(&from.
_impl_) +
10469 offsetof(Impl_, offset_),
10470 offsetof(Impl_, maximize_) -
10471 offsetof(Impl_, offset_) +
10472 sizeof(Impl_::maximize_));
10476PROTOBUF_NDEBUG_INLINE FloatObjectiveProto::Impl_::Impl_(
10477 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
10478 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
10479 : _cached_size_{0},
10480 vars_{visibility, arena},
10481 _vars_cached_byte_size_{0},
10482 coeffs_{visibility, arena} {}
10484inline void FloatObjectiveProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
10485 new (&
_impl_) Impl_(internal_visibility(), arena);
10486 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
10487 offsetof(Impl_, offset_),
10489 offsetof(Impl_, maximize_) -
10490 offsetof(Impl_, offset_) +
10491 sizeof(Impl_::maximize_));
10497inline void FloatObjectiveProto::SharedDtor(
MessageLite& self) {
10499 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
10500 this_.CheckHasBitConsistency();
10502 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
10503 ABSL_DCHECK(this_.GetArena() ==
nullptr);
10507inline void* PROTOBUF_NONNULL FloatObjectiveProto::PlacementNew_(
10508 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
10509 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
10512constexpr auto FloatObjectiveProto::InternalNewImpl_() {
10513 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
10516 InternalGetArenaOffset(
10520 InternalGetArenaOffset(
10523 if (arena_bits.has_value()) {
10524 return ::google::protobuf::internal::MessageCreator::ZeroInit(
10525 sizeof(FloatObjectiveProto), alignof(FloatObjectiveProto), *arena_bits);
10527 return ::google::protobuf::internal::MessageCreator(&FloatObjectiveProto::PlacementNew_,
10528 sizeof(FloatObjectiveProto),
10529 alignof(FloatObjectiveProto));
10533 return ::google::protobuf::internal::ClassDataFull{
10534 ::google::protobuf::internal::ClassData{
10539 &FloatObjectiveProto::MergeImpl,
10540 ::google::protobuf::Message::GetNewImpl<FloatObjectiveProto>(),
10541#if defined(PROTOBUF_CUSTOM_VTABLE)
10542 &FloatObjectiveProto::SharedDtor,
10549 &FloatObjectiveProto::kDescriptorMethods,
10555PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
10559PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
10560FloatObjectiveProto::GetClassData()
const {
10565PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
10566const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
10567FloatObjectiveProto::_table_ = {
10572 offsetof(
decltype(_table_), field_lookup_table),
10574 offsetof(
decltype(_table_), field_entries),
10577 offsetof(
decltype(_table_), field_names),
10580 ::_pbi::TcParser::GenericFallback,
10581 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
10582 ::_pbi::TcParser::GetTable<::operations_research::sat::FloatObjectiveProto>(),
10586 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(FloatObjectiveProto,
_impl_.maximize_), 3>(),
10588 PROTOBUF_FIELD_OFFSET(FloatObjectiveProto,
_impl_.maximize_)}},
10590 {::_pbi::TcParser::FastV32P1,
10592 PROTOBUF_FIELD_OFFSET(FloatObjectiveProto,
_impl_.vars_)}},
10594 {::_pbi::TcParser::FastF64P1,
10596 PROTOBUF_FIELD_OFFSET(FloatObjectiveProto,
_impl_.coeffs_)}},
10598 {::_pbi::TcParser::FastF64S1,
10600 PROTOBUF_FIELD_OFFSET(FloatObjectiveProto,
_impl_.offset_)}},
10619 ::google::protobuf::internal::TSanWrite(&
_impl_);
10620 ::uint32_t cached_has_bits = 0;
10622 (void) cached_has_bits;
10624 cached_has_bits =
_impl_._has_bits_[0];
10625 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
10626 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
10629 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
10633 if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
10634 ::memset(&
_impl_.offset_, 0,
static_cast<::
size_t>(
10635 reinterpret_cast<char*
>(&
_impl_.maximize_) -
10636 reinterpret_cast<char*
>(&
_impl_.offset_)) +
sizeof(
_impl_.maximize_));
10638 _impl_._has_bits_.Clear();
10639 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
10642#if defined(PROTOBUF_CUSTOM_VTABLE)
10644 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
10645 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
10649 ::uint8_t* PROTOBUF_NONNULL target,
10650 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
10653 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
10654 this_.CheckHasBitConsistency();
10657 ::uint32_t cached_has_bits = 0;
10658 (void)cached_has_bits;
10660 cached_has_bits = this_.
_impl_._has_bits_[0];
10662 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
10664 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
10665 if (byte_size > 0) {
10666 target = stream->WriteInt32Packed(
10667 1, this_._internal_vars(), byte_size, target);
10673 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
10674 if (this_._internal_coeffs_size() > 0) {
10675 target = stream->WriteFixedPacked(2, this_._internal_coeffs(), target);
10680 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
10681 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
10682 target = stream->EnsureSpace(target);
10683 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
10684 3, this_._internal_offset(), target);
10689 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
10690 if (this_._internal_maximize() != 0) {
10691 target = stream->EnsureSpace(target);
10692 target = ::_pbi::WireFormatLite::WriteBoolToArray(
10693 4, this_._internal_maximize(), target);
10697 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
10699 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10700 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
10706#if defined(PROTOBUF_CUSTOM_VTABLE)
10708 const FloatObjectiveProto& this_ =
static_cast<const FloatObjectiveProto&
>(base);
10711 const FloatObjectiveProto& this_ = *
this;
10714 ::size_t total_size = 0;
10716 ::uint32_t cached_has_bits = 0;
10718 (void)cached_has_bits;
10720 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
10721 cached_has_bits = this_._impl_._has_bits_[0];
10722 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
10724 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
10726 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
10727 this_._internal_vars(), 1,
10728 this_._impl_._vars_cached_byte_size_);
10731 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
10732 ::size_t data_size = ::size_t{8} *
10733 ::_pbi::FromIntSize(this_._internal_coeffs_size());
10734 ::size_t tag_size = data_size == 0
10736 : 1 + ::_pbi::WireFormatLite::Int32Size(
10737 static_cast<::int32_t
>(data_size));
10738 total_size += tag_size + data_size;
10741 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
10742 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
10747 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
10748 if (this_._internal_maximize() != 0) {
10753 return this_.MaybeComputeUnknownFieldsSize(total_size,
10754 &this_._impl_._cached_size_);
10757void FloatObjectiveProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
10758 const ::google::protobuf::MessageLite& from_msg) {
10759 auto*
const _this =
10760 static_cast<FloatObjectiveProto*
>(&to_msg);
10761 auto& from =
static_cast<const FloatObjectiveProto&
>(from_msg);
10762 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
10763 from.CheckHasBitConsistency();
10766 ABSL_DCHECK_NE(&from, _this);
10767 ::uint32_t cached_has_bits = 0;
10768 (void)cached_has_bits;
10770 cached_has_bits = from.
_impl_._has_bits_[0];
10771 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
10772 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
10773 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
10775 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
10776 _this->_internal_mutable_coeffs()->MergeFrom(from._internal_coeffs());
10778 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
10779 if (::absl::bit_cast<::uint64_t>(from._internal_offset()) != 0) {
10783 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
10784 if (from._internal_maximize() != 0) {
10789 _this->
_impl_._has_bits_[0] |= cached_has_bits;
10790 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
10791 from._internal_metadata_);
10796 if (&from ==
this)
return;
10802void FloatObjectiveProto::InternalSwap(FloatObjectiveProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
10804 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10805 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10806 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
10807 _impl_.coeffs_.InternalSwap(&other->_impl_.coeffs_);
10808 ::google::protobuf::internal::memswap<
10809 PROTOBUF_FIELD_OFFSET(FloatObjectiveProto,
_impl_.maximize_)
10811 - PROTOBUF_FIELD_OFFSET(FloatObjectiveProto,
_impl_.offset_)>(
10812 reinterpret_cast<char*
>(&
_impl_.offset_),
10813 reinterpret_cast<char*
>(&other->_impl_.offset_));
10817 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
10824 decltype(::std::declval<DecisionStrategyProto>()._impl_._has_bits_);
10825 static constexpr ::int32_t kHasBitsOffset =
10830#if defined(PROTOBUF_CUSTOM_VTABLE)
10833 : ::google::protobuf::Message(arena) {
10838PROTOBUF_NDEBUG_INLINE DecisionStrategyProto::Impl_::Impl_(
10839 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
10840 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
10841 [[maybe_unused]] const ::operations_research::sat::DecisionStrategyProto& from_msg)
10842 : _has_bits_{from._has_bits_},
10844 variables_{visibility, arena, from.variables_},
10845 _variables_cached_byte_size_{0},
10846 exprs_{visibility, arena, from.exprs_} {}
10849 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
10851#if defined(PROTOBUF_CUSTOM_VTABLE)
10854 : ::google::protobuf::Message(arena) {
10858 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
10859 from._internal_metadata_);
10860 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
10861 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
10862 offsetof(Impl_, variable_selection_strategy_),
10863 reinterpret_cast<const char*
>(&from.
_impl_) +
10864 offsetof(Impl_, variable_selection_strategy_),
10865 offsetof(Impl_, domain_reduction_strategy_) -
10866 offsetof(Impl_, variable_selection_strategy_) +
10867 sizeof(Impl_::domain_reduction_strategy_));
10871PROTOBUF_NDEBUG_INLINE DecisionStrategyProto::Impl_::Impl_(
10872 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
10873 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
10874 : _cached_size_{0},
10875 variables_{visibility, arena},
10876 _variables_cached_byte_size_{0},
10877 exprs_{visibility, arena} {}
10879inline void DecisionStrategyProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
10880 new (&
_impl_) Impl_(internal_visibility(), arena);
10881 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
10882 offsetof(Impl_, variable_selection_strategy_),
10884 offsetof(Impl_, domain_reduction_strategy_) -
10885 offsetof(Impl_, variable_selection_strategy_) +
10886 sizeof(Impl_::domain_reduction_strategy_));
10892inline void DecisionStrategyProto::SharedDtor(
MessageLite& self) {
10894 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
10895 this_.CheckHasBitConsistency();
10897 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
10898 ABSL_DCHECK(this_.GetArena() ==
nullptr);
10902inline void* PROTOBUF_NONNULL DecisionStrategyProto::PlacementNew_(
10903 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
10904 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
10907constexpr auto DecisionStrategyProto::InternalNewImpl_() {
10908 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
10911 InternalGetArenaOffset(
10912 ::google::protobuf::Message::internal_visibility()),
10915 InternalGetArenaOffset(
10918 if (arena_bits.has_value()) {
10919 return ::google::protobuf::internal::MessageCreator::ZeroInit(
10920 sizeof(DecisionStrategyProto), alignof(DecisionStrategyProto), *arena_bits);
10922 return ::google::protobuf::internal::MessageCreator(&DecisionStrategyProto::PlacementNew_,
10923 sizeof(DecisionStrategyProto),
10924 alignof(DecisionStrategyProto));
10928 return ::google::protobuf::internal::ClassDataFull{
10929 ::google::protobuf::internal::ClassData{
10934 &DecisionStrategyProto::MergeImpl,
10935 ::google::protobuf::Message::GetNewImpl<DecisionStrategyProto>(),
10936#if defined(PROTOBUF_CUSTOM_VTABLE)
10937 &DecisionStrategyProto::SharedDtor,
10944 &DecisionStrategyProto::kDescriptorMethods,
10950PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
10954PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
10955DecisionStrategyProto::GetClassData()
const {
10960PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
10961const ::_pbi::TcParseTable<3, 4, 1, 0, 2>
10962DecisionStrategyProto::_table_ = {
10967 offsetof(
decltype(_table_), field_lookup_table),
10969 offsetof(
decltype(_table_), field_entries),
10972 offsetof(
decltype(_table_), aux_entries),
10975 ::_pbi::TcParser::GenericFallback,
10976 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
10977 ::_pbi::TcParser::GetTable<::operations_research::sat::DecisionStrategyProto>(),
10980 {::_pbi::TcParser::MiniParse, {}},
10982 {::_pbi::TcParser::FastV32P1,
10984 PROTOBUF_FIELD_OFFSET(DecisionStrategyProto,
_impl_.variables_)}},
10986 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DecisionStrategyProto,
_impl_.variable_selection_strategy_), 2>(),
10988 PROTOBUF_FIELD_OFFSET(DecisionStrategyProto,
_impl_.variable_selection_strategy_)}},
10990 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DecisionStrategyProto,
_impl_.domain_reduction_strategy_), 3>(),
10992 PROTOBUF_FIELD_OFFSET(DecisionStrategyProto,
_impl_.domain_reduction_strategy_)}},
10993 {::_pbi::TcParser::MiniParse, {}},
10995 {::_pbi::TcParser::FastMtR1,
10997 PROTOBUF_FIELD_OFFSET(DecisionStrategyProto,
_impl_.exprs_)}},
10998 {::_pbi::TcParser::MiniParse, {}},
10999 {::_pbi::TcParser::MiniParse, {}},
11006 {PROTOBUF_FIELD_OFFSET(DecisionStrategyProto,
_impl_.variable_selection_strategy_),
_Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
11008 {PROTOBUF_FIELD_OFFSET(DecisionStrategyProto,
_impl_.domain_reduction_strategy_),
_Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
11010 {PROTOBUF_FIELD_OFFSET(DecisionStrategyProto,
_impl_.exprs_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
11013 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
11020 ::google::protobuf::internal::TSanWrite(&
_impl_);
11021 ::uint32_t cached_has_bits = 0;
11023 (void) cached_has_bits;
11025 cached_has_bits =
_impl_._has_bits_[0];
11026 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
11027 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11028 _impl_.variables_.Clear();
11030 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11034 if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
11035 ::memset(&
_impl_.variable_selection_strategy_, 0,
static_cast<::
size_t>(
11036 reinterpret_cast<char*
>(&
_impl_.domain_reduction_strategy_) -
11037 reinterpret_cast<char*
>(&
_impl_.variable_selection_strategy_)) +
sizeof(
_impl_.domain_reduction_strategy_));
11039 _impl_._has_bits_.Clear();
11040 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
11043#if defined(PROTOBUF_CUSTOM_VTABLE)
11045 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
11046 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
11050 ::uint8_t* PROTOBUF_NONNULL target,
11051 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
11054 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
11055 this_.CheckHasBitConsistency();
11058 ::uint32_t cached_has_bits = 0;
11059 (void)cached_has_bits;
11061 cached_has_bits = this_.
_impl_._has_bits_[0];
11063 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11065 int byte_size = this_.
_impl_._variables_cached_byte_size_.Get();
11066 if (byte_size > 0) {
11067 target = stream->WriteInt32Packed(
11068 1, this_._internal_variables(), byte_size, target);
11074 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
11075 if (this_._internal_variable_selection_strategy() != 0) {
11076 target = stream->EnsureSpace(target);
11077 target = ::_pbi::WireFormatLite::WriteEnumToArray(
11078 2, this_._internal_variable_selection_strategy(), target);
11083 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
11084 if (this_._internal_domain_reduction_strategy() != 0) {
11085 target = stream->EnsureSpace(target);
11086 target = ::_pbi::WireFormatLite::WriteEnumToArray(
11087 3, this_._internal_domain_reduction_strategy(), target);
11092 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11093 for (
unsigned i = 0, n =
static_cast<unsigned>(
11094 this_._internal_exprs_size());
11096 const auto& repfield = this_._internal_exprs().Get(
i);
11098 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11099 5, repfield, repfield.GetCachedSize(),
11104 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
11106 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
11107 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
11113#if defined(PROTOBUF_CUSTOM_VTABLE)
11115 const DecisionStrategyProto& this_ =
static_cast<const DecisionStrategyProto&
>(base);
11118 const DecisionStrategyProto& this_ = *
this;
11121 ::size_t total_size = 0;
11123 ::uint32_t cached_has_bits = 0;
11125 (void)cached_has_bits;
11127 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
11128 cached_has_bits = this_._impl_._has_bits_[0];
11129 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
11131 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11133 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
11134 this_._internal_variables(), 1,
11135 this_._impl_._variables_cached_byte_size_);
11138 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11139 total_size += 1UL * this_._internal_exprs_size();
11140 for (
const auto& msg : this_._internal_exprs()) {
11141 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
11145 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
11146 if (this_._internal_variable_selection_strategy() != 0) {
11148 ::_pbi::WireFormatLite::EnumSize(this_._internal_variable_selection_strategy());
11152 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
11153 if (this_._internal_domain_reduction_strategy() != 0) {
11155 ::_pbi::WireFormatLite::EnumSize(this_._internal_domain_reduction_strategy());
11159 return this_.MaybeComputeUnknownFieldsSize(total_size,
11160 &this_._impl_._cached_size_);
11163void DecisionStrategyProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
11164 const ::google::protobuf::MessageLite& from_msg) {
11165 auto*
const _this =
11166 static_cast<DecisionStrategyProto*
>(&to_msg);
11167 auto& from =
static_cast<const DecisionStrategyProto&
>(from_msg);
11168 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
11169 from.CheckHasBitConsistency();
11173 ABSL_DCHECK_NE(&from, _this);
11174 ::uint32_t cached_has_bits = 0;
11175 (void)cached_has_bits;
11177 cached_has_bits = from.
_impl_._has_bits_[0];
11178 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
11179 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11180 _this->_internal_mutable_variables()->
MergeFrom(from._internal_variables());
11182 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11183 _this->_internal_mutable_exprs()->InternalMergeFromWithArena(
11184 ::google::protobuf::MessageLite::internal_visibility(), arena,
11185 from._internal_exprs());
11187 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
11188 if (from._internal_variable_selection_strategy() != 0) {
11189 _this->
_impl_.variable_selection_strategy_ = from.
_impl_.variable_selection_strategy_;
11192 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
11193 if (from._internal_domain_reduction_strategy() != 0) {
11194 _this->
_impl_.domain_reduction_strategy_ = from.
_impl_.domain_reduction_strategy_;
11198 _this->
_impl_._has_bits_[0] |= cached_has_bits;
11199 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
11200 from._internal_metadata_);
11205 if (&from ==
this)
return;
11211void DecisionStrategyProto::InternalSwap(DecisionStrategyProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
11213 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11214 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11215 _impl_.variables_.InternalSwap(&other->_impl_.variables_);
11216 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
11217 ::google::protobuf::internal::memswap<
11218 PROTOBUF_FIELD_OFFSET(DecisionStrategyProto,
_impl_.domain_reduction_strategy_)
11220 - PROTOBUF_FIELD_OFFSET(DecisionStrategyProto,
_impl_.variable_selection_strategy_)>(
11221 reinterpret_cast<char*
>(&
_impl_.variable_selection_strategy_),
11222 reinterpret_cast<char*
>(&other->_impl_.variable_selection_strategy_));
11226 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
11233 decltype(::std::declval<PartialVariableAssignment>()._impl_._has_bits_);
11234 static constexpr ::int32_t kHasBitsOffset =
11239#if defined(PROTOBUF_CUSTOM_VTABLE)
11242 : ::google::protobuf::Message(arena) {
11247PROTOBUF_NDEBUG_INLINE PartialVariableAssignment::Impl_::Impl_(
11248 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
11249 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
11250 [[maybe_unused]] const ::operations_research::sat::PartialVariableAssignment& from_msg)
11251 : _has_bits_{from._has_bits_},
11253 vars_{visibility, arena, from.vars_},
11254 _vars_cached_byte_size_{0},
11255 values_{visibility, arena, from.values_},
11256 _values_cached_byte_size_{0} {}
11259 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
11261#if defined(PROTOBUF_CUSTOM_VTABLE)
11264 : ::google::protobuf::Message(arena) {
11268 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
11269 from._internal_metadata_);
11270 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
11274PROTOBUF_NDEBUG_INLINE PartialVariableAssignment::Impl_::Impl_(
11275 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
11276 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
11277 : _cached_size_{0},
11278 vars_{visibility, arena},
11279 _vars_cached_byte_size_{0},
11280 values_{visibility, arena},
11281 _values_cached_byte_size_{0} {}
11283inline void PartialVariableAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
11284 new (&
_impl_) Impl_(internal_visibility(), arena);
11290inline void PartialVariableAssignment::SharedDtor(
MessageLite& self) {
11292 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
11293 this_.CheckHasBitConsistency();
11295 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
11296 ABSL_DCHECK(this_.GetArena() ==
nullptr);
11300inline void* PROTOBUF_NONNULL PartialVariableAssignment::PlacementNew_(
11301 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
11302 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
11305constexpr auto PartialVariableAssignment::InternalNewImpl_() {
11306 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
11309 InternalGetArenaOffset(
11310 ::google::protobuf::Message::internal_visibility()),
11313 InternalGetArenaOffset(
11316 if (arena_bits.has_value()) {
11317 return ::google::protobuf::internal::MessageCreator::ZeroInit(
11318 sizeof(PartialVariableAssignment), alignof(PartialVariableAssignment), *arena_bits);
11320 return ::google::protobuf::internal::MessageCreator(&PartialVariableAssignment::PlacementNew_,
11321 sizeof(PartialVariableAssignment),
11322 alignof(PartialVariableAssignment));
11326 return ::google::protobuf::internal::ClassDataFull{
11327 ::google::protobuf::internal::ClassData{
11332 &PartialVariableAssignment::MergeImpl,
11333 ::google::protobuf::Message::GetNewImpl<PartialVariableAssignment>(),
11334#if defined(PROTOBUF_CUSTOM_VTABLE)
11335 &PartialVariableAssignment::SharedDtor,
11342 &PartialVariableAssignment::kDescriptorMethods,
11348PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
11352PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
11353PartialVariableAssignment::GetClassData()
const {
11358PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
11359const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
11360PartialVariableAssignment::_table_ = {
11365 offsetof(
decltype(_table_), field_lookup_table),
11367 offsetof(
decltype(_table_), field_entries),
11370 offsetof(
decltype(_table_), field_names),
11373 ::_pbi::TcParser::GenericFallback,
11374 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
11375 ::_pbi::TcParser::GetTable<::operations_research::sat::PartialVariableAssignment>(),
11379 {::_pbi::TcParser::FastV64P1,
11383 {::_pbi::TcParser::FastV32P1,
11392 {PROTOBUF_FIELD_OFFSET(PartialVariableAssignment,
_impl_.values_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
11400 ::google::protobuf::internal::TSanWrite(&
_impl_);
11401 ::uint32_t cached_has_bits = 0;
11403 (void) cached_has_bits;
11405 cached_has_bits =
_impl_._has_bits_[0];
11406 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
11407 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11410 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11414 _impl_._has_bits_.Clear();
11415 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
11418#if defined(PROTOBUF_CUSTOM_VTABLE)
11420 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
11421 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
11425 ::uint8_t* PROTOBUF_NONNULL target,
11426 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
11429 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
11430 this_.CheckHasBitConsistency();
11433 ::uint32_t cached_has_bits = 0;
11434 (void)cached_has_bits;
11436 cached_has_bits = this_.
_impl_._has_bits_[0];
11438 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11440 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
11441 if (byte_size > 0) {
11442 target = stream->WriteInt32Packed(
11443 1, this_._internal_vars(), byte_size, target);
11449 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11451 int byte_size = this_.
_impl_._values_cached_byte_size_.Get();
11452 if (byte_size > 0) {
11453 target = stream->WriteInt64Packed(
11454 2, this_._internal_values(), byte_size, target);
11459 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
11461 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
11462 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
11468#if defined(PROTOBUF_CUSTOM_VTABLE)
11470 const PartialVariableAssignment& this_ =
static_cast<const PartialVariableAssignment&
>(base);
11473 const PartialVariableAssignment& this_ = *
this;
11476 ::size_t total_size = 0;
11478 ::uint32_t cached_has_bits = 0;
11480 (void)cached_has_bits;
11482 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
11483 cached_has_bits = this_._impl_._has_bits_[0];
11484 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
11486 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11488 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
11489 this_._internal_vars(), 1,
11490 this_._impl_._vars_cached_byte_size_);
11493 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11495 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
11496 this_._internal_values(), 1,
11497 this_._impl_._values_cached_byte_size_);
11500 return this_.MaybeComputeUnknownFieldsSize(total_size,
11501 &this_._impl_._cached_size_);
11504void PartialVariableAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg,
11505 const ::google::protobuf::MessageLite& from_msg) {
11506 auto*
const _this =
11507 static_cast<PartialVariableAssignment*
>(&to_msg);
11508 auto& from =
static_cast<const PartialVariableAssignment&
>(from_msg);
11509 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
11510 from.CheckHasBitConsistency();
11513 ABSL_DCHECK_NE(&from, _this);
11514 ::uint32_t cached_has_bits = 0;
11515 (void)cached_has_bits;
11517 cached_has_bits = from.
_impl_._has_bits_[0];
11518 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
11519 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11520 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
11522 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11523 _this->_internal_mutable_values()->
MergeFrom(from._internal_values());
11526 _this->
_impl_._has_bits_[0] |= cached_has_bits;
11527 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
11528 from._internal_metadata_);
11533 if (&from ==
this)
return;
11539void PartialVariableAssignment::InternalSwap(PartialVariableAssignment* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
11541 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11542 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11543 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
11544 _impl_.values_.InternalSwap(&other->_impl_.values_);
11548 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
11552class SparsePermutationProto::_Internal {
11555 decltype(::std::declval<SparsePermutationProto>()._impl_._has_bits_);
11556 static constexpr ::int32_t kHasBitsOffset =
11561#if defined(PROTOBUF_CUSTOM_VTABLE)
11564 : ::google::protobuf::Message(arena) {
11569PROTOBUF_NDEBUG_INLINE SparsePermutationProto::Impl_::Impl_(
11570 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
11571 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
11572 [[maybe_unused]] const ::operations_research::sat::SparsePermutationProto& from_msg)
11573 : _has_bits_{from._has_bits_},
11575 support_{visibility, arena, from.support_},
11576 _support_cached_byte_size_{0},
11577 cycle_sizes_{visibility, arena, from.cycle_sizes_},
11578 _cycle_sizes_cached_byte_size_{0} {}
11581 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
11583#if defined(PROTOBUF_CUSTOM_VTABLE)
11586 : ::google::protobuf::Message(arena) {
11590 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
11591 from._internal_metadata_);
11592 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
11596PROTOBUF_NDEBUG_INLINE SparsePermutationProto::Impl_::Impl_(
11597 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
11598 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
11599 : _cached_size_{0},
11600 support_{visibility, arena},
11601 _support_cached_byte_size_{0},
11602 cycle_sizes_{visibility, arena},
11603 _cycle_sizes_cached_byte_size_{0} {}
11605inline void SparsePermutationProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
11606 new (&
_impl_) Impl_(internal_visibility(), arena);
11612inline void SparsePermutationProto::SharedDtor(
MessageLite& self) {
11614 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
11615 this_.CheckHasBitConsistency();
11617 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
11618 ABSL_DCHECK(this_.GetArena() ==
nullptr);
11622inline void* PROTOBUF_NONNULL SparsePermutationProto::PlacementNew_(
11623 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
11624 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
11627constexpr auto SparsePermutationProto::InternalNewImpl_() {
11628 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
11631 InternalGetArenaOffset(
11632 ::google::protobuf::Message::internal_visibility()),
11635 InternalGetArenaOffset(
11638 if (arena_bits.has_value()) {
11639 return ::google::protobuf::internal::MessageCreator::ZeroInit(
11640 sizeof(SparsePermutationProto), alignof(SparsePermutationProto), *arena_bits);
11642 return ::google::protobuf::internal::MessageCreator(&SparsePermutationProto::PlacementNew_,
11643 sizeof(SparsePermutationProto),
11644 alignof(SparsePermutationProto));
11648 return ::google::protobuf::internal::ClassDataFull{
11649 ::google::protobuf::internal::ClassData{
11654 &SparsePermutationProto::MergeImpl,
11655 ::google::protobuf::Message::GetNewImpl<SparsePermutationProto>(),
11656#if defined(PROTOBUF_CUSTOM_VTABLE)
11657 &SparsePermutationProto::SharedDtor,
11664 &SparsePermutationProto::kDescriptorMethods,
11670PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
11674PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
11675SparsePermutationProto::GetClassData()
const {
11680PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
11681const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
11682SparsePermutationProto::_table_ = {
11687 offsetof(
decltype(_table_), field_lookup_table),
11689 offsetof(
decltype(_table_), field_entries),
11692 offsetof(
decltype(_table_), field_names),
11695 ::_pbi::TcParser::GenericFallback,
11696 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
11697 ::_pbi::TcParser::GetTable<::operations_research::sat::SparsePermutationProto>(),
11701 {::_pbi::TcParser::FastV32P1,
11703 PROTOBUF_FIELD_OFFSET(SparsePermutationProto,
_impl_.cycle_sizes_)}},
11705 {::_pbi::TcParser::FastV32P1,
11707 PROTOBUF_FIELD_OFFSET(SparsePermutationProto,
_impl_.support_)}},
11714 {PROTOBUF_FIELD_OFFSET(SparsePermutationProto,
_impl_.cycle_sizes_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
11722 ::google::protobuf::internal::TSanWrite(&
_impl_);
11723 ::uint32_t cached_has_bits = 0;
11725 (void) cached_has_bits;
11727 cached_has_bits =
_impl_._has_bits_[0];
11728 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
11729 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11730 _impl_.support_.Clear();
11732 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11733 _impl_.cycle_sizes_.Clear();
11736 _impl_._has_bits_.Clear();
11737 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
11740#if defined(PROTOBUF_CUSTOM_VTABLE)
11742 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
11743 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
11744 const SparsePermutationProto& this_ =
static_cast<const SparsePermutationProto&
>(base);
11747 ::uint8_t* PROTOBUF_NONNULL target,
11748 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
11751 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
11752 this_.CheckHasBitConsistency();
11755 ::uint32_t cached_has_bits = 0;
11756 (void)cached_has_bits;
11758 cached_has_bits = this_.
_impl_._has_bits_[0];
11760 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11762 int byte_size = this_.
_impl_._support_cached_byte_size_.Get();
11763 if (byte_size > 0) {
11764 target = stream->WriteInt32Packed(
11765 1, this_._internal_support(), byte_size, target);
11771 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11773 int byte_size = this_.
_impl_._cycle_sizes_cached_byte_size_.Get();
11774 if (byte_size > 0) {
11775 target = stream->WriteInt32Packed(
11776 2, this_._internal_cycle_sizes(), byte_size, target);
11781 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
11783 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
11784 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
11790#if defined(PROTOBUF_CUSTOM_VTABLE)
11792 const SparsePermutationProto& this_ =
static_cast<const SparsePermutationProto&
>(base);
11795 const SparsePermutationProto& this_ = *
this;
11798 ::size_t total_size = 0;
11800 ::uint32_t cached_has_bits = 0;
11802 (void)cached_has_bits;
11804 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
11805 cached_has_bits = this_._impl_._has_bits_[0];
11806 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
11808 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11810 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
11811 this_._internal_support(), 1,
11812 this_._impl_._support_cached_byte_size_);
11815 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11817 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
11818 this_._internal_cycle_sizes(), 1,
11819 this_._impl_._cycle_sizes_cached_byte_size_);
11822 return this_.MaybeComputeUnknownFieldsSize(total_size,
11823 &this_._impl_._cached_size_);
11826void SparsePermutationProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
11827 const ::google::protobuf::MessageLite& from_msg) {
11828 auto*
const _this =
11829 static_cast<SparsePermutationProto*
>(&to_msg);
11830 auto& from =
static_cast<const SparsePermutationProto&
>(from_msg);
11831 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
11832 from.CheckHasBitConsistency();
11835 ABSL_DCHECK_NE(&from, _this);
11836 ::uint32_t cached_has_bits = 0;
11837 (void)cached_has_bits;
11839 cached_has_bits = from.
_impl_._has_bits_[0];
11840 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
11841 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
11842 _this->_internal_mutable_support()->
MergeFrom(from._internal_support());
11844 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
11845 _this->_internal_mutable_cycle_sizes()->
MergeFrom(from._internal_cycle_sizes());
11848 _this->
_impl_._has_bits_[0] |= cached_has_bits;
11849 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
11850 from._internal_metadata_);
11855 if (&from ==
this)
return;
11861void SparsePermutationProto::InternalSwap(SparsePermutationProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
11863 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11864 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11865 _impl_.support_.InternalSwap(&other->_impl_.support_);
11866 _impl_.cycle_sizes_.InternalSwap(&other->_impl_.cycle_sizes_);
11870 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
11874class DenseMatrixProto::_Internal {
11877 decltype(::std::declval<DenseMatrixProto>()._impl_._has_bits_);
11878 static constexpr ::int32_t kHasBitsOffset =
11883#if defined(PROTOBUF_CUSTOM_VTABLE)
11886 : ::google::protobuf::Message(arena) {
11891PROTOBUF_NDEBUG_INLINE DenseMatrixProto::Impl_::Impl_(
11892 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
11893 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
11894 [[maybe_unused]] const ::operations_research::sat::DenseMatrixProto& from_msg)
11895 : _has_bits_{from._has_bits_},
11897 entries_{visibility, arena, from.entries_},
11898 _entries_cached_byte_size_{0} {}
11901 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
11903#if defined(PROTOBUF_CUSTOM_VTABLE)
11906 : ::google::protobuf::Message(arena) {
11910 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
11911 from._internal_metadata_);
11912 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
11913 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
11914 offsetof(Impl_, num_rows_),
11915 reinterpret_cast<const char*
>(&from.
_impl_) +
11916 offsetof(Impl_, num_rows_),
11917 offsetof(Impl_, num_cols_) -
11918 offsetof(Impl_, num_rows_) +
11919 sizeof(Impl_::num_cols_));
11923PROTOBUF_NDEBUG_INLINE DenseMatrixProto::Impl_::Impl_(
11924 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
11925 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
11926 : _cached_size_{0},
11927 entries_{visibility, arena},
11928 _entries_cached_byte_size_{0} {}
11930inline void DenseMatrixProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
11931 new (&
_impl_) Impl_(internal_visibility(), arena);
11932 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
11933 offsetof(Impl_, num_rows_),
11935 offsetof(Impl_, num_cols_) -
11936 offsetof(Impl_, num_rows_) +
11937 sizeof(Impl_::num_cols_));
11943inline void DenseMatrixProto::SharedDtor(
MessageLite& self) {
11945 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
11946 this_.CheckHasBitConsistency();
11948 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
11949 ABSL_DCHECK(this_.GetArena() ==
nullptr);
11953inline void* PROTOBUF_NONNULL DenseMatrixProto::PlacementNew_(
11954 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
11955 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
11958constexpr auto DenseMatrixProto::InternalNewImpl_() {
11959 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
11962 InternalGetArenaOffset(
11963 ::google::protobuf::Message::internal_visibility()),
11965 if (arena_bits.has_value()) {
11966 return ::google::protobuf::internal::MessageCreator::ZeroInit(
11969 return ::google::protobuf::internal::MessageCreator(&DenseMatrixProto::PlacementNew_,
11975 return ::google::protobuf::internal::ClassDataFull{
11976 ::google::protobuf::internal::ClassData{
11981 &DenseMatrixProto::MergeImpl,
11982 ::google::protobuf::Message::GetNewImpl<DenseMatrixProto>(),
11983#if defined(PROTOBUF_CUSTOM_VTABLE)
11984 &DenseMatrixProto::SharedDtor,
11991 &DenseMatrixProto::kDescriptorMethods,
11997PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
12001PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
12002DenseMatrixProto::GetClassData()
const {
12007PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
12008const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
12009DenseMatrixProto::_table_ = {
12014 offsetof(
decltype(_table_), field_lookup_table),
12016 offsetof(
decltype(_table_), field_entries),
12019 offsetof(
decltype(_table_), field_names),
12022 ::_pbi::TcParser::GenericFallback,
12023 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
12024 ::_pbi::TcParser::GetTable<::operations_research::sat::DenseMatrixProto>(),
12027 {::_pbi::TcParser::MiniParse, {}},
12029 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DenseMatrixProto, _impl_.num_rows_), 1>(),
12031 PROTOBUF_FIELD_OFFSET(DenseMatrixProto, _impl_.num_rows_)}},
12033 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DenseMatrixProto, _impl_.num_cols_), 2>(),
12035 PROTOBUF_FIELD_OFFSET(DenseMatrixProto, _impl_.num_cols_)}},
12037 {::_pbi::TcParser::FastV32P1,
12039 PROTOBUF_FIELD_OFFSET(DenseMatrixProto, _impl_.entries_)}},
12044 {PROTOBUF_FIELD_OFFSET(
DenseMatrixProto, _impl_.num_rows_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
12046 {PROTOBUF_FIELD_OFFSET(
DenseMatrixProto, _impl_.num_cols_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
12048 {PROTOBUF_FIELD_OFFSET(
DenseMatrixProto, _impl_.entries_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
12056 ::google::protobuf::internal::TSanWrite(&
_impl_);
12057 ::uint32_t cached_has_bits = 0;
12059 (void) cached_has_bits;
12061 cached_has_bits =
_impl_._has_bits_[0];
12062 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12063 _impl_.entries_.Clear();
12065 if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
12066 ::memset(&
_impl_.num_rows_, 0,
static_cast<::
size_t>(
12067 reinterpret_cast<char*
>(&
_impl_.num_cols_) -
12068 reinterpret_cast<char*
>(&
_impl_.num_rows_)) +
sizeof(
_impl_.num_cols_));
12070 _impl_._has_bits_.Clear();
12071 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
12074#if defined(PROTOBUF_CUSTOM_VTABLE)
12076 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
12077 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
12081 ::uint8_t* PROTOBUF_NONNULL target,
12082 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
12085 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
12086 this_.CheckHasBitConsistency();
12089 ::uint32_t cached_has_bits = 0;
12090 (void)cached_has_bits;
12092 cached_has_bits = this_.
_impl_._has_bits_[0];
12094 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
12095 if (this_._internal_num_rows() != 0) {
12097 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
12098 stream, this_._internal_num_rows(), target);
12103 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
12104 if (this_._internal_num_cols() != 0) {
12106 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
12107 stream, this_._internal_num_cols(), target);
12112 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12114 int byte_size = this_.
_impl_._entries_cached_byte_size_.Get();
12115 if (byte_size > 0) {
12116 target = stream->WriteInt32Packed(
12117 3, this_._internal_entries(), byte_size, target);
12122 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
12124 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
12125 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
12131#if defined(PROTOBUF_CUSTOM_VTABLE)
12139 ::size_t total_size = 0;
12141 ::uint32_t cached_has_bits = 0;
12143 (void)cached_has_bits;
12145 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
12146 cached_has_bits = this_._impl_._has_bits_[0];
12147 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
12149 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12151 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
12152 this_._internal_entries(), 1,
12153 this_._impl_._entries_cached_byte_size_);
12156 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
12157 if (this_._internal_num_rows() != 0) {
12158 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
12159 this_._internal_num_rows());
12163 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
12164 if (this_._internal_num_cols() != 0) {
12165 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
12166 this_._internal_num_cols());
12170 return this_.MaybeComputeUnknownFieldsSize(total_size,
12171 &this_._impl_._cached_size_);
12174void DenseMatrixProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
12175 const ::google::protobuf::MessageLite& from_msg) {
12176 auto*
const _this =
12179 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
12180 from.CheckHasBitConsistency();
12183 ABSL_DCHECK_NE(&from, _this);
12184 ::uint32_t cached_has_bits = 0;
12185 (void)cached_has_bits;
12187 cached_has_bits = from.
_impl_._has_bits_[0];
12188 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
12189 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12190 _this->_internal_mutable_entries()->
MergeFrom(from._internal_entries());
12192 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
12193 if (from._internal_num_rows() != 0) {
12197 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
12198 if (from._internal_num_cols() != 0) {
12203 _this->
_impl_._has_bits_[0] |= cached_has_bits;
12204 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
12205 from._internal_metadata_);
12210 if (&from ==
this)
return;
12216void DenseMatrixProto::InternalSwap(
DenseMatrixProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
12218 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12219 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
12220 _impl_.entries_.InternalSwap(&other->_impl_.entries_);
12221 ::google::protobuf::internal::memswap<
12225 reinterpret_cast<char*
>(&
_impl_.num_rows_),
12226 reinterpret_cast<char*
>(&other->_impl_.num_rows_));
12230 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
12237 decltype(::std::declval<SymmetryProto>()._impl_._has_bits_);
12238 static constexpr ::int32_t kHasBitsOffset =
12243#if defined(PROTOBUF_CUSTOM_VTABLE)
12246 : ::google::protobuf::Message(arena) {
12251PROTOBUF_NDEBUG_INLINE SymmetryProto::Impl_::Impl_(
12252 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
12253 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
12254 [[maybe_unused]] const ::operations_research::sat::SymmetryProto& from_msg)
12255 : _has_bits_{from._has_bits_},
12257 permutations_{visibility, arena, from.permutations_},
12258 orbitopes_{visibility, arena, from.orbitopes_} {}
12261 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
12263#if defined(PROTOBUF_CUSTOM_VTABLE)
12266 : ::google::protobuf::Message(arena) {
12270 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
12271 from._internal_metadata_);
12272 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
12276PROTOBUF_NDEBUG_INLINE SymmetryProto::Impl_::Impl_(
12277 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
12278 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
12279 : _cached_size_{0},
12280 permutations_{visibility, arena},
12281 orbitopes_{visibility, arena} {}
12283inline void SymmetryProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
12284 new (&
_impl_) Impl_(internal_visibility(), arena);
12290inline void SymmetryProto::SharedDtor(
MessageLite& self) {
12292 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
12293 this_.CheckHasBitConsistency();
12295 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
12296 ABSL_DCHECK(this_.GetArena() ==
nullptr);
12297 this_._impl_.~Impl_();
12300inline void* PROTOBUF_NONNULL SymmetryProto::PlacementNew_(
12301 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
12302 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
12305constexpr auto SymmetryProto::InternalNewImpl_() {
12306 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
12309 InternalGetArenaOffset(
12310 ::google::protobuf::Message::internal_visibility()),
12313 InternalGetArenaOffset(
12316 if (arena_bits.has_value()) {
12317 return ::google::protobuf::internal::MessageCreator::ZeroInit(
12318 sizeof(SymmetryProto), alignof(SymmetryProto), *arena_bits);
12320 return ::google::protobuf::internal::MessageCreator(&SymmetryProto::PlacementNew_,
12321 sizeof(SymmetryProto),
12322 alignof(SymmetryProto));
12326 return ::google::protobuf::internal::ClassDataFull{
12327 ::google::protobuf::internal::ClassData{
12332 &SymmetryProto::MergeImpl,
12333 ::google::protobuf::Message::GetNewImpl<SymmetryProto>(),
12334#if defined(PROTOBUF_CUSTOM_VTABLE)
12335 &SymmetryProto::SharedDtor,
12342 &SymmetryProto::kDescriptorMethods,
12348PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
12352PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
12353SymmetryProto::GetClassData()
const {
12358PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
12359const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
12360SymmetryProto::_table_ = {
12365 offsetof(
decltype(_table_), field_lookup_table),
12367 offsetof(
decltype(_table_), field_entries),
12370 offsetof(
decltype(_table_), aux_entries),
12373 ::_pbi::TcParser::GenericFallback,
12374 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
12375 ::_pbi::TcParser::GetTable<::operations_research::sat::SymmetryProto>(),
12379 {::_pbi::TcParser::FastMtR1,
12383 {::_pbi::TcParser::FastMtR1,
12395 {::_pbi::TcParser::GetTable<::operations_research::sat::SparsePermutationProto>()},
12396 {::_pbi::TcParser::GetTable<::operations_research::sat::DenseMatrixProto>()},
12403 ::google::protobuf::internal::TSanWrite(&
_impl_);
12404 ::uint32_t cached_has_bits = 0;
12406 (void) cached_has_bits;
12408 cached_has_bits =
_impl_._has_bits_[0];
12409 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
12410 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12411 _impl_.permutations_.Clear();
12413 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
12414 _impl_.orbitopes_.Clear();
12417 _impl_._has_bits_.Clear();
12418 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
12421#if defined(PROTOBUF_CUSTOM_VTABLE)
12423 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
12424 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
12428 ::uint8_t* PROTOBUF_NONNULL target,
12429 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
12432 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
12433 this_.CheckHasBitConsistency();
12436 ::uint32_t cached_has_bits = 0;
12437 (void)cached_has_bits;
12439 cached_has_bits = this_.
_impl_._has_bits_[0];
12441 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12442 for (
unsigned i = 0, n =
static_cast<unsigned>(
12443 this_._internal_permutations_size());
12445 const auto& repfield = this_._internal_permutations().Get(
i);
12447 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12448 1, repfield, repfield.GetCachedSize(),
12454 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
12455 for (
unsigned i = 0, n =
static_cast<unsigned>(
12456 this_._internal_orbitopes_size());
12458 const auto& repfield = this_._internal_orbitopes().Get(
i);
12460 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12461 2, repfield, repfield.GetCachedSize(),
12466 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
12468 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
12469 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
12475#if defined(PROTOBUF_CUSTOM_VTABLE)
12483 ::size_t total_size = 0;
12485 ::uint32_t cached_has_bits = 0;
12487 (void)cached_has_bits;
12489 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
12490 cached_has_bits = this_._impl_._has_bits_[0];
12491 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
12493 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12494 total_size += 1UL * this_._internal_permutations_size();
12495 for (
const auto& msg : this_._internal_permutations()) {
12496 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
12500 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
12501 total_size += 1UL * this_._internal_orbitopes_size();
12502 for (
const auto& msg : this_._internal_orbitopes()) {
12503 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
12507 return this_.MaybeComputeUnknownFieldsSize(total_size,
12508 &this_._impl_._cached_size_);
12511void SymmetryProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
12512 const ::google::protobuf::MessageLite& from_msg) {
12513 auto*
const _this =
12516 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
12517 from.CheckHasBitConsistency();
12519 ::google::protobuf::Arena* arena = _this->GetArena();
12521 ABSL_DCHECK_NE(&from, _this);
12522 ::uint32_t cached_has_bits = 0;
12523 (void)cached_has_bits;
12525 cached_has_bits = from.
_impl_._has_bits_[0];
12526 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
12527 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12528 _this->_internal_mutable_permutations()->InternalMergeFromWithArena(
12529 ::google::protobuf::MessageLite::internal_visibility(), arena,
12530 from._internal_permutations());
12532 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
12533 _this->_internal_mutable_orbitopes()->InternalMergeFromWithArena(
12534 ::google::protobuf::MessageLite::internal_visibility(), arena,
12535 from._internal_orbitopes());
12538 _this->
_impl_._has_bits_[0] |= cached_has_bits;
12539 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
12540 from._internal_metadata_);
12545 if (&from ==
this)
return;
12551void SymmetryProto::InternalSwap(
SymmetryProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
12553 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12554 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
12555 _impl_.permutations_.InternalSwap(&other->_impl_.permutations_);
12556 _impl_.orbitopes_.InternalSwap(&other->_impl_.orbitopes_);
12560 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
12564class CpModelProto::_Internal {
12567 decltype(::std::declval<CpModelProto>()._impl_._has_bits_);
12568 static constexpr ::int32_t kHasBitsOffset =
12569 8 * PROTOBUF_FIELD_OFFSET(CpModelProto, _impl_._has_bits_);
12573#if defined(PROTOBUF_CUSTOM_VTABLE)
12576 : ::google::protobuf::Message(arena) {
12581PROTOBUF_NDEBUG_INLINE CpModelProto::Impl_::Impl_(
12582 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
12583 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
12584 [[maybe_unused]] const ::operations_research::sat::CpModelProto& from_msg)
12585 : _has_bits_{from._has_bits_},
12587 variables_{visibility, arena, from.variables_},
12588 constraints_{visibility, arena, from.constraints_},
12589 search_strategy_{visibility, arena, from.search_strategy_},
12590 assumptions_{visibility, arena, from.assumptions_},
12591 _assumptions_cached_byte_size_{0},
12592 name_(arena, from.name_) {}
12595 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
12597#if defined(PROTOBUF_CUSTOM_VTABLE)
12600 : ::google::protobuf::Message(arena) {
12604 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
12605 from._internal_metadata_);
12606 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
12607 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
12608 _impl_.objective_ = (CheckHasBit(cached_has_bits, 0x00000020U))
12609 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.objective_)
12611 _impl_.solution_hint_ = (CheckHasBit(cached_has_bits, 0x00000040U))
12612 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.solution_hint_)
12614 _impl_.symmetry_ = (CheckHasBit(cached_has_bits, 0x00000080U))
12615 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.symmetry_)
12617 _impl_.floating_point_objective_ = (CheckHasBit(cached_has_bits, 0x00000100U))
12618 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.floating_point_objective_)
12623PROTOBUF_NDEBUG_INLINE CpModelProto::Impl_::Impl_(
12624 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
12625 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
12626 : _cached_size_{0},
12627 variables_{visibility, arena},
12628 constraints_{visibility, arena},
12629 search_strategy_{visibility, arena},
12630 assumptions_{visibility, arena},
12631 _assumptions_cached_byte_size_{0},
12634inline void CpModelProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
12635 new (&
_impl_) Impl_(internal_visibility(), arena);
12636 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
12637 offsetof(Impl_, objective_),
12639 offsetof(Impl_, floating_point_objective_) -
12640 offsetof(Impl_, objective_) +
12641 sizeof(Impl_::floating_point_objective_));
12647inline void CpModelProto::SharedDtor(
MessageLite& self) {
12649 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
12650 this_.CheckHasBitConsistency();
12652 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
12653 ABSL_DCHECK(this_.GetArena() ==
nullptr);
12654 this_.
_impl_.name_.Destroy();
12655 delete this_.
_impl_.objective_;
12656 delete this_.
_impl_.solution_hint_;
12657 delete this_.
_impl_.symmetry_;
12658 delete this_.
_impl_.floating_point_objective_;
12662inline void* PROTOBUF_NONNULL CpModelProto::PlacementNew_(
12663 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
12664 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
12667constexpr auto CpModelProto::InternalNewImpl_() {
12668 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
12671 InternalGetArenaOffset(
12672 ::google::protobuf::Message::internal_visibility()),
12675 InternalGetArenaOffset(
12679 InternalGetArenaOffset(
12683 InternalGetArenaOffset(
12686 if (arena_bits.has_value()) {
12687 return ::google::protobuf::internal::MessageCreator::CopyInit(
12688 sizeof(CpModelProto), alignof(CpModelProto), *arena_bits);
12690 return ::google::protobuf::internal::MessageCreator(&CpModelProto::PlacementNew_,
12691 sizeof(CpModelProto),
12692 alignof(CpModelProto));
12696 return ::google::protobuf::internal::ClassDataFull{
12697 ::google::protobuf::internal::ClassData{
12702 &CpModelProto::MergeImpl,
12703 ::google::protobuf::Message::GetNewImpl<CpModelProto>(),
12704#if defined(PROTOBUF_CUSTOM_VTABLE)
12705 &CpModelProto::SharedDtor,
12712 &CpModelProto::kDescriptorMethods,
12718PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
12722PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
12723CpModelProto::GetClassData()
const {
12728PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
12729const ::_pbi::TcParseTable<4, 9, 7, 57, 2>
12730CpModelProto::_table_ = {
12735 offsetof(
decltype(_table_), field_lookup_table),
12737 offsetof(
decltype(_table_), field_entries),
12740 offsetof(
decltype(_table_), aux_entries),
12743 ::_pbi::TcParser::GenericFallback,
12744 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
12745 ::_pbi::TcParser::GetTable<::operations_research::sat::CpModelProto>(),
12748 {::_pbi::TcParser::MiniParse, {}},
12750 {::_pbi::TcParser::FastUS1,
12752 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.name_)}},
12754 {::_pbi::TcParser::FastMtR1,
12756 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.variables_)}},
12758 {::_pbi::TcParser::FastMtR1,
12760 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.constraints_)}},
12762 {::_pbi::TcParser::FastMtS1,
12764 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.objective_)}},
12766 {::_pbi::TcParser::FastMtR1,
12768 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.search_strategy_)}},
12770 {::_pbi::TcParser::FastMtS1,
12772 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.solution_hint_)}},
12774 {::_pbi::TcParser::FastV32P1,
12776 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.assumptions_)}},
12778 {::_pbi::TcParser::FastMtS1,
12780 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.symmetry_)}},
12782 {::_pbi::TcParser::FastMtS1,
12784 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.floating_point_objective_)}},
12785 {::_pbi::TcParser::MiniParse, {}},
12786 {::_pbi::TcParser::MiniParse, {}},
12787 {::_pbi::TcParser::MiniParse, {}},
12788 {::_pbi::TcParser::MiniParse, {}},
12789 {::_pbi::TcParser::MiniParse, {}},
12790 {::_pbi::TcParser::MiniParse, {}},
12795 {PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.name_),
_Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
12797 {PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.variables_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
12799 {PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.constraints_),
_Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
12801 {PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.objective_),
_Internal::kHasBitsOffset + 5, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
12803 {PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.search_strategy_),
_Internal::kHasBitsOffset + 2, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
12805 {PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.solution_hint_),
_Internal::kHasBitsOffset + 6, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
12809 {PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.symmetry_),
_Internal::kHasBitsOffset + 7, 5, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
12811 {PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.floating_point_objective_),
_Internal::kHasBitsOffset + 8, 6, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
12814 {::_pbi::TcParser::GetTable<::operations_research::sat::IntegerVariableProto>()},
12815 {::_pbi::TcParser::GetTable<::operations_research::sat::ConstraintProto>()},
12816 {::_pbi::TcParser::GetTable<::operations_research::sat::CpObjectiveProto>()},
12817 {::_pbi::TcParser::GetTable<::operations_research::sat::DecisionStrategyProto>()},
12818 {::_pbi::TcParser::GetTable<::operations_research::sat::PartialVariableAssignment>()},
12819 {::_pbi::TcParser::GetTable<::operations_research::sat::SymmetryProto>()},
12820 {::_pbi::TcParser::GetTable<::operations_research::sat::FloatObjectiveProto>()},
12823 "\44\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
12824 "operations_research.sat.CpModelProto"
12830 ::google::protobuf::internal::TSanWrite(&
_impl_);
12831 ::uint32_t cached_has_bits = 0;
12833 (void) cached_has_bits;
12835 cached_has_bits =
_impl_._has_bits_[0];
12836 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
12837 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12838 _impl_.variables_.Clear();
12840 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
12841 _impl_.constraints_.Clear();
12843 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
12844 _impl_.search_strategy_.Clear();
12846 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
12847 _impl_.assumptions_.Clear();
12849 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
12850 _impl_.name_.ClearNonDefaultToEmpty();
12852 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
12853 ABSL_DCHECK(
_impl_.objective_ !=
nullptr);
12854 _impl_.objective_->Clear();
12856 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
12857 ABSL_DCHECK(
_impl_.solution_hint_ !=
nullptr);
12858 _impl_.solution_hint_->Clear();
12860 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
12861 ABSL_DCHECK(
_impl_.symmetry_ !=
nullptr);
12862 _impl_.symmetry_->Clear();
12865 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
12866 ABSL_DCHECK(
_impl_.floating_point_objective_ !=
nullptr);
12867 _impl_.floating_point_objective_->Clear();
12869 _impl_._has_bits_.Clear();
12870 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
12873#if defined(PROTOBUF_CUSTOM_VTABLE)
12875 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
12876 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
12877 const CpModelProto& this_ =
static_cast<const CpModelProto&
>(base);
12880 ::uint8_t* PROTOBUF_NONNULL target,
12881 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
12882 const CpModelProto& this_ = *
this;
12884 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
12885 this_.CheckHasBitConsistency();
12888 ::uint32_t cached_has_bits = 0;
12889 (void)cached_has_bits;
12891 cached_has_bits = this_._impl_._has_bits_[0];
12893 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
12894 if (!this_._internal_name().empty()) {
12895 const ::std::string& _s = this_._internal_name();
12896 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
12897 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.CpModelProto.name");
12898 target = stream->WriteStringMaybeAliased(1, _s, target);
12903 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
12904 for (
unsigned i = 0, n =
static_cast<unsigned>(
12905 this_._internal_variables_size());
12907 const auto& repfield = this_._internal_variables().Get(
i);
12909 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12910 2, repfield, repfield.GetCachedSize(),
12916 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
12917 for (
unsigned i = 0, n =
static_cast<unsigned>(
12918 this_._internal_constraints_size());
12920 const auto& repfield = this_._internal_constraints().Get(
i);
12922 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12923 3, repfield, repfield.GetCachedSize(),
12929 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
12930 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12931 4, *this_._impl_.objective_, this_._impl_.objective_->GetCachedSize(), target,
12936 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
12937 for (
unsigned i = 0, n =
static_cast<unsigned>(
12938 this_._internal_search_strategy_size());
12940 const auto& repfield = this_._internal_search_strategy().Get(
i);
12942 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12943 5, repfield, repfield.GetCachedSize(),
12949 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
12950 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12951 6, *this_._impl_.solution_hint_, this_._impl_.solution_hint_->GetCachedSize(), target,
12956 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
12958 int byte_size = this_._impl_._assumptions_cached_byte_size_.Get();
12959 if (byte_size > 0) {
12960 target = stream->WriteInt32Packed(
12961 7, this_._internal_assumptions(), byte_size, target);
12967 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
12968 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12969 8, *this_._impl_.symmetry_, this_._impl_.symmetry_->GetCachedSize(), target,
12974 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
12975 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12976 9, *this_._impl_.floating_point_objective_, this_._impl_.floating_point_objective_->GetCachedSize(), target,
12980 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
12982 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
12983 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
12989#if defined(PROTOBUF_CUSTOM_VTABLE)
12991 const CpModelProto& this_ =
static_cast<const CpModelProto&
>(base);
12994 const CpModelProto& this_ = *
this;
12997 ::size_t total_size = 0;
12999 ::uint32_t cached_has_bits = 0;
13001 (void)cached_has_bits;
13003 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
13004 cached_has_bits = this_._impl_._has_bits_[0];
13005 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
13007 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
13008 total_size += 1UL * this_._internal_variables_size();
13009 for (
const auto& msg : this_._internal_variables()) {
13010 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
13014 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
13015 total_size += 1UL * this_._internal_constraints_size();
13016 for (
const auto& msg : this_._internal_constraints()) {
13017 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
13021 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
13022 total_size += 1UL * this_._internal_search_strategy_size();
13023 for (
const auto& msg : this_._internal_search_strategy()) {
13024 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
13028 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
13030 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
13031 this_._internal_assumptions(), 1,
13032 this_._impl_._assumptions_cached_byte_size_);
13035 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
13036 if (!this_._internal_name().empty()) {
13037 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
13038 this_._internal_name());
13042 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
13044 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.objective_);
13047 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
13049 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solution_hint_);
13052 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
13054 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.symmetry_);
13059 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
13061 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.floating_point_objective_);
13064 return this_.MaybeComputeUnknownFieldsSize(total_size,
13065 &this_._impl_._cached_size_);
13068void CpModelProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
13069 const ::google::protobuf::MessageLite& from_msg) {
13070 auto*
const _this =
13071 static_cast<CpModelProto*
>(&to_msg);
13072 auto& from =
static_cast<const CpModelProto&
>(from_msg);
13073 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
13074 from.CheckHasBitConsistency();
13078 ABSL_DCHECK_NE(&from, _this);
13079 ::uint32_t cached_has_bits = 0;
13080 (void)cached_has_bits;
13082 cached_has_bits = from.
_impl_._has_bits_[0];
13083 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
13084 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
13085 _this->_internal_mutable_variables()->InternalMergeFromWithArena(
13086 ::google::protobuf::MessageLite::internal_visibility(), arena,
13087 from._internal_variables());
13089 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
13090 _this->_internal_mutable_constraints()->InternalMergeFromWithArena(
13091 ::google::protobuf::MessageLite::internal_visibility(), arena,
13092 from._internal_constraints());
13094 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
13095 _this->_internal_mutable_search_strategy()->InternalMergeFromWithArena(
13096 ::google::protobuf::MessageLite::internal_visibility(), arena,
13097 from._internal_search_strategy());
13099 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
13100 _this->_internal_mutable_assumptions()->
MergeFrom(from._internal_assumptions());
13102 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
13103 if (!from._internal_name().empty()) {
13104 _this->_internal_set_name(from._internal_name());
13106 if (_this->
_impl_.name_.IsDefault()) {
13107 _this->_internal_set_name(
"");
13111 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
13112 ABSL_DCHECK(from.
_impl_.objective_ !=
nullptr);
13113 if (_this->
_impl_.objective_ ==
nullptr) {
13114 _this->
_impl_.objective_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.objective_);
13116 _this->
_impl_.objective_->MergeFrom(*from.
_impl_.objective_);
13119 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
13120 ABSL_DCHECK(from.
_impl_.solution_hint_ !=
nullptr);
13121 if (_this->
_impl_.solution_hint_ ==
nullptr) {
13122 _this->
_impl_.solution_hint_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.solution_hint_);
13124 _this->
_impl_.solution_hint_->MergeFrom(*from.
_impl_.solution_hint_);
13127 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
13128 ABSL_DCHECK(from.
_impl_.symmetry_ !=
nullptr);
13129 if (_this->
_impl_.symmetry_ ==
nullptr) {
13130 _this->
_impl_.symmetry_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.symmetry_);
13132 _this->
_impl_.symmetry_->MergeFrom(*from.
_impl_.symmetry_);
13136 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
13137 ABSL_DCHECK(from.
_impl_.floating_point_objective_ !=
nullptr);
13138 if (_this->
_impl_.floating_point_objective_ ==
nullptr) {
13139 _this->
_impl_.floating_point_objective_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.floating_point_objective_);
13141 _this->
_impl_.floating_point_objective_->MergeFrom(*from.
_impl_.floating_point_objective_);
13144 _this->
_impl_._has_bits_[0] |= cached_has_bits;
13145 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
13146 from._internal_metadata_);
13151 if (&from ==
this)
return;
13157void CpModelProto::InternalSwap(CpModelProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
13159 auto* arena = GetArena();
13160 ABSL_DCHECK_EQ(arena, other->GetArena());
13161 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13162 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13163 _impl_.variables_.InternalSwap(&other->_impl_.variables_);
13164 _impl_.constraints_.InternalSwap(&other->_impl_.constraints_);
13165 _impl_.search_strategy_.InternalSwap(&other->_impl_.search_strategy_);
13166 _impl_.assumptions_.InternalSwap(&other->_impl_.assumptions_);
13167 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
13168 ::google::protobuf::internal::memswap<
13169 PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.floating_point_objective_)
13171 - PROTOBUF_FIELD_OFFSET(CpModelProto,
_impl_.objective_)>(
13172 reinterpret_cast<char*
>(&
_impl_.objective_),
13173 reinterpret_cast<char*
>(&other->_impl_.objective_));
13177 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
13184 decltype(::std::declval<CpSolverSolution>()._impl_._has_bits_);
13185 static constexpr ::int32_t kHasBitsOffset =
13190#if defined(PROTOBUF_CUSTOM_VTABLE)
13193 : ::google::protobuf::Message(arena) {
13198PROTOBUF_NDEBUG_INLINE CpSolverSolution::Impl_::Impl_(
13199 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
13200 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
13201 [[maybe_unused]] const ::operations_research::sat::CpSolverSolution& from_msg)
13202 : _has_bits_{from._has_bits_},
13204 values_{visibility, arena, from.values_},
13205 _values_cached_byte_size_{0} {}
13208 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
13210#if defined(PROTOBUF_CUSTOM_VTABLE)
13213 : ::google::protobuf::Message(arena) {
13217 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
13218 from._internal_metadata_);
13219 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
13223PROTOBUF_NDEBUG_INLINE CpSolverSolution::Impl_::Impl_(
13224 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
13225 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
13226 : _cached_size_{0},
13227 values_{visibility, arena},
13228 _values_cached_byte_size_{0} {}
13230inline void CpSolverSolution::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
13231 new (&
_impl_) Impl_(internal_visibility(), arena);
13237inline void CpSolverSolution::SharedDtor(
MessageLite& self) {
13239 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
13240 this_.CheckHasBitConsistency();
13242 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
13243 ABSL_DCHECK(this_.GetArena() ==
nullptr);
13244 this_._impl_.~Impl_();
13247inline void* PROTOBUF_NONNULL CpSolverSolution::PlacementNew_(
13248 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
13249 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
13252constexpr auto CpSolverSolution::InternalNewImpl_() {
13253 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
13256 InternalGetArenaOffset(
13257 ::google::protobuf::Message::internal_visibility()),
13259 if (arena_bits.has_value()) {
13260 return ::google::protobuf::internal::MessageCreator::ZeroInit(
13261 sizeof(CpSolverSolution), alignof(CpSolverSolution), *arena_bits);
13263 return ::google::protobuf::internal::MessageCreator(&CpSolverSolution::PlacementNew_,
13264 sizeof(CpSolverSolution),
13265 alignof(CpSolverSolution));
13269 return ::google::protobuf::internal::ClassDataFull{
13270 ::google::protobuf::internal::ClassData{
13275 &CpSolverSolution::MergeImpl,
13276 ::google::protobuf::Message::GetNewImpl<CpSolverSolution>(),
13277#if defined(PROTOBUF_CUSTOM_VTABLE)
13278 &CpSolverSolution::SharedDtor,
13285 &CpSolverSolution::kDescriptorMethods,
13291PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
13295PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
13296CpSolverSolution::GetClassData()
const {
13301PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
13302const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
13303CpSolverSolution::_table_ = {
13308 offsetof(
decltype(_table_), field_lookup_table),
13310 offsetof(
decltype(_table_), field_entries),
13313 offsetof(
decltype(_table_), field_names),
13316 ::_pbi::TcParser::GenericFallback,
13317 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
13318 ::_pbi::TcParser::GetTable<::operations_research::sat::CpSolverSolution>(),
13322 {::_pbi::TcParser::FastV64P1,
13337 ::google::protobuf::internal::TSanWrite(&
_impl_);
13338 ::uint32_t cached_has_bits = 0;
13340 (void) cached_has_bits;
13342 cached_has_bits =
_impl_._has_bits_[0];
13343 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
13346 _impl_._has_bits_.Clear();
13347 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
13350#if defined(PROTOBUF_CUSTOM_VTABLE)
13352 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
13353 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
13357 ::uint8_t* PROTOBUF_NONNULL target,
13358 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
13361 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
13362 this_.CheckHasBitConsistency();
13365 ::uint32_t cached_has_bits = 0;
13366 (void)cached_has_bits;
13368 cached_has_bits = this_._impl_._has_bits_[0];
13370 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
13372 int byte_size = this_._impl_._values_cached_byte_size_.Get();
13373 if (byte_size > 0) {
13374 target = stream->WriteInt64Packed(
13375 1, this_._internal_values(), byte_size, target);
13380 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
13382 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
13383 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
13389#if defined(PROTOBUF_CUSTOM_VTABLE)
13397 ::size_t total_size = 0;
13399 ::uint32_t cached_has_bits = 0;
13401 (void)cached_has_bits;
13403 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
13406 cached_has_bits = this_.
_impl_._has_bits_[0];
13407 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
13409 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
13410 this_._internal_values(), 1,
13411 this_.
_impl_._values_cached_byte_size_);
13414 return this_.MaybeComputeUnknownFieldsSize(total_size,
13415 &this_.
_impl_._cached_size_);
13418void CpSolverSolution::MergeImpl(::google::protobuf::MessageLite& to_msg,
13419 const ::google::protobuf::MessageLite& from_msg) {
13420 auto*
const _this =
13423 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
13424 from.CheckHasBitConsistency();
13427 ABSL_DCHECK_NE(&from, _this);
13428 ::uint32_t cached_has_bits = 0;
13429 (void)cached_has_bits;
13431 cached_has_bits = from.
_impl_._has_bits_[0];
13432 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
13433 _this->_internal_mutable_values()->MergeFrom(from._internal_values());
13435 _this->
_impl_._has_bits_[0] |= cached_has_bits;
13436 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
13437 from._internal_metadata_);
13442 if (&from ==
this)
return;
13448void CpSolverSolution::InternalSwap(
CpSolverSolution* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
13450 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13451 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13452 _impl_.values_.InternalSwap(&other->_impl_.values_);
13456 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
13460class CpSolverResponse::_Internal {
13463 decltype(::std::declval<CpSolverResponse>()._impl_._has_bits_);
13464 static constexpr ::int32_t kHasBitsOffset =
13465 8 * PROTOBUF_FIELD_OFFSET(CpSolverResponse, _impl_._has_bits_);
13469#if defined(PROTOBUF_CUSTOM_VTABLE)
13472 : ::google::protobuf::Message(arena) {
13477PROTOBUF_NDEBUG_INLINE CpSolverResponse::Impl_::Impl_(
13478 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
13480 [[maybe_unused]] const ::operations_research::sat::CpSolverResponse& from_msg)
13481 : _has_bits_{from._has_bits_},
13483 solution_{visibility, arena, from.solution_},
13484 _solution_cached_byte_size_{0},
13485 tightened_variables_{visibility, arena, from.tightened_variables_},
13486 sufficient_assumptions_for_infeasibility_{visibility, arena, from.sufficient_assumptions_for_infeasibility_},
13487 _sufficient_assumptions_for_infeasibility_cached_byte_size_{0},
13488 additional_solutions_{visibility, arena, from.additional_solutions_},
13489 solution_info_(arena, from.solution_info_),
13490 solve_log_(arena, from.solve_log_) {}
13493 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
13495#if defined(PROTOBUF_CUSTOM_VTABLE)
13498 : ::google::protobuf::Message(arena) {
13502 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
13503 from._internal_metadata_);
13504 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
13505 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
13506 _impl_.integer_objective_ = (CheckHasBit(cached_has_bits, 0x00000040U))
13507 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.integer_objective_)
13509 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
13510 offsetof(Impl_, objective_value_),
13511 reinterpret_cast<const char*
>(&from.
_impl_) +
13512 offsetof(Impl_, objective_value_),
13513 offsetof(Impl_, status_) -
13514 offsetof(Impl_, objective_value_) +
13515 sizeof(Impl_::status_));
13519PROTOBUF_NDEBUG_INLINE CpSolverResponse::Impl_::Impl_(
13520 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
13521 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
13522 : _cached_size_{0},
13523 solution_{visibility, arena},
13524 _solution_cached_byte_size_{0},
13525 tightened_variables_{visibility, arena},
13526 sufficient_assumptions_for_infeasibility_{visibility, arena},
13527 _sufficient_assumptions_for_infeasibility_cached_byte_size_{0},
13528 additional_solutions_{visibility, arena},
13529 solution_info_(arena),
13530 solve_log_(arena) {}
13532inline void CpSolverResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
13533 new (&
_impl_) Impl_(internal_visibility(), arena);
13534 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
13535 offsetof(Impl_, integer_objective_),
13537 offsetof(Impl_, status_) -
13538 offsetof(Impl_, integer_objective_) +
13539 sizeof(Impl_::status_));
13545inline void CpSolverResponse::SharedDtor(
MessageLite& self) {
13547 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
13548 this_.CheckHasBitConsistency();
13550 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
13551 ABSL_DCHECK(this_.GetArena() ==
nullptr);
13552 this_.
_impl_.solution_info_.Destroy();
13553 this_.
_impl_.solve_log_.Destroy();
13554 delete this_.
_impl_.integer_objective_;
13558inline void* PROTOBUF_NONNULL CpSolverResponse::PlacementNew_(
13559 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
13560 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
13563constexpr auto CpSolverResponse::InternalNewImpl_() {
13564 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
13567 InternalGetArenaOffset(
13568 ::google::protobuf::Message::internal_visibility()),
13571 InternalGetArenaOffset(
13572 ::google::protobuf::Message::internal_visibility()),
13575 InternalGetArenaOffset(
13579 InternalGetArenaOffset(
13582 if (arena_bits.has_value()) {
13583 return ::google::protobuf::internal::MessageCreator::CopyInit(
13584 sizeof(CpSolverResponse), alignof(CpSolverResponse), *arena_bits);
13586 return ::google::protobuf::internal::MessageCreator(&CpSolverResponse::PlacementNew_,
13587 sizeof(CpSolverResponse),
13588 alignof(CpSolverResponse));
13592 return ::google::protobuf::internal::ClassDataFull{
13593 ::google::protobuf::internal::ClassData{
13598 &CpSolverResponse::MergeImpl,
13599 ::google::protobuf::Message::GetNewImpl<CpSolverResponse>(),
13600#if defined(PROTOBUF_CUSTOM_VTABLE)
13601 &CpSolverResponse::SharedDtor,
13608 &CpSolverResponse::kDescriptorMethods,
13614PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
13618PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
13619CpSolverResponse::GetClassData()
const {
13624PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
13625const ::_pbi::TcParseTable<5, 24, 3, 95, 2>
13626CpSolverResponse::_table_ = {
13631 offsetof(
decltype(_table_), field_lookup_table),
13633 offsetof(
decltype(_table_), field_entries),
13636 offsetof(
decltype(_table_), aux_entries),
13639 ::_pbi::TcParser::GenericFallback,
13640 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
13641 ::_pbi::TcParser::GetTable<::operations_research::sat::CpSolverResponse>(),
13644 {::_pbi::TcParser::MiniParse, {}},
13650 {::_pbi::TcParser::FastV64P1,
13652 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solution_)}},
13654 {::_pbi::TcParser::FastF64S1,
13656 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.objective_value_)}},
13658 {::_pbi::TcParser::FastF64S1,
13660 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.best_objective_bound_)}},
13661 {::_pbi::TcParser::MiniParse, {}},
13662 {::_pbi::TcParser::MiniParse, {}},
13663 {::_pbi::TcParser::MiniParse, {}},
13664 {::_pbi::TcParser::MiniParse, {}},
13665 {::_pbi::TcParser::MiniParse, {}},
13667 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_booleans_), 9>(),
13669 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_booleans_)}},
13671 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_conflicts_), 10>(),
13673 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_conflicts_)}},
13675 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_branches_), 11>(),
13677 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_branches_)}},
13679 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_binary_propagations_), 12>(),
13681 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_binary_propagations_)}},
13683 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_integer_propagations_), 13>(),
13685 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_integer_propagations_)}},
13687 {::_pbi::TcParser::FastF64S1,
13689 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.wall_time_)}},
13691 {::_pbi::TcParser::FastF64S2,
13693 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.user_time_)}},
13695 {::_pbi::TcParser::FastF64S2,
13697 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.deterministic_time_)}},
13698 {::_pbi::TcParser::MiniParse, {}},
13699 {::_pbi::TcParser::MiniParse, {}},
13701 {::_pbi::TcParser::FastUS2,
13703 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solution_info_)}},
13705 {::_pbi::TcParser::FastMtR2,
13707 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.tightened_variables_)}},
13709 {::_pbi::TcParser::FastF64S2,
13711 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.gap_integral_)}},
13713 {::_pbi::TcParser::FastV32P2,
13715 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.sufficient_assumptions_for_infeasibility_)}},
13717 {::_pbi::TcParser::FastV64S2,
13719 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_restarts_)}},
13721 {::_pbi::TcParser::FastV64S2,
13723 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_lp_iterations_)}},
13725 {::_pbi::TcParser::FastUS2,
13727 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solve_log_)}},
13729 {::_pbi::TcParser::FastMtR2,
13731 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.additional_solutions_)}},
13733 {::_pbi::TcParser::FastMtS2,
13735 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.integer_objective_)}},
13737 {::_pbi::TcParser::FastV64S2,
13739 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.inner_objective_lower_bound_)}},
13741 {::_pbi::TcParser::FastV64S2,
13743 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_integers_)}},
13745 {::_pbi::TcParser::FastV64S2,
13747 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_fixed_booleans_)}},
13758 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.best_objective_bound_),
_Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
13766 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_binary_propagations_),
_Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
13768 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_integer_propagations_),
_Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
13776 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solution_info_),
_Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
13778 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.tightened_variables_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
13782 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.sufficient_assumptions_for_infeasibility_),
_Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
13788 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solve_log_),
_Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
13790 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.additional_solutions_),
_Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
13792 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.integer_objective_),
_Internal::kHasBitsOffset + 6, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
13794 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.inner_objective_lower_bound_),
_Internal::kHasBitsOffset + 20, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
13801 {::_pbi::TcParser::GetTable<::operations_research::sat::IntegerVariableProto>()},
13802 {::_pbi::TcParser::GetTable<::operations_research::sat::CpSolverSolution>()},
13803 {::_pbi::TcParser::GetTable<::operations_research::sat::CpObjectiveProto>()},
13806 "\50\0\0\0\0\0\0\0\0\0\0\0\0\15\0\0\0\0\0\11\0\0\0\0\0\0\0\0\0\0\0\0"
13807 "operations_research.sat.CpSolverResponse"
13814 ::google::protobuf::internal::TSanWrite(&
_impl_);
13815 ::uint32_t cached_has_bits = 0;
13817 (void) cached_has_bits;
13819 cached_has_bits =
_impl_._has_bits_[0];
13820 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
13821 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
13822 _impl_.solution_.Clear();
13824 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
13825 _impl_.tightened_variables_.Clear();
13827 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
13828 _impl_.sufficient_assumptions_for_infeasibility_.Clear();
13830 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
13831 _impl_.additional_solutions_.Clear();
13833 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
13834 _impl_.solution_info_.ClearNonDefaultToEmpty();
13836 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
13837 _impl_.solve_log_.ClearNonDefaultToEmpty();
13839 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
13840 ABSL_DCHECK(
_impl_.integer_objective_ !=
nullptr);
13841 _impl_.integer_objective_->Clear();
13844 _impl_.objective_value_ = 0;
13845 if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
13846 ::memset(&
_impl_.best_objective_bound_, 0,
static_cast<::
size_t>(
13847 reinterpret_cast<char*
>(&
_impl_.user_time_) -
13848 reinterpret_cast<char*
>(&
_impl_.best_objective_bound_)) +
sizeof(
_impl_.user_time_));
13850 if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
13851 ::memset(&
_impl_.deterministic_time_, 0,
static_cast<::
size_t>(
13852 reinterpret_cast<char*
>(&
_impl_.status_) -
13853 reinterpret_cast<char*
>(&
_impl_.deterministic_time_)) +
sizeof(
_impl_.status_));
13855 _impl_._has_bits_.Clear();
13856 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
13859#if defined(PROTOBUF_CUSTOM_VTABLE)
13861 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
13862 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
13863 const CpSolverResponse& this_ =
static_cast<const CpSolverResponse&
>(base);
13866 ::uint8_t* PROTOBUF_NONNULL target,
13867 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
13868 const CpSolverResponse& this_ = *
this;
13870 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
13871 this_.CheckHasBitConsistency();
13874 ::uint32_t cached_has_bits = 0;
13875 (void)cached_has_bits;
13877 cached_has_bits = this_.
_impl_._has_bits_[0];
13879 if (CheckHasBit(cached_has_bits, 0x00800000U)) {
13880 if (this_._internal_status() != 0) {
13881 target = stream->EnsureSpace(target);
13882 target = ::_pbi::WireFormatLite::WriteEnumToArray(
13883 1, this_._internal_status(), target);
13888 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
13890 int byte_size = this_._impl_._solution_cached_byte_size_.Get();
13891 if (byte_size > 0) {
13892 target = stream->WriteInt64Packed(
13893 2, this_._internal_solution(), byte_size, target);
13899 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
13900 if (::absl::bit_cast<::uint64_t>(this_._internal_objective_value()) != 0) {
13901 target = stream->EnsureSpace(target);
13902 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
13903 3, this_._internal_objective_value(), target);
13908 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
13909 if (::absl::bit_cast<::uint64_t>(this_._internal_best_objective_bound()) != 0) {
13910 target = stream->EnsureSpace(target);
13911 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
13912 4, this_._internal_best_objective_bound(), target);
13917 if (CheckHasBit(cached_has_bits, 0x00000200U)) {
13918 if (this_._internal_num_booleans() != 0) {
13920 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<10>(
13921 stream, this_._internal_num_booleans(), target);
13926 if (CheckHasBit(cached_has_bits, 0x00000400U)) {
13927 if (this_._internal_num_conflicts() != 0) {
13929 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<11>(
13930 stream, this_._internal_num_conflicts(), target);
13935 if (CheckHasBit(cached_has_bits, 0x00000800U)) {
13936 if (this_._internal_num_branches() != 0) {
13938 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<12>(
13939 stream, this_._internal_num_branches(), target);
13944 if (CheckHasBit(cached_has_bits, 0x00001000U)) {
13945 if (this_._internal_num_binary_propagations() != 0) {
13947 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<13>(
13948 stream, this_._internal_num_binary_propagations(), target);
13953 if (CheckHasBit(cached_has_bits, 0x00002000U)) {
13954 if (this_._internal_num_integer_propagations() != 0) {
13956 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<14>(
13957 stream, this_._internal_num_integer_propagations(), target);
13962 if (CheckHasBit(cached_has_bits, 0x00004000U)) {
13963 if (::absl::bit_cast<::uint64_t>(this_._internal_wall_time()) != 0) {
13964 target = stream->EnsureSpace(target);
13965 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
13966 15, this_._internal_wall_time(), target);
13971 if (CheckHasBit(cached_has_bits, 0x00008000U)) {
13972 if (::absl::bit_cast<::uint64_t>(this_._internal_user_time()) != 0) {
13973 target = stream->EnsureSpace(target);
13974 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
13975 16, this_._internal_user_time(), target);
13980 if (CheckHasBit(cached_has_bits, 0x00010000U)) {
13981 if (::absl::bit_cast<::uint64_t>(this_._internal_deterministic_time()) != 0) {
13982 target = stream->EnsureSpace(target);
13983 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
13984 17, this_._internal_deterministic_time(), target);
13989 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
13990 if (!this_._internal_solution_info().empty()) {
13991 const ::std::string& _s = this_._internal_solution_info();
13992 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
13993 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.CpSolverResponse.solution_info");
13994 target = stream->WriteStringMaybeAliased(20, _s, target);
13999 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
14000 for (
unsigned i = 0, n =
static_cast<unsigned>(
14001 this_._internal_tightened_variables_size());
14003 const auto& repfield = this_._internal_tightened_variables().Get(
i);
14005 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
14006 21, repfield, repfield.GetCachedSize(),
14012 if (CheckHasBit(cached_has_bits, 0x00020000U)) {
14013 if (::absl::bit_cast<::uint64_t>(this_._internal_gap_integral()) != 0) {
14014 target = stream->EnsureSpace(target);
14015 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
14016 22, this_._internal_gap_integral(), target);
14021 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
14023 int byte_size = this_._impl_._sufficient_assumptions_for_infeasibility_cached_byte_size_.Get();
14024 if (byte_size > 0) {
14025 target = stream->WriteInt32Packed(
14026 23, this_._internal_sufficient_assumptions_for_infeasibility(), byte_size, target);
14032 if (CheckHasBit(cached_has_bits, 0x00040000U)) {
14033 if (this_._internal_num_restarts() != 0) {
14034 target = stream->EnsureSpace(target);
14035 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
14036 24, this_._internal_num_restarts(), target);
14041 if (CheckHasBit(cached_has_bits, 0x00080000U)) {
14042 if (this_._internal_num_lp_iterations() != 0) {
14043 target = stream->EnsureSpace(target);
14044 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
14045 25, this_._internal_num_lp_iterations(), target);
14050 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
14051 if (!this_._internal_solve_log().empty()) {
14052 const ::std::string& _s = this_._internal_solve_log();
14053 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
14054 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.CpSolverResponse.solve_log");
14055 target = stream->WriteStringMaybeAliased(26, _s, target);
14060 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
14061 for (
unsigned i = 0, n =
static_cast<unsigned>(
14062 this_._internal_additional_solutions_size());
14064 const auto& repfield = this_._internal_additional_solutions().Get(
i);
14066 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
14067 27, repfield, repfield.GetCachedSize(),
14073 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
14074 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
14075 28, *this_._impl_.integer_objective_, this_._impl_.integer_objective_->GetCachedSize(), target,
14080 if (CheckHasBit(cached_has_bits, 0x00100000U)) {
14081 if (this_._internal_inner_objective_lower_bound() != 0) {
14082 target = stream->EnsureSpace(target);
14083 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
14084 29, this_._internal_inner_objective_lower_bound(), target);
14089 if (CheckHasBit(cached_has_bits, 0x00200000U)) {
14090 if (this_._internal_num_integers() != 0) {
14091 target = stream->EnsureSpace(target);
14092 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
14093 30, this_._internal_num_integers(), target);
14098 if (CheckHasBit(cached_has_bits, 0x00400000U)) {
14099 if (this_._internal_num_fixed_booleans() != 0) {
14100 target = stream->EnsureSpace(target);
14101 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
14102 31, this_._internal_num_fixed_booleans(), target);
14106 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
14108 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
14109 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
14115#if defined(PROTOBUF_CUSTOM_VTABLE)
14117 const CpSolverResponse& this_ =
static_cast<const CpSolverResponse&
>(base);
14120 const CpSolverResponse& this_ = *
this;
14123 ::size_t total_size = 0;
14125 ::uint32_t cached_has_bits = 0;
14127 (void)cached_has_bits;
14129 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
14130 cached_has_bits = this_._impl_._has_bits_[0];
14131 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
14133 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
14135 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
14136 this_._internal_solution(), 1,
14137 this_._impl_._solution_cached_byte_size_);
14140 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
14141 total_size += 2UL * this_._internal_tightened_variables_size();
14142 for (
const auto& msg : this_._internal_tightened_variables()) {
14143 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
14147 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
14149 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
14150 this_._internal_sufficient_assumptions_for_infeasibility(), 2,
14151 this_._impl_._sufficient_assumptions_for_infeasibility_cached_byte_size_);
14154 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
14155 total_size += 2UL * this_._internal_additional_solutions_size();
14156 for (
const auto& msg : this_._internal_additional_solutions()) {
14157 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
14161 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
14162 if (!this_._internal_solution_info().empty()) {
14163 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
14164 this_._internal_solution_info());
14168 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
14169 if (!this_._internal_solve_log().empty()) {
14170 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
14171 this_._internal_solve_log());
14175 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
14177 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.integer_objective_);
14180 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
14181 if (::absl::bit_cast<::uint64_t>(this_._internal_objective_value()) != 0) {
14186 if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
14188 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
14189 if (::absl::bit_cast<::uint64_t>(this_._internal_best_objective_bound()) != 0) {
14194 if (CheckHasBit(cached_has_bits, 0x00000200U)) {
14195 if (this_._internal_num_booleans() != 0) {
14196 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
14197 this_._internal_num_booleans());
14201 if (CheckHasBit(cached_has_bits, 0x00000400U)) {
14202 if (this_._internal_num_conflicts() != 0) {
14203 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
14204 this_._internal_num_conflicts());
14208 if (CheckHasBit(cached_has_bits, 0x00000800U)) {
14209 if (this_._internal_num_branches() != 0) {
14210 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
14211 this_._internal_num_branches());
14215 if (CheckHasBit(cached_has_bits, 0x00001000U)) {
14216 if (this_._internal_num_binary_propagations() != 0) {
14217 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
14218 this_._internal_num_binary_propagations());
14222 if (CheckHasBit(cached_has_bits, 0x00002000U)) {
14223 if (this_._internal_num_integer_propagations() != 0) {
14224 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
14225 this_._internal_num_integer_propagations());
14229 if (CheckHasBit(cached_has_bits, 0x00004000U)) {
14230 if (::absl::bit_cast<::uint64_t>(this_._internal_wall_time()) != 0) {
14235 if (CheckHasBit(cached_has_bits, 0x00008000U)) {
14236 if (::absl::bit_cast<::uint64_t>(this_._internal_user_time()) != 0) {
14241 if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
14243 if (CheckHasBit(cached_has_bits, 0x00010000U)) {
14244 if (::absl::bit_cast<::uint64_t>(this_._internal_deterministic_time()) != 0) {
14249 if (CheckHasBit(cached_has_bits, 0x00020000U)) {
14250 if (::absl::bit_cast<::uint64_t>(this_._internal_gap_integral()) != 0) {
14255 if (CheckHasBit(cached_has_bits, 0x00040000U)) {
14256 if (this_._internal_num_restarts() != 0) {
14257 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
14258 this_._internal_num_restarts());
14262 if (CheckHasBit(cached_has_bits, 0x00080000U)) {
14263 if (this_._internal_num_lp_iterations() != 0) {
14264 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
14265 this_._internal_num_lp_iterations());
14269 if (CheckHasBit(cached_has_bits, 0x00100000U)) {
14270 if (this_._internal_inner_objective_lower_bound() != 0) {
14271 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
14272 this_._internal_inner_objective_lower_bound());
14276 if (CheckHasBit(cached_has_bits, 0x00200000U)) {
14277 if (this_._internal_num_integers() != 0) {
14278 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
14279 this_._internal_num_integers());
14283 if (CheckHasBit(cached_has_bits, 0x00400000U)) {
14284 if (this_._internal_num_fixed_booleans() != 0) {
14285 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
14286 this_._internal_num_fixed_booleans());
14290 if (CheckHasBit(cached_has_bits, 0x00800000U)) {
14291 if (this_._internal_status() != 0) {
14293 ::_pbi::WireFormatLite::EnumSize(this_._internal_status());
14297 return this_.MaybeComputeUnknownFieldsSize(total_size,
14298 &this_._impl_._cached_size_);
14301void CpSolverResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
14302 const ::google::protobuf::MessageLite& from_msg) {
14303 auto*
const _this =
14304 static_cast<CpSolverResponse*
>(&to_msg);
14305 auto& from =
static_cast<const CpSolverResponse&
>(from_msg);
14306 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
14307 from.CheckHasBitConsistency();
14311 ABSL_DCHECK_NE(&from, _this);
14312 ::uint32_t cached_has_bits = 0;
14313 (void)cached_has_bits;
14315 cached_has_bits = from.
_impl_._has_bits_[0];
14316 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
14317 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
14318 _this->_internal_mutable_solution()->
MergeFrom(from._internal_solution());
14320 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
14321 _this->_internal_mutable_tightened_variables()->InternalMergeFromWithArena(
14322 ::google::protobuf::MessageLite::internal_visibility(), arena,
14323 from._internal_tightened_variables());
14325 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
14326 _this->_internal_mutable_sufficient_assumptions_for_infeasibility()->
MergeFrom(from._internal_sufficient_assumptions_for_infeasibility());
14328 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
14329 _this->_internal_mutable_additional_solutions()->InternalMergeFromWithArena(
14330 ::google::protobuf::MessageLite::internal_visibility(), arena,
14331 from._internal_additional_solutions());
14333 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
14334 if (!from._internal_solution_info().empty()) {
14335 _this->_internal_set_solution_info(from._internal_solution_info());
14337 if (_this->
_impl_.solution_info_.IsDefault()) {
14338 _this->_internal_set_solution_info(
"");
14342 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
14343 if (!from._internal_solve_log().empty()) {
14344 _this->_internal_set_solve_log(from._internal_solve_log());
14346 if (_this->
_impl_.solve_log_.IsDefault()) {
14347 _this->_internal_set_solve_log(
"");
14351 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
14352 ABSL_DCHECK(from.
_impl_.integer_objective_ !=
nullptr);
14353 if (_this->
_impl_.integer_objective_ ==
nullptr) {
14354 _this->
_impl_.integer_objective_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.integer_objective_);
14356 _this->
_impl_.integer_objective_->MergeFrom(*from.
_impl_.integer_objective_);
14359 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
14360 if (::absl::bit_cast<::uint64_t>(from._internal_objective_value()) != 0) {
14361 _this->
_impl_.objective_value_ = from.
_impl_.objective_value_;
14365 if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
14366 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
14367 if (::absl::bit_cast<::uint64_t>(from._internal_best_objective_bound()) != 0) {
14368 _this->
_impl_.best_objective_bound_ = from.
_impl_.best_objective_bound_;
14371 if (CheckHasBit(cached_has_bits, 0x00000200U)) {
14372 if (from._internal_num_booleans() != 0) {
14373 _this->
_impl_.num_booleans_ = from.
_impl_.num_booleans_;
14376 if (CheckHasBit(cached_has_bits, 0x00000400U)) {
14377 if (from._internal_num_conflicts() != 0) {
14378 _this->
_impl_.num_conflicts_ = from.
_impl_.num_conflicts_;
14381 if (CheckHasBit(cached_has_bits, 0x00000800U)) {
14382 if (from._internal_num_branches() != 0) {
14383 _this->
_impl_.num_branches_ = from.
_impl_.num_branches_;
14386 if (CheckHasBit(cached_has_bits, 0x00001000U)) {
14387 if (from._internal_num_binary_propagations() != 0) {
14388 _this->
_impl_.num_binary_propagations_ = from.
_impl_.num_binary_propagations_;
14391 if (CheckHasBit(cached_has_bits, 0x00002000U)) {
14392 if (from._internal_num_integer_propagations() != 0) {
14393 _this->
_impl_.num_integer_propagations_ = from.
_impl_.num_integer_propagations_;
14396 if (CheckHasBit(cached_has_bits, 0x00004000U)) {
14397 if (::absl::bit_cast<::uint64_t>(from._internal_wall_time()) != 0) {
14401 if (CheckHasBit(cached_has_bits, 0x00008000U)) {
14402 if (::absl::bit_cast<::uint64_t>(from._internal_user_time()) != 0) {
14407 if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
14408 if (CheckHasBit(cached_has_bits, 0x00010000U)) {
14409 if (::absl::bit_cast<::uint64_t>(from._internal_deterministic_time()) != 0) {
14410 _this->
_impl_.deterministic_time_ = from.
_impl_.deterministic_time_;
14413 if (CheckHasBit(cached_has_bits, 0x00020000U)) {
14414 if (::absl::bit_cast<::uint64_t>(from._internal_gap_integral()) != 0) {
14415 _this->
_impl_.gap_integral_ = from.
_impl_.gap_integral_;
14418 if (CheckHasBit(cached_has_bits, 0x00040000U)) {
14419 if (from._internal_num_restarts() != 0) {
14420 _this->
_impl_.num_restarts_ = from.
_impl_.num_restarts_;
14423 if (CheckHasBit(cached_has_bits, 0x00080000U)) {
14424 if (from._internal_num_lp_iterations() != 0) {
14425 _this->
_impl_.num_lp_iterations_ = from.
_impl_.num_lp_iterations_;
14428 if (CheckHasBit(cached_has_bits, 0x00100000U)) {
14429 if (from._internal_inner_objective_lower_bound() != 0) {
14430 _this->
_impl_.inner_objective_lower_bound_ = from.
_impl_.inner_objective_lower_bound_;
14433 if (CheckHasBit(cached_has_bits, 0x00200000U)) {
14434 if (from._internal_num_integers() != 0) {
14435 _this->
_impl_.num_integers_ = from.
_impl_.num_integers_;
14438 if (CheckHasBit(cached_has_bits, 0x00400000U)) {
14439 if (from._internal_num_fixed_booleans() != 0) {
14440 _this->
_impl_.num_fixed_booleans_ = from.
_impl_.num_fixed_booleans_;
14443 if (CheckHasBit(cached_has_bits, 0x00800000U)) {
14444 if (from._internal_status() != 0) {
14449 _this->
_impl_._has_bits_[0] |= cached_has_bits;
14450 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
14451 from._internal_metadata_);
14456 if (&from ==
this)
return;
14462void CpSolverResponse::InternalSwap(CpSolverResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
14464 auto* arena = GetArena();
14465 ABSL_DCHECK_EQ(arena, other->GetArena());
14466 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
14467 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
14468 _impl_.solution_.InternalSwap(&other->_impl_.solution_);
14469 _impl_.tightened_variables_.InternalSwap(&other->_impl_.tightened_variables_);
14470 _impl_.sufficient_assumptions_for_infeasibility_.InternalSwap(&other->_impl_.sufficient_assumptions_for_infeasibility_);
14471 _impl_.additional_solutions_.InternalSwap(&other->_impl_.additional_solutions_);
14472 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.solution_info_, &other->_impl_.solution_info_, arena);
14473 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.solve_log_, &other->_impl_.solve_log_, arena);
14474 ::google::protobuf::internal::memswap<
14475 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.status_)
14477 - PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.integer_objective_)>(
14478 reinterpret_cast<char*
>(&
_impl_.integer_objective_),
14479 reinterpret_cast<char*
>(&other->_impl_.integer_objective_));
14483 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
14489namespace protobuf {
14493PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
14496 ::std::false_type{});
14497#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const AllDifferentConstraintProto &from)
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const AllDifferentConstraintProto &from)
::google::protobuf::Metadata GetMetadata() const
~AllDifferentConstraintProto() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
AllDifferentConstraintProto()
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const AutomatonConstraintProto &from)
::google::protobuf::Metadata GetMetadata() const
AutomatonConstraintProto()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
~AutomatonConstraintProto() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const AutomatonConstraintProto &from)
friend class ::google::protobuf::Arena
friend void swap(AutomatonConstraintProto &a, AutomatonConstraintProto &b)
decltype(::std::declval< BoolArgumentProto >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
void MergeFrom(const BoolArgumentProto &from)
~BoolArgumentProto() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
friend void swap(BoolArgumentProto &a, BoolArgumentProto &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const BoolArgumentProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::Arena
static constexpr auto InternalGenerateClassData_()
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
friend void swap(CircuitConstraintProto &a, CircuitConstraintProto &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
~CircuitConstraintProto() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const CircuitConstraintProto &from)
::size_t ByteSizeLong() const final
void CopyFrom(const CircuitConstraintProto &from)
static constexpr ::int32_t kOneofCaseOffset
static constexpr ::int32_t kHasBitsOffset
void set_allocated_automaton(::operations_research::sat::AutomatonConstraintProto *PROTOBUF_NULLABLE value)
void CopyFrom(const ConstraintProto &from)
void set_allocated_no_overlap_2d(::operations_research::sat::NoOverlap2DConstraintProto *PROTOBUF_NULLABLE value)
ConstraintCase constraint_case() const
friend class ::google::protobuf::MessageLite
void set_allocated_at_most_one(::operations_research::sat::BoolArgumentProto *PROTOBUF_NULLABLE value)
void set_allocated_circuit(::operations_research::sat::CircuitConstraintProto *PROTOBUF_NULLABLE value)
void MergeFrom(const ConstraintProto &from)
void set_allocated_interval(::operations_research::sat::IntervalConstraintProto *PROTOBUF_NULLABLE value)
void set_allocated_routes(::operations_research::sat::RoutesConstraintProto *PROTOBUF_NULLABLE value)
::size_t ByteSizeLong() const final
friend void swap(ConstraintProto &a, ConstraintProto &b)
void set_allocated_exactly_one(::operations_research::sat::BoolArgumentProto *PROTOBUF_NULLABLE value)
void set_allocated_no_overlap(::operations_research::sat::NoOverlapConstraintProto *PROTOBUF_NULLABLE value)
void set_allocated_int_div(::operations_research::sat::LinearArgumentProto *PROTOBUF_NULLABLE value)
void set_allocated_table(::operations_research::sat::TableConstraintProto *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_allocated_int_prod(::operations_research::sat::LinearArgumentProto *PROTOBUF_NULLABLE value)
void set_allocated_int_mod(::operations_research::sat::LinearArgumentProto *PROTOBUF_NULLABLE value)
void set_allocated_bool_xor(::operations_research::sat::BoolArgumentProto *PROTOBUF_NULLABLE value)
void set_allocated_cumulative(::operations_research::sat::CumulativeConstraintProto *PROTOBUF_NULLABLE value)
const ::operations_research::sat::BoolArgumentProto & bool_and() const
static constexpr auto InternalGenerateClassData_()
void set_allocated_all_diff(::operations_research::sat::AllDifferentConstraintProto *PROTOBUF_NULLABLE value)
void set_allocated_inverse(::operations_research::sat::InverseConstraintProto *PROTOBUF_NULLABLE value)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void set_allocated_linear(::operations_research::sat::LinearConstraintProto *PROTOBUF_NULLABLE value)
void set_allocated_bool_or(::operations_research::sat::BoolArgumentProto *PROTOBUF_NULLABLE value)
void set_allocated_element(::operations_research::sat::ElementConstraintProto *PROTOBUF_NULLABLE value)
::google::protobuf::Metadata GetMetadata() const
void set_allocated_lin_max(::operations_research::sat::LinearArgumentProto *PROTOBUF_NULLABLE value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_allocated_reservoir(::operations_research::sat::ReservoirConstraintProto *PROTOBUF_NULLABLE value)
~ConstraintProto() PROTOBUF_FINAL
void set_allocated_dummy_constraint(::operations_research::sat::ListOfVariablesProto *PROTOBUF_NULLABLE value)
void set_allocated_bool_and(::operations_research::sat::BoolArgumentProto *PROTOBUF_NULLABLE value)
friend class ::google::protobuf::Arena
void CopyFrom(const CpModelProto &from)
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
~CpModelProto() PROTOBUF_FINAL
void MergeFrom(const CpModelProto &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
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
void CopyFrom(const CpObjectiveProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
friend void swap(CpObjectiveProto &a, CpObjectiveProto &b)
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
void MergeFrom(const CpObjectiveProto &from)
friend class ::google::protobuf::Arena
~CpObjectiveProto() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
~CpSolverResponse() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const CpSolverResponse &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const CpSolverResponse &from)
static constexpr ::int32_t kHasBitsOffset
friend void swap(CpSolverSolution &a, CpSolverSolution &b)
friend class ::google::protobuf::MessageLite
~CpSolverSolution() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const CpSolverSolution &from)
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const CpSolverSolution &from)
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const CumulativeConstraintProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const CumulativeConstraintProto &from)
friend void swap(CumulativeConstraintProto &a, CumulativeConstraintProto &b)
~CumulativeConstraintProto() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
CumulativeConstraintProto()
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const DecisionStrategyProto &from)
~DecisionStrategyProto() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const DecisionStrategyProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const DenseMatrixProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(DenseMatrixProto &a, DenseMatrixProto &b)
void MergeFrom(const DenseMatrixProto &from)
::size_t ByteSizeLong() const final
~DenseMatrixProto() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
void MergeFrom(const ElementConstraintProto &from)
::size_t ByteSizeLong() const final
friend void swap(ElementConstraintProto &a, ElementConstraintProto &b)
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const ElementConstraintProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~ElementConstraintProto() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::Arena
~FloatObjectiveProto() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const FloatObjectiveProto &from)
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const FloatObjectiveProto &from)
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< IntegerVariableProto >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const IntegerVariableProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
~IntegerVariableProto() PROTOBUF_FINAL
friend void swap(IntegerVariableProto &a, IntegerVariableProto &b)
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const IntegerVariableProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::Metadata GetMetadata() const
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const IntervalConstraintProto &from)
IntervalConstraintProto()
void CopyFrom(const IntervalConstraintProto &from)
~IntervalConstraintProto() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
friend void swap(IntervalConstraintProto &a, IntervalConstraintProto &b)
friend class ::google::protobuf::Arena
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
friend void swap(InverseConstraintProto &a, InverseConstraintProto &b)
~InverseConstraintProto() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
void CopyFrom(const InverseConstraintProto &from)
void MergeFrom(const InverseConstraintProto &from)
static constexpr auto InternalGenerateClassData_()
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
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const LinearArgumentProto &from)
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
~LinearArgumentProto() PROTOBUF_FINAL
void CopyFrom(const LinearArgumentProto &from)
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
~LinearConstraintProto() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
void CopyFrom(const LinearConstraintProto &from)
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const LinearConstraintProto &from)
static constexpr ::int32_t kHasBitsOffset
void CopyFrom(const LinearExpressionProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
~LinearExpressionProto() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void MergeFrom(const LinearExpressionProto &from)
::size_t ByteSizeLong() const final
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const ListOfVariablesProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(ListOfVariablesProto &a, ListOfVariablesProto &b)
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const ListOfVariablesProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
~ListOfVariablesProto() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const NoOverlap2DConstraintProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const NoOverlap2DConstraintProto &from)
friend void swap(NoOverlap2DConstraintProto &a, NoOverlap2DConstraintProto &b)
~NoOverlap2DConstraintProto() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
NoOverlap2DConstraintProto()
static constexpr ::int32_t kHasBitsOffset
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
~NoOverlapConstraintProto() PROTOBUF_FINAL
NoOverlapConstraintProto()
static constexpr auto InternalGenerateClassData_()
friend void swap(NoOverlapConstraintProto &a, NoOverlapConstraintProto &b)
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const NoOverlapConstraintProto &from)
void MergeFrom(const NoOverlapConstraintProto &from)
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 class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
~PartialVariableAssignment() PROTOBUF_FINAL
void MergeFrom(const PartialVariableAssignment &from)
PartialVariableAssignment()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const PartialVariableAssignment &from)
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
ReservoirConstraintProto()
void MergeFrom(const ReservoirConstraintProto &from)
void CopyFrom(const ReservoirConstraintProto &from)
~ReservoirConstraintProto() PROTOBUF_FINAL
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(ReservoirConstraintProto &a, ReservoirConstraintProto &b)
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
static constexpr ::int32_t kHasBitsOffset
static constexpr ::int32_t kHasBitsOffset
~RoutesConstraintProto_NodeExpressions() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
RoutesConstraintProto_NodeExpressions()
friend void swap(RoutesConstraintProto_NodeExpressions &a, RoutesConstraintProto_NodeExpressions &b)
::size_t ByteSizeLong() const final
void CopyFrom(const RoutesConstraintProto_NodeExpressions &from)
friend class ::google::protobuf::Arena
void MergeFrom(const RoutesConstraintProto_NodeExpressions &from)
friend class ::google::protobuf::MessageLite
void CopyFrom(const RoutesConstraintProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
void MergeFrom(const RoutesConstraintProto &from)
~RoutesConstraintProto() PROTOBUF_FINAL
friend void swap(RoutesConstraintProto &a, RoutesConstraintProto &b)
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::Arena
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
~SparsePermutationProto() PROTOBUF_FINAL
void CopyFrom(const SparsePermutationProto &from)
void MergeFrom(const SparsePermutationProto &from)
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
static constexpr ::int32_t kHasBitsOffset
~SymmetryProto() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
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
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const SymmetryProto &from)
void MergeFrom(const SymmetryProto &from)
friend void swap(SymmetryProto &a, SymmetryProto &b)
::size_t ByteSizeLong() const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
void MergeFrom(const TableConstraintProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const TableConstraintProto &from)
~TableConstraintProto() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(TableConstraintProto &a, TableConstraintProto &b)
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::Arena
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fsat_2fcp_5fmodel_2eproto[3]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fsat_2fcp_5fmodel_2eproto
::absl::once_flag descriptor_table_ortools_2fsat_2fcp_5fmodel_2eproto_once
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fsat_2fcp_5fmodel_2eproto
const ::uint32_t TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearExpressionProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AllDifferentConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CpObjectiveProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SymmetryProtoDefaultTypeInternal _SymmetryProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PartialVariableAssignment_class_data_
PROTOBUF_CONSTINIT const uint32_t CpSolverStatus_internal_data_[]
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearConstraintProtoDefaultTypeInternal _LinearConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CpSolverResponse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull DenseMatrixProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListOfVariablesProtoDefaultTypeInternal _ListOfVariablesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntervalConstraintProtoDefaultTypeInternal _IntervalConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull BoolArgumentProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CircuitConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CpModelProtoDefaultTypeInternal _CpModelProto_default_instance_
DecisionStrategyProto_DomainReductionStrategy
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL CpSolverStatus_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DenseMatrixProtoDefaultTypeInternal _DenseMatrixProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull NoOverlap2DConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstraintProtoDefaultTypeInternal _ConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FloatObjectiveProtoDefaultTypeInternal _FloatObjectiveProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NoOverlap2DConstraintProtoDefaultTypeInternal _NoOverlap2DConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CpObjectiveProtoDefaultTypeInternal _CpObjectiveProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull FloatObjectiveProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InverseConstraintProtoDefaultTypeInternal _InverseConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearExpressionProtoDefaultTypeInternal _LinearExpressionProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CpSolverSolution_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ElementConstraintProtoDefaultTypeInternal _ElementConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CumulativeConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AutomatonConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RoutesConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NoOverlapConstraintProtoDefaultTypeInternal _NoOverlapConstraintProto_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL DecisionStrategyProto_DomainReductionStrategy_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TableConstraintProtoDefaultTypeInternal _TableConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoutesConstraintProtoDefaultTypeInternal _RoutesConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull DecisionStrategyProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IntegerVariableProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RoutesConstraintProto_NodeExpressions_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull TableConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntegerVariableProtoDefaultTypeInternal _IntegerVariableProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparsePermutationProtoDefaultTypeInternal _SparsePermutationProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DecisionStrategyProtoDefaultTypeInternal _DecisionStrategyProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearExpressionProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartialVariableAssignmentDefaultTypeInternal _PartialVariableAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparsePermutationProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AllDifferentConstraintProtoDefaultTypeInternal _AllDifferentConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CpModelProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AutomatonConstraintProtoDefaultTypeInternal _AutomatonConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CircuitConstraintProtoDefaultTypeInternal _CircuitConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ReservoirConstraintProto_class_data_
DecisionStrategyProto_VariableSelectionStrategy
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CpSolverSolutionDefaultTypeInternal _CpSolverSolution_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull NoOverlapConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ListOfVariablesProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CumulativeConstraintProtoDefaultTypeInternal _CumulativeConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ElementConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearArgumentProtoDefaultTypeInternal _LinearArgumentProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull InverseConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReservoirConstraintProtoDefaultTypeInternal _ReservoirConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearArgumentProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CpSolverResponseDefaultTypeInternal _CpSolverResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolArgumentProtoDefaultTypeInternal _BoolArgumentProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoutesConstraintProto_NodeExpressionsDefaultTypeInternal _RoutesConstraintProto_NodeExpressions_default_instance_
PROTOBUF_CONSTINIT const uint32_t DecisionStrategyProto_VariableSelectionStrategy_internal_data_[]
PROTOBUF_CONSTINIT const uint32_t DecisionStrategyProto_DomainReductionStrategy_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SymmetryProto_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL DecisionStrategyProto_VariableSelectionStrategy_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IntervalConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PartialVariableAssignment_class_data_
PROTOBUF_CONSTEXPR AllDifferentConstraintProtoDefaultTypeInternal()
AllDifferentConstraintProto _instance
~AllDifferentConstraintProtoDefaultTypeInternal()
~AutomatonConstraintProtoDefaultTypeInternal()
AutomatonConstraintProto _instance
PROTOBUF_CONSTEXPR AutomatonConstraintProtoDefaultTypeInternal()
~BoolArgumentProtoDefaultTypeInternal()
BoolArgumentProto _instance
PROTOBUF_CONSTEXPR BoolArgumentProtoDefaultTypeInternal()
CircuitConstraintProto _instance
~CircuitConstraintProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR CircuitConstraintProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR ConstraintProtoDefaultTypeInternal()
~ConstraintProtoDefaultTypeInternal()
ConstraintProto _instance
PROTOBUF_CONSTEXPR CpModelProtoDefaultTypeInternal()
~CpModelProtoDefaultTypeInternal()
CpObjectiveProto _instance
~CpObjectiveProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR CpObjectiveProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR CpSolverResponseDefaultTypeInternal()
CpSolverResponse _instance
~CpSolverResponseDefaultTypeInternal()
~CpSolverSolutionDefaultTypeInternal()
PROTOBUF_CONSTEXPR CpSolverSolutionDefaultTypeInternal()
CpSolverSolution _instance
PROTOBUF_CONSTEXPR CumulativeConstraintProtoDefaultTypeInternal()
~CumulativeConstraintProtoDefaultTypeInternal()
CumulativeConstraintProto _instance
DecisionStrategyProto _instance
PROTOBUF_CONSTEXPR DecisionStrategyProtoDefaultTypeInternal()
~DecisionStrategyProtoDefaultTypeInternal()
DenseMatrixProto _instance
~DenseMatrixProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR DenseMatrixProtoDefaultTypeInternal()
~ElementConstraintProtoDefaultTypeInternal()
ElementConstraintProto _instance
PROTOBUF_CONSTEXPR ElementConstraintProtoDefaultTypeInternal()
FloatObjectiveProto _instance
~FloatObjectiveProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR FloatObjectiveProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR IntegerVariableProtoDefaultTypeInternal()
~IntegerVariableProtoDefaultTypeInternal()
IntegerVariableProto _instance
IntervalConstraintProto _instance
~IntervalConstraintProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR IntervalConstraintProtoDefaultTypeInternal()
InverseConstraintProto _instance
PROTOBUF_CONSTEXPR InverseConstraintProtoDefaultTypeInternal()
~InverseConstraintProtoDefaultTypeInternal()
~LinearArgumentProtoDefaultTypeInternal()
LinearArgumentProto _instance
PROTOBUF_CONSTEXPR LinearArgumentProtoDefaultTypeInternal()
LinearConstraintProto _instance
PROTOBUF_CONSTEXPR LinearConstraintProtoDefaultTypeInternal()
~LinearConstraintProtoDefaultTypeInternal()
~LinearExpressionProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR LinearExpressionProtoDefaultTypeInternal()
LinearExpressionProto _instance
ListOfVariablesProto _instance
~ListOfVariablesProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR ListOfVariablesProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR NoOverlap2DConstraintProtoDefaultTypeInternal()
~NoOverlap2DConstraintProtoDefaultTypeInternal()
NoOverlap2DConstraintProto _instance
PROTOBUF_CONSTEXPR NoOverlapConstraintProtoDefaultTypeInternal()
~NoOverlapConstraintProtoDefaultTypeInternal()
NoOverlapConstraintProto _instance
PartialVariableAssignment _instance
PROTOBUF_CONSTEXPR PartialVariableAssignmentDefaultTypeInternal()
~PartialVariableAssignmentDefaultTypeInternal()
ReservoirConstraintProto _instance
PROTOBUF_CONSTEXPR ReservoirConstraintProtoDefaultTypeInternal()
~ReservoirConstraintProtoDefaultTypeInternal()
RoutesConstraintProto _instance
~RoutesConstraintProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR RoutesConstraintProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR RoutesConstraintProto_NodeExpressionsDefaultTypeInternal()
RoutesConstraintProto_NodeExpressions _instance
~RoutesConstraintProto_NodeExpressionsDefaultTypeInternal()
SparsePermutationProto _instance
~SparsePermutationProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR SparsePermutationProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR SymmetryProtoDefaultTypeInternal()
~SymmetryProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR TableConstraintProtoDefaultTypeInternal()
~TableConstraintProtoDefaultTypeInternal()
TableConstraintProto _instance
::google::protobuf::Message *PROTOBUF_NULLABLE lin_max_
::google::protobuf::Message *PROTOBUF_NULLABLE int_mod_
::google::protobuf::Message *PROTOBUF_NULLABLE table_
::google::protobuf::Message *PROTOBUF_NULLABLE no_overlap_2d_
::google::protobuf::Message *PROTOBUF_NULLABLE routes_
::google::protobuf::Message *PROTOBUF_NULLABLE automaton_
::google::protobuf::Message *PROTOBUF_NULLABLE exactly_one_
::google::protobuf::Message *PROTOBUF_NULLABLE interval_
::google::protobuf::Message *PROTOBUF_NULLABLE bool_or_
::google::protobuf::Message *PROTOBUF_NULLABLE element_
::google::protobuf::Message *PROTOBUF_NULLABLE no_overlap_
::google::protobuf::Message *PROTOBUF_NULLABLE circuit_
::google::protobuf::Message *PROTOBUF_NULLABLE int_prod_
::google::protobuf::Message *PROTOBUF_NULLABLE all_diff_
::google::protobuf::Message *PROTOBUF_NULLABLE linear_
::google::protobuf::Message *PROTOBUF_NULLABLE reservoir_
::google::protobuf::Message *PROTOBUF_NULLABLE dummy_constraint_
::google::protobuf::Message *PROTOBUF_NULLABLE int_div_
::google::protobuf::Message *PROTOBUF_NULLABLE bool_and_
::google::protobuf::Message *PROTOBUF_NULLABLE bool_xor_
::google::protobuf::Message *PROTOBUF_NULLABLE inverse_
::google::protobuf::Message *PROTOBUF_NULLABLE at_most_one_
::google::protobuf::Message *PROTOBUF_NULLABLE cumulative_