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 Resource::Impl_::Impl_(
32 ::_pbi::ConstantInitialized) noexcept
41#if defined(PROTOBUF_CUSTOM_VTABLE)
44 : ::google::protobuf::Message(),
46 _impl_(::_pbi::ConstantInitialized()) {
56PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
59inline constexpr Recipe::Impl_::Impl_(
60 ::_pbi::ConstantInitialized) noexcept
63 _demands_cached_byte_size_{0},
65 _resources_cached_byte_size_{0},
70#if defined(PROTOBUF_CUSTOM_VTABLE)
73 : ::google::protobuf::Message(),
75 _impl_(::_pbi::ConstantInitialized()) {
85PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
88inline constexpr RcpspAssignment::Impl_::Impl_(
89 ::_pbi::ConstantInitialized) noexcept
92 _start_of_task_cached_byte_size_{0},
93 selected_recipe_of_task_{},
94 _selected_recipe_of_task_cached_byte_size_{0} {}
98#if defined(PROTOBUF_CUSTOM_VTABLE)
101 : ::google::protobuf::Message(),
103 _impl_(::_pbi::ConstantInitialized()) {
113PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
116inline constexpr PerRecipeDelays::Impl_::Impl_(
117 ::_pbi::ConstantInitialized) noexcept
120 _min_delays_cached_byte_size_{0} {}
124#if defined(PROTOBUF_CUSTOM_VTABLE)
127 : ::google::protobuf::Message(),
129 _impl_(::_pbi::ConstantInitialized()) {
139PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
142inline constexpr PerSuccessorDelays::Impl_::Impl_(
143 ::_pbi::ConstantInitialized) noexcept
149#if defined(PROTOBUF_CUSTOM_VTABLE)
152 : ::google::protobuf::Message(),
154 _impl_(::_pbi::ConstantInitialized()) {
164PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
167inline constexpr Task::Impl_::Impl_(
168 ::_pbi::ConstantInitialized) noexcept
171 _successors_cached_byte_size_{0},
173 successor_delays_{} {}
177#if defined(PROTOBUF_CUSTOM_VTABLE)
180 : ::google::protobuf::Message(),
182 _impl_(::_pbi::ConstantInitialized()) {
192PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
195inline constexpr RcpspProblem::Impl_::Impl_(
196 ::_pbi::ConstantInitialized) noexcept
201 &::google::protobuf::internal::fixed_address_empty_string,
202 ::_pbi::ConstantInitialized()),
204 &::google::protobuf::internal::fixed_address_empty_string,
205 ::_pbi::ConstantInitialized()),
206 is_consumer_producer_{
false},
207 is_resource_investment_{
false},
208 is_rcpsp_max_{
false},
219#if defined(PROTOBUF_CUSTOM_VTABLE)
222 : ::google::protobuf::Message(),
224 _impl_(::_pbi::ConstantInitialized()) {
234PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
239static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
241static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
325static const ::_pbi::MigrationSchema
346 "\n\036ortools/scheduling/rcpsp.proto\022$operat"
347 "ions_research.scheduling.rcpsp\"\\\n\010Resour"
348 "ce\022\024\n\014max_capacity\030\001 \001(\005\022\024\n\014min_capacity"
349 "\030\002 \001(\005\022\021\n\trenewable\030\003 \001(\010\022\021\n\tunit_cost\030\004"
350 " \001(\005\">\n\006Recipe\022\020\n\010duration\030\001 \001(\005\022\017\n\007dema"
351 "nds\030\002 \003(\005\022\021\n\tresources\030\003 \003(\005\"%\n\017PerRecip"
352 "eDelays\022\022\n\nmin_delays\030\001 \003(\005\"b\n\022PerSucces"
353 "sorDelays\022L\n\rrecipe_delays\030\001 \003(\01325.opera"
354 "tions_research.scheduling.rcpsp.PerRecip"
355 "eDelays\"\255\001\n\004Task\022\022\n\nsuccessors\030\001 \003(\005\022=\n\007"
356 "recipes\030\002 \003(\0132,.operations_research.sche"
357 "duling.rcpsp.Recipe\022R\n\020successor_delays\030"
358 "\003 \003(\01328.operations_research.scheduling.r"
359 "cpsp.PerSuccessorDelays\"\203\003\n\014RcpspProblem"
360 "\022A\n\tresources\030\001 \003(\0132..operations_researc"
361 "h.scheduling.rcpsp.Resource\0229\n\005tasks\030\002 \003"
362 "(\0132*.operations_research.scheduling.rcps"
363 "p.Task\022\034\n\024is_consumer_producer\030\003 \001(\010\022\036\n\026"
364 "is_resource_investment\030\004 \001(\010\022\024\n\014is_rcpsp"
365 "_max\030\005 \001(\010\022\020\n\010deadline\030\006 \001(\005\022\017\n\007horizon\030"
366 "\007 \001(\005\022\024\n\014release_date\030\010 \001(\005\022\026\n\016tardiness"
367 "_cost\030\t \001(\005\022\020\n\010mpm_time\030\n \001(\005\022\014\n\004seed\030\013 "
368 "\001(\003\022\020\n\010basedata\030\014 \001(\t\022\020\n\010due_date\030\r \001(\005\022"
369 "\014\n\004name\030\016 \001(\t\"I\n\017RcpspAssignment\022\025\n\rstar"
370 "t_of_task\030\001 \003(\003\022\037\n\027selected_recipe_of_ta"
371 "sk\030\002 \003(\005BI\n#com.google.ortools.schedulin"
372 "g.rcpspP\001\252\002\037Google.OrTools.Scheduling.Rc"
380 descriptor_table_protodef_ortools_2fscheduling_2frcpsp_2eproto,
381 "ortools/scheduling/rcpsp.proto",
400 decltype(::std::declval<Resource>()._impl_._has_bits_);
406#if defined(PROTOBUF_CUSTOM_VTABLE)
409 : ::google::protobuf::Message(arena) {
415 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Resource& from)
416#if defined(PROTOBUF_CUSTOM_VTABLE)
419 : ::google::protobuf::Message(arena),
422 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
423 from._internal_metadata_);
425PROTOBUF_NDEBUG_INLINE Resource::Impl_::Impl_(
426 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
427 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
428 : _cached_size_{0} {}
430inline void Resource::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
431 new (&
_impl_) Impl_(internal_visibility(), arena);
432 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
433 offsetof(Impl_, max_capacity_),
435 offsetof(Impl_, unit_cost_) -
436 offsetof(Impl_, max_capacity_) +
437 sizeof(Impl_::unit_cost_));
443inline void Resource::SharedDtor(
MessageLite& self) {
445 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
446 this_.CheckHasBitConsistency();
448 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
449 ABSL_DCHECK(this_.GetArena() ==
nullptr);
453inline void* PROTOBUF_NONNULL Resource::PlacementNew_(
454 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
455 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
458constexpr auto Resource::InternalNewImpl_() {
459 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
Resource),
463 return ::google::protobuf::internal::ClassDataFull{
464 ::google::protobuf::internal::ClassData{
469 &Resource::MergeImpl,
470 ::google::protobuf::Message::GetNewImpl<Resource>(),
471#if defined(PROTOBUF_CUSTOM_VTABLE)
472 &Resource::SharedDtor,
479 &Resource::kDescriptorMethods,
485PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
489PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
490Resource::GetClassData()
const {
495PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
496const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
502 offsetof(
decltype(_table_), field_lookup_table),
504 offsetof(
decltype(_table_), field_entries),
507 offsetof(
decltype(_table_), field_names),
510 ::_pbi::TcParser::GenericFallback,
511 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
512 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Resource>(),
516 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
Resource,
_impl_.unit_cost_), 3>(),
520 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
Resource,
_impl_.max_capacity_), 0>(),
524 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
Resource,
_impl_.min_capacity_), 1>(),
528 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
Resource,
_impl_.renewable_), 2>(),
549 ::google::protobuf::internal::TSanWrite(&
_impl_);
550 ::uint32_t cached_has_bits = 0;
552 (void) cached_has_bits;
554 cached_has_bits =
_impl_._has_bits_[0];
555 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
556 ::memset(&
_impl_.max_capacity_, 0,
static_cast<::
size_t>(
557 reinterpret_cast<char*
>(&
_impl_.unit_cost_) -
558 reinterpret_cast<char*
>(&
_impl_.max_capacity_)) +
sizeof(
_impl_.unit_cost_));
560 _impl_._has_bits_.Clear();
561 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
564#if defined(PROTOBUF_CUSTOM_VTABLE)
566 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
567 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
571 ::uint8_t* PROTOBUF_NONNULL target,
572 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
575 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
576 this_.CheckHasBitConsistency();
579 ::uint32_t cached_has_bits = 0;
580 (void)cached_has_bits;
582 cached_has_bits = this_.
_impl_._has_bits_[0];
584 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
585 if (this_._internal_max_capacity() != 0) {
587 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
588 stream, this_._internal_max_capacity(), target);
593 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
594 if (this_._internal_min_capacity() != 0) {
596 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
597 stream, this_._internal_min_capacity(), target);
602 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
603 if (this_._internal_renewable() != 0) {
604 target = stream->EnsureSpace(target);
605 target = ::_pbi::WireFormatLite::WriteBoolToArray(
606 3, this_._internal_renewable(), target);
611 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
612 if (this_._internal_unit_cost() != 0) {
614 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
615 stream, this_._internal_unit_cost(), target);
619 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
621 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
622 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
628#if defined(PROTOBUF_CUSTOM_VTABLE)
636 ::size_t total_size = 0;
638 ::uint32_t cached_has_bits = 0;
640 (void)cached_has_bits;
642 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
643 cached_has_bits = this_.
_impl_._has_bits_[0];
644 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
646 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
647 if (this_._internal_max_capacity() != 0) {
648 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
649 this_._internal_max_capacity());
653 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
654 if (this_._internal_min_capacity() != 0) {
655 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
656 this_._internal_min_capacity());
660 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
661 if (this_._internal_renewable() != 0) {
666 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
667 if (this_._internal_unit_cost() != 0) {
668 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
669 this_._internal_unit_cost());
673 return this_.MaybeComputeUnknownFieldsSize(total_size,
674 &this_.
_impl_._cached_size_);
677void Resource::MergeImpl(::google::protobuf::MessageLite& to_msg,
678 const ::google::protobuf::MessageLite& from_msg) {
681 auto& from =
static_cast<const Resource&
>(from_msg);
682 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
683 from.CheckHasBitConsistency();
686 ABSL_DCHECK_NE(&from, _this);
687 ::uint32_t cached_has_bits = 0;
688 (void)cached_has_bits;
690 cached_has_bits = from.
_impl_._has_bits_[0];
691 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
692 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
693 if (from._internal_max_capacity() != 0) {
694 _this->_impl_.max_capacity_ = from.
_impl_.max_capacity_;
697 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
698 if (from._internal_min_capacity() != 0) {
699 _this->_impl_.min_capacity_ = from.
_impl_.min_capacity_;
702 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
703 if (from._internal_renewable() != 0) {
704 _this->_impl_.renewable_ = from.
_impl_.renewable_;
707 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
708 if (from._internal_unit_cost() != 0) {
709 _this->_impl_.unit_cost_ = from.
_impl_.unit_cost_;
713 _this->_impl_._has_bits_[0] |= cached_has_bits;
714 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
715 from._internal_metadata_);
720 if (&from ==
this)
return;
726void Resource::InternalSwap(
Resource* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
728 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
729 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
730 ::google::protobuf::internal::memswap<
734 reinterpret_cast<char*
>(&
_impl_.max_capacity_),
735 reinterpret_cast<char*
>(&other->_impl_.max_capacity_));
739 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
746 decltype(::std::declval<Recipe>()._impl_._has_bits_);
752#if defined(PROTOBUF_CUSTOM_VTABLE)
755 : ::google::protobuf::Message(arena) {
760PROTOBUF_NDEBUG_INLINE Recipe::Impl_::Impl_(
761 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
762 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
763 [[maybe_unused]] const ::operations_research::scheduling::rcpsp::Recipe& from_msg)
764 : _has_bits_{from._has_bits_},
766 demands_{visibility, arena, from.demands_},
767 _demands_cached_byte_size_{0},
768 resources_{visibility, arena, from.resources_},
769 _resources_cached_byte_size_{0} {}
772 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
774#if defined(PROTOBUF_CUSTOM_VTABLE)
777 : ::google::protobuf::Message(arena) {
779 Recipe*
const _this =
this;
781 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
782 from._internal_metadata_);
783 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
784 _impl_.duration_ = from._impl_.duration_;
788PROTOBUF_NDEBUG_INLINE Recipe::Impl_::Impl_(
789 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
790 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
792 demands_{visibility, arena},
793 _demands_cached_byte_size_{0},
794 resources_{visibility, arena},
795 _resources_cached_byte_size_{0} {}
797inline void Recipe::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
798 new (&
_impl_) Impl_(internal_visibility(), arena);
807 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
808 this_.CheckHasBitConsistency();
810 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
811 ABSL_DCHECK(this_.GetArena() ==
nullptr);
815inline void* PROTOBUF_NONNULL Recipe::PlacementNew_(
816 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
817 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
818 return ::new (mem)
Recipe(arena);
820constexpr auto Recipe::InternalNewImpl_() {
821 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
824 InternalGetArenaOffset(
825 ::
google::protobuf::Message::internal_visibility()),
828 InternalGetArenaOffset(
829 ::
google::protobuf::Message::internal_visibility()),
831 if (arena_bits.has_value()) {
832 return ::google::protobuf::internal::MessageCreator::ZeroInit(
833 sizeof(Recipe), alignof(Recipe), *arena_bits);
835 return ::google::protobuf::internal::MessageCreator(&Recipe::PlacementNew_,
841 return ::google::protobuf::internal::ClassDataFull{
842 ::google::protobuf::internal::ClassData{
848 ::google::protobuf::Message::GetNewImpl<Recipe>(),
849#if defined(PROTOBUF_CUSTOM_VTABLE)
857 &Recipe::kDescriptorMethods,
863PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
867PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
868Recipe::GetClassData()
const {
873PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
874const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
880 offsetof(
decltype(_table_), field_lookup_table),
882 offsetof(
decltype(_table_), field_entries),
885 offsetof(
decltype(_table_), field_names),
888 ::_pbi::TcParser::GenericFallback,
889 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
890 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Recipe>(),
893 {::_pbi::TcParser::MiniParse, {}},
895 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
Recipe,
_impl_.duration_), 2>(),
899 {::_pbi::TcParser::FastV32P1,
903 {::_pbi::TcParser::FastV32P1,
922 ::google::protobuf::internal::TSanWrite(&
_impl_);
923 ::uint32_t cached_has_bits = 0;
925 (void) cached_has_bits;
927 cached_has_bits =
_impl_._has_bits_[0];
928 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
929 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
932 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
933 _impl_.resources_.Clear();
937 _impl_._has_bits_.Clear();
938 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
941#if defined(PROTOBUF_CUSTOM_VTABLE)
943 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
944 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
948 ::uint8_t* PROTOBUF_NONNULL target,
949 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
950 const Recipe& this_ = *
this;
952 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
953 this_.CheckHasBitConsistency();
956 ::uint32_t cached_has_bits = 0;
957 (void)cached_has_bits;
959 cached_has_bits = this_.
_impl_._has_bits_[0];
961 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
962 if (this_._internal_duration() != 0) {
964 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
965 stream, this_._internal_duration(), target);
970 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
972 int byte_size = this_.
_impl_._demands_cached_byte_size_.Get();
974 target = stream->WriteInt32Packed(
975 2, this_._internal_demands(), byte_size, target);
981 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
983 int byte_size = this_.
_impl_._resources_cached_byte_size_.Get();
985 target = stream->WriteInt32Packed(
986 3, this_._internal_resources(), byte_size, target);
991 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
993 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
994 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1000#if defined(PROTOBUF_CUSTOM_VTABLE)
1005 const Recipe& this_ = *
this;
1008 ::size_t total_size = 0;
1010 ::uint32_t cached_has_bits = 0;
1012 (void)cached_has_bits;
1014 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1015 cached_has_bits = this_.
_impl_._has_bits_[0];
1016 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1018 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1020 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1021 this_._internal_demands(), 1,
1022 this_.
_impl_._demands_cached_byte_size_);
1025 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1027 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1028 this_._internal_resources(), 1,
1029 this_.
_impl_._resources_cached_byte_size_);
1032 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1033 if (this_._internal_duration() != 0) {
1034 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1035 this_._internal_duration());
1039 return this_.MaybeComputeUnknownFieldsSize(total_size,
1040 &this_.
_impl_._cached_size_);
1043void Recipe::MergeImpl(::google::protobuf::MessageLite& to_msg,
1044 const ::google::protobuf::MessageLite& from_msg) {
1046 static_cast<Recipe*
>(&to_msg);
1047 auto& from =
static_cast<const Recipe&
>(from_msg);
1048 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1049 from.CheckHasBitConsistency();
1052 ABSL_DCHECK_NE(&from, _this);
1053 ::uint32_t cached_has_bits = 0;
1054 (void)cached_has_bits;
1056 cached_has_bits = from._impl_._has_bits_[0];
1057 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1058 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1059 _this->_internal_mutable_demands()->MergeFrom(from._internal_demands());
1061 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1062 _this->_internal_mutable_resources()->MergeFrom(from._internal_resources());
1064 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1065 if (from._internal_duration() != 0) {
1066 _this->_impl_.duration_ = from._impl_.duration_;
1070 _this->_impl_._has_bits_[0] |= cached_has_bits;
1071 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1072 from._internal_metadata_);
1077 if (&from ==
this)
return;
1083void Recipe::InternalSwap(
Recipe* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1085 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1086 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1087 _impl_.demands_.InternalSwap(&other->_impl_.demands_);
1088 _impl_.resources_.InternalSwap(&other->_impl_.resources_);
1089 swap(
_impl_.duration_, other->_impl_.duration_);
1093 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1100 decltype(::std::declval<PerRecipeDelays>()._impl_._has_bits_);
1106#if defined(PROTOBUF_CUSTOM_VTABLE)
1109 : ::google::protobuf::Message(arena) {
1114PROTOBUF_NDEBUG_INLINE PerRecipeDelays::Impl_::Impl_(
1115 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1116 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1117 [[maybe_unused]] const ::operations_research::scheduling::rcpsp::PerRecipeDelays& from_msg)
1118 : _has_bits_{from._has_bits_},
1120 min_delays_{visibility, arena, from.min_delays_},
1121 _min_delays_cached_byte_size_{0} {}
1124 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1126#if defined(PROTOBUF_CUSTOM_VTABLE)
1129 : ::google::protobuf::Message(arena) {
1133 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1134 from._internal_metadata_);
1135 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1139PROTOBUF_NDEBUG_INLINE PerRecipeDelays::Impl_::Impl_(
1140 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1141 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1143 min_delays_{visibility, arena},
1144 _min_delays_cached_byte_size_{0} {}
1146inline void PerRecipeDelays::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1147 new (&
_impl_) Impl_(internal_visibility(), arena);
1153inline void PerRecipeDelays::SharedDtor(
MessageLite& self) {
1155 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1156 this_.CheckHasBitConsistency();
1158 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1159 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1163inline void* PROTOBUF_NONNULL PerRecipeDelays::PlacementNew_(
1164 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1165 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1166 return ::new (mem) PerRecipeDelays(arena);
1168constexpr auto PerRecipeDelays::InternalNewImpl_() {
1169 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1170 PROTOBUF_FIELD_OFFSET(PerRecipeDelays,
_impl_.min_delays_) +
1172 InternalGetArenaOffset(
1173 ::
google::protobuf::Message::internal_visibility()),
1175 if (arena_bits.has_value()) {
1176 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1177 sizeof(PerRecipeDelays), alignof(PerRecipeDelays), *arena_bits);
1179 return ::google::protobuf::internal::MessageCreator(&PerRecipeDelays::PlacementNew_,
1180 sizeof(PerRecipeDelays),
1181 alignof(PerRecipeDelays));
1185 return ::google::protobuf::internal::ClassDataFull{
1186 ::google::protobuf::internal::ClassData{
1191 &PerRecipeDelays::MergeImpl,
1192 ::google::protobuf::Message::GetNewImpl<PerRecipeDelays>(),
1193#if defined(PROTOBUF_CUSTOM_VTABLE)
1194 &PerRecipeDelays::SharedDtor,
1201 &PerRecipeDelays::kDescriptorMethods,
1207PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1211PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1212PerRecipeDelays::GetClassData()
const {
1217PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1218const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
1219PerRecipeDelays::_table_ = {
1221 PROTOBUF_FIELD_OFFSET(PerRecipeDelays,
_impl_._has_bits_),
1224 offsetof(
decltype(_table_), field_lookup_table),
1226 offsetof(
decltype(_table_), field_entries),
1229 offsetof(
decltype(_table_), field_names),
1232 ::_pbi::TcParser::GenericFallback,
1233 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1234 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::PerRecipeDelays>(),
1238 {::_pbi::TcParser::FastV32P1,
1240 PROTOBUF_FIELD_OFFSET(PerRecipeDelays,
_impl_.min_delays_)}},
1253 ::google::protobuf::internal::TSanWrite(&
_impl_);
1254 ::uint32_t cached_has_bits = 0;
1256 (void) cached_has_bits;
1258 cached_has_bits =
_impl_._has_bits_[0];
1259 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1260 _impl_.min_delays_.Clear();
1262 _impl_._has_bits_.Clear();
1263 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1266#if defined(PROTOBUF_CUSTOM_VTABLE)
1268 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1269 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1270 const PerRecipeDelays& this_ =
static_cast<const PerRecipeDelays&
>(
base);
1273 ::uint8_t* PROTOBUF_NONNULL target,
1274 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1277 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1278 this_.CheckHasBitConsistency();
1281 ::uint32_t cached_has_bits = 0;
1282 (void)cached_has_bits;
1284 cached_has_bits = this_.
_impl_._has_bits_[0];
1286 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1288 int byte_size = this_.
_impl_._min_delays_cached_byte_size_.Get();
1289 if (byte_size > 0) {
1290 target = stream->WriteInt32Packed(
1291 1, this_._internal_min_delays(), byte_size, target);
1296 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1298 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1299 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1305#if defined(PROTOBUF_CUSTOM_VTABLE)
1307 const PerRecipeDelays& this_ =
static_cast<const PerRecipeDelays&
>(base);
1310 const PerRecipeDelays& this_ = *
this;
1313 ::size_t total_size = 0;
1315 ::uint32_t cached_has_bits = 0;
1317 (void)cached_has_bits;
1319 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1322 cached_has_bits = this_._impl_._has_bits_[0];
1323 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1325 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1326 this_._internal_min_delays(), 1,
1327 this_._impl_._min_delays_cached_byte_size_);
1330 return this_.MaybeComputeUnknownFieldsSize(total_size,
1331 &this_._impl_._cached_size_);
1334void PerRecipeDelays::MergeImpl(::google::protobuf::MessageLite& to_msg,
1335 const ::google::protobuf::MessageLite& from_msg) {
1337 static_cast<PerRecipeDelays*
>(&to_msg);
1338 auto& from =
static_cast<const PerRecipeDelays&
>(from_msg);
1339 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1340 from.CheckHasBitConsistency();
1343 ABSL_DCHECK_NE(&from, _this);
1344 ::uint32_t cached_has_bits = 0;
1345 (void)cached_has_bits;
1347 cached_has_bits = from._impl_._has_bits_[0];
1348 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1349 _this->_internal_mutable_min_delays()->MergeFrom(from._internal_min_delays());
1351 _this->_impl_._has_bits_[0] |= cached_has_bits;
1352 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1353 from._internal_metadata_);
1358 if (&from ==
this)
return;
1364void PerRecipeDelays::InternalSwap(
PerRecipeDelays* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1366 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1367 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1368 _impl_.min_delays_.InternalSwap(&other->_impl_.min_delays_);
1372 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1379 decltype(::std::declval<PerSuccessorDelays>()._impl_._has_bits_);
1385#if defined(PROTOBUF_CUSTOM_VTABLE)
1388 : ::google::protobuf::Message(arena) {
1393PROTOBUF_NDEBUG_INLINE PerSuccessorDelays::Impl_::Impl_(
1394 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1395 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1396 [[maybe_unused]] const ::operations_research::scheduling::rcpsp::PerSuccessorDelays& from_msg)
1397 : _has_bits_{from._has_bits_},
1399 recipe_delays_{visibility, arena, from.recipe_delays_} {}
1402 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1404#if defined(PROTOBUF_CUSTOM_VTABLE)
1407 : ::google::protobuf::Message(arena) {
1411 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1412 from._internal_metadata_);
1413 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1417PROTOBUF_NDEBUG_INLINE PerSuccessorDelays::Impl_::Impl_(
1418 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1419 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1421 recipe_delays_{visibility, arena} {}
1423inline void PerSuccessorDelays::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1424 new (&
_impl_) Impl_(internal_visibility(), arena);
1432 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1433 this_.CheckHasBitConsistency();
1435 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1436 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1440inline void* PROTOBUF_NONNULL PerSuccessorDelays::PlacementNew_(
1441 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1442 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1445constexpr auto PerSuccessorDelays::InternalNewImpl_() {
1446 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1447 PROTOBUF_FIELD_OFFSET(PerSuccessorDelays,
_impl_.recipe_delays_) +
1449 InternalGetArenaOffset(
1452 if (arena_bits.has_value()) {
1453 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1454 sizeof(PerSuccessorDelays), alignof(PerSuccessorDelays), *arena_bits);
1456 return ::google::protobuf::internal::MessageCreator(&PerSuccessorDelays::PlacementNew_,
1457 sizeof(PerSuccessorDelays),
1458 alignof(PerSuccessorDelays));
1462 return ::google::protobuf::internal::ClassDataFull{
1463 ::google::protobuf::internal::ClassData{
1468 &PerSuccessorDelays::MergeImpl,
1469 ::google::protobuf::Message::GetNewImpl<PerSuccessorDelays>(),
1470#if defined(PROTOBUF_CUSTOM_VTABLE)
1471 &PerSuccessorDelays::SharedDtor,
1478 &PerSuccessorDelays::kDescriptorMethods,
1484PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1488PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1489PerSuccessorDelays::GetClassData()
const {
1494PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1495const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
1496PerSuccessorDelays::_table_ = {
1498 PROTOBUF_FIELD_OFFSET(PerSuccessorDelays,
_impl_._has_bits_),
1501 offsetof(
decltype(_table_), field_lookup_table),
1503 offsetof(
decltype(_table_), field_entries),
1506 offsetof(
decltype(_table_), aux_entries),
1509 ::_pbi::TcParser::GenericFallback,
1510 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1511 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::PerSuccessorDelays>(),
1515 {::_pbi::TcParser::FastMtR1,
1517 PROTOBUF_FIELD_OFFSET(PerSuccessorDelays,
_impl_.recipe_delays_)}},
1522 {PROTOBUF_FIELD_OFFSET(PerSuccessorDelays,
_impl_.recipe_delays_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1525 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::PerRecipeDelays>()},
1532 ::google::protobuf::internal::TSanWrite(&
_impl_);
1533 ::uint32_t cached_has_bits = 0;
1535 (void) cached_has_bits;
1537 cached_has_bits =
_impl_._has_bits_[0];
1538 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1539 _impl_.recipe_delays_.Clear();
1541 _impl_._has_bits_.Clear();
1542 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1545#if defined(PROTOBUF_CUSTOM_VTABLE)
1547 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1548 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1549 const PerSuccessorDelays& this_ =
static_cast<const PerSuccessorDelays&
>(
base);
1552 ::uint8_t* PROTOBUF_NONNULL target,
1553 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1554 const PerSuccessorDelays& this_ = *
this;
1556 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1557 this_.CheckHasBitConsistency();
1560 ::uint32_t cached_has_bits = 0;
1561 (void)cached_has_bits;
1563 cached_has_bits = this_._impl_._has_bits_[0];
1565 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1566 for (
unsigned i = 0, n =
static_cast<unsigned>(
1567 this_._internal_recipe_delays_size());
1569 const auto& repfield = this_._internal_recipe_delays().Get(i);
1571 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1572 1, repfield, repfield.GetCachedSize(),
1577 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1579 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1580 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1586#if defined(PROTOBUF_CUSTOM_VTABLE)
1588 const PerSuccessorDelays& this_ =
static_cast<const PerSuccessorDelays&
>(base);
1591 const PerSuccessorDelays& this_ = *
this;
1594 ::size_t total_size = 0;
1596 ::uint32_t cached_has_bits = 0;
1598 (void)cached_has_bits;
1600 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1603 cached_has_bits = this_._impl_._has_bits_[0];
1604 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1605 total_size += 1UL * this_._internal_recipe_delays_size();
1606 for (
const auto& msg : this_._internal_recipe_delays()) {
1607 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1611 return this_.MaybeComputeUnknownFieldsSize(total_size,
1612 &this_._impl_._cached_size_);
1615void PerSuccessorDelays::MergeImpl(::google::protobuf::MessageLite& to_msg,
1616 const ::google::protobuf::MessageLite& from_msg) {
1618 static_cast<PerSuccessorDelays*
>(&to_msg);
1619 auto& from =
static_cast<const PerSuccessorDelays&
>(from_msg);
1620 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1621 from.CheckHasBitConsistency();
1625 ABSL_DCHECK_NE(&from, _this);
1626 ::uint32_t cached_has_bits = 0;
1627 (void)cached_has_bits;
1629 cached_has_bits = from._impl_._has_bits_[0];
1630 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1631 _this->_internal_mutable_recipe_delays()->InternalMergeFromWithArena(
1632 ::google::protobuf::MessageLite::internal_visibility(), arena,
1633 from._internal_recipe_delays());
1635 _this->_impl_._has_bits_[0] |= cached_has_bits;
1636 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1637 from._internal_metadata_);
1642 if (&from ==
this)
return;
1648void PerSuccessorDelays::InternalSwap(
PerSuccessorDelays* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1650 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1651 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1652 _impl_.recipe_delays_.InternalSwap(&other->_impl_.recipe_delays_);
1656 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1663 decltype(::std::declval<Task>()._impl_._has_bits_);
1664 static constexpr ::int32_t kHasBitsOffset =
1668Task::Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1669#if defined(PROTOBUF_CUSTOM_VTABLE)
1672 : ::google::protobuf::Message(arena) {
1677PROTOBUF_NDEBUG_INLINE Task::Impl_::Impl_(
1678 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1679 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1680 [[maybe_unused]] const ::operations_research::scheduling::rcpsp::Task& from_msg)
1681 : _has_bits_{from._has_bits_},
1683 successors_{visibility, arena, from.successors_},
1684 _successors_cached_byte_size_{0},
1685 recipes_{visibility, arena, from.recipes_},
1686 successor_delays_{visibility, arena, from.successor_delays_} {}
1689 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1691#if defined(PROTOBUF_CUSTOM_VTABLE)
1694 : ::google::protobuf::Message(arena) {
1696 Task*
const _this =
this;
1698 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1699 from._internal_metadata_);
1700 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1704PROTOBUF_NDEBUG_INLINE Task::Impl_::Impl_(
1705 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1706 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1708 successors_{visibility, arena},
1709 _successors_cached_byte_size_{0},
1710 recipes_{visibility, arena},
1711 successor_delays_{visibility, arena} {}
1713inline void Task::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1714 new (&
_impl_) Impl_(internal_visibility(), arena);
1722 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1723 this_.CheckHasBitConsistency();
1725 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1726 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1730inline void* PROTOBUF_NONNULL Task::PlacementNew_(
1731 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1732 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1733 return ::new (mem) Task(arena);
1735constexpr auto Task::InternalNewImpl_() {
1736 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1737 PROTOBUF_FIELD_OFFSET(Task,
_impl_.successors_) +
1739 InternalGetArenaOffset(
1741 PROTOBUF_FIELD_OFFSET(Task,
_impl_.recipes_) +
1742 decltype(Task::
_impl_.recipes_)::
1743 InternalGetArenaOffset(
1745 PROTOBUF_FIELD_OFFSET(Task,
_impl_.successor_delays_) +
1746 decltype(Task::
_impl_.successor_delays_)::
1747 InternalGetArenaOffset(
1750 if (arena_bits.has_value()) {
1751 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1752 sizeof(Task), alignof(Task), *arena_bits);
1754 return ::google::protobuf::internal::MessageCreator(&Task::PlacementNew_,
1760 return ::google::protobuf::internal::ClassDataFull{
1761 ::google::protobuf::internal::ClassData{
1767 ::google::protobuf::Message::GetNewImpl<Task>(),
1768#if defined(PROTOBUF_CUSTOM_VTABLE)
1773 PROTOBUF_FIELD_OFFSET(
Task,
_impl_._cached_size_),
1776 &Task::kDescriptorMethods,
1782PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1786PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1787Task::GetClassData()
const {
1789 ::google::protobuf::internal::PrefetchToLocalCache(
Task_class_data_.tc_table);
1792PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1793const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
1796 PROTOBUF_FIELD_OFFSET(Task,
_impl_._has_bits_),
1799 offsetof(
decltype(_table_), field_lookup_table),
1801 offsetof(
decltype(_table_), field_entries),
1804 offsetof(
decltype(_table_), aux_entries),
1807 ::_pbi::TcParser::GenericFallback,
1808 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1809 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Task>(),
1812 {::_pbi::TcParser::MiniParse, {}},
1814 {::_pbi::TcParser::FastV32P1,
1816 PROTOBUF_FIELD_OFFSET(Task,
_impl_.successors_)}},
1818 {::_pbi::TcParser::FastMtR1,
1820 PROTOBUF_FIELD_OFFSET(Task,
_impl_.recipes_)}},
1822 {::_pbi::TcParser::FastMtR1,
1824 PROTOBUF_FIELD_OFFSET(Task,
_impl_.successor_delays_)}},
1833 {PROTOBUF_FIELD_OFFSET(Task,
_impl_.successor_delays_),
_Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1836 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Recipe>()},
1837 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::PerSuccessorDelays>()},
1844 ::google::protobuf::internal::TSanWrite(&
_impl_);
1845 ::uint32_t cached_has_bits = 0;
1847 (void) cached_has_bits;
1849 cached_has_bits =
_impl_._has_bits_[0];
1850 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1851 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1852 _impl_.successors_.Clear();
1854 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1857 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1858 _impl_.successor_delays_.Clear();
1861 _impl_._has_bits_.Clear();
1862 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1865#if defined(PROTOBUF_CUSTOM_VTABLE)
1867 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1868 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1869 const Task& this_ =
static_cast<const Task&
>(
base);
1872 ::uint8_t* PROTOBUF_NONNULL target,
1873 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1874 const Task& this_ = *
this;
1876 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1877 this_.CheckHasBitConsistency();
1880 ::uint32_t cached_has_bits = 0;
1881 (void)cached_has_bits;
1883 cached_has_bits = this_.
_impl_._has_bits_[0];
1885 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1887 int byte_size = this_._impl_._successors_cached_byte_size_.Get();
1888 if (byte_size > 0) {
1889 target = stream->WriteInt32Packed(
1890 1, this_._internal_successors(), byte_size, target);
1896 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1897 for (
unsigned i = 0, n =
static_cast<unsigned>(
1898 this_._internal_recipes_size());
1900 const auto& repfield = this_._internal_recipes().Get(i);
1902 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1903 2, repfield, repfield.GetCachedSize(),
1909 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1910 for (
unsigned i = 0, n =
static_cast<unsigned>(
1911 this_._internal_successor_delays_size());
1913 const auto& repfield = this_._internal_successor_delays().Get(i);
1915 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1916 3, repfield, repfield.GetCachedSize(),
1921 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1923 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1924 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1930#if defined(PROTOBUF_CUSTOM_VTABLE)
1932 const Task& this_ =
static_cast<const Task&
>(base);
1935 const Task& this_ = *
this;
1938 ::size_t total_size = 0;
1940 ::uint32_t cached_has_bits = 0;
1942 (void)cached_has_bits;
1944 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1945 cached_has_bits = this_._impl_._has_bits_[0];
1946 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1948 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1950 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1951 this_._internal_successors(), 1,
1952 this_._impl_._successors_cached_byte_size_);
1955 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1956 total_size += 1UL * this_._internal_recipes_size();
1957 for (
const auto& msg : this_._internal_recipes()) {
1958 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1962 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1963 total_size += 1UL * this_._internal_successor_delays_size();
1964 for (
const auto& msg : this_._internal_successor_delays()) {
1965 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1969 return this_.MaybeComputeUnknownFieldsSize(total_size,
1970 &this_._impl_._cached_size_);
1973void Task::MergeImpl(::google::protobuf::MessageLite& to_msg,
1974 const ::google::protobuf::MessageLite& from_msg) {
1976 static_cast<Task*
>(&to_msg);
1977 auto& from =
static_cast<const Task&
>(from_msg);
1978 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1979 from.CheckHasBitConsistency();
1983 ABSL_DCHECK_NE(&from, _this);
1984 ::uint32_t cached_has_bits = 0;
1985 (void)cached_has_bits;
1987 cached_has_bits = from._impl_._has_bits_[0];
1988 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1989 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1990 _this->_internal_mutable_successors()->MergeFrom(from._internal_successors());
1992 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1993 _this->_internal_mutable_recipes()->InternalMergeFromWithArena(
1994 ::google::protobuf::MessageLite::internal_visibility(), arena,
1995 from._internal_recipes());
1997 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1998 _this->_internal_mutable_successor_delays()->InternalMergeFromWithArena(
1999 ::google::protobuf::MessageLite::internal_visibility(), arena,
2000 from._internal_successor_delays());
2003 _this->_impl_._has_bits_[0] |= cached_has_bits;
2004 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2005 from._internal_metadata_);
2010 if (&from ==
this)
return;
2016void Task::InternalSwap(
Task* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2018 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2019 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2020 _impl_.successors_.InternalSwap(&other->_impl_.successors_);
2021 _impl_.recipes_.InternalSwap(&other->_impl_.recipes_);
2022 _impl_.successor_delays_.InternalSwap(&other->_impl_.successor_delays_);
2026 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2033 decltype(::std::declval<RcpspProblem>()._impl_._has_bits_);
2034 static constexpr ::int32_t kHasBitsOffset =
2039#if defined(PROTOBUF_CUSTOM_VTABLE)
2042 : ::google::protobuf::Message(arena) {
2047PROTOBUF_NDEBUG_INLINE RcpspProblem::Impl_::Impl_(
2048 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2049 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2050 [[maybe_unused]] const ::operations_research::scheduling::rcpsp::RcpspProblem& from_msg)
2051 : _has_bits_{from._has_bits_},
2053 resources_{visibility, arena, from.resources_},
2054 tasks_{visibility, arena, from.tasks_},
2055 basedata_(arena, from.basedata_),
2056 name_(arena, from.name_) {}
2059 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2061#if defined(PROTOBUF_CUSTOM_VTABLE)
2064 : ::google::protobuf::Message(arena) {
2068 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2069 from._internal_metadata_);
2070 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2071 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
2072 offsetof(Impl_, is_consumer_producer_),
2073 reinterpret_cast<const char*
>(&from._impl_) +
2074 offsetof(Impl_, is_consumer_producer_),
2075 offsetof(Impl_, due_date_) -
2076 offsetof(Impl_, is_consumer_producer_) +
2077 sizeof(Impl_::due_date_));
2081PROTOBUF_NDEBUG_INLINE RcpspProblem::Impl_::Impl_(
2082 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2083 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2085 resources_{visibility, arena},
2086 tasks_{visibility, arena},
2090inline void RcpspProblem::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2091 new (&
_impl_) Impl_(internal_visibility(), arena);
2092 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
2093 offsetof(Impl_, is_consumer_producer_),
2095 offsetof(Impl_, due_date_) -
2096 offsetof(Impl_, is_consumer_producer_) +
2097 sizeof(Impl_::due_date_));
2103inline void RcpspProblem::SharedDtor(
MessageLite& self) {
2105 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2106 this_.CheckHasBitConsistency();
2108 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2109 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2110 this_.
_impl_.basedata_.Destroy();
2111 this_.
_impl_.name_.Destroy();
2115inline void* PROTOBUF_NONNULL RcpspProblem::PlacementNew_(
2116 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2117 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2118 return ::new (mem) RcpspProblem(arena);
2120constexpr auto RcpspProblem::InternalNewImpl_() {
2121 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2122 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.resources_) +
2124 InternalGetArenaOffset(
2126 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.tasks_) +
2127 decltype(RcpspProblem::
_impl_.tasks_)::
2128 InternalGetArenaOffset(
2131 if (arena_bits.has_value()) {
2132 return ::google::protobuf::internal::MessageCreator::CopyInit(
2133 sizeof(RcpspProblem), alignof(RcpspProblem), *arena_bits);
2135 return ::google::protobuf::internal::MessageCreator(&RcpspProblem::PlacementNew_,
2136 sizeof(RcpspProblem),
2137 alignof(RcpspProblem));
2141 return ::google::protobuf::internal::ClassDataFull{
2142 ::google::protobuf::internal::ClassData{
2147 &RcpspProblem::MergeImpl,
2148 ::google::protobuf::Message::GetNewImpl<RcpspProblem>(),
2149#if defined(PROTOBUF_CUSTOM_VTABLE)
2150 &RcpspProblem::SharedDtor,
2157 &RcpspProblem::kDescriptorMethods,
2163PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2167PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2168RcpspProblem::GetClassData()
const {
2173PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2174const ::_pbi::TcParseTable<4, 14, 2, 78, 2>
2175RcpspProblem::_table_ = {
2177 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_._has_bits_),
2180 offsetof(
decltype(_table_), field_lookup_table),
2182 offsetof(
decltype(_table_), field_entries),
2185 offsetof(
decltype(_table_), aux_entries),
2188 ::_pbi::TcParser::GenericFallback,
2189 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2190 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::RcpspProblem>(),
2193 {::_pbi::TcParser::MiniParse, {}},
2195 {::_pbi::TcParser::FastMtR1,
2197 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.resources_)}},
2199 {::_pbi::TcParser::FastMtR1,
2201 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.tasks_)}},
2203 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(RcpspProblem,
_impl_.is_consumer_producer_), 4>(),
2205 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.is_consumer_producer_)}},
2207 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(RcpspProblem,
_impl_.is_resource_investment_), 5>(),
2209 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.is_resource_investment_)}},
2211 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(RcpspProblem,
_impl_.is_rcpsp_max_), 6>(),
2213 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.is_rcpsp_max_)}},
2215 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RcpspProblem,
_impl_.deadline_), 7>(),
2217 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.deadline_)}},
2219 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RcpspProblem,
_impl_.horizon_), 8>(),
2221 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.horizon_)}},
2223 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RcpspProblem,
_impl_.release_date_), 9>(),
2225 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.release_date_)}},
2227 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RcpspProblem,
_impl_.tardiness_cost_), 10>(),
2229 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.tardiness_cost_)}},
2231 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RcpspProblem,
_impl_.mpm_time_), 11>(),
2233 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.mpm_time_)}},
2235 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(RcpspProblem,
_impl_.seed_), 12>(),
2237 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.seed_)}},
2239 {::_pbi::TcParser::FastUS1,
2241 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.basedata_)}},
2243 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RcpspProblem,
_impl_.due_date_), 13>(),
2245 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.due_date_)}},
2247 {::_pbi::TcParser::FastUS1,
2249 PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.name_)}},
2250 {::_pbi::TcParser::MiniParse, {}},
2255 {PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.resources_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2277 {PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.basedata_),
_Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2281 {PROTOBUF_FIELD_OFFSET(RcpspProblem,
_impl_.name_),
_Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2284 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Resource>()},
2285 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Task>()},
2288 "\61\0\0\0\0\0\0\0\0\0\0\0\10\0\4\0"
2289 "operations_research.scheduling.rcpsp.RcpspProblem"
2296 ::google::protobuf::internal::TSanWrite(&
_impl_);
2297 ::uint32_t cached_has_bits = 0;
2299 (void) cached_has_bits;
2301 cached_has_bits =
_impl_._has_bits_[0];
2302 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
2303 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2304 _impl_.resources_.Clear();
2306 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2309 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2310 _impl_.basedata_.ClearNonDefaultToEmpty();
2312 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2313 _impl_.name_.ClearNonDefaultToEmpty();
2316 if (BatchCheckHasBit(cached_has_bits, 0x000000f0U)) {
2317 ::memset(&
_impl_.is_consumer_producer_, 0,
static_cast<::
size_t>(
2318 reinterpret_cast<char*
>(&
_impl_.deadline_) -
2319 reinterpret_cast<char*
>(&
_impl_.is_consumer_producer_)) +
sizeof(
_impl_.deadline_));
2321 if (BatchCheckHasBit(cached_has_bits, 0x00003f00U)) {
2322 ::memset(&
_impl_.horizon_, 0,
static_cast<::
size_t>(
2323 reinterpret_cast<char*
>(&
_impl_.due_date_) -
2324 reinterpret_cast<char*
>(&
_impl_.horizon_)) +
sizeof(
_impl_.due_date_));
2326 _impl_._has_bits_.Clear();
2327 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2330#if defined(PROTOBUF_CUSTOM_VTABLE)
2332 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2333 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2334 const RcpspProblem& this_ =
static_cast<const RcpspProblem&
>(base);
2337 ::uint8_t* PROTOBUF_NONNULL target,
2338 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2339 const RcpspProblem& this_ = *
this;
2341 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2342 this_.CheckHasBitConsistency();
2345 ::uint32_t cached_has_bits = 0;
2346 (void)cached_has_bits;
2348 cached_has_bits = this_.
_impl_._has_bits_[0];
2350 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2351 for (
unsigned i = 0, n =
static_cast<unsigned>(
2352 this_._internal_resources_size());
2354 const auto& repfield = this_._internal_resources().Get(i);
2356 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2357 1, repfield, repfield.GetCachedSize(),
2363 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2364 for (
unsigned i = 0, n =
static_cast<unsigned>(
2365 this_._internal_tasks_size());
2367 const auto& repfield = this_._internal_tasks().Get(i);
2369 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2370 2, repfield, repfield.GetCachedSize(),
2376 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2377 if (this_._internal_is_consumer_producer() != 0) {
2378 target = stream->EnsureSpace(target);
2379 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2380 3, this_._internal_is_consumer_producer(), target);
2385 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2386 if (this_._internal_is_resource_investment() != 0) {
2387 target = stream->EnsureSpace(target);
2388 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2389 4, this_._internal_is_resource_investment(), target);
2394 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2395 if (this_._internal_is_rcpsp_max() != 0) {
2396 target = stream->EnsureSpace(target);
2397 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2398 5, this_._internal_is_rcpsp_max(), target);
2403 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
2404 if (this_._internal_deadline() != 0) {
2406 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
2407 stream, this_._internal_deadline(), target);
2412 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
2413 if (this_._internal_horizon() != 0) {
2415 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<7>(
2416 stream, this_._internal_horizon(), target);
2421 if (CheckHasBit(cached_has_bits, 0x00000200U)) {
2422 if (this_._internal_release_date() != 0) {
2424 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<8>(
2425 stream, this_._internal_release_date(), target);
2430 if (CheckHasBit(cached_has_bits, 0x00000400U)) {
2431 if (this_._internal_tardiness_cost() != 0) {
2433 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<9>(
2434 stream, this_._internal_tardiness_cost(), target);
2439 if (CheckHasBit(cached_has_bits, 0x00000800U)) {
2440 if (this_._internal_mpm_time() != 0) {
2442 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<10>(
2443 stream, this_._internal_mpm_time(), target);
2448 if (CheckHasBit(cached_has_bits, 0x00001000U)) {
2449 if (this_._internal_seed() != 0) {
2451 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<11>(
2452 stream, this_._internal_seed(), target);
2457 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2458 if (!this_._internal_basedata().empty()) {
2459 const ::std::string& _s = this_._internal_basedata();
2460 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2461 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.scheduling.rcpsp.RcpspProblem.basedata");
2462 target = stream->WriteStringMaybeAliased(12, _s, target);
2467 if (CheckHasBit(cached_has_bits, 0x00002000U)) {
2468 if (this_._internal_due_date() != 0) {
2470 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<13>(
2471 stream, this_._internal_due_date(), target);
2476 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2477 if (!this_._internal_name().empty()) {
2478 const ::std::string& _s = this_._internal_name();
2479 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2480 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.scheduling.rcpsp.RcpspProblem.name");
2481 target = stream->WriteStringMaybeAliased(14, _s, target);
2485 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2487 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2488 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2494#if defined(PROTOBUF_CUSTOM_VTABLE)
2496 const RcpspProblem& this_ =
static_cast<const RcpspProblem&
>(base);
2499 const RcpspProblem& this_ = *
this;
2502 ::size_t total_size = 0;
2504 ::uint32_t cached_has_bits = 0;
2506 (void)cached_has_bits;
2508 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2509 cached_has_bits = this_._impl_._has_bits_[0];
2510 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
2512 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2513 total_size += 1UL * this_._internal_resources_size();
2514 for (
const auto& msg : this_._internal_resources()) {
2515 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2519 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2520 total_size += 1UL * this_._internal_tasks_size();
2521 for (
const auto& msg : this_._internal_tasks()) {
2522 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2526 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2527 if (!this_._internal_basedata().empty()) {
2528 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2529 this_._internal_basedata());
2533 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2534 if (!this_._internal_name().empty()) {
2535 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2536 this_._internal_name());
2540 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2541 if (this_._internal_is_consumer_producer() != 0) {
2546 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2547 if (this_._internal_is_resource_investment() != 0) {
2552 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2553 if (this_._internal_is_rcpsp_max() != 0) {
2558 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
2559 if (this_._internal_deadline() != 0) {
2560 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2561 this_._internal_deadline());
2565 if (BatchCheckHasBit(cached_has_bits, 0x00003f00U)) {
2567 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
2568 if (this_._internal_horizon() != 0) {
2569 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2570 this_._internal_horizon());
2574 if (CheckHasBit(cached_has_bits, 0x00000200U)) {
2575 if (this_._internal_release_date() != 0) {
2576 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2577 this_._internal_release_date());
2581 if (CheckHasBit(cached_has_bits, 0x00000400U)) {
2582 if (this_._internal_tardiness_cost() != 0) {
2583 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2584 this_._internal_tardiness_cost());
2588 if (CheckHasBit(cached_has_bits, 0x00000800U)) {
2589 if (this_._internal_mpm_time() != 0) {
2590 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2591 this_._internal_mpm_time());
2595 if (CheckHasBit(cached_has_bits, 0x00001000U)) {
2596 if (this_._internal_seed() != 0) {
2597 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2598 this_._internal_seed());
2602 if (CheckHasBit(cached_has_bits, 0x00002000U)) {
2603 if (this_._internal_due_date() != 0) {
2604 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2605 this_._internal_due_date());
2609 return this_.MaybeComputeUnknownFieldsSize(total_size,
2610 &this_._impl_._cached_size_);
2613void RcpspProblem::MergeImpl(::google::protobuf::MessageLite& to_msg,
2614 const ::google::protobuf::MessageLite& from_msg) {
2616 static_cast<RcpspProblem*
>(&to_msg);
2617 auto& from =
static_cast<const RcpspProblem&
>(from_msg);
2618 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2619 from.CheckHasBitConsistency();
2623 ABSL_DCHECK_NE(&from, _this);
2624 ::uint32_t cached_has_bits = 0;
2625 (void)cached_has_bits;
2627 cached_has_bits = from._impl_._has_bits_[0];
2628 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
2629 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2630 _this->_internal_mutable_resources()->InternalMergeFromWithArena(
2631 ::google::protobuf::MessageLite::internal_visibility(), arena,
2632 from._internal_resources());
2634 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2635 _this->_internal_mutable_tasks()->InternalMergeFromWithArena(
2636 ::google::protobuf::MessageLite::internal_visibility(), arena,
2637 from._internal_tasks());
2639 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2640 if (!from._internal_basedata().empty()) {
2641 _this->_internal_set_basedata(from._internal_basedata());
2643 if (_this->_impl_.basedata_.IsDefault()) {
2644 _this->_internal_set_basedata(
"");
2648 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2649 if (!from._internal_name().empty()) {
2650 _this->_internal_set_name(from._internal_name());
2652 if (_this->_impl_.name_.IsDefault()) {
2653 _this->_internal_set_name(
"");
2657 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2658 if (from._internal_is_consumer_producer() != 0) {
2659 _this->_impl_.is_consumer_producer_ = from._impl_.is_consumer_producer_;
2662 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2663 if (from._internal_is_resource_investment() != 0) {
2664 _this->_impl_.is_resource_investment_ = from._impl_.is_resource_investment_;
2667 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2668 if (from._internal_is_rcpsp_max() != 0) {
2669 _this->_impl_.is_rcpsp_max_ = from._impl_.is_rcpsp_max_;
2672 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
2673 if (from._internal_deadline() != 0) {
2674 _this->_impl_.deadline_ = from._impl_.deadline_;
2678 if (BatchCheckHasBit(cached_has_bits, 0x00003f00U)) {
2679 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
2680 if (from._internal_horizon() != 0) {
2681 _this->_impl_.horizon_ = from._impl_.horizon_;
2684 if (CheckHasBit(cached_has_bits, 0x00000200U)) {
2685 if (from._internal_release_date() != 0) {
2686 _this->_impl_.release_date_ = from._impl_.release_date_;
2689 if (CheckHasBit(cached_has_bits, 0x00000400U)) {
2690 if (from._internal_tardiness_cost() != 0) {
2691 _this->_impl_.tardiness_cost_ = from._impl_.tardiness_cost_;
2694 if (CheckHasBit(cached_has_bits, 0x00000800U)) {
2695 if (from._internal_mpm_time() != 0) {
2696 _this->_impl_.mpm_time_ = from._impl_.mpm_time_;
2699 if (CheckHasBit(cached_has_bits, 0x00001000U)) {
2700 if (from._internal_seed() != 0) {
2701 _this->_impl_.seed_ = from._impl_.seed_;
2704 if (CheckHasBit(cached_has_bits, 0x00002000U)) {
2705 if (from._internal_due_date() != 0) {
2706 _this->_impl_.due_date_ = from._impl_.due_date_;
2710 _this->_impl_._has_bits_[0] |= cached_has_bits;
2711 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2712 from._internal_metadata_);
2717 if (&from ==
this)
return;
2723void RcpspProblem::InternalSwap(
RcpspProblem* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2725 auto* arena = GetArena();
2726 ABSL_DCHECK_EQ(arena, other->GetArena());
2727 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2728 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2729 _impl_.resources_.InternalSwap(&other->_impl_.resources_);
2730 _impl_.tasks_.InternalSwap(&other->_impl_.tasks_);
2731 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.basedata_, &other->_impl_.basedata_, arena);
2732 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
2733 ::google::protobuf::internal::memswap<
2737 reinterpret_cast<char*
>(&
_impl_.is_consumer_producer_),
2738 reinterpret_cast<char*
>(&other->_impl_.is_consumer_producer_));
2742 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2746class RcpspAssignment::_Internal {
2749 decltype(::std::declval<RcpspAssignment>()._impl_._has_bits_);
2750 static constexpr ::int32_t kHasBitsOffset =
2755#if defined(PROTOBUF_CUSTOM_VTABLE)
2758 : ::google::protobuf::Message(arena) {
2763PROTOBUF_NDEBUG_INLINE RcpspAssignment::Impl_::Impl_(
2764 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2765 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2766 [[maybe_unused]] const ::operations_research::scheduling::rcpsp::RcpspAssignment& from_msg)
2767 : _has_bits_{from._has_bits_},
2769 start_of_task_{visibility, arena, from.start_of_task_},
2770 _start_of_task_cached_byte_size_{0},
2771 selected_recipe_of_task_{visibility, arena, from.selected_recipe_of_task_},
2772 _selected_recipe_of_task_cached_byte_size_{0} {}
2775 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2777#if defined(PROTOBUF_CUSTOM_VTABLE)
2780 : ::google::protobuf::Message(arena) {
2784 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2785 from._internal_metadata_);
2786 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
2790PROTOBUF_NDEBUG_INLINE RcpspAssignment::Impl_::Impl_(
2791 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2792 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2794 start_of_task_{visibility, arena},
2795 _start_of_task_cached_byte_size_{0},
2796 selected_recipe_of_task_{visibility, arena},
2797 _selected_recipe_of_task_cached_byte_size_{0} {}
2799inline void RcpspAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2800 new (&
_impl_) Impl_(internal_visibility(), arena);
2806inline void RcpspAssignment::SharedDtor(
MessageLite& self) {
2808 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2809 this_.CheckHasBitConsistency();
2811 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2812 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2813 this_._impl_.~Impl_();
2816inline void* PROTOBUF_NONNULL RcpspAssignment::PlacementNew_(
2817 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2818 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2821constexpr auto RcpspAssignment::InternalNewImpl_() {
2822 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2825 InternalGetArenaOffset(
2829 InternalGetArenaOffset(
2832 if (arena_bits.has_value()) {
2833 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2834 sizeof(RcpspAssignment), alignof(RcpspAssignment), *arena_bits);
2836 return ::google::protobuf::internal::MessageCreator(&RcpspAssignment::PlacementNew_,
2837 sizeof(RcpspAssignment),
2838 alignof(RcpspAssignment));
2842 return ::google::protobuf::internal::ClassDataFull{
2843 ::google::protobuf::internal::ClassData{
2848 &RcpspAssignment::MergeImpl,
2849 ::google::protobuf::Message::GetNewImpl<RcpspAssignment>(),
2850#if defined(PROTOBUF_CUSTOM_VTABLE)
2851 &RcpspAssignment::SharedDtor,
2858 &RcpspAssignment::kDescriptorMethods,
2864PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2868PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2869RcpspAssignment::GetClassData()
const {
2874PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2875const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
2876RcpspAssignment::_table_ = {
2881 offsetof(
decltype(_table_), field_lookup_table),
2883 offsetof(
decltype(_table_), field_entries),
2886 offsetof(
decltype(_table_), field_names),
2889 ::_pbi::TcParser::GenericFallback,
2890 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2891 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::RcpspAssignment>(),
2895 {::_pbi::TcParser::FastV32P1,
2899 {::_pbi::TcParser::FastV64P1,
2916 ::google::protobuf::internal::TSanWrite(&
_impl_);
2917 ::uint32_t cached_has_bits = 0;
2919 (void) cached_has_bits;
2922 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2923 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2924 _impl_.start_of_task_.Clear();
2926 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2927 _impl_.selected_recipe_of_task_.Clear();
2930 _impl_._has_bits_.Clear();
2931 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2934#if defined(PROTOBUF_CUSTOM_VTABLE)
2936 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2937 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2941 ::uint8_t* PROTOBUF_NONNULL target,
2942 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2945 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2946 this_.CheckHasBitConsistency();
2949 ::uint32_t cached_has_bits = 0;
2950 (void)cached_has_bits;
2952 cached_has_bits = this_._impl_._has_bits_[0];
2954 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2956 int byte_size = this_._impl_._start_of_task_cached_byte_size_.Get();
2957 if (byte_size > 0) {
2958 target = stream->WriteInt64Packed(
2959 1, this_._internal_start_of_task(), byte_size, target);
2965 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2967 int byte_size = this_._impl_._selected_recipe_of_task_cached_byte_size_.Get();
2968 if (byte_size > 0) {
2969 target = stream->WriteInt32Packed(
2970 2, this_._internal_selected_recipe_of_task(), byte_size, target);
2975 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2977 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2978 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2984#if defined(PROTOBUF_CUSTOM_VTABLE)
2992 ::size_t total_size = 0;
2994 ::uint32_t cached_has_bits = 0;
2996 (void)cached_has_bits;
2998 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2999 cached_has_bits = this_._impl_._has_bits_[0];
3000 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3002 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3004 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
3005 this_._internal_start_of_task(), 1,
3006 this_._impl_._start_of_task_cached_byte_size_);
3009 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3011 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
3012 this_._internal_selected_recipe_of_task(), 1,
3013 this_._impl_._selected_recipe_of_task_cached_byte_size_);
3016 return this_.MaybeComputeUnknownFieldsSize(total_size,
3017 &this_._impl_._cached_size_);
3020void RcpspAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg,
3021 const ::google::protobuf::MessageLite& from_msg) {
3025 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3026 from.CheckHasBitConsistency();
3029 ABSL_DCHECK_NE(&from, _this);
3030 ::uint32_t cached_has_bits = 0;
3031 (void)cached_has_bits;
3033 cached_has_bits = from.
_impl_._has_bits_[0];
3034 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3035 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3036 _this->_internal_mutable_start_of_task()->MergeFrom(from._internal_start_of_task());
3038 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3039 _this->_internal_mutable_selected_recipe_of_task()->MergeFrom(from._internal_selected_recipe_of_task());
3042 _this->
_impl_._has_bits_[0] |= cached_has_bits;
3043 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3044 from._internal_metadata_);
3049 if (&from ==
this)
return;
3055void RcpspAssignment::InternalSwap(
RcpspAssignment* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3057 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3058 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3059 _impl_.start_of_task_.InternalSwap(&other->_impl_.start_of_task_);
3060 _impl_.selected_recipe_of_task_.InternalSwap(&other->_impl_.selected_recipe_of_task_);
3064 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3075PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
3078 ::std::false_type{});
3079#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
::size_t ByteSizeLong() const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const PerRecipeDelays &from)
void CopyFrom(const PerRecipeDelays &from)
::google::protobuf::Metadata GetMetadata() const
~PerRecipeDelays() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const PerSuccessorDelays &from)
void MergeFrom(const PerSuccessorDelays &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
~PerSuccessorDelays() PROTOBUF_FINAL
static constexpr ::int32_t kHasBitsOffset
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
void CopyFrom(const RcpspAssignment &from)
friend void swap(RcpspAssignment &a, RcpspAssignment &b)
::google::protobuf::Metadata GetMetadata() const
~RcpspAssignment() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const RcpspAssignment &from)
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const RcpspProblem &from)
::size_t ByteSizeLong() const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~RcpspProblem() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const RcpspProblem &from)
::google::protobuf::Metadata GetMetadata() const
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< Recipe >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(Recipe &a, Recipe &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const Recipe &from)
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const Recipe &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< Resource >()._impl_._has_bits_) HasBits
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
~Resource() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(Resource &a, Resource &b)
void MergeFrom(const Resource &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const Resource &from)
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
void MergeFrom(const Task &from)
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const Task &from)
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Task_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RcpspProblem_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PerSuccessorDelaysDefaultTypeInternal _PerSuccessorDelays_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TaskDefaultTypeInternal _Task_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PerRecipeDelaysDefaultTypeInternal _PerRecipeDelays_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PerRecipeDelays_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RcpspProblemDefaultTypeInternal _RcpspProblem_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RcpspAssignmentDefaultTypeInternal _RcpspAssignment_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResourceDefaultTypeInternal _Resource_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Recipe_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Resource_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecipeDefaultTypeInternal _Recipe_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RcpspAssignment_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PerSuccessorDelays_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Task_class_data_
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fscheduling_2frcpsp_2eproto
::absl::once_flag descriptor_table_ortools_2fscheduling_2frcpsp_2eproto_once
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fscheduling_2frcpsp_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2frcpsp_2eproto
const ::uint32_t TableStruct_ortools_2fscheduling_2frcpsp_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
~PerRecipeDelaysDefaultTypeInternal()
PROTOBUF_CONSTEXPR PerRecipeDelaysDefaultTypeInternal()
PerRecipeDelays _instance
PerSuccessorDelays _instance
~PerSuccessorDelaysDefaultTypeInternal()
PROTOBUF_CONSTEXPR PerSuccessorDelaysDefaultTypeInternal()
PROTOBUF_CONSTEXPR RcpspAssignmentDefaultTypeInternal()
~RcpspAssignmentDefaultTypeInternal()
RcpspAssignment _instance
~RcpspProblemDefaultTypeInternal()
PROTOBUF_CONSTEXPR RcpspProblemDefaultTypeInternal()
PROTOBUF_CONSTEXPR RecipeDefaultTypeInternal()
~RecipeDefaultTypeInternal()
PROTOBUF_CONSTEXPR ResourceDefaultTypeInternal()
~ResourceDefaultTypeInternal()
PROTOBUF_CONSTEXPR TaskDefaultTypeInternal()
~TaskDefaultTypeInternal()