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;
29inline constexpr WorkerInfo::Impl_::Impl_(
30 ::_pbi::ConstantInitialized) noexcept
33 &::google::protobuf::internal::fixed_address_empty_string,
34 ::_pbi::ConstantInitialized()),
39#if defined(PROTOBUF_CUSTOM_VTABLE)
42 : ::google::protobuf::Message(),
44 _impl_(::_pbi::ConstantInitialized()) {
54PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
57inline constexpr SequenceVarAssignment::Impl_::Impl_(
58 ::_pbi::ConstantInitialized) noexcept
61 _forward_sequence_cached_byte_size_{0},
63 _backward_sequence_cached_byte_size_{0},
65 _unperformed_cached_byte_size_{0},
67 &::google::protobuf::internal::fixed_address_empty_string,
68 ::_pbi::ConstantInitialized()),
73#if defined(PROTOBUF_CUSTOM_VTABLE)
76 : ::google::protobuf::Message(),
78 _impl_(::_pbi::ConstantInitialized()) {
88PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
91inline constexpr IntervalVarAssignment::Impl_::Impl_(
92 ::_pbi::ConstantInitialized) noexcept
95 &::google::protobuf::internal::fixed_address_empty_string,
96 ::_pbi::ConstantInitialized()),
97 start_min_{::int64_t{0}},
98 start_max_{::int64_t{0}},
99 duration_min_{::int64_t{0}},
100 duration_max_{::int64_t{0}},
101 end_min_{::int64_t{0}},
102 end_max_{::int64_t{0}},
103 performed_min_{::int64_t{0}},
104 performed_max_{::int64_t{0}},
109#if defined(PROTOBUF_CUSTOM_VTABLE)
112 : ::google::protobuf::Message(),
114 _impl_(::_pbi::ConstantInitialized()) {
124PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
127inline constexpr IntVarAssignment::Impl_::Impl_(
128 ::_pbi::ConstantInitialized) noexcept
131 &::google::protobuf::internal::fixed_address_empty_string,
132 ::_pbi::ConstantInitialized()),
139#if defined(PROTOBUF_CUSTOM_VTABLE)
142 : ::google::protobuf::Message(),
144 _impl_(::_pbi::ConstantInitialized()) {
154PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
157inline constexpr AssignmentProto::Impl_::Impl_(
158 ::_pbi::ConstantInitialized) noexcept
160 int_var_assignment_{},
161 interval_var_assignment_{},
163 sequence_var_assignment_{},
164 worker_info_{
nullptr},
169#if defined(PROTOBUF_CUSTOM_VTABLE)
172 : ::google::protobuf::Message(),
174 _impl_(::_pbi::ConstantInitialized()) {
184PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
187static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
189static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
265static const ::_pbi::MigrationSchema
282 "\n*ortools/constraint_solver/assignment.p"
283 "roto\022\023operations_research\"L\n\020IntVarAssig"
284 "nment\022\016\n\006var_id\030\001 \001(\t\022\013\n\003min\030\002 \001(\003\022\013\n\003ma"
285 "x\030\003 \001(\003\022\016\n\006active\030\004 \001(\010\"\331\001\n\025IntervalVarA"
286 "ssignment\022\016\n\006var_id\030\001 \001(\t\022\021\n\tstart_min\030\002"
287 " \001(\003\022\021\n\tstart_max\030\003 \001(\003\022\024\n\014duration_min\030"
288 "\004 \001(\003\022\024\n\014duration_max\030\005 \001(\003\022\017\n\007end_min\030\006"
289 " \001(\003\022\017\n\007end_max\030\007 \001(\003\022\025\n\rperformed_min\030\010"
290 " \001(\003\022\025\n\rperformed_max\030\t \001(\003\022\016\n\006active\030\n "
291 "\001(\010\"\201\001\n\025SequenceVarAssignment\022\016\n\006var_id\030"
292 "\001 \001(\t\022\030\n\020forward_sequence\030\002 \003(\005\022\031\n\021backw"
293 "ard_sequence\030\003 \003(\005\022\023\n\013unperformed\030\004 \003(\005\022"
294 "\016\n\006active\030\005 \001(\010\",\n\nWorkerInfo\022\021\n\tworker_"
295 "id\030\001 \001(\005\022\013\n\003bns\030\002 \001(\t\"\360\002\n\017AssignmentProt"
296 "o\022A\n\022int_var_assignment\030\001 \003(\0132%.operatio"
297 "ns_research.IntVarAssignment\022K\n\027interval"
298 "_var_assignment\030\002 \003(\0132*.operations_resea"
299 "rch.IntervalVarAssignment\022K\n\027sequence_va"
300 "r_assignment\030\006 \003(\0132*.operations_research"
301 ".SequenceVarAssignment\0228\n\tobjective\030\003 \003("
302 "\0132%.operations_research.IntVarAssignment"
303 "\0224\n\013worker_info\030\004 \001(\0132\037.operations_resea"
304 "rch.WorkerInfo\022\020\n\010is_valid\030\005 \001(\010b\006proto3"
311 descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fassignment_2eproto,
312 "ortools/constraint_solver/assignment.proto",
329 decltype(::std::declval<IntVarAssignment>()._impl_._has_bits_);
335#if defined(PROTOBUF_CUSTOM_VTABLE)
338 : ::google::protobuf::Message(arena) {
343PROTOBUF_NDEBUG_INLINE IntVarAssignment::Impl_::Impl_(
344 ::google::protobuf::internal::InternalVisibility visibility,
345 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
346 const ::operations_research::IntVarAssignment& from_msg)
347 : _has_bits_{from._has_bits_},
349 var_id_(arena, from.var_id_) {}
352 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
354#if defined(PROTOBUF_CUSTOM_VTABLE)
357 : ::google::protobuf::Message(arena) {
361 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
362 from._internal_metadata_);
363 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
364 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
365 offsetof(Impl_, min_),
366 reinterpret_cast<const char *
>(&from._impl_) +
367 offsetof(Impl_, min_),
368 offsetof(Impl_, active_) -
369 offsetof(Impl_, min_) +
370 sizeof(Impl_::active_));
374PROTOBUF_NDEBUG_INLINE IntVarAssignment::Impl_::Impl_(
375 ::google::protobuf::internal::InternalVisibility visibility,
376 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
380inline void IntVarAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
381 new (&
_impl_) Impl_(internal_visibility(), arena);
382 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
383 offsetof(Impl_, min_),
385 offsetof(Impl_, active_) -
386 offsetof(Impl_, min_) +
387 sizeof(Impl_::active_));
393inline void IntVarAssignment::SharedDtor(MessageLite& self) {
395 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
396 ABSL_DCHECK(this_.GetArena() ==
nullptr);
397 this_.
_impl_.var_id_.Destroy();
402 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
403 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
411 return ::google::protobuf::internal::ClassDataFull{
412 ::google::protobuf::internal::ClassData{
417 &IntVarAssignment::MergeImpl,
418 ::google::protobuf::Message::GetNewImpl<IntVarAssignment>(),
419#if defined(PROTOBUF_CUSTOM_VTABLE)
420 &IntVarAssignment::SharedDtor,
427 &IntVarAssignment::kDescriptorMethods,
433PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
437PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
443PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
444const ::_pbi::TcParseTable<2, 4, 0, 51, 2>
445IntVarAssignment::_table_ = {
450 offsetof(
decltype(_table_), field_lookup_table),
452 offsetof(
decltype(_table_), field_entries),
455 offsetof(
decltype(_table_), field_names),
458 ::_pbi::TcParser::GenericFallback,
459 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
460 ::_pbi::TcParser::GetTable<::operations_research::IntVarAssignment>(),
464 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(IntVarAssignment, _impl_.active_), 3>(),
465 {32, 3, 0, PROTOBUF_FIELD_OFFSET(IntVarAssignment, _impl_.active_)}},
467 {::_pbi::TcParser::FastUS1,
470 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
IntVarAssignment, _impl_.min_), 1>(),
473 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
IntVarAssignment, _impl_.max_), 2>(),
479 {PROTOBUF_FIELD_OFFSET(
IntVarAssignment, _impl_.var_id_), _Internal::kHasBitsOffset + 0, 0,
480 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
482 {PROTOBUF_FIELD_OFFSET(
IntVarAssignment, _impl_.min_), _Internal::kHasBitsOffset + 1, 0,
483 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
485 {PROTOBUF_FIELD_OFFSET(
IntVarAssignment, _impl_.max_), _Internal::kHasBitsOffset + 2, 0,
486 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
488 {PROTOBUF_FIELD_OFFSET(
IntVarAssignment, _impl_.active_), _Internal::kHasBitsOffset + 3, 0,
489 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
494 "operations_research.IntVarAssignment"
500 ::google::protobuf::internal::TSanWrite(&
_impl_);
501 ::uint32_t cached_has_bits = 0;
503 (void) cached_has_bits;
505 cached_has_bits =
_impl_._has_bits_[0];
506 if ((cached_has_bits & 0x00000001u) != 0) {
507 _impl_.var_id_.ClearNonDefaultToEmpty();
509 if ((cached_has_bits & 0x0000000eu) != 0) {
510 ::memset(&
_impl_.min_, 0,
static_cast<::
size_t>(
511 reinterpret_cast<char*
>(&
_impl_.active_) -
512 reinterpret_cast<char*
>(&
_impl_.min_)) +
sizeof(
_impl_.active_));
514 _impl_._has_bits_.Clear();
515 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
518#if defined(PROTOBUF_CUSTOM_VTABLE)
520 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
521 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
525 ::uint8_t* PROTOBUF_NONNULL target,
526 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
530 ::uint32_t cached_has_bits = 0;
531 (void)cached_has_bits;
534 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
535 if (!this_._internal_var_id().empty()) {
536 const ::std::string& _s = this_._internal_var_id();
537 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
538 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.IntVarAssignment.var_id");
539 target = stream->WriteStringMaybeAliased(1, _s, target);
544 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
545 if (this_._internal_min() != 0) {
547 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
548 stream, this_._internal_min(), target);
553 if ((this_.
_impl_._has_bits_[0] & 0x00000004u) != 0) {
554 if (this_._internal_max() != 0) {
556 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
557 stream, this_._internal_max(), target);
562 if ((this_.
_impl_._has_bits_[0] & 0x00000008u) != 0) {
563 if (this_._internal_active() != 0) {
564 target = stream->EnsureSpace(target);
565 target = ::_pbi::WireFormatLite::WriteBoolToArray(
566 4, this_._internal_active(), target);
570 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
572 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
573 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
579#if defined(PROTOBUF_CUSTOM_VTABLE)
587 ::size_t total_size = 0;
589 ::uint32_t cached_has_bits = 0;
591 (void)cached_has_bits;
593 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
594 cached_has_bits = this_.
_impl_._has_bits_[0];
595 if ((cached_has_bits & 0x0000000fu) != 0) {
597 if ((cached_has_bits & 0x00000001u) != 0) {
598 if (!this_._internal_var_id().empty()) {
599 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
600 this_._internal_var_id());
604 if ((cached_has_bits & 0x00000002u) != 0) {
605 if (this_._internal_min() != 0) {
606 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
607 this_._internal_min());
611 if ((cached_has_bits & 0x00000004u) != 0) {
612 if (this_._internal_max() != 0) {
613 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
614 this_._internal_max());
618 if ((cached_has_bits & 0x00000008u) != 0) {
619 if (this_._internal_active() != 0) {
624 return this_.MaybeComputeUnknownFieldsSize(total_size,
625 &this_.
_impl_._cached_size_);
628void IntVarAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
632 ABSL_DCHECK_NE(&from, _this);
633 ::uint32_t cached_has_bits = 0;
634 (void) cached_has_bits;
636 cached_has_bits = from._impl_._has_bits_[0];
637 if ((cached_has_bits & 0x0000000fu) != 0) {
638 if ((cached_has_bits & 0x00000001u) != 0) {
639 if (!from._internal_var_id().empty()) {
640 _this->_internal_set_var_id(from._internal_var_id());
642 if (_this->_impl_.var_id_.IsDefault()) {
643 _this->_internal_set_var_id(
"");
647 if ((cached_has_bits & 0x00000002u) != 0) {
648 if (from._internal_min() != 0) {
649 _this->_impl_.min_ = from._impl_.min_;
652 if ((cached_has_bits & 0x00000004u) != 0) {
653 if (from._internal_max() != 0) {
654 _this->_impl_.max_ = from._impl_.max_;
657 if ((cached_has_bits & 0x00000008u) != 0) {
658 if (from._internal_active() != 0) {
659 _this->_impl_.active_ = from._impl_.active_;
663 _this->_impl_._has_bits_[0] |= cached_has_bits;
664 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
669 if (&from ==
this)
return;
675void IntVarAssignment::InternalSwap(
IntVarAssignment* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
677 auto* arena = GetArena();
678 ABSL_DCHECK_EQ(arena, other->GetArena());
679 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
680 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
681 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.var_id_, &other->_impl_.var_id_, arena);
682 ::google::protobuf::internal::memswap<
686 reinterpret_cast<char*
>(&
_impl_.min_),
687 reinterpret_cast<char*
>(&other->_impl_.min_));
691 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
698 decltype(::std::declval<IntervalVarAssignment>()._impl_._has_bits_);
704#if defined(PROTOBUF_CUSTOM_VTABLE)
707 : ::google::protobuf::Message(arena) {
712PROTOBUF_NDEBUG_INLINE IntervalVarAssignment::Impl_::Impl_(
713 ::google::protobuf::internal::InternalVisibility visibility,
714 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
715 const ::operations_research::IntervalVarAssignment& from_msg)
716 : _has_bits_{from._has_bits_},
718 var_id_(arena, from.var_id_) {}
721 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
723#if defined(PROTOBUF_CUSTOM_VTABLE)
726 : ::google::protobuf::Message(arena) {
730 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
731 from._internal_metadata_);
732 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
733 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
734 offsetof(Impl_, start_min_),
735 reinterpret_cast<const char *
>(&from._impl_) +
736 offsetof(Impl_, start_min_),
737 offsetof(Impl_, active_) -
738 offsetof(Impl_, start_min_) +
739 sizeof(Impl_::active_));
743PROTOBUF_NDEBUG_INLINE IntervalVarAssignment::Impl_::Impl_(
744 ::google::protobuf::internal::InternalVisibility visibility,
745 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
749inline void IntervalVarAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
750 new (&
_impl_) Impl_(internal_visibility(), arena);
751 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
752 offsetof(Impl_, start_min_),
754 offsetof(Impl_, active_) -
755 offsetof(Impl_, start_min_) +
756 sizeof(Impl_::active_));
762inline void IntervalVarAssignment::SharedDtor(
MessageLite& self) {
764 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
765 ABSL_DCHECK(this_.GetArena() ==
nullptr);
766 this_.
_impl_.var_id_.Destroy();
771 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
772 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
780 return ::google::protobuf::internal::ClassDataFull{
781 ::google::protobuf::internal::ClassData{
786 &IntervalVarAssignment::MergeImpl,
787 ::google::protobuf::Message::GetNewImpl<IntervalVarAssignment>(),
788#if defined(PROTOBUF_CUSTOM_VTABLE)
789 &IntervalVarAssignment::SharedDtor,
796 &IntervalVarAssignment::kDescriptorMethods,
802PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
806PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
812PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
813const ::_pbi::TcParseTable<4, 10, 0, 64, 2>
814IntervalVarAssignment::_table_ = {
819 offsetof(
decltype(_table_), field_lookup_table),
821 offsetof(
decltype(_table_), field_entries),
824 offsetof(
decltype(_table_), field_names),
827 ::_pbi::TcParser::GenericFallback,
828 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
829 ::_pbi::TcParser::GetTable<::operations_research::IntervalVarAssignment>(),
832 {::_pbi::TcParser::MiniParse, {}},
834 {::_pbi::TcParser::FastUS1,
835 {10, 0, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.var_id_)}},
837 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(IntervalVarAssignment,
_impl_.start_min_), 1>(),
838 {16, 1, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.start_min_)}},
840 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(IntervalVarAssignment,
_impl_.start_max_), 2>(),
841 {24, 2, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.start_max_)}},
843 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(IntervalVarAssignment,
_impl_.duration_min_), 3>(),
844 {32, 3, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.duration_min_)}},
846 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(IntervalVarAssignment,
_impl_.duration_max_), 4>(),
847 {40, 4, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.duration_max_)}},
849 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(IntervalVarAssignment,
_impl_.end_min_), 5>(),
850 {48, 5, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.end_min_)}},
852 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(IntervalVarAssignment,
_impl_.end_max_), 6>(),
853 {56, 6, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.end_max_)}},
855 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(IntervalVarAssignment,
_impl_.performed_min_), 7>(),
856 {64, 7, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.performed_min_)}},
858 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(IntervalVarAssignment,
_impl_.performed_max_), 8>(),
859 {72, 8, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.performed_max_)}},
861 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(IntervalVarAssignment,
_impl_.active_), 9>(),
862 {80, 9, 0, PROTOBUF_FIELD_OFFSET(IntervalVarAssignment,
_impl_.active_)}},
863 {::_pbi::TcParser::MiniParse, {}},
864 {::_pbi::TcParser::MiniParse, {}},
865 {::_pbi::TcParser::MiniParse, {}},
866 {::_pbi::TcParser::MiniParse, {}},
867 {::_pbi::TcParser::MiniParse, {}},
873 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
876 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
879 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
882 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
885 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
888 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
891 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
894 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
897 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
900 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
904 "\51\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
905 "operations_research.IntervalVarAssignment"
911 ::google::protobuf::internal::TSanWrite(&
_impl_);
912 ::uint32_t cached_has_bits = 0;
914 (void) cached_has_bits;
916 cached_has_bits =
_impl_._has_bits_[0];
917 if ((cached_has_bits & 0x00000001u) != 0) {
918 _impl_.var_id_.ClearNonDefaultToEmpty();
920 if ((cached_has_bits & 0x000000feu) != 0) {
921 ::memset(&
_impl_.start_min_, 0,
static_cast<::
size_t>(
922 reinterpret_cast<char*
>(&
_impl_.performed_min_) -
923 reinterpret_cast<char*
>(&
_impl_.start_min_)) +
sizeof(
_impl_.performed_min_));
925 if ((cached_has_bits & 0x00000300u) != 0) {
926 ::memset(&
_impl_.performed_max_, 0,
static_cast<::
size_t>(
927 reinterpret_cast<char*
>(&
_impl_.active_) -
928 reinterpret_cast<char*
>(&
_impl_.performed_max_)) +
sizeof(
_impl_.active_));
930 _impl_._has_bits_.Clear();
931 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
934#if defined(PROTOBUF_CUSTOM_VTABLE)
936 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
937 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
938 const IntervalVarAssignment& this_ =
static_cast<const IntervalVarAssignment&
>(base);
941 ::uint8_t* PROTOBUF_NONNULL target,
942 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
946 ::uint32_t cached_has_bits = 0;
947 (void)cached_has_bits;
950 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
951 if (!this_._internal_var_id().empty()) {
952 const ::std::string& _s = this_._internal_var_id();
953 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
954 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.IntervalVarAssignment.var_id");
955 target = stream->WriteStringMaybeAliased(1, _s, target);
960 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
961 if (this_._internal_start_min() != 0) {
963 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
964 stream, this_._internal_start_min(), target);
969 if ((this_.
_impl_._has_bits_[0] & 0x00000004u) != 0) {
970 if (this_._internal_start_max() != 0) {
972 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
973 stream, this_._internal_start_max(), target);
978 if ((this_.
_impl_._has_bits_[0] & 0x00000008u) != 0) {
979 if (this_._internal_duration_min() != 0) {
981 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
982 stream, this_._internal_duration_min(), target);
987 if ((this_.
_impl_._has_bits_[0] & 0x00000010u) != 0) {
988 if (this_._internal_duration_max() != 0) {
990 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
991 stream, this_._internal_duration_max(), target);
996 if ((this_.
_impl_._has_bits_[0] & 0x00000020u) != 0) {
997 if (this_._internal_end_min() != 0) {
999 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
1000 stream, this_._internal_end_min(), target);
1005 if ((this_.
_impl_._has_bits_[0] & 0x00000040u) != 0) {
1006 if (this_._internal_end_max() != 0) {
1008 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>(
1009 stream, this_._internal_end_max(), target);
1014 if ((this_.
_impl_._has_bits_[0] & 0x00000080u) != 0) {
1015 if (this_._internal_performed_min() != 0) {
1017 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
1018 stream, this_._internal_performed_min(), target);
1023 if ((this_.
_impl_._has_bits_[0] & 0x00000100u) != 0) {
1024 if (this_._internal_performed_max() != 0) {
1026 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<9>(
1027 stream, this_._internal_performed_max(), target);
1032 if ((this_.
_impl_._has_bits_[0] & 0x00000200u) != 0) {
1033 if (this_._internal_active() != 0) {
1034 target = stream->EnsureSpace(target);
1035 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1036 10, this_._internal_active(), target);
1040 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1042 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1043 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1049#if defined(PROTOBUF_CUSTOM_VTABLE)
1057 ::size_t total_size = 0;
1059 ::uint32_t cached_has_bits = 0;
1061 (void)cached_has_bits;
1063 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1064 cached_has_bits = this_.
_impl_._has_bits_[0];
1065 if ((cached_has_bits & 0x000000ffu) != 0) {
1067 if ((cached_has_bits & 0x00000001u) != 0) {
1068 if (!this_._internal_var_id().empty()) {
1069 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1070 this_._internal_var_id());
1074 if ((cached_has_bits & 0x00000002u) != 0) {
1075 if (this_._internal_start_min() != 0) {
1076 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1077 this_._internal_start_min());
1081 if ((cached_has_bits & 0x00000004u) != 0) {
1082 if (this_._internal_start_max() != 0) {
1083 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1084 this_._internal_start_max());
1088 if ((cached_has_bits & 0x00000008u) != 0) {
1089 if (this_._internal_duration_min() != 0) {
1090 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1091 this_._internal_duration_min());
1095 if ((cached_has_bits & 0x00000010u) != 0) {
1096 if (this_._internal_duration_max() != 0) {
1097 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1098 this_._internal_duration_max());
1102 if ((cached_has_bits & 0x00000020u) != 0) {
1103 if (this_._internal_end_min() != 0) {
1104 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1105 this_._internal_end_min());
1109 if ((cached_has_bits & 0x00000040u) != 0) {
1110 if (this_._internal_end_max() != 0) {
1111 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1112 this_._internal_end_max());
1116 if ((cached_has_bits & 0x00000080u) != 0) {
1117 if (this_._internal_performed_min() != 0) {
1118 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1119 this_._internal_performed_min());
1123 if ((cached_has_bits & 0x00000300u) != 0) {
1125 if ((cached_has_bits & 0x00000100u) != 0) {
1126 if (this_._internal_performed_max() != 0) {
1127 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1128 this_._internal_performed_max());
1132 if ((cached_has_bits & 0x00000200u) != 0) {
1133 if (this_._internal_active() != 0) {
1138 return this_.MaybeComputeUnknownFieldsSize(total_size,
1139 &this_.
_impl_._cached_size_);
1142void IntervalVarAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1143 auto*
const _this =
static_cast<IntervalVarAssignment*
>(&to_msg);
1144 auto& from =
static_cast<const IntervalVarAssignment&
>(from_msg);
1146 ABSL_DCHECK_NE(&from, _this);
1147 ::uint32_t cached_has_bits = 0;
1148 (void) cached_has_bits;
1150 cached_has_bits = from._impl_._has_bits_[0];
1151 if ((cached_has_bits & 0x000000ffu) != 0) {
1152 if ((cached_has_bits & 0x00000001u) != 0) {
1153 if (!from._internal_var_id().empty()) {
1154 _this->_internal_set_var_id(from._internal_var_id());
1156 if (_this->_impl_.var_id_.IsDefault()) {
1157 _this->_internal_set_var_id(
"");
1161 if ((cached_has_bits & 0x00000002u) != 0) {
1162 if (from._internal_start_min() != 0) {
1163 _this->_impl_.start_min_ = from._impl_.start_min_;
1166 if ((cached_has_bits & 0x00000004u) != 0) {
1167 if (from._internal_start_max() != 0) {
1168 _this->_impl_.start_max_ = from._impl_.start_max_;
1171 if ((cached_has_bits & 0x00000008u) != 0) {
1172 if (from._internal_duration_min() != 0) {
1173 _this->_impl_.duration_min_ = from._impl_.duration_min_;
1176 if ((cached_has_bits & 0x00000010u) != 0) {
1177 if (from._internal_duration_max() != 0) {
1178 _this->_impl_.duration_max_ = from._impl_.duration_max_;
1181 if ((cached_has_bits & 0x00000020u) != 0) {
1182 if (from._internal_end_min() != 0) {
1183 _this->_impl_.end_min_ = from._impl_.end_min_;
1186 if ((cached_has_bits & 0x00000040u) != 0) {
1187 if (from._internal_end_max() != 0) {
1188 _this->_impl_.end_max_ = from._impl_.end_max_;
1191 if ((cached_has_bits & 0x00000080u) != 0) {
1192 if (from._internal_performed_min() != 0) {
1193 _this->_impl_.performed_min_ = from._impl_.performed_min_;
1197 if ((cached_has_bits & 0x00000300u) != 0) {
1198 if ((cached_has_bits & 0x00000100u) != 0) {
1199 if (from._internal_performed_max() != 0) {
1200 _this->_impl_.performed_max_ = from._impl_.performed_max_;
1203 if ((cached_has_bits & 0x00000200u) != 0) {
1204 if (from._internal_active() != 0) {
1205 _this->_impl_.active_ = from._impl_.active_;
1209 _this->_impl_._has_bits_[0] |= cached_has_bits;
1210 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1215 if (&from ==
this)
return;
1221void IntervalVarAssignment::InternalSwap(
IntervalVarAssignment* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1223 auto* arena = GetArena();
1224 ABSL_DCHECK_EQ(arena, other->GetArena());
1225 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1226 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1227 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.var_id_, &other->_impl_.var_id_, arena);
1228 ::google::protobuf::internal::memswap<
1232 reinterpret_cast<char*
>(&
_impl_.start_min_),
1233 reinterpret_cast<char*
>(&other->_impl_.start_min_));
1237 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1244 decltype(::std::declval<SequenceVarAssignment>()._impl_._has_bits_);
1250#if defined(PROTOBUF_CUSTOM_VTABLE)
1253 : ::google::protobuf::Message(arena) {
1258PROTOBUF_NDEBUG_INLINE SequenceVarAssignment::Impl_::Impl_(
1259 ::google::protobuf::internal::InternalVisibility visibility,
1260 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1261 const ::operations_research::SequenceVarAssignment& from_msg)
1262 : _has_bits_{from._has_bits_},
1264 forward_sequence_{visibility, arena, from.forward_sequence_},
1265 _forward_sequence_cached_byte_size_{0},
1266 backward_sequence_{visibility, arena, from.backward_sequence_},
1267 _backward_sequence_cached_byte_size_{0},
1268 unperformed_{visibility, arena, from.unperformed_},
1269 _unperformed_cached_byte_size_{0},
1270 var_id_(arena, from.var_id_) {}
1273 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1274 const SequenceVarAssignment& from)
1275#if defined(PROTOBUF_CUSTOM_VTABLE)
1278 : ::google::protobuf::Message(arena) {
1282 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1283 from._internal_metadata_);
1284 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1285 _impl_.active_ = from._impl_.active_;
1289PROTOBUF_NDEBUG_INLINE SequenceVarAssignment::Impl_::Impl_(
1290 ::google::protobuf::internal::InternalVisibility visibility,
1291 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1293 forward_sequence_{visibility, arena},
1294 _forward_sequence_cached_byte_size_{0},
1295 backward_sequence_{visibility, arena},
1296 _backward_sequence_cached_byte_size_{0},
1297 unperformed_{visibility, arena},
1298 _unperformed_cached_byte_size_{0},
1301inline void SequenceVarAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1302 new (&
_impl_) Impl_(internal_visibility(), arena);
1309inline void SequenceVarAssignment::SharedDtor(MessageLite& self) {
1311 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1312 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1313 this_.
_impl_.var_id_.Destroy();
1318 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1319 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1323 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1326 InternalGetArenaOffset(
1330 InternalGetArenaOffset(
1334 InternalGetArenaOffset(
1337 if (arena_bits.has_value()) {
1338 return ::google::protobuf::internal::MessageCreator::CopyInit(
1339 sizeof(SequenceVarAssignment), alignof(SequenceVarAssignment), *arena_bits);
1341 return ::google::protobuf::internal::MessageCreator(&SequenceVarAssignment::PlacementNew_,
1342 sizeof(SequenceVarAssignment),
1343 alignof(SequenceVarAssignment));
1347 return ::google::protobuf::internal::ClassDataFull{
1348 ::google::protobuf::internal::ClassData{
1353 &SequenceVarAssignment::MergeImpl,
1354 ::google::protobuf::Message::GetNewImpl<SequenceVarAssignment>(),
1355#if defined(PROTOBUF_CUSTOM_VTABLE)
1356 &SequenceVarAssignment::SharedDtor,
1363 &SequenceVarAssignment::kDescriptorMethods,
1369PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1373PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1379PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1380const ::_pbi::TcParseTable<3, 5, 0, 56, 2>
1381SequenceVarAssignment::_table_ = {
1386 offsetof(
decltype(_table_), field_lookup_table),
1388 offsetof(
decltype(_table_), field_entries),
1391 offsetof(
decltype(_table_), field_names),
1394 ::_pbi::TcParser::GenericFallback,
1395 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1396 ::_pbi::TcParser::GetTable<::operations_research::SequenceVarAssignment>(),
1399 {::_pbi::TcParser::MiniParse, {}},
1401 {::_pbi::TcParser::FastUS1,
1404 {::_pbi::TcParser::FastV32P1,
1407 {::_pbi::TcParser::FastV32P1,
1410 {::_pbi::TcParser::FastV32P1,
1415 {::_pbi::TcParser::MiniParse, {}},
1416 {::_pbi::TcParser::MiniParse, {}},
1422 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1425 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1428 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1431 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1434 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
1439 "operations_research.SequenceVarAssignment"
1445 ::google::protobuf::internal::TSanWrite(&
_impl_);
1446 ::uint32_t cached_has_bits = 0;
1448 (void) cached_has_bits;
1450 _impl_.forward_sequence_.Clear();
1451 _impl_.backward_sequence_.Clear();
1452 _impl_.unperformed_.Clear();
1453 cached_has_bits =
_impl_._has_bits_[0];
1454 if ((cached_has_bits & 0x00000001u) != 0) {
1455 _impl_.var_id_.ClearNonDefaultToEmpty();
1458 _impl_._has_bits_.Clear();
1459 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1462#if defined(PROTOBUF_CUSTOM_VTABLE)
1464 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1465 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1469 ::uint8_t* PROTOBUF_NONNULL target,
1470 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1474 ::uint32_t cached_has_bits = 0;
1475 (void)cached_has_bits;
1478 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
1479 if (!this_._internal_var_id().empty()) {
1480 const ::std::string& _s = this_._internal_var_id();
1481 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1482 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.SequenceVarAssignment.var_id");
1483 target = stream->WriteStringMaybeAliased(1, _s, target);
1489 int byte_size = this_.
_impl_._forward_sequence_cached_byte_size_.Get();
1490 if (byte_size > 0) {
1491 target = stream->WriteInt32Packed(
1492 2, this_._internal_forward_sequence(), byte_size, target);
1498 int byte_size = this_.
_impl_._backward_sequence_cached_byte_size_.Get();
1499 if (byte_size > 0) {
1500 target = stream->WriteInt32Packed(
1501 3, this_._internal_backward_sequence(), byte_size, target);
1507 int byte_size = this_.
_impl_._unperformed_cached_byte_size_.Get();
1508 if (byte_size > 0) {
1509 target = stream->WriteInt32Packed(
1510 4, this_._internal_unperformed(), byte_size, target);
1515 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
1516 if (this_._internal_active() != 0) {
1517 target = stream->EnsureSpace(target);
1518 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1519 5, this_._internal_active(), target);
1523 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1525 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1526 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1532#if defined(PROTOBUF_CUSTOM_VTABLE)
1540 ::size_t total_size = 0;
1542 ::uint32_t cached_has_bits = 0;
1544 (void)cached_has_bits;
1546 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1551 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1552 this_._internal_forward_sequence(), 1,
1553 this_._impl_._forward_sequence_cached_byte_size_);
1558 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1559 this_._internal_backward_sequence(), 1,
1560 this_._impl_._backward_sequence_cached_byte_size_);
1565 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1566 this_._internal_unperformed(), 1,
1567 this_._impl_._unperformed_cached_byte_size_);
1570 cached_has_bits = this_._impl_._has_bits_[0];
1571 if ((cached_has_bits & 0x00000003u) != 0) {
1573 if ((cached_has_bits & 0x00000001u) != 0) {
1574 if (!this_._internal_var_id().empty()) {
1575 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1576 this_._internal_var_id());
1580 if ((cached_has_bits & 0x00000002u) != 0) {
1581 if (this_._internal_active() != 0) {
1586 return this_.MaybeComputeUnknownFieldsSize(total_size,
1587 &this_._impl_._cached_size_);
1590void SequenceVarAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1594 ABSL_DCHECK_NE(&from, _this);
1595 ::uint32_t cached_has_bits = 0;
1596 (void) cached_has_bits;
1598 _this->_internal_mutable_forward_sequence()->MergeFrom(from._internal_forward_sequence());
1599 _this->_internal_mutable_backward_sequence()->MergeFrom(from._internal_backward_sequence());
1600 _this->_internal_mutable_unperformed()->MergeFrom(from._internal_unperformed());
1601 cached_has_bits = from._impl_._has_bits_[0];
1602 if ((cached_has_bits & 0x00000003u) != 0) {
1603 if ((cached_has_bits & 0x00000001u) != 0) {
1604 if (!from._internal_var_id().empty()) {
1605 _this->_internal_set_var_id(from._internal_var_id());
1607 if (_this->_impl_.var_id_.IsDefault()) {
1608 _this->_internal_set_var_id(
"");
1612 if ((cached_has_bits & 0x00000002u) != 0) {
1613 if (from._internal_active() != 0) {
1614 _this->_impl_.active_ = from._impl_.active_;
1618 _this->_impl_._has_bits_[0] |= cached_has_bits;
1619 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1624 if (&from ==
this)
return;
1630void SequenceVarAssignment::InternalSwap(
SequenceVarAssignment* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1632 auto* arena = GetArena();
1633 ABSL_DCHECK_EQ(arena, other->GetArena());
1634 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1635 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1636 _impl_.forward_sequence_.InternalSwap(&other->_impl_.forward_sequence_);
1637 _impl_.backward_sequence_.InternalSwap(&other->_impl_.backward_sequence_);
1638 _impl_.unperformed_.InternalSwap(&other->_impl_.unperformed_);
1639 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.var_id_, &other->_impl_.var_id_, arena);
1644 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1651 decltype(::std::declval<WorkerInfo>()._impl_._has_bits_);
1657#if defined(PROTOBUF_CUSTOM_VTABLE)
1660 : ::google::protobuf::Message(arena) {
1665PROTOBUF_NDEBUG_INLINE WorkerInfo::Impl_::Impl_(
1666 ::google::protobuf::internal::InternalVisibility visibility,
1667 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1668 const ::operations_research::WorkerInfo& from_msg)
1669 : _has_bits_{from._has_bits_},
1671 bns_(arena, from.bns_) {}
1674 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1675 const WorkerInfo& from)
1676#if defined(PROTOBUF_CUSTOM_VTABLE)
1679 : ::google::protobuf::Message(arena) {
1683 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1684 from._internal_metadata_);
1685 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1686 _impl_.worker_id_ = from._impl_.worker_id_;
1690PROTOBUF_NDEBUG_INLINE WorkerInfo::Impl_::Impl_(
1691 ::google::protobuf::internal::InternalVisibility visibility,
1692 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1696inline void WorkerInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1697 new (&
_impl_) Impl_(internal_visibility(), arena);
1706 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1707 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1708 this_.
_impl_.bns_.Destroy();
1713 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1714 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1718 return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(
WorkerInfo),
1722 return ::google::protobuf::internal::ClassDataFull{
1723 ::google::protobuf::internal::ClassData{
1728 &WorkerInfo::MergeImpl,
1729 ::google::protobuf::Message::GetNewImpl<WorkerInfo>(),
1730#if defined(PROTOBUF_CUSTOM_VTABLE)
1731 &WorkerInfo::SharedDtor,
1738 &WorkerInfo::kDescriptorMethods,
1744PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1748PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1754PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1755const ::_pbi::TcParseTable<1, 2, 0, 42, 2>
1756WorkerInfo::_table_ = {
1758 PROTOBUF_FIELD_OFFSET(
WorkerInfo, _impl_._has_bits_),
1761 offsetof(
decltype(_table_), field_lookup_table),
1763 offsetof(
decltype(_table_), field_entries),
1766 offsetof(
decltype(_table_), field_names),
1769 ::_pbi::TcParser::GenericFallback,
1770 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1771 ::_pbi::TcParser::GetTable<::operations_research::WorkerInfo>(),
1775 {::_pbi::TcParser::FastUS1,
1776 {18, 0, 0, PROTOBUF_FIELD_OFFSET(WorkerInfo, _impl_.bns_)}},
1778 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
WorkerInfo, _impl_.worker_id_), 1>(),
1779 {8, 1, 0, PROTOBUF_FIELD_OFFSET(
WorkerInfo, _impl_.worker_id_)}},
1784 {PROTOBUF_FIELD_OFFSET(
WorkerInfo, _impl_.worker_id_), _Internal::kHasBitsOffset + 1, 0,
1785 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1787 {PROTOBUF_FIELD_OFFSET(
WorkerInfo, _impl_.bns_), _Internal::kHasBitsOffset + 0, 0,
1788 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1793 "operations_research.WorkerInfo"
1799 ::google::protobuf::internal::TSanWrite(&
_impl_);
1800 ::uint32_t cached_has_bits = 0;
1802 (void) cached_has_bits;
1804 cached_has_bits =
_impl_._has_bits_[0];
1805 if ((cached_has_bits & 0x00000001u) != 0) {
1806 _impl_.bns_.ClearNonDefaultToEmpty();
1809 _impl_._has_bits_.Clear();
1810 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1813#if defined(PROTOBUF_CUSTOM_VTABLE)
1815 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1816 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1820 ::uint8_t* PROTOBUF_NONNULL target,
1821 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1825 ::uint32_t cached_has_bits = 0;
1826 (void)cached_has_bits;
1829 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
1830 if (this_._internal_worker_id() != 0) {
1832 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
1833 stream, this_._internal_worker_id(), target);
1838 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
1839 if (!this_._internal_bns().empty()) {
1840 const ::std::string& _s = this_._internal_bns();
1841 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1842 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.WorkerInfo.bns");
1843 target = stream->WriteStringMaybeAliased(2, _s, target);
1847 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1849 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1850 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1856#if defined(PROTOBUF_CUSTOM_VTABLE)
1864 ::size_t total_size = 0;
1866 ::uint32_t cached_has_bits = 0;
1868 (void)cached_has_bits;
1870 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1871 cached_has_bits = this_._impl_._has_bits_[0];
1872 if ((cached_has_bits & 0x00000003u) != 0) {
1874 if ((cached_has_bits & 0x00000001u) != 0) {
1875 if (!this_._internal_bns().empty()) {
1876 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1877 this_._internal_bns());
1881 if ((cached_has_bits & 0x00000002u) != 0) {
1882 if (this_._internal_worker_id() != 0) {
1883 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1884 this_._internal_worker_id());
1888 return this_.MaybeComputeUnknownFieldsSize(total_size,
1889 &this_._impl_._cached_size_);
1892void WorkerInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1893 auto*
const _this =
static_cast<WorkerInfo*
>(&to_msg);
1894 auto& from =
static_cast<const WorkerInfo&
>(from_msg);
1896 ABSL_DCHECK_NE(&from, _this);
1897 ::uint32_t cached_has_bits = 0;
1898 (void) cached_has_bits;
1900 cached_has_bits = from._impl_._has_bits_[0];
1901 if ((cached_has_bits & 0x00000003u) != 0) {
1902 if ((cached_has_bits & 0x00000001u) != 0) {
1903 if (!from._internal_bns().empty()) {
1904 _this->_internal_set_bns(from._internal_bns());
1906 if (_this->_impl_.bns_.IsDefault()) {
1907 _this->_internal_set_bns(
"");
1911 if ((cached_has_bits & 0x00000002u) != 0) {
1912 if (from._internal_worker_id() != 0) {
1913 _this->_impl_.worker_id_ = from._impl_.worker_id_;
1917 _this->_impl_._has_bits_[0] |= cached_has_bits;
1918 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1923 if (&from ==
this)
return;
1929void WorkerInfo::InternalSwap(
WorkerInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1931 auto* arena = GetArena();
1932 ABSL_DCHECK_EQ(arena, other->GetArena());
1933 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1934 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1935 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.bns_, &other->_impl_.bns_, arena);
1936 swap(
_impl_.worker_id_, other->_impl_.worker_id_);
1940 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1947 decltype(::std::declval<AssignmentProto>()._impl_._has_bits_);
1948 static constexpr ::int32_t kHasBitsOffset =
1953#if defined(PROTOBUF_CUSTOM_VTABLE)
1956 : ::google::protobuf::Message(arena) {
1961PROTOBUF_NDEBUG_INLINE AssignmentProto::Impl_::Impl_(
1962 ::google::protobuf::internal::InternalVisibility visibility,
1963 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1964 const ::operations_research::AssignmentProto& from_msg)
1965 : _has_bits_{from._has_bits_},
1967 int_var_assignment_{visibility, arena, from.int_var_assignment_},
1968 interval_var_assignment_{visibility, arena, from.interval_var_assignment_},
1969 objective_{visibility, arena, from.objective_},
1970 sequence_var_assignment_{visibility, arena, from.sequence_var_assignment_} {}
1973 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1974 const AssignmentProto& from)
1975#if defined(PROTOBUF_CUSTOM_VTABLE)
1978 : ::google::protobuf::Message(arena) {
1982 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1983 from._internal_metadata_);
1984 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1985 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
1986 _impl_.worker_info_ = ((cached_has_bits & 0x00000001u) != 0)
1987 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.worker_info_)
1989 _impl_.is_valid_ = from._impl_.is_valid_;
1993PROTOBUF_NDEBUG_INLINE AssignmentProto::Impl_::Impl_(
1994 ::google::protobuf::internal::InternalVisibility visibility,
1995 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1997 int_var_assignment_{visibility, arena},
1998 interval_var_assignment_{visibility, arena},
1999 objective_{visibility, arena},
2000 sequence_var_assignment_{visibility, arena} {}
2002inline void AssignmentProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2003 new (&
_impl_) Impl_(internal_visibility(), arena);
2004 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
2005 offsetof(Impl_, worker_info_),
2007 offsetof(Impl_, is_valid_) -
2008 offsetof(Impl_, worker_info_) +
2009 sizeof(Impl_::is_valid_));
2015inline void AssignmentProto::SharedDtor(MessageLite& self) {
2017 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2018 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2019 delete this_.
_impl_.worker_info_;
2024 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2025 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2029 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2032 InternalGetArenaOffset(
2033 ::google::protobuf::Message::internal_visibility()),
2036 InternalGetArenaOffset(
2040 InternalGetArenaOffset(
2044 InternalGetArenaOffset(
2047 if (arena_bits.has_value()) {
2048 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2049 sizeof(AssignmentProto), alignof(AssignmentProto), *arena_bits);
2051 return ::google::protobuf::internal::MessageCreator(&AssignmentProto::PlacementNew_,
2052 sizeof(AssignmentProto),
2053 alignof(AssignmentProto));
2057 return ::google::protobuf::internal::ClassDataFull{
2058 ::google::protobuf::internal::ClassData{
2063 &AssignmentProto::MergeImpl,
2064 ::google::protobuf::Message::GetNewImpl<AssignmentProto>(),
2065#if defined(PROTOBUF_CUSTOM_VTABLE)
2066 &AssignmentProto::SharedDtor,
2073 &AssignmentProto::kDescriptorMethods,
2079PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2083PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2089PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2090const ::_pbi::TcParseTable<3, 6, 5, 0, 2>
2091AssignmentProto::_table_ = {
2096 offsetof(
decltype(_table_), field_lookup_table),
2098 offsetof(
decltype(_table_), field_entries),
2101 offsetof(
decltype(_table_), aux_entries),
2104 ::_pbi::TcParser::GenericFallback,
2105 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2106 ::_pbi::TcParser::GetTable<::operations_research::AssignmentProto>(),
2109 {::_pbi::TcParser::MiniParse, {}},
2111 {::_pbi::TcParser::FastMtR1,
2114 {::_pbi::TcParser::FastMtR1,
2117 {::_pbi::TcParser::FastMtR1,
2120 {::_pbi::TcParser::FastMtS1,
2126 {::_pbi::TcParser::FastMtR1,
2128 {::_pbi::TcParser::MiniParse, {}},
2134 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2137 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2140 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2143 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2146 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2149 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2152 {::_pbi::TcParser::GetTable<::operations_research::IntVarAssignment>()},
2153 {::_pbi::TcParser::GetTable<::operations_research::IntervalVarAssignment>()},
2154 {::_pbi::TcParser::GetTable<::operations_research::IntVarAssignment>()},
2155 {::_pbi::TcParser::GetTable<::operations_research::WorkerInfo>()},
2156 {::_pbi::TcParser::GetTable<::operations_research::SequenceVarAssignment>()},
2163 ::google::protobuf::internal::TSanWrite(&
_impl_);
2164 ::uint32_t cached_has_bits = 0;
2166 (void) cached_has_bits;
2168 _impl_.int_var_assignment_.Clear();
2169 _impl_.interval_var_assignment_.Clear();
2170 _impl_.objective_.Clear();
2171 _impl_.sequence_var_assignment_.Clear();
2172 cached_has_bits =
_impl_._has_bits_[0];
2173 if ((cached_has_bits & 0x00000001u) != 0) {
2174 ABSL_DCHECK(
_impl_.worker_info_ !=
nullptr);
2175 _impl_.worker_info_->Clear();
2177 _impl_.is_valid_ =
false;
2178 _impl_._has_bits_.Clear();
2179 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2182#if defined(PROTOBUF_CUSTOM_VTABLE)
2184 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2185 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2189 ::uint8_t* PROTOBUF_NONNULL target,
2190 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2194 ::uint32_t cached_has_bits = 0;
2195 (void)cached_has_bits;
2198 for (
unsigned i = 0, n =
static_cast<unsigned>(
2199 this_._internal_int_var_assignment_size());
2201 const auto& repfield = this_._internal_int_var_assignment().Get(i);
2203 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2204 1, repfield, repfield.GetCachedSize(),
2209 for (
unsigned i = 0, n =
static_cast<unsigned>(
2210 this_._internal_interval_var_assignment_size());
2212 const auto& repfield = this_._internal_interval_var_assignment().Get(i);
2214 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2215 2, repfield, repfield.GetCachedSize(),
2220 for (
unsigned i = 0, n =
static_cast<unsigned>(
2221 this_._internal_objective_size());
2223 const auto& repfield = this_._internal_objective().Get(i);
2225 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2226 3, repfield, repfield.GetCachedSize(),
2230 cached_has_bits = this_.
_impl_._has_bits_[0];
2232 if ((cached_has_bits & 0x00000001u) != 0) {
2233 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2234 4, *this_._impl_.worker_info_, this_._impl_.worker_info_->GetCachedSize(), target,
2239 if ((cached_has_bits & 0x00000002u) != 0) {
2240 if (this_._internal_is_valid() != 0) {
2241 target = stream->EnsureSpace(target);
2242 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2243 5, this_._internal_is_valid(), target);
2248 for (
unsigned i = 0, n =
static_cast<unsigned>(
2249 this_._internal_sequence_var_assignment_size());
2251 const auto& repfield = this_._internal_sequence_var_assignment().Get(i);
2253 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2254 6, repfield, repfield.GetCachedSize(),
2258 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2260 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2261 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2267#if defined(PROTOBUF_CUSTOM_VTABLE)
2275 ::size_t total_size = 0;
2277 ::uint32_t cached_has_bits = 0;
2279 (void)cached_has_bits;
2281 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2285 total_size += 1UL * this_._internal_int_var_assignment_size();
2286 for (
const auto& msg : this_._internal_int_var_assignment()) {
2287 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2292 total_size += 1UL * this_._internal_interval_var_assignment_size();
2293 for (
const auto& msg : this_._internal_interval_var_assignment()) {
2294 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2299 total_size += 1UL * this_._internal_objective_size();
2300 for (
const auto& msg : this_._internal_objective()) {
2301 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2306 total_size += 1UL * this_._internal_sequence_var_assignment_size();
2307 for (
const auto& msg : this_._internal_sequence_var_assignment()) {
2308 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2312 cached_has_bits = this_._impl_._has_bits_[0];
2313 if ((cached_has_bits & 0x00000003u) != 0) {
2315 if ((cached_has_bits & 0x00000001u) != 0) {
2317 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.worker_info_);
2320 if ((cached_has_bits & 0x00000002u) != 0) {
2321 if (this_._internal_is_valid() != 0) {
2326 return this_.MaybeComputeUnknownFieldsSize(total_size,
2327 &this_._impl_._cached_size_);
2330void AssignmentProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2335 ABSL_DCHECK_NE(&from, _this);
2336 ::uint32_t cached_has_bits = 0;
2337 (void) cached_has_bits;
2339 _this->_internal_mutable_int_var_assignment()->MergeFrom(
2340 from._internal_int_var_assignment());
2341 _this->_internal_mutable_interval_var_assignment()->MergeFrom(
2342 from._internal_interval_var_assignment());
2343 _this->_internal_mutable_objective()->MergeFrom(
2344 from._internal_objective());
2345 _this->_internal_mutable_sequence_var_assignment()->MergeFrom(
2346 from._internal_sequence_var_assignment());
2347 cached_has_bits = from._impl_._has_bits_[0];
2348 if ((cached_has_bits & 0x00000003u) != 0) {
2349 if ((cached_has_bits & 0x00000001u) != 0) {
2350 ABSL_DCHECK(from._impl_.worker_info_ !=
nullptr);
2351 if (_this->_impl_.worker_info_ ==
nullptr) {
2352 _this->_impl_.worker_info_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.worker_info_);
2354 _this->_impl_.worker_info_->MergeFrom(*from._impl_.worker_info_);
2357 if ((cached_has_bits & 0x00000002u) != 0) {
2358 if (from._internal_is_valid() != 0) {
2359 _this->_impl_.is_valid_ = from._impl_.is_valid_;
2363 _this->_impl_._has_bits_[0] |= cached_has_bits;
2364 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2369 if (&from ==
this)
return;
2375void AssignmentProto::InternalSwap(
AssignmentProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2377 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2378 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2379 _impl_.int_var_assignment_.InternalSwap(&other->_impl_.int_var_assignment_);
2380 _impl_.interval_var_assignment_.InternalSwap(&other->_impl_.interval_var_assignment_);
2381 _impl_.objective_.InternalSwap(&other->_impl_.objective_);
2382 _impl_.sequence_var_assignment_.InternalSwap(&other->_impl_.sequence_var_assignment_);
2383 ::google::protobuf::internal::memswap<
2387 reinterpret_cast<char*
>(&
_impl_.worker_info_),
2388 reinterpret_cast<char*
>(&other->_impl_.worker_info_));
2392 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2401PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
2404 ::std::false_type{});
2405#include "google/protobuf/port_undef.inc"
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2fassignment_2eproto
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fconstraint_5fsolver_2fassignment_2eproto
::absl::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2fassignment_2eproto_once
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fassignment_2eproto
const ::uint32_t TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
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[]
static constexpr ::int32_t kHasBitsOffset
::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::MessageLite
static constexpr auto InternalGenerateClassData_()
friend void swap(AssignmentProto &a, AssignmentProto &b)
::google::protobuf::Metadata GetMetadata() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const AssignmentProto &from)
void MergeFrom(const AssignmentProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
friend class ::google::protobuf::Arena
~AssignmentProto() PROTOBUF_FINAL
decltype(::std::declval< IntVarAssignment >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
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
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(IntVarAssignment &a, IntVarAssignment &b)
~IntVarAssignment() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalNewImpl_()
void MergeFrom(const IntVarAssignment &from)
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const IntVarAssignment &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< IntervalVarAssignment >()._impl_._has_bits_) HasBits
::google::protobuf::Metadata GetMetadata() const
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 IntervalVarAssignment &from)
void CopyFrom(const IntervalVarAssignment &from)
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
~IntervalVarAssignment() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(SequenceVarAssignment &a, SequenceVarAssignment &b)
static constexpr auto InternalNewImpl_()
void MergeFrom(const SequenceVarAssignment &from)
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const SequenceVarAssignment &from)
::size_t ByteSizeLong() const final
~SequenceVarAssignment() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::int32_t kHasBitsOffset
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
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const 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
~WorkerInfo() PROTOBUF_FINAL
void CopyFrom(const WorkerInfo &from)
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
friend void swap(WorkerInfo &a, WorkerInfo &b)
void MergeFrom(const WorkerInfo &from)
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SequenceVarAssignmentDefaultTypeInternal _SequenceVarAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull WorkerInfo_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntVarAssignmentDefaultTypeInternal _IntVarAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IntervalVarAssignment_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SequenceVarAssignment_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntervalVarAssignmentDefaultTypeInternal _IntervalVarAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AssignmentProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WorkerInfoDefaultTypeInternal _WorkerInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignmentProtoDefaultTypeInternal _AssignmentProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IntVarAssignment_class_data_
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
AssignmentProto _instance
~AssignmentProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR AssignmentProtoDefaultTypeInternal()
~IntVarAssignmentDefaultTypeInternal()
PROTOBUF_CONSTEXPR IntVarAssignmentDefaultTypeInternal()
IntVarAssignment _instance
~IntervalVarAssignmentDefaultTypeInternal()
IntervalVarAssignment _instance
PROTOBUF_CONSTEXPR IntervalVarAssignmentDefaultTypeInternal()
SequenceVarAssignment _instance
PROTOBUF_CONSTEXPR SequenceVarAssignmentDefaultTypeInternal()
~SequenceVarAssignmentDefaultTypeInternal()
PROTOBUF_CONSTEXPR WorkerInfoDefaultTypeInternal()
~WorkerInfoDefaultTypeInternal()