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
33 _support_cached_byte_size_{0},
35 _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
61 _vars_cached_byte_size_{0},
63 _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
89 _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
115 _x_intervals_cached_byte_size_{0},
117 _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
143 _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
198 _vars_cached_byte_size_{0},
200 _coeffs_cached_byte_size_{0},
202 _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
228 _f_direct_cached_byte_size_{0},
230 _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
342 _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
404 _tails_cached_byte_size_{0},
406 _heads_cached_byte_size_{0},
408 _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
434 _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
1075 ::_pbi::kInvalidFieldOffsetTag,
1076 ::_pbi::kInvalidFieldOffsetTag,
1077 ::_pbi::kInvalidFieldOffsetTag,
1078 ::_pbi::kInvalidFieldOffsetTag,
1079 ::_pbi::kInvalidFieldOffsetTag,
1080 ::_pbi::kInvalidFieldOffsetTag,
1081 ::_pbi::kInvalidFieldOffsetTag,
1082 ::_pbi::kInvalidFieldOffsetTag,
1083 ::_pbi::kInvalidFieldOffsetTag,
1084 ::_pbi::kInvalidFieldOffsetTag,
1085 ::_pbi::kInvalidFieldOffsetTag,
1086 ::_pbi::kInvalidFieldOffsetTag,
1087 ::_pbi::kInvalidFieldOffsetTag,
1088 ::_pbi::kInvalidFieldOffsetTag,
1089 ::_pbi::kInvalidFieldOffsetTag,
1090 ::_pbi::kInvalidFieldOffsetTag,
1091 ::_pbi::kInvalidFieldOffsetTag,
1092 ::_pbi::kInvalidFieldOffsetTag,
1093 ::_pbi::kInvalidFieldOffsetTag,
1094 ::_pbi::kInvalidFieldOffsetTag,
1095 ::_pbi::kInvalidFieldOffsetTag,
1096 ::_pbi::kInvalidFieldOffsetTag,
1097 ::_pbi::kInvalidFieldOffsetTag,
1261static const ::_pbi::MigrationSchema
1328 "\n\032ortools/sat/cp_model.proto\022\027operations"
1329 "_research.sat\"4\n\024IntegerVariableProto\022\014\n"
1330 "\004name\030\001 \001(\t\022\016\n\006domain\030\002 \003(\003\"%\n\021BoolArgum"
1331 "entProto\022\020\n\010literals\030\001 \003(\005\"E\n\025LinearExpr"
1332 "essionProto\022\014\n\004vars\030\001 \003(\005\022\016\n\006coeffs\030\002 \003("
1333 "\003\022\016\n\006offset\030\003 \001(\003\"\224\001\n\023LinearArgumentProt"
1334 "o\022>\n\006target\030\001 \001(\0132..operations_research."
1335 "sat.LinearExpressionProto\022=\n\005exprs\030\002 \003(\013"
1336 "2..operations_research.sat.LinearExpress"
1337 "ionProto\"\\\n\033AllDifferentConstraintProto\022"
1338 "=\n\005exprs\030\001 \003(\0132..operations_research.sat"
1339 ".LinearExpressionProto\"E\n\025LinearConstrai"
1340 "ntProto\022\014\n\004vars\030\001 \003(\005\022\016\n\006coeffs\030\002 \003(\003\022\016\n"
1341 "\006domain\030\003 \003(\003\"\221\002\n\026ElementConstraintProto"
1342 "\022\r\n\005index\030\001 \001(\005\022\016\n\006target\030\002 \001(\005\022\014\n\004vars\030"
1343 "\003 \003(\005\022D\n\014linear_index\030\004 \001(\0132..operations"
1344 "_research.sat.LinearExpressionProto\022E\n\rl"
1345 "inear_target\030\005 \001(\0132..operations_research"
1346 ".sat.LinearExpressionProto\022=\n\005exprs\030\006 \003("
1347 "\0132..operations_research.sat.LinearExpres"
1348 "sionProto\"\323\001\n\027IntervalConstraintProto\022=\n"
1349 "\005start\030\004 \001(\0132..operations_research.sat.L"
1350 "inearExpressionProto\022;\n\003end\030\005 \001(\0132..oper"
1351 "ations_research.sat.LinearExpressionProt"
1352 "o\022<\n\004size\030\006 \001(\0132..operations_research.sa"
1353 "t.LinearExpressionProto\"-\n\030NoOverlapCons"
1354 "traintProto\022\021\n\tintervals\030\001 \003(\005\"F\n\032NoOver"
1355 "lap2DConstraintProto\022\023\n\013x_intervals\030\001 \003("
1356 "\005\022\023\n\013y_intervals\030\002 \003(\005\"\261\001\n\031CumulativeCon"
1357 "straintProto\022@\n\010capacity\030\001 \001(\0132..operati"
1358 "ons_research.sat.LinearExpressionProto\022\021"
1359 "\n\tintervals\030\002 \003(\005\022\?\n\007demands\030\003 \003(\0132..ope"
1360 "rations_research.sat.LinearExpressionPro"
1361 "to\"\352\001\n\030ReservoirConstraintProto\022\021\n\tmin_l"
1362 "evel\030\001 \001(\003\022\021\n\tmax_level\030\002 \001(\003\022B\n\ntime_ex"
1363 "prs\030\003 \003(\0132..operations_research.sat.Line"
1364 "arExpressionProto\022E\n\rlevel_changes\030\006 \003(\013"
1365 "2..operations_research.sat.LinearExpress"
1366 "ionProto\022\027\n\017active_literals\030\005 \003(\005J\004\010\004\020\005\""
1367 "H\n\026CircuitConstraintProto\022\r\n\005tails\030\003 \003(\005"
1368 "\022\r\n\005heads\030\004 \003(\005\022\020\n\010literals\030\005 \003(\005\"\220\002\n\025Ro"
1369 "utesConstraintProto\022\r\n\005tails\030\001 \003(\005\022\r\n\005he"
1370 "ads\030\002 \003(\005\022\020\n\010literals\030\003 \003(\005\022\017\n\007demands\030\004"
1371 " \003(\005\022\020\n\010capacity\030\005 \001(\003\022R\n\ndimensions\030\006 \003"
1372 "(\0132>.operations_research.sat.RoutesConst"
1373 "raintProto.NodeExpressions\032P\n\017NodeExpres"
1374 "sions\022=\n\005exprs\030\001 \003(\0132..operations_resear"
1375 "ch.sat.LinearExpressionProto\"\204\001\n\024TableCo"
1376 "nstraintProto\022\014\n\004vars\030\001 \003(\005\022\016\n\006values\030\002 "
1377 "\003(\003\022=\n\005exprs\030\004 \003(\0132..operations_research"
1378 ".sat.LinearExpressionProto\022\017\n\007negated\030\003 "
1379 "\001(\010\"=\n\026InverseConstraintProto\022\020\n\010f_direc"
1380 "t\030\001 \003(\005\022\021\n\tf_inverse\030\002 \003(\005\"\341\001\n\030Automaton"
1381 "ConstraintProto\022\026\n\016starting_state\030\002 \001(\003\022"
1382 "\024\n\014final_states\030\003 \003(\003\022\027\n\017transition_tail"
1383 "\030\004 \003(\003\022\027\n\017transition_head\030\005 \003(\003\022\030\n\020trans"
1384 "ition_label\030\006 \003(\003\022\014\n\004vars\030\007 \003(\005\022=\n\005exprs"
1385 "\030\010 \003(\0132..operations_research.sat.LinearE"
1386 "xpressionProto\"$\n\024ListOfVariablesProto\022\014"
1387 "\n\004vars\030\001 \003(\005\"\360\014\n\017ConstraintProto\022\014\n\004name"
1388 "\030\001 \001(\t\022\033\n\023enforcement_literal\030\002 \003(\005\022=\n\007b"
1389 "ool_or\030\003 \001(\0132*.operations_research.sat.B"
1390 "oolArgumentProtoH\000\022>\n\010bool_and\030\004 \001(\0132*.o"
1391 "perations_research.sat.BoolArgumentProto"
1392 "H\000\022A\n\013at_most_one\030\032 \001(\0132*.operations_res"
1393 "earch.sat.BoolArgumentProtoH\000\022A\n\013exactly"
1394 "_one\030\035 \001(\0132*.operations_research.sat.Boo"
1395 "lArgumentProtoH\000\022>\n\010bool_xor\030\005 \001(\0132*.ope"
1396 "rations_research.sat.BoolArgumentProtoH\000"
1397 "\022\?\n\007int_div\030\007 \001(\0132,.operations_research."
1398 "sat.LinearArgumentProtoH\000\022\?\n\007int_mod\030\010 \001"
1399 "(\0132,.operations_research.sat.LinearArgum"
1400 "entProtoH\000\022@\n\010int_prod\030\013 \001(\0132,.operation"
1401 "s_research.sat.LinearArgumentProtoH\000\022\?\n\007"
1402 "lin_max\030\033 \001(\0132,.operations_research.sat."
1403 "LinearArgumentProtoH\000\022@\n\006linear\030\014 \001(\0132.."
1404 "operations_research.sat.LinearConstraint"
1405 "ProtoH\000\022H\n\010all_diff\030\r \001(\01324.operations_r"
1406 "esearch.sat.AllDifferentConstraintProtoH"
1407 "\000\022B\n\007element\030\016 \001(\0132/.operations_research"
1408 ".sat.ElementConstraintProtoH\000\022B\n\007circuit"
1409 "\030\017 \001(\0132/.operations_research.sat.Circuit"
1410 "ConstraintProtoH\000\022@\n\006routes\030\027 \001(\0132..oper"
1411 "ations_research.sat.RoutesConstraintProt"
1412 "oH\000\022>\n\005table\030\020 \001(\0132-.operations_research"
1413 ".sat.TableConstraintProtoH\000\022F\n\tautomaton"
1414 "\030\021 \001(\01321.operations_research.sat.Automat"
1415 "onConstraintProtoH\000\022B\n\007inverse\030\022 \001(\0132/.o"
1416 "perations_research.sat.InverseConstraint"
1417 "ProtoH\000\022F\n\treservoir\030\030 \001(\01321.operations_"
1418 "research.sat.ReservoirConstraintProtoH\000\022"
1419 "D\n\010interval\030\023 \001(\01320.operations_research."
1420 "sat.IntervalConstraintProtoH\000\022G\n\nno_over"
1421 "lap\030\024 \001(\01321.operations_research.sat.NoOv"
1422 "erlapConstraintProtoH\000\022L\n\rno_overlap_2d\030"
1423 "\025 \001(\01323.operations_research.sat.NoOverla"
1424 "p2DConstraintProtoH\000\022H\n\ncumulative\030\026 \001(\013"
1425 "22.operations_research.sat.CumulativeCon"
1426 "straintProtoH\000\022I\n\020dummy_constraint\030\036 \001(\013"
1427 "2-.operations_research.sat.ListOfVariabl"
1428 "esProtoH\000B\014\n\nconstraint\"\340\001\n\020CpObjectiveP"
1429 "roto\022\014\n\004vars\030\001 \003(\005\022\016\n\006coeffs\030\004 \003(\003\022\016\n\006of"
1430 "fset\030\002 \001(\001\022\026\n\016scaling_factor\030\003 \001(\001\022\016\n\006do"
1431 "main\030\005 \003(\003\022\031\n\021scaling_was_exact\030\006 \001(\010\022\035\n"
1432 "\025integer_before_offset\030\007 \001(\003\022\034\n\024integer_"
1433 "after_offset\030\t \001(\003\022\036\n\026integer_scaling_fa"
1434 "ctor\030\010 \001(\003\"U\n\023FloatObjectiveProto\022\014\n\004var"
1435 "s\030\001 \003(\005\022\016\n\006coeffs\030\002 \003(\001\022\016\n\006offset\030\003 \001(\001\022"
1436 "\020\n\010maximize\030\004 \001(\010\"\201\005\n\025DecisionStrategyPr"
1437 "oto\022\021\n\tvariables\030\001 \003(\005\022=\n\005exprs\030\005 \003(\0132.."
1438 "operations_research.sat.LinearExpression"
1439 "Proto\022m\n\033variable_selection_strategy\030\002 \001"
1440 "(\0162H.operations_research.sat.DecisionStr"
1441 "ategyProto.VariableSelectionStrategy\022i\n\031"
1442 "domain_reduction_strategy\030\003 \001(\0162F.operat"
1443 "ions_research.sat.DecisionStrategyProto."
1444 "DomainReductionStrategy\"\224\001\n\031VariableSele"
1445 "ctionStrategy\022\020\n\014CHOOSE_FIRST\020\000\022\025\n\021CHOOS"
1446 "E_LOWEST_MIN\020\001\022\026\n\022CHOOSE_HIGHEST_MAX\020\002\022\032"
1447 "\n\026CHOOSE_MIN_DOMAIN_SIZE\020\003\022\032\n\026CHOOSE_MAX"
1448 "_DOMAIN_SIZE\020\004\"\244\001\n\027DomainReductionStrate"
1449 "gy\022\024\n\020SELECT_MIN_VALUE\020\000\022\024\n\020SELECT_MAX_V"
1450 "ALUE\020\001\022\025\n\021SELECT_LOWER_HALF\020\002\022\025\n\021SELECT_"
1451 "UPPER_HALF\020\003\022\027\n\023SELECT_MEDIAN_VALUE\020\004\022\026\n"
1452 "\022SELECT_RANDOM_HALF\020\005\"9\n\031PartialVariable"
1453 "Assignment\022\014\n\004vars\030\001 \003(\005\022\016\n\006values\030\002 \003(\003"
1454 "\">\n\026SparsePermutationProto\022\017\n\007support\030\001 "
1455 "\003(\005\022\023\n\013cycle_sizes\030\002 \003(\005\"G\n\020DenseMatrixP"
1456 "roto\022\020\n\010num_rows\030\001 \001(\005\022\020\n\010num_cols\030\002 \001(\005"
1457 "\022\017\n\007entries\030\003 \003(\005\"\224\001\n\rSymmetryProto\022E\n\014p"
1458 "ermutations\030\001 \003(\0132/.operations_research."
1459 "sat.SparsePermutationProto\022<\n\torbitopes\030"
1460 "\002 \003(\0132).operations_research.sat.DenseMat"
1461 "rixProto\"\216\004\n\014CpModelProto\022\014\n\004name\030\001 \001(\t\022"
1462 "@\n\tvariables\030\002 \003(\0132-.operations_research"
1463 ".sat.IntegerVariableProto\022=\n\013constraints"
1464 "\030\003 \003(\0132(.operations_research.sat.Constra"
1465 "intProto\022<\n\tobjective\030\004 \001(\0132).operations"
1466 "_research.sat.CpObjectiveProto\022N\n\030floati"
1467 "ng_point_objective\030\t \001(\0132,.operations_re"
1468 "search.sat.FloatObjectiveProto\022G\n\017search"
1469 "_strategy\030\005 \003(\0132..operations_research.sa"
1470 "t.DecisionStrategyProto\022I\n\rsolution_hint"
1471 "\030\006 \001(\01322.operations_research.sat.Partial"
1472 "VariableAssignment\022\023\n\013assumptions\030\007 \003(\005\022"
1473 "8\n\010symmetry\030\010 \001(\0132&.operations_research."
1474 "sat.SymmetryProto\"\"\n\020CpSolverSolution\022\016\n"
1475 "\006values\030\001 \003(\003\"\261\006\n\020CpSolverResponse\0227\n\006st"
1476 "atus\030\001 \001(\0162\'.operations_research.sat.CpS"
1477 "olverStatus\022\020\n\010solution\030\002 \003(\003\022\027\n\017objecti"
1478 "ve_value\030\003 \001(\001\022\034\n\024best_objective_bound\030\004"
1479 " \001(\001\022G\n\024additional_solutions\030\033 \003(\0132).ope"
1480 "rations_research.sat.CpSolverSolution\022J\n"
1481 "\023tightened_variables\030\025 \003(\0132-.operations_"
1482 "research.sat.IntegerVariableProto\0220\n(suf"
1483 "ficient_assumptions_for_infeasibility\030\027 "
1484 "\003(\005\022D\n\021integer_objective\030\034 \001(\0132).operati"
1485 "ons_research.sat.CpObjectiveProto\022#\n\033inn"
1486 "er_objective_lower_bound\030\035 \001(\003\022\024\n\014num_in"
1487 "tegers\030\036 \001(\003\022\024\n\014num_booleans\030\n \001(\003\022\032\n\022nu"
1488 "m_fixed_booleans\030\037 \001(\003\022\025\n\rnum_conflicts\030"
1489 "\013 \001(\003\022\024\n\014num_branches\030\014 \001(\003\022\037\n\027num_binar"
1490 "y_propagations\030\r \001(\003\022 \n\030num_integer_prop"
1491 "agations\030\016 \001(\003\022\024\n\014num_restarts\030\030 \001(\003\022\031\n\021"
1492 "num_lp_iterations\030\031 \001(\003\022\021\n\twall_time\030\017 \001"
1493 "(\001\022\021\n\tuser_time\030\020 \001(\001\022\032\n\022deterministic_t"
1494 "ime\030\021 \001(\001\022\024\n\014gap_integral\030\026 \001(\001\022\025\n\rsolut"
1495 "ion_info\030\024 \001(\t\022\021\n\tsolve_log\030\032 \001(\t*[\n\016CpS"
1496 "olverStatus\022\013\n\007UNKNOWN\020\000\022\021\n\rMODEL_INVALI"
1497 "D\020\001\022\014\n\010FEASIBLE\020\002\022\016\n\nINFEASIBLE\020\003\022\013\n\007OPT"
1498 "IMAL\020\004Bv\n\026com.google.ortools.satB\017CpMode"
1499 "lProtobufP\001Z4github.com/google/or-tools/"
1500 "ortools/sat/proto/cpmodel\252\002\022Google.OrToo"
1508 descriptor_table_protodef_ortools_2fsat_2fcp_5fmodel_2eproto,
1509 "ortools/sat/cp_model.proto",
1542class IntegerVariableProto::_Internal {
1545 decltype(::std::declval<IntegerVariableProto>()._impl_._has_bits_);
1551#if defined(PROTOBUF_CUSTOM_VTABLE)
1554 : ::google::protobuf::Message(arena) {
1559PROTOBUF_NDEBUG_INLINE IntegerVariableProto::Impl_::Impl_(
1560 ::google::protobuf::internal::InternalVisibility visibility,
1561 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1562 const ::operations_research::sat::IntegerVariableProto& from_msg)
1563 : _has_bits_{from._has_bits_},
1565 domain_{visibility, arena, from.domain_},
1566 _domain_cached_byte_size_{0},
1567 name_(arena, from.name_) {}
1570 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1572#if defined(PROTOBUF_CUSTOM_VTABLE)
1575 : ::google::protobuf::Message(arena) {
1579 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1580 from._internal_metadata_);
1581 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1585PROTOBUF_NDEBUG_INLINE IntegerVariableProto::Impl_::Impl_(
1586 ::google::protobuf::internal::InternalVisibility visibility,
1587 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1589 domain_{visibility, arena},
1590 _domain_cached_byte_size_{0},
1593inline void IntegerVariableProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1594 new (&
_impl_) Impl_(internal_visibility(), arena);
1600inline void IntegerVariableProto::SharedDtor(MessageLite& self) {
1602 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1603 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1604 this_.
_impl_.name_.Destroy();
1609 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1610 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1614 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1617 InternalGetArenaOffset(
1618 ::google::protobuf::Message::internal_visibility()),
1620 if (arena_bits.has_value()) {
1621 return ::google::protobuf::internal::MessageCreator::CopyInit(
1630 return ::google::protobuf::internal::ClassDataFull{
1631 ::google::protobuf::internal::ClassData{
1636 &IntegerVariableProto::MergeImpl,
1637 ::google::protobuf::Message::GetNewImpl<IntegerVariableProto>(),
1638#if defined(PROTOBUF_CUSTOM_VTABLE)
1639 &IntegerVariableProto::SharedDtor,
1646 &IntegerVariableProto::kDescriptorMethods,
1652PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1656PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1662PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1663const ::_pbi::TcParseTable<1, 2, 0, 57, 2>
1664IntegerVariableProto::_table_ = {
1669 offsetof(
decltype(_table_), field_lookup_table),
1671 offsetof(
decltype(_table_), field_entries),
1674 offsetof(
decltype(_table_), field_names),
1677 ::_pbi::TcParser::GenericFallback,
1678 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1679 ::_pbi::TcParser::GetTable<::operations_research::sat::IntegerVariableProto>(),
1683 {::_pbi::TcParser::FastV64P1,
1684 {18, 63, 0, PROTOBUF_FIELD_OFFSET(IntegerVariableProto, _impl_.domain_)}},
1686 {::_pbi::TcParser::FastUS1,
1693 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1696 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1701 "operations_research.sat.IntegerVariableProto"
1707 ::google::protobuf::internal::TSanWrite(&
_impl_);
1708 ::uint32_t cached_has_bits = 0;
1710 (void) cached_has_bits;
1713 cached_has_bits =
_impl_._has_bits_[0];
1714 if ((cached_has_bits & 0x00000001u) != 0) {
1715 _impl_.name_.ClearNonDefaultToEmpty();
1717 _impl_._has_bits_.Clear();
1718 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1721#if defined(PROTOBUF_CUSTOM_VTABLE)
1723 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1724 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1728 ::uint8_t* PROTOBUF_NONNULL target,
1729 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1733 ::uint32_t cached_has_bits = 0;
1734 (void)cached_has_bits;
1737 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
1738 if (!this_._internal_name().empty()) {
1739 const ::std::string& _s = this_._internal_name();
1740 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1741 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.IntegerVariableProto.name");
1742 target = stream->WriteStringMaybeAliased(1, _s, target);
1748 int byte_size = this_.
_impl_._domain_cached_byte_size_.Get();
1749 if (byte_size > 0) {
1750 target = stream->WriteInt64Packed(
1751 2, this_._internal_domain(), byte_size, target);
1755 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1757 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1758 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1764#if defined(PROTOBUF_CUSTOM_VTABLE)
1772 ::size_t total_size = 0;
1774 ::uint32_t cached_has_bits = 0;
1776 (void)cached_has_bits;
1778 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1783 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1784 this_._internal_domain(), 1,
1785 this_.
_impl_._domain_cached_byte_size_);
1790 cached_has_bits = this_.
_impl_._has_bits_[0];
1791 if ((cached_has_bits & 0x00000001u) != 0) {
1792 if (!this_._internal_name().empty()) {
1793 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1794 this_._internal_name());
1798 return this_.MaybeComputeUnknownFieldsSize(total_size,
1799 &this_.
_impl_._cached_size_);
1802void IntegerVariableProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1806 ABSL_DCHECK_NE(&from, _this);
1807 ::uint32_t cached_has_bits = 0;
1808 (void) cached_has_bits;
1810 _this->_internal_mutable_domain()->MergeFrom(from._internal_domain());
1811 cached_has_bits = from._impl_._has_bits_[0];
1812 if ((cached_has_bits & 0x00000001u) != 0) {
1813 if (!from._internal_name().empty()) {
1814 _this->_internal_set_name(from._internal_name());
1816 if (_this->_impl_.name_.IsDefault()) {
1817 _this->_internal_set_name(
"");
1821 _this->_impl_._has_bits_[0] |= cached_has_bits;
1822 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1827 if (&from ==
this)
return;
1833void IntegerVariableProto::InternalSwap(
IntegerVariableProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1835 auto* arena = GetArena();
1836 ABSL_DCHECK_EQ(arena, other->GetArena());
1837 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1838 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1839 _impl_.domain_.InternalSwap(&other->_impl_.domain_);
1840 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
1844 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1853#if defined(PROTOBUF_CUSTOM_VTABLE)
1856 : ::google::protobuf::Message(arena) {
1861PROTOBUF_NDEBUG_INLINE BoolArgumentProto::Impl_::Impl_(
1862 ::google::protobuf::internal::InternalVisibility visibility,
1863 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1864 const ::operations_research::sat::BoolArgumentProto& from_msg)
1865 : literals_{visibility, arena, from.literals_},
1866 _literals_cached_byte_size_{0},
1870 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1872#if defined(PROTOBUF_CUSTOM_VTABLE)
1875 : ::google::protobuf::Message(arena) {
1879 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1880 from._internal_metadata_);
1881 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1885PROTOBUF_NDEBUG_INLINE BoolArgumentProto::Impl_::Impl_(
1886 ::google::protobuf::internal::InternalVisibility visibility,
1887 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1888 : literals_{visibility, arena},
1889 _literals_cached_byte_size_{0},
1892inline void BoolArgumentProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1893 new (&
_impl_) Impl_(internal_visibility(), arena);
1899inline void BoolArgumentProto::SharedDtor(
MessageLite& self) {
1901 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1902 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1907 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1908 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1912 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1915 InternalGetArenaOffset(
1918 if (arena_bits.has_value()) {
1919 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1920 sizeof(BoolArgumentProto), alignof(BoolArgumentProto), *arena_bits);
1922 return ::google::protobuf::internal::MessageCreator(&BoolArgumentProto::PlacementNew_,
1923 sizeof(BoolArgumentProto),
1924 alignof(BoolArgumentProto));
1928 return ::google::protobuf::internal::ClassDataFull{
1929 ::google::protobuf::internal::ClassData{
1934 &BoolArgumentProto::MergeImpl,
1935 ::google::protobuf::Message::GetNewImpl<BoolArgumentProto>(),
1936#if defined(PROTOBUF_CUSTOM_VTABLE)
1937 &BoolArgumentProto::SharedDtor,
1944 &BoolArgumentProto::kDescriptorMethods,
1950PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1954PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1960PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1961const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
1962BoolArgumentProto::_table_ = {
1967 offsetof(
decltype(_table_), field_lookup_table),
1969 offsetof(
decltype(_table_), field_entries),
1972 offsetof(
decltype(_table_), field_names),
1975 ::_pbi::TcParser::GenericFallback,
1976 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1977 ::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>(),
1981 {::_pbi::TcParser::FastV32P1,
1982 {10, 63, 0, PROTOBUF_FIELD_OFFSET(BoolArgumentProto,
_impl_.literals_)}},
1987 {PROTOBUF_FIELD_OFFSET(BoolArgumentProto,
_impl_.literals_), 0, 0,
1988 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1996 ::google::protobuf::internal::TSanWrite(&
_impl_);
1997 ::uint32_t cached_has_bits = 0;
1999 (void) cached_has_bits;
2001 _impl_.literals_.Clear();
2002 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2005#if defined(PROTOBUF_CUSTOM_VTABLE)
2007 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2008 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2012 ::uint8_t* PROTOBUF_NONNULL target,
2013 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2017 ::uint32_t cached_has_bits = 0;
2018 (void)cached_has_bits;
2022 int byte_size = this_.
_impl_._literals_cached_byte_size_.Get();
2023 if (byte_size > 0) {
2024 target = stream->WriteInt32Packed(
2025 1, this_._internal_literals(), byte_size, target);
2029 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2031 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2032 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2038#if defined(PROTOBUF_CUSTOM_VTABLE)
2046 ::size_t total_size = 0;
2048 ::uint32_t cached_has_bits = 0;
2050 (void)cached_has_bits;
2052 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2057 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2058 this_._internal_literals(), 1,
2059 this_.
_impl_._literals_cached_byte_size_);
2062 return this_.MaybeComputeUnknownFieldsSize(total_size,
2063 &this_.
_impl_._cached_size_);
2066void BoolArgumentProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2067 auto*
const _this =
static_cast<BoolArgumentProto*
>(&to_msg);
2068 auto& from =
static_cast<const BoolArgumentProto&
>(from_msg);
2070 ABSL_DCHECK_NE(&from, _this);
2071 ::uint32_t cached_has_bits = 0;
2072 (void) cached_has_bits;
2074 _this->_internal_mutable_literals()->MergeFrom(from._internal_literals());
2075 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2080 if (&from ==
this)
return;
2086void BoolArgumentProto::InternalSwap(
BoolArgumentProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2088 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2089 _impl_.literals_.InternalSwap(&other->_impl_.literals_);
2093 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2100 decltype(::std::declval<LinearExpressionProto>()._impl_._has_bits_);
2106#if defined(PROTOBUF_CUSTOM_VTABLE)
2109 : ::google::protobuf::Message(arena) {
2114PROTOBUF_NDEBUG_INLINE LinearExpressionProto::Impl_::Impl_(
2115 ::google::protobuf::internal::InternalVisibility visibility,
2116 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2117 const ::operations_research::sat::LinearExpressionProto& from_msg)
2118 : _has_bits_{from._has_bits_},
2120 vars_{visibility, arena, from.vars_},
2121 _vars_cached_byte_size_{0},
2122 coeffs_{visibility, arena, from.coeffs_},
2123 _coeffs_cached_byte_size_{0} {}
2126 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2127 const LinearExpressionProto& from)
2128#if defined(PROTOBUF_CUSTOM_VTABLE)
2131 : ::google::protobuf::Message(arena) {
2135 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2136 from._internal_metadata_);
2137 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2138 _impl_.offset_ = from._impl_.offset_;
2142PROTOBUF_NDEBUG_INLINE LinearExpressionProto::Impl_::Impl_(
2143 ::google::protobuf::internal::InternalVisibility visibility,
2144 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2146 vars_{visibility, arena},
2147 _vars_cached_byte_size_{0},
2148 coeffs_{visibility, arena},
2149 _coeffs_cached_byte_size_{0} {}
2151inline void LinearExpressionProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2152 new (&
_impl_) Impl_(internal_visibility(), arena);
2159inline void LinearExpressionProto::SharedDtor(MessageLite& self) {
2161 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2162 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2167 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2168 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2172 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2175 InternalGetArenaOffset(
2179 InternalGetArenaOffset(
2182 if (arena_bits.has_value()) {
2183 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2184 sizeof(LinearExpressionProto), alignof(LinearExpressionProto), *arena_bits);
2186 return ::google::protobuf::internal::MessageCreator(&LinearExpressionProto::PlacementNew_,
2187 sizeof(LinearExpressionProto),
2188 alignof(LinearExpressionProto));
2192 return ::google::protobuf::internal::ClassDataFull{
2193 ::google::protobuf::internal::ClassData{
2198 &LinearExpressionProto::MergeImpl,
2199 ::google::protobuf::Message::GetNewImpl<LinearExpressionProto>(),
2200#if defined(PROTOBUF_CUSTOM_VTABLE)
2201 &LinearExpressionProto::SharedDtor,
2208 &LinearExpressionProto::kDescriptorMethods,
2214PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2218PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2224PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2225const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
2226LinearExpressionProto::_table_ = {
2231 offsetof(
decltype(_table_), field_lookup_table),
2233 offsetof(
decltype(_table_), field_entries),
2236 offsetof(
decltype(_table_), field_names),
2239 ::_pbi::TcParser::GenericFallback,
2240 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2241 ::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>(),
2244 {::_pbi::TcParser::MiniParse, {}},
2246 {::_pbi::TcParser::FastV32P1,
2249 {::_pbi::TcParser::FastV64P1,
2259 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
2262 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
2265 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2273 ::google::protobuf::internal::TSanWrite(&
_impl_);
2274 ::uint32_t cached_has_bits = 0;
2276 (void) cached_has_bits;
2280 _impl_.offset_ = ::int64_t{0};
2281 _impl_._has_bits_.Clear();
2282 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2285#if defined(PROTOBUF_CUSTOM_VTABLE)
2287 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2288 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2292 ::uint8_t* PROTOBUF_NONNULL target,
2293 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2297 ::uint32_t cached_has_bits = 0;
2298 (void)cached_has_bits;
2302 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
2303 if (byte_size > 0) {
2304 target = stream->WriteInt32Packed(
2305 1, this_._internal_vars(), byte_size, target);
2311 int byte_size = this_.
_impl_._coeffs_cached_byte_size_.Get();
2312 if (byte_size > 0) {
2313 target = stream->WriteInt64Packed(
2314 2, this_._internal_coeffs(), byte_size, target);
2319 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
2320 if (this_._internal_offset() != 0) {
2322 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
2323 stream, this_._internal_offset(), target);
2327 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2329 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2330 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2336#if defined(PROTOBUF_CUSTOM_VTABLE)
2344 ::size_t total_size = 0;
2346 ::uint32_t cached_has_bits = 0;
2348 (void)cached_has_bits;
2350 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2355 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2356 this_._internal_vars(), 1,
2357 this_._impl_._vars_cached_byte_size_);
2362 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
2363 this_._internal_coeffs(), 1,
2364 this_._impl_._coeffs_cached_byte_size_);
2369 cached_has_bits = this_._impl_._has_bits_[0];
2370 if ((cached_has_bits & 0x00000001u) != 0) {
2371 if (this_._internal_offset() != 0) {
2372 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2373 this_._internal_offset());
2377 return this_.MaybeComputeUnknownFieldsSize(total_size,
2378 &this_._impl_._cached_size_);
2381void LinearExpressionProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2385 ABSL_DCHECK_NE(&from, _this);
2386 ::uint32_t cached_has_bits = 0;
2387 (void) cached_has_bits;
2389 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
2390 _this->_internal_mutable_coeffs()->MergeFrom(from._internal_coeffs());
2391 cached_has_bits = from._impl_._has_bits_[0];
2392 if ((cached_has_bits & 0x00000001u) != 0) {
2393 if (from._internal_offset() != 0) {
2394 _this->_impl_.offset_ = from._impl_.offset_;
2397 _this->_impl_._has_bits_[0] |= cached_has_bits;
2398 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2403 if (&from ==
this)
return;
2409void LinearExpressionProto::InternalSwap(
LinearExpressionProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2411 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2412 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2413 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
2414 _impl_.coeffs_.InternalSwap(&other->_impl_.coeffs_);
2419 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2426 decltype(::std::declval<LinearArgumentProto>()._impl_._has_bits_);
2432#if defined(PROTOBUF_CUSTOM_VTABLE)
2435 : ::google::protobuf::Message(arena) {
2440PROTOBUF_NDEBUG_INLINE LinearArgumentProto::Impl_::Impl_(
2441 ::google::protobuf::internal::InternalVisibility visibility,
2442 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2443 const ::operations_research::sat::LinearArgumentProto& from_msg)
2444 : _has_bits_{from._has_bits_},
2446 exprs_{visibility, arena, from.exprs_} {}
2449 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2450 const LinearArgumentProto& from)
2451#if defined(PROTOBUF_CUSTOM_VTABLE)
2454 : ::google::protobuf::Message(arena) {
2458 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2459 from._internal_metadata_);
2460 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2461 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
2462 _impl_.target_ = ((cached_has_bits & 0x00000001u) != 0)
2463 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.target_)
2468PROTOBUF_NDEBUG_INLINE LinearArgumentProto::Impl_::Impl_(
2469 ::google::protobuf::internal::InternalVisibility visibility,
2470 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2472 exprs_{visibility, arena} {}
2474inline void LinearArgumentProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2475 new (&
_impl_) Impl_(internal_visibility(), arena);
2484 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2485 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2486 delete this_.
_impl_.target_;
2491 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2492 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2496 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2499 InternalGetArenaOffset(
2500 ::google::protobuf::Message::internal_visibility()),
2502 if (arena_bits.has_value()) {
2503 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2512 return ::google::protobuf::internal::ClassDataFull{
2513 ::google::protobuf::internal::ClassData{
2518 &LinearArgumentProto::MergeImpl,
2519 ::google::protobuf::Message::GetNewImpl<LinearArgumentProto>(),
2520#if defined(PROTOBUF_CUSTOM_VTABLE)
2521 &LinearArgumentProto::SharedDtor,
2528 &LinearArgumentProto::kDescriptorMethods,
2534PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2538PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2544PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2545const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
2546LinearArgumentProto::_table_ = {
2551 offsetof(
decltype(_table_), field_lookup_table),
2553 offsetof(
decltype(_table_), field_entries),
2556 offsetof(
decltype(_table_), aux_entries),
2559 ::_pbi::TcParser::GenericFallback,
2560 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2561 ::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>(),
2565 {::_pbi::TcParser::FastMtR1,
2566 {18, 63, 1, PROTOBUF_FIELD_OFFSET(LinearArgumentProto, _impl_.exprs_)}},
2568 {::_pbi::TcParser::FastMtS1,
2574 {PROTOBUF_FIELD_OFFSET(
LinearArgumentProto, _impl_.target_), _Internal::kHasBitsOffset + 0, 0,
2575 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2578 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2581 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
2582 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
2589 ::google::protobuf::internal::TSanWrite(&
_impl_);
2590 ::uint32_t cached_has_bits = 0;
2592 (void) cached_has_bits;
2595 cached_has_bits =
_impl_._has_bits_[0];
2596 if ((cached_has_bits & 0x00000001u) != 0) {
2597 ABSL_DCHECK(
_impl_.target_ !=
nullptr);
2600 _impl_._has_bits_.Clear();
2601 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2604#if defined(PROTOBUF_CUSTOM_VTABLE)
2606 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2607 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2611 ::uint8_t* PROTOBUF_NONNULL
target,
2612 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2616 ::uint32_t cached_has_bits = 0;
2617 (void)cached_has_bits;
2619 cached_has_bits = this_._impl_._has_bits_[0];
2621 if ((cached_has_bits & 0x00000001u) != 0) {
2622 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2623 1, *this_._impl_.target_, this_._impl_.target_->GetCachedSize(),
target,
2628 for (
unsigned i = 0, n =
static_cast<unsigned>(
2629 this_._internal_exprs_size());
2631 const auto& repfield = this_._internal_exprs().Get(
i);
2633 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2634 2, repfield, repfield.GetCachedSize(),
2638 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2640 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2641 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance),
target, stream);
2647#if defined(PROTOBUF_CUSTOM_VTABLE)
2655 ::size_t total_size = 0;
2657 ::uint32_t cached_has_bits = 0;
2659 (void)cached_has_bits;
2661 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2665 total_size += 1UL * this_._internal_exprs_size();
2666 for (
const auto& msg : this_._internal_exprs()) {
2667 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2673 cached_has_bits = this_._impl_._has_bits_[0];
2674 if ((cached_has_bits & 0x00000001u) != 0) {
2676 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.target_);
2679 return this_.MaybeComputeUnknownFieldsSize(total_size,
2680 &this_._impl_._cached_size_);
2683void LinearArgumentProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2688 ABSL_DCHECK_NE(&from, _this);
2689 ::uint32_t cached_has_bits = 0;
2690 (void) cached_has_bits;
2692 _this->_internal_mutable_exprs()->MergeFrom(
2693 from._internal_exprs());
2694 cached_has_bits = from._impl_._has_bits_[0];
2695 if ((cached_has_bits & 0x00000001u) != 0) {
2696 ABSL_DCHECK(from._impl_.target_ !=
nullptr);
2697 if (_this->_impl_.target_ ==
nullptr) {
2698 _this->_impl_.target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.target_);
2700 _this->_impl_.target_->MergeFrom(*from._impl_.target_);
2703 _this->_impl_._has_bits_[0] |= cached_has_bits;
2704 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2709 if (&from ==
this)
return;
2715void LinearArgumentProto::InternalSwap(
LinearArgumentProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2717 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2718 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2719 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
2724 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2733#if defined(PROTOBUF_CUSTOM_VTABLE)
2736 : ::google::protobuf::Message(arena) {
2741PROTOBUF_NDEBUG_INLINE AllDifferentConstraintProto::Impl_::Impl_(
2742 ::google::protobuf::internal::InternalVisibility visibility,
2743 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2744 const ::operations_research::sat::AllDifferentConstraintProto& from_msg)
2745 : exprs_{visibility, arena, from.exprs_},
2749 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2750 const AllDifferentConstraintProto& from)
2751#if defined(PROTOBUF_CUSTOM_VTABLE)
2754 : ::google::protobuf::Message(arena) {
2758 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2759 from._internal_metadata_);
2760 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2764PROTOBUF_NDEBUG_INLINE AllDifferentConstraintProto::Impl_::Impl_(
2765 ::google::protobuf::internal::InternalVisibility visibility,
2766 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2767 : exprs_{visibility, arena},
2770inline void AllDifferentConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2771 new (&
_impl_) Impl_(internal_visibility(), arena);
2777inline void AllDifferentConstraintProto::SharedDtor(MessageLite& self) {
2779 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2780 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2785 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2786 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2790 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2793 InternalGetArenaOffset(
2794 ::google::protobuf::Message::internal_visibility()),
2796 if (arena_bits.has_value()) {
2797 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2806 return ::google::protobuf::internal::ClassDataFull{
2807 ::google::protobuf::internal::ClassData{
2812 &AllDifferentConstraintProto::MergeImpl,
2813 ::google::protobuf::Message::GetNewImpl<AllDifferentConstraintProto>(),
2814#if defined(PROTOBUF_CUSTOM_VTABLE)
2815 &AllDifferentConstraintProto::SharedDtor,
2822 &AllDifferentConstraintProto::kDescriptorMethods,
2828PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2832PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2838PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2839const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
2840AllDifferentConstraintProto::_table_ = {
2845 offsetof(
decltype(_table_), field_lookup_table),
2847 offsetof(
decltype(_table_), field_entries),
2850 offsetof(
decltype(_table_), aux_entries),
2853 ::_pbi::TcParser::GenericFallback,
2854 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2855 ::_pbi::TcParser::GetTable<::operations_research::sat::AllDifferentConstraintProto>(),
2859 {::_pbi::TcParser::FastMtR1,
2866 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2869 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
2876 ::google::protobuf::internal::TSanWrite(&
_impl_);
2877 ::uint32_t cached_has_bits = 0;
2879 (void) cached_has_bits;
2882 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2885#if defined(PROTOBUF_CUSTOM_VTABLE)
2887 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2888 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2892 ::uint8_t* PROTOBUF_NONNULL target,
2893 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2897 ::uint32_t cached_has_bits = 0;
2898 (void)cached_has_bits;
2901 for (
unsigned i = 0, n =
static_cast<unsigned>(
2902 this_._internal_exprs_size());
2904 const auto& repfield = this_._internal_exprs().Get(
i);
2906 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2907 1, repfield, repfield.GetCachedSize(),
2911 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2913 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2914 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2920#if defined(PROTOBUF_CUSTOM_VTABLE)
2928 ::size_t total_size = 0;
2930 ::uint32_t cached_has_bits = 0;
2932 (void)cached_has_bits;
2934 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2938 total_size += 1UL * this_._internal_exprs_size();
2939 for (
const auto& msg : this_._internal_exprs()) {
2940 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2944 return this_.MaybeComputeUnknownFieldsSize(total_size,
2945 &this_._impl_._cached_size_);
2948void AllDifferentConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2952 ABSL_DCHECK_NE(&from, _this);
2953 ::uint32_t cached_has_bits = 0;
2954 (void) cached_has_bits;
2956 _this->_internal_mutable_exprs()->MergeFrom(
2957 from._internal_exprs());
2958 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2963 if (&from ==
this)
return;
2971 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2972 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
2976 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2985#if defined(PROTOBUF_CUSTOM_VTABLE)
2988 : ::google::protobuf::Message(arena) {
2993PROTOBUF_NDEBUG_INLINE LinearConstraintProto::Impl_::Impl_(
2994 ::google::protobuf::internal::InternalVisibility visibility,
2995 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2996 const ::operations_research::sat::LinearConstraintProto& from_msg)
2997 : vars_{visibility, arena, from.vars_},
2998 _vars_cached_byte_size_{0},
2999 coeffs_{visibility, arena, from.coeffs_},
3000 _coeffs_cached_byte_size_{0},
3001 domain_{visibility, arena, from.domain_},
3002 _domain_cached_byte_size_{0},
3006 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3007 const LinearConstraintProto& from)
3008#if defined(PROTOBUF_CUSTOM_VTABLE)
3011 : ::google::protobuf::Message(arena) {
3015 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3016 from._internal_metadata_);
3017 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3021PROTOBUF_NDEBUG_INLINE LinearConstraintProto::Impl_::Impl_(
3022 ::google::protobuf::internal::InternalVisibility visibility,
3023 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3024 : vars_{visibility, arena},
3025 _vars_cached_byte_size_{0},
3026 coeffs_{visibility, arena},
3027 _coeffs_cached_byte_size_{0},
3028 domain_{visibility, arena},
3029 _domain_cached_byte_size_{0},
3032inline void LinearConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3033 new (&
_impl_) Impl_(internal_visibility(), arena);
3039inline void LinearConstraintProto::SharedDtor(MessageLite& self) {
3041 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3042 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3043 this_._impl_.~Impl_();
3047 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3048 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3052 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3055 InternalGetArenaOffset(
3056 ::google::protobuf::Message::internal_visibility()),
3059 InternalGetArenaOffset(
3063 InternalGetArenaOffset(
3066 if (arena_bits.has_value()) {
3067 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3068 sizeof(LinearConstraintProto), alignof(LinearConstraintProto), *arena_bits);
3070 return ::google::protobuf::internal::MessageCreator(&LinearConstraintProto::PlacementNew_,
3071 sizeof(LinearConstraintProto),
3072 alignof(LinearConstraintProto));
3076 return ::google::protobuf::internal::ClassDataFull{
3077 ::google::protobuf::internal::ClassData{
3082 &LinearConstraintProto::MergeImpl,
3083 ::google::protobuf::Message::GetNewImpl<LinearConstraintProto>(),
3084#if defined(PROTOBUF_CUSTOM_VTABLE)
3085 &LinearConstraintProto::SharedDtor,
3092 &LinearConstraintProto::kDescriptorMethods,
3098PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3102PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3108PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3109const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
3110LinearConstraintProto::_table_ = {
3115 offsetof(
decltype(_table_), field_lookup_table),
3117 offsetof(
decltype(_table_), field_entries),
3120 offsetof(
decltype(_table_), field_names),
3123 ::_pbi::TcParser::GenericFallback,
3124 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3125 ::_pbi::TcParser::GetTable<::operations_research::sat::LinearConstraintProto>(),
3128 {::_pbi::TcParser::MiniParse, {}},
3130 {::_pbi::TcParser::FastV32P1,
3133 {::_pbi::TcParser::FastV64P1,
3136 {::_pbi::TcParser::FastV64P1,
3143 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
3146 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
3149 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
3157 ::google::protobuf::internal::TSanWrite(&
_impl_);
3158 ::uint32_t cached_has_bits = 0;
3160 (void) cached_has_bits;
3165 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3168#if defined(PROTOBUF_CUSTOM_VTABLE)
3170 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3171 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3175 ::uint8_t* PROTOBUF_NONNULL target,
3176 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3180 ::uint32_t cached_has_bits = 0;
3181 (void)cached_has_bits;
3185 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
3186 if (byte_size > 0) {
3187 target = stream->WriteInt32Packed(
3188 1, this_._internal_vars(), byte_size, target);
3194 int byte_size = this_.
_impl_._coeffs_cached_byte_size_.Get();
3195 if (byte_size > 0) {
3196 target = stream->WriteInt64Packed(
3197 2, this_._internal_coeffs(), byte_size, target);
3203 int byte_size = this_.
_impl_._domain_cached_byte_size_.Get();
3204 if (byte_size > 0) {
3205 target = stream->WriteInt64Packed(
3206 3, this_._internal_domain(), byte_size, target);
3210 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3212 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3213 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3219#if defined(PROTOBUF_CUSTOM_VTABLE)
3227 ::size_t total_size = 0;
3229 ::uint32_t cached_has_bits = 0;
3231 (void)cached_has_bits;
3233 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3238 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
3239 this_._internal_vars(), 1,
3240 this_._impl_._vars_cached_byte_size_);
3245 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
3246 this_._internal_coeffs(), 1,
3247 this_._impl_._coeffs_cached_byte_size_);
3252 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
3253 this_._internal_domain(), 1,
3254 this_._impl_._domain_cached_byte_size_);
3257 return this_.MaybeComputeUnknownFieldsSize(total_size,
3258 &this_._impl_._cached_size_);
3261void LinearConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3265 ABSL_DCHECK_NE(&from, _this);
3266 ::uint32_t cached_has_bits = 0;
3267 (void) cached_has_bits;
3269 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
3270 _this->_internal_mutable_coeffs()->MergeFrom(from._internal_coeffs());
3271 _this->_internal_mutable_domain()->MergeFrom(from._internal_domain());
3272 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3277 if (&from ==
this)
return;
3283void LinearConstraintProto::InternalSwap(
LinearConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3285 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3286 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
3287 _impl_.coeffs_.InternalSwap(&other->_impl_.coeffs_);
3288 _impl_.domain_.InternalSwap(&other->_impl_.domain_);
3292 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
3296class ElementConstraintProto::_Internal {
3299 decltype(::std::declval<ElementConstraintProto>()._impl_._has_bits_);
3300 static constexpr ::int32_t kHasBitsOffset =
3305#if defined(PROTOBUF_CUSTOM_VTABLE)
3308 : ::google::protobuf::Message(arena) {
3313PROTOBUF_NDEBUG_INLINE ElementConstraintProto::Impl_::Impl_(
3314 ::google::protobuf::internal::InternalVisibility visibility,
3315 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3316 const ::operations_research::sat::ElementConstraintProto& from_msg)
3317 : _has_bits_{from._has_bits_},
3319 vars_{visibility, arena, from.vars_},
3320 _vars_cached_byte_size_{0},
3321 exprs_{visibility, arena, from.exprs_} {}
3324 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3325 const ElementConstraintProto& from)
3326#if defined(PROTOBUF_CUSTOM_VTABLE)
3329 : ::google::protobuf::Message(arena) {
3333 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3334 from._internal_metadata_);
3335 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3336 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
3337 _impl_.linear_index_ = ((cached_has_bits & 0x00000001u) != 0)
3338 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_index_)
3340 _impl_.linear_target_ = ((cached_has_bits & 0x00000002u) != 0)
3341 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_target_)
3343 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
3344 offsetof(Impl_, index_),
3345 reinterpret_cast<const char *
>(&from._impl_) +
3346 offsetof(Impl_, index_),
3347 offsetof(Impl_, target_) -
3348 offsetof(Impl_, index_) +
3349 sizeof(Impl_::target_));
3353PROTOBUF_NDEBUG_INLINE ElementConstraintProto::Impl_::Impl_(
3354 ::google::protobuf::internal::InternalVisibility visibility,
3355 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3357 vars_{visibility, arena},
3358 _vars_cached_byte_size_{0},
3359 exprs_{visibility, arena} {}
3361inline void ElementConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3362 new (&
_impl_) Impl_(internal_visibility(), arena);
3363 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
3364 offsetof(Impl_, linear_index_),
3366 offsetof(Impl_, target_) -
3367 offsetof(Impl_, linear_index_) +
3368 sizeof(Impl_::target_));
3374inline void ElementConstraintProto::SharedDtor(MessageLite& self) {
3376 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3377 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3378 delete this_._impl_.linear_index_;
3379 delete this_._impl_.linear_target_;
3380 this_._impl_.~Impl_();
3384 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3385 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3389 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3392 InternalGetArenaOffset(
3396 InternalGetArenaOffset(
3399 if (arena_bits.has_value()) {
3400 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3401 sizeof(ElementConstraintProto), alignof(ElementConstraintProto), *arena_bits);
3403 return ::google::protobuf::internal::MessageCreator(&ElementConstraintProto::PlacementNew_,
3404 sizeof(ElementConstraintProto),
3405 alignof(ElementConstraintProto));
3409 return ::google::protobuf::internal::ClassDataFull{
3410 ::google::protobuf::internal::ClassData{
3415 &ElementConstraintProto::MergeImpl,
3416 ::google::protobuf::Message::GetNewImpl<ElementConstraintProto>(),
3417#if defined(PROTOBUF_CUSTOM_VTABLE)
3418 &ElementConstraintProto::SharedDtor,
3425 &ElementConstraintProto::kDescriptorMethods,
3431PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3435PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3441PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3442const ::_pbi::TcParseTable<3, 6, 3, 0, 2>
3443ElementConstraintProto::_table_ = {
3448 offsetof(
decltype(_table_), field_lookup_table),
3450 offsetof(
decltype(_table_), field_entries),
3453 offsetof(
decltype(_table_), aux_entries),
3456 ::_pbi::TcParser::GenericFallback,
3457 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3458 ::_pbi::TcParser::GetTable<::operations_research::sat::ElementConstraintProto>(),
3461 {::_pbi::TcParser::MiniParse, {}},
3469 {::_pbi::TcParser::FastV32P1,
3472 {::_pbi::TcParser::FastMtS1,
3475 {::_pbi::TcParser::FastMtS1,
3478 {::_pbi::TcParser::FastMtR1,
3480 {::_pbi::TcParser::MiniParse, {}},
3486 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3489 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3492 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
3495 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3498 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3501 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3504 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3505 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3506 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3513 ::google::protobuf::internal::TSanWrite(&
_impl_);
3514 ::uint32_t cached_has_bits = 0;
3516 (void) cached_has_bits;
3520 cached_has_bits =
_impl_._has_bits_[0];
3521 if ((cached_has_bits & 0x00000003u) != 0) {
3522 if ((cached_has_bits & 0x00000001u) != 0) {
3523 ABSL_DCHECK(
_impl_.linear_index_ !=
nullptr);
3524 _impl_.linear_index_->Clear();
3526 if ((cached_has_bits & 0x00000002u) != 0) {
3527 ABSL_DCHECK(
_impl_.linear_target_ !=
nullptr);
3528 _impl_.linear_target_->Clear();
3531 if ((cached_has_bits & 0x0000000cu) != 0) {
3532 ::memset(&
_impl_.index_, 0,
static_cast<::
size_t>(
3533 reinterpret_cast<char*
>(&
_impl_.target_) -
3534 reinterpret_cast<char*
>(&
_impl_.index_)) +
sizeof(
_impl_.target_));
3536 _impl_._has_bits_.Clear();
3537 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3540#if defined(PROTOBUF_CUSTOM_VTABLE)
3542 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL
target,
3543 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3547 ::uint8_t* PROTOBUF_NONNULL
target,
3548 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3552 ::uint32_t cached_has_bits = 0;
3553 (void)cached_has_bits;
3556 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
3557 if (this_._internal_index() != 0) {
3559 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
3560 stream, this_._internal_index(),
target);
3565 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) {
3566 if (this_._internal_target() != 0) {
3568 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
3569 stream, this_._internal_target(),
target);
3575 int byte_size = this_._impl_._vars_cached_byte_size_.Get();
3576 if (byte_size > 0) {
3577 target = stream->WriteInt32Packed(
3578 3, this_._internal_vars(), byte_size,
target);
3582 cached_has_bits = this_._impl_._has_bits_[0];
3584 if ((cached_has_bits & 0x00000001u) != 0) {
3585 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3586 4, *this_._impl_.linear_index_, this_._impl_.linear_index_->GetCachedSize(),
target,
3591 if ((cached_has_bits & 0x00000002u) != 0) {
3592 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3593 5, *this_._impl_.linear_target_, this_._impl_.linear_target_->GetCachedSize(),
target,
3598 for (
unsigned i = 0, n =
static_cast<unsigned>(
3599 this_._internal_exprs_size());
3601 const auto& repfield = this_._internal_exprs().Get(
i);
3603 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3604 6, repfield, repfield.GetCachedSize(),
3608 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3610 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3611 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance),
target, stream);
3617#if defined(PROTOBUF_CUSTOM_VTABLE)
3625 ::size_t total_size = 0;
3627 ::uint32_t cached_has_bits = 0;
3629 (void)cached_has_bits;
3631 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3636 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
3637 this_._internal_vars(), 1,
3638 this_._impl_._vars_cached_byte_size_);
3642 total_size += 1UL * this_._internal_exprs_size();
3643 for (
const auto& msg : this_._internal_exprs()) {
3644 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3648 cached_has_bits = this_._impl_._has_bits_[0];
3649 if ((cached_has_bits & 0x0000000fu) != 0) {
3651 if ((cached_has_bits & 0x00000001u) != 0) {
3653 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.linear_index_);
3656 if ((cached_has_bits & 0x00000002u) != 0) {
3658 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.linear_target_);
3661 if ((cached_has_bits & 0x00000004u) != 0) {
3662 if (this_._internal_index() != 0) {
3663 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3664 this_._internal_index());
3668 if ((cached_has_bits & 0x00000008u) != 0) {
3669 if (this_._internal_target() != 0) {
3670 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3671 this_._internal_target());
3675 return this_.MaybeComputeUnknownFieldsSize(total_size,
3676 &this_._impl_._cached_size_);
3679void ElementConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3684 ABSL_DCHECK_NE(&from, _this);
3685 ::uint32_t cached_has_bits = 0;
3686 (void) cached_has_bits;
3688 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
3689 _this->_internal_mutable_exprs()->MergeFrom(
3690 from._internal_exprs());
3691 cached_has_bits = from._impl_._has_bits_[0];
3692 if ((cached_has_bits & 0x0000000fu) != 0) {
3693 if ((cached_has_bits & 0x00000001u) != 0) {
3694 ABSL_DCHECK(from._impl_.linear_index_ !=
nullptr);
3695 if (_this->
_impl_.linear_index_ ==
nullptr) {
3696 _this->
_impl_.linear_index_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_index_);
3701 if ((cached_has_bits & 0x00000002u) != 0) {
3702 ABSL_DCHECK(from._impl_.linear_target_ !=
nullptr);
3703 if (_this->
_impl_.linear_target_ ==
nullptr) {
3704 _this->
_impl_.linear_target_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_target_);
3709 if ((cached_has_bits & 0x00000004u) != 0) {
3710 if (from._internal_index() != 0) {
3711 _this->
_impl_.index_ = from._impl_.index_;
3714 if ((cached_has_bits & 0x00000008u) != 0) {
3715 if (from._internal_target() != 0) {
3716 _this->
_impl_.target_ = from._impl_.target_;
3720 _this->
_impl_._has_bits_[0] |= cached_has_bits;
3721 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3726 if (&from ==
this)
return;
3732void ElementConstraintProto::InternalSwap(
ElementConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3734 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3735 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3736 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
3737 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
3738 ::google::protobuf::internal::memswap<
3742 reinterpret_cast<char*
>(&
_impl_.linear_index_),
3743 reinterpret_cast<char*
>(&other->_impl_.linear_index_));
3747 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
3751class IntervalConstraintProto::_Internal {
3754 decltype(::std::declval<IntervalConstraintProto>()._impl_._has_bits_);
3755 static constexpr ::int32_t kHasBitsOffset =
3760#if defined(PROTOBUF_CUSTOM_VTABLE)
3763 : ::google::protobuf::Message(arena) {
3768PROTOBUF_NDEBUG_INLINE IntervalConstraintProto::Impl_::Impl_(
3769 ::google::protobuf::internal::InternalVisibility visibility,
3770 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3771 const ::operations_research::sat::IntervalConstraintProto& from_msg)
3772 : _has_bits_{from._has_bits_},
3776 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3777 const IntervalConstraintProto& from)
3778#if defined(PROTOBUF_CUSTOM_VTABLE)
3781 : ::google::protobuf::Message(arena) {
3785 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3786 from._internal_metadata_);
3787 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3788 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
3789 _impl_.start_ = ((cached_has_bits & 0x00000001u) != 0)
3790 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.start_)
3792 _impl_.end_ = ((cached_has_bits & 0x00000002u) != 0)
3793 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.end_)
3795 _impl_.size_ = ((cached_has_bits & 0x00000004u) != 0)
3796 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.size_)
3801PROTOBUF_NDEBUG_INLINE IntervalConstraintProto::Impl_::Impl_(
3802 ::google::protobuf::internal::InternalVisibility visibility,
3803 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3804 : _cached_size_{0} {}
3806inline void IntervalConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3807 new (&
_impl_) Impl_(internal_visibility(), arena);
3808 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
3809 offsetof(Impl_, start_),
3811 offsetof(Impl_, size_) -
3812 offsetof(Impl_, start_) +
3813 sizeof(Impl_::size_));
3819inline void IntervalConstraintProto::SharedDtor(MessageLite& self) {
3821 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3822 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3823 delete this_._impl_.start_;
3824 delete this_._impl_.end_;
3825 delete this_._impl_.size_;
3826 this_._impl_.~Impl_();
3830 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3831 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3839 return ::google::protobuf::internal::ClassDataFull{
3840 ::google::protobuf::internal::ClassData{
3845 &IntervalConstraintProto::MergeImpl,
3846 ::google::protobuf::Message::GetNewImpl<IntervalConstraintProto>(),
3847#if defined(PROTOBUF_CUSTOM_VTABLE)
3848 &IntervalConstraintProto::SharedDtor,
3855 &IntervalConstraintProto::kDescriptorMethods,
3861PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3865PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3871PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3872const ::_pbi::TcParseTable<2, 3, 3, 0, 2>
3873IntervalConstraintProto::_table_ = {
3878 offsetof(
decltype(_table_), field_lookup_table),
3880 offsetof(
decltype(_table_), field_entries),
3883 offsetof(
decltype(_table_), aux_entries),
3886 ::_pbi::TcParser::GenericFallback,
3887 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3888 ::_pbi::TcParser::GetTable<::operations_research::sat::IntervalConstraintProto>(),
3892 {::_pbi::TcParser::FastMtS1,
3895 {::_pbi::TcParser::FastMtS1,
3896 {42, 1, 1, PROTOBUF_FIELD_OFFSET(IntervalConstraintProto, _impl_.end_)}},
3898 {::_pbi::TcParser::FastMtS1,
3900 {::_pbi::TcParser::MiniParse, {}},
3906 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3909 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3912 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3915 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3916 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3917 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
3924 ::google::protobuf::internal::TSanWrite(&
_impl_);
3925 ::uint32_t cached_has_bits = 0;
3927 (void) cached_has_bits;
3929 cached_has_bits =
_impl_._has_bits_[0];
3930 if ((cached_has_bits & 0x00000007u) != 0) {
3931 if ((cached_has_bits & 0x00000001u) != 0) {
3932 ABSL_DCHECK(
_impl_.start_ !=
nullptr);
3935 if ((cached_has_bits & 0x00000002u) != 0) {
3936 ABSL_DCHECK(
_impl_.end_ !=
nullptr);
3939 if ((cached_has_bits & 0x00000004u) != 0) {
3940 ABSL_DCHECK(
_impl_.size_ !=
nullptr);
3944 _impl_._has_bits_.Clear();
3945 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3948#if defined(PROTOBUF_CUSTOM_VTABLE)
3950 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3951 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3955 ::uint8_t* PROTOBUF_NONNULL target,
3956 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3960 ::uint32_t cached_has_bits = 0;
3961 (void)cached_has_bits;
3963 cached_has_bits = this_._impl_._has_bits_[0];
3965 if ((cached_has_bits & 0x00000001u) != 0) {
3966 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3967 4, *this_._impl_.start_, this_._impl_.start_->GetCachedSize(), target,
3972 if ((cached_has_bits & 0x00000002u) != 0) {
3973 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3974 5, *this_._impl_.end_, this_._impl_.end_->GetCachedSize(), target,
3979 if ((cached_has_bits & 0x00000004u) != 0) {
3980 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3981 6, *this_._impl_.size_, this_._impl_.size_->GetCachedSize(), target,
3985 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3987 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3988 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3994#if defined(PROTOBUF_CUSTOM_VTABLE)
4002 ::size_t total_size = 0;
4004 ::uint32_t cached_has_bits = 0;
4006 (void)cached_has_bits;
4008 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4009 cached_has_bits = this_._impl_._has_bits_[0];
4010 if ((cached_has_bits & 0x00000007u) != 0) {
4012 if ((cached_has_bits & 0x00000001u) != 0) {
4014 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.start_);
4017 if ((cached_has_bits & 0x00000002u) != 0) {
4019 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.end_);
4022 if ((cached_has_bits & 0x00000004u) != 0) {
4024 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.size_);
4027 return this_.MaybeComputeUnknownFieldsSize(total_size,
4028 &this_._impl_._cached_size_);
4031void IntervalConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4036 ABSL_DCHECK_NE(&from, _this);
4037 ::uint32_t cached_has_bits = 0;
4038 (void) cached_has_bits;
4040 cached_has_bits = from._impl_._has_bits_[0];
4041 if ((cached_has_bits & 0x00000007u) != 0) {
4042 if ((cached_has_bits & 0x00000001u) != 0) {
4043 ABSL_DCHECK(from._impl_.start_ !=
nullptr);
4044 if (_this->
_impl_.start_ ==
nullptr) {
4045 _this->
_impl_.start_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.start_);
4050 if ((cached_has_bits & 0x00000002u) != 0) {
4051 ABSL_DCHECK(from._impl_.end_ !=
nullptr);
4052 if (_this->
_impl_.end_ ==
nullptr) {
4053 _this->
_impl_.end_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.end_);
4058 if ((cached_has_bits & 0x00000004u) != 0) {
4059 ABSL_DCHECK(from._impl_.size_ !=
nullptr);
4060 if (_this->
_impl_.size_ ==
nullptr) {
4061 _this->
_impl_.size_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.size_);
4067 _this->
_impl_._has_bits_[0] |= cached_has_bits;
4068 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4073 if (&from ==
this)
return;
4081 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4082 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4083 ::google::protobuf::internal::memswap<
4087 reinterpret_cast<char*
>(&
_impl_.start_),
4088 reinterpret_cast<char*
>(&other->_impl_.start_));
4092 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
4096class NoOverlapConstraintProto::_Internal {
4101#if defined(PROTOBUF_CUSTOM_VTABLE)
4104 : ::google::protobuf::Message(arena) {
4109PROTOBUF_NDEBUG_INLINE NoOverlapConstraintProto::Impl_::Impl_(
4110 ::google::protobuf::internal::InternalVisibility visibility,
4111 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4112 const ::operations_research::sat::NoOverlapConstraintProto& from_msg)
4113 : intervals_{visibility, arena, from.intervals_},
4114 _intervals_cached_byte_size_{0},
4118 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4120#if defined(PROTOBUF_CUSTOM_VTABLE)
4123 : ::google::protobuf::Message(arena) {
4127 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4128 from._internal_metadata_);
4129 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4133PROTOBUF_NDEBUG_INLINE NoOverlapConstraintProto::Impl_::Impl_(
4134 ::google::protobuf::internal::InternalVisibility visibility,
4135 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4136 : intervals_{visibility, arena},
4137 _intervals_cached_byte_size_{0},
4140inline void NoOverlapConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4141 new (&
_impl_) Impl_(internal_visibility(), arena);
4147inline void NoOverlapConstraintProto::SharedDtor(MessageLite& self) {
4149 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4150 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4151 this_._impl_.~Impl_();
4155 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4156 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4160 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4163 InternalGetArenaOffset(
4166 if (arena_bits.has_value()) {
4167 return ::google::protobuf::internal::MessageCreator::ZeroInit(
4168 sizeof(NoOverlapConstraintProto), alignof(NoOverlapConstraintProto), *arena_bits);
4170 return ::google::protobuf::internal::MessageCreator(&NoOverlapConstraintProto::PlacementNew_,
4171 sizeof(NoOverlapConstraintProto),
4172 alignof(NoOverlapConstraintProto));
4176 return ::google::protobuf::internal::ClassDataFull{
4177 ::google::protobuf::internal::ClassData{
4182 &NoOverlapConstraintProto::MergeImpl,
4183 ::google::protobuf::Message::GetNewImpl<NoOverlapConstraintProto>(),
4184#if defined(PROTOBUF_CUSTOM_VTABLE)
4185 &NoOverlapConstraintProto::SharedDtor,
4192 &NoOverlapConstraintProto::kDescriptorMethods,
4198PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4202PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4208PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4209const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
4210NoOverlapConstraintProto::_table_ = {
4215 offsetof(
decltype(_table_), field_lookup_table),
4217 offsetof(
decltype(_table_), field_entries),
4220 offsetof(
decltype(_table_), field_names),
4223 ::_pbi::TcParser::GenericFallback,
4224 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4225 ::_pbi::TcParser::GetTable<::operations_research::sat::NoOverlapConstraintProto>(),
4229 {::_pbi::TcParser::FastV32P1,
4236 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
4244 ::google::protobuf::internal::TSanWrite(&
_impl_);
4245 ::uint32_t cached_has_bits = 0;
4247 (void) cached_has_bits;
4249 _impl_.intervals_.Clear();
4250 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4253#if defined(PROTOBUF_CUSTOM_VTABLE)
4255 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
4256 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4260 ::uint8_t* PROTOBUF_NONNULL target,
4261 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4265 ::uint32_t cached_has_bits = 0;
4266 (void)cached_has_bits;
4270 int byte_size = this_.
_impl_._intervals_cached_byte_size_.Get();
4271 if (byte_size > 0) {
4272 target = stream->WriteInt32Packed(
4273 1, this_._internal_intervals(), byte_size, target);
4277 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4279 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4280 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4286#if defined(PROTOBUF_CUSTOM_VTABLE)
4294 ::size_t total_size = 0;
4296 ::uint32_t cached_has_bits = 0;
4298 (void)cached_has_bits;
4300 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4305 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
4306 this_._internal_intervals(), 1,
4307 this_._impl_._intervals_cached_byte_size_);
4310 return this_.MaybeComputeUnknownFieldsSize(total_size,
4311 &this_._impl_._cached_size_);
4314void NoOverlapConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4318 ABSL_DCHECK_NE(&from, _this);
4319 ::uint32_t cached_has_bits = 0;
4320 (void) cached_has_bits;
4322 _this->_internal_mutable_intervals()->MergeFrom(from._internal_intervals());
4323 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4328 if (&from ==
this)
return;
4336 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4337 _impl_.intervals_.InternalSwap(&other->_impl_.intervals_);
4341 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
4345class NoOverlap2DConstraintProto::_Internal {
4350#if defined(PROTOBUF_CUSTOM_VTABLE)
4353 : ::google::protobuf::Message(arena) {
4358PROTOBUF_NDEBUG_INLINE NoOverlap2DConstraintProto::Impl_::Impl_(
4359 ::google::protobuf::internal::InternalVisibility visibility,
4360 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4361 const ::operations_research::sat::NoOverlap2DConstraintProto& from_msg)
4362 : x_intervals_{visibility, arena, from.x_intervals_},
4363 _x_intervals_cached_byte_size_{0},
4364 y_intervals_{visibility, arena, from.y_intervals_},
4365 _y_intervals_cached_byte_size_{0},
4369 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4371#if defined(PROTOBUF_CUSTOM_VTABLE)
4374 : ::google::protobuf::Message(arena) {
4378 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4379 from._internal_metadata_);
4380 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4384PROTOBUF_NDEBUG_INLINE NoOverlap2DConstraintProto::Impl_::Impl_(
4385 ::google::protobuf::internal::InternalVisibility visibility,
4386 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4387 : x_intervals_{visibility, arena},
4388 _x_intervals_cached_byte_size_{0},
4389 y_intervals_{visibility, arena},
4390 _y_intervals_cached_byte_size_{0},
4393inline void NoOverlap2DConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4394 new (&
_impl_) Impl_(internal_visibility(), arena);
4400inline void NoOverlap2DConstraintProto::SharedDtor(MessageLite& self) {
4402 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4403 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4404 this_._impl_.~Impl_();
4408 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4409 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4413 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4416 InternalGetArenaOffset(
4420 InternalGetArenaOffset(
4423 if (arena_bits.has_value()) {
4424 return ::google::protobuf::internal::MessageCreator::ZeroInit(
4425 sizeof(NoOverlap2DConstraintProto), alignof(NoOverlap2DConstraintProto), *arena_bits);
4427 return ::google::protobuf::internal::MessageCreator(&NoOverlap2DConstraintProto::PlacementNew_,
4428 sizeof(NoOverlap2DConstraintProto),
4429 alignof(NoOverlap2DConstraintProto));
4433 return ::google::protobuf::internal::ClassDataFull{
4434 ::google::protobuf::internal::ClassData{
4439 &NoOverlap2DConstraintProto::MergeImpl,
4440 ::google::protobuf::Message::GetNewImpl<NoOverlap2DConstraintProto>(),
4441#if defined(PROTOBUF_CUSTOM_VTABLE)
4442 &NoOverlap2DConstraintProto::SharedDtor,
4449 &NoOverlap2DConstraintProto::kDescriptorMethods,
4455PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4459PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4465PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4466const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
4467NoOverlap2DConstraintProto::_table_ = {
4472 offsetof(
decltype(_table_), field_lookup_table),
4474 offsetof(
decltype(_table_), field_entries),
4477 offsetof(
decltype(_table_), field_names),
4480 ::_pbi::TcParser::GenericFallback,
4481 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4482 ::_pbi::TcParser::GetTable<::operations_research::sat::NoOverlap2DConstraintProto>(),
4486 {::_pbi::TcParser::FastV32P1,
4489 {::_pbi::TcParser::FastV32P1,
4496 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
4499 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
4507 ::google::protobuf::internal::TSanWrite(&
_impl_);
4508 ::uint32_t cached_has_bits = 0;
4510 (void) cached_has_bits;
4512 _impl_.x_intervals_.Clear();
4513 _impl_.y_intervals_.Clear();
4514 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4517#if defined(PROTOBUF_CUSTOM_VTABLE)
4519 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
4520 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4524 ::uint8_t* PROTOBUF_NONNULL target,
4525 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4529 ::uint32_t cached_has_bits = 0;
4530 (void)cached_has_bits;
4534 int byte_size = this_.
_impl_._x_intervals_cached_byte_size_.Get();
4535 if (byte_size > 0) {
4536 target = stream->WriteInt32Packed(
4537 1, this_._internal_x_intervals(), byte_size, target);
4543 int byte_size = this_.
_impl_._y_intervals_cached_byte_size_.Get();
4544 if (byte_size > 0) {
4545 target = stream->WriteInt32Packed(
4546 2, this_._internal_y_intervals(), byte_size, target);
4550 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4552 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4553 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4559#if defined(PROTOBUF_CUSTOM_VTABLE)
4567 ::size_t total_size = 0;
4569 ::uint32_t cached_has_bits = 0;
4571 (void)cached_has_bits;
4573 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4578 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
4579 this_._internal_x_intervals(), 1,
4580 this_._impl_._x_intervals_cached_byte_size_);
4585 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
4586 this_._internal_y_intervals(), 1,
4587 this_._impl_._y_intervals_cached_byte_size_);
4590 return this_.MaybeComputeUnknownFieldsSize(total_size,
4591 &this_._impl_._cached_size_);
4594void NoOverlap2DConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4598 ABSL_DCHECK_NE(&from, _this);
4599 ::uint32_t cached_has_bits = 0;
4600 (void) cached_has_bits;
4602 _this->_internal_mutable_x_intervals()->MergeFrom(from._internal_x_intervals());
4603 _this->_internal_mutable_y_intervals()->MergeFrom(from._internal_y_intervals());
4604 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4609 if (&from ==
this)
return;
4617 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4618 _impl_.x_intervals_.InternalSwap(&other->_impl_.x_intervals_);
4619 _impl_.y_intervals_.InternalSwap(&other->_impl_.y_intervals_);
4623 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
4627class CumulativeConstraintProto::_Internal {
4630 decltype(::std::declval<CumulativeConstraintProto>()._impl_._has_bits_);
4631 static constexpr ::int32_t kHasBitsOffset =
4636#if defined(PROTOBUF_CUSTOM_VTABLE)
4639 : ::google::protobuf::Message(arena) {
4644PROTOBUF_NDEBUG_INLINE CumulativeConstraintProto::Impl_::Impl_(
4645 ::google::protobuf::internal::InternalVisibility visibility,
4646 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4647 const ::operations_research::sat::CumulativeConstraintProto& from_msg)
4648 : _has_bits_{from._has_bits_},
4650 intervals_{visibility, arena, from.intervals_},
4651 _intervals_cached_byte_size_{0},
4652 demands_{visibility, arena, from.demands_} {}
4655 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4657#if defined(PROTOBUF_CUSTOM_VTABLE)
4660 : ::google::protobuf::Message(arena) {
4664 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4665 from._internal_metadata_);
4666 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4667 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
4668 _impl_.capacity_ = ((cached_has_bits & 0x00000001u) != 0)
4669 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.capacity_)
4674PROTOBUF_NDEBUG_INLINE CumulativeConstraintProto::Impl_::Impl_(
4675 ::google::protobuf::internal::InternalVisibility visibility,
4676 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4678 intervals_{visibility, arena},
4679 _intervals_cached_byte_size_{0},
4680 demands_{visibility, arena} {}
4682inline void CumulativeConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4683 new (&
_impl_) Impl_(internal_visibility(), arena);
4690inline void CumulativeConstraintProto::SharedDtor(MessageLite& self) {
4692 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4693 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4694 delete this_._impl_.capacity_;
4695 this_._impl_.~Impl_();
4699 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4700 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4704 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4707 InternalGetArenaOffset(
4711 InternalGetArenaOffset(
4714 if (arena_bits.has_value()) {
4715 return ::google::protobuf::internal::MessageCreator::ZeroInit(
4716 sizeof(CumulativeConstraintProto), alignof(CumulativeConstraintProto), *arena_bits);
4718 return ::google::protobuf::internal::MessageCreator(&CumulativeConstraintProto::PlacementNew_,
4719 sizeof(CumulativeConstraintProto),
4720 alignof(CumulativeConstraintProto));
4724 return ::google::protobuf::internal::ClassDataFull{
4725 ::google::protobuf::internal::ClassData{
4730 &CumulativeConstraintProto::MergeImpl,
4731 ::google::protobuf::Message::GetNewImpl<CumulativeConstraintProto>(),
4732#if defined(PROTOBUF_CUSTOM_VTABLE)
4733 &CumulativeConstraintProto::SharedDtor,
4740 &CumulativeConstraintProto::kDescriptorMethods,
4746PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4750PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4756PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4757const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
4758CumulativeConstraintProto::_table_ = {
4763 offsetof(
decltype(_table_), field_lookup_table),
4765 offsetof(
decltype(_table_), field_entries),
4768 offsetof(
decltype(_table_), aux_entries),
4771 ::_pbi::TcParser::GenericFallback,
4772 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4773 ::_pbi::TcParser::GetTable<::operations_research::sat::CumulativeConstraintProto>(),
4776 {::_pbi::TcParser::MiniParse, {}},
4778 {::_pbi::TcParser::FastMtS1,
4781 {::_pbi::TcParser::FastV32P1,
4784 {::_pbi::TcParser::FastMtR1,
4791 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4794 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
4797 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
4800 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
4801 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
4808 ::google::protobuf::internal::TSanWrite(&
_impl_);
4809 ::uint32_t cached_has_bits = 0;
4811 (void) cached_has_bits;
4813 _impl_.intervals_.Clear();
4815 cached_has_bits =
_impl_._has_bits_[0];
4816 if ((cached_has_bits & 0x00000001u) != 0) {
4818 _impl_.capacity_->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 {
4836 ::uint32_t cached_has_bits = 0;
4837 (void)cached_has_bits;
4839 cached_has_bits = this_._impl_._has_bits_[0];
4841 if ((cached_has_bits & 0x00000001u) != 0) {
4842 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4843 1, *this_._impl_.capacity_, this_._impl_.capacity_->GetCachedSize(), target,
4849 int byte_size = this_._impl_._intervals_cached_byte_size_.Get();
4850 if (byte_size > 0) {
4851 target = stream->WriteInt32Packed(
4852 2, this_._internal_intervals(), byte_size, target);
4857 for (
unsigned i = 0, n =
static_cast<unsigned>(
4858 this_._internal_demands_size());
4860 const auto& repfield = this_._internal_demands().Get(
i);
4862 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4863 3, repfield, repfield.GetCachedSize(),
4867 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4869 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4870 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4876#if defined(PROTOBUF_CUSTOM_VTABLE)
4884 ::size_t total_size = 0;
4886 ::uint32_t cached_has_bits = 0;
4888 (void)cached_has_bits;
4890 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4895 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
4896 this_._internal_intervals(), 1,
4897 this_._impl_._intervals_cached_byte_size_);
4901 total_size += 1UL * this_._internal_demands_size();
4902 for (
const auto& msg : this_._internal_demands()) {
4903 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4909 cached_has_bits = this_._impl_._has_bits_[0];
4910 if ((cached_has_bits & 0x00000001u) != 0) {
4912 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.capacity_);
4915 return this_.MaybeComputeUnknownFieldsSize(total_size,
4916 &this_._impl_._cached_size_);
4919void CumulativeConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4924 ABSL_DCHECK_NE(&from, _this);
4925 ::uint32_t cached_has_bits = 0;
4926 (void) cached_has_bits;
4928 _this->_internal_mutable_intervals()->MergeFrom(from._internal_intervals());
4929 _this->_internal_mutable_demands()->MergeFrom(
4930 from._internal_demands());
4931 cached_has_bits = from.
_impl_._has_bits_[0];
4932 if ((cached_has_bits & 0x00000001u) != 0) {
4933 ABSL_DCHECK(from.
_impl_.capacity_ !=
nullptr);
4934 if (_this->
_impl_.capacity_ ==
nullptr) {
4935 _this->
_impl_.capacity_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.capacity_);
4940 _this->
_impl_._has_bits_[0] |= cached_has_bits;
4941 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4946 if (&from ==
this)
return;
4954 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4956 _impl_.intervals_.InternalSwap(&other->_impl_.intervals_);
4957 _impl_.demands_.InternalSwap(&other->_impl_.demands_);
4958 swap(
_impl_.capacity_, other->_impl_.capacity_);
4962 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
4966class ReservoirConstraintProto::_Internal {
4969 decltype(::std::declval<ReservoirConstraintProto>()._impl_._has_bits_);
4970 static constexpr ::int32_t kHasBitsOffset =
4971 8 * PROTOBUF_FIELD_OFFSET(ReservoirConstraintProto, _impl_._has_bits_);
4975#if defined(PROTOBUF_CUSTOM_VTABLE)
4978 : ::google::protobuf::Message(arena) {
4983PROTOBUF_NDEBUG_INLINE ReservoirConstraintProto::Impl_::Impl_(
4984 ::google::protobuf::internal::InternalVisibility visibility,
4985 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4986 const ::operations_research::sat::ReservoirConstraintProto& from_msg)
4987 : _has_bits_{from._has_bits_},
4989 time_exprs_{visibility, arena, from.time_exprs_},
4990 active_literals_{visibility, arena, from.active_literals_},
4991 _active_literals_cached_byte_size_{0},
4992 level_changes_{visibility, arena, from.level_changes_} {}
4995 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4997#if defined(PROTOBUF_CUSTOM_VTABLE)
5000 : ::google::protobuf::Message(arena) {
5004 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5005 from._internal_metadata_);
5007 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
5008 offsetof(Impl_, min_level_),
5009 reinterpret_cast<const char *
>(&from.
_impl_) +
5010 offsetof(Impl_, min_level_),
5011 offsetof(Impl_, max_level_) -
5012 offsetof(Impl_, min_level_) +
5013 sizeof(Impl_::max_level_));
5017PROTOBUF_NDEBUG_INLINE ReservoirConstraintProto::Impl_::Impl_(
5018 ::google::protobuf::internal::InternalVisibility visibility,
5019 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
5021 time_exprs_{visibility, arena},
5022 active_literals_{visibility, arena},
5023 _active_literals_cached_byte_size_{0},
5024 level_changes_{visibility, arena} {}
5026inline void ReservoirConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
5027 new (&
_impl_) Impl_(internal_visibility(), arena);
5028 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
5029 offsetof(Impl_, min_level_),
5031 offsetof(Impl_, max_level_) -
5032 offsetof(Impl_, min_level_) +
5033 sizeof(Impl_::max_level_));
5039inline void ReservoirConstraintProto::SharedDtor(MessageLite& self) {
5041 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5042 ABSL_DCHECK(this_.GetArena() ==
nullptr);
5043 this_._impl_.~Impl_();
5047 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5048 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
5052 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
5055 InternalGetArenaOffset(
5059 InternalGetArenaOffset(
5063 InternalGetArenaOffset(
5066 if (arena_bits.has_value()) {
5067 return ::google::protobuf::internal::MessageCreator::ZeroInit(
5068 sizeof(ReservoirConstraintProto), alignof(ReservoirConstraintProto), *arena_bits);
5070 return ::google::protobuf::internal::MessageCreator(&ReservoirConstraintProto::PlacementNew_,
5071 sizeof(ReservoirConstraintProto),
5072 alignof(ReservoirConstraintProto));
5076 return ::google::protobuf::internal::ClassDataFull{
5077 ::google::protobuf::internal::ClassData{
5082 &ReservoirConstraintProto::MergeImpl,
5083 ::google::protobuf::Message::GetNewImpl<ReservoirConstraintProto>(),
5084#if defined(PROTOBUF_CUSTOM_VTABLE)
5085 &ReservoirConstraintProto::SharedDtor,
5092 &ReservoirConstraintProto::kDescriptorMethods,
5098PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
5102PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
5108PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5109const ::_pbi::TcParseTable<3, 5, 2, 0, 2>
5110ReservoirConstraintProto::_table_ = {
5115 offsetof(
decltype(_table_), field_lookup_table),
5117 offsetof(
decltype(_table_), field_entries),
5120 offsetof(
decltype(_table_), aux_entries),
5123 ::_pbi::TcParser::GenericFallback,
5124 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5125 ::_pbi::TcParser::GetTable<::operations_research::sat::ReservoirConstraintProto>(),
5128 {::_pbi::TcParser::MiniParse, {}},
5136 {::_pbi::TcParser::FastMtR1,
5138 {::_pbi::TcParser::MiniParse, {}},
5140 {::_pbi::TcParser::FastV32P1,
5143 {::_pbi::TcParser::FastMtR1,
5145 {::_pbi::TcParser::MiniParse, {}},
5151 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
5154 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
5157 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
5160 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
5163 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
5166 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
5167 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
5174 ::google::protobuf::internal::TSanWrite(&
_impl_);
5175 ::uint32_t cached_has_bits = 0;
5177 (void) cached_has_bits;
5179 _impl_.time_exprs_.Clear();
5180 _impl_.active_literals_.Clear();
5181 _impl_.level_changes_.Clear();
5182 cached_has_bits =
_impl_._has_bits_[0];
5183 if ((cached_has_bits & 0x00000003u) != 0) {
5184 ::memset(&
_impl_.min_level_, 0,
static_cast<::
size_t>(
5185 reinterpret_cast<char*
>(&
_impl_.max_level_) -
5186 reinterpret_cast<char*
>(&
_impl_.min_level_)) +
sizeof(
_impl_.max_level_));
5188 _impl_._has_bits_.Clear();
5189 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5192#if defined(PROTOBUF_CUSTOM_VTABLE)
5194 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
5195 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
5199 ::uint8_t* PROTOBUF_NONNULL target,
5200 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5204 ::uint32_t cached_has_bits = 0;
5205 (void)cached_has_bits;
5208 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
5209 if (this_._internal_min_level() != 0) {
5211 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
5212 stream, this_._internal_min_level(), target);
5217 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
5218 if (this_._internal_max_level() != 0) {
5220 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
5221 stream, this_._internal_max_level(), target);
5226 for (
unsigned i = 0, n =
static_cast<unsigned>(
5227 this_._internal_time_exprs_size());
5229 const auto& repfield = this_._internal_time_exprs().Get(
i);
5231 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5232 3, repfield, repfield.GetCachedSize(),
5238 int byte_size = this_._impl_._active_literals_cached_byte_size_.Get();
5239 if (byte_size > 0) {
5240 target = stream->WriteInt32Packed(
5241 5, this_._internal_active_literals(), byte_size, target);
5246 for (
unsigned i = 0, n =
static_cast<unsigned>(
5247 this_._internal_level_changes_size());
5249 const auto& repfield = this_._internal_level_changes().Get(
i);
5251 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5252 6, repfield, repfield.GetCachedSize(),
5256 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5258 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5259 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5265#if defined(PROTOBUF_CUSTOM_VTABLE)
5273 ::size_t total_size = 0;
5275 ::uint32_t cached_has_bits = 0;
5277 (void)cached_has_bits;
5279 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5283 total_size += 1UL * this_._internal_time_exprs_size();
5284 for (
const auto& msg : this_._internal_time_exprs()) {
5285 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5291 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
5292 this_._internal_active_literals(), 1,
5293 this_._impl_._active_literals_cached_byte_size_);
5297 total_size += 1UL * this_._internal_level_changes_size();
5298 for (
const auto& msg : this_._internal_level_changes()) {
5299 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5303 cached_has_bits = this_._impl_._has_bits_[0];
5304 if ((cached_has_bits & 0x00000003u) != 0) {
5306 if ((cached_has_bits & 0x00000001u) != 0) {
5307 if (this_._internal_min_level() != 0) {
5308 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
5309 this_._internal_min_level());
5313 if ((cached_has_bits & 0x00000002u) != 0) {
5314 if (this_._internal_max_level() != 0) {
5315 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
5316 this_._internal_max_level());
5320 return this_.MaybeComputeUnknownFieldsSize(total_size,
5321 &this_._impl_._cached_size_);
5324void ReservoirConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5328 ABSL_DCHECK_NE(&from, _this);
5329 ::uint32_t cached_has_bits = 0;
5330 (void) cached_has_bits;
5332 _this->_internal_mutable_time_exprs()->MergeFrom(
5333 from._internal_time_exprs());
5334 _this->_internal_mutable_active_literals()->MergeFrom(from._internal_active_literals());
5335 _this->_internal_mutable_level_changes()->MergeFrom(
5336 from._internal_level_changes());
5337 cached_has_bits = from.
_impl_._has_bits_[0];
5338 if ((cached_has_bits & 0x00000003u) != 0) {
5339 if ((cached_has_bits & 0x00000001u) != 0) {
5340 if (from._internal_min_level() != 0) {
5344 if ((cached_has_bits & 0x00000002u) != 0) {
5345 if (from._internal_max_level() != 0) {
5350 _this->
_impl_._has_bits_[0] |= cached_has_bits;
5351 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5356 if (&from ==
this)
return;
5364 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5365 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5366 _impl_.time_exprs_.InternalSwap(&other->_impl_.time_exprs_);
5367 _impl_.active_literals_.InternalSwap(&other->_impl_.active_literals_);
5368 _impl_.level_changes_.InternalSwap(&other->_impl_.level_changes_);
5369 ::google::protobuf::internal::memswap<
5373 reinterpret_cast<char*
>(&
_impl_.min_level_),
5374 reinterpret_cast<char*
>(&other->_impl_.min_level_));
5378 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
5382class CircuitConstraintProto::_Internal {
5387#if defined(PROTOBUF_CUSTOM_VTABLE)
5390 : ::google::protobuf::Message(arena) {
5395PROTOBUF_NDEBUG_INLINE CircuitConstraintProto::Impl_::Impl_(
5396 ::google::protobuf::internal::InternalVisibility visibility,
5397 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5398 const ::operations_research::sat::CircuitConstraintProto& from_msg)
5399 : tails_{visibility, arena, from.tails_},
5400 _tails_cached_byte_size_{0},
5401 heads_{visibility, arena, from.heads_},
5402 _heads_cached_byte_size_{0},
5403 literals_{visibility, arena, from.literals_},
5404 _literals_cached_byte_size_{0},
5408 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
5410#if defined(PROTOBUF_CUSTOM_VTABLE)
5413 : ::google::protobuf::Message(arena) {
5417 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5418 from._internal_metadata_);
5419 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
5423PROTOBUF_NDEBUG_INLINE CircuitConstraintProto::Impl_::Impl_(
5424 ::google::protobuf::internal::InternalVisibility visibility,
5425 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
5426 : tails_{visibility, arena},
5427 _tails_cached_byte_size_{0},
5428 heads_{visibility, arena},
5429 _heads_cached_byte_size_{0},
5430 literals_{visibility, arena},
5431 _literals_cached_byte_size_{0},
5434inline void CircuitConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
5435 new (&
_impl_) Impl_(internal_visibility(), arena);
5441inline void CircuitConstraintProto::SharedDtor(MessageLite& self) {
5443 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5444 ABSL_DCHECK(this_.GetArena() ==
nullptr);
5445 this_._impl_.~Impl_();
5449 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5450 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
5454 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
5457 InternalGetArenaOffset(
5461 InternalGetArenaOffset(
5465 InternalGetArenaOffset(
5468 if (arena_bits.has_value()) {
5469 return ::google::protobuf::internal::MessageCreator::ZeroInit(
5470 sizeof(CircuitConstraintProto), alignof(CircuitConstraintProto), *arena_bits);
5472 return ::google::protobuf::internal::MessageCreator(&CircuitConstraintProto::PlacementNew_,
5473 sizeof(CircuitConstraintProto),
5474 alignof(CircuitConstraintProto));
5478 return ::google::protobuf::internal::ClassDataFull{
5479 ::google::protobuf::internal::ClassData{
5484 &CircuitConstraintProto::MergeImpl,
5485 ::google::protobuf::Message::GetNewImpl<CircuitConstraintProto>(),
5486#if defined(PROTOBUF_CUSTOM_VTABLE)
5487 &CircuitConstraintProto::SharedDtor,
5494 &CircuitConstraintProto::kDescriptorMethods,
5500PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
5504PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
5510PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5511const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
5512CircuitConstraintProto::_table_ = {
5517 offsetof(
decltype(_table_), field_lookup_table),
5519 offsetof(
decltype(_table_), field_entries),
5522 offsetof(
decltype(_table_), field_names),
5525 ::_pbi::TcParser::GenericFallback,
5526 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5527 ::_pbi::TcParser::GetTable<::operations_research::sat::CircuitConstraintProto>(),
5531 {::_pbi::TcParser::FastV32P1,
5534 {::_pbi::TcParser::FastV32P1,
5536 {::_pbi::TcParser::MiniParse, {}},
5538 {::_pbi::TcParser::FastV32P1,
5545 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
5548 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
5551 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
5559 ::google::protobuf::internal::TSanWrite(&
_impl_);
5560 ::uint32_t cached_has_bits = 0;
5562 (void) cached_has_bits;
5566 _impl_.literals_.Clear();
5567 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5570#if defined(PROTOBUF_CUSTOM_VTABLE)
5572 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
5573 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
5577 ::uint8_t* PROTOBUF_NONNULL target,
5578 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5582 ::uint32_t cached_has_bits = 0;
5583 (void)cached_has_bits;
5587 int byte_size = this_.
_impl_._tails_cached_byte_size_.Get();
5588 if (byte_size > 0) {
5589 target = stream->WriteInt32Packed(
5590 3, this_._internal_tails(), byte_size, target);
5596 int byte_size = this_.
_impl_._heads_cached_byte_size_.Get();
5597 if (byte_size > 0) {
5598 target = stream->WriteInt32Packed(
5599 4, this_._internal_heads(), byte_size, target);
5605 int byte_size = this_.
_impl_._literals_cached_byte_size_.Get();
5606 if (byte_size > 0) {
5607 target = stream->WriteInt32Packed(
5608 5, this_._internal_literals(), byte_size, target);
5612 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5614 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5615 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5621#if defined(PROTOBUF_CUSTOM_VTABLE)
5629 ::size_t total_size = 0;
5631 ::uint32_t cached_has_bits = 0;
5633 (void)cached_has_bits;
5635 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5640 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
5641 this_._internal_tails(), 1,
5642 this_._impl_._tails_cached_byte_size_);
5647 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
5648 this_._internal_heads(), 1,
5649 this_._impl_._heads_cached_byte_size_);
5654 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
5655 this_._internal_literals(), 1,
5656 this_._impl_._literals_cached_byte_size_);
5659 return this_.MaybeComputeUnknownFieldsSize(total_size,
5660 &this_._impl_._cached_size_);
5663void CircuitConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5667 ABSL_DCHECK_NE(&from, _this);
5668 ::uint32_t cached_has_bits = 0;
5669 (void) cached_has_bits;
5671 _this->_internal_mutable_tails()->MergeFrom(from._internal_tails());
5672 _this->_internal_mutable_heads()->MergeFrom(from._internal_heads());
5673 _this->_internal_mutable_literals()->MergeFrom(from._internal_literals());
5674 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5679 if (&from ==
this)
return;
5685void CircuitConstraintProto::InternalSwap(
CircuitConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
5687 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5688 _impl_.tails_.InternalSwap(&other->_impl_.tails_);
5689 _impl_.heads_.InternalSwap(&other->_impl_.heads_);
5690 _impl_.literals_.InternalSwap(&other->_impl_.literals_);
5694 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
5698class RoutesConstraintProto_NodeExpressions::_Internal {
5703#if defined(PROTOBUF_CUSTOM_VTABLE)
5706 : ::google::protobuf::Message(arena) {
5711PROTOBUF_NDEBUG_INLINE RoutesConstraintProto_NodeExpressions::Impl_::Impl_(
5712 ::google::protobuf::internal::InternalVisibility visibility,
5713 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5714 const ::operations_research::sat::RoutesConstraintProto_NodeExpressions& from_msg)
5715 : exprs_{visibility, arena, from.exprs_},
5719 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
5721#if defined(PROTOBUF_CUSTOM_VTABLE)
5724 : ::google::protobuf::Message(arena) {
5728 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5729 from._internal_metadata_);
5730 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
5734PROTOBUF_NDEBUG_INLINE RoutesConstraintProto_NodeExpressions::Impl_::Impl_(
5735 ::google::protobuf::internal::InternalVisibility visibility,
5736 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
5737 : exprs_{visibility, arena},
5740inline void RoutesConstraintProto_NodeExpressions::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
5741 new (&
_impl_) Impl_(internal_visibility(), arena);
5747inline void RoutesConstraintProto_NodeExpressions::SharedDtor(MessageLite& self) {
5749 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5750 ABSL_DCHECK(this_.GetArena() ==
nullptr);
5751 this_._impl_.~Impl_();
5755 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5756 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
5760 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
5763 InternalGetArenaOffset(
5766 if (arena_bits.has_value()) {
5767 return ::google::protobuf::internal::MessageCreator::ZeroInit(
5768 sizeof(RoutesConstraintProto_NodeExpressions), alignof(RoutesConstraintProto_NodeExpressions), *arena_bits);
5770 return ::google::protobuf::internal::MessageCreator(&RoutesConstraintProto_NodeExpressions::PlacementNew_,
5771 sizeof(RoutesConstraintProto_NodeExpressions),
5772 alignof(RoutesConstraintProto_NodeExpressions));
5776 return ::google::protobuf::internal::ClassDataFull{
5777 ::google::protobuf::internal::ClassData{
5782 &RoutesConstraintProto_NodeExpressions::MergeImpl,
5783 ::google::protobuf::Message::GetNewImpl<RoutesConstraintProto_NodeExpressions>(),
5784#if defined(PROTOBUF_CUSTOM_VTABLE)
5785 &RoutesConstraintProto_NodeExpressions::SharedDtor,
5792 &RoutesConstraintProto_NodeExpressions::kDescriptorMethods,
5798PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
5802PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
5808PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5809const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
5810RoutesConstraintProto_NodeExpressions::_table_ = {
5815 offsetof(
decltype(_table_), field_lookup_table),
5817 offsetof(
decltype(_table_), field_entries),
5820 offsetof(
decltype(_table_), aux_entries),
5823 ::_pbi::TcParser::GenericFallback,
5824 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5825 ::_pbi::TcParser::GetTable<::operations_research::sat::RoutesConstraintProto_NodeExpressions>(),
5829 {::_pbi::TcParser::FastMtR1,
5836 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
5839 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
5846 ::google::protobuf::internal::TSanWrite(&
_impl_);
5847 ::uint32_t cached_has_bits = 0;
5849 (void) cached_has_bits;
5852 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5855#if defined(PROTOBUF_CUSTOM_VTABLE)
5857 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
5858 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
5862 ::uint8_t* PROTOBUF_NONNULL target,
5863 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5867 ::uint32_t cached_has_bits = 0;
5868 (void)cached_has_bits;
5871 for (
unsigned i = 0, n =
static_cast<unsigned>(
5872 this_._internal_exprs_size());
5874 const auto& repfield = this_._internal_exprs().Get(
i);
5876 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5877 1, repfield, repfield.GetCachedSize(),
5881 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5883 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5884 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5890#if defined(PROTOBUF_CUSTOM_VTABLE)
5898 ::size_t total_size = 0;
5900 ::uint32_t cached_has_bits = 0;
5902 (void)cached_has_bits;
5904 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5908 total_size += 1UL * this_._internal_exprs_size();
5909 for (
const auto& msg : this_._internal_exprs()) {
5910 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5914 return this_.MaybeComputeUnknownFieldsSize(total_size,
5915 &this_._impl_._cached_size_);
5918void RoutesConstraintProto_NodeExpressions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5922 ABSL_DCHECK_NE(&from, _this);
5923 ::uint32_t cached_has_bits = 0;
5924 (void) cached_has_bits;
5926 _this->_internal_mutable_exprs()->MergeFrom(
5927 from._internal_exprs());
5928 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5933 if (&from ==
this)
return;
5941 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5942 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
5946 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
5953 decltype(::std::declval<RoutesConstraintProto>()._impl_._has_bits_);
5954 static constexpr ::int32_t kHasBitsOffset =
5959#if defined(PROTOBUF_CUSTOM_VTABLE)
5962 : ::google::protobuf::Message(arena) {
5967PROTOBUF_NDEBUG_INLINE RoutesConstraintProto::Impl_::Impl_(
5968 ::google::protobuf::internal::InternalVisibility visibility,
5969 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5970 const ::operations_research::sat::RoutesConstraintProto& from_msg)
5971 : _has_bits_{from._has_bits_},
5973 tails_{visibility, arena, from.tails_},
5974 _tails_cached_byte_size_{0},
5975 heads_{visibility, arena, from.heads_},
5976 _heads_cached_byte_size_{0},
5977 literals_{visibility, arena, from.literals_},
5978 _literals_cached_byte_size_{0},
5979 demands_{visibility, arena, from.demands_},
5980 _demands_cached_byte_size_{0},
5981 dimensions_{visibility, arena, from.dimensions_} {}
5984 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
5986#if defined(PROTOBUF_CUSTOM_VTABLE)
5989 : ::google::protobuf::Message(arena) {
5993 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5994 from._internal_metadata_);
5995 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
6000PROTOBUF_NDEBUG_INLINE RoutesConstraintProto::Impl_::Impl_(
6001 ::google::protobuf::internal::InternalVisibility visibility,
6002 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6004 tails_{visibility, arena},
6005 _tails_cached_byte_size_{0},
6006 heads_{visibility, arena},
6007 _heads_cached_byte_size_{0},
6008 literals_{visibility, arena},
6009 _literals_cached_byte_size_{0},
6010 demands_{visibility, arena},
6011 _demands_cached_byte_size_{0},
6012 dimensions_{visibility, arena} {}
6014inline void RoutesConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
6015 new (&
_impl_) Impl_(internal_visibility(), arena);
6022inline void RoutesConstraintProto::SharedDtor(MessageLite& self) {
6024 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6025 ABSL_DCHECK(this_.GetArena() ==
nullptr);
6026 this_._impl_.~Impl_();
6030 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6031 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6035 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
6038 InternalGetArenaOffset(
6039 ::google::protobuf::Message::internal_visibility()),
6042 InternalGetArenaOffset(
6043 ::google::protobuf::Message::internal_visibility()),
6046 InternalGetArenaOffset(
6050 InternalGetArenaOffset(
6054 InternalGetArenaOffset(
6057 if (arena_bits.has_value()) {
6058 return ::google::protobuf::internal::MessageCreator::ZeroInit(
6059 sizeof(RoutesConstraintProto), alignof(RoutesConstraintProto), *arena_bits);
6061 return ::google::protobuf::internal::MessageCreator(&RoutesConstraintProto::PlacementNew_,
6062 sizeof(RoutesConstraintProto),
6063 alignof(RoutesConstraintProto));
6067 return ::google::protobuf::internal::ClassDataFull{
6068 ::google::protobuf::internal::ClassData{
6073 &RoutesConstraintProto::MergeImpl,
6074 ::google::protobuf::Message::GetNewImpl<RoutesConstraintProto>(),
6075#if defined(PROTOBUF_CUSTOM_VTABLE)
6076 &RoutesConstraintProto::SharedDtor,
6083 &RoutesConstraintProto::kDescriptorMethods,
6089PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
6093PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
6099PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6100const ::_pbi::TcParseTable<3, 6, 1, 0, 2>
6101RoutesConstraintProto::_table_ = {
6106 offsetof(
decltype(_table_), field_lookup_table),
6108 offsetof(
decltype(_table_), field_entries),
6111 offsetof(
decltype(_table_), aux_entries),
6114 ::_pbi::TcParser::GenericFallback,
6115 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6116 ::_pbi::TcParser::GetTable<::operations_research::sat::RoutesConstraintProto>(),
6119 {::_pbi::TcParser::MiniParse, {}},
6121 {::_pbi::TcParser::FastV32P1,
6124 {::_pbi::TcParser::FastV32P1,
6127 {::_pbi::TcParser::FastV32P1,
6130 {::_pbi::TcParser::FastV32P1,
6136 {::_pbi::TcParser::FastMtR1,
6138 {::_pbi::TcParser::MiniParse, {}},
6144 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
6147 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
6150 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
6153 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
6156 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
6159 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
6162 {::_pbi::TcParser::GetTable<::operations_research::sat::RoutesConstraintProto_NodeExpressions>()},
6169 ::google::protobuf::internal::TSanWrite(&
_impl_);
6170 ::uint32_t cached_has_bits = 0;
6172 (void) cached_has_bits;
6176 _impl_.literals_.Clear();
6178 _impl_.dimensions_.Clear();
6179 _impl_.capacity_ = ::int64_t{0};
6180 _impl_._has_bits_.Clear();
6181 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6184#if defined(PROTOBUF_CUSTOM_VTABLE)
6186 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
6187 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
6191 ::uint8_t* PROTOBUF_NONNULL target,
6192 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
6196 ::uint32_t cached_has_bits = 0;
6197 (void)cached_has_bits;
6201 int byte_size = this_.
_impl_._tails_cached_byte_size_.Get();
6202 if (byte_size > 0) {
6203 target = stream->WriteInt32Packed(
6204 1, this_._internal_tails(), byte_size, target);
6210 int byte_size = this_.
_impl_._heads_cached_byte_size_.Get();
6211 if (byte_size > 0) {
6212 target = stream->WriteInt32Packed(
6213 2, this_._internal_heads(), byte_size, target);
6219 int byte_size = this_.
_impl_._literals_cached_byte_size_.Get();
6220 if (byte_size > 0) {
6221 target = stream->WriteInt32Packed(
6222 3, this_._internal_literals(), byte_size, target);
6228 int byte_size = this_.
_impl_._demands_cached_byte_size_.Get();
6229 if (byte_size > 0) {
6230 target = stream->WriteInt32Packed(
6231 4, this_._internal_demands(), byte_size, target);
6236 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
6237 if (this_._internal_capacity() != 0) {
6239 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
6240 stream, this_._internal_capacity(), target);
6245 for (
unsigned i = 0, n =
static_cast<unsigned>(
6246 this_._internal_dimensions_size());
6248 const auto& repfield = this_._internal_dimensions().Get(
i);
6250 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6251 6, repfield, repfield.GetCachedSize(),
6255 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6257 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6258 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6264#if defined(PROTOBUF_CUSTOM_VTABLE)
6272 ::size_t total_size = 0;
6274 ::uint32_t cached_has_bits = 0;
6276 (void)cached_has_bits;
6278 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6283 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6284 this_._internal_tails(), 1,
6285 this_._impl_._tails_cached_byte_size_);
6290 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6291 this_._internal_heads(), 1,
6292 this_._impl_._heads_cached_byte_size_);
6297 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6298 this_._internal_literals(), 1,
6299 this_._impl_._literals_cached_byte_size_);
6304 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6305 this_._internal_demands(), 1,
6306 this_._impl_._demands_cached_byte_size_);
6310 total_size += 1UL * this_._internal_dimensions_size();
6311 for (
const auto& msg : this_._internal_dimensions()) {
6312 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
6318 cached_has_bits = this_._impl_._has_bits_[0];
6319 if ((cached_has_bits & 0x00000001u) != 0) {
6320 if (this_._internal_capacity() != 0) {
6321 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
6322 this_._internal_capacity());
6326 return this_.MaybeComputeUnknownFieldsSize(total_size,
6327 &this_._impl_._cached_size_);
6330void RoutesConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6334 ABSL_DCHECK_NE(&from, _this);
6335 ::uint32_t cached_has_bits = 0;
6336 (void) cached_has_bits;
6338 _this->_internal_mutable_tails()->MergeFrom(from._internal_tails());
6339 _this->_internal_mutable_heads()->MergeFrom(from._internal_heads());
6340 _this->_internal_mutable_literals()->MergeFrom(from._internal_literals());
6341 _this->_internal_mutable_demands()->MergeFrom(from._internal_demands());
6342 _this->_internal_mutable_dimensions()->MergeFrom(
6343 from._internal_dimensions());
6344 cached_has_bits = from.
_impl_._has_bits_[0];
6345 if ((cached_has_bits & 0x00000001u) != 0) {
6346 if (from._internal_capacity() != 0) {
6350 _this->
_impl_._has_bits_[0] |= cached_has_bits;
6351 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6356 if (&from ==
this)
return;
6362void RoutesConstraintProto::InternalSwap(
RoutesConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
6364 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6365 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6366 _impl_.tails_.InternalSwap(&other->_impl_.tails_);
6367 _impl_.heads_.InternalSwap(&other->_impl_.heads_);
6368 _impl_.literals_.InternalSwap(&other->_impl_.literals_);
6369 _impl_.demands_.InternalSwap(&other->_impl_.demands_);
6370 _impl_.dimensions_.InternalSwap(&other->_impl_.dimensions_);
6371 swap(
_impl_.capacity_, other->_impl_.capacity_);
6375 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
6379class TableConstraintProto::_Internal {
6382 decltype(::std::declval<TableConstraintProto>()._impl_._has_bits_);
6383 static constexpr ::int32_t kHasBitsOffset =
6384 8 * PROTOBUF_FIELD_OFFSET(TableConstraintProto, _impl_._has_bits_);
6388#if defined(PROTOBUF_CUSTOM_VTABLE)
6391 : ::google::protobuf::Message(arena) {
6396PROTOBUF_NDEBUG_INLINE TableConstraintProto::Impl_::Impl_(
6397 ::google::protobuf::internal::InternalVisibility visibility,
6398 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
6399 const ::operations_research::sat::TableConstraintProto& from_msg)
6400 : _has_bits_{from._has_bits_},
6402 vars_{visibility, arena, from.vars_},
6403 _vars_cached_byte_size_{0},
6404 values_{visibility, arena, from.values_},
6405 _values_cached_byte_size_{0},
6406 exprs_{visibility, arena, from.exprs_} {}
6409 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
6411#if defined(PROTOBUF_CUSTOM_VTABLE)
6414 : ::google::protobuf::Message(arena) {
6418 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6419 from._internal_metadata_);
6420 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
6425PROTOBUF_NDEBUG_INLINE TableConstraintProto::Impl_::Impl_(
6426 ::google::protobuf::internal::InternalVisibility visibility,
6427 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6429 vars_{visibility, arena},
6430 _vars_cached_byte_size_{0},
6431 values_{visibility, arena},
6432 _values_cached_byte_size_{0},
6433 exprs_{visibility, arena} {}
6435inline void TableConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
6436 new (&
_impl_) Impl_(internal_visibility(), arena);
6443inline void TableConstraintProto::SharedDtor(MessageLite& self) {
6445 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6446 ABSL_DCHECK(this_.GetArena() ==
nullptr);
6447 this_._impl_.~Impl_();
6451 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6452 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6456 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
6459 InternalGetArenaOffset(
6460 ::google::protobuf::Message::internal_visibility()),
6463 InternalGetArenaOffset(
6464 ::google::protobuf::Message::internal_visibility()),
6467 InternalGetArenaOffset(
6470 if (arena_bits.has_value()) {
6471 return ::google::protobuf::internal::MessageCreator::ZeroInit(
6472 sizeof(TableConstraintProto), alignof(TableConstraintProto), *arena_bits);
6474 return ::google::protobuf::internal::MessageCreator(&TableConstraintProto::PlacementNew_,
6475 sizeof(TableConstraintProto),
6476 alignof(TableConstraintProto));
6480 return ::google::protobuf::internal::ClassDataFull{
6481 ::google::protobuf::internal::ClassData{
6486 &TableConstraintProto::MergeImpl,
6487 ::google::protobuf::Message::GetNewImpl<TableConstraintProto>(),
6488#if defined(PROTOBUF_CUSTOM_VTABLE)
6489 &TableConstraintProto::SharedDtor,
6496 &TableConstraintProto::kDescriptorMethods,
6502PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
6506PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
6512PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6513const ::_pbi::TcParseTable<2, 4, 1, 0, 2>
6514TableConstraintProto::_table_ = {
6519 offsetof(
decltype(_table_), field_lookup_table),
6521 offsetof(
decltype(_table_), field_entries),
6524 offsetof(
decltype(_table_), aux_entries),
6527 ::_pbi::TcParser::GenericFallback,
6528 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6529 ::_pbi::TcParser::GetTable<::operations_research::sat::TableConstraintProto>(),
6533 {::_pbi::TcParser::FastMtR1,
6536 {::_pbi::TcParser::FastV32P1,
6539 {::_pbi::TcParser::FastV64P1,
6549 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
6552 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
6555 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
6558 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
6561 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
6568 ::google::protobuf::internal::TSanWrite(&
_impl_);
6569 ::uint32_t cached_has_bits = 0;
6571 (void) cached_has_bits;
6577 _impl_._has_bits_.Clear();
6578 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6581#if defined(PROTOBUF_CUSTOM_VTABLE)
6583 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
6584 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
6588 ::uint8_t* PROTOBUF_NONNULL target,
6589 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
6593 ::uint32_t cached_has_bits = 0;
6594 (void)cached_has_bits;
6598 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
6599 if (byte_size > 0) {
6600 target = stream->WriteInt32Packed(
6601 1, this_._internal_vars(), byte_size, target);
6607 int byte_size = this_.
_impl_._values_cached_byte_size_.Get();
6608 if (byte_size > 0) {
6609 target = stream->WriteInt64Packed(
6610 2, this_._internal_values(), byte_size, target);
6615 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
6616 if (this_._internal_negated() != 0) {
6617 target = stream->EnsureSpace(target);
6618 target = ::_pbi::WireFormatLite::WriteBoolToArray(
6619 3, this_._internal_negated(), target);
6624 for (
unsigned i = 0, n =
static_cast<unsigned>(
6625 this_._internal_exprs_size());
6627 const auto& repfield = this_._internal_exprs().Get(
i);
6629 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6630 4, repfield, repfield.GetCachedSize(),
6634 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6636 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6637 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6643#if defined(PROTOBUF_CUSTOM_VTABLE)
6651 ::size_t total_size = 0;
6653 ::uint32_t cached_has_bits = 0;
6655 (void)cached_has_bits;
6657 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6662 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6663 this_._internal_vars(), 1,
6664 this_._impl_._vars_cached_byte_size_);
6669 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
6670 this_._internal_values(), 1,
6671 this_._impl_._values_cached_byte_size_);
6675 total_size += 1UL * this_._internal_exprs_size();
6676 for (
const auto& msg : this_._internal_exprs()) {
6677 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
6683 cached_has_bits = this_._impl_._has_bits_[0];
6684 if ((cached_has_bits & 0x00000001u) != 0) {
6685 if (this_._internal_negated() != 0) {
6690 return this_.MaybeComputeUnknownFieldsSize(total_size,
6691 &this_._impl_._cached_size_);
6694void TableConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6698 ABSL_DCHECK_NE(&from, _this);
6699 ::uint32_t cached_has_bits = 0;
6700 (void) cached_has_bits;
6702 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
6703 _this->_internal_mutable_values()->MergeFrom(from._internal_values());
6704 _this->_internal_mutable_exprs()->MergeFrom(
6705 from._internal_exprs());
6706 cached_has_bits = from.
_impl_._has_bits_[0];
6707 if ((cached_has_bits & 0x00000001u) != 0) {
6708 if (from._internal_negated() != 0) {
6712 _this->
_impl_._has_bits_[0] |= cached_has_bits;
6713 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6718 if (&from ==
this)
return;
6724void TableConstraintProto::InternalSwap(
TableConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
6726 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6727 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6728 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
6729 _impl_.values_.InternalSwap(&other->_impl_.values_);
6730 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
6731 swap(
_impl_.negated_, other->_impl_.negated_);
6735 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
6739class InverseConstraintProto::_Internal {
6744#if defined(PROTOBUF_CUSTOM_VTABLE)
6747 : ::google::protobuf::Message(arena) {
6752PROTOBUF_NDEBUG_INLINE InverseConstraintProto::Impl_::Impl_(
6753 ::google::protobuf::internal::InternalVisibility visibility,
6754 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
6755 const ::operations_research::sat::InverseConstraintProto& from_msg)
6756 : f_direct_{visibility, arena, from.f_direct_},
6757 _f_direct_cached_byte_size_{0},
6758 f_inverse_{visibility, arena, from.f_inverse_},
6759 _f_inverse_cached_byte_size_{0},
6763 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
6765#if defined(PROTOBUF_CUSTOM_VTABLE)
6768 : ::google::protobuf::Message(arena) {
6772 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6773 from._internal_metadata_);
6774 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
6778PROTOBUF_NDEBUG_INLINE InverseConstraintProto::Impl_::Impl_(
6779 ::google::protobuf::internal::InternalVisibility visibility,
6780 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6781 : f_direct_{visibility, arena},
6782 _f_direct_cached_byte_size_{0},
6783 f_inverse_{visibility, arena},
6784 _f_inverse_cached_byte_size_{0},
6787inline void InverseConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
6788 new (&
_impl_) Impl_(internal_visibility(), arena);
6794inline void InverseConstraintProto::SharedDtor(MessageLite& self) {
6796 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6797 ABSL_DCHECK(this_.GetArena() ==
nullptr);
6798 this_._impl_.~Impl_();
6802 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6803 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6807 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
6810 InternalGetArenaOffset(
6811 ::google::protobuf::Message::internal_visibility()),
6814 InternalGetArenaOffset(
6815 ::google::protobuf::Message::internal_visibility()),
6817 if (arena_bits.has_value()) {
6818 return ::google::protobuf::internal::MessageCreator::ZeroInit(
6827 return ::google::protobuf::internal::ClassDataFull{
6828 ::google::protobuf::internal::ClassData{
6833 &InverseConstraintProto::MergeImpl,
6834 ::google::protobuf::Message::GetNewImpl<InverseConstraintProto>(),
6835#if defined(PROTOBUF_CUSTOM_VTABLE)
6836 &InverseConstraintProto::SharedDtor,
6843 &InverseConstraintProto::kDescriptorMethods,
6849PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
6853PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
6859PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6860const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
6861InverseConstraintProto::_table_ = {
6866 offsetof(
decltype(_table_), field_lookup_table),
6868 offsetof(
decltype(_table_), field_entries),
6871 offsetof(
decltype(_table_), field_names),
6874 ::_pbi::TcParser::GenericFallback,
6875 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6876 ::_pbi::TcParser::GetTable<::operations_research::sat::InverseConstraintProto>(),
6880 {::_pbi::TcParser::FastV32P1,
6883 {::_pbi::TcParser::FastV32P1,
6890 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
6893 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
6901 ::google::protobuf::internal::TSanWrite(&
_impl_);
6902 ::uint32_t cached_has_bits = 0;
6904 (void) cached_has_bits;
6906 _impl_.f_direct_.Clear();
6907 _impl_.f_inverse_.Clear();
6908 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6911#if defined(PROTOBUF_CUSTOM_VTABLE)
6913 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
6914 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
6918 ::uint8_t* PROTOBUF_NONNULL target,
6919 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
6923 ::uint32_t cached_has_bits = 0;
6924 (void)cached_has_bits;
6928 int byte_size = this_.
_impl_._f_direct_cached_byte_size_.Get();
6929 if (byte_size > 0) {
6930 target = stream->WriteInt32Packed(
6931 1, this_._internal_f_direct(), byte_size, target);
6937 int byte_size = this_.
_impl_._f_inverse_cached_byte_size_.Get();
6938 if (byte_size > 0) {
6939 target = stream->WriteInt32Packed(
6940 2, this_._internal_f_inverse(), byte_size, target);
6944 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6946 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6947 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6953#if defined(PROTOBUF_CUSTOM_VTABLE)
6961 ::size_t total_size = 0;
6963 ::uint32_t cached_has_bits = 0;
6965 (void)cached_has_bits;
6967 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6972 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6973 this_._internal_f_direct(), 1,
6974 this_._impl_._f_direct_cached_byte_size_);
6979 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
6980 this_._internal_f_inverse(), 1,
6981 this_._impl_._f_inverse_cached_byte_size_);
6984 return this_.MaybeComputeUnknownFieldsSize(total_size,
6985 &this_._impl_._cached_size_);
6988void InverseConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6992 ABSL_DCHECK_NE(&from, _this);
6993 ::uint32_t cached_has_bits = 0;
6994 (void) cached_has_bits;
6996 _this->_internal_mutable_f_direct()->MergeFrom(from._internal_f_direct());
6997 _this->_internal_mutable_f_inverse()->MergeFrom(from._internal_f_inverse());
6998 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7003 if (&from ==
this)
return;
7009void InverseConstraintProto::InternalSwap(
InverseConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
7011 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7012 _impl_.f_direct_.InternalSwap(&other->_impl_.f_direct_);
7013 _impl_.f_inverse_.InternalSwap(&other->_impl_.f_inverse_);
7017 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
7024 decltype(::std::declval<AutomatonConstraintProto>()._impl_._has_bits_);
7025 static constexpr ::int32_t kHasBitsOffset =
7030#if defined(PROTOBUF_CUSTOM_VTABLE)
7033 : ::google::protobuf::Message(arena) {
7038PROTOBUF_NDEBUG_INLINE AutomatonConstraintProto::Impl_::Impl_(
7039 ::google::protobuf::internal::InternalVisibility visibility,
7040 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
7041 const ::operations_research::sat::AutomatonConstraintProto& from_msg)
7042 : _has_bits_{from._has_bits_},
7044 final_states_{visibility, arena, from.final_states_},
7045 _final_states_cached_byte_size_{0},
7046 transition_tail_{visibility, arena, from.transition_tail_},
7047 _transition_tail_cached_byte_size_{0},
7048 transition_head_{visibility, arena, from.transition_head_},
7049 _transition_head_cached_byte_size_{0},
7050 transition_label_{visibility, arena, from.transition_label_},
7051 _transition_label_cached_byte_size_{0},
7052 vars_{visibility, arena, from.vars_},
7053 _vars_cached_byte_size_{0},
7054 exprs_{visibility, arena, from.exprs_} {}
7057 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
7059#if defined(PROTOBUF_CUSTOM_VTABLE)
7062 : ::google::protobuf::Message(arena) {
7066 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
7067 from._internal_metadata_);
7068 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
7073PROTOBUF_NDEBUG_INLINE AutomatonConstraintProto::Impl_::Impl_(
7074 ::google::protobuf::internal::InternalVisibility visibility,
7075 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
7077 final_states_{visibility, arena},
7078 _final_states_cached_byte_size_{0},
7079 transition_tail_{visibility, arena},
7080 _transition_tail_cached_byte_size_{0},
7081 transition_head_{visibility, arena},
7082 _transition_head_cached_byte_size_{0},
7083 transition_label_{visibility, arena},
7084 _transition_label_cached_byte_size_{0},
7085 vars_{visibility, arena},
7086 _vars_cached_byte_size_{0},
7087 exprs_{visibility, arena} {}
7089inline void AutomatonConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
7090 new (&
_impl_) Impl_(internal_visibility(), arena);
7091 _impl_.starting_state_ = {};
7097inline void AutomatonConstraintProto::SharedDtor(MessageLite& self) {
7099 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7100 ABSL_DCHECK(this_.GetArena() ==
nullptr);
7101 this_._impl_.~Impl_();
7105 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
7106 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
7110 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
7113 InternalGetArenaOffset(
7117 InternalGetArenaOffset(
7121 InternalGetArenaOffset(
7125 InternalGetArenaOffset(
7129 InternalGetArenaOffset(
7133 InternalGetArenaOffset(
7136 if (arena_bits.has_value()) {
7137 return ::google::protobuf::internal::MessageCreator::ZeroInit(
7138 sizeof(AutomatonConstraintProto), alignof(AutomatonConstraintProto), *arena_bits);
7140 return ::google::protobuf::internal::MessageCreator(&AutomatonConstraintProto::PlacementNew_,
7141 sizeof(AutomatonConstraintProto),
7142 alignof(AutomatonConstraintProto));
7146 return ::google::protobuf::internal::ClassDataFull{
7147 ::google::protobuf::internal::ClassData{
7152 &AutomatonConstraintProto::MergeImpl,
7153 ::google::protobuf::Message::GetNewImpl<AutomatonConstraintProto>(),
7154#if defined(PROTOBUF_CUSTOM_VTABLE)
7155 &AutomatonConstraintProto::SharedDtor,
7162 &AutomatonConstraintProto::kDescriptorMethods,
7168PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
7172PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
7178PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7179const ::_pbi::TcParseTable<3, 7, 1, 0, 2>
7180AutomatonConstraintProto::_table_ = {
7185 offsetof(
decltype(_table_), field_lookup_table),
7187 offsetof(
decltype(_table_), field_entries),
7190 offsetof(
decltype(_table_), aux_entries),
7193 ::_pbi::TcParser::GenericFallback,
7194 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7195 ::_pbi::TcParser::GetTable<::operations_research::sat::AutomatonConstraintProto>(),
7199 {::_pbi::TcParser::FastMtR1,
7201 {::_pbi::TcParser::MiniParse, {}},
7206 {::_pbi::TcParser::FastV64P1,
7209 {::_pbi::TcParser::FastV64P1,
7212 {::_pbi::TcParser::FastV64P1,
7215 {::_pbi::TcParser::FastV64P1,
7218 {::_pbi::TcParser::FastV32P1,
7225 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
7228 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
7231 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
7234 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
7237 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
7240 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
7243 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
7246 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
7253 ::google::protobuf::internal::TSanWrite(&
_impl_);
7254 ::uint32_t cached_has_bits = 0;
7256 (void) cached_has_bits;
7258 _impl_.final_states_.Clear();
7259 _impl_.transition_tail_.Clear();
7260 _impl_.transition_head_.Clear();
7261 _impl_.transition_label_.Clear();
7264 _impl_.starting_state_ = ::int64_t{0};
7265 _impl_._has_bits_.Clear();
7266 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7269#if defined(PROTOBUF_CUSTOM_VTABLE)
7271 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
7272 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
7276 ::uint8_t* PROTOBUF_NONNULL target,
7277 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
7281 ::uint32_t cached_has_bits = 0;
7282 (void)cached_has_bits;
7285 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
7286 if (this_._internal_starting_state() != 0) {
7288 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
7289 stream, this_._internal_starting_state(), target);
7295 int byte_size = this_.
_impl_._final_states_cached_byte_size_.Get();
7296 if (byte_size > 0) {
7297 target = stream->WriteInt64Packed(
7298 3, this_._internal_final_states(), byte_size, target);
7304 int byte_size = this_.
_impl_._transition_tail_cached_byte_size_.Get();
7305 if (byte_size > 0) {
7306 target = stream->WriteInt64Packed(
7307 4, this_._internal_transition_tail(), byte_size, target);
7313 int byte_size = this_.
_impl_._transition_head_cached_byte_size_.Get();
7314 if (byte_size > 0) {
7315 target = stream->WriteInt64Packed(
7316 5, this_._internal_transition_head(), byte_size, target);
7322 int byte_size = this_.
_impl_._transition_label_cached_byte_size_.Get();
7323 if (byte_size > 0) {
7324 target = stream->WriteInt64Packed(
7325 6, this_._internal_transition_label(), byte_size, target);
7331 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
7332 if (byte_size > 0) {
7333 target = stream->WriteInt32Packed(
7334 7, this_._internal_vars(), byte_size, target);
7339 for (
unsigned i = 0, n =
static_cast<unsigned>(
7340 this_._internal_exprs_size());
7342 const auto& repfield = this_._internal_exprs().Get(
i);
7344 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7345 8, repfield, repfield.GetCachedSize(),
7349 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7351 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7352 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7358#if defined(PROTOBUF_CUSTOM_VTABLE)
7366 ::size_t total_size = 0;
7368 ::uint32_t cached_has_bits = 0;
7370 (void)cached_has_bits;
7372 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7377 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
7378 this_._internal_final_states(), 1,
7379 this_._impl_._final_states_cached_byte_size_);
7384 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
7385 this_._internal_transition_tail(), 1,
7386 this_._impl_._transition_tail_cached_byte_size_);
7391 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
7392 this_._internal_transition_head(), 1,
7393 this_._impl_._transition_head_cached_byte_size_);
7398 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
7399 this_._internal_transition_label(), 1,
7400 this_._impl_._transition_label_cached_byte_size_);
7405 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
7406 this_._internal_vars(), 1,
7407 this_._impl_._vars_cached_byte_size_);
7411 total_size += 1UL * this_._internal_exprs_size();
7412 for (
const auto& msg : this_._internal_exprs()) {
7413 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
7419 cached_has_bits = this_._impl_._has_bits_[0];
7420 if ((cached_has_bits & 0x00000001u) != 0) {
7421 if (this_._internal_starting_state() != 0) {
7422 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
7423 this_._internal_starting_state());
7427 return this_.MaybeComputeUnknownFieldsSize(total_size,
7428 &this_._impl_._cached_size_);
7431void AutomatonConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
7435 ABSL_DCHECK_NE(&from, _this);
7436 ::uint32_t cached_has_bits = 0;
7437 (void) cached_has_bits;
7439 _this->_internal_mutable_final_states()->MergeFrom(from._internal_final_states());
7440 _this->_internal_mutable_transition_tail()->MergeFrom(from._internal_transition_tail());
7441 _this->_internal_mutable_transition_head()->MergeFrom(from._internal_transition_head());
7442 _this->_internal_mutable_transition_label()->MergeFrom(from._internal_transition_label());
7443 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
7444 _this->_internal_mutable_exprs()->MergeFrom(
7445 from._internal_exprs());
7446 cached_has_bits = from.
_impl_._has_bits_[0];
7447 if ((cached_has_bits & 0x00000001u) != 0) {
7448 if (from._internal_starting_state() != 0) {
7449 _this->
_impl_.starting_state_ = from.
_impl_.starting_state_;
7452 _this->
_impl_._has_bits_[0] |= cached_has_bits;
7453 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7458 if (&from ==
this)
return;
7466 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7467 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7468 _impl_.final_states_.InternalSwap(&other->_impl_.final_states_);
7469 _impl_.transition_tail_.InternalSwap(&other->_impl_.transition_tail_);
7470 _impl_.transition_head_.InternalSwap(&other->_impl_.transition_head_);
7471 _impl_.transition_label_.InternalSwap(&other->_impl_.transition_label_);
7472 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
7473 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
7478 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
7482class ListOfVariablesProto::_Internal {
7487#if defined(PROTOBUF_CUSTOM_VTABLE)
7490 : ::google::protobuf::Message(arena) {
7495PROTOBUF_NDEBUG_INLINE ListOfVariablesProto::Impl_::Impl_(
7496 ::google::protobuf::internal::InternalVisibility visibility,
7497 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
7498 const ::operations_research::sat::ListOfVariablesProto& from_msg)
7499 : vars_{visibility, arena, from.vars_},
7500 _vars_cached_byte_size_{0},
7504 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
7506#if defined(PROTOBUF_CUSTOM_VTABLE)
7509 : ::google::protobuf::Message(arena) {
7513 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
7514 from._internal_metadata_);
7515 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
7519PROTOBUF_NDEBUG_INLINE ListOfVariablesProto::Impl_::Impl_(
7520 ::google::protobuf::internal::InternalVisibility visibility,
7521 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
7522 : vars_{visibility, arena},
7523 _vars_cached_byte_size_{0},
7526inline void ListOfVariablesProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
7527 new (&
_impl_) Impl_(internal_visibility(), arena);
7533inline void ListOfVariablesProto::SharedDtor(
MessageLite& self) {
7534 ListOfVariablesProto& this_ =
static_cast<ListOfVariablesProto&
>(self);
7535 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7536 ABSL_DCHECK(this_.GetArena() ==
nullptr);
7537 this_._impl_.~Impl_();
7541 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
7542 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
7543 return ::new (mem) ListOfVariablesProto(arena);
7546 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
7547 PROTOBUF_FIELD_OFFSET(ListOfVariablesProto,
_impl_.vars_) +
7549 InternalGetArenaOffset(
7552 if (arena_bits.has_value()) {
7553 return ::google::protobuf::internal::MessageCreator::ZeroInit(
7554 sizeof(ListOfVariablesProto), alignof(ListOfVariablesProto), *arena_bits);
7556 return ::google::protobuf::internal::MessageCreator(&ListOfVariablesProto::PlacementNew_,
7557 sizeof(ListOfVariablesProto),
7558 alignof(ListOfVariablesProto));
7562 return ::google::protobuf::internal::ClassDataFull{
7563 ::google::protobuf::internal::ClassData{
7568 &ListOfVariablesProto::MergeImpl,
7569 ::google::protobuf::Message::GetNewImpl<ListOfVariablesProto>(),
7570#if defined(PROTOBUF_CUSTOM_VTABLE)
7571 &ListOfVariablesProto::SharedDtor,
7578 &ListOfVariablesProto::kDescriptorMethods,
7584PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
7588PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
7594PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7595const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
7596ListOfVariablesProto::_table_ = {
7601 offsetof(
decltype(_table_), field_lookup_table),
7603 offsetof(
decltype(_table_), field_entries),
7606 offsetof(
decltype(_table_), field_names),
7609 ::_pbi::TcParser::GenericFallback,
7610 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7611 ::_pbi::TcParser::GetTable<::operations_research::sat::ListOfVariablesProto>(),
7615 {::_pbi::TcParser::FastV32P1,
7621 {PROTOBUF_FIELD_OFFSET(ListOfVariablesProto,
_impl_.vars_), 0, 0,
7622 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
7630 ::google::protobuf::internal::TSanWrite(&
_impl_);
7631 ::uint32_t cached_has_bits = 0;
7633 (void) cached_has_bits;
7636 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7639#if defined(PROTOBUF_CUSTOM_VTABLE)
7641 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
7642 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
7643 const ListOfVariablesProto& this_ =
static_cast<const ListOfVariablesProto&
>(base);
7646 ::uint8_t* PROTOBUF_NONNULL target,
7647 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
7651 ::uint32_t cached_has_bits = 0;
7652 (void)cached_has_bits;
7656 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
7657 if (byte_size > 0) {
7658 target = stream->WriteInt32Packed(
7659 1, this_._internal_vars(), byte_size, target);
7663 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7665 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7666 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7672#if defined(PROTOBUF_CUSTOM_VTABLE)
7674 const ListOfVariablesProto& this_ =
static_cast<const ListOfVariablesProto&
>(
base);
7677 const ListOfVariablesProto& this_ = *
this;
7680 ::size_t total_size = 0;
7682 ::uint32_t cached_has_bits = 0;
7684 (void)cached_has_bits;
7686 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7691 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
7692 this_._internal_vars(), 1,
7693 this_._impl_._vars_cached_byte_size_);
7696 return this_.MaybeComputeUnknownFieldsSize(total_size,
7697 &this_._impl_._cached_size_);
7700void ListOfVariablesProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
7701 auto*
const _this =
static_cast<ListOfVariablesProto*
>(&to_msg);
7702 auto& from =
static_cast<const ListOfVariablesProto&
>(from_msg);
7704 ABSL_DCHECK_NE(&from, _this);
7705 ::uint32_t cached_has_bits = 0;
7706 (void) cached_has_bits;
7708 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
7709 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7714 if (&from ==
this)
return;
7720void ListOfVariablesProto::InternalSwap(ListOfVariablesProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
7722 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7723 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
7727 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
7734 decltype(::std::declval<ConstraintProto>()._impl_._has_bits_);
7735 static constexpr ::int32_t kHasBitsOffset =
7737 static constexpr ::int32_t kOneofCaseOffset =
7742 ::google::protobuf::Arena* message_arena = GetArena();
7745 ::google::protobuf::Arena* submessage_arena = bool_or->GetArena();
7746 if (message_arena != submessage_arena) {
7747 bool_or = ::google::protobuf::internal::GetOwnedMessage(message_arena, bool_or, submessage_arena);
7750 _impl_.constraint_.bool_or_ = bool_or;
7755 ::google::protobuf::Arena* message_arena = GetArena();
7758 ::google::protobuf::Arena* submessage_arena =
bool_and->GetArena();
7759 if (message_arena != submessage_arena) {
7760 bool_and = ::google::protobuf::internal::GetOwnedMessage(message_arena,
bool_and, submessage_arena);
7763 _impl_.constraint_.bool_and_ = bool_and;
7768 ::google::protobuf::Arena* message_arena = GetArena();
7771 ::google::protobuf::Arena* submessage_arena = at_most_one->GetArena();
7772 if (message_arena != submessage_arena) {
7773 at_most_one = ::google::protobuf::internal::GetOwnedMessage(message_arena, at_most_one, submessage_arena);
7775 set_has_at_most_one();
7776 _impl_.constraint_.at_most_one_ = at_most_one;
7781 ::google::protobuf::Arena* message_arena = GetArena();
7784 ::google::protobuf::Arena* submessage_arena = exactly_one->GetArena();
7785 if (message_arena != submessage_arena) {
7786 exactly_one = ::google::protobuf::internal::GetOwnedMessage(message_arena, exactly_one, submessage_arena);
7788 set_has_exactly_one();
7789 _impl_.constraint_.exactly_one_ = exactly_one;
7794 ::google::protobuf::Arena* message_arena = GetArena();
7797 ::google::protobuf::Arena* submessage_arena = bool_xor->GetArena();
7798 if (message_arena != submessage_arena) {
7799 bool_xor = ::google::protobuf::internal::GetOwnedMessage(message_arena, bool_xor, submessage_arena);
7802 _impl_.constraint_.bool_xor_ = bool_xor;
7807 ::google::protobuf::Arena* message_arena = GetArena();
7810 ::google::protobuf::Arena* submessage_arena = int_div->GetArena();
7811 if (message_arena != submessage_arena) {
7812 int_div = ::google::protobuf::internal::GetOwnedMessage(message_arena, int_div, submessage_arena);
7815 _impl_.constraint_.int_div_ = int_div;
7820 ::google::protobuf::Arena* message_arena = GetArena();
7823 ::google::protobuf::Arena* submessage_arena = int_mod->GetArena();
7824 if (message_arena != submessage_arena) {
7825 int_mod = ::google::protobuf::internal::GetOwnedMessage(message_arena, int_mod, submessage_arena);
7828 _impl_.constraint_.int_mod_ = int_mod;
7833 ::google::protobuf::Arena* message_arena = GetArena();
7836 ::google::protobuf::Arena* submessage_arena = int_prod->GetArena();
7837 if (message_arena != submessage_arena) {
7838 int_prod = ::google::protobuf::internal::GetOwnedMessage(message_arena, int_prod, submessage_arena);
7841 _impl_.constraint_.int_prod_ = int_prod;
7846 ::google::protobuf::Arena* message_arena = GetArena();
7849 ::google::protobuf::Arena* submessage_arena = lin_max->GetArena();
7850 if (message_arena != submessage_arena) {
7851 lin_max = ::google::protobuf::internal::GetOwnedMessage(message_arena, lin_max, submessage_arena);
7854 _impl_.constraint_.lin_max_ = lin_max;
7859 ::google::protobuf::Arena* message_arena = GetArena();
7862 ::google::protobuf::Arena* submessage_arena = linear->GetArena();
7863 if (message_arena != submessage_arena) {
7864 linear = ::google::protobuf::internal::GetOwnedMessage(message_arena, linear, submessage_arena);
7867 _impl_.constraint_.linear_ = linear;
7872 ::google::protobuf::Arena* message_arena = GetArena();
7875 ::google::protobuf::Arena* submessage_arena = all_diff->GetArena();
7876 if (message_arena != submessage_arena) {
7877 all_diff = ::google::protobuf::internal::GetOwnedMessage(message_arena, all_diff, submessage_arena);
7880 _impl_.constraint_.all_diff_ = all_diff;
7885 ::google::protobuf::Arena* message_arena = GetArena();
7888 ::google::protobuf::Arena* submessage_arena = element->GetArena();
7889 if (message_arena != submessage_arena) {
7890 element = ::google::protobuf::internal::GetOwnedMessage(message_arena, element, submessage_arena);
7893 _impl_.constraint_.element_ = element;
7898 ::google::protobuf::Arena* message_arena = GetArena();
7901 ::google::protobuf::Arena* submessage_arena = circuit->GetArena();
7902 if (message_arena != submessage_arena) {
7903 circuit = ::google::protobuf::internal::GetOwnedMessage(message_arena, circuit, submessage_arena);
7906 _impl_.constraint_.circuit_ = circuit;
7911 ::google::protobuf::Arena* message_arena = GetArena();
7914 ::google::protobuf::Arena* submessage_arena = routes->GetArena();
7915 if (message_arena != submessage_arena) {
7916 routes = ::google::protobuf::internal::GetOwnedMessage(message_arena, routes, submessage_arena);
7919 _impl_.constraint_.routes_ = routes;
7924 ::google::protobuf::Arena* message_arena = GetArena();
7927 ::google::protobuf::Arena* submessage_arena = table->GetArena();
7928 if (message_arena != submessage_arena) {
7929 table = ::google::protobuf::internal::GetOwnedMessage(message_arena, table, submessage_arena);
7932 _impl_.constraint_.table_ = table;
7937 ::google::protobuf::Arena* message_arena = GetArena();
7940 ::google::protobuf::Arena* submessage_arena = automaton->GetArena();
7941 if (message_arena != submessage_arena) {
7942 automaton = ::google::protobuf::internal::GetOwnedMessage(message_arena, automaton, submessage_arena);
7944 set_has_automaton();
7945 _impl_.constraint_.automaton_ = automaton;
7950 ::google::protobuf::Arena* message_arena = GetArena();
7953 ::google::protobuf::Arena* submessage_arena = inverse->GetArena();
7954 if (message_arena != submessage_arena) {
7955 inverse = ::google::protobuf::internal::GetOwnedMessage(message_arena, inverse, submessage_arena);
7958 _impl_.constraint_.inverse_ = inverse;
7963 ::google::protobuf::Arena* message_arena = GetArena();
7966 ::google::protobuf::Arena* submessage_arena = reservoir->GetArena();
7967 if (message_arena != submessage_arena) {
7968 reservoir = ::google::protobuf::internal::GetOwnedMessage(message_arena, reservoir, submessage_arena);
7970 set_has_reservoir();
7971 _impl_.constraint_.reservoir_ = reservoir;
7976 ::google::protobuf::Arena* message_arena = GetArena();
7979 ::google::protobuf::Arena* submessage_arena = interval->GetArena();
7980 if (message_arena != submessage_arena) {
7981 interval = ::google::protobuf::internal::GetOwnedMessage(message_arena, interval, submessage_arena);
7984 _impl_.constraint_.interval_ = interval;
7989 ::google::protobuf::Arena* message_arena = GetArena();
7992 ::google::protobuf::Arena* submessage_arena = no_overlap->GetArena();
7993 if (message_arena != submessage_arena) {
7994 no_overlap = ::google::protobuf::internal::GetOwnedMessage(message_arena, no_overlap, submessage_arena);
7996 set_has_no_overlap();
7997 _impl_.constraint_.no_overlap_ = no_overlap;
8002 ::google::protobuf::Arena* message_arena = GetArena();
8004 if (no_overlap_2d) {
8005 ::google::protobuf::Arena* submessage_arena = no_overlap_2d->GetArena();
8006 if (message_arena != submessage_arena) {
8007 no_overlap_2d = ::google::protobuf::internal::GetOwnedMessage(message_arena, no_overlap_2d, submessage_arena);
8009 set_has_no_overlap_2d();
8010 _impl_.constraint_.no_overlap_2d_ = no_overlap_2d;
8015 ::google::protobuf::Arena* message_arena = GetArena();
8018 ::google::protobuf::Arena* submessage_arena = cumulative->GetArena();
8019 if (message_arena != submessage_arena) {
8020 cumulative = ::google::protobuf::internal::GetOwnedMessage(message_arena, cumulative, submessage_arena);
8022 set_has_cumulative();
8023 _impl_.constraint_.cumulative_ = cumulative;
8028 ::google::protobuf::Arena* message_arena = GetArena();
8030 if (dummy_constraint) {
8031 ::google::protobuf::Arena* submessage_arena = dummy_constraint->GetArena();
8032 if (message_arena != submessage_arena) {
8033 dummy_constraint = ::google::protobuf::internal::GetOwnedMessage(message_arena, dummy_constraint, submessage_arena);
8035 set_has_dummy_constraint();
8036 _impl_.constraint_.dummy_constraint_ = dummy_constraint;
8041#if defined(PROTOBUF_CUSTOM_VTABLE)
8044 : ::google::protobuf::Message(arena) {
8049PROTOBUF_NDEBUG_INLINE ConstraintProto::Impl_::Impl_(
8050 ::google::protobuf::internal::InternalVisibility visibility,
8051 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
8052 const ::operations_research::sat::ConstraintProto& from_msg)
8053 : _has_bits_{from._has_bits_},
8055 enforcement_literal_{visibility, arena, from.enforcement_literal_},
8056 _enforcement_literal_cached_byte_size_{0},
8057 name_(arena, from.name_),
8059 _oneof_case_{from._oneof_case_[0]} {}
8062 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
8064#if defined(PROTOBUF_CUSTOM_VTABLE)
8067 : ::google::protobuf::Message(arena) {
8071 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
8072 from._internal_metadata_);
8073 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
8078 _impl_.constraint_.bool_or_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
bool_or_);
8084 _impl_.constraint_.at_most_one_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
at_most_one_);
8087 _impl_.constraint_.exactly_one_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
exactly_one_);
8090 _impl_.constraint_.bool_xor_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
bool_xor_);
8093 _impl_.constraint_.int_div_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
int_div_);
8096 _impl_.constraint_.int_mod_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
int_mod_);
8099 _impl_.constraint_.int_prod_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
int_prod_);
8102 _impl_.constraint_.lin_max_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
lin_max_);
8105 _impl_.constraint_.linear_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
linear_);
8108 _impl_.constraint_.all_diff_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
all_diff_);
8111 _impl_.constraint_.element_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
element_);
8114 _impl_.constraint_.circuit_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
circuit_);
8117 _impl_.constraint_.routes_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
routes_);
8120 _impl_.constraint_.table_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
table_);
8123 _impl_.constraint_.automaton_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
automaton_);
8126 _impl_.constraint_.inverse_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
inverse_);
8129 _impl_.constraint_.reservoir_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
reservoir_);
8132 _impl_.constraint_.interval_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
interval_);
8135 _impl_.constraint_.no_overlap_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
no_overlap_);
8138 _impl_.constraint_.no_overlap_2d_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
no_overlap_2d_);
8141 _impl_.constraint_.cumulative_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
cumulative_);
8150PROTOBUF_NDEBUG_INLINE ConstraintProto::Impl_::Impl_(
8151 ::google::protobuf::internal::InternalVisibility visibility,
8152 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
8154 enforcement_literal_{visibility, arena},
8155 _enforcement_literal_cached_byte_size_{0},
8160inline void ConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
8161 new (&
_impl_) Impl_(internal_visibility(), arena);
8167inline void ConstraintProto::SharedDtor(MessageLite& self) {
8169 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8170 ABSL_DCHECK(this_.GetArena() ==
nullptr);
8171 this_._impl_.name_.Destroy();
8172 if (this_.has_constraint()) {
8173 this_.clear_constraint();
8175 this_._impl_.~Impl_();
8180 ::google::protobuf::internal::TSanWrite(&
_impl_);
8183 if (GetArena() ==
nullptr) {
8184 delete _impl_.constraint_.bool_or_;
8185 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8186 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.
bool_or_);
8191 if (GetArena() ==
nullptr) {
8193 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8194 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.bool_and_);
8199 if (GetArena() ==
nullptr) {
8200 delete _impl_.constraint_.at_most_one_;
8201 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8202 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.at_most_one_);
8207 if (GetArena() ==
nullptr) {
8209 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8210 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.
exactly_one_);
8215 if (GetArena() ==
nullptr) {
8216 delete _impl_.constraint_.bool_xor_;
8217 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8218 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.bool_xor_);
8223 if (GetArena() ==
nullptr) {
8224 delete _impl_.constraint_.int_div_;
8225 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8226 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.int_div_);
8231 if (GetArena() ==
nullptr) {
8232 delete _impl_.constraint_.int_mod_;
8233 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8234 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.int_mod_);
8239 if (GetArena() ==
nullptr) {
8240 delete _impl_.constraint_.int_prod_;
8241 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8242 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.int_prod_);
8247 if (GetArena() ==
nullptr) {
8248 delete _impl_.constraint_.lin_max_;
8249 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8250 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.lin_max_);
8255 if (GetArena() ==
nullptr) {
8256 delete _impl_.constraint_.linear_;
8257 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8258 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.linear_);
8263 if (GetArena() ==
nullptr) {
8264 delete _impl_.constraint_.all_diff_;
8265 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8266 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.all_diff_);
8271 if (GetArena() ==
nullptr) {
8272 delete _impl_.constraint_.element_;
8273 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8274 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.element_);
8279 if (GetArena() ==
nullptr) {
8280 delete _impl_.constraint_.circuit_;
8281 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8282 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.circuit_);
8287 if (GetArena() ==
nullptr) {
8288 delete _impl_.constraint_.routes_;
8289 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8290 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.routes_);
8295 if (GetArena() ==
nullptr) {
8296 delete _impl_.constraint_.table_;
8297 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8298 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.table_);
8303 if (GetArena() ==
nullptr) {
8304 delete _impl_.constraint_.automaton_;
8305 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8306 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.automaton_);
8311 if (GetArena() ==
nullptr) {
8312 delete _impl_.constraint_.inverse_;
8313 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8314 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.inverse_);
8319 if (GetArena() ==
nullptr) {
8320 delete _impl_.constraint_.reservoir_;
8321 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8322 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.reservoir_);
8327 if (GetArena() ==
nullptr) {
8328 delete _impl_.constraint_.interval_;
8329 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8330 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.interval_);
8335 if (GetArena() ==
nullptr) {
8336 delete _impl_.constraint_.no_overlap_;
8337 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8338 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.no_overlap_);
8343 if (GetArena() ==
nullptr) {
8344 delete _impl_.constraint_.no_overlap_2d_;
8345 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8346 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.no_overlap_2d_);
8351 if (GetArena() ==
nullptr) {
8352 delete _impl_.constraint_.cumulative_;
8353 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8354 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.cumulative_);
8359 if (GetArena() ==
nullptr) {
8360 delete _impl_.constraint_.dummy_constraint_;
8361 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
8362 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.constraint_.dummy_constraint_);
8375 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
8376 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
8380 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
8383 InternalGetArenaOffset(
8384 ::google::protobuf::Message::internal_visibility()),
8386 if (arena_bits.has_value()) {
8387 return ::google::protobuf::internal::MessageCreator::CopyInit(
8388 sizeof(ConstraintProto), alignof(ConstraintProto), *arena_bits);
8390 return ::google::protobuf::internal::MessageCreator(&ConstraintProto::PlacementNew_,
8391 sizeof(ConstraintProto),
8392 alignof(ConstraintProto));
8396 return ::google::protobuf::internal::ClassDataFull{
8397 ::google::protobuf::internal::ClassData{
8402 &ConstraintProto::MergeImpl,
8403 ::google::protobuf::Message::GetNewImpl<ConstraintProto>(),
8404#if defined(PROTOBUF_CUSTOM_VTABLE)
8405 &ConstraintProto::SharedDtor,
8412 &ConstraintProto::kDescriptorMethods,
8418PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
8422PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
8428PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8429const ::_pbi::TcParseTable<1, 25, 23, 76, 2>
8430ConstraintProto::_table_ = {
8435 offsetof(
decltype(_table_), field_lookup_table),
8437 offsetof(
decltype(_table_), field_entries),
8440 offsetof(
decltype(_table_), aux_entries),
8443 ::_pbi::TcParser::GenericFallback,
8444 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
8445 ::_pbi::TcParser::GetTable<::operations_research::sat::ConstraintProto>(),
8449 {::_pbi::TcParser::FastV32P1,
8452 {::_pbi::TcParser::FastUS1,
8459 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
8462 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
8465 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8468 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8471 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8474 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8477 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8480 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8483 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8486 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8489 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8492 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8495 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8498 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8501 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8504 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8507 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8510 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8513 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8516 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8519 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8522 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8525 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8528 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8531 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
8534 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
8535 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
8536 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
8537 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>()},
8538 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>()},
8539 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>()},
8540 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearConstraintProto>()},
8541 {::_pbi::TcParser::GetTable<::operations_research::sat::AllDifferentConstraintProto>()},
8542 {::_pbi::TcParser::GetTable<::operations_research::sat::ElementConstraintProto>()},
8543 {::_pbi::TcParser::GetTable<::operations_research::sat::CircuitConstraintProto>()},
8544 {::_pbi::TcParser::GetTable<::operations_research::sat::TableConstraintProto>()},
8545 {::_pbi::TcParser::GetTable<::operations_research::sat::AutomatonConstraintProto>()},
8546 {::_pbi::TcParser::GetTable<::operations_research::sat::InverseConstraintProto>()},
8547 {::_pbi::TcParser::GetTable<::operations_research::sat::IntervalConstraintProto>()},
8548 {::_pbi::TcParser::GetTable<::operations_research::sat::NoOverlapConstraintProto>()},
8549 {::_pbi::TcParser::GetTable<::operations_research::sat::NoOverlap2DConstraintProto>()},
8550 {::_pbi::TcParser::GetTable<::operations_research::sat::CumulativeConstraintProto>()},
8551 {::_pbi::TcParser::GetTable<::operations_research::sat::RoutesConstraintProto>()},
8552 {::_pbi::TcParser::GetTable<::operations_research::sat::ReservoirConstraintProto>()},
8553 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
8554 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearArgumentProto>()},
8555 {::_pbi::TcParser::GetTable<::operations_research::sat::BoolArgumentProto>()},
8556 {::_pbi::TcParser::GetTable<::operations_research::sat::ListOfVariablesProto>()},
8559 "\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"
8560 "operations_research.sat.ConstraintProto"
8566 ::google::protobuf::internal::TSanWrite(&
_impl_);
8567 ::uint32_t cached_has_bits = 0;
8569 (void) cached_has_bits;
8571 _impl_.enforcement_literal_.Clear();
8572 cached_has_bits =
_impl_._has_bits_[0];
8573 if ((cached_has_bits & 0x00000001u) != 0) {
8574 _impl_.name_.ClearNonDefaultToEmpty();
8577 _impl_._has_bits_.Clear();
8578 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8581#if defined(PROTOBUF_CUSTOM_VTABLE)
8583 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
8584 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
8588 ::uint8_t* PROTOBUF_NONNULL target,
8589 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
8593 ::uint32_t cached_has_bits = 0;
8594 (void)cached_has_bits;
8597 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
8598 if (!this_._internal_name().empty()) {
8599 const ::std::string& _s = this_._internal_name();
8600 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8601 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.ConstraintProto.name");
8602 target = stream->WriteStringMaybeAliased(1, _s, target);
8608 int byte_size = this_.
_impl_._enforcement_literal_cached_byte_size_.Get();
8609 if (byte_size > 0) {
8610 target = stream->WriteInt32Packed(
8611 2, this_._internal_enforcement_literal(), byte_size, target);
8617 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8623 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8629 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8635 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8641 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8647 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8653 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8659 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8665 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8671 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8677 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8683 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8689 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8695 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8701 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8707 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8713 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8719 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8725 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8731 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8737 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8743 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8749 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8757 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
8759 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8760 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8766#if defined(PROTOBUF_CUSTOM_VTABLE)
8774 ::size_t total_size = 0;
8776 ::uint32_t cached_has_bits = 0;
8778 (void)cached_has_bits;
8780 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
8785 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
8786 this_._internal_enforcement_literal(), 1,
8787 this_._impl_._enforcement_literal_cached_byte_size_);
8792 cached_has_bits = this_._impl_._has_bits_[0];
8793 if ((cached_has_bits & 0x00000001u) != 0) {
8794 if (!this_._internal_name().empty()) {
8795 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8796 this_._internal_name());
8800 switch (this_.constraint_case()) {
8804 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.bool_or_);
8810 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.bool_and_);
8816 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.at_most_one_);
8822 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.exactly_one_);
8828 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.bool_xor_);
8834 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.int_div_);
8840 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.int_mod_);
8846 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.int_prod_);
8852 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.lin_max_);
8858 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.linear_);
8864 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.all_diff_);
8870 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.element_);
8876 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.circuit_);
8882 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.routes_);
8888 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.table_);
8894 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.automaton_);
8900 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.inverse_);
8906 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.reservoir_);
8912 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.interval_);
8918 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.no_overlap_);
8924 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.no_overlap_2d_);
8930 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.cumulative_);
8936 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_.dummy_constraint_);
8943 return this_.MaybeComputeUnknownFieldsSize(total_size,
8944 &this_._impl_._cached_size_);
8947void ConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
8952 ABSL_DCHECK_NE(&from, _this);
8953 ::uint32_t cached_has_bits = 0;
8954 (void) cached_has_bits;
8956 _this->_internal_mutable_enforcement_literal()->
MergeFrom(from._internal_enforcement_literal());
8957 cached_has_bits = from.
_impl_._has_bits_[0];
8958 if ((cached_has_bits & 0x00000001u) != 0) {
8959 if (!from._internal_name().empty()) {
8960 _this->_internal_set_name(from._internal_name());
8962 if (_this->
_impl_.name_.IsDefault()) {
8963 _this->_internal_set_name(
"");
8967 _this->
_impl_._has_bits_[0] |= cached_has_bits;
8968 if (
const uint32_t oneof_from_case = from.
_impl_._oneof_case_[0]) {
8969 const uint32_t oneof_to_case = _this->
_impl_._oneof_case_[0];
8970 const bool oneof_needs_init = oneof_to_case != oneof_from_case;
8971 if (oneof_needs_init) {
8972 if (oneof_to_case != 0) {
8973 _this->clear_constraint();
8975 _this->
_impl_._oneof_case_[0] = oneof_from_case;
8978 switch (oneof_from_case) {
8980 if (oneof_needs_init) {
8988 if (oneof_needs_init) {
8996 if (oneof_needs_init) {
9004 if (oneof_needs_init) {
9012 if (oneof_needs_init) {
9020 if (oneof_needs_init) {
9028 if (oneof_needs_init) {
9036 if (oneof_needs_init) {
9044 if (oneof_needs_init) {
9052 if (oneof_needs_init) {
9060 if (oneof_needs_init) {
9068 if (oneof_needs_init) {
9076 if (oneof_needs_init) {
9084 if (oneof_needs_init) {
9092 if (oneof_needs_init) {
9093 _this->
_impl_.constraint_.
table_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.constraint_.
table_);
9100 if (oneof_needs_init) {
9108 if (oneof_needs_init) {
9116 if (oneof_needs_init) {
9124 if (oneof_needs_init) {
9132 if (oneof_needs_init) {
9140 if (oneof_needs_init) {
9148 if (oneof_needs_init) {
9156 if (oneof_needs_init) {
9167 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
9172 if (&from ==
this)
return;
9178void ConstraintProto::InternalSwap(
ConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
9180 auto* arena = GetArena();
9181 ABSL_DCHECK_EQ(arena, other->GetArena());
9182 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9183 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9184 _impl_.enforcement_literal_.InternalSwap(&other->_impl_.enforcement_literal_);
9185 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
9186 swap(
_impl_.constraint_, other->_impl_.constraint_);
9187 swap(
_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
9191 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
9198 decltype(::std::declval<CpObjectiveProto>()._impl_._has_bits_);
9199 static constexpr ::int32_t kHasBitsOffset =
9204#if defined(PROTOBUF_CUSTOM_VTABLE)
9207 : ::google::protobuf::Message(arena) {
9212PROTOBUF_NDEBUG_INLINE CpObjectiveProto::Impl_::Impl_(
9213 ::google::protobuf::internal::InternalVisibility visibility,
9214 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
9215 const ::operations_research::sat::CpObjectiveProto& from_msg)
9216 : _has_bits_{from._has_bits_},
9218 vars_{visibility, arena, from.vars_},
9219 _vars_cached_byte_size_{0},
9220 coeffs_{visibility, arena, from.coeffs_},
9221 _coeffs_cached_byte_size_{0},
9222 domain_{visibility, arena, from.domain_},
9223 _domain_cached_byte_size_{0} {}
9226 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
9228#if defined(PROTOBUF_CUSTOM_VTABLE)
9231 : ::google::protobuf::Message(arena) {
9235 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
9236 from._internal_metadata_);
9237 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
9238 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
9239 offsetof(Impl_, offset_),
9240 reinterpret_cast<const char *
>(&from.
_impl_) +
9241 offsetof(Impl_, offset_),
9242 offsetof(Impl_, scaling_was_exact_) -
9243 offsetof(Impl_, offset_) +
9244 sizeof(Impl_::scaling_was_exact_));
9248PROTOBUF_NDEBUG_INLINE CpObjectiveProto::Impl_::Impl_(
9249 ::google::protobuf::internal::InternalVisibility visibility,
9250 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
9252 vars_{visibility, arena},
9253 _vars_cached_byte_size_{0},
9254 coeffs_{visibility, arena},
9255 _coeffs_cached_byte_size_{0},
9256 domain_{visibility, arena},
9257 _domain_cached_byte_size_{0} {}
9259inline void CpObjectiveProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
9260 new (&
_impl_) Impl_(internal_visibility(), arena);
9261 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
9262 offsetof(Impl_, offset_),
9264 offsetof(Impl_, scaling_was_exact_) -
9265 offsetof(Impl_, offset_) +
9266 sizeof(Impl_::scaling_was_exact_));
9272inline void CpObjectiveProto::SharedDtor(MessageLite& self) {
9274 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
9275 ABSL_DCHECK(this_.GetArena() ==
nullptr);
9276 this_._impl_.~Impl_();
9280 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
9281 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
9285 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
9288 InternalGetArenaOffset(
9292 InternalGetArenaOffset(
9296 InternalGetArenaOffset(
9299 if (arena_bits.has_value()) {
9300 return ::google::protobuf::internal::MessageCreator::ZeroInit(
9301 sizeof(CpObjectiveProto), alignof(CpObjectiveProto), *arena_bits);
9303 return ::google::protobuf::internal::MessageCreator(&CpObjectiveProto::PlacementNew_,
9304 sizeof(CpObjectiveProto),
9305 alignof(CpObjectiveProto));
9309 return ::google::protobuf::internal::ClassDataFull{
9310 ::google::protobuf::internal::ClassData{
9315 &CpObjectiveProto::MergeImpl,
9316 ::google::protobuf::Message::GetNewImpl<CpObjectiveProto>(),
9317#if defined(PROTOBUF_CUSTOM_VTABLE)
9318 &CpObjectiveProto::SharedDtor,
9325 &CpObjectiveProto::kDescriptorMethods,
9331PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
9335PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
9341PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
9342const ::_pbi::TcParseTable<4, 9, 0, 0, 2>
9343CpObjectiveProto::_table_ = {
9348 offsetof(
decltype(_table_), field_lookup_table),
9350 offsetof(
decltype(_table_), field_entries),
9353 offsetof(
decltype(_table_), field_names),
9356 ::_pbi::TcParser::GenericFallback,
9357 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
9358 ::_pbi::TcParser::GetTable<::operations_research::sat::CpObjectiveProto>(),
9361 {::_pbi::TcParser::MiniParse, {}},
9363 {::_pbi::TcParser::FastV32P1,
9366 {::_pbi::TcParser::FastF64S1,
9369 {::_pbi::TcParser::FastF64S1,
9372 {::_pbi::TcParser::FastV64P1,
9375 {::_pbi::TcParser::FastV64P1,
9378 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
CpObjectiveProto,
_impl_.scaling_was_exact_), 5>(),
9381 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
CpObjectiveProto,
_impl_.integer_before_offset_), 2>(),
9384 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
CpObjectiveProto,
_impl_.integer_scaling_factor_), 3>(),
9387 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
CpObjectiveProto,
_impl_.integer_after_offset_), 4>(),
9389 {::_pbi::TcParser::MiniParse, {}},
9390 {::_pbi::TcParser::MiniParse, {}},
9391 {::_pbi::TcParser::MiniParse, {}},
9392 {::_pbi::TcParser::MiniParse, {}},
9393 {::_pbi::TcParser::MiniParse, {}},
9394 {::_pbi::TcParser::MiniParse, {}},
9400 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
9403 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
9406 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
9409 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
9412 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
9415 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
9418 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
9421 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
9424 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
9432 ::google::protobuf::internal::TSanWrite(&
_impl_);
9433 ::uint32_t cached_has_bits = 0;
9435 (void) cached_has_bits;
9440 cached_has_bits =
_impl_._has_bits_[0];
9441 if ((cached_has_bits & 0x0000003fu) != 0) {
9442 ::memset(&
_impl_.offset_, 0,
static_cast<::
size_t>(
9443 reinterpret_cast<char*
>(&
_impl_.scaling_was_exact_) -
9444 reinterpret_cast<char*
>(&
_impl_.offset_)) +
sizeof(
_impl_.scaling_was_exact_));
9446 _impl_._has_bits_.Clear();
9447 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
9450#if defined(PROTOBUF_CUSTOM_VTABLE)
9452 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
9453 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
9457 ::uint8_t* PROTOBUF_NONNULL target,
9458 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
9462 ::uint32_t cached_has_bits = 0;
9463 (void)cached_has_bits;
9467 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
9468 if (byte_size > 0) {
9469 target = stream->WriteInt32Packed(
9470 1, this_._internal_vars(), byte_size, target);
9475 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
9476 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
9477 target = stream->EnsureSpace(target);
9478 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
9479 2, this_._internal_offset(), target);
9484 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
9485 if (::absl::bit_cast<::uint64_t>(this_._internal_scaling_factor()) != 0) {
9486 target = stream->EnsureSpace(target);
9487 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
9488 3, this_._internal_scaling_factor(), target);
9494 int byte_size = this_.
_impl_._coeffs_cached_byte_size_.Get();
9495 if (byte_size > 0) {
9496 target = stream->WriteInt64Packed(
9497 4, this_._internal_coeffs(), byte_size, target);
9503 int byte_size = this_.
_impl_._domain_cached_byte_size_.Get();
9504 if (byte_size > 0) {
9505 target = stream->WriteInt64Packed(
9506 5, this_._internal_domain(), byte_size, target);
9511 if ((this_.
_impl_._has_bits_[0] & 0x00000020u) != 0) {
9512 if (this_._internal_scaling_was_exact() != 0) {
9513 target = stream->EnsureSpace(target);
9514 target = ::_pbi::WireFormatLite::WriteBoolToArray(
9515 6, this_._internal_scaling_was_exact(), target);
9520 if ((this_.
_impl_._has_bits_[0] & 0x00000004u) != 0) {
9521 if (this_._internal_integer_before_offset() != 0) {
9523 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>(
9524 stream, this_._internal_integer_before_offset(), target);
9529 if ((this_.
_impl_._has_bits_[0] & 0x00000008u) != 0) {
9530 if (this_._internal_integer_scaling_factor() != 0) {
9532 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
9533 stream, this_._internal_integer_scaling_factor(), target);
9538 if ((this_.
_impl_._has_bits_[0] & 0x00000010u) != 0) {
9539 if (this_._internal_integer_after_offset() != 0) {
9541 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<9>(
9542 stream, this_._internal_integer_after_offset(), target);
9546 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
9548 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9549 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
9555#if defined(PROTOBUF_CUSTOM_VTABLE)
9563 ::size_t total_size = 0;
9565 ::uint32_t cached_has_bits = 0;
9567 (void)cached_has_bits;
9569 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
9574 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
9575 this_._internal_vars(), 1,
9576 this_._impl_._vars_cached_byte_size_);
9581 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
9582 this_._internal_coeffs(), 1,
9583 this_._impl_._coeffs_cached_byte_size_);
9588 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
9589 this_._internal_domain(), 1,
9590 this_._impl_._domain_cached_byte_size_);
9593 cached_has_bits = this_._impl_._has_bits_[0];
9594 if ((cached_has_bits & 0x0000003fu) != 0) {
9596 if ((cached_has_bits & 0x00000001u) != 0) {
9597 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
9602 if ((cached_has_bits & 0x00000002u) != 0) {
9603 if (::absl::bit_cast<::uint64_t>(this_._internal_scaling_factor()) != 0) {
9608 if ((cached_has_bits & 0x00000004u) != 0) {
9609 if (this_._internal_integer_before_offset() != 0) {
9610 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
9611 this_._internal_integer_before_offset());
9615 if ((cached_has_bits & 0x00000008u) != 0) {
9616 if (this_._internal_integer_scaling_factor() != 0) {
9617 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
9618 this_._internal_integer_scaling_factor());
9622 if ((cached_has_bits & 0x00000010u) != 0) {
9623 if (this_._internal_integer_after_offset() != 0) {
9624 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
9625 this_._internal_integer_after_offset());
9629 if ((cached_has_bits & 0x00000020u) != 0) {
9630 if (this_._internal_scaling_was_exact() != 0) {
9635 return this_.MaybeComputeUnknownFieldsSize(total_size,
9636 &this_._impl_._cached_size_);
9639void CpObjectiveProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
9643 ABSL_DCHECK_NE(&from, _this);
9644 ::uint32_t cached_has_bits = 0;
9645 (void) cached_has_bits;
9647 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
9648 _this->_internal_mutable_coeffs()->
MergeFrom(from._internal_coeffs());
9649 _this->_internal_mutable_domain()->
MergeFrom(from._internal_domain());
9650 cached_has_bits = from.
_impl_._has_bits_[0];
9651 if ((cached_has_bits & 0x0000003fu) != 0) {
9652 if ((cached_has_bits & 0x00000001u) != 0) {
9653 if (::absl::bit_cast<::uint64_t>(from._internal_offset()) != 0) {
9657 if ((cached_has_bits & 0x00000002u) != 0) {
9658 if (::absl::bit_cast<::uint64_t>(from._internal_scaling_factor()) != 0) {
9659 _this->
_impl_.scaling_factor_ = from.
_impl_.scaling_factor_;
9662 if ((cached_has_bits & 0x00000004u) != 0) {
9663 if (from._internal_integer_before_offset() != 0) {
9664 _this->
_impl_.integer_before_offset_ = from.
_impl_.integer_before_offset_;
9667 if ((cached_has_bits & 0x00000008u) != 0) {
9668 if (from._internal_integer_scaling_factor() != 0) {
9669 _this->
_impl_.integer_scaling_factor_ = from.
_impl_.integer_scaling_factor_;
9672 if ((cached_has_bits & 0x00000010u) != 0) {
9673 if (from._internal_integer_after_offset() != 0) {
9674 _this->
_impl_.integer_after_offset_ = from.
_impl_.integer_after_offset_;
9677 if ((cached_has_bits & 0x00000020u) != 0) {
9678 if (from._internal_scaling_was_exact() != 0) {
9679 _this->
_impl_.scaling_was_exact_ = from.
_impl_.scaling_was_exact_;
9683 _this->
_impl_._has_bits_[0] |= cached_has_bits;
9684 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
9689 if (&from ==
this)
return;
9695void CpObjectiveProto::InternalSwap(
CpObjectiveProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
9697 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9698 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9699 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
9700 _impl_.coeffs_.InternalSwap(&other->_impl_.coeffs_);
9701 _impl_.domain_.InternalSwap(&other->_impl_.domain_);
9702 ::google::protobuf::internal::memswap<
9706 reinterpret_cast<char*
>(&
_impl_.offset_),
9707 reinterpret_cast<char*
>(&other->_impl_.offset_));
9711 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
9715class FloatObjectiveProto::_Internal {
9718 decltype(::std::declval<FloatObjectiveProto>()._impl_._has_bits_);
9719 static constexpr ::int32_t kHasBitsOffset =
9720 8 * PROTOBUF_FIELD_OFFSET(FloatObjectiveProto, _impl_._has_bits_);
9724#if defined(PROTOBUF_CUSTOM_VTABLE)
9727 : ::google::protobuf::Message(arena) {
9732PROTOBUF_NDEBUG_INLINE FloatObjectiveProto::Impl_::Impl_(
9733 ::google::protobuf::internal::InternalVisibility visibility,
9734 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
9735 const ::operations_research::sat::FloatObjectiveProto& from_msg)
9736 : _has_bits_{from._has_bits_},
9738 vars_{visibility, arena, from.vars_},
9739 _vars_cached_byte_size_{0},
9740 coeffs_{visibility, arena, from.coeffs_} {}
9743 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
9745#if defined(PROTOBUF_CUSTOM_VTABLE)
9748 : ::google::protobuf::Message(arena) {
9752 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
9753 from._internal_metadata_);
9754 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
9755 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
9756 offsetof(Impl_, offset_),
9757 reinterpret_cast<const char *
>(&from.
_impl_) +
9758 offsetof(Impl_, offset_),
9759 offsetof(Impl_, maximize_) -
9760 offsetof(Impl_, offset_) +
9761 sizeof(Impl_::maximize_));
9765PROTOBUF_NDEBUG_INLINE FloatObjectiveProto::Impl_::Impl_(
9766 ::google::protobuf::internal::InternalVisibility visibility,
9767 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
9769 vars_{visibility, arena},
9770 _vars_cached_byte_size_{0},
9771 coeffs_{visibility, arena} {}
9773inline void FloatObjectiveProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
9774 new (&
_impl_) Impl_(internal_visibility(), arena);
9775 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
9776 offsetof(Impl_, offset_),
9778 offsetof(Impl_, maximize_) -
9779 offsetof(Impl_, offset_) +
9780 sizeof(Impl_::maximize_));
9786inline void FloatObjectiveProto::SharedDtor(MessageLite& self) {
9788 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
9789 ABSL_DCHECK(this_.GetArena() ==
nullptr);
9790 this_._impl_.~Impl_();
9794 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
9795 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
9799 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
9802 InternalGetArenaOffset(
9803 ::google::protobuf::Message::internal_visibility()),
9806 InternalGetArenaOffset(
9809 if (arena_bits.has_value()) {
9810 return ::google::protobuf::internal::MessageCreator::ZeroInit(
9811 sizeof(FloatObjectiveProto), alignof(FloatObjectiveProto), *arena_bits);
9813 return ::google::protobuf::internal::MessageCreator(&FloatObjectiveProto::PlacementNew_,
9814 sizeof(FloatObjectiveProto),
9815 alignof(FloatObjectiveProto));
9819 return ::google::protobuf::internal::ClassDataFull{
9820 ::google::protobuf::internal::ClassData{
9825 &FloatObjectiveProto::MergeImpl,
9826 ::google::protobuf::Message::GetNewImpl<FloatObjectiveProto>(),
9827#if defined(PROTOBUF_CUSTOM_VTABLE)
9828 &FloatObjectiveProto::SharedDtor,
9835 &FloatObjectiveProto::kDescriptorMethods,
9841PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
9845PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
9851PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
9852const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
9853FloatObjectiveProto::_table_ = {
9858 offsetof(
decltype(_table_), field_lookup_table),
9860 offsetof(
decltype(_table_), field_entries),
9863 offsetof(
decltype(_table_), field_names),
9866 ::_pbi::TcParser::GenericFallback,
9867 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
9868 ::_pbi::TcParser::GetTable<::operations_research::sat::FloatObjectiveProto>(),
9875 {::_pbi::TcParser::FastV32P1,
9878 {::_pbi::TcParser::FastF64P1,
9881 {::_pbi::TcParser::FastF64S1,
9888 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
9891 (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
9894 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
9897 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
9905 ::google::protobuf::internal::TSanWrite(&
_impl_);
9906 ::uint32_t cached_has_bits = 0;
9908 (void) cached_has_bits;
9912 cached_has_bits =
_impl_._has_bits_[0];
9913 if ((cached_has_bits & 0x00000003u) != 0) {
9914 ::memset(&
_impl_.offset_, 0,
static_cast<::
size_t>(
9915 reinterpret_cast<char*
>(&
_impl_.maximize_) -
9916 reinterpret_cast<char*
>(&
_impl_.offset_)) +
sizeof(
_impl_.maximize_));
9918 _impl_._has_bits_.Clear();
9919 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
9922#if defined(PROTOBUF_CUSTOM_VTABLE)
9924 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
9925 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
9929 ::uint8_t* PROTOBUF_NONNULL target,
9930 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
9934 ::uint32_t cached_has_bits = 0;
9935 (void)cached_has_bits;
9939 int byte_size = this_.
_impl_._vars_cached_byte_size_.Get();
9940 if (byte_size > 0) {
9941 target = stream->WriteInt32Packed(
9942 1, this_._internal_vars(), byte_size, target);
9947 if (this_._internal_coeffs_size() > 0) {
9948 target = stream->WriteFixedPacked(2, this_._internal_coeffs(), target);
9952 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
9953 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
9954 target = stream->EnsureSpace(target);
9955 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
9956 3, this_._internal_offset(), target);
9961 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
9962 if (this_._internal_maximize() != 0) {
9963 target = stream->EnsureSpace(target);
9964 target = ::_pbi::WireFormatLite::WriteBoolToArray(
9965 4, this_._internal_maximize(), target);
9969 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
9971 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9972 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
9978#if defined(PROTOBUF_CUSTOM_VTABLE)
9986 ::size_t total_size = 0;
9988 ::uint32_t cached_has_bits = 0;
9990 (void)cached_has_bits;
9992 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
9997 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
9998 this_._internal_vars(), 1,
9999 this_._impl_._vars_cached_byte_size_);
10003 ::size_t data_size = ::size_t{8} *
10004 ::_pbi::FromIntSize(this_._internal_coeffs_size());
10005 ::size_t tag_size = data_size == 0
10007 : 1 + ::_pbi::WireFormatLite::Int32Size(
10008 static_cast<::int32_t
>(data_size));
10009 total_size += tag_size + data_size;
10012 cached_has_bits = this_._impl_._has_bits_[0];
10013 if ((cached_has_bits & 0x00000003u) != 0) {
10015 if ((cached_has_bits & 0x00000001u) != 0) {
10016 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
10021 if ((cached_has_bits & 0x00000002u) != 0) {
10022 if (this_._internal_maximize() != 0) {
10027 return this_.MaybeComputeUnknownFieldsSize(total_size,
10028 &this_._impl_._cached_size_);
10031void FloatObjectiveProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
10035 ABSL_DCHECK_NE(&from, _this);
10036 ::uint32_t cached_has_bits = 0;
10037 (void) cached_has_bits;
10039 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
10040 _this->_internal_mutable_coeffs()->
MergeFrom(from._internal_coeffs());
10041 cached_has_bits = from.
_impl_._has_bits_[0];
10042 if ((cached_has_bits & 0x00000003u) != 0) {
10043 if ((cached_has_bits & 0x00000001u) != 0) {
10044 if (::absl::bit_cast<::uint64_t>(from._internal_offset()) != 0) {
10048 if ((cached_has_bits & 0x00000002u) != 0) {
10049 if (from._internal_maximize() != 0) {
10054 _this->
_impl_._has_bits_[0] |= cached_has_bits;
10055 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
10060 if (&from ==
this)
return;
10066void FloatObjectiveProto::InternalSwap(
FloatObjectiveProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
10068 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10069 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10070 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
10071 _impl_.coeffs_.InternalSwap(&other->_impl_.coeffs_);
10072 ::google::protobuf::internal::memswap<
10076 reinterpret_cast<char*
>(&
_impl_.offset_),
10077 reinterpret_cast<char*
>(&other->_impl_.offset_));
10081 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
10088 decltype(::std::declval<DecisionStrategyProto>()._impl_._has_bits_);
10089 static constexpr ::int32_t kHasBitsOffset =
10094#if defined(PROTOBUF_CUSTOM_VTABLE)
10097 : ::google::protobuf::Message(arena) {
10102PROTOBUF_NDEBUG_INLINE DecisionStrategyProto::Impl_::Impl_(
10103 ::google::protobuf::internal::InternalVisibility visibility,
10104 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
10105 const ::operations_research::sat::DecisionStrategyProto& from_msg)
10106 : _has_bits_{from._has_bits_},
10108 variables_{visibility, arena, from.variables_},
10109 _variables_cached_byte_size_{0},
10110 exprs_{visibility, arena, from.exprs_} {}
10113 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
10115#if defined(PROTOBUF_CUSTOM_VTABLE)
10118 : ::google::protobuf::Message(arena) {
10122 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
10123 from._internal_metadata_);
10124 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
10125 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
10126 offsetof(Impl_, variable_selection_strategy_),
10127 reinterpret_cast<const char *
>(&from.
_impl_) +
10128 offsetof(Impl_, variable_selection_strategy_),
10129 offsetof(Impl_, domain_reduction_strategy_) -
10130 offsetof(Impl_, variable_selection_strategy_) +
10131 sizeof(Impl_::domain_reduction_strategy_));
10135PROTOBUF_NDEBUG_INLINE DecisionStrategyProto::Impl_::Impl_(
10136 ::google::protobuf::internal::InternalVisibility visibility,
10137 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
10138 : _cached_size_{0},
10139 variables_{visibility, arena},
10140 _variables_cached_byte_size_{0},
10141 exprs_{visibility, arena} {}
10143inline void DecisionStrategyProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
10144 new (&
_impl_) Impl_(internal_visibility(), arena);
10145 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
10146 offsetof(Impl_, variable_selection_strategy_),
10148 offsetof(Impl_, domain_reduction_strategy_) -
10149 offsetof(Impl_, variable_selection_strategy_) +
10150 sizeof(Impl_::domain_reduction_strategy_));
10156inline void DecisionStrategyProto::SharedDtor(MessageLite& self) {
10158 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
10159 ABSL_DCHECK(this_.GetArena() ==
nullptr);
10160 this_._impl_.~Impl_();
10164 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
10165 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
10169 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
10172 InternalGetArenaOffset(
10173 ::google::protobuf::Message::internal_visibility()),
10176 InternalGetArenaOffset(
10179 if (arena_bits.has_value()) {
10180 return ::google::protobuf::internal::MessageCreator::ZeroInit(
10181 sizeof(DecisionStrategyProto), alignof(DecisionStrategyProto), *arena_bits);
10183 return ::google::protobuf::internal::MessageCreator(&DecisionStrategyProto::PlacementNew_,
10184 sizeof(DecisionStrategyProto),
10185 alignof(DecisionStrategyProto));
10189 return ::google::protobuf::internal::ClassDataFull{
10190 ::google::protobuf::internal::ClassData{
10195 &DecisionStrategyProto::MergeImpl,
10196 ::google::protobuf::Message::GetNewImpl<DecisionStrategyProto>(),
10197#if defined(PROTOBUF_CUSTOM_VTABLE)
10198 &DecisionStrategyProto::SharedDtor,
10205 &DecisionStrategyProto::kDescriptorMethods,
10211PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
10215PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
10221PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
10222const ::_pbi::TcParseTable<3, 4, 1, 0, 2>
10223DecisionStrategyProto::_table_ = {
10228 offsetof(
decltype(_table_), field_lookup_table),
10230 offsetof(
decltype(_table_), field_entries),
10233 offsetof(
decltype(_table_), aux_entries),
10236 ::_pbi::TcParser::GenericFallback,
10237 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
10238 ::_pbi::TcParser::GetTable<::operations_research::sat::DecisionStrategyProto>(),
10241 {::_pbi::TcParser::MiniParse, {}},
10243 {::_pbi::TcParser::FastV32P1,
10251 {::_pbi::TcParser::MiniParse, {}},
10253 {::_pbi::TcParser::FastMtR1,
10255 {::_pbi::TcParser::MiniParse, {}},
10256 {::_pbi::TcParser::MiniParse, {}},
10262 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
10265 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
10268 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
10271 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
10274 {::_pbi::TcParser::GetTable<::operations_research::sat::LinearExpressionProto>()},
10281 ::google::protobuf::internal::TSanWrite(&
_impl_);
10282 ::uint32_t cached_has_bits = 0;
10284 (void) cached_has_bits;
10286 _impl_.variables_.Clear();
10288 cached_has_bits =
_impl_._has_bits_[0];
10289 if ((cached_has_bits & 0x00000003u) != 0) {
10290 ::memset(&
_impl_.variable_selection_strategy_, 0,
static_cast<::
size_t>(
10291 reinterpret_cast<char*
>(&
_impl_.domain_reduction_strategy_) -
10292 reinterpret_cast<char*
>(&
_impl_.variable_selection_strategy_)) +
sizeof(
_impl_.domain_reduction_strategy_));
10294 _impl_._has_bits_.Clear();
10295 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
10298#if defined(PROTOBUF_CUSTOM_VTABLE)
10300 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
10301 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
10305 ::uint8_t* PROTOBUF_NONNULL target,
10306 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
10310 ::uint32_t cached_has_bits = 0;
10311 (void)cached_has_bits;
10315 int byte_size = this_.
_impl_._variables_cached_byte_size_.Get();
10316 if (byte_size > 0) {
10317 target = stream->WriteInt32Packed(
10318 1, this_._internal_variables(), byte_size, target);
10323 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
10324 if (this_._internal_variable_selection_strategy() != 0) {
10325 target = stream->EnsureSpace(target);
10326 target = ::_pbi::WireFormatLite::WriteEnumToArray(
10327 2, this_._internal_variable_selection_strategy(), target);
10332 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
10333 if (this_._internal_domain_reduction_strategy() != 0) {
10334 target = stream->EnsureSpace(target);
10335 target = ::_pbi::WireFormatLite::WriteEnumToArray(
10336 3, this_._internal_domain_reduction_strategy(), target);
10341 for (
unsigned i = 0, n =
static_cast<unsigned>(
10342 this_._internal_exprs_size());
10344 const auto& repfield = this_._internal_exprs().Get(
i);
10346 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
10347 5, repfield, repfield.GetCachedSize(),
10351 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
10353 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10354 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
10360#if defined(PROTOBUF_CUSTOM_VTABLE)
10368 ::size_t total_size = 0;
10370 ::uint32_t cached_has_bits = 0;
10372 (void)cached_has_bits;
10374 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
10379 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
10380 this_._internal_variables(), 1,
10381 this_._impl_._variables_cached_byte_size_);
10385 total_size += 1UL * this_._internal_exprs_size();
10386 for (
const auto& msg : this_._internal_exprs()) {
10387 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
10391 cached_has_bits = this_._impl_._has_bits_[0];
10392 if ((cached_has_bits & 0x00000003u) != 0) {
10394 if ((cached_has_bits & 0x00000001u) != 0) {
10395 if (this_._internal_variable_selection_strategy() != 0) {
10397 ::_pbi::WireFormatLite::EnumSize(this_._internal_variable_selection_strategy());
10401 if ((cached_has_bits & 0x00000002u) != 0) {
10402 if (this_._internal_domain_reduction_strategy() != 0) {
10404 ::_pbi::WireFormatLite::EnumSize(this_._internal_domain_reduction_strategy());
10408 return this_.MaybeComputeUnknownFieldsSize(total_size,
10409 &this_._impl_._cached_size_);
10412void DecisionStrategyProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
10416 ABSL_DCHECK_NE(&from, _this);
10417 ::uint32_t cached_has_bits = 0;
10418 (void) cached_has_bits;
10420 _this->_internal_mutable_variables()->
MergeFrom(from._internal_variables());
10421 _this->_internal_mutable_exprs()->MergeFrom(
10422 from._internal_exprs());
10423 cached_has_bits = from.
_impl_._has_bits_[0];
10424 if ((cached_has_bits & 0x00000003u) != 0) {
10425 if ((cached_has_bits & 0x00000001u) != 0) {
10426 if (from._internal_variable_selection_strategy() != 0) {
10427 _this->
_impl_.variable_selection_strategy_ = from.
_impl_.variable_selection_strategy_;
10430 if ((cached_has_bits & 0x00000002u) != 0) {
10431 if (from._internal_domain_reduction_strategy() != 0) {
10432 _this->
_impl_.domain_reduction_strategy_ = from.
_impl_.domain_reduction_strategy_;
10436 _this->
_impl_._has_bits_[0] |= cached_has_bits;
10437 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
10442 if (&from ==
this)
return;
10448void DecisionStrategyProto::InternalSwap(
DecisionStrategyProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
10450 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10451 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10452 _impl_.variables_.InternalSwap(&other->_impl_.variables_);
10453 _impl_.exprs_.InternalSwap(&other->_impl_.exprs_);
10454 ::google::protobuf::internal::memswap<
10458 reinterpret_cast<char*
>(&
_impl_.variable_selection_strategy_),
10459 reinterpret_cast<char*
>(&other->_impl_.variable_selection_strategy_));
10472#if defined(PROTOBUF_CUSTOM_VTABLE)
10475 : ::google::protobuf::Message(arena) {
10480PROTOBUF_NDEBUG_INLINE PartialVariableAssignment::Impl_::Impl_(
10481 ::google::protobuf::internal::InternalVisibility visibility,
10482 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
10483 const ::operations_research::sat::PartialVariableAssignment& from_msg)
10484 : vars_{visibility, arena, from.vars_},
10485 _vars_cached_byte_size_{0},
10486 values_{visibility, arena, from.values_},
10487 _values_cached_byte_size_{0},
10488 _cached_size_{0} {}
10491 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
10493#if defined(PROTOBUF_CUSTOM_VTABLE)
10496 : ::google::protobuf::Message(arena) {
10500 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
10501 from._internal_metadata_);
10502 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
10506PROTOBUF_NDEBUG_INLINE PartialVariableAssignment::Impl_::Impl_(
10507 ::google::protobuf::internal::InternalVisibility visibility,
10508 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
10509 : vars_{visibility, arena},
10510 _vars_cached_byte_size_{0},
10511 values_{visibility, arena},
10512 _values_cached_byte_size_{0},
10513 _cached_size_{0} {}
10515inline void PartialVariableAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
10516 new (&
_impl_) Impl_(internal_visibility(), arena);
10522inline void PartialVariableAssignment::SharedDtor(MessageLite& self) {
10524 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
10525 ABSL_DCHECK(this_.GetArena() ==
nullptr);
10530 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
10531 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
10535 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
10538 InternalGetArenaOffset(
10539 ::google::protobuf::Message::internal_visibility()),
10542 InternalGetArenaOffset(
10545 if (arena_bits.has_value()) {
10546 return ::google::protobuf::internal::MessageCreator::ZeroInit(
10547 sizeof(PartialVariableAssignment), alignof(PartialVariableAssignment), *arena_bits);
10549 return ::google::protobuf::internal::MessageCreator(&PartialVariableAssignment::PlacementNew_,
10550 sizeof(PartialVariableAssignment),
10551 alignof(PartialVariableAssignment));
10555 return ::google::protobuf::internal::ClassDataFull{
10556 ::google::protobuf::internal::ClassData{
10561 &PartialVariableAssignment::MergeImpl,
10562 ::google::protobuf::Message::GetNewImpl<PartialVariableAssignment>(),
10563#if defined(PROTOBUF_CUSTOM_VTABLE)
10564 &PartialVariableAssignment::SharedDtor,
10571 &PartialVariableAssignment::kDescriptorMethods,
10577PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
10581PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
10587PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
10588const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
10589PartialVariableAssignment::_table_ = {
10594 offsetof(
decltype(_table_), field_lookup_table),
10596 offsetof(
decltype(_table_), field_entries),
10599 offsetof(
decltype(_table_), field_names),
10602 ::_pbi::TcParser::GenericFallback,
10603 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
10604 ::_pbi::TcParser::GetTable<::operations_research::sat::PartialVariableAssignment>(),
10608 {::_pbi::TcParser::FastV64P1,
10611 {::_pbi::TcParser::FastV32P1,
10618 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
10621 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
10629 ::google::protobuf::internal::TSanWrite(&
_impl_);
10630 ::uint32_t cached_has_bits = 0;
10632 (void) cached_has_bits;
10636 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
10639#if defined(PROTOBUF_CUSTOM_VTABLE)
10641 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
10642 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
10646 ::uint8_t* PROTOBUF_NONNULL target,
10647 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
10651 ::uint32_t cached_has_bits = 0;
10652 (void)cached_has_bits;
10656 int byte_size = this_._impl_._vars_cached_byte_size_.Get();
10657 if (byte_size > 0) {
10658 target = stream->WriteInt32Packed(
10659 1, this_._internal_vars(), byte_size, target);
10665 int byte_size = this_._impl_._values_cached_byte_size_.Get();
10666 if (byte_size > 0) {
10667 target = stream->WriteInt64Packed(
10668 2, this_._internal_values(), byte_size, target);
10672 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
10674 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10675 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
10681#if defined(PROTOBUF_CUSTOM_VTABLE)
10689 ::size_t total_size = 0;
10691 ::uint32_t cached_has_bits = 0;
10693 (void)cached_has_bits;
10695 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
10700 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
10701 this_._internal_vars(), 1,
10702 this_._impl_._vars_cached_byte_size_);
10707 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
10708 this_._internal_values(), 1,
10709 this_._impl_._values_cached_byte_size_);
10712 return this_.MaybeComputeUnknownFieldsSize(total_size,
10713 &this_._impl_._cached_size_);
10716void PartialVariableAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
10720 ABSL_DCHECK_NE(&from, _this);
10721 ::uint32_t cached_has_bits = 0;
10722 (void) cached_has_bits;
10724 _this->_internal_mutable_vars()->MergeFrom(from._internal_vars());
10725 _this->_internal_mutable_values()->
MergeFrom(from._internal_values());
10726 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
10731 if (&from ==
this)
return;
10739 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10740 _impl_.vars_.InternalSwap(&other->_impl_.vars_);
10741 _impl_.values_.InternalSwap(&other->_impl_.values_);
10745 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
10749class SparsePermutationProto::_Internal {
10754#if defined(PROTOBUF_CUSTOM_VTABLE)
10757 : ::google::protobuf::Message(arena) {
10762PROTOBUF_NDEBUG_INLINE SparsePermutationProto::Impl_::Impl_(
10763 ::google::protobuf::internal::InternalVisibility visibility,
10765 const ::operations_research::sat::SparsePermutationProto& from_msg)
10766 : support_{visibility, arena, from.support_},
10767 _support_cached_byte_size_{0},
10768 cycle_sizes_{visibility, arena, from.cycle_sizes_},
10769 _cycle_sizes_cached_byte_size_{0},
10770 _cached_size_{0} {}
10773 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
10775#if defined(PROTOBUF_CUSTOM_VTABLE)
10778 : ::google::protobuf::Message(arena) {
10782 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
10783 from._internal_metadata_);
10784 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
10788PROTOBUF_NDEBUG_INLINE SparsePermutationProto::Impl_::Impl_(
10789 ::google::protobuf::internal::InternalVisibility visibility,
10790 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
10791 : support_{visibility, arena},
10792 _support_cached_byte_size_{0},
10793 cycle_sizes_{visibility, arena},
10794 _cycle_sizes_cached_byte_size_{0},
10795 _cached_size_{0} {}
10797inline void SparsePermutationProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
10798 new (&
_impl_) Impl_(internal_visibility(), arena);
10804inline void SparsePermutationProto::SharedDtor(MessageLite& self) {
10806 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
10807 ABSL_DCHECK(this_.GetArena() ==
nullptr);
10808 this_._impl_.~Impl_();
10812 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
10813 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
10817 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
10820 InternalGetArenaOffset(
10821 ::google::protobuf::Message::internal_visibility()),
10824 InternalGetArenaOffset(
10827 if (arena_bits.has_value()) {
10828 return ::google::protobuf::internal::MessageCreator::ZeroInit(
10829 sizeof(SparsePermutationProto), alignof(SparsePermutationProto), *arena_bits);
10831 return ::google::protobuf::internal::MessageCreator(&SparsePermutationProto::PlacementNew_,
10832 sizeof(SparsePermutationProto),
10833 alignof(SparsePermutationProto));
10837 return ::google::protobuf::internal::ClassDataFull{
10838 ::google::protobuf::internal::ClassData{
10843 &SparsePermutationProto::MergeImpl,
10844 ::google::protobuf::Message::GetNewImpl<SparsePermutationProto>(),
10845#if defined(PROTOBUF_CUSTOM_VTABLE)
10846 &SparsePermutationProto::SharedDtor,
10853 &SparsePermutationProto::kDescriptorMethods,
10859PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
10863PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
10869PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
10870const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
10871SparsePermutationProto::_table_ = {
10876 offsetof(
decltype(_table_), field_lookup_table),
10878 offsetof(
decltype(_table_), field_entries),
10881 offsetof(
decltype(_table_), field_names),
10884 ::_pbi::TcParser::GenericFallback,
10885 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
10886 ::_pbi::TcParser::GetTable<::operations_research::sat::SparsePermutationProto>(),
10890 {::_pbi::TcParser::FastV32P1,
10893 {::_pbi::TcParser::FastV32P1,
10900 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
10903 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
10911 ::google::protobuf::internal::TSanWrite(&
_impl_);
10912 ::uint32_t cached_has_bits = 0;
10914 (void) cached_has_bits;
10916 _impl_.support_.Clear();
10917 _impl_.cycle_sizes_.Clear();
10918 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
10921#if defined(PROTOBUF_CUSTOM_VTABLE)
10923 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
10924 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
10928 ::uint8_t* PROTOBUF_NONNULL target,
10929 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
10933 ::uint32_t cached_has_bits = 0;
10934 (void)cached_has_bits;
10938 int byte_size = this_._impl_._support_cached_byte_size_.Get();
10939 if (byte_size > 0) {
10940 target = stream->WriteInt32Packed(
10941 1, this_._internal_support(), byte_size, target);
10947 int byte_size = this_._impl_._cycle_sizes_cached_byte_size_.Get();
10948 if (byte_size > 0) {
10949 target = stream->WriteInt32Packed(
10950 2, this_._internal_cycle_sizes(), byte_size, target);
10954 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
10956 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10957 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
10963#if defined(PROTOBUF_CUSTOM_VTABLE)
10971 ::size_t total_size = 0;
10973 ::uint32_t cached_has_bits = 0;
10975 (void)cached_has_bits;
10977 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
10982 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
10983 this_._internal_support(), 1,
10984 this_._impl_._support_cached_byte_size_);
10989 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
10990 this_._internal_cycle_sizes(), 1,
10991 this_._impl_._cycle_sizes_cached_byte_size_);
10994 return this_.MaybeComputeUnknownFieldsSize(total_size,
10995 &this_._impl_._cached_size_);
10998void SparsePermutationProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
11002 ABSL_DCHECK_NE(&from, _this);
11003 ::uint32_t cached_has_bits = 0;
11004 (void) cached_has_bits;
11006 _this->_internal_mutable_support()->
MergeFrom(from._internal_support());
11007 _this->_internal_mutable_cycle_sizes()->
MergeFrom(from._internal_cycle_sizes());
11008 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
11013 if (&from ==
this)
return;
11019void SparsePermutationProto::InternalSwap(
SparsePermutationProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
11021 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11022 _impl_.support_.InternalSwap(&other->_impl_.support_);
11023 _impl_.cycle_sizes_.InternalSwap(&other->_impl_.cycle_sizes_);
11027 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
11031class DenseMatrixProto::_Internal {
11034 decltype(::std::declval<DenseMatrixProto>()._impl_._has_bits_);
11035 static constexpr ::int32_t kHasBitsOffset =
11040#if defined(PROTOBUF_CUSTOM_VTABLE)
11043 : ::google::protobuf::Message(arena) {
11048PROTOBUF_NDEBUG_INLINE DenseMatrixProto::Impl_::Impl_(
11049 ::google::protobuf::internal::InternalVisibility visibility,
11050 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
11051 const ::operations_research::sat::DenseMatrixProto& from_msg)
11052 : _has_bits_{from._has_bits_},
11054 entries_{visibility, arena, from.entries_},
11055 _entries_cached_byte_size_{0} {}
11058 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
11060#if defined(PROTOBUF_CUSTOM_VTABLE)
11063 : ::google::protobuf::Message(arena) {
11067 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
11068 from._internal_metadata_);
11069 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
11070 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
11071 offsetof(Impl_, num_rows_),
11072 reinterpret_cast<const char *
>(&from.
_impl_) +
11073 offsetof(Impl_, num_rows_),
11074 offsetof(Impl_, num_cols_) -
11075 offsetof(Impl_, num_rows_) +
11076 sizeof(Impl_::num_cols_));
11080PROTOBUF_NDEBUG_INLINE DenseMatrixProto::Impl_::Impl_(
11081 ::google::protobuf::internal::InternalVisibility visibility,
11082 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
11083 : _cached_size_{0},
11084 entries_{visibility, arena},
11085 _entries_cached_byte_size_{0} {}
11087inline void DenseMatrixProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
11088 new (&
_impl_) Impl_(internal_visibility(), arena);
11089 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
11090 offsetof(Impl_, num_rows_),
11092 offsetof(Impl_, num_cols_) -
11093 offsetof(Impl_, num_rows_) +
11094 sizeof(Impl_::num_cols_));
11100inline void DenseMatrixProto::SharedDtor(MessageLite& self) {
11102 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
11103 ABSL_DCHECK(this_.GetArena() ==
nullptr);
11104 this_._impl_.~Impl_();
11108 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
11109 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
11113 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
11116 InternalGetArenaOffset(
11117 ::google::protobuf::Message::internal_visibility()),
11119 if (arena_bits.has_value()) {
11120 return ::google::protobuf::internal::MessageCreator::ZeroInit(
11121 sizeof(DenseMatrixProto), alignof(DenseMatrixProto), *arena_bits);
11123 return ::google::protobuf::internal::MessageCreator(&DenseMatrixProto::PlacementNew_,
11124 sizeof(DenseMatrixProto),
11125 alignof(DenseMatrixProto));
11129 return ::google::protobuf::internal::ClassDataFull{
11130 ::google::protobuf::internal::ClassData{
11135 &DenseMatrixProto::MergeImpl,
11136 ::google::protobuf::Message::GetNewImpl<DenseMatrixProto>(),
11137#if defined(PROTOBUF_CUSTOM_VTABLE)
11138 &DenseMatrixProto::SharedDtor,
11145 &DenseMatrixProto::kDescriptorMethods,
11151PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
11155PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
11161PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
11162const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
11163DenseMatrixProto::_table_ = {
11168 offsetof(
decltype(_table_), field_lookup_table),
11170 offsetof(
decltype(_table_), field_entries),
11173 offsetof(
decltype(_table_), field_names),
11176 ::_pbi::TcParser::GenericFallback,
11177 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
11178 ::_pbi::TcParser::GetTable<::operations_research::sat::DenseMatrixProto>(),
11181 {::_pbi::TcParser::MiniParse, {}},
11189 {::_pbi::TcParser::FastV32P1,
11196 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
11199 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
11202 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
11210 ::google::protobuf::internal::TSanWrite(&
_impl_);
11211 ::uint32_t cached_has_bits = 0;
11213 (void) cached_has_bits;
11215 _impl_.entries_.Clear();
11216 cached_has_bits =
_impl_._has_bits_[0];
11217 if ((cached_has_bits & 0x00000003u) != 0) {
11218 ::memset(&
_impl_.num_rows_, 0,
static_cast<::
size_t>(
11219 reinterpret_cast<char*
>(&
_impl_.num_cols_) -
11220 reinterpret_cast<char*
>(&
_impl_.num_rows_)) +
sizeof(
_impl_.num_cols_));
11222 _impl_._has_bits_.Clear();
11223 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
11226#if defined(PROTOBUF_CUSTOM_VTABLE)
11228 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
11229 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
11233 ::uint8_t* PROTOBUF_NONNULL target,
11234 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
11238 ::uint32_t cached_has_bits = 0;
11239 (void)cached_has_bits;
11242 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
11243 if (this_._internal_num_rows() != 0) {
11245 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
11246 stream, this_._internal_num_rows(), target);
11251 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
11252 if (this_._internal_num_cols() != 0) {
11254 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
11255 stream, this_._internal_num_cols(), target);
11261 int byte_size = this_.
_impl_._entries_cached_byte_size_.Get();
11262 if (byte_size > 0) {
11263 target = stream->WriteInt32Packed(
11264 3, this_._internal_entries(), byte_size, target);
11268 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
11270 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
11271 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
11277#if defined(PROTOBUF_CUSTOM_VTABLE)
11285 ::size_t total_size = 0;
11287 ::uint32_t cached_has_bits = 0;
11289 (void)cached_has_bits;
11291 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
11296 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
11297 this_._internal_entries(), 1,
11298 this_._impl_._entries_cached_byte_size_);
11301 cached_has_bits = this_._impl_._has_bits_[0];
11302 if ((cached_has_bits & 0x00000003u) != 0) {
11304 if ((cached_has_bits & 0x00000001u) != 0) {
11305 if (this_._internal_num_rows() != 0) {
11306 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
11307 this_._internal_num_rows());
11311 if ((cached_has_bits & 0x00000002u) != 0) {
11312 if (this_._internal_num_cols() != 0) {
11313 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
11314 this_._internal_num_cols());
11318 return this_.MaybeComputeUnknownFieldsSize(total_size,
11319 &this_._impl_._cached_size_);
11322void DenseMatrixProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
11326 ABSL_DCHECK_NE(&from, _this);
11327 ::uint32_t cached_has_bits = 0;
11328 (void) cached_has_bits;
11330 _this->_internal_mutable_entries()->MergeFrom(from._internal_entries());
11331 cached_has_bits = from.
_impl_._has_bits_[0];
11332 if ((cached_has_bits & 0x00000003u) != 0) {
11333 if ((cached_has_bits & 0x00000001u) != 0) {
11334 if (from._internal_num_rows() != 0) {
11338 if ((cached_has_bits & 0x00000002u) != 0) {
11339 if (from._internal_num_cols() != 0) {
11344 _this->
_impl_._has_bits_[0] |= cached_has_bits;
11345 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
11350 if (&from ==
this)
return;
11356void DenseMatrixProto::InternalSwap(
DenseMatrixProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
11358 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11359 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11360 _impl_.entries_.InternalSwap(&other->_impl_.entries_);
11361 ::google::protobuf::internal::memswap<
11365 reinterpret_cast<char*
>(&
_impl_.num_rows_),
11366 reinterpret_cast<char*
>(&other->_impl_.num_rows_));
11370 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
11379#if defined(PROTOBUF_CUSTOM_VTABLE)
11382 : ::google::protobuf::Message(arena) {
11387PROTOBUF_NDEBUG_INLINE SymmetryProto::Impl_::Impl_(
11388 ::google::protobuf::internal::InternalVisibility visibility,
11389 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
11390 const ::operations_research::sat::SymmetryProto& from_msg)
11391 : permutations_{visibility, arena, from.permutations_},
11392 orbitopes_{visibility, arena, from.orbitopes_},
11393 _cached_size_{0} {}
11396 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
11398#if defined(PROTOBUF_CUSTOM_VTABLE)
11401 : ::google::protobuf::Message(arena) {
11405 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
11406 from._internal_metadata_);
11407 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
11411PROTOBUF_NDEBUG_INLINE SymmetryProto::Impl_::Impl_(
11412 ::google::protobuf::internal::InternalVisibility visibility,
11413 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
11414 : permutations_{visibility, arena},
11415 orbitopes_{visibility, arena},
11416 _cached_size_{0} {}
11418inline void SymmetryProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
11419 new (&
_impl_) Impl_(internal_visibility(), arena);
11425inline void SymmetryProto::SharedDtor(MessageLite& self) {
11427 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
11428 ABSL_DCHECK(this_.GetArena() ==
nullptr);
11433 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
11434 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
11438 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
11441 InternalGetArenaOffset(
11442 ::
google::protobuf::Message::internal_visibility()),
11445 InternalGetArenaOffset(
11446 ::
google::protobuf::Message::internal_visibility()),
11448 if (arena_bits.has_value()) {
11449 return ::google::protobuf::internal::MessageCreator::ZeroInit(
11450 sizeof(SymmetryProto), alignof(SymmetryProto), *arena_bits);
11452 return ::google::protobuf::internal::MessageCreator(&SymmetryProto::PlacementNew_,
11453 sizeof(SymmetryProto),
11454 alignof(SymmetryProto));
11458 return ::google::protobuf::internal::ClassDataFull{
11459 ::google::protobuf::internal::ClassData{
11464 &SymmetryProto::MergeImpl,
11465 ::google::protobuf::Message::GetNewImpl<SymmetryProto>(),
11466#if defined(PROTOBUF_CUSTOM_VTABLE)
11467 &SymmetryProto::SharedDtor,
11474 &SymmetryProto::kDescriptorMethods,
11480PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
11484PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
11490PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
11491const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
11492SymmetryProto::_table_ = {
11497 offsetof(
decltype(_table_), field_lookup_table),
11499 offsetof(
decltype(_table_), field_entries),
11502 offsetof(
decltype(_table_), aux_entries),
11505 ::_pbi::TcParser::GenericFallback,
11506 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
11507 ::_pbi::TcParser::GetTable<::operations_research::sat::SymmetryProto>(),
11511 {::_pbi::TcParser::FastMtR1,
11514 {::_pbi::TcParser::FastMtR1,
11521 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
11524 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
11527 {::_pbi::TcParser::GetTable<::operations_research::sat::SparsePermutationProto>()},
11528 {::_pbi::TcParser::GetTable<::operations_research::sat::DenseMatrixProto>()},
11535 ::google::protobuf::internal::TSanWrite(&
_impl_);
11536 ::uint32_t cached_has_bits = 0;
11538 (void) cached_has_bits;
11540 _impl_.permutations_.Clear();
11541 _impl_.orbitopes_.Clear();
11542 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
11545#if defined(PROTOBUF_CUSTOM_VTABLE)
11547 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
11548 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
11552 ::uint8_t* PROTOBUF_NONNULL target,
11553 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
11557 ::uint32_t cached_has_bits = 0;
11558 (void)cached_has_bits;
11561 for (
unsigned i = 0, n =
static_cast<unsigned>(
11562 this_._internal_permutations_size());
11564 const auto& repfield = this_._internal_permutations().Get(
i);
11566 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11567 1, repfield, repfield.GetCachedSize(),
11572 for (
unsigned i = 0, n =
static_cast<unsigned>(
11573 this_._internal_orbitopes_size());
11575 const auto& repfield = this_._internal_orbitopes().Get(
i);
11577 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11578 2, repfield, repfield.GetCachedSize(),
11582 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
11584 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
11585 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
11591#if defined(PROTOBUF_CUSTOM_VTABLE)
11599 ::size_t total_size = 0;
11601 ::uint32_t cached_has_bits = 0;
11603 (void)cached_has_bits;
11605 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
11609 total_size += 1UL * this_._internal_permutations_size();
11610 for (
const auto& msg : this_._internal_permutations()) {
11611 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
11616 total_size += 1UL * this_._internal_orbitopes_size();
11617 for (
const auto& msg : this_._internal_orbitopes()) {
11618 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
11622 return this_.MaybeComputeUnknownFieldsSize(total_size,
11623 &this_._impl_._cached_size_);
11626void SymmetryProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
11630 ABSL_DCHECK_NE(&from, _this);
11631 ::uint32_t cached_has_bits = 0;
11632 (void) cached_has_bits;
11634 _this->_internal_mutable_permutations()->MergeFrom(
11635 from._internal_permutations());
11636 _this->_internal_mutable_orbitopes()->MergeFrom(
11637 from._internal_orbitopes());
11638 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
11643 if (&from ==
this)
return;
11649void SymmetryProto::InternalSwap(
SymmetryProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
11651 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11652 _impl_.permutations_.InternalSwap(&other->_impl_.permutations_);
11653 _impl_.orbitopes_.InternalSwap(&other->_impl_.orbitopes_);
11657 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
11661class CpModelProto::_Internal {
11664 decltype(::std::declval<CpModelProto>()._impl_._has_bits_);
11665 static constexpr ::int32_t kHasBitsOffset =
11666 8 * PROTOBUF_FIELD_OFFSET(CpModelProto, _impl_._has_bits_);
11670#if defined(PROTOBUF_CUSTOM_VTABLE)
11673 : ::google::protobuf::Message(arena) {
11678PROTOBUF_NDEBUG_INLINE CpModelProto::Impl_::Impl_(
11679 ::google::protobuf::internal::InternalVisibility visibility,
11681 const ::operations_research::sat::CpModelProto& from_msg)
11682 : _has_bits_{from._has_bits_},
11684 variables_{visibility, arena, from.variables_},
11685 constraints_{visibility, arena, from.constraints_},
11686 search_strategy_{visibility, arena, from.search_strategy_},
11687 assumptions_{visibility, arena, from.assumptions_},
11688 _assumptions_cached_byte_size_{0},
11689 name_(arena, from.name_) {}
11692 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
11694#if defined(PROTOBUF_CUSTOM_VTABLE)
11697 : ::google::protobuf::Message(arena) {
11701 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
11702 from._internal_metadata_);
11703 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
11704 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
11705 _impl_.objective_ = ((cached_has_bits & 0x00000002u) != 0)
11706 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.objective_)
11708 _impl_.solution_hint_ = ((cached_has_bits & 0x00000004u) != 0)
11709 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.solution_hint_)
11711 _impl_.symmetry_ = ((cached_has_bits & 0x00000008u) != 0)
11712 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.symmetry_)
11714 _impl_.floating_point_objective_ = ((cached_has_bits & 0x00000010u) != 0)
11715 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.floating_point_objective_)
11720PROTOBUF_NDEBUG_INLINE CpModelProto::Impl_::Impl_(
11721 ::google::protobuf::internal::InternalVisibility visibility,
11722 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
11723 : _cached_size_{0},
11724 variables_{visibility, arena},
11725 constraints_{visibility, arena},
11726 search_strategy_{visibility, arena},
11727 assumptions_{visibility, arena},
11728 _assumptions_cached_byte_size_{0},
11731inline void CpModelProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
11732 new (&
_impl_) Impl_(internal_visibility(), arena);
11733 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
11734 offsetof(Impl_, objective_),
11736 offsetof(Impl_, floating_point_objective_) -
11737 offsetof(Impl_, objective_) +
11738 sizeof(Impl_::floating_point_objective_));
11744inline void CpModelProto::SharedDtor(MessageLite& self) {
11746 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
11747 ABSL_DCHECK(this_.GetArena() ==
nullptr);
11748 this_._impl_.name_.Destroy();
11749 delete this_._impl_.objective_;
11750 delete this_._impl_.solution_hint_;
11751 delete this_._impl_.symmetry_;
11752 delete this_._impl_.floating_point_objective_;
11753 this_._impl_.~Impl_();
11757 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
11758 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
11762 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
11765 InternalGetArenaOffset(
11766 ::google::protobuf::Message::internal_visibility()),
11769 InternalGetArenaOffset(
11773 InternalGetArenaOffset(
11777 InternalGetArenaOffset(
11780 if (arena_bits.has_value()) {
11781 return ::google::protobuf::internal::MessageCreator::CopyInit(
11782 sizeof(CpModelProto), alignof(CpModelProto), *arena_bits);
11784 return ::google::protobuf::internal::MessageCreator(&CpModelProto::PlacementNew_,
11785 sizeof(CpModelProto),
11786 alignof(CpModelProto));
11790 return ::google::protobuf::internal::ClassDataFull{
11791 ::google::protobuf::internal::ClassData{
11796 &CpModelProto::MergeImpl,
11797 ::google::protobuf::Message::GetNewImpl<CpModelProto>(),
11798#if defined(PROTOBUF_CUSTOM_VTABLE)
11799 &CpModelProto::SharedDtor,
11806 &CpModelProto::kDescriptorMethods,
11812PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
11816PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
11822PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
11823const ::_pbi::TcParseTable<4, 9, 7, 57, 2>
11824CpModelProto::_table_ = {
11829 offsetof(
decltype(_table_), field_lookup_table),
11831 offsetof(
decltype(_table_), field_entries),
11834 offsetof(
decltype(_table_), aux_entries),
11837 ::_pbi::TcParser::GenericFallback,
11838 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
11839 ::_pbi::TcParser::GetTable<::operations_research::sat::CpModelProto>(),
11842 {::_pbi::TcParser::MiniParse, {}},
11844 {::_pbi::TcParser::FastUS1,
11847 {::_pbi::TcParser::FastMtR1,
11850 {::_pbi::TcParser::FastMtR1,
11853 {::_pbi::TcParser::FastMtS1,
11856 {::_pbi::TcParser::FastMtR1,
11859 {::_pbi::TcParser::FastMtS1,
11862 {::_pbi::TcParser::FastV32P1,
11865 {::_pbi::TcParser::FastMtS1,
11868 {::_pbi::TcParser::FastMtS1,
11870 {::_pbi::TcParser::MiniParse, {}},
11871 {::_pbi::TcParser::MiniParse, {}},
11872 {::_pbi::TcParser::MiniParse, {}},
11873 {::_pbi::TcParser::MiniParse, {}},
11874 {::_pbi::TcParser::MiniParse, {}},
11875 {::_pbi::TcParser::MiniParse, {}},
11881 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
11884 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
11887 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
11890 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
11893 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
11896 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
11899 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
11902 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
11905 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
11908 {::_pbi::TcParser::GetTable<::operations_research::sat::IntegerVariableProto>()},
11909 {::_pbi::TcParser::GetTable<::operations_research::sat::ConstraintProto>()},
11910 {::_pbi::TcParser::GetTable<::operations_research::sat::CpObjectiveProto>()},
11911 {::_pbi::TcParser::GetTable<::operations_research::sat::DecisionStrategyProto>()},
11912 {::_pbi::TcParser::GetTable<::operations_research::sat::PartialVariableAssignment>()},
11913 {::_pbi::TcParser::GetTable<::operations_research::sat::SymmetryProto>()},
11914 {::_pbi::TcParser::GetTable<::operations_research::sat::FloatObjectiveProto>()},
11917 "\44\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
11918 "operations_research.sat.CpModelProto"
11924 ::google::protobuf::internal::TSanWrite(&
_impl_);
11925 ::uint32_t cached_has_bits = 0;
11927 (void) cached_has_bits;
11929 _impl_.variables_.Clear();
11930 _impl_.constraints_.Clear();
11931 _impl_.search_strategy_.Clear();
11932 _impl_.assumptions_.Clear();
11933 cached_has_bits =
_impl_._has_bits_[0];
11934 if ((cached_has_bits & 0x0000001fu) != 0) {
11935 if ((cached_has_bits & 0x00000001u) != 0) {
11936 _impl_.name_.ClearNonDefaultToEmpty();
11938 if ((cached_has_bits & 0x00000002u) != 0) {
11939 ABSL_DCHECK(
_impl_.objective_ !=
nullptr);
11940 _impl_.objective_->Clear();
11942 if ((cached_has_bits & 0x00000004u) != 0) {
11943 ABSL_DCHECK(
_impl_.solution_hint_ !=
nullptr);
11944 _impl_.solution_hint_->Clear();
11946 if ((cached_has_bits & 0x00000008u) != 0) {
11947 ABSL_DCHECK(
_impl_.symmetry_ !=
nullptr);
11948 _impl_.symmetry_->Clear();
11950 if ((cached_has_bits & 0x00000010u) != 0) {
11951 ABSL_DCHECK(
_impl_.floating_point_objective_ !=
nullptr);
11952 _impl_.floating_point_objective_->Clear();
11955 _impl_._has_bits_.Clear();
11956 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
11959#if defined(PROTOBUF_CUSTOM_VTABLE)
11961 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
11962 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
11966 ::uint8_t* PROTOBUF_NONNULL target,
11967 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
11971 ::uint32_t cached_has_bits = 0;
11972 (void)cached_has_bits;
11975 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
11976 if (!this_._internal_name().empty()) {
11977 const ::std::string& _s = this_._internal_name();
11978 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
11979 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.CpModelProto.name");
11980 target = stream->WriteStringMaybeAliased(1, _s, target);
11985 for (
unsigned i = 0, n =
static_cast<unsigned>(
11986 this_._internal_variables_size());
11988 const auto& repfield = this_._internal_variables().Get(
i);
11990 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11991 2, repfield, repfield.GetCachedSize(),
11996 for (
unsigned i = 0, n =
static_cast<unsigned>(
11997 this_._internal_constraints_size());
11999 const auto& repfield = this_._internal_constraints().Get(
i);
12001 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12002 3, repfield, repfield.GetCachedSize(),
12006 cached_has_bits = this_._impl_._has_bits_[0];
12008 if ((cached_has_bits & 0x00000002u) != 0) {
12009 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12010 4, *this_._impl_.objective_, this_._impl_.objective_->GetCachedSize(), target,
12015 for (
unsigned i = 0, n =
static_cast<unsigned>(
12016 this_._internal_search_strategy_size());
12018 const auto& repfield = this_._internal_search_strategy().Get(
i);
12020 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12021 5, repfield, repfield.GetCachedSize(),
12026 if ((cached_has_bits & 0x00000004u) != 0) {
12027 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12028 6, *this_._impl_.solution_hint_, this_._impl_.solution_hint_->GetCachedSize(), target,
12034 int byte_size = this_._impl_._assumptions_cached_byte_size_.Get();
12035 if (byte_size > 0) {
12036 target = stream->WriteInt32Packed(
12037 7, this_._internal_assumptions(), byte_size, target);
12042 if ((cached_has_bits & 0x00000008u) != 0) {
12043 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12044 8, *this_._impl_.symmetry_, this_._impl_.symmetry_->GetCachedSize(), target,
12049 if ((cached_has_bits & 0x00000010u) != 0) {
12050 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12051 9, *this_._impl_.floating_point_objective_, this_._impl_.floating_point_objective_->GetCachedSize(), target,
12055 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
12057 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
12058 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
12064#if defined(PROTOBUF_CUSTOM_VTABLE)
12072 ::size_t total_size = 0;
12074 ::uint32_t cached_has_bits = 0;
12076 (void)cached_has_bits;
12078 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
12082 total_size += 1UL * this_._internal_variables_size();
12083 for (
const auto& msg : this_._internal_variables()) {
12084 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
12089 total_size += 1UL * this_._internal_constraints_size();
12090 for (
const auto& msg : this_._internal_constraints()) {
12091 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
12096 total_size += 1UL * this_._internal_search_strategy_size();
12097 for (
const auto& msg : this_._internal_search_strategy()) {
12098 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
12104 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
12105 this_._internal_assumptions(), 1,
12106 this_._impl_._assumptions_cached_byte_size_);
12109 cached_has_bits = this_._impl_._has_bits_[0];
12110 if ((cached_has_bits & 0x0000001fu) != 0) {
12112 if ((cached_has_bits & 0x00000001u) != 0) {
12113 if (!this_._internal_name().empty()) {
12114 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
12115 this_._internal_name());
12119 if ((cached_has_bits & 0x00000002u) != 0) {
12121 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.objective_);
12124 if ((cached_has_bits & 0x00000004u) != 0) {
12126 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solution_hint_);
12129 if ((cached_has_bits & 0x00000008u) != 0) {
12131 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.symmetry_);
12134 if ((cached_has_bits & 0x00000010u) != 0) {
12136 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.floating_point_objective_);
12139 return this_.MaybeComputeUnknownFieldsSize(total_size,
12140 &this_._impl_._cached_size_);
12143void CpModelProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
12144 auto*
const _this =
static_cast<CpModelProto*
>(&to_msg);
12145 auto& from =
static_cast<const CpModelProto&
>(from_msg);
12148 ABSL_DCHECK_NE(&from, _this);
12149 ::uint32_t cached_has_bits = 0;
12150 (void) cached_has_bits;
12152 _this->_internal_mutable_variables()->
MergeFrom(
12153 from._internal_variables());
12154 _this->_internal_mutable_constraints()->
MergeFrom(
12155 from._internal_constraints());
12156 _this->_internal_mutable_search_strategy()->
MergeFrom(
12157 from._internal_search_strategy());
12158 _this->_internal_mutable_assumptions()->
MergeFrom(from._internal_assumptions());
12159 cached_has_bits = from.
_impl_._has_bits_[0];
12160 if ((cached_has_bits & 0x0000001fu) != 0) {
12161 if ((cached_has_bits & 0x00000001u) != 0) {
12162 if (!from._internal_name().empty()) {
12163 _this->_internal_set_name(from._internal_name());
12165 if (_this->
_impl_.name_.IsDefault()) {
12166 _this->_internal_set_name(
"");
12170 if ((cached_has_bits & 0x00000002u) != 0) {
12171 ABSL_DCHECK(from.
_impl_.objective_ !=
nullptr);
12172 if (_this->
_impl_.objective_ ==
nullptr) {
12173 _this->
_impl_.objective_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.objective_);
12178 if ((cached_has_bits & 0x00000004u) != 0) {
12179 ABSL_DCHECK(from.
_impl_.solution_hint_ !=
nullptr);
12180 if (_this->
_impl_.solution_hint_ ==
nullptr) {
12181 _this->
_impl_.solution_hint_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.solution_hint_);
12186 if ((cached_has_bits & 0x00000008u) != 0) {
12187 ABSL_DCHECK(from.
_impl_.symmetry_ !=
nullptr);
12188 if (_this->
_impl_.symmetry_ ==
nullptr) {
12189 _this->
_impl_.symmetry_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.symmetry_);
12194 if ((cached_has_bits & 0x00000010u) != 0) {
12195 ABSL_DCHECK(from.
_impl_.floating_point_objective_ !=
nullptr);
12196 if (_this->
_impl_.floating_point_objective_ ==
nullptr) {
12197 _this->
_impl_.floating_point_objective_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.floating_point_objective_);
12203 _this->
_impl_._has_bits_[0] |= cached_has_bits;
12204 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
12209 if (&from ==
this)
return;
12215void CpModelProto::InternalSwap(
CpModelProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
12217 auto* arena = GetArena();
12218 ABSL_DCHECK_EQ(arena, other->GetArena());
12219 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12220 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
12221 _impl_.variables_.InternalSwap(&other->_impl_.variables_);
12222 _impl_.constraints_.InternalSwap(&other->_impl_.constraints_);
12223 _impl_.search_strategy_.InternalSwap(&other->_impl_.search_strategy_);
12224 _impl_.assumptions_.InternalSwap(&other->_impl_.assumptions_);
12225 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
12226 ::google::protobuf::internal::memswap<
12230 reinterpret_cast<char*
>(&
_impl_.objective_),
12231 reinterpret_cast<char*
>(&other->_impl_.objective_));
12244#if defined(PROTOBUF_CUSTOM_VTABLE)
12247 : ::google::protobuf::Message(arena) {
12252PROTOBUF_NDEBUG_INLINE CpSolverSolution::Impl_::Impl_(
12253 ::google::protobuf::internal::InternalVisibility visibility,
12254 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
12255 const ::operations_research::sat::CpSolverSolution& from_msg)
12256 : values_{visibility, arena, from.values_},
12257 _values_cached_byte_size_{0},
12258 _cached_size_{0} {}
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_);
12276PROTOBUF_NDEBUG_INLINE CpSolverSolution::Impl_::Impl_(
12277 ::google::protobuf::internal::InternalVisibility visibility,
12278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
12279 : values_{visibility, arena},
12280 _values_cached_byte_size_{0},
12281 _cached_size_{0} {}
12283inline void CpSolverSolution::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
12284 new (&
_impl_) Impl_(internal_visibility(), arena);
12290inline void CpSolverSolution::SharedDtor(MessageLite& self) {
12292 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
12293 ABSL_DCHECK(this_.GetArena() ==
nullptr);
12298 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
12299 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
12303 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
12306 InternalGetArenaOffset(
12307 ::
google::protobuf::Message::internal_visibility()),
12309 if (arena_bits.has_value()) {
12310 return ::google::protobuf::internal::MessageCreator::ZeroInit(
12311 sizeof(CpSolverSolution), alignof(CpSolverSolution), *arena_bits);
12313 return ::google::protobuf::internal::MessageCreator(&CpSolverSolution::PlacementNew_,
12314 sizeof(CpSolverSolution),
12315 alignof(CpSolverSolution));
12319 return ::google::protobuf::internal::ClassDataFull{
12320 ::google::protobuf::internal::ClassData{
12325 &CpSolverSolution::MergeImpl,
12326 ::google::protobuf::Message::GetNewImpl<CpSolverSolution>(),
12327#if defined(PROTOBUF_CUSTOM_VTABLE)
12328 &CpSolverSolution::SharedDtor,
12335 &CpSolverSolution::kDescriptorMethods,
12341PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
12345PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
12351PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
12352const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
12353CpSolverSolution::_table_ = {
12358 offsetof(
decltype(_table_), field_lookup_table),
12360 offsetof(
decltype(_table_), field_entries),
12363 offsetof(
decltype(_table_), field_names),
12366 ::_pbi::TcParser::GenericFallback,
12367 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
12368 ::_pbi::TcParser::GetTable<::operations_research::sat::CpSolverSolution>(),
12372 {::_pbi::TcParser::FastV64P1,
12379 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
12387 ::google::protobuf::internal::TSanWrite(&
_impl_);
12388 ::uint32_t cached_has_bits = 0;
12390 (void) cached_has_bits;
12393 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
12396#if defined(PROTOBUF_CUSTOM_VTABLE)
12398 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
12399 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
12403 ::uint8_t* PROTOBUF_NONNULL target,
12404 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
12408 ::uint32_t cached_has_bits = 0;
12409 (void)cached_has_bits;
12413 int byte_size = this_._impl_._values_cached_byte_size_.Get();
12414 if (byte_size > 0) {
12415 target = stream->WriteInt64Packed(
12416 1, this_._internal_values(), byte_size, target);
12420 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
12422 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
12423 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
12429#if defined(PROTOBUF_CUSTOM_VTABLE)
12437 ::size_t total_size = 0;
12439 ::uint32_t cached_has_bits = 0;
12441 (void)cached_has_bits;
12443 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
12448 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
12449 this_._internal_values(), 1,
12450 this_.
_impl_._values_cached_byte_size_);
12453 return this_.MaybeComputeUnknownFieldsSize(total_size,
12454 &this_.
_impl_._cached_size_);
12457void CpSolverSolution::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
12461 ABSL_DCHECK_NE(&from, _this);
12462 ::uint32_t cached_has_bits = 0;
12463 (void) cached_has_bits;
12465 _this->_internal_mutable_values()->MergeFrom(from._internal_values());
12466 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
12471 if (&from ==
this)
return;
12477void CpSolverSolution::InternalSwap(
CpSolverSolution* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
12479 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12480 _impl_.values_.InternalSwap(&other->_impl_.values_);
12484 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
12488class CpSolverResponse::_Internal {
12491 decltype(::std::declval<CpSolverResponse>()._impl_._has_bits_);
12492 static constexpr ::int32_t kHasBitsOffset =
12493 8 * PROTOBUF_FIELD_OFFSET(CpSolverResponse, _impl_._has_bits_);
12497#if defined(PROTOBUF_CUSTOM_VTABLE)
12500 : ::google::protobuf::Message(arena) {
12505PROTOBUF_NDEBUG_INLINE CpSolverResponse::Impl_::Impl_(
12506 ::google::protobuf::internal::InternalVisibility visibility,
12508 const ::operations_research::sat::CpSolverResponse& from_msg)
12509 : _has_bits_{from._has_bits_},
12511 solution_{visibility, arena, from.solution_},
12512 _solution_cached_byte_size_{0},
12513 tightened_variables_{visibility, arena, from.tightened_variables_},
12514 sufficient_assumptions_for_infeasibility_{visibility, arena, from.sufficient_assumptions_for_infeasibility_},
12515 _sufficient_assumptions_for_infeasibility_cached_byte_size_{0},
12516 additional_solutions_{visibility, arena, from.additional_solutions_},
12517 solution_info_(arena, from.solution_info_),
12518 solve_log_(arena, from.solve_log_) {}
12521 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
12523#if defined(PROTOBUF_CUSTOM_VTABLE)
12526 : ::google::protobuf::Message(arena) {
12530 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
12531 from._internal_metadata_);
12532 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
12533 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
12534 _impl_.integer_objective_ = ((cached_has_bits & 0x00000004u) != 0)
12535 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.integer_objective_)
12537 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
12538 offsetof(Impl_, objective_value_),
12539 reinterpret_cast<const char *
>(&from.
_impl_) +
12540 offsetof(Impl_, objective_value_),
12541 offsetof(Impl_, status_) -
12542 offsetof(Impl_, objective_value_) +
12543 sizeof(Impl_::status_));
12547PROTOBUF_NDEBUG_INLINE CpSolverResponse::Impl_::Impl_(
12548 ::google::protobuf::internal::InternalVisibility visibility,
12549 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
12550 : _cached_size_{0},
12551 solution_{visibility, arena},
12552 _solution_cached_byte_size_{0},
12553 tightened_variables_{visibility, arena},
12554 sufficient_assumptions_for_infeasibility_{visibility, arena},
12555 _sufficient_assumptions_for_infeasibility_cached_byte_size_{0},
12556 additional_solutions_{visibility, arena},
12557 solution_info_(arena),
12558 solve_log_(arena) {}
12560inline void CpSolverResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
12561 new (&
_impl_) Impl_(internal_visibility(), arena);
12562 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
12563 offsetof(Impl_, integer_objective_),
12565 offsetof(Impl_, status_) -
12566 offsetof(Impl_, integer_objective_) +
12567 sizeof(Impl_::status_));
12573inline void CpSolverResponse::SharedDtor(
MessageLite& self) {
12574 CpSolverResponse& this_ =
static_cast<CpSolverResponse&
>(self);
12575 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
12576 ABSL_DCHECK(this_.GetArena() ==
nullptr);
12577 this_._impl_.solution_info_.Destroy();
12578 this_._impl_.solve_log_.Destroy();
12579 delete this_._impl_.integer_objective_;
12580 this_._impl_.~Impl_();
12584 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
12585 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
12586 return ::new (mem) CpSolverResponse(arena);
12589 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
12590 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solution_) +
12592 InternalGetArenaOffset(
12593 ::google::protobuf::Message::internal_visibility()),
12594 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.additional_solutions_) +
12595 decltype(CpSolverResponse::
_impl_.additional_solutions_)::
12596 InternalGetArenaOffset(
12597 ::google::protobuf::Message::internal_visibility()),
12598 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.tightened_variables_) +
12600 InternalGetArenaOffset(
12604 InternalGetArenaOffset(
12607 if (arena_bits.has_value()) {
12608 return ::google::protobuf::internal::MessageCreator::CopyInit(
12609 sizeof(CpSolverResponse), alignof(CpSolverResponse), *arena_bits);
12611 return ::google::protobuf::internal::MessageCreator(&CpSolverResponse::PlacementNew_,
12612 sizeof(CpSolverResponse),
12613 alignof(CpSolverResponse));
12617 return ::google::protobuf::internal::ClassDataFull{
12618 ::google::protobuf::internal::ClassData{
12623 &CpSolverResponse::MergeImpl,
12624 ::google::protobuf::Message::GetNewImpl<CpSolverResponse>(),
12625#if defined(PROTOBUF_CUSTOM_VTABLE)
12626 &CpSolverResponse::SharedDtor,
12633 &CpSolverResponse::kDescriptorMethods,
12639PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
12643PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
12649PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
12650const ::_pbi::TcParseTable<5, 24, 3, 95, 2>
12651CpSolverResponse::_table_ = {
12656 offsetof(
decltype(_table_), field_lookup_table),
12658 offsetof(
decltype(_table_), field_entries),
12661 offsetof(
decltype(_table_), aux_entries),
12664 ::_pbi::TcParser::GenericFallback,
12665 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
12666 ::_pbi::TcParser::GetTable<::operations_research::sat::CpSolverResponse>(),
12669 {::_pbi::TcParser::MiniParse, {}},
12674 {::_pbi::TcParser::FastV64P1,
12677 {::_pbi::TcParser::FastF64S1,
12680 {::_pbi::TcParser::FastF64S1,
12681 {33, 4, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.best_objective_bound_)}},
12682 {::_pbi::TcParser::MiniParse, {}},
12683 {::_pbi::TcParser::MiniParse, {}},
12684 {::_pbi::TcParser::MiniParse, {}},
12685 {::_pbi::TcParser::MiniParse, {}},
12686 {::_pbi::TcParser::MiniParse, {}},
12688 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_booleans_), 5>(),
12689 {80, 5, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_booleans_)}},
12691 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_conflicts_), 6>(),
12692 {88, 6, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_conflicts_)}},
12694 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_branches_), 7>(),
12695 {96, 7, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_branches_)}},
12697 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_binary_propagations_), 8>(),
12698 {104, 8, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_binary_propagations_)}},
12700 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CpSolverResponse,
_impl_.num_integer_propagations_), 9>(),
12701 {112, 9, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_integer_propagations_)}},
12703 {::_pbi::TcParser::FastF64S1,
12704 {121, 10, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.wall_time_)}},
12706 {::_pbi::TcParser::FastF64S2,
12707 {385, 11, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.user_time_)}},
12709 {::_pbi::TcParser::FastF64S2,
12710 {393, 12, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.deterministic_time_)}},
12711 {::_pbi::TcParser::MiniParse, {}},
12712 {::_pbi::TcParser::MiniParse, {}},
12714 {::_pbi::TcParser::FastUS2,
12715 {418, 0, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solution_info_)}},
12717 {::_pbi::TcParser::FastMtR2,
12718 {426, 63, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.tightened_variables_)}},
12720 {::_pbi::TcParser::FastF64S2,
12721 {433, 13, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.gap_integral_)}},
12723 {::_pbi::TcParser::FastV32P2,
12724 {442, 63, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.sufficient_assumptions_for_infeasibility_)}},
12726 {::_pbi::TcParser::FastV64S2,
12727 {448, 14, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_restarts_)}},
12729 {::_pbi::TcParser::FastV64S2,
12730 {456, 15, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_lp_iterations_)}},
12732 {::_pbi::TcParser::FastUS2,
12733 {466, 1, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solve_log_)}},
12735 {::_pbi::TcParser::FastMtR2,
12736 {474, 63, 1, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.additional_solutions_)}},
12738 {::_pbi::TcParser::FastMtS2,
12739 {482, 2, 2, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.integer_objective_)}},
12741 {::_pbi::TcParser::FastV64S2,
12742 {488, 16, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.inner_objective_lower_bound_)}},
12744 {::_pbi::TcParser::FastV64S2,
12745 {496, 17, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_integers_)}},
12747 {::_pbi::TcParser::FastV64S2,
12748 {504, 18, 0, PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_fixed_booleans_)}},
12753 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.status_), _Internal::kHasBitsOffset + 19, 0,
12754 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
12756 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solution_), -1, 0,
12757 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
12759 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.objective_value_), _Internal::kHasBitsOffset + 3, 0,
12760 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
12762 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.best_objective_bound_), _Internal::kHasBitsOffset + 4, 0,
12763 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
12765 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_booleans_), _Internal::kHasBitsOffset + 5, 0,
12766 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12768 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_conflicts_), _Internal::kHasBitsOffset + 6, 0,
12769 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12771 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_branches_), _Internal::kHasBitsOffset + 7, 0,
12772 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12774 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_binary_propagations_), _Internal::kHasBitsOffset + 8, 0,
12775 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12777 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_integer_propagations_), _Internal::kHasBitsOffset + 9, 0,
12778 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12780 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.wall_time_), _Internal::kHasBitsOffset + 10, 0,
12781 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
12783 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.user_time_), _Internal::kHasBitsOffset + 11, 0,
12784 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
12786 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.deterministic_time_), _Internal::kHasBitsOffset + 12, 0,
12787 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
12789 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solution_info_), _Internal::kHasBitsOffset + 0, 0,
12790 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
12792 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.tightened_variables_), -1, 0,
12793 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
12795 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.gap_integral_), _Internal::kHasBitsOffset + 13, 0,
12796 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
12798 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.sufficient_assumptions_for_infeasibility_), -1, 0,
12799 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
12801 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_restarts_), _Internal::kHasBitsOffset + 14, 0,
12802 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12804 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_lp_iterations_), _Internal::kHasBitsOffset + 15, 0,
12805 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12807 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.solve_log_), _Internal::kHasBitsOffset + 1, 0,
12808 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
12810 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.additional_solutions_), -1, 1,
12811 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
12813 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.integer_objective_), _Internal::kHasBitsOffset + 2, 2,
12814 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
12816 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.inner_objective_lower_bound_), _Internal::kHasBitsOffset + 16, 0,
12817 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12819 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_integers_), _Internal::kHasBitsOffset + 17, 0,
12820 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12822 {PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.num_fixed_booleans_), _Internal::kHasBitsOffset + 18, 0,
12823 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
12826 {::_pbi::TcParser::GetTable<::operations_research::sat::IntegerVariableProto>()},
12827 {::_pbi::TcParser::GetTable<::operations_research::sat::CpSolverSolution>()},
12828 {::_pbi::TcParser::GetTable<::operations_research::sat::CpObjectiveProto>()},
12831 "\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"
12832 "operations_research.sat.CpSolverResponse"
12839 ::google::protobuf::internal::TSanWrite(&
_impl_);
12840 ::uint32_t cached_has_bits = 0;
12842 (void) cached_has_bits;
12844 _impl_.solution_.Clear();
12845 _impl_.tightened_variables_.Clear();
12846 _impl_.sufficient_assumptions_for_infeasibility_.Clear();
12847 _impl_.additional_solutions_.Clear();
12848 cached_has_bits =
_impl_._has_bits_[0];
12849 if ((cached_has_bits & 0x00000007u) != 0) {
12850 if ((cached_has_bits & 0x00000001u) != 0) {
12851 _impl_.solution_info_.ClearNonDefaultToEmpty();
12853 if ((cached_has_bits & 0x00000002u) != 0) {
12854 _impl_.solve_log_.ClearNonDefaultToEmpty();
12856 if ((cached_has_bits & 0x00000004u) != 0) {
12857 ABSL_DCHECK(
_impl_.integer_objective_ !=
nullptr);
12858 _impl_.integer_objective_->Clear();
12861 if ((cached_has_bits & 0x000000f8u) != 0) {
12862 ::memset(&
_impl_.objective_value_, 0,
static_cast<::
size_t>(
12863 reinterpret_cast<char*
>(&
_impl_.num_branches_) -
12864 reinterpret_cast<char*
>(&
_impl_.objective_value_)) +
sizeof(
_impl_.num_branches_));
12866 if ((cached_has_bits & 0x0000ff00u) != 0) {
12867 ::memset(&
_impl_.num_binary_propagations_, 0,
static_cast<::
size_t>(
12868 reinterpret_cast<char*
>(&
_impl_.num_lp_iterations_) -
12869 reinterpret_cast<char*
>(&
_impl_.num_binary_propagations_)) +
sizeof(
_impl_.num_lp_iterations_));
12871 if ((cached_has_bits & 0x000f0000u) != 0) {
12872 ::memset(&
_impl_.inner_objective_lower_bound_, 0,
static_cast<::
size_t>(
12873 reinterpret_cast<char*
>(&
_impl_.status_) -
12874 reinterpret_cast<char*
>(&
_impl_.inner_objective_lower_bound_)) +
sizeof(
_impl_.status_));
12876 _impl_._has_bits_.Clear();
12877 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
12880#if defined(PROTOBUF_CUSTOM_VTABLE)
12882 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
12883 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
12884 const CpSolverResponse& this_ =
static_cast<const CpSolverResponse&
>(base);
12887 ::uint8_t* PROTOBUF_NONNULL target,
12888 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
12889 const CpSolverResponse& this_ = *
this;
12892 ::uint32_t cached_has_bits = 0;
12893 (void)cached_has_bits;
12896 if ((this_._impl_._has_bits_[0] & 0x00080000u) != 0) {
12897 if (this_._internal_status() != 0) {
12898 target = stream->EnsureSpace(target);
12899 target = ::_pbi::WireFormatLite::WriteEnumToArray(
12900 1, this_._internal_status(), target);
12906 int byte_size = this_._impl_._solution_cached_byte_size_.Get();
12907 if (byte_size > 0) {
12908 target = stream->WriteInt64Packed(
12909 2, this_._internal_solution(), byte_size, target);
12914 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) {
12915 if (::absl::bit_cast<::uint64_t>(this_._internal_objective_value()) != 0) {
12916 target = stream->EnsureSpace(target);
12917 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
12918 3, this_._internal_objective_value(), target);
12923 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) {
12924 if (::absl::bit_cast<::uint64_t>(this_._internal_best_objective_bound()) != 0) {
12925 target = stream->EnsureSpace(target);
12926 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
12927 4, this_._internal_best_objective_bound(), target);
12932 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) {
12933 if (this_._internal_num_booleans() != 0) {
12935 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<10>(
12936 stream, this_._internal_num_booleans(), target);
12941 if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) {
12942 if (this_._internal_num_conflicts() != 0) {
12944 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<11>(
12945 stream, this_._internal_num_conflicts(), target);
12950 if ((this_._impl_._has_bits_[0] & 0x00000080u) != 0) {
12951 if (this_._internal_num_branches() != 0) {
12953 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<12>(
12954 stream, this_._internal_num_branches(), target);
12959 if ((this_._impl_._has_bits_[0] & 0x00000100u) != 0) {
12960 if (this_._internal_num_binary_propagations() != 0) {
12962 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<13>(
12963 stream, this_._internal_num_binary_propagations(), target);
12968 if ((this_._impl_._has_bits_[0] & 0x00000200u) != 0) {
12969 if (this_._internal_num_integer_propagations() != 0) {
12971 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<14>(
12972 stream, this_._internal_num_integer_propagations(), target);
12977 if ((this_._impl_._has_bits_[0] & 0x00000400u) != 0) {
12978 if (::absl::bit_cast<::uint64_t>(this_._internal_wall_time()) != 0) {
12979 target = stream->EnsureSpace(target);
12980 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
12981 15, this_._internal_wall_time(), target);
12986 if ((this_._impl_._has_bits_[0] & 0x00000800u) != 0) {
12987 if (::absl::bit_cast<::uint64_t>(this_._internal_user_time()) != 0) {
12988 target = stream->EnsureSpace(target);
12989 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
12990 16, this_._internal_user_time(), target);
12995 if ((this_._impl_._has_bits_[0] & 0x00001000u) != 0) {
12996 if (::absl::bit_cast<::uint64_t>(this_._internal_deterministic_time()) != 0) {
12997 target = stream->EnsureSpace(target);
12998 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
12999 17, this_._internal_deterministic_time(), target);
13004 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
13005 if (!this_._internal_solution_info().empty()) {
13006 const ::std::string& _s = this_._internal_solution_info();
13007 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
13008 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.CpSolverResponse.solution_info");
13009 target = stream->WriteStringMaybeAliased(20, _s, target);
13014 for (
unsigned i = 0, n =
static_cast<unsigned>(
13015 this_._internal_tightened_variables_size());
13017 const auto& repfield = this_._internal_tightened_variables().Get(
i);
13019 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
13020 21, repfield, repfield.GetCachedSize(),
13025 if ((this_._impl_._has_bits_[0] & 0x00002000u) != 0) {
13026 if (::absl::bit_cast<::uint64_t>(this_._internal_gap_integral()) != 0) {
13027 target = stream->EnsureSpace(target);
13028 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
13029 22, this_._internal_gap_integral(), target);
13035 int byte_size = this_._impl_._sufficient_assumptions_for_infeasibility_cached_byte_size_.Get();
13036 if (byte_size > 0) {
13037 target = stream->WriteInt32Packed(
13038 23, this_._internal_sufficient_assumptions_for_infeasibility(), byte_size, target);
13043 if ((this_._impl_._has_bits_[0] & 0x00004000u) != 0) {
13044 if (this_._internal_num_restarts() != 0) {
13045 target = stream->EnsureSpace(target);
13046 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
13047 24, this_._internal_num_restarts(), target);
13052 if ((this_._impl_._has_bits_[0] & 0x00008000u) != 0) {
13053 if (this_._internal_num_lp_iterations() != 0) {
13054 target = stream->EnsureSpace(target);
13055 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
13056 25, this_._internal_num_lp_iterations(), target);
13061 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
13062 if (!this_._internal_solve_log().empty()) {
13063 const ::std::string& _s = this_._internal_solve_log();
13064 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
13065 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.sat.CpSolverResponse.solve_log");
13066 target = stream->WriteStringMaybeAliased(26, _s, target);
13071 for (
unsigned i = 0, n =
static_cast<unsigned>(
13072 this_._internal_additional_solutions_size());
13074 const auto& repfield = this_._internal_additional_solutions().Get(
i);
13076 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
13077 27, repfield, repfield.GetCachedSize(),
13081 cached_has_bits = this_._impl_._has_bits_[0];
13083 if ((cached_has_bits & 0x00000004u) != 0) {
13084 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
13085 28, *this_._impl_.integer_objective_, this_._impl_.integer_objective_->GetCachedSize(), target,
13090 if ((cached_has_bits & 0x00010000u) != 0) {
13091 if (this_._internal_inner_objective_lower_bound() != 0) {
13092 target = stream->EnsureSpace(target);
13093 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
13094 29, this_._internal_inner_objective_lower_bound(), target);
13099 if ((cached_has_bits & 0x00020000u) != 0) {
13100 if (this_._internal_num_integers() != 0) {
13101 target = stream->EnsureSpace(target);
13102 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
13103 30, this_._internal_num_integers(), target);
13108 if ((cached_has_bits & 0x00040000u) != 0) {
13109 if (this_._internal_num_fixed_booleans() != 0) {
13110 target = stream->EnsureSpace(target);
13111 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
13112 31, this_._internal_num_fixed_booleans(), target);
13116 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
13118 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
13119 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
13125#if defined(PROTOBUF_CUSTOM_VTABLE)
13127 const CpSolverResponse& this_ =
static_cast<const CpSolverResponse&
>(base);
13130 const CpSolverResponse& this_ = *
this;
13133 ::size_t total_size = 0;
13135 ::uint32_t cached_has_bits = 0;
13137 (void)cached_has_bits;
13139 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
13144 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
13145 this_._internal_solution(), 1,
13146 this_._impl_._solution_cached_byte_size_);
13150 total_size += 2UL * this_._internal_tightened_variables_size();
13151 for (
const auto& msg : this_._internal_tightened_variables()) {
13152 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
13158 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
13159 this_._internal_sufficient_assumptions_for_infeasibility(), 2,
13160 this_._impl_._sufficient_assumptions_for_infeasibility_cached_byte_size_);
13164 total_size += 2UL * this_._internal_additional_solutions_size();
13165 for (
const auto& msg : this_._internal_additional_solutions()) {
13166 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
13170 cached_has_bits = this_._impl_._has_bits_[0];
13171 if ((cached_has_bits & 0x000000ffu) != 0) {
13173 if ((cached_has_bits & 0x00000001u) != 0) {
13174 if (!this_._internal_solution_info().empty()) {
13175 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
13176 this_._internal_solution_info());
13180 if ((cached_has_bits & 0x00000002u) != 0) {
13181 if (!this_._internal_solve_log().empty()) {
13182 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
13183 this_._internal_solve_log());
13187 if ((cached_has_bits & 0x00000004u) != 0) {
13189 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.integer_objective_);
13192 if ((cached_has_bits & 0x00000008u) != 0) {
13193 if (::absl::bit_cast<::uint64_t>(this_._internal_objective_value()) != 0) {
13198 if ((cached_has_bits & 0x00000010u) != 0) {
13199 if (::absl::bit_cast<::uint64_t>(this_._internal_best_objective_bound()) != 0) {
13204 if ((cached_has_bits & 0x00000020u) != 0) {
13205 if (this_._internal_num_booleans() != 0) {
13206 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
13207 this_._internal_num_booleans());
13211 if ((cached_has_bits & 0x00000040u) != 0) {
13212 if (this_._internal_num_conflicts() != 0) {
13213 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
13214 this_._internal_num_conflicts());
13218 if ((cached_has_bits & 0x00000080u) != 0) {
13219 if (this_._internal_num_branches() != 0) {
13220 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
13221 this_._internal_num_branches());
13225 if ((cached_has_bits & 0x0000ff00u) != 0) {
13227 if ((cached_has_bits & 0x00000100u) != 0) {
13228 if (this_._internal_num_binary_propagations() != 0) {
13229 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
13230 this_._internal_num_binary_propagations());
13234 if ((cached_has_bits & 0x00000200u) != 0) {
13235 if (this_._internal_num_integer_propagations() != 0) {
13236 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
13237 this_._internal_num_integer_propagations());
13241 if ((cached_has_bits & 0x00000400u) != 0) {
13242 if (::absl::bit_cast<::uint64_t>(this_._internal_wall_time()) != 0) {
13247 if ((cached_has_bits & 0x00000800u) != 0) {
13248 if (::absl::bit_cast<::uint64_t>(this_._internal_user_time()) != 0) {
13253 if ((cached_has_bits & 0x00001000u) != 0) {
13254 if (::absl::bit_cast<::uint64_t>(this_._internal_deterministic_time()) != 0) {
13259 if ((cached_has_bits & 0x00002000u) != 0) {
13260 if (::absl::bit_cast<::uint64_t>(this_._internal_gap_integral()) != 0) {
13265 if ((cached_has_bits & 0x00004000u) != 0) {
13266 if (this_._internal_num_restarts() != 0) {
13267 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
13268 this_._internal_num_restarts());
13272 if ((cached_has_bits & 0x00008000u) != 0) {
13273 if (this_._internal_num_lp_iterations() != 0) {
13274 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
13275 this_._internal_num_lp_iterations());
13279 if ((cached_has_bits & 0x000f0000u) != 0) {
13281 if ((cached_has_bits & 0x00010000u) != 0) {
13282 if (this_._internal_inner_objective_lower_bound() != 0) {
13283 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
13284 this_._internal_inner_objective_lower_bound());
13288 if ((cached_has_bits & 0x00020000u) != 0) {
13289 if (this_._internal_num_integers() != 0) {
13290 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
13291 this_._internal_num_integers());
13295 if ((cached_has_bits & 0x00040000u) != 0) {
13296 if (this_._internal_num_fixed_booleans() != 0) {
13297 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
13298 this_._internal_num_fixed_booleans());
13302 if ((cached_has_bits & 0x00080000u) != 0) {
13303 if (this_._internal_status() != 0) {
13305 ::_pbi::WireFormatLite::EnumSize(this_._internal_status());
13309 return this_.MaybeComputeUnknownFieldsSize(total_size,
13310 &this_._impl_._cached_size_);
13313void CpSolverResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
13314 auto*
const _this =
static_cast<CpSolverResponse*
>(&to_msg);
13315 auto& from =
static_cast<const CpSolverResponse&
>(from_msg);
13318 ABSL_DCHECK_NE(&from, _this);
13319 ::uint32_t cached_has_bits = 0;
13320 (void) cached_has_bits;
13322 _this->_internal_mutable_solution()->
MergeFrom(from._internal_solution());
13323 _this->_internal_mutable_tightened_variables()->
MergeFrom(
13324 from._internal_tightened_variables());
13325 _this->_internal_mutable_sufficient_assumptions_for_infeasibility()->
MergeFrom(from._internal_sufficient_assumptions_for_infeasibility());
13326 _this->_internal_mutable_additional_solutions()->
MergeFrom(
13327 from._internal_additional_solutions());
13328 cached_has_bits = from.
_impl_._has_bits_[0];
13329 if ((cached_has_bits & 0x000000ffu) != 0) {
13330 if ((cached_has_bits & 0x00000001u) != 0) {
13331 if (!from._internal_solution_info().empty()) {
13332 _this->_internal_set_solution_info(from._internal_solution_info());
13334 if (_this->
_impl_.solution_info_.IsDefault()) {
13335 _this->_internal_set_solution_info(
"");
13339 if ((cached_has_bits & 0x00000002u) != 0) {
13340 if (!from._internal_solve_log().empty()) {
13341 _this->_internal_set_solve_log(from._internal_solve_log());
13343 if (_this->
_impl_.solve_log_.IsDefault()) {
13344 _this->_internal_set_solve_log(
"");
13348 if ((cached_has_bits & 0x00000004u) != 0) {
13349 ABSL_DCHECK(from.
_impl_.integer_objective_ !=
nullptr);
13350 if (_this->
_impl_.integer_objective_ ==
nullptr) {
13351 _this->
_impl_.integer_objective_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.integer_objective_);
13353 _this->
_impl_.integer_objective_->MergeFrom(*from.
_impl_.integer_objective_);
13356 if ((cached_has_bits & 0x00000008u) != 0) {
13357 if (::absl::bit_cast<::uint64_t>(from._internal_objective_value()) != 0) {
13358 _this->
_impl_.objective_value_ = from.
_impl_.objective_value_;
13361 if ((cached_has_bits & 0x00000010u) != 0) {
13362 if (::absl::bit_cast<::uint64_t>(from._internal_best_objective_bound()) != 0) {
13363 _this->
_impl_.best_objective_bound_ = from.
_impl_.best_objective_bound_;
13366 if ((cached_has_bits & 0x00000020u) != 0) {
13367 if (from._internal_num_booleans() != 0) {
13368 _this->
_impl_.num_booleans_ = from.
_impl_.num_booleans_;
13371 if ((cached_has_bits & 0x00000040u) != 0) {
13372 if (from._internal_num_conflicts() != 0) {
13373 _this->
_impl_.num_conflicts_ = from.
_impl_.num_conflicts_;
13376 if ((cached_has_bits & 0x00000080u) != 0) {
13377 if (from._internal_num_branches() != 0) {
13378 _this->
_impl_.num_branches_ = from.
_impl_.num_branches_;
13382 if ((cached_has_bits & 0x0000ff00u) != 0) {
13383 if ((cached_has_bits & 0x00000100u) != 0) {
13384 if (from._internal_num_binary_propagations() != 0) {
13385 _this->
_impl_.num_binary_propagations_ = from.
_impl_.num_binary_propagations_;
13388 if ((cached_has_bits & 0x00000200u) != 0) {
13389 if (from._internal_num_integer_propagations() != 0) {
13390 _this->
_impl_.num_integer_propagations_ = from.
_impl_.num_integer_propagations_;
13393 if ((cached_has_bits & 0x00000400u) != 0) {
13394 if (::absl::bit_cast<::uint64_t>(from._internal_wall_time()) != 0) {
13398 if ((cached_has_bits & 0x00000800u) != 0) {
13399 if (::absl::bit_cast<::uint64_t>(from._internal_user_time()) != 0) {
13403 if ((cached_has_bits & 0x00001000u) != 0) {
13404 if (::absl::bit_cast<::uint64_t>(from._internal_deterministic_time()) != 0) {
13405 _this->
_impl_.deterministic_time_ = from.
_impl_.deterministic_time_;
13408 if ((cached_has_bits & 0x00002000u) != 0) {
13409 if (::absl::bit_cast<::uint64_t>(from._internal_gap_integral()) != 0) {
13410 _this->
_impl_.gap_integral_ = from.
_impl_.gap_integral_;
13413 if ((cached_has_bits & 0x00004000u) != 0) {
13414 if (from._internal_num_restarts() != 0) {
13415 _this->
_impl_.num_restarts_ = from.
_impl_.num_restarts_;
13418 if ((cached_has_bits & 0x00008000u) != 0) {
13419 if (from._internal_num_lp_iterations() != 0) {
13420 _this->
_impl_.num_lp_iterations_ = from.
_impl_.num_lp_iterations_;
13424 if ((cached_has_bits & 0x000f0000u) != 0) {
13425 if ((cached_has_bits & 0x00010000u) != 0) {
13426 if (from._internal_inner_objective_lower_bound() != 0) {
13427 _this->
_impl_.inner_objective_lower_bound_ = from.
_impl_.inner_objective_lower_bound_;
13430 if ((cached_has_bits & 0x00020000u) != 0) {
13431 if (from._internal_num_integers() != 0) {
13432 _this->
_impl_.num_integers_ = from.
_impl_.num_integers_;
13435 if ((cached_has_bits & 0x00040000u) != 0) {
13436 if (from._internal_num_fixed_booleans() != 0) {
13437 _this->
_impl_.num_fixed_booleans_ = from.
_impl_.num_fixed_booleans_;
13440 if ((cached_has_bits & 0x00080000u) != 0) {
13441 if (from._internal_status() != 0) {
13446 _this->
_impl_._has_bits_[0] |= cached_has_bits;
13447 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
13452 if (&from ==
this)
return;
13458void CpSolverResponse::InternalSwap(CpSolverResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
13460 auto* arena = GetArena();
13461 ABSL_DCHECK_EQ(arena, other->GetArena());
13462 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13463 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13464 _impl_.solution_.InternalSwap(&other->_impl_.solution_);
13465 _impl_.tightened_variables_.InternalSwap(&other->_impl_.tightened_variables_);
13466 _impl_.sufficient_assumptions_for_infeasibility_.InternalSwap(&other->_impl_.sufficient_assumptions_for_infeasibility_);
13467 _impl_.additional_solutions_.InternalSwap(&other->_impl_.additional_solutions_);
13468 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.solution_info_, &other->_impl_.solution_info_, arena);
13469 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.solve_log_, &other->_impl_.solve_log_, arena);
13470 ::google::protobuf::internal::memswap<
13471 PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.status_)
13473 - PROTOBUF_FIELD_OFFSET(CpSolverResponse,
_impl_.integer_objective_)>(
13474 reinterpret_cast<char*
>(&
_impl_.integer_objective_),
13475 reinterpret_cast<char*
>(&other->_impl_.integer_objective_));
13479 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
13485namespace protobuf {
13489PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
13492 ::std::false_type{});
13493#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_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 CopyFrom(const AllDifferentConstraintProto &from)
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const AllDifferentConstraintProto &from)
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalNewImpl_()
~AllDifferentConstraintProto() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::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()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::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)
static constexpr auto InternalNewImpl_()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend void swap(AutomatonConstraintProto &a, AutomatonConstraintProto &b)
void MergeFrom(const BoolArgumentProto &from)
~BoolArgumentProto() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalNewImpl_()
::size_t ByteSizeLong() const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void CopyFrom(const BoolArgumentProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::MessageLite
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
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 void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
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
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend class ::google::protobuf::MessageLite
void 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)
static constexpr auto InternalNewImpl_()
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)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
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
static constexpr ::int32_t kHasBitsOffset
static constexpr auto InternalNewImpl_()
void CopyFrom(const CpModelProto &from)
friend class ::google::protobuf::MessageLite
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::size_t ByteSizeLong() const final
friend void swap(CpModelProto &a, CpModelProto &b)
~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
friend class ::google::protobuf::Arena
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_()
static constexpr auto InternalNewImpl_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
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)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
~CpObjectiveProto() PROTOBUF_FINAL
~CpSolverResponse() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_()
::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)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const CpSolverResponse &from)
friend void swap(CpSolverSolution &a, CpSolverSolution &b)
friend class ::google::protobuf::MessageLite
static constexpr auto InternalNewImpl_()
~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)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
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_()
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
CumulativeConstraintProto()
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
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)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_()
~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
friend void swap(DecisionStrategyProto &a, DecisionStrategyProto &b)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr ::int32_t kHasBitsOffset
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::MessageLite
static constexpr auto InternalNewImpl_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const DenseMatrixProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
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)
static constexpr auto InternalNewImpl_()
::size_t ByteSizeLong() const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(ElementConstraintProto &a, ElementConstraintProto &b)
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
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
static constexpr ::int32_t kHasBitsOffset
~FloatObjectiveProto() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::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)
friend void swap(FloatObjectiveProto &a, FloatObjectiveProto &b)
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalNewImpl_()
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
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_()
~IntegerVariableProto() PROTOBUF_FINAL
friend void swap(IntegerVariableProto &a, IntegerVariableProto &b)
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void CopyFrom(const IntegerVariableProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
void MergeFrom(const IntervalConstraintProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
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
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
~InverseConstraintProto() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr auto InternalNewImpl_()
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
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const LinearArgumentProto &from)
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(LinearArgumentProto &a, LinearArgumentProto &b)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::google::protobuf::Metadata GetMetadata() const
const ::operations_research::sat::LinearExpressionProto & target() const
~LinearArgumentProto() PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
friend class ::google::protobuf::Arena
void CopyFrom(const LinearArgumentProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend class ::google::protobuf::MessageLite
::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)
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void MergeFrom(const LinearConstraintProto &from)
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
void CopyFrom(const LinearExpressionProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
friend void swap(LinearExpressionProto &a, LinearExpressionProto &b)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
~LinearExpressionProto() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void MergeFrom(const LinearExpressionProto &from)
::size_t ByteSizeLong() const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const ListOfVariablesProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
static constexpr auto InternalNewImpl_()
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
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::size_t ByteSizeLong() const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_()
friend class ::google::protobuf::MessageLite
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const NoOverlap2DConstraintProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const NoOverlap2DConstraintProto &from)
~NoOverlap2DConstraintProto() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
NoOverlap2DConstraintProto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
~NoOverlapConstraintProto() PROTOBUF_FINAL
NoOverlapConstraintProto()
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const NoOverlapConstraintProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_()
void MergeFrom(const NoOverlapConstraintProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
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
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
~PartialVariableAssignment() PROTOBUF_FINAL
void MergeFrom(const PartialVariableAssignment &from)
PartialVariableAssignment()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
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
friend class ::google::protobuf::Arena
static constexpr auto InternalNewImpl_()
void CopyFrom(const PartialVariableAssignment &from)
static constexpr ::int32_t kHasBitsOffset
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
ReservoirConstraintProto()
void MergeFrom(const ReservoirConstraintProto &from)
void CopyFrom(const ReservoirConstraintProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
~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_()
static constexpr auto InternalNewImpl_()
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
static constexpr ::int32_t kHasBitsOffset
~RoutesConstraintProto_NodeExpressions() PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::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()
::size_t ByteSizeLong() const final
void CopyFrom(const RoutesConstraintProto_NodeExpressions &from)
void MergeFrom(const RoutesConstraintProto_NodeExpressions &from)
friend class ::google::protobuf::MessageLite
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void CopyFrom(const RoutesConstraintProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalNewImpl_()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::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::MessageLite
~SparsePermutationProto() PROTOBUF_FINAL
void CopyFrom(const SparsePermutationProto &from)
void MergeFrom(const SparsePermutationProto &from)
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalNewImpl_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::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_()
~SymmetryProto() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const SymmetryProto &from)
void MergeFrom(const SymmetryProto &from)
::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
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void CopyFrom(const TableConstraintProto &from)
~TableConstraintProto() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
friend void swap(TableConstraintProto &a, TableConstraintProto &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::Metadata GetMetadata() const
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)
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_
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PartialVariableAssignment_class_data_
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
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_