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;
31inline constexpr TransitionTimeMatrix::Impl_::Impl_(
32 ::_pbi::ConstantInitialized) noexcept
35 _transition_time_cached_byte_size_{0} {}
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 Task::Impl_::Impl_(
58 ::_pbi::ConstantInitialized) noexcept
61 _machine_cached_byte_size_{0},
63 _duration_cached_byte_size_{0},
65 _cost_cached_byte_size_{0} {}
68PROTOBUF_CONSTEXPR
Task::Task(::_pbi::ConstantInitialized)
69#if defined(PROTOBUF_CUSTOM_VTABLE)
72 : ::google::protobuf::Message(),
74 _impl_(::_pbi::ConstantInitialized()) {
84PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
87inline constexpr JobPrecedence::Impl_::Impl_(
88 ::_pbi::ConstantInitialized) noexcept
92 min_delay_{::int64_t{0}} {}
96#if defined(PROTOBUF_CUSTOM_VTABLE)
99 : ::google::protobuf::Message(),
101 _impl_(::_pbi::ConstantInitialized()) {
111PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
114inline constexpr AssignedTask::Impl_::Impl_(
115 ::_pbi::ConstantInitialized) noexcept
117 start_time_{::int64_t{0}},
118 alternative_index_{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 Machine::Impl_::Impl_(
141 ::_pbi::ConstantInitialized) noexcept
144 &::google::protobuf::internal::fixed_address_empty_string,
145 ::_pbi::ConstantInitialized()),
146 transition_time_matrix_{
nullptr} {}
150#if defined(PROTOBUF_CUSTOM_VTABLE)
153 : ::google::protobuf::Message(),
155 _impl_(::_pbi::ConstantInitialized()) {
165PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
168inline constexpr Job::Impl_::Impl_(
169 ::_pbi::ConstantInitialized) noexcept
173 &::google::protobuf::internal::fixed_address_empty_string,
174 ::_pbi::ConstantInitialized()),
175 earliest_start_{
nullptr},
176 latest_end_{
nullptr},
177 early_due_date_{::int64_t{0}},
178 late_due_date_{::int64_t{0}},
179 earliness_cost_per_time_unit_{::int64_t{0}},
180 lateness_cost_per_time_unit_{::int64_t{0}} {}
183PROTOBUF_CONSTEXPR
Job::Job(::_pbi::ConstantInitialized)
184#if defined(PROTOBUF_CUSTOM_VTABLE)
187 : ::google::protobuf::Message(),
189 _impl_(::_pbi::ConstantInitialized()) {
199PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
202inline constexpr AssignedJob::Impl_::Impl_(
203 ::_pbi::ConstantInitialized) noexcept
206 due_date_cost_{::int64_t{0}},
207 sum_of_task_costs_{::int64_t{0}} {}
211#if defined(PROTOBUF_CUSTOM_VTABLE)
214 : ::google::protobuf::Message(),
216 _impl_(::_pbi::ConstantInitialized()) {
226PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
229inline constexpr JsspOutputSolution::Impl_::Impl_(
230 ::_pbi::ConstantInitialized) noexcept
233 makespan_cost_{::int64_t{0}},
234 total_cost_{::int64_t{0}} {}
238#if defined(PROTOBUF_CUSTOM_VTABLE)
241 : ::google::protobuf::Message(),
243 _impl_(::_pbi::ConstantInitialized()) {
253PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
256inline constexpr JsspInputProblem::Impl_::Impl_(
257 ::_pbi::ConstantInitialized) noexcept
263 &::google::protobuf::internal::fixed_address_empty_string,
264 ::_pbi::ConstantInitialized()),
265 scaling_factor_{
nullptr},
266 makespan_cost_per_time_unit_{::int64_t{0}},
271#if defined(PROTOBUF_CUSTOM_VTABLE)
274 : ::google::protobuf::Message(),
276 _impl_(::_pbi::ConstantInitialized()) {
286PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
291static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
293static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
391static const ::_pbi::MigrationSchema
416 "\n+ortools/scheduling/jobshop_scheduling."
417 "proto\022#operations_research.scheduling.js"
418 "sp\032\036google/protobuf/wrappers.proto\"7\n\004Ta"
419 "sk\022\017\n\007machine\030\001 \003(\005\022\020\n\010duration\030\002 \003(\003\022\014\n"
420 "\004cost\030\003 \003(\003\"\255\002\n\003Job\0228\n\005tasks\030\001 \003(\0132).ope"
421 "rations_research.scheduling.jssp.Task\0223\n"
422 "\016earliest_start\030\002 \001(\0132\033.google.protobuf."
423 "Int64Value\022\026\n\016early_due_date\030\003 \001(\003\022\025\n\rla"
424 "te_due_date\030\004 \001(\003\022$\n\034earliness_cost_per_"
425 "time_unit\030\005 \001(\003\022#\n\033lateness_cost_per_tim"
426 "e_unit\030\006 \001(\003\022/\n\nlatest_end\030\007 \001(\0132\033.googl"
427 "e.protobuf.Int64Value\022\014\n\004name\030\020 \001(\t\"/\n\024T"
428 "ransitionTimeMatrix\022\027\n\017transition_time\030\001"
429 " \003(\003\"r\n\007Machine\022Y\n\026transition_time_matri"
430 "x\030\001 \001(\01329.operations_research.scheduling"
431 ".jssp.TransitionTimeMatrix\022\014\n\004name\030\020 \001(\t"
432 "\"U\n\rJobPrecedence\022\027\n\017first_job_index\030\001 \001"
433 "(\005\022\030\n\020second_job_index\030\002 \001(\005\022\021\n\tmin_dela"
434 "y\030\003 \001(\003\"\312\002\n\020JsspInputProblem\0226\n\004jobs\030\001 \003"
435 "(\0132(.operations_research.scheduling.jssp"
436 ".Job\022>\n\010machines\030\002 \003(\0132,.operations_rese"
437 "arch.scheduling.jssp.Machine\022G\n\013preceden"
438 "ces\030\003 \003(\01322.operations_research.scheduli"
439 "ng.jssp.JobPrecedence\022#\n\033makespan_cost_p"
440 "er_time_unit\030\004 \001(\003\0224\n\016scaling_factor\030\005 \001"
441 "(\0132\034.google.protobuf.DoubleValue\022\014\n\004seed"
442 "\030\030 \001(\005\022\014\n\004name\030\020 \001(\t\"=\n\014AssignedTask\022\031\n\021"
443 "alternative_index\030\001 \001(\005\022\022\n\nstart_time\030\002 "
444 "\001(\003\"\201\001\n\013AssignedJob\022@\n\005tasks\030\001 \003(\01321.ope"
445 "rations_research.scheduling.jssp.Assigne"
446 "dTask\022\025\n\rdue_date_cost\030\002 \001(\003\022\031\n\021sum_of_t"
447 "ask_costs\030\003 \001(\003\"\177\n\022JsspOutputSolution\022>\n"
448 "\004jobs\030\001 \003(\01320.operations_research.schedu"
449 "ling.jssp.AssignedJob\022\025\n\rmakespan_cost\030\002"
450 " \001(\003\022\022\n\ntotal_cost\030\003 \001(\003BG\n\"com.google.o"
451 "rtools.scheduling.jsspP\001\252\002\036Google.OrTool"
452 "s.scheduling.Jsspb\006proto3"
454static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL
const
456 &::descriptor_table_google_2fprotobuf_2fwrappers_2eproto,
463 descriptor_table_protodef_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto,
464 "ortools/scheduling/jobshop_scheduling.proto",
483 decltype(::std::declval<Task>()._impl_._has_bits_);
488Task::Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
489#if defined(PROTOBUF_CUSTOM_VTABLE)
492 : ::google::protobuf::Message(arena) {
497PROTOBUF_NDEBUG_INLINE Task::Impl_::Impl_(
498 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
499 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
500 [[maybe_unused]] const ::operations_research::scheduling::jssp::Task& from_msg)
501 : _has_bits_{from._has_bits_},
503 machine_{visibility, arena, from.machine_},
504 _machine_cached_byte_size_{0},
505 duration_{visibility, arena, from.duration_},
506 _duration_cached_byte_size_{0},
507 cost_{visibility, arena, from.cost_},
508 _cost_cached_byte_size_{0} {}
511 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
513#if defined(PROTOBUF_CUSTOM_VTABLE)
516 : ::google::protobuf::Message(arena) {
518 Task*
const _this =
this;
520 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
521 from._internal_metadata_);
522 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
526PROTOBUF_NDEBUG_INLINE Task::Impl_::Impl_(
527 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
528 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
530 machine_{visibility, arena},
531 _machine_cached_byte_size_{0},
532 duration_{visibility, arena},
533 _duration_cached_byte_size_{0},
534 cost_{visibility, arena},
535 _cost_cached_byte_size_{0} {}
537inline void Task::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
538 new (&
_impl_) Impl_(internal_visibility(), arena);
545 Task& this_ =
static_cast<Task&
>(self);
546 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
547 this_.CheckHasBitConsistency();
549 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
550 ABSL_DCHECK(this_.GetArena() ==
nullptr);
554inline void* PROTOBUF_NONNULL Task::PlacementNew_(
555 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
556 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
557 return ::new (mem)
Task(arena);
559constexpr auto Task::InternalNewImpl_() {
560 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
561 PROTOBUF_FIELD_OFFSET(
Task,
_impl_.machine_) +
563 InternalGetArenaOffset(
564 ::
google::protobuf::Message::internal_visibility()),
565 PROTOBUF_FIELD_OFFSET(
Task,
_impl_.duration_) +
567 InternalGetArenaOffset(
568 ::
google::protobuf::Message::internal_visibility()),
571 InternalGetArenaOffset(
572 ::
google::protobuf::Message::internal_visibility()),
574 if (arena_bits.has_value()) {
575 return ::google::protobuf::internal::MessageCreator::ZeroInit(
576 sizeof(Task), alignof(Task), *arena_bits);
578 return ::google::protobuf::internal::MessageCreator(&Task::PlacementNew_,
584 return ::google::protobuf::internal::ClassDataFull{
585 ::google::protobuf::internal::ClassData{
591 ::google::protobuf::Message::GetNewImpl<Task>(),
592#if defined(PROTOBUF_CUSTOM_VTABLE)
597 PROTOBUF_FIELD_OFFSET(
Task,
_impl_._cached_size_),
600 &Task::kDescriptorMethods,
606PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
610PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
611Task::GetClassData()
const {
613 ::google::protobuf::internal::PrefetchToLocalCache(
Task_class_data_.tc_table);
616PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
617const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
620 PROTOBUF_FIELD_OFFSET(
Task,
_impl_._has_bits_),
623 offsetof(
decltype(_table_), field_lookup_table),
625 offsetof(
decltype(_table_), field_entries),
628 offsetof(
decltype(_table_), field_names),
631 ::_pbi::TcParser::GenericFallback,
632 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
633 ::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::Task>(),
636 {::_pbi::TcParser::MiniParse, {}},
638 {::_pbi::TcParser::FastV32P1,
640 PROTOBUF_FIELD_OFFSET(
Task,
_impl_.machine_)}},
642 {::_pbi::TcParser::FastV64P1,
644 PROTOBUF_FIELD_OFFSET(
Task,
_impl_.duration_)}},
646 {::_pbi::TcParser::FastV64P1,
665 ::google::protobuf::internal::TSanWrite(&
_impl_);
666 ::uint32_t cached_has_bits = 0;
668 (void) cached_has_bits;
670 cached_has_bits =
_impl_._has_bits_[0];
671 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
672 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
675 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
678 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
682 _impl_._has_bits_.Clear();
683 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
686#if defined(PROTOBUF_CUSTOM_VTABLE)
688 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
689 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
690 const Task& this_ =
static_cast<const Task&
>(base);
693 ::uint8_t* PROTOBUF_NONNULL target,
694 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
695 const Task& this_ = *
this;
697 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
698 this_.CheckHasBitConsistency();
701 ::uint32_t cached_has_bits = 0;
702 (void)cached_has_bits;
704 cached_has_bits = this_.
_impl_._has_bits_[0];
706 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
708 int byte_size = this_.
_impl_._machine_cached_byte_size_.Get();
710 target = stream->WriteInt32Packed(
711 1, this_._internal_machine(), byte_size, target);
717 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
719 int byte_size = this_.
_impl_._duration_cached_byte_size_.Get();
721 target = stream->WriteInt64Packed(
722 2, this_._internal_duration(), byte_size, target);
728 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
730 int byte_size = this_.
_impl_._cost_cached_byte_size_.Get();
732 target = stream->WriteInt64Packed(
733 3, this_._internal_cost(), byte_size, target);
738 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
740 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
741 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
747#if defined(PROTOBUF_CUSTOM_VTABLE)
755 ::size_t total_size = 0;
757 ::uint32_t cached_has_bits = 0;
759 (void)cached_has_bits;
761 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
762 cached_has_bits = this_.
_impl_._has_bits_[0];
763 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
765 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
767 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
768 this_._internal_machine(), 1,
769 this_.
_impl_._machine_cached_byte_size_);
772 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
774 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
775 this_._internal_duration(), 1,
776 this_.
_impl_._duration_cached_byte_size_);
779 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
781 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
782 this_._internal_cost(), 1,
783 this_.
_impl_._cost_cached_byte_size_);
786 return this_.MaybeComputeUnknownFieldsSize(total_size,
787 &this_.
_impl_._cached_size_);
790void Task::MergeImpl(::google::protobuf::MessageLite& to_msg,
791 const ::google::protobuf::MessageLite& from_msg) {
793 static_cast<Task*
>(&to_msg);
794 auto& from =
static_cast<const Task&
>(from_msg);
795 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
796 from.CheckHasBitConsistency();
799 ABSL_DCHECK_NE(&from, _this);
800 ::uint32_t cached_has_bits = 0;
801 (void)cached_has_bits;
803 cached_has_bits = from._impl_._has_bits_[0];
804 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
805 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
806 _this->_internal_mutable_machine()->MergeFrom(from._internal_machine());
808 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
809 _this->_internal_mutable_duration()->MergeFrom(from._internal_duration());
811 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
812 _this->_internal_mutable_cost()->MergeFrom(from._internal_cost());
815 _this->_impl_._has_bits_[0] |= cached_has_bits;
816 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
817 from._internal_metadata_);
822 if (&from ==
this)
return;
828void Task::InternalSwap(
Task* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
830 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
831 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
832 _impl_.machine_.InternalSwap(&other->_impl_.machine_);
833 _impl_.duration_.InternalSwap(&other->_impl_.duration_);
834 _impl_.cost_.InternalSwap(&other->_impl_.cost_);
838 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
845 decltype(::std::declval<Job>()._impl_._has_bits_);
847 8 * PROTOBUF_FIELD_OFFSET(
Job,
_impl_._has_bits_);
851 ::google::protobuf::internal::TSanWrite(&
_impl_);
852 if (
_impl_.earliest_start_ !=
nullptr)
_impl_.earliest_start_->Clear();
853 ClearHasBit(
_impl_._has_bits_[0],
857 ::google::protobuf::internal::TSanWrite(&
_impl_);
859 ClearHasBit(
_impl_._has_bits_[0],
862Job::Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
863#if defined(PROTOBUF_CUSTOM_VTABLE)
866 : ::google::protobuf::Message(arena) {
871PROTOBUF_NDEBUG_INLINE Job::Impl_::Impl_(
872 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
873 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
874 [[maybe_unused]] const ::operations_research::scheduling::jssp::Job& from_msg)
875 : _has_bits_{from._has_bits_},
877 tasks_{visibility, arena, from.tasks_},
878 name_(arena, from.name_) {}
881 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
883#if defined(PROTOBUF_CUSTOM_VTABLE)
886 : ::google::protobuf::Message(arena) {
888 Job*
const _this =
this;
890 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
891 from._internal_metadata_);
892 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
893 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
894 _impl_.earliest_start_ = (CheckHasBit(cached_has_bits, 0x00000004U))
895 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.earliest_start_)
897 _impl_.latest_end_ = (CheckHasBit(cached_has_bits, 0x00000008U))
898 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.latest_end_)
900 ::memcpy(
reinterpret_cast<char*
>(&_impl_) +
901 offsetof(Impl_, early_due_date_),
902 reinterpret_cast<const char*
>(&from._impl_) +
903 offsetof(Impl_, early_due_date_),
904 offsetof(Impl_, lateness_cost_per_time_unit_) -
905 offsetof(Impl_, early_due_date_) +
906 sizeof(Impl_::lateness_cost_per_time_unit_));
910PROTOBUF_NDEBUG_INLINE Job::Impl_::Impl_(
911 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
912 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
914 tasks_{visibility, arena},
917inline void Job::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
918 new (&
_impl_) Impl_(internal_visibility(), arena);
919 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
920 offsetof(Impl_, earliest_start_),
922 offsetof(Impl_, lateness_cost_per_time_unit_) -
923 offsetof(Impl_, earliest_start_) +
924 sizeof(Impl_::lateness_cost_per_time_unit_));
930inline void Job::SharedDtor(MessageLite& self) {
931 Job& this_ =
static_cast<Job&
>(self);
932 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
933 this_.CheckHasBitConsistency();
935 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
936 ABSL_DCHECK(this_.GetArena() ==
nullptr);
937 this_.
_impl_.name_.Destroy();
938 delete this_.
_impl_.earliest_start_;
939 delete this_.
_impl_.latest_end_;
943inline void* PROTOBUF_NONNULL Job::PlacementNew_(
944 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
945 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
946 return ::new (mem)
Job(arena);
948constexpr auto Job::InternalNewImpl_() {
949 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
950 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.tasks_) +
952 InternalGetArenaOffset(
953 ::
google::protobuf::Message::internal_visibility()),
955 if (arena_bits.has_value()) {
956 return ::google::protobuf::internal::MessageCreator::CopyInit(
957 sizeof(Job), alignof(Job), *arena_bits);
959 return ::google::protobuf::internal::MessageCreator(&Job::PlacementNew_,
965 return ::google::protobuf::internal::ClassDataFull{
966 ::google::protobuf::internal::ClassData{
972 ::google::protobuf::Message::GetNewImpl<Job>(),
973#if defined(PROTOBUF_CUSTOM_VTABLE)
978 PROTOBUF_FIELD_OFFSET(
Job,
_impl_._cached_size_),
981 &Job::kDescriptorMethods,
987PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
991PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
992Job::GetClassData()
const {
994 ::google::protobuf::internal::PrefetchToLocalCache(
Job_class_data_.tc_table);
997PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
998const ::_pbi::TcParseTable<3, 8, 3, 60, 2>
1001 PROTOBUF_FIELD_OFFSET(
Job,
_impl_._has_bits_),
1004 offsetof(
decltype(_table_), field_lookup_table),
1006 offsetof(
decltype(_table_), field_entries),
1009 offsetof(
decltype(_table_), aux_entries),
1012 ::_pbi::TcParser::GenericFallback,
1013 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1014 ::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::Job>(),
1018 {::_pbi::TcParser::FastUS2,
1020 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.name_)}},
1022 {::_pbi::TcParser::FastMtR1,
1024 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.tasks_)}},
1026 {::_pbi::TcParser::FastMtS1,
1028 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.earliest_start_)}},
1030 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
Job,
_impl_.early_due_date_), 4>(),
1032 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.early_due_date_)}},
1034 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
Job,
_impl_.late_due_date_), 5>(),
1036 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.late_due_date_)}},
1038 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
Job,
_impl_.earliness_cost_per_time_unit_), 6>(),
1040 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.earliness_cost_per_time_unit_)}},
1042 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
Job,
_impl_.lateness_cost_per_time_unit_), 7>(),
1044 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.lateness_cost_per_time_unit_)}},
1046 {::_pbi::TcParser::FastMtS1,
1048 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.latest_end_)}},
1070 {::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::Task>()},
1071 {::_pbi::TcParser::GetTable<::google::protobuf::Int64Value>()},
1072 {::_pbi::TcParser::GetTable<::google::protobuf::Int64Value>()},
1075 "\47\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0"
1076 "operations_research.scheduling.jssp.Job"
1082 ::google::protobuf::internal::TSanWrite(&
_impl_);
1083 ::uint32_t cached_has_bits = 0;
1085 (void) cached_has_bits;
1087 cached_has_bits =
_impl_._has_bits_[0];
1088 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1089 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1092 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1093 _impl_.name_.ClearNonDefaultToEmpty();
1095 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1096 ABSL_DCHECK(
_impl_.earliest_start_ !=
nullptr);
1097 _impl_.earliest_start_->Clear();
1099 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1100 ABSL_DCHECK(
_impl_.latest_end_ !=
nullptr);
1101 _impl_.latest_end_->Clear();
1104 if (BatchCheckHasBit(cached_has_bits, 0x000000f0U)) {
1105 ::memset(&
_impl_.early_due_date_, 0,
static_cast<::
size_t>(
1106 reinterpret_cast<char*
>(&
_impl_.lateness_cost_per_time_unit_) -
1107 reinterpret_cast<char*
>(&
_impl_.early_due_date_)) +
sizeof(
_impl_.lateness_cost_per_time_unit_));
1109 _impl_._has_bits_.Clear();
1110 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1113#if defined(PROTOBUF_CUSTOM_VTABLE)
1115 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1116 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1117 const Job& this_ =
static_cast<const Job&
>(base);
1120 ::uint8_t* PROTOBUF_NONNULL target,
1121 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1122 const Job& this_ = *
this;
1124 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1125 this_.CheckHasBitConsistency();
1128 ::uint32_t cached_has_bits = 0;
1129 (void)cached_has_bits;
1131 cached_has_bits = this_.
_impl_._has_bits_[0];
1133 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1134 for (
unsigned i = 0, n =
static_cast<unsigned>(
1135 this_._internal_tasks_size());
1137 const auto& repfield = this_._internal_tasks().Get(i);
1139 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1140 1, repfield, repfield.GetCachedSize(),
1146 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1147 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1148 2, *this_.
_impl_.earliest_start_, this_.
_impl_.earliest_start_->GetCachedSize(), target,
1153 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1154 if (this_._internal_early_due_date() != 0) {
1156 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
1157 stream, this_._internal_early_due_date(), target);
1162 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1163 if (this_._internal_late_due_date() != 0) {
1165 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
1166 stream, this_._internal_late_due_date(), target);
1171 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1172 if (this_._internal_earliness_cost_per_time_unit() != 0) {
1174 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
1175 stream, this_._internal_earliness_cost_per_time_unit(), target);
1180 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1181 if (this_._internal_lateness_cost_per_time_unit() != 0) {
1183 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
1184 stream, this_._internal_lateness_cost_per_time_unit(), target);
1189 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1190 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1191 7, *this_.
_impl_.latest_end_, this_.
_impl_.latest_end_->GetCachedSize(), target,
1196 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1197 if (!this_._internal_name().empty()) {
1198 const ::std::string& _s = this_._internal_name();
1199 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1200 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.scheduling.jssp.Job.name");
1201 target = stream->WriteStringMaybeAliased(16, _s, target);
1205 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1207 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1208 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1214#if defined(PROTOBUF_CUSTOM_VTABLE)
1216 const Job& this_ =
static_cast<const Job&
>(
base);
1219 const Job& this_ = *
this;
1222 ::size_t total_size = 0;
1224 ::uint32_t cached_has_bits = 0;
1226 (void)cached_has_bits;
1228 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1229 cached_has_bits = this_.
_impl_._has_bits_[0];
1230 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1232 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1233 total_size += 1UL * this_._internal_tasks_size();
1234 for (
const auto& msg : this_._internal_tasks()) {
1235 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1239 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1240 if (!this_._internal_name().empty()) {
1241 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
1242 this_._internal_name());
1246 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1248 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.earliest_start_);
1251 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1253 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.latest_end_);
1256 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1257 if (this_._internal_early_due_date() != 0) {
1258 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1259 this_._internal_early_due_date());
1263 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1264 if (this_._internal_late_due_date() != 0) {
1265 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1266 this_._internal_late_due_date());
1270 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1271 if (this_._internal_earliness_cost_per_time_unit() != 0) {
1272 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1273 this_._internal_earliness_cost_per_time_unit());
1277 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1278 if (this_._internal_lateness_cost_per_time_unit() != 0) {
1279 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1280 this_._internal_lateness_cost_per_time_unit());
1284 return this_.MaybeComputeUnknownFieldsSize(total_size,
1285 &this_.
_impl_._cached_size_);
1288void Job::MergeImpl(::google::protobuf::MessageLite& to_msg,
1289 const ::google::protobuf::MessageLite& from_msg) {
1291 static_cast<Job*
>(&to_msg);
1292 auto& from =
static_cast<const Job&
>(from_msg);
1293 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1294 from.CheckHasBitConsistency();
1298 ABSL_DCHECK_NE(&from, _this);
1299 ::uint32_t cached_has_bits = 0;
1300 (void)cached_has_bits;
1302 cached_has_bits = from._impl_._has_bits_[0];
1303 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1304 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1305 _this->_internal_mutable_tasks()->InternalMergeFromWithArena(
1306 ::google::protobuf::MessageLite::internal_visibility(), arena,
1307 from._internal_tasks());
1309 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1310 if (!from._internal_name().empty()) {
1311 _this->_internal_set_name(from._internal_name());
1313 if (_this->_impl_.name_.IsDefault()) {
1314 _this->_internal_set_name(
"");
1318 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1319 ABSL_DCHECK(from._impl_.earliest_start_ !=
nullptr);
1320 if (_this->_impl_.earliest_start_ ==
nullptr) {
1321 _this->_impl_.earliest_start_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.earliest_start_);
1323 _this->_impl_.earliest_start_->MergeFrom(*from._impl_.earliest_start_);
1326 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1327 ABSL_DCHECK(from._impl_.latest_end_ !=
nullptr);
1328 if (_this->_impl_.latest_end_ ==
nullptr) {
1329 _this->_impl_.latest_end_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.latest_end_);
1331 _this->_impl_.latest_end_->MergeFrom(*from._impl_.latest_end_);
1334 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1335 if (from._internal_early_due_date() != 0) {
1336 _this->_impl_.early_due_date_ = from._impl_.early_due_date_;
1339 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1340 if (from._internal_late_due_date() != 0) {
1341 _this->_impl_.late_due_date_ = from._impl_.late_due_date_;
1344 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1345 if (from._internal_earliness_cost_per_time_unit() != 0) {
1346 _this->_impl_.earliness_cost_per_time_unit_ = from._impl_.earliness_cost_per_time_unit_;
1349 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1350 if (from._internal_lateness_cost_per_time_unit() != 0) {
1351 _this->_impl_.lateness_cost_per_time_unit_ = from._impl_.lateness_cost_per_time_unit_;
1355 _this->_impl_._has_bits_[0] |= cached_has_bits;
1356 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1357 from._internal_metadata_);
1362 if (&from ==
this)
return;
1368void Job::InternalSwap(
Job* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1370 auto* arena = GetArena();
1371 ABSL_DCHECK_EQ(arena, other->GetArena());
1372 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1373 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1374 _impl_.tasks_.InternalSwap(&other->_impl_.tasks_);
1375 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
1376 ::google::protobuf::internal::memswap<
1377 PROTOBUF_FIELD_OFFSET(
Job,
_impl_.lateness_cost_per_time_unit_)
1378 +
sizeof(
Job::_impl_.lateness_cost_per_time_unit_)
1379 - PROTOBUF_FIELD_OFFSET(
Job,
_impl_.earliest_start_)>(
1380 reinterpret_cast<char*
>(&
_impl_.earliest_start_),
1381 reinterpret_cast<char*
>(&other->_impl_.earliest_start_));
1385 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1392 decltype(::std::declval<TransitionTimeMatrix>()._impl_._has_bits_);
1398#if defined(PROTOBUF_CUSTOM_VTABLE)
1401 : ::google::protobuf::Message(arena) {
1406PROTOBUF_NDEBUG_INLINE TransitionTimeMatrix::Impl_::Impl_(
1407 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1408 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1409 [[maybe_unused]] const ::operations_research::scheduling::jssp::TransitionTimeMatrix& from_msg)
1410 : _has_bits_{from._has_bits_},
1412 transition_time_{visibility, arena, from.transition_time_},
1413 _transition_time_cached_byte_size_{0} {}
1416 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1418#if defined(PROTOBUF_CUSTOM_VTABLE)
1421 : ::google::protobuf::Message(arena) {
1425 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1426 from._internal_metadata_);
1427 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1431PROTOBUF_NDEBUG_INLINE TransitionTimeMatrix::Impl_::Impl_(
1432 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1433 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1435 transition_time_{visibility, arena},
1436 _transition_time_cached_byte_size_{0} {}
1438inline void TransitionTimeMatrix::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1439 new (&
_impl_) Impl_(internal_visibility(), arena);
1445inline void TransitionTimeMatrix::SharedDtor(
MessageLite& self) {
1447 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1448 this_.CheckHasBitConsistency();
1450 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1451 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1455inline void* PROTOBUF_NONNULL TransitionTimeMatrix::PlacementNew_(
1456 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1457 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1458 return ::new (mem) TransitionTimeMatrix(arena);
1460constexpr auto TransitionTimeMatrix::InternalNewImpl_() {
1461 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1462 PROTOBUF_FIELD_OFFSET(TransitionTimeMatrix,
_impl_.transition_time_) +
1464 InternalGetArenaOffset(
1465 ::
google::protobuf::Message::internal_visibility()),
1467 if (arena_bits.has_value()) {
1468 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1469 sizeof(TransitionTimeMatrix), alignof(TransitionTimeMatrix), *arena_bits);
1471 return ::google::protobuf::internal::MessageCreator(&TransitionTimeMatrix::PlacementNew_,
1472 sizeof(TransitionTimeMatrix),
1473 alignof(TransitionTimeMatrix));
1477 return ::google::protobuf::internal::ClassDataFull{
1478 ::google::protobuf::internal::ClassData{
1483 &TransitionTimeMatrix::MergeImpl,
1484 ::google::protobuf::Message::GetNewImpl<TransitionTimeMatrix>(),
1485#if defined(PROTOBUF_CUSTOM_VTABLE)
1486 &TransitionTimeMatrix::SharedDtor,
1493 &TransitionTimeMatrix::kDescriptorMethods,
1499PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1503PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1504TransitionTimeMatrix::GetClassData()
const {
1509PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1510const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
1511TransitionTimeMatrix::_table_ = {
1513 PROTOBUF_FIELD_OFFSET(TransitionTimeMatrix,
_impl_._has_bits_),
1516 offsetof(
decltype(_table_), field_lookup_table),
1518 offsetof(
decltype(_table_), field_entries),
1521 offsetof(
decltype(_table_), field_names),
1524 ::_pbi::TcParser::GenericFallback,
1525 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1526 ::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::TransitionTimeMatrix>(),
1530 {::_pbi::TcParser::FastV64P1,
1532 PROTOBUF_FIELD_OFFSET(TransitionTimeMatrix,
_impl_.transition_time_)}},
1537 {PROTOBUF_FIELD_OFFSET(TransitionTimeMatrix,
_impl_.transition_time_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1545 ::google::protobuf::internal::TSanWrite(&
_impl_);
1546 ::uint32_t cached_has_bits = 0;
1548 (void) cached_has_bits;
1550 cached_has_bits =
_impl_._has_bits_[0];
1551 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1552 _impl_.transition_time_.Clear();
1554 _impl_._has_bits_.Clear();
1555 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1558#if defined(PROTOBUF_CUSTOM_VTABLE)
1560 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1561 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1562 const TransitionTimeMatrix& this_ =
static_cast<const TransitionTimeMatrix&
>(
base);
1565 ::uint8_t* PROTOBUF_NONNULL target,
1566 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1569 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1570 this_.CheckHasBitConsistency();
1573 ::uint32_t cached_has_bits = 0;
1574 (void)cached_has_bits;
1576 cached_has_bits = this_.
_impl_._has_bits_[0];
1578 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1580 int byte_size = this_.
_impl_._transition_time_cached_byte_size_.Get();
1581 if (byte_size > 0) {
1582 target = stream->WriteInt64Packed(
1583 1, this_._internal_transition_time(), byte_size, target);
1588 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1590 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1591 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1597#if defined(PROTOBUF_CUSTOM_VTABLE)
1599 const TransitionTimeMatrix& this_ =
static_cast<const TransitionTimeMatrix&
>(base);
1602 const TransitionTimeMatrix& this_ = *
this;
1605 ::size_t total_size = 0;
1607 ::uint32_t cached_has_bits = 0;
1609 (void)cached_has_bits;
1611 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1614 cached_has_bits = this_._impl_._has_bits_[0];
1615 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1617 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1618 this_._internal_transition_time(), 1,
1619 this_._impl_._transition_time_cached_byte_size_);
1622 return this_.MaybeComputeUnknownFieldsSize(total_size,
1623 &this_._impl_._cached_size_);
1626void TransitionTimeMatrix::MergeImpl(::google::protobuf::MessageLite& to_msg,
1627 const ::google::protobuf::MessageLite& from_msg) {
1629 static_cast<TransitionTimeMatrix*
>(&to_msg);
1630 auto& from =
static_cast<const TransitionTimeMatrix&
>(from_msg);
1631 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1632 from.CheckHasBitConsistency();
1635 ABSL_DCHECK_NE(&from, _this);
1636 ::uint32_t cached_has_bits = 0;
1637 (void)cached_has_bits;
1639 cached_has_bits = from._impl_._has_bits_[0];
1640 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1641 _this->_internal_mutable_transition_time()->MergeFrom(from._internal_transition_time());
1643 _this->_impl_._has_bits_[0] |= cached_has_bits;
1644 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1645 from._internal_metadata_);
1650 if (&from ==
this)
return;
1656void TransitionTimeMatrix::InternalSwap(
TransitionTimeMatrix* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1658 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1659 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1660 _impl_.transition_time_.InternalSwap(&other->_impl_.transition_time_);
1664 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1671 decltype(::std::declval<Machine>()._impl_._has_bits_);
1677#if defined(PROTOBUF_CUSTOM_VTABLE)
1680 : ::google::protobuf::Message(arena) {
1685PROTOBUF_NDEBUG_INLINE Machine::Impl_::Impl_(
1686 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1687 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1688 [[maybe_unused]] const ::operations_research::scheduling::jssp::Machine& from_msg)
1689 : _has_bits_{from._has_bits_},
1691 name_(arena, from.name_) {}
1694 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1696#if defined(PROTOBUF_CUSTOM_VTABLE)
1699 : ::google::protobuf::Message(arena) {
1703 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1704 from._internal_metadata_);
1705 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1706 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
1707 _impl_.transition_time_matrix_ = (CheckHasBit(cached_has_bits, 0x00000002U))
1708 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.transition_time_matrix_)
1713PROTOBUF_NDEBUG_INLINE Machine::Impl_::Impl_(
1714 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1715 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1719inline void Machine::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1720 new (&
_impl_) Impl_(internal_visibility(), arena);
1721 _impl_.transition_time_matrix_ = {};
1729 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1730 this_.CheckHasBitConsistency();
1732 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1733 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1734 this_.
_impl_.name_.Destroy();
1735 delete this_.
_impl_.transition_time_matrix_;
1739inline void* PROTOBUF_NONNULL Machine::PlacementNew_(
1740 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1741 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1742 return ::new (mem)
Machine(arena);
1744constexpr auto Machine::InternalNewImpl_() {
1745 return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(Machine),
1749 return ::google::protobuf::internal::ClassDataFull{
1750 ::google::protobuf::internal::ClassData{
1755 &Machine::MergeImpl,
1756 ::google::protobuf::Message::GetNewImpl<Machine>(),
1757#if defined(PROTOBUF_CUSTOM_VTABLE)
1758 &Machine::SharedDtor,
1765 &Machine::kDescriptorMethods,
1771PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1775PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1776Machine::GetClassData()
const {
1781PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1782const ::_pbi::TcParseTable<1, 2, 1, 56, 2>
1785 PROTOBUF_FIELD_OFFSET(Machine,
_impl_._has_bits_),
1788 offsetof(
decltype(_table_), field_lookup_table),
1790 offsetof(
decltype(_table_), field_entries),
1793 offsetof(
decltype(_table_), aux_entries),
1796 ::_pbi::TcParser::GenericFallback,
1797 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1798 ::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::Machine>(),
1802 {::_pbi::TcParser::FastUS2,
1804 PROTOBUF_FIELD_OFFSET(Machine,
_impl_.name_)}},
1806 {::_pbi::TcParser::FastMtS1,
1808 PROTOBUF_FIELD_OFFSET(Machine,
_impl_.transition_time_matrix_)}},
1813 {PROTOBUF_FIELD_OFFSET(Machine,
_impl_.transition_time_matrix_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1818 {::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::TransitionTimeMatrix>()},
1822 "operations_research.scheduling.jssp.Machine"
1828 ::google::protobuf::internal::TSanWrite(&
_impl_);
1829 ::uint32_t cached_has_bits = 0;
1831 (void) cached_has_bits;
1833 cached_has_bits =
_impl_._has_bits_[0];
1834 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1835 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1836 _impl_.name_.ClearNonDefaultToEmpty();
1838 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1839 ABSL_DCHECK(
_impl_.transition_time_matrix_ !=
nullptr);
1840 _impl_.transition_time_matrix_->Clear();
1843 _impl_._has_bits_.Clear();
1844 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1847#if defined(PROTOBUF_CUSTOM_VTABLE)
1849 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1850 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1851 const Machine& this_ =
static_cast<const Machine&
>(
base);
1854 ::uint8_t* PROTOBUF_NONNULL target,
1855 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1856 const Machine& this_ = *
this;
1858 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1859 this_.CheckHasBitConsistency();
1862 ::uint32_t cached_has_bits = 0;
1863 (void)cached_has_bits;
1865 cached_has_bits = this_._impl_._has_bits_[0];
1867 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1868 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1869 1, *this_._impl_.transition_time_matrix_, this_._impl_.transition_time_matrix_->GetCachedSize(), target,
1874 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1875 if (!this_._internal_name().empty()) {
1876 const ::std::string& _s = this_._internal_name();
1877 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1878 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.scheduling.jssp.Machine.name");
1879 target = stream->WriteStringMaybeAliased(16, _s, target);
1883 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1885 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1886 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1892#if defined(PROTOBUF_CUSTOM_VTABLE)
1894 const Machine& this_ =
static_cast<const Machine&
>(base);
1897 const Machine& this_ = *
this;
1900 ::size_t total_size = 0;
1902 ::uint32_t cached_has_bits = 0;
1904 (void)cached_has_bits;
1906 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1907 cached_has_bits = this_._impl_._has_bits_[0];
1908 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1910 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1911 if (!this_._internal_name().empty()) {
1912 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
1913 this_._internal_name());
1917 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1919 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.transition_time_matrix_);
1922 return this_.MaybeComputeUnknownFieldsSize(total_size,
1923 &this_._impl_._cached_size_);
1926void Machine::MergeImpl(::google::protobuf::MessageLite& to_msg,
1927 const ::google::protobuf::MessageLite& from_msg) {
1929 static_cast<Machine*
>(&to_msg);
1930 auto& from =
static_cast<const Machine&
>(from_msg);
1931 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1932 from.CheckHasBitConsistency();
1936 ABSL_DCHECK_NE(&from, _this);
1937 ::uint32_t cached_has_bits = 0;
1938 (void)cached_has_bits;
1940 cached_has_bits = from._impl_._has_bits_[0];
1941 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1942 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1943 if (!from._internal_name().empty()) {
1944 _this->_internal_set_name(from._internal_name());
1946 if (_this->_impl_.name_.IsDefault()) {
1947 _this->_internal_set_name(
"");
1951 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1952 ABSL_DCHECK(from._impl_.transition_time_matrix_ !=
nullptr);
1953 if (_this->_impl_.transition_time_matrix_ ==
nullptr) {
1954 _this->_impl_.transition_time_matrix_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.transition_time_matrix_);
1956 _this->_impl_.transition_time_matrix_->MergeFrom(*from._impl_.transition_time_matrix_);
1960 _this->_impl_._has_bits_[0] |= cached_has_bits;
1961 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1962 from._internal_metadata_);
1967 if (&from ==
this)
return;
1973void Machine::InternalSwap(
Machine* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1975 auto* arena = GetArena();
1976 ABSL_DCHECK_EQ(arena, other->GetArena());
1977 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1978 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1979 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
1980 swap(
_impl_.transition_time_matrix_, other->_impl_.transition_time_matrix_);
1984 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1991 decltype(::std::declval<JobPrecedence>()._impl_._has_bits_);
1992 static constexpr ::int32_t kHasBitsOffset =
1997#if defined(PROTOBUF_CUSTOM_VTABLE)
2000 : ::google::protobuf::Message(arena) {
2006 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const JobPrecedence& from)
2007#if defined(PROTOBUF_CUSTOM_VTABLE)
2010 : ::google::protobuf::Message(arena),
2013 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2014 from._internal_metadata_);
2016PROTOBUF_NDEBUG_INLINE JobPrecedence::Impl_::Impl_(
2017 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2018 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2019 : _cached_size_{0} {}
2021inline void JobPrecedence::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2022 new (&
_impl_) Impl_(internal_visibility(), arena);
2023 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
2024 offsetof(Impl_, first_job_index_),
2026 offsetof(Impl_, min_delay_) -
2027 offsetof(Impl_, first_job_index_) +
2028 sizeof(Impl_::min_delay_));
2034inline void JobPrecedence::SharedDtor(
MessageLite& self) {
2036 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2037 this_.CheckHasBitConsistency();
2039 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2040 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2044inline void* PROTOBUF_NONNULL JobPrecedence::PlacementNew_(
2045 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2046 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2047 return ::new (mem) JobPrecedence(arena);
2049constexpr auto JobPrecedence::InternalNewImpl_() {
2050 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(JobPrecedence),
2051 alignof(JobPrecedence));
2054 return ::google::protobuf::internal::ClassDataFull{
2055 ::google::protobuf::internal::ClassData{
2060 &JobPrecedence::MergeImpl,
2061 ::google::protobuf::Message::GetNewImpl<JobPrecedence>(),
2062#if defined(PROTOBUF_CUSTOM_VTABLE)
2063 &JobPrecedence::SharedDtor,
2070 &JobPrecedence::kDescriptorMethods,
2076PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2080PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2081JobPrecedence::GetClassData()
const {
2086PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2087const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
2088JobPrecedence::_table_ = {
2090 PROTOBUF_FIELD_OFFSET(JobPrecedence,
_impl_._has_bits_),
2093 offsetof(
decltype(_table_), field_lookup_table),
2095 offsetof(
decltype(_table_), field_entries),
2098 offsetof(
decltype(_table_), field_names),
2101 ::_pbi::TcParser::GenericFallback,
2102 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2103 ::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::JobPrecedence>(),
2106 {::_pbi::TcParser::MiniParse, {}},
2108 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobPrecedence,
_impl_.first_job_index_), 0>(),
2110 PROTOBUF_FIELD_OFFSET(JobPrecedence,
_impl_.first_job_index_)}},
2112 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobPrecedence,
_impl_.second_job_index_), 1>(),
2114 PROTOBUF_FIELD_OFFSET(JobPrecedence,
_impl_.second_job_index_)}},
2116 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(JobPrecedence,
_impl_.min_delay_), 2>(),
2118 PROTOBUF_FIELD_OFFSET(JobPrecedence,
_impl_.min_delay_)}},
2135 ::google::protobuf::internal::TSanWrite(&
_impl_);
2136 ::uint32_t cached_has_bits = 0;
2138 (void) cached_has_bits;
2140 cached_has_bits =
_impl_._has_bits_[0];
2141 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2142 ::memset(&
_impl_.first_job_index_, 0,
static_cast<::
size_t>(
2143 reinterpret_cast<char*
>(&
_impl_.min_delay_) -
2144 reinterpret_cast<char*
>(&
_impl_.first_job_index_)) +
sizeof(
_impl_.min_delay_));
2146 _impl_._has_bits_.Clear();
2147 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2150#if defined(PROTOBUF_CUSTOM_VTABLE)
2152 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2153 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2154 const JobPrecedence& this_ =
static_cast<const JobPrecedence&
>(
base);
2157 ::uint8_t* PROTOBUF_NONNULL target,
2158 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2159 const JobPrecedence& this_ = *
this;
2161 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2162 this_.CheckHasBitConsistency();
2165 ::uint32_t cached_has_bits = 0;
2166 (void)cached_has_bits;
2168 cached_has_bits = this_.
_impl_._has_bits_[0];
2170 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2171 if (this_._internal_first_job_index() != 0) {
2173 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
2174 stream, this_._internal_first_job_index(), target);
2179 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2180 if (this_._internal_second_job_index() != 0) {
2182 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
2183 stream, this_._internal_second_job_index(), target);
2188 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2189 if (this_._internal_min_delay() != 0) {
2191 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
2192 stream, this_._internal_min_delay(), target);
2196 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2198 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2199 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2205#if defined(PROTOBUF_CUSTOM_VTABLE)
2207 const JobPrecedence& this_ =
static_cast<const JobPrecedence&
>(base);
2210 const JobPrecedence& this_ = *
this;
2213 ::size_t total_size = 0;
2215 ::uint32_t cached_has_bits = 0;
2217 (void)cached_has_bits;
2219 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2220 cached_has_bits = this_._impl_._has_bits_[0];
2221 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2223 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2224 if (this_._internal_first_job_index() != 0) {
2225 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2226 this_._internal_first_job_index());
2230 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2231 if (this_._internal_second_job_index() != 0) {
2232 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2233 this_._internal_second_job_index());
2237 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2238 if (this_._internal_min_delay() != 0) {
2239 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2240 this_._internal_min_delay());
2244 return this_.MaybeComputeUnknownFieldsSize(total_size,
2245 &this_._impl_._cached_size_);
2248void JobPrecedence::MergeImpl(::google::protobuf::MessageLite& to_msg,
2249 const ::google::protobuf::MessageLite& from_msg) {
2251 static_cast<JobPrecedence*
>(&to_msg);
2252 auto& from =
static_cast<const JobPrecedence&
>(from_msg);
2253 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2254 from.CheckHasBitConsistency();
2257 ABSL_DCHECK_NE(&from, _this);
2258 ::uint32_t cached_has_bits = 0;
2259 (void)cached_has_bits;
2261 cached_has_bits = from.
_impl_._has_bits_[0];
2262 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2263 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2264 if (from._internal_first_job_index() != 0) {
2265 _this->_impl_.first_job_index_ = from.
_impl_.first_job_index_;
2268 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2269 if (from._internal_second_job_index() != 0) {
2270 _this->_impl_.second_job_index_ = from.
_impl_.second_job_index_;
2273 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2274 if (from._internal_min_delay() != 0) {
2275 _this->_impl_.min_delay_ = from.
_impl_.min_delay_;
2279 _this->_impl_._has_bits_[0] |= cached_has_bits;
2280 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2281 from._internal_metadata_);
2286 if (&from ==
this)
return;
2292void JobPrecedence::InternalSwap(
JobPrecedence* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2294 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2295 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2296 ::google::protobuf::internal::memswap<
2300 reinterpret_cast<char*
>(&
_impl_.first_job_index_),
2301 reinterpret_cast<char*
>(&other->_impl_.first_job_index_));
2305 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2312 decltype(::std::declval<JsspInputProblem>()._impl_._has_bits_);
2313 static constexpr ::int32_t kHasBitsOffset =
2318 ::google::protobuf::internal::TSanWrite(&
_impl_);
2320 ClearHasBit(
_impl_._has_bits_[0],
2324#if defined(PROTOBUF_CUSTOM_VTABLE)
2327 : ::google::protobuf::Message(arena) {
2332PROTOBUF_NDEBUG_INLINE JsspInputProblem::Impl_::Impl_(
2333 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2334 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2335 [[maybe_unused]] const ::operations_research::scheduling::jssp::JsspInputProblem& from_msg)
2336 : _has_bits_{from._has_bits_},
2338 jobs_{visibility, arena, from.jobs_},
2339 machines_{visibility, arena, from.machines_},
2340 precedences_{visibility, arena, from.precedences_},
2341 name_(arena, from.name_) {}
2344 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2346#if defined(PROTOBUF_CUSTOM_VTABLE)
2349 : ::google::protobuf::Message(arena) {
2353 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2354 from._internal_metadata_);
2355 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2356 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
2357 _impl_.scaling_factor_ = (CheckHasBit(cached_has_bits, 0x00000010U))
2358 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.scaling_factor_)
2360 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
2361 offsetof(Impl_, makespan_cost_per_time_unit_),
2362 reinterpret_cast<const char*
>(&from._impl_) +
2363 offsetof(Impl_, makespan_cost_per_time_unit_),
2364 offsetof(Impl_, seed_) -
2365 offsetof(Impl_, makespan_cost_per_time_unit_) +
2366 sizeof(Impl_::seed_));
2370PROTOBUF_NDEBUG_INLINE JsspInputProblem::Impl_::Impl_(
2371 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2372 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2374 jobs_{visibility, arena},
2375 machines_{visibility, arena},
2376 precedences_{visibility, arena},
2379inline void JsspInputProblem::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2380 new (&
_impl_) Impl_(internal_visibility(), arena);
2381 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
2382 offsetof(Impl_, scaling_factor_),
2384 offsetof(Impl_, seed_) -
2385 offsetof(Impl_, scaling_factor_) +
2386 sizeof(Impl_::seed_));
2392inline void JsspInputProblem::SharedDtor(
MessageLite& self) {
2394 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2395 this_.CheckHasBitConsistency();
2397 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2398 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2399 this_.
_impl_.name_.Destroy();
2400 delete this_.
_impl_.scaling_factor_;
2404inline void* PROTOBUF_NONNULL JsspInputProblem::PlacementNew_(
2405 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2406 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2407 return ::new (mem) JsspInputProblem(arena);
2409constexpr auto JsspInputProblem::InternalNewImpl_() {
2410 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2411 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.jobs_) +
2413 InternalGetArenaOffset(
2415 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.machines_) +
2416 decltype(JsspInputProblem::
_impl_.machines_)::
2417 InternalGetArenaOffset(
2419 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.precedences_) +
2420 decltype(JsspInputProblem::
_impl_.precedences_)::
2421 InternalGetArenaOffset(
2424 if (arena_bits.has_value()) {
2425 return ::google::protobuf::internal::MessageCreator::CopyInit(
2426 sizeof(JsspInputProblem), alignof(JsspInputProblem), *arena_bits);
2428 return ::google::protobuf::internal::MessageCreator(&JsspInputProblem::PlacementNew_,
2429 sizeof(JsspInputProblem),
2430 alignof(JsspInputProblem));
2434 return ::google::protobuf::internal::ClassDataFull{
2435 ::google::protobuf::internal::ClassData{
2440 &JsspInputProblem::MergeImpl,
2441 ::google::protobuf::Message::GetNewImpl<JsspInputProblem>(),
2442#if defined(PROTOBUF_CUSTOM_VTABLE)
2443 &JsspInputProblem::SharedDtor,
2450 &JsspInputProblem::kDescriptorMethods,
2456PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2460PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2461JsspInputProblem::GetClassData()
const {
2466PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2467const ::_pbi::TcParseTable<3, 7, 4, 65, 2>
2468JsspInputProblem::_table_ = {
2470 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_._has_bits_),
2473 offsetof(
decltype(_table_), field_lookup_table),
2475 offsetof(
decltype(_table_), field_entries),
2478 offsetof(
decltype(_table_), aux_entries),
2481 ::_pbi::TcParser::GenericFallback,
2482 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2483 ::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::JsspInputProblem>(),
2487 {::_pbi::TcParser::FastUS2,
2489 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.name_)}},
2491 {::_pbi::TcParser::FastMtR1,
2493 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.jobs_)}},
2495 {::_pbi::TcParser::FastMtR1,
2497 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.machines_)}},
2499 {::_pbi::TcParser::FastMtR1,
2501 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.precedences_)}},
2503 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(JsspInputProblem,
_impl_.makespan_cost_per_time_unit_), 5>(),
2505 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.makespan_cost_per_time_unit_)}},
2507 {::_pbi::TcParser::FastMtS1,
2509 PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.scaling_factor_)}},
2510 {::_pbi::TcParser::MiniParse, {}},
2511 {::_pbi::TcParser::MiniParse, {}},
2516 {PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.jobs_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2518 {PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.machines_),
_Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2520 {PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.precedences_),
_Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2522 {PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.makespan_cost_per_time_unit_),
_Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2524 {PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.scaling_factor_),
_Internal::kHasBitsOffset + 4, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2526 {PROTOBUF_FIELD_OFFSET(JsspInputProblem,
_impl_.name_),
_Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2531 {::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::Job>()},
2532 {::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::Machine>()},
2533 {::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::JobPrecedence>()},
2534 {::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>()},
2538 "operations_research.scheduling.jssp.JsspInputProblem"
2544 ::google::protobuf::internal::TSanWrite(&
_impl_);
2545 ::uint32_t cached_has_bits = 0;
2547 (void) cached_has_bits;
2549 cached_has_bits =
_impl_._has_bits_[0];
2550 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2551 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2554 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2555 _impl_.machines_.Clear();
2557 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2558 _impl_.precedences_.Clear();
2560 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2561 _impl_.name_.ClearNonDefaultToEmpty();
2563 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2564 ABSL_DCHECK(
_impl_.scaling_factor_ !=
nullptr);
2565 _impl_.scaling_factor_->Clear();
2568 if (BatchCheckHasBit(cached_has_bits, 0x00000060U)) {
2569 ::memset(&
_impl_.makespan_cost_per_time_unit_, 0,
static_cast<::
size_t>(
2570 reinterpret_cast<char*
>(&
_impl_.seed_) -
2571 reinterpret_cast<char*
>(&
_impl_.makespan_cost_per_time_unit_)) +
sizeof(
_impl_.seed_));
2573 _impl_._has_bits_.Clear();
2574 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2577#if defined(PROTOBUF_CUSTOM_VTABLE)
2579 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2580 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2581 const JsspInputProblem& this_ =
static_cast<const JsspInputProblem&
>(
base);
2584 ::uint8_t* PROTOBUF_NONNULL target,
2585 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2586 const JsspInputProblem& this_ = *
this;
2588 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2589 this_.CheckHasBitConsistency();
2592 ::uint32_t cached_has_bits = 0;
2593 (void)cached_has_bits;
2595 cached_has_bits = this_.
_impl_._has_bits_[0];
2597 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2598 for (
unsigned i = 0, n =
static_cast<unsigned>(
2599 this_._internal_jobs_size());
2601 const auto& repfield = this_._internal_jobs().Get(i);
2603 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2604 1, repfield, repfield.GetCachedSize(),
2610 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2611 for (
unsigned i = 0, n =
static_cast<unsigned>(
2612 this_._internal_machines_size());
2614 const auto& repfield = this_._internal_machines().Get(i);
2616 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2617 2, repfield, repfield.GetCachedSize(),
2623 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2624 for (
unsigned i = 0, n =
static_cast<unsigned>(
2625 this_._internal_precedences_size());
2627 const auto& repfield = this_._internal_precedences().Get(i);
2629 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2630 3, repfield, repfield.GetCachedSize(),
2636 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2637 if (this_._internal_makespan_cost_per_time_unit() != 0) {
2639 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
2640 stream, this_._internal_makespan_cost_per_time_unit(), target);
2645 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2646 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2647 5, *this_._impl_.scaling_factor_, this_._impl_.scaling_factor_->GetCachedSize(), target,
2652 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2653 if (!this_._internal_name().empty()) {
2654 const ::std::string& _s = this_._internal_name();
2655 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2656 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.scheduling.jssp.JsspInputProblem.name");
2657 target = stream->WriteStringMaybeAliased(16, _s, target);
2662 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2663 if (this_._internal_seed() != 0) {
2664 target = stream->EnsureSpace(target);
2665 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
2666 24, this_._internal_seed(), target);
2670 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2672 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2673 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2679#if defined(PROTOBUF_CUSTOM_VTABLE)
2681 const JsspInputProblem& this_ =
static_cast<const JsspInputProblem&
>(base);
2684 const JsspInputProblem& this_ = *
this;
2687 ::size_t total_size = 0;
2689 ::uint32_t cached_has_bits = 0;
2691 (void)cached_has_bits;
2693 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2694 cached_has_bits = this_._impl_._has_bits_[0];
2695 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
2697 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2698 total_size += 1UL * this_._internal_jobs_size();
2699 for (
const auto& msg : this_._internal_jobs()) {
2700 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2704 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2705 total_size += 1UL * this_._internal_machines_size();
2706 for (
const auto& msg : this_._internal_machines()) {
2707 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2711 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2712 total_size += 1UL * this_._internal_precedences_size();
2713 for (
const auto& msg : this_._internal_precedences()) {
2714 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2718 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2719 if (!this_._internal_name().empty()) {
2720 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
2721 this_._internal_name());
2725 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2727 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.scaling_factor_);
2730 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2731 if (this_._internal_makespan_cost_per_time_unit() != 0) {
2732 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2733 this_._internal_makespan_cost_per_time_unit());
2737 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2738 if (this_._internal_seed() != 0) {
2739 total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
2740 this_._internal_seed());
2744 return this_.MaybeComputeUnknownFieldsSize(total_size,
2745 &this_._impl_._cached_size_);
2748void JsspInputProblem::MergeImpl(::google::protobuf::MessageLite& to_msg,
2749 const ::google::protobuf::MessageLite& from_msg) {
2751 static_cast<JsspInputProblem*
>(&to_msg);
2752 auto& from =
static_cast<const JsspInputProblem&
>(from_msg);
2753 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2754 from.CheckHasBitConsistency();
2758 ABSL_DCHECK_NE(&from, _this);
2759 ::uint32_t cached_has_bits = 0;
2760 (void)cached_has_bits;
2762 cached_has_bits = from._impl_._has_bits_[0];
2763 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
2764 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2765 _this->_internal_mutable_jobs()->InternalMergeFromWithArena(
2766 ::google::protobuf::MessageLite::internal_visibility(), arena,
2767 from._internal_jobs());
2769 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2770 _this->_internal_mutable_machines()->InternalMergeFromWithArena(
2771 ::google::protobuf::MessageLite::internal_visibility(), arena,
2772 from._internal_machines());
2774 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2775 _this->_internal_mutable_precedences()->InternalMergeFromWithArena(
2776 ::google::protobuf::MessageLite::internal_visibility(), arena,
2777 from._internal_precedences());
2779 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2780 if (!from._internal_name().empty()) {
2781 _this->_internal_set_name(from._internal_name());
2783 if (_this->_impl_.name_.IsDefault()) {
2784 _this->_internal_set_name(
"");
2788 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2789 ABSL_DCHECK(from._impl_.scaling_factor_ !=
nullptr);
2790 if (_this->_impl_.scaling_factor_ ==
nullptr) {
2791 _this->_impl_.scaling_factor_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.scaling_factor_);
2793 _this->_impl_.scaling_factor_->MergeFrom(*from._impl_.scaling_factor_);
2796 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2797 if (from._internal_makespan_cost_per_time_unit() != 0) {
2798 _this->_impl_.makespan_cost_per_time_unit_ = from._impl_.makespan_cost_per_time_unit_;
2801 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2802 if (from._internal_seed() != 0) {
2803 _this->_impl_.seed_ = from._impl_.seed_;
2807 _this->_impl_._has_bits_[0] |= cached_has_bits;
2808 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2809 from._internal_metadata_);
2814 if (&from ==
this)
return;
2820void JsspInputProblem::InternalSwap(
JsspInputProblem* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2822 auto* arena = GetArena();
2823 ABSL_DCHECK_EQ(arena, other->GetArena());
2824 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2825 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2826 _impl_.jobs_.InternalSwap(&other->_impl_.jobs_);
2827 _impl_.machines_.InternalSwap(&other->_impl_.machines_);
2828 _impl_.precedences_.InternalSwap(&other->_impl_.precedences_);
2829 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
2830 ::google::protobuf::internal::memswap<
2834 reinterpret_cast<char*
>(&
_impl_.scaling_factor_),
2835 reinterpret_cast<char*
>(&other->_impl_.scaling_factor_));
2839 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2843class AssignedTask::_Internal {
2846 decltype(::std::declval<AssignedTask>()._impl_._has_bits_);
2847 static constexpr ::int32_t kHasBitsOffset =
2852#if defined(PROTOBUF_CUSTOM_VTABLE)
2855 : ::google::protobuf::Message(arena) {
2861 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const AssignedTask& from)
2862#if defined(PROTOBUF_CUSTOM_VTABLE)
2865 : ::google::protobuf::Message(arena),
2868 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2869 from._internal_metadata_);
2871PROTOBUF_NDEBUG_INLINE AssignedTask::Impl_::Impl_(
2872 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2873 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2874 : _cached_size_{0} {}
2876inline void AssignedTask::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2877 new (&
_impl_) Impl_(internal_visibility(), arena);
2878 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
2879 offsetof(Impl_, start_time_),
2881 offsetof(Impl_, alternative_index_) -
2882 offsetof(Impl_, start_time_) +
2883 sizeof(Impl_::alternative_index_));
2889inline void AssignedTask::SharedDtor(
MessageLite& self) {
2891 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2892 this_.CheckHasBitConsistency();
2894 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2895 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2896 this_._impl_.~Impl_();
2899inline void* PROTOBUF_NONNULL AssignedTask::PlacementNew_(
2900 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2901 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2904constexpr auto AssignedTask::InternalNewImpl_() {
2905 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
AssignedTask),
2909 return ::google::protobuf::internal::ClassDataFull{
2910 ::google::protobuf::internal::ClassData{
2915 &AssignedTask::MergeImpl,
2916 ::google::protobuf::Message::GetNewImpl<AssignedTask>(),
2917#if defined(PROTOBUF_CUSTOM_VTABLE)
2918 &AssignedTask::SharedDtor,
2925 &AssignedTask::kDescriptorMethods,
2931PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2935PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2936AssignedTask::GetClassData()
const {
2941PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2942const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
2943AssignedTask::_table_ = {
2948 offsetof(
decltype(_table_), field_lookup_table),
2950 offsetof(
decltype(_table_), field_entries),
2953 offsetof(
decltype(_table_), field_names),
2956 ::_pbi::TcParser::GenericFallback,
2957 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2958 ::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::AssignedTask>(),
2962 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
AssignedTask,
_impl_.start_time_), 0>(),
2966 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
AssignedTask,
_impl_.alternative_index_), 1>(),
2983 ::google::protobuf::internal::TSanWrite(&
_impl_);
2984 ::uint32_t cached_has_bits = 0;
2986 (void) cached_has_bits;
2989 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2990 ::memset(&
_impl_.start_time_, 0,
static_cast<::
size_t>(
2991 reinterpret_cast<char*
>(&
_impl_.alternative_index_) -
2992 reinterpret_cast<char*
>(&
_impl_.start_time_)) +
sizeof(
_impl_.alternative_index_));
2994 _impl_._has_bits_.Clear();
2995 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2998#if defined(PROTOBUF_CUSTOM_VTABLE)
3000 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3001 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3005 ::uint8_t* PROTOBUF_NONNULL target,
3006 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3009 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3010 this_.CheckHasBitConsistency();
3013 ::uint32_t cached_has_bits = 0;
3014 (void)cached_has_bits;
3016 cached_has_bits = this_._impl_._has_bits_[0];
3018 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3019 if (this_._internal_alternative_index() != 0) {
3021 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
3022 stream, this_._internal_alternative_index(), target);
3027 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3028 if (this_._internal_start_time() != 0) {
3030 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
3031 stream, this_._internal_start_time(), target);
3035 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3037 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3038 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3044#if defined(PROTOBUF_CUSTOM_VTABLE)
3052 ::size_t total_size = 0;
3054 ::uint32_t cached_has_bits = 0;
3056 (void)cached_has_bits;
3058 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3059 cached_has_bits = this_._impl_._has_bits_[0];
3060 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3062 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3063 if (this_._internal_start_time() != 0) {
3064 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
3065 this_._internal_start_time());
3069 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3070 if (this_._internal_alternative_index() != 0) {
3071 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3072 this_._internal_alternative_index());
3076 return this_.MaybeComputeUnknownFieldsSize(total_size,
3077 &this_._impl_._cached_size_);
3080void AssignedTask::MergeImpl(::google::protobuf::MessageLite& to_msg,
3081 const ::google::protobuf::MessageLite& from_msg) {
3084 auto& from =
static_cast<const AssignedTask&
>(from_msg);
3085 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3086 from.CheckHasBitConsistency();
3089 ABSL_DCHECK_NE(&from, _this);
3090 ::uint32_t cached_has_bits = 0;
3091 (void)cached_has_bits;
3093 cached_has_bits = from.
_impl_._has_bits_[0];
3094 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3095 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3096 if (from._internal_start_time() != 0) {
3097 _this->_impl_.start_time_ = from.
_impl_.start_time_;
3100 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3101 if (from._internal_alternative_index() != 0) {
3102 _this->_impl_.alternative_index_ = from.
_impl_.alternative_index_;
3106 _this->_impl_._has_bits_[0] |= cached_has_bits;
3107 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3108 from._internal_metadata_);
3113 if (&from ==
this)
return;
3119void AssignedTask::InternalSwap(
AssignedTask* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3121 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3122 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3123 ::google::protobuf::internal::memswap<
3127 reinterpret_cast<char*
>(&
_impl_.start_time_),
3128 reinterpret_cast<char*
>(&other->_impl_.start_time_));
3132 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3136class AssignedJob::_Internal {
3139 decltype(::std::declval<AssignedJob>()._impl_._has_bits_);
3140 static constexpr ::int32_t kHasBitsOffset =
3145#if defined(PROTOBUF_CUSTOM_VTABLE)
3148 : ::google::protobuf::Message(arena) {
3153PROTOBUF_NDEBUG_INLINE AssignedJob::Impl_::Impl_(
3154 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3155 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3156 [[maybe_unused]] const ::operations_research::scheduling::jssp::AssignedJob& from_msg)
3157 : _has_bits_{from._has_bits_},
3159 tasks_{visibility, arena, from.tasks_} {}
3162 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3164#if defined(PROTOBUF_CUSTOM_VTABLE)
3167 : ::google::protobuf::Message(arena) {
3171 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3172 from._internal_metadata_);
3173 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
3174 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
3175 offsetof(Impl_, due_date_cost_),
3176 reinterpret_cast<const char*
>(&from.
_impl_) +
3177 offsetof(Impl_, due_date_cost_),
3178 offsetof(Impl_, sum_of_task_costs_) -
3179 offsetof(Impl_, due_date_cost_) +
3180 sizeof(Impl_::sum_of_task_costs_));
3184PROTOBUF_NDEBUG_INLINE AssignedJob::Impl_::Impl_(
3185 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3186 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3188 tasks_{visibility, arena} {}
3190inline void AssignedJob::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3191 new (&
_impl_) Impl_(internal_visibility(), arena);
3192 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
3193 offsetof(Impl_, due_date_cost_),
3195 offsetof(Impl_, sum_of_task_costs_) -
3196 offsetof(Impl_, due_date_cost_) +
3197 sizeof(Impl_::sum_of_task_costs_));
3203inline void AssignedJob::SharedDtor(
MessageLite& self) {
3205 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3206 this_.CheckHasBitConsistency();
3208 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3209 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3210 this_._impl_.~Impl_();
3213inline void* PROTOBUF_NONNULL AssignedJob::PlacementNew_(
3214 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3215 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3218constexpr auto AssignedJob::InternalNewImpl_() {
3219 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3222 InternalGetArenaOffset(
3225 if (arena_bits.has_value()) {
3226 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3227 sizeof(AssignedJob), alignof(AssignedJob), *arena_bits);
3229 return ::google::protobuf::internal::MessageCreator(&AssignedJob::PlacementNew_,
3230 sizeof(AssignedJob),
3231 alignof(AssignedJob));
3235 return ::google::protobuf::internal::ClassDataFull{
3236 ::google::protobuf::internal::ClassData{
3241 &AssignedJob::MergeImpl,
3242 ::google::protobuf::Message::GetNewImpl<AssignedJob>(),
3243#if defined(PROTOBUF_CUSTOM_VTABLE)
3244 &AssignedJob::SharedDtor,
3251 &AssignedJob::kDescriptorMethods,
3257PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3261PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3262AssignedJob::GetClassData()
const {
3267PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3268const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
3269AssignedJob::_table_ = {
3274 offsetof(
decltype(_table_), field_lookup_table),
3276 offsetof(
decltype(_table_), field_entries),
3279 offsetof(
decltype(_table_), aux_entries),
3282 ::_pbi::TcParser::GenericFallback,
3283 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3284 ::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::AssignedJob>(),
3287 {::_pbi::TcParser::MiniParse, {}},
3289 {::_pbi::TcParser::FastMtR1,
3293 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
AssignedJob,
_impl_.due_date_cost_), 1>(),
3297 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
AssignedJob,
_impl_.sum_of_task_costs_), 2>(),
3311 {::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::AssignedTask>()},
3318 ::google::protobuf::internal::TSanWrite(&
_impl_);
3319 ::uint32_t cached_has_bits = 0;
3321 (void) cached_has_bits;
3323 cached_has_bits =
_impl_._has_bits_[0];
3324 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3327 if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
3328 ::memset(&
_impl_.due_date_cost_, 0,
static_cast<::
size_t>(
3329 reinterpret_cast<char*
>(&
_impl_.sum_of_task_costs_) -
3330 reinterpret_cast<char*
>(&
_impl_.due_date_cost_)) +
sizeof(
_impl_.sum_of_task_costs_));
3332 _impl_._has_bits_.Clear();
3333 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3336#if defined(PROTOBUF_CUSTOM_VTABLE)
3338 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3339 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3343 ::uint8_t* PROTOBUF_NONNULL target,
3344 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3347 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3348 this_.CheckHasBitConsistency();
3351 ::uint32_t cached_has_bits = 0;
3352 (void)cached_has_bits;
3354 cached_has_bits = this_._impl_._has_bits_[0];
3356 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3357 for (
unsigned i = 0, n =
static_cast<unsigned>(
3358 this_._internal_tasks_size());
3360 const auto& repfield = this_._internal_tasks().Get(i);
3362 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3363 1, repfield, repfield.GetCachedSize(),
3369 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3370 if (this_._internal_due_date_cost() != 0) {
3372 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
3373 stream, this_._internal_due_date_cost(), target);
3378 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3379 if (this_._internal_sum_of_task_costs() != 0) {
3381 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
3382 stream, this_._internal_sum_of_task_costs(), target);
3386 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3388 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3389 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3395#if defined(PROTOBUF_CUSTOM_VTABLE)
3403 ::size_t total_size = 0;
3405 ::uint32_t cached_has_bits = 0;
3407 (void)cached_has_bits;
3409 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3410 cached_has_bits = this_._impl_._has_bits_[0];
3411 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3413 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3414 total_size += 1UL * this_._internal_tasks_size();
3415 for (
const auto& msg : this_._internal_tasks()) {
3416 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3420 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3421 if (this_._internal_due_date_cost() != 0) {
3422 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
3423 this_._internal_due_date_cost());
3427 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3428 if (this_._internal_sum_of_task_costs() != 0) {
3429 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
3430 this_._internal_sum_of_task_costs());
3434 return this_.MaybeComputeUnknownFieldsSize(total_size,
3435 &this_._impl_._cached_size_);
3438void AssignedJob::MergeImpl(::google::protobuf::MessageLite& to_msg,
3439 const ::google::protobuf::MessageLite& from_msg) {
3442 auto& from =
static_cast<const AssignedJob&
>(from_msg);
3443 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3444 from.CheckHasBitConsistency();
3448 ABSL_DCHECK_NE(&from, _this);
3449 ::uint32_t cached_has_bits = 0;
3450 (void)cached_has_bits;
3452 cached_has_bits = from.
_impl_._has_bits_[0];
3453 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3454 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3455 _this->_internal_mutable_tasks()->InternalMergeFromWithArena(
3456 ::google::protobuf::MessageLite::internal_visibility(), arena,
3457 from._internal_tasks());
3459 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3460 if (from._internal_due_date_cost() != 0) {
3461 _this->
_impl_.due_date_cost_ = from.
_impl_.due_date_cost_;
3464 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3465 if (from._internal_sum_of_task_costs() != 0) {
3466 _this->
_impl_.sum_of_task_costs_ = from.
_impl_.sum_of_task_costs_;
3470 _this->
_impl_._has_bits_[0] |= cached_has_bits;
3471 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3472 from._internal_metadata_);
3477 if (&from ==
this)
return;
3483void AssignedJob::InternalSwap(
AssignedJob* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3485 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3486 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3487 _impl_.tasks_.InternalSwap(&other->_impl_.tasks_);
3488 ::google::protobuf::internal::memswap<
3492 reinterpret_cast<char*
>(&
_impl_.due_date_cost_),
3493 reinterpret_cast<char*
>(&other->_impl_.due_date_cost_));
3497 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3501class JsspOutputSolution::_Internal {
3504 decltype(::std::declval<JsspOutputSolution>()._impl_._has_bits_);
3505 static constexpr ::int32_t kHasBitsOffset =
3510#if defined(PROTOBUF_CUSTOM_VTABLE)
3513 : ::google::protobuf::Message(arena) {
3518PROTOBUF_NDEBUG_INLINE JsspOutputSolution::Impl_::Impl_(
3519 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3520 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3521 [[maybe_unused]] const ::operations_research::scheduling::jssp::JsspOutputSolution& from_msg)
3522 : _has_bits_{from._has_bits_},
3524 jobs_{visibility, arena, from.jobs_} {}
3527 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3529#if defined(PROTOBUF_CUSTOM_VTABLE)
3532 : ::google::protobuf::Message(arena) {
3536 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3537 from._internal_metadata_);
3538 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
3539 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
3540 offsetof(Impl_, makespan_cost_),
3541 reinterpret_cast<const char*
>(&from.
_impl_) +
3542 offsetof(Impl_, makespan_cost_),
3543 offsetof(Impl_, total_cost_) -
3544 offsetof(Impl_, makespan_cost_) +
3545 sizeof(Impl_::total_cost_));
3549PROTOBUF_NDEBUG_INLINE JsspOutputSolution::Impl_::Impl_(
3550 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3551 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3553 jobs_{visibility, arena} {}
3555inline void JsspOutputSolution::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3556 new (&
_impl_) Impl_(internal_visibility(), arena);
3557 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
3558 offsetof(Impl_, makespan_cost_),
3560 offsetof(Impl_, total_cost_) -
3561 offsetof(Impl_, makespan_cost_) +
3562 sizeof(Impl_::total_cost_));
3568inline void JsspOutputSolution::SharedDtor(
MessageLite& self) {
3570 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3571 this_.CheckHasBitConsistency();
3573 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3574 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3575 this_._impl_.~Impl_();
3578inline void* PROTOBUF_NONNULL JsspOutputSolution::PlacementNew_(
3579 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3580 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3583constexpr auto JsspOutputSolution::InternalNewImpl_() {
3584 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3587 InternalGetArenaOffset(
3590 if (arena_bits.has_value()) {
3591 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3592 sizeof(JsspOutputSolution), alignof(JsspOutputSolution), *arena_bits);
3594 return ::google::protobuf::internal::MessageCreator(&JsspOutputSolution::PlacementNew_,
3595 sizeof(JsspOutputSolution),
3596 alignof(JsspOutputSolution));
3600 return ::google::protobuf::internal::ClassDataFull{
3601 ::google::protobuf::internal::ClassData{
3606 &JsspOutputSolution::MergeImpl,
3607 ::google::protobuf::Message::GetNewImpl<JsspOutputSolution>(),
3608#if defined(PROTOBUF_CUSTOM_VTABLE)
3609 &JsspOutputSolution::SharedDtor,
3616 &JsspOutputSolution::kDescriptorMethods,
3622PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3626PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3627JsspOutputSolution::GetClassData()
const {
3632PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3633const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
3634JsspOutputSolution::_table_ = {
3639 offsetof(
decltype(_table_), field_lookup_table),
3641 offsetof(
decltype(_table_), field_entries),
3644 offsetof(
decltype(_table_), aux_entries),
3647 ::_pbi::TcParser::GenericFallback,
3648 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3649 ::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::JsspOutputSolution>(),
3652 {::_pbi::TcParser::MiniParse, {}},
3654 {::_pbi::TcParser::FastMtR1,
3676 {::_pbi::TcParser::GetTable<::operations_research::scheduling::jssp::AssignedJob>()},
3683 ::google::protobuf::internal::TSanWrite(&
_impl_);
3684 ::uint32_t cached_has_bits = 0;
3686 (void) cached_has_bits;
3688 cached_has_bits =
_impl_._has_bits_[0];
3689 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3692 if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
3693 ::memset(&
_impl_.makespan_cost_, 0,
static_cast<::
size_t>(
3694 reinterpret_cast<char*
>(&
_impl_.total_cost_) -
3695 reinterpret_cast<char*
>(&
_impl_.makespan_cost_)) +
sizeof(
_impl_.total_cost_));
3697 _impl_._has_bits_.Clear();
3698 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3701#if defined(PROTOBUF_CUSTOM_VTABLE)
3703 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3704 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3708 ::uint8_t* PROTOBUF_NONNULL target,
3709 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3712 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3713 this_.CheckHasBitConsistency();
3716 ::uint32_t cached_has_bits = 0;
3717 (void)cached_has_bits;
3719 cached_has_bits = this_._impl_._has_bits_[0];
3721 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3722 for (
unsigned i = 0, n =
static_cast<unsigned>(
3723 this_._internal_jobs_size());
3725 const auto& repfield = this_._internal_jobs().Get(i);
3727 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3728 1, repfield, repfield.GetCachedSize(),
3734 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3735 if (this_._internal_makespan_cost() != 0) {
3737 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
3738 stream, this_._internal_makespan_cost(), target);
3743 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3744 if (this_._internal_total_cost() != 0) {
3746 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
3747 stream, this_._internal_total_cost(), target);
3751 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3753 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3754 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3760#if defined(PROTOBUF_CUSTOM_VTABLE)
3768 ::size_t total_size = 0;
3770 ::uint32_t cached_has_bits = 0;
3772 (void)cached_has_bits;
3774 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3775 cached_has_bits = this_._impl_._has_bits_[0];
3776 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3778 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3779 total_size += 1UL * this_._internal_jobs_size();
3780 for (
const auto& msg : this_._internal_jobs()) {
3781 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3785 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3786 if (this_._internal_makespan_cost() != 0) {
3787 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
3788 this_._internal_makespan_cost());
3792 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3793 if (this_._internal_total_cost() != 0) {
3794 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
3795 this_._internal_total_cost());
3799 return this_.MaybeComputeUnknownFieldsSize(total_size,
3800 &this_._impl_._cached_size_);
3803void JsspOutputSolution::MergeImpl(::google::protobuf::MessageLite& to_msg,
3804 const ::google::protobuf::MessageLite& from_msg) {
3808 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3809 from.CheckHasBitConsistency();
3813 ABSL_DCHECK_NE(&from, _this);
3814 ::uint32_t cached_has_bits = 0;
3815 (void)cached_has_bits;
3817 cached_has_bits = from.
_impl_._has_bits_[0];
3818 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3819 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3820 _this->_internal_mutable_jobs()->InternalMergeFromWithArena(
3821 ::google::protobuf::MessageLite::internal_visibility(), arena,
3822 from._internal_jobs());
3824 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3825 if (from._internal_makespan_cost() != 0) {
3826 _this->
_impl_.makespan_cost_ = from.
_impl_.makespan_cost_;
3829 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3830 if (from._internal_total_cost() != 0) {
3835 _this->
_impl_._has_bits_[0] |= cached_has_bits;
3836 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3837 from._internal_metadata_);
3842 if (&from ==
this)
return;
3848void JsspOutputSolution::InternalSwap(
JsspOutputSolution* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3850 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3851 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3852 _impl_.jobs_.InternalSwap(&other->_impl_.jobs_);
3853 ::google::protobuf::internal::memswap<
3857 reinterpret_cast<char*
>(&
_impl_.makespan_cost_),
3858 reinterpret_cast<char*
>(&other->_impl_.makespan_cost_));
3862 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3873PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
3876 ::std::false_type{});
3877#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
~AssignedJob() PROTOBUF_FINAL
friend void swap(AssignedJob &a, AssignedJob &b)
void MergeFrom(const AssignedJob &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const AssignedJob &from)
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const AssignedTask &from)
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const AssignedTask &from)
::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
friend void swap(AssignedTask &a, AssignedTask &b)
~AssignedTask() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
::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
~JobPrecedence() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const JobPrecedence &from)
decltype(::std::declval< Job >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
void MergeFrom(const Job &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const Job &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::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 void swap(Job &a, Job &b)
void clear_earliest_start()
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
friend void swap(JsspOutputSolution &a, JsspOutputSolution &b)
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
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
::size_t ByteSizeLong() const final
void CopyFrom(const JsspOutputSolution &from)
void MergeFrom(const JsspOutputSolution &from)
~JsspOutputSolution() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
void MergeFrom(const Machine &from)
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
~Machine() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const Machine &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< Task >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
void MergeFrom(const Task &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const Task &from)
friend void swap(Task &a, Task &b)
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr ::int32_t kHasBitsOffset
~TransitionTimeMatrix() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const TransitionTimeMatrix &from)
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const TransitionTimeMatrix &from)
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
const ::uint32_t TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto_deps[1]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto
::absl::once_flag descriptor_table_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto_once
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull JsspInputProblem_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull JobPrecedence_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MachineDefaultTypeInternal _Machine_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull TransitionTimeMatrix_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobPrecedenceDefaultTypeInternal _JobPrecedence_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TransitionTimeMatrixDefaultTypeInternal _TransitionTimeMatrix_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Job_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AssignedJob_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JsspInputProblemDefaultTypeInternal _JsspInputProblem_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Machine_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TaskDefaultTypeInternal _Task_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Task_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignedJobDefaultTypeInternal _AssignedJob_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobDefaultTypeInternal _Job_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull JsspOutputSolution_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JsspOutputSolutionDefaultTypeInternal _JsspOutputSolution_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignedTaskDefaultTypeInternal _AssignedTask_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AssignedTask_class_data_
~AssignedJobDefaultTypeInternal()
PROTOBUF_CONSTEXPR AssignedJobDefaultTypeInternal()
PROTOBUF_CONSTEXPR AssignedTaskDefaultTypeInternal()
~AssignedTaskDefaultTypeInternal()
PROTOBUF_CONSTEXPR JobDefaultTypeInternal()
~JobDefaultTypeInternal()
~JobPrecedenceDefaultTypeInternal()
PROTOBUF_CONSTEXPR JobPrecedenceDefaultTypeInternal()
~JsspOutputSolutionDefaultTypeInternal()
JsspOutputSolution _instance
PROTOBUF_CONSTEXPR JsspOutputSolutionDefaultTypeInternal()
~MachineDefaultTypeInternal()
PROTOBUF_CONSTEXPR MachineDefaultTypeInternal()
PROTOBUF_CONSTEXPR TaskDefaultTypeInternal()
~TaskDefaultTypeInternal()
~TransitionTimeMatrixDefaultTypeInternal()
PROTOBUF_CONSTEXPR TransitionTimeMatrixDefaultTypeInternal()
TransitionTimeMatrix _instance