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
91 _start_of_task_cached_byte_size_{0},
92 selected_recipe_of_task_{},
93 _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
119 _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
170 _successors_cached_byte_size_{0},
177#if defined(PROTOBUF_CUSTOM_VTABLE)
180 : ::google::protobuf::Message(),
182 _impl_(::_pbi::ConstantInitialized()) {
192PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
195inline constexpr 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
310static const ::_pbi::MigrationSchema
331 "\n\036ortools/scheduling/rcpsp.proto\022$operat"
332 "ions_research.scheduling.rcpsp\"\\\n\010Resour"
333 "ce\022\024\n\014max_capacity\030\001 \001(\005\022\024\n\014min_capacity"
334 "\030\002 \001(\005\022\021\n\trenewable\030\003 \001(\010\022\021\n\tunit_cost\030\004"
335 " \001(\005\">\n\006Recipe\022\020\n\010duration\030\001 \001(\005\022\017\n\007dema"
336 "nds\030\002 \003(\005\022\021\n\tresources\030\003 \003(\005\"%\n\017PerRecip"
337 "eDelays\022\022\n\nmin_delays\030\001 \003(\005\"b\n\022PerSucces"
338 "sorDelays\022L\n\rrecipe_delays\030\001 \003(\01325.opera"
339 "tions_research.scheduling.rcpsp.PerRecip"
340 "eDelays\"\255\001\n\004Task\022\022\n\nsuccessors\030\001 \003(\005\022=\n\007"
341 "recipes\030\002 \003(\0132,.operations_research.sche"
342 "duling.rcpsp.Recipe\022R\n\020successor_delays\030"
343 "\003 \003(\01328.operations_research.scheduling.r"
344 "cpsp.PerSuccessorDelays\"\203\003\n\014RcpspProblem"
345 "\022A\n\tresources\030\001 \003(\0132..operations_researc"
346 "h.scheduling.rcpsp.Resource\0229\n\005tasks\030\002 \003"
347 "(\0132*.operations_research.scheduling.rcps"
348 "p.Task\022\034\n\024is_consumer_producer\030\003 \001(\010\022\036\n\026"
349 "is_resource_investment\030\004 \001(\010\022\024\n\014is_rcpsp"
350 "_max\030\005 \001(\010\022\020\n\010deadline\030\006 \001(\005\022\017\n\007horizon\030"
351 "\007 \001(\005\022\024\n\014release_date\030\010 \001(\005\022\026\n\016tardiness"
352 "_cost\030\t \001(\005\022\020\n\010mpm_time\030\n \001(\005\022\014\n\004seed\030\013 "
353 "\001(\003\022\020\n\010basedata\030\014 \001(\t\022\020\n\010due_date\030\r \001(\005\022"
354 "\014\n\004name\030\016 \001(\t\"I\n\017RcpspAssignment\022\025\n\rstar"
355 "t_of_task\030\001 \003(\003\022\037\n\027selected_recipe_of_ta"
356 "sk\030\002 \003(\005BI\n#com.google.ortools.schedulin"
357 "g.rcpspP\001\252\002\037Google.OrTools.Scheduling.Rc"
365 descriptor_table_protodef_ortools_2fscheduling_2frcpsp_2eproto,
366 "ortools/scheduling/rcpsp.proto",
385 decltype(::std::declval<Resource>()._impl_._has_bits_);
391#if defined(PROTOBUF_CUSTOM_VTABLE)
394 : ::google::protobuf::Message(arena) {
400 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Resource& from)
401#if defined(PROTOBUF_CUSTOM_VTABLE)
404 : ::google::protobuf::Message(arena),
407 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
408 from._internal_metadata_);
410PROTOBUF_NDEBUG_INLINE Resource::Impl_::Impl_(
411 ::google::protobuf::internal::InternalVisibility visibility,
412 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
413 : _cached_size_{0} {}
415inline void Resource::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
416 new (&
_impl_) Impl_(internal_visibility(), arena);
417 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
418 offsetof(Impl_, max_capacity_),
420 offsetof(Impl_, unit_cost_) -
421 offsetof(Impl_, max_capacity_) +
422 sizeof(Impl_::unit_cost_));
428inline void Resource::SharedDtor(MessageLite& self) {
430 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
431 ABSL_DCHECK(this_.GetArena() ==
nullptr);
436 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
437 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
441 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
Resource),
445 return ::google::protobuf::internal::ClassDataFull{
446 ::google::protobuf::internal::ClassData{
451 &Resource::MergeImpl,
452 ::google::protobuf::Message::GetNewImpl<Resource>(),
453#if defined(PROTOBUF_CUSTOM_VTABLE)
454 &Resource::SharedDtor,
461 &Resource::kDescriptorMethods,
467PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
471PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
477PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
478const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
481 PROTOBUF_FIELD_OFFSET(
Resource, _impl_._has_bits_),
484 offsetof(
decltype(_table_), field_lookup_table),
486 offsetof(
decltype(_table_), field_entries),
489 offsetof(
decltype(_table_), field_names),
492 ::_pbi::TcParser::GenericFallback,
493 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
494 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Resource>(),
498 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Resource, _impl_.unit_cost_), 3>(),
499 {32, 3, 0, PROTOBUF_FIELD_OFFSET(Resource, _impl_.unit_cost_)}},
501 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Resource, _impl_.max_capacity_), 0>(),
502 {8, 0, 0, PROTOBUF_FIELD_OFFSET(Resource, _impl_.max_capacity_)}},
504 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
Resource, _impl_.min_capacity_), 1>(),
505 {16, 1, 0, PROTOBUF_FIELD_OFFSET(
Resource, _impl_.min_capacity_)}},
507 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
Resource, _impl_.renewable_), 2>(),
508 {24, 2, 0, PROTOBUF_FIELD_OFFSET(
Resource, _impl_.renewable_)}},
513 {PROTOBUF_FIELD_OFFSET(
Resource, _impl_.max_capacity_), _Internal::kHasBitsOffset + 0, 0,
514 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
516 {PROTOBUF_FIELD_OFFSET(
Resource, _impl_.min_capacity_), _Internal::kHasBitsOffset + 1, 0,
517 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
519 {PROTOBUF_FIELD_OFFSET(
Resource, _impl_.renewable_), _Internal::kHasBitsOffset + 2, 0,
520 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
522 {PROTOBUF_FIELD_OFFSET(
Resource, _impl_.unit_cost_), _Internal::kHasBitsOffset + 3, 0,
523 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
531 ::google::protobuf::internal::TSanWrite(&
_impl_);
532 ::uint32_t cached_has_bits = 0;
534 (void) cached_has_bits;
536 cached_has_bits =
_impl_._has_bits_[0];
537 if ((cached_has_bits & 0x0000000fu) != 0) {
538 ::memset(&
_impl_.max_capacity_, 0,
static_cast<::
size_t>(
539 reinterpret_cast<char*
>(&
_impl_.unit_cost_) -
540 reinterpret_cast<char*
>(&
_impl_.max_capacity_)) +
sizeof(
_impl_.unit_cost_));
542 _impl_._has_bits_.Clear();
543 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
546#if defined(PROTOBUF_CUSTOM_VTABLE)
548 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
549 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
553 ::uint8_t* PROTOBUF_NONNULL target,
554 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
558 ::uint32_t cached_has_bits = 0;
559 (void)cached_has_bits;
562 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
563 if (this_._internal_max_capacity() != 0) {
565 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
566 stream, this_._internal_max_capacity(), target);
571 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
572 if (this_._internal_min_capacity() != 0) {
574 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
575 stream, this_._internal_min_capacity(), target);
580 if ((this_.
_impl_._has_bits_[0] & 0x00000004u) != 0) {
581 if (this_._internal_renewable() != 0) {
582 target = stream->EnsureSpace(target);
583 target = ::_pbi::WireFormatLite::WriteBoolToArray(
584 3, this_._internal_renewable(), target);
589 if ((this_.
_impl_._has_bits_[0] & 0x00000008u) != 0) {
590 if (this_._internal_unit_cost() != 0) {
592 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
593 stream, this_._internal_unit_cost(), target);
597 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
599 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
600 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
606#if defined(PROTOBUF_CUSTOM_VTABLE)
614 ::size_t total_size = 0;
616 ::uint32_t cached_has_bits = 0;
618 (void)cached_has_bits;
620 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
621 cached_has_bits = this_.
_impl_._has_bits_[0];
622 if ((cached_has_bits & 0x0000000fu) != 0) {
624 if ((cached_has_bits & 0x00000001u) != 0) {
625 if (this_._internal_max_capacity() != 0) {
626 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
627 this_._internal_max_capacity());
631 if ((cached_has_bits & 0x00000002u) != 0) {
632 if (this_._internal_min_capacity() != 0) {
633 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
634 this_._internal_min_capacity());
638 if ((cached_has_bits & 0x00000004u) != 0) {
639 if (this_._internal_renewable() != 0) {
644 if ((cached_has_bits & 0x00000008u) != 0) {
645 if (this_._internal_unit_cost() != 0) {
646 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
647 this_._internal_unit_cost());
651 return this_.MaybeComputeUnknownFieldsSize(total_size,
652 &this_.
_impl_._cached_size_);
655void Resource::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
656 auto*
const _this =
static_cast<Resource*
>(&to_msg);
657 auto& from =
static_cast<const Resource&
>(from_msg);
659 ABSL_DCHECK_NE(&from, _this);
660 ::uint32_t cached_has_bits = 0;
661 (void) cached_has_bits;
663 cached_has_bits = from.
_impl_._has_bits_[0];
664 if ((cached_has_bits & 0x0000000fu) != 0) {
665 if ((cached_has_bits & 0x00000001u) != 0) {
666 if (from._internal_max_capacity() != 0) {
667 _this->_impl_.max_capacity_ = from.
_impl_.max_capacity_;
670 if ((cached_has_bits & 0x00000002u) != 0) {
671 if (from._internal_min_capacity() != 0) {
672 _this->_impl_.min_capacity_ = from.
_impl_.min_capacity_;
675 if ((cached_has_bits & 0x00000004u) != 0) {
676 if (from._internal_renewable() != 0) {
677 _this->_impl_.renewable_ = from.
_impl_.renewable_;
680 if ((cached_has_bits & 0x00000008u) != 0) {
681 if (from._internal_unit_cost() != 0) {
682 _this->_impl_.unit_cost_ = from.
_impl_.unit_cost_;
686 _this->_impl_._has_bits_[0] |= cached_has_bits;
687 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
692 if (&from ==
this)
return;
698void Resource::InternalSwap(
Resource* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
700 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
701 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
702 ::google::protobuf::internal::memswap<
706 reinterpret_cast<char*
>(&
_impl_.max_capacity_),
707 reinterpret_cast<char*
>(&other->_impl_.max_capacity_));
711 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
718 decltype(::std::declval<Recipe>()._impl_._has_bits_);
724#if defined(PROTOBUF_CUSTOM_VTABLE)
727 : ::google::protobuf::Message(arena) {
732PROTOBUF_NDEBUG_INLINE Recipe::Impl_::Impl_(
733 ::google::protobuf::internal::InternalVisibility visibility,
734 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
735 const ::operations_research::scheduling::rcpsp::Recipe& from_msg)
736 : _has_bits_{from._has_bits_},
738 demands_{visibility, arena, from.demands_},
739 _demands_cached_byte_size_{0},
740 resources_{visibility, arena, from.resources_},
741 _resources_cached_byte_size_{0} {}
744 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
746#if defined(PROTOBUF_CUSTOM_VTABLE)
749 : ::google::protobuf::Message(arena) {
751 Recipe*
const _this =
this;
753 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
754 from._internal_metadata_);
755 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
756 _impl_.duration_ = from._impl_.duration_;
760PROTOBUF_NDEBUG_INLINE Recipe::Impl_::Impl_(
761 ::google::protobuf::internal::InternalVisibility visibility,
762 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
764 demands_{visibility, arena},
765 _demands_cached_byte_size_{0},
766 resources_{visibility, arena},
767 _resources_cached_byte_size_{0} {}
769inline void Recipe::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
770 new (&
_impl_) Impl_(internal_visibility(), arena);
779 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
780 ABSL_DCHECK(this_.GetArena() ==
nullptr);
785 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
786 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
787 return ::new (mem)
Recipe(arena);
790 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
793 InternalGetArenaOffset(
797 InternalGetArenaOffset(
800 if (arena_bits.has_value()) {
801 return ::google::protobuf::internal::MessageCreator::ZeroInit(
802 sizeof(Recipe), alignof(Recipe), *arena_bits);
804 return ::google::protobuf::internal::MessageCreator(&Recipe::PlacementNew_,
810 return ::google::protobuf::internal::ClassDataFull{
811 ::google::protobuf::internal::ClassData{
817 ::google::protobuf::Message::GetNewImpl<Recipe>(),
818#if defined(PROTOBUF_CUSTOM_VTABLE)
826 &Recipe::kDescriptorMethods,
832PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
836PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
842PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
843const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
849 offsetof(
decltype(_table_), field_lookup_table),
851 offsetof(
decltype(_table_), field_entries),
854 offsetof(
decltype(_table_), field_names),
857 ::_pbi::TcParser::GenericFallback,
858 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
859 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Recipe>(),
862 {::_pbi::TcParser::MiniParse, {}},
864 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Recipe,
_impl_.duration_), 0>(),
865 {8, 0, 0, PROTOBUF_FIELD_OFFSET(Recipe,
_impl_.duration_)}},
867 {::_pbi::TcParser::FastV32P1,
868 {18, 63, 0, PROTOBUF_FIELD_OFFSET(Recipe,
_impl_.demands_)}},
870 {::_pbi::TcParser::FastV32P1,
871 {26, 63, 0, PROTOBUF_FIELD_OFFSET(Recipe,
_impl_.resources_)}},
877 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
879 {PROTOBUF_FIELD_OFFSET(Recipe,
_impl_.demands_), -1, 0,
880 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
882 {PROTOBUF_FIELD_OFFSET(Recipe,
_impl_.resources_), -1, 0,
883 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
891 ::google::protobuf::internal::TSanWrite(&
_impl_);
892 ::uint32_t cached_has_bits = 0;
894 (void) cached_has_bits;
897 _impl_.resources_.Clear();
899 _impl_._has_bits_.Clear();
900 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
903#if defined(PROTOBUF_CUSTOM_VTABLE)
905 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
906 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
910 ::uint8_t* PROTOBUF_NONNULL target,
911 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
912 const Recipe& this_ = *
this;
915 ::uint32_t cached_has_bits = 0;
916 (void)cached_has_bits;
919 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
920 if (this_._internal_duration() != 0) {
922 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
923 stream, this_._internal_duration(), target);
929 int byte_size = this_.
_impl_._demands_cached_byte_size_.Get();
931 target = stream->WriteInt32Packed(
932 2, this_._internal_demands(), byte_size, target);
938 int byte_size = this_.
_impl_._resources_cached_byte_size_.Get();
940 target = stream->WriteInt32Packed(
941 3, this_._internal_resources(), byte_size, target);
945 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
947 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
948 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
954#if defined(PROTOBUF_CUSTOM_VTABLE)
959 const Recipe& this_ = *
this;
962 ::size_t total_size = 0;
964 ::uint32_t cached_has_bits = 0;
966 (void)cached_has_bits;
968 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
973 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
974 this_._internal_demands(), 1,
975 this_.
_impl_._demands_cached_byte_size_);
980 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
981 this_._internal_resources(), 1,
982 this_.
_impl_._resources_cached_byte_size_);
987 cached_has_bits = this_.
_impl_._has_bits_[0];
988 if ((cached_has_bits & 0x00000001u) != 0) {
989 if (this_._internal_duration() != 0) {
990 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
991 this_._internal_duration());
995 return this_.MaybeComputeUnknownFieldsSize(total_size,
996 &this_.
_impl_._cached_size_);
999void Recipe::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1000 auto*
const _this =
static_cast<Recipe*
>(&to_msg);
1001 auto& from =
static_cast<const Recipe&
>(from_msg);
1003 ABSL_DCHECK_NE(&from, _this);
1004 ::uint32_t cached_has_bits = 0;
1005 (void) cached_has_bits;
1007 _this->_internal_mutable_demands()->MergeFrom(from._internal_demands());
1008 _this->_internal_mutable_resources()->MergeFrom(from._internal_resources());
1009 cached_has_bits = from._impl_._has_bits_[0];
1010 if ((cached_has_bits & 0x00000001u) != 0) {
1011 if (from._internal_duration() != 0) {
1012 _this->_impl_.duration_ = from._impl_.duration_;
1015 _this->_impl_._has_bits_[0] |= cached_has_bits;
1016 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1021 if (&from ==
this)
return;
1027void Recipe::InternalSwap(
Recipe* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1029 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1030 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1031 _impl_.demands_.InternalSwap(&other->_impl_.demands_);
1032 _impl_.resources_.InternalSwap(&other->_impl_.resources_);
1033 swap(
_impl_.duration_, other->_impl_.duration_);
1037 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1046#if defined(PROTOBUF_CUSTOM_VTABLE)
1049 : ::google::protobuf::Message(arena) {
1054PROTOBUF_NDEBUG_INLINE PerRecipeDelays::Impl_::Impl_(
1055 ::google::protobuf::internal::InternalVisibility visibility,
1056 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1057 const ::operations_research::scheduling::rcpsp::PerRecipeDelays& from_msg)
1058 : min_delays_{visibility, arena, from.min_delays_},
1059 _min_delays_cached_byte_size_{0},
1063 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1064 const PerRecipeDelays& from)
1065#if defined(PROTOBUF_CUSTOM_VTABLE)
1068 : ::google::protobuf::Message(arena) {
1072 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1073 from._internal_metadata_);
1074 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1078PROTOBUF_NDEBUG_INLINE PerRecipeDelays::Impl_::Impl_(
1079 ::google::protobuf::internal::InternalVisibility visibility,
1080 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1081 : min_delays_{visibility, arena},
1082 _min_delays_cached_byte_size_{0},
1085inline void PerRecipeDelays::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1086 new (&
_impl_) Impl_(internal_visibility(), arena);
1092inline void PerRecipeDelays::SharedDtor(MessageLite& self) {
1094 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1095 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1100 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1101 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1105 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1108 InternalGetArenaOffset(
1111 if (arena_bits.has_value()) {
1112 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1113 sizeof(PerRecipeDelays), alignof(PerRecipeDelays), *arena_bits);
1115 return ::google::protobuf::internal::MessageCreator(&PerRecipeDelays::PlacementNew_,
1116 sizeof(PerRecipeDelays),
1117 alignof(PerRecipeDelays));
1121 return ::google::protobuf::internal::ClassDataFull{
1122 ::google::protobuf::internal::ClassData{
1127 &PerRecipeDelays::MergeImpl,
1128 ::google::protobuf::Message::GetNewImpl<PerRecipeDelays>(),
1129#if defined(PROTOBUF_CUSTOM_VTABLE)
1130 &PerRecipeDelays::SharedDtor,
1137 &PerRecipeDelays::kDescriptorMethods,
1143PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1147PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1153PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1154const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
1155PerRecipeDelays::_table_ = {
1160 offsetof(
decltype(_table_), field_lookup_table),
1162 offsetof(
decltype(_table_), field_entries),
1165 offsetof(
decltype(_table_), field_names),
1168 ::_pbi::TcParser::GenericFallback,
1169 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1170 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::PerRecipeDelays>(),
1174 {::_pbi::TcParser::FastV32P1,
1181 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1189 ::google::protobuf::internal::TSanWrite(&
_impl_);
1190 ::uint32_t cached_has_bits = 0;
1192 (void) cached_has_bits;
1194 _impl_.min_delays_.Clear();
1195 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1198#if defined(PROTOBUF_CUSTOM_VTABLE)
1200 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1201 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1205 ::uint8_t* PROTOBUF_NONNULL target,
1206 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1210 ::uint32_t cached_has_bits = 0;
1211 (void)cached_has_bits;
1215 int byte_size = this_.
_impl_._min_delays_cached_byte_size_.Get();
1216 if (byte_size > 0) {
1217 target = stream->WriteInt32Packed(
1218 1, this_._internal_min_delays(), byte_size, target);
1222 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1224 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1225 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1231#if defined(PROTOBUF_CUSTOM_VTABLE)
1239 ::size_t total_size = 0;
1241 ::uint32_t cached_has_bits = 0;
1243 (void)cached_has_bits;
1245 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1250 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1251 this_._internal_min_delays(), 1,
1252 this_._impl_._min_delays_cached_byte_size_);
1255 return this_.MaybeComputeUnknownFieldsSize(total_size,
1256 &this_._impl_._cached_size_);
1259void PerRecipeDelays::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1263 ABSL_DCHECK_NE(&from, _this);
1264 ::uint32_t cached_has_bits = 0;
1265 (void) cached_has_bits;
1267 _this->_internal_mutable_min_delays()->MergeFrom(from._internal_min_delays());
1268 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1273 if (&from ==
this)
return;
1279void PerRecipeDelays::InternalSwap(
PerRecipeDelays* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1281 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1282 _impl_.min_delays_.InternalSwap(&other->_impl_.min_delays_);
1286 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1295#if defined(PROTOBUF_CUSTOM_VTABLE)
1298 : ::google::protobuf::Message(arena) {
1303PROTOBUF_NDEBUG_INLINE PerSuccessorDelays::Impl_::Impl_(
1304 ::google::protobuf::internal::InternalVisibility visibility,
1305 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1306 const ::operations_research::scheduling::rcpsp::PerSuccessorDelays& from_msg)
1307 : recipe_delays_{visibility, arena, from.recipe_delays_},
1311 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1312 const PerSuccessorDelays& from)
1313#if defined(PROTOBUF_CUSTOM_VTABLE)
1316 : ::google::protobuf::Message(arena) {
1320 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1321 from._internal_metadata_);
1322 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1326PROTOBUF_NDEBUG_INLINE PerSuccessorDelays::Impl_::Impl_(
1327 ::google::protobuf::internal::InternalVisibility visibility,
1328 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1329 : recipe_delays_{visibility, arena},
1332inline void PerSuccessorDelays::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1333 new (&
_impl_) Impl_(internal_visibility(), arena);
1341 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1342 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1347 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1348 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1352 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1355 InternalGetArenaOffset(
1356 ::google::protobuf::Message::internal_visibility()),
1358 if (arena_bits.has_value()) {
1359 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1368 return ::google::protobuf::internal::ClassDataFull{
1369 ::google::protobuf::internal::ClassData{
1374 &PerSuccessorDelays::MergeImpl,
1375 ::google::protobuf::Message::GetNewImpl<PerSuccessorDelays>(),
1376#if defined(PROTOBUF_CUSTOM_VTABLE)
1377 &PerSuccessorDelays::SharedDtor,
1384 &PerSuccessorDelays::kDescriptorMethods,
1390PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1394PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1400PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1401const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
1402PerSuccessorDelays::_table_ = {
1407 offsetof(
decltype(_table_), field_lookup_table),
1409 offsetof(
decltype(_table_), field_entries),
1412 offsetof(
decltype(_table_), aux_entries),
1415 ::_pbi::TcParser::GenericFallback,
1416 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1417 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::PerSuccessorDelays>(),
1421 {::_pbi::TcParser::FastMtR1,
1422 {10, 63, 0, PROTOBUF_FIELD_OFFSET(PerSuccessorDelays, _impl_.recipe_delays_)}},
1428 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1431 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::PerRecipeDelays>()},
1438 ::google::protobuf::internal::TSanWrite(&
_impl_);
1439 ::uint32_t cached_has_bits = 0;
1441 (void) cached_has_bits;
1443 _impl_.recipe_delays_.Clear();
1444 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1447#if defined(PROTOBUF_CUSTOM_VTABLE)
1449 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1450 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1454 ::uint8_t* PROTOBUF_NONNULL target,
1455 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1459 ::uint32_t cached_has_bits = 0;
1460 (void)cached_has_bits;
1463 for (
unsigned i = 0, n =
static_cast<unsigned>(
1464 this_._internal_recipe_delays_size());
1466 const auto& repfield = this_._internal_recipe_delays().Get(i);
1468 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1469 1, repfield, repfield.GetCachedSize(),
1473 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1475 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1476 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1482#if defined(PROTOBUF_CUSTOM_VTABLE)
1490 ::size_t total_size = 0;
1492 ::uint32_t cached_has_bits = 0;
1494 (void)cached_has_bits;
1496 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1500 total_size += 1UL * this_._internal_recipe_delays_size();
1501 for (
const auto& msg : this_._internal_recipe_delays()) {
1502 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1506 return this_.MaybeComputeUnknownFieldsSize(total_size,
1507 &this_._impl_._cached_size_);
1510void PerSuccessorDelays::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1514 ABSL_DCHECK_NE(&from, _this);
1515 ::uint32_t cached_has_bits = 0;
1516 (void) cached_has_bits;
1518 _this->_internal_mutable_recipe_delays()->MergeFrom(
1519 from._internal_recipe_delays());
1520 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1525 if (&from ==
this)
return;
1531void PerSuccessorDelays::InternalSwap(
PerSuccessorDelays* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1533 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1534 _impl_.recipe_delays_.InternalSwap(&other->_impl_.recipe_delays_);
1538 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1546Task::Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1547#if defined(PROTOBUF_CUSTOM_VTABLE)
1550 : ::google::protobuf::Message(arena) {
1555PROTOBUF_NDEBUG_INLINE Task::Impl_::Impl_(
1556 ::google::protobuf::internal::InternalVisibility visibility,
1557 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1558 const ::operations_research::scheduling::rcpsp::Task& from_msg)
1559 : successors_{visibility, arena, from.successors_},
1560 _successors_cached_byte_size_{0},
1561 recipes_{visibility, arena, from.recipes_},
1562 successor_delays_{visibility, arena, from.successor_delays_},
1566 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1568#if defined(PROTOBUF_CUSTOM_VTABLE)
1571 : ::google::protobuf::Message(arena) {
1573 Task*
const _this =
this;
1575 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1576 from._internal_metadata_);
1577 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1581PROTOBUF_NDEBUG_INLINE Task::Impl_::Impl_(
1582 ::google::protobuf::internal::InternalVisibility visibility,
1583 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1584 : successors_{visibility, arena},
1585 _successors_cached_byte_size_{0},
1586 recipes_{visibility, arena},
1587 successor_delays_{visibility, arena},
1590inline void Task::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1591 new (&
_impl_) Impl_(internal_visibility(), arena);
1597inline void Task::SharedDtor(MessageLite& self) {
1599 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1600 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1605 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1606 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1607 return ::new (mem)
Task(arena);
1610 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1611 PROTOBUF_FIELD_OFFSET(
Task,
_impl_.successors_) +
1613 InternalGetArenaOffset(
1614 ::google::protobuf::Message::internal_visibility()),
1615 PROTOBUF_FIELD_OFFSET(
Task,
_impl_.recipes_) +
1617 InternalGetArenaOffset(
1619 PROTOBUF_FIELD_OFFSET(
Task,
_impl_.successor_delays_) +
1621 InternalGetArenaOffset(
1624 if (arena_bits.has_value()) {
1625 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1626 sizeof(Task), alignof(Task), *arena_bits);
1628 return ::google::protobuf::internal::MessageCreator(&Task::PlacementNew_,
1634 return ::google::protobuf::internal::ClassDataFull{
1635 ::google::protobuf::internal::ClassData{
1641 ::google::protobuf::Message::GetNewImpl<Task>(),
1642#if defined(PROTOBUF_CUSTOM_VTABLE)
1647 PROTOBUF_FIELD_OFFSET(
Task,
_impl_._cached_size_),
1650 &Task::kDescriptorMethods,
1656PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1660PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1663 ::google::protobuf::internal::PrefetchToLocalCache(
Task_class_data_.tc_table);
1666PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1667const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
1673 offsetof(
decltype(_table_), field_lookup_table),
1675 offsetof(
decltype(_table_), field_entries),
1678 offsetof(
decltype(_table_), aux_entries),
1681 ::_pbi::TcParser::GenericFallback,
1682 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1683 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Task>(),
1686 {::_pbi::TcParser::MiniParse, {}},
1688 {::_pbi::TcParser::FastV32P1,
1689 {10, 63, 0, PROTOBUF_FIELD_OFFSET(
Task,
_impl_.successors_)}},
1691 {::_pbi::TcParser::FastMtR1,
1692 {18, 63, 0, PROTOBUF_FIELD_OFFSET(
Task,
_impl_.recipes_)}},
1694 {::_pbi::TcParser::FastMtR1,
1695 {26, 63, 1, PROTOBUF_FIELD_OFFSET(
Task,
_impl_.successor_delays_)}},
1700 {PROTOBUF_FIELD_OFFSET(
Task,
_impl_.successors_), 0, 0,
1701 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1703 {PROTOBUF_FIELD_OFFSET(
Task,
_impl_.recipes_), 0, 0,
1704 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1706 {PROTOBUF_FIELD_OFFSET(
Task,
_impl_.successor_delays_), 0, 1,
1707 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1710 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Recipe>()},
1711 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::PerSuccessorDelays>()},
1718 ::google::protobuf::internal::TSanWrite(&
_impl_);
1719 ::uint32_t cached_has_bits = 0;
1721 (void) cached_has_bits;
1723 _impl_.successors_.Clear();
1725 _impl_.successor_delays_.Clear();
1726 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1729#if defined(PROTOBUF_CUSTOM_VTABLE)
1731 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1732 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1736 ::uint8_t* PROTOBUF_NONNULL target,
1737 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1738 const Task& this_ = *
this;
1741 ::uint32_t cached_has_bits = 0;
1742 (void)cached_has_bits;
1746 int byte_size = this_.
_impl_._successors_cached_byte_size_.Get();
1747 if (byte_size > 0) {
1748 target = stream->WriteInt32Packed(
1749 1, this_._internal_successors(), byte_size, target);
1754 for (
unsigned i = 0, n =
static_cast<unsigned>(
1755 this_._internal_recipes_size());
1757 const auto& repfield = this_._internal_recipes().Get(i);
1759 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1760 2, repfield, repfield.GetCachedSize(),
1765 for (
unsigned i = 0, n =
static_cast<unsigned>(
1766 this_._internal_successor_delays_size());
1768 const auto& repfield = this_._internal_successor_delays().Get(i);
1770 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1771 3, repfield, repfield.GetCachedSize(),
1775 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1777 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1778 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1784#if defined(PROTOBUF_CUSTOM_VTABLE)
1786 const Task& this_ =
static_cast<const Task&
>(base);
1789 const Task& this_ = *
this;
1792 ::size_t total_size = 0;
1794 ::uint32_t cached_has_bits = 0;
1796 (void)cached_has_bits;
1798 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1803 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1804 this_._internal_successors(), 1,
1805 this_._impl_._successors_cached_byte_size_);
1809 total_size += 1UL * this_._internal_recipes_size();
1810 for (
const auto& msg : this_._internal_recipes()) {
1811 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1816 total_size += 1UL * this_._internal_successor_delays_size();
1817 for (
const auto& msg : this_._internal_successor_delays()) {
1818 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1822 return this_.MaybeComputeUnknownFieldsSize(total_size,
1823 &this_._impl_._cached_size_);
1826void Task::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1827 auto*
const _this =
static_cast<Task*
>(&to_msg);
1828 auto& from =
static_cast<const Task&
>(from_msg);
1830 ABSL_DCHECK_NE(&from, _this);
1831 ::uint32_t cached_has_bits = 0;
1832 (void) cached_has_bits;
1834 _this->_internal_mutable_successors()->MergeFrom(from._internal_successors());
1835 _this->_internal_mutable_recipes()->MergeFrom(
1836 from._internal_recipes());
1837 _this->_internal_mutable_successor_delays()->MergeFrom(
1838 from._internal_successor_delays());
1839 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1844 if (&from ==
this)
return;
1850void Task::InternalSwap(
Task* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1852 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1853 _impl_.successors_.InternalSwap(&other->_impl_.successors_);
1854 _impl_.recipes_.InternalSwap(&other->_impl_.recipes_);
1855 _impl_.successor_delays_.InternalSwap(&other->_impl_.successor_delays_);
1859 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1866 decltype(::std::declval<RcpspProblem>()._impl_._has_bits_);
1867 static constexpr ::int32_t kHasBitsOffset =
1872#if defined(PROTOBUF_CUSTOM_VTABLE)
1875 : ::google::protobuf::Message(arena) {
1880PROTOBUF_NDEBUG_INLINE RcpspProblem::Impl_::Impl_(
1881 ::google::protobuf::internal::InternalVisibility visibility,
1882 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1883 const ::operations_research::scheduling::rcpsp::RcpspProblem& from_msg)
1884 : _has_bits_{from._has_bits_},
1886 resources_{visibility, arena, from.resources_},
1887 tasks_{visibility, arena, from.tasks_},
1888 basedata_(arena, from.basedata_),
1889 name_(arena, from.name_) {}
1892 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1893 const RcpspProblem& from)
1894#if defined(PROTOBUF_CUSTOM_VTABLE)
1897 : ::google::protobuf::Message(arena) {
1901 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1902 from._internal_metadata_);
1903 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1904 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
1905 offsetof(Impl_, is_consumer_producer_),
1906 reinterpret_cast<const char *
>(&from._impl_) +
1907 offsetof(Impl_, is_consumer_producer_),
1908 offsetof(Impl_, due_date_) -
1909 offsetof(Impl_, is_consumer_producer_) +
1910 sizeof(Impl_::due_date_));
1914PROTOBUF_NDEBUG_INLINE RcpspProblem::Impl_::Impl_(
1915 ::google::protobuf::internal::InternalVisibility visibility,
1916 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1918 resources_{visibility, arena},
1919 tasks_{visibility, arena},
1923inline void RcpspProblem::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1924 new (&
_impl_) Impl_(internal_visibility(), arena);
1925 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
1926 offsetof(Impl_, is_consumer_producer_),
1928 offsetof(Impl_, due_date_) -
1929 offsetof(Impl_, is_consumer_producer_) +
1930 sizeof(Impl_::due_date_));
1936inline void RcpspProblem::SharedDtor(MessageLite& self) {
1938 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1939 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1940 this_._impl_.basedata_.Destroy();
1941 this_._impl_.name_.Destroy();
1942 this_._impl_.~Impl_();
1946 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1947 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1951 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1954 InternalGetArenaOffset(
1955 ::google::protobuf::Message::internal_visibility()),
1958 InternalGetArenaOffset(
1961 if (arena_bits.has_value()) {
1962 return ::google::protobuf::internal::MessageCreator::CopyInit(
1963 sizeof(RcpspProblem), alignof(RcpspProblem), *arena_bits);
1965 return ::google::protobuf::internal::MessageCreator(&RcpspProblem::PlacementNew_,
1966 sizeof(RcpspProblem),
1967 alignof(RcpspProblem));
1971 return ::google::protobuf::internal::ClassDataFull{
1972 ::google::protobuf::internal::ClassData{
1977 &RcpspProblem::MergeImpl,
1978 ::google::protobuf::Message::GetNewImpl<RcpspProblem>(),
1979#if defined(PROTOBUF_CUSTOM_VTABLE)
1980 &RcpspProblem::SharedDtor,
1987 &RcpspProblem::kDescriptorMethods,
1993PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1997PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2003PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2004const ::_pbi::TcParseTable<4, 14, 2, 78, 2>
2005RcpspProblem::_table_ = {
2010 offsetof(
decltype(_table_), field_lookup_table),
2012 offsetof(
decltype(_table_), field_entries),
2015 offsetof(
decltype(_table_), aux_entries),
2018 ::_pbi::TcParser::GenericFallback,
2019 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2020 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::RcpspProblem>(),
2023 {::_pbi::TcParser::MiniParse, {}},
2025 {::_pbi::TcParser::FastMtR1,
2028 {::_pbi::TcParser::FastMtR1,
2031 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
RcpspProblem,
_impl_.is_consumer_producer_), 2>(),
2034 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
RcpspProblem,
_impl_.is_resource_investment_), 3>(),
2037 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
RcpspProblem,
_impl_.is_rcpsp_max_), 4>(),
2040 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
RcpspProblem,
_impl_.deadline_), 5>(),
2043 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
RcpspProblem,
_impl_.horizon_), 6>(),
2046 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
RcpspProblem,
_impl_.release_date_), 7>(),
2049 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
RcpspProblem,
_impl_.tardiness_cost_), 8>(),
2052 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
RcpspProblem,
_impl_.mpm_time_), 9>(),
2055 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
RcpspProblem,
_impl_.seed_), 10>(),
2058 {::_pbi::TcParser::FastUS1,
2061 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
RcpspProblem,
_impl_.due_date_), 11>(),
2064 {::_pbi::TcParser::FastUS1,
2066 {::_pbi::TcParser::MiniParse, {}},
2072 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2075 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2078 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2081 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2084 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2087 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2090 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2093 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2096 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2099 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2102 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2105 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2108 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2111 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2114 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Resource>()},
2115 {::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::Task>()},
2118 "\61\0\0\0\0\0\0\0\0\0\0\0\10\0\4\0"
2119 "operations_research.scheduling.rcpsp.RcpspProblem"
2126 ::google::protobuf::internal::TSanWrite(&
_impl_);
2127 ::uint32_t cached_has_bits = 0;
2129 (void) cached_has_bits;
2131 _impl_.resources_.Clear();
2133 cached_has_bits =
_impl_._has_bits_[0];
2134 if ((cached_has_bits & 0x00000003u) != 0) {
2135 if ((cached_has_bits & 0x00000001u) != 0) {
2136 _impl_.basedata_.ClearNonDefaultToEmpty();
2138 if ((cached_has_bits & 0x00000002u) != 0) {
2139 _impl_.name_.ClearNonDefaultToEmpty();
2142 if ((cached_has_bits & 0x000000fcu) != 0) {
2143 ::memset(&
_impl_.is_consumer_producer_, 0,
static_cast<::
size_t>(
2144 reinterpret_cast<char*
>(&
_impl_.release_date_) -
2145 reinterpret_cast<char*
>(&
_impl_.is_consumer_producer_)) +
sizeof(
_impl_.release_date_));
2147 if ((cached_has_bits & 0x00000f00u) != 0) {
2148 ::memset(&
_impl_.tardiness_cost_, 0,
static_cast<::
size_t>(
2149 reinterpret_cast<char*
>(&
_impl_.due_date_) -
2150 reinterpret_cast<char*
>(&
_impl_.tardiness_cost_)) +
sizeof(
_impl_.due_date_));
2152 _impl_._has_bits_.Clear();
2153 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2156#if defined(PROTOBUF_CUSTOM_VTABLE)
2158 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2159 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2163 ::uint8_t* PROTOBUF_NONNULL target,
2164 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2168 ::uint32_t cached_has_bits = 0;
2169 (void)cached_has_bits;
2172 for (
unsigned i = 0, n =
static_cast<unsigned>(
2173 this_._internal_resources_size());
2175 const auto& repfield = this_._internal_resources().Get(i);
2177 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2178 1, repfield, repfield.GetCachedSize(),
2183 for (
unsigned i = 0, n =
static_cast<unsigned>(
2184 this_._internal_tasks_size());
2186 const auto& repfield = this_._internal_tasks().Get(i);
2188 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2189 2, repfield, repfield.GetCachedSize(),
2194 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
2195 if (this_._internal_is_consumer_producer() != 0) {
2196 target = stream->EnsureSpace(target);
2197 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2198 3, this_._internal_is_consumer_producer(), target);
2203 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) {
2204 if (this_._internal_is_resource_investment() != 0) {
2205 target = stream->EnsureSpace(target);
2206 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2207 4, this_._internal_is_resource_investment(), target);
2212 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) {
2213 if (this_._internal_is_rcpsp_max() != 0) {
2214 target = stream->EnsureSpace(target);
2215 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2216 5, this_._internal_is_rcpsp_max(), target);
2221 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) {
2222 if (this_._internal_deadline() != 0) {
2224 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
2225 stream, this_._internal_deadline(), target);
2230 if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) {
2231 if (this_._internal_horizon() != 0) {
2233 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<7>(
2234 stream, this_._internal_horizon(), target);
2239 if ((this_._impl_._has_bits_[0] & 0x00000080u) != 0) {
2240 if (this_._internal_release_date() != 0) {
2242 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<8>(
2243 stream, this_._internal_release_date(), target);
2248 if ((this_._impl_._has_bits_[0] & 0x00000100u) != 0) {
2249 if (this_._internal_tardiness_cost() != 0) {
2251 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<9>(
2252 stream, this_._internal_tardiness_cost(), target);
2257 if ((this_._impl_._has_bits_[0] & 0x00000200u) != 0) {
2258 if (this_._internal_mpm_time() != 0) {
2260 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<10>(
2261 stream, this_._internal_mpm_time(), target);
2266 if ((this_._impl_._has_bits_[0] & 0x00000400u) != 0) {
2267 if (this_._internal_seed() != 0) {
2269 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<11>(
2270 stream, this_._internal_seed(), target);
2275 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
2276 if (!this_._internal_basedata().empty()) {
2277 const ::std::string& _s = this_._internal_basedata();
2278 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2279 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.scheduling.rcpsp.RcpspProblem.basedata");
2280 target = stream->WriteStringMaybeAliased(12, _s, target);
2285 if ((this_._impl_._has_bits_[0] & 0x00000800u) != 0) {
2286 if (this_._internal_due_date() != 0) {
2288 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<13>(
2289 stream, this_._internal_due_date(), target);
2294 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
2295 if (!this_._internal_name().empty()) {
2296 const ::std::string& _s = this_._internal_name();
2297 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2298 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.scheduling.rcpsp.RcpspProblem.name");
2299 target = stream->WriteStringMaybeAliased(14, _s, target);
2303 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2305 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2306 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2312#if defined(PROTOBUF_CUSTOM_VTABLE)
2320 ::size_t total_size = 0;
2322 ::uint32_t cached_has_bits = 0;
2324 (void)cached_has_bits;
2326 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2330 total_size += 1UL * this_._internal_resources_size();
2331 for (
const auto& msg : this_._internal_resources()) {
2332 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2337 total_size += 1UL * this_._internal_tasks_size();
2338 for (
const auto& msg : this_._internal_tasks()) {
2339 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2343 cached_has_bits = this_._impl_._has_bits_[0];
2344 if ((cached_has_bits & 0x000000ffu) != 0) {
2346 if ((cached_has_bits & 0x00000001u) != 0) {
2347 if (!this_._internal_basedata().empty()) {
2348 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2349 this_._internal_basedata());
2353 if ((cached_has_bits & 0x00000002u) != 0) {
2354 if (!this_._internal_name().empty()) {
2355 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2356 this_._internal_name());
2360 if ((cached_has_bits & 0x00000004u) != 0) {
2361 if (this_._internal_is_consumer_producer() != 0) {
2366 if ((cached_has_bits & 0x00000008u) != 0) {
2367 if (this_._internal_is_resource_investment() != 0) {
2372 if ((cached_has_bits & 0x00000010u) != 0) {
2373 if (this_._internal_is_rcpsp_max() != 0) {
2378 if ((cached_has_bits & 0x00000020u) != 0) {
2379 if (this_._internal_deadline() != 0) {
2380 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2381 this_._internal_deadline());
2385 if ((cached_has_bits & 0x00000040u) != 0) {
2386 if (this_._internal_horizon() != 0) {
2387 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2388 this_._internal_horizon());
2392 if ((cached_has_bits & 0x00000080u) != 0) {
2393 if (this_._internal_release_date() != 0) {
2394 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2395 this_._internal_release_date());
2399 if ((cached_has_bits & 0x00000f00u) != 0) {
2401 if ((cached_has_bits & 0x00000100u) != 0) {
2402 if (this_._internal_tardiness_cost() != 0) {
2403 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2404 this_._internal_tardiness_cost());
2408 if ((cached_has_bits & 0x00000200u) != 0) {
2409 if (this_._internal_mpm_time() != 0) {
2410 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2411 this_._internal_mpm_time());
2415 if ((cached_has_bits & 0x00000400u) != 0) {
2416 if (this_._internal_seed() != 0) {
2417 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2418 this_._internal_seed());
2422 if ((cached_has_bits & 0x00000800u) != 0) {
2423 if (this_._internal_due_date() != 0) {
2424 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2425 this_._internal_due_date());
2429 return this_.MaybeComputeUnknownFieldsSize(total_size,
2430 &this_._impl_._cached_size_);
2433void RcpspProblem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2434 auto*
const _this =
static_cast<RcpspProblem*
>(&to_msg);
2435 auto& from =
static_cast<const RcpspProblem&
>(from_msg);
2437 ABSL_DCHECK_NE(&from, _this);
2438 ::uint32_t cached_has_bits = 0;
2439 (void) cached_has_bits;
2441 _this->_internal_mutable_resources()->MergeFrom(
2442 from._internal_resources());
2443 _this->_internal_mutable_tasks()->MergeFrom(
2444 from._internal_tasks());
2445 cached_has_bits = from._impl_._has_bits_[0];
2446 if ((cached_has_bits & 0x000000ffu) != 0) {
2447 if ((cached_has_bits & 0x00000001u) != 0) {
2448 if (!from._internal_basedata().empty()) {
2449 _this->_internal_set_basedata(from._internal_basedata());
2451 if (_this->_impl_.basedata_.IsDefault()) {
2452 _this->_internal_set_basedata(
"");
2456 if ((cached_has_bits & 0x00000002u) != 0) {
2457 if (!from._internal_name().empty()) {
2458 _this->_internal_set_name(from._internal_name());
2460 if (_this->_impl_.name_.IsDefault()) {
2461 _this->_internal_set_name(
"");
2465 if ((cached_has_bits & 0x00000004u) != 0) {
2466 if (from._internal_is_consumer_producer() != 0) {
2467 _this->_impl_.is_consumer_producer_ = from._impl_.is_consumer_producer_;
2470 if ((cached_has_bits & 0x00000008u) != 0) {
2471 if (from._internal_is_resource_investment() != 0) {
2472 _this->_impl_.is_resource_investment_ = from._impl_.is_resource_investment_;
2475 if ((cached_has_bits & 0x00000010u) != 0) {
2476 if (from._internal_is_rcpsp_max() != 0) {
2477 _this->_impl_.is_rcpsp_max_ = from._impl_.is_rcpsp_max_;
2480 if ((cached_has_bits & 0x00000020u) != 0) {
2481 if (from._internal_deadline() != 0) {
2482 _this->_impl_.deadline_ = from._impl_.deadline_;
2485 if ((cached_has_bits & 0x00000040u) != 0) {
2486 if (from._internal_horizon() != 0) {
2487 _this->_impl_.horizon_ = from._impl_.horizon_;
2490 if ((cached_has_bits & 0x00000080u) != 0) {
2491 if (from._internal_release_date() != 0) {
2492 _this->_impl_.release_date_ = from._impl_.release_date_;
2496 if ((cached_has_bits & 0x00000f00u) != 0) {
2497 if ((cached_has_bits & 0x00000100u) != 0) {
2498 if (from._internal_tardiness_cost() != 0) {
2499 _this->_impl_.tardiness_cost_ = from._impl_.tardiness_cost_;
2502 if ((cached_has_bits & 0x00000200u) != 0) {
2503 if (from._internal_mpm_time() != 0) {
2504 _this->_impl_.mpm_time_ = from._impl_.mpm_time_;
2507 if ((cached_has_bits & 0x00000400u) != 0) {
2508 if (from._internal_seed() != 0) {
2509 _this->_impl_.seed_ = from._impl_.seed_;
2512 if ((cached_has_bits & 0x00000800u) != 0) {
2513 if (from._internal_due_date() != 0) {
2514 _this->_impl_.due_date_ = from._impl_.due_date_;
2518 _this->_impl_._has_bits_[0] |= cached_has_bits;
2519 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2524 if (&from ==
this)
return;
2530void RcpspProblem::InternalSwap(
RcpspProblem* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2532 auto* arena = GetArena();
2533 ABSL_DCHECK_EQ(arena, other->GetArena());
2534 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2535 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2536 _impl_.resources_.InternalSwap(&other->_impl_.resources_);
2537 _impl_.tasks_.InternalSwap(&other->_impl_.tasks_);
2538 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.basedata_, &other->_impl_.basedata_, arena);
2539 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
2540 ::google::protobuf::internal::memswap<
2544 reinterpret_cast<char*
>(&
_impl_.is_consumer_producer_),
2545 reinterpret_cast<char*
>(&other->_impl_.is_consumer_producer_));
2549 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2553class RcpspAssignment::_Internal {
2558#if defined(PROTOBUF_CUSTOM_VTABLE)
2561 : ::google::protobuf::Message(arena) {
2566PROTOBUF_NDEBUG_INLINE RcpspAssignment::Impl_::Impl_(
2567 ::google::protobuf::internal::InternalVisibility visibility,
2568 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2569 const ::operations_research::scheduling::rcpsp::RcpspAssignment& from_msg)
2570 : start_of_task_{visibility, arena, from.start_of_task_},
2571 _start_of_task_cached_byte_size_{0},
2572 selected_recipe_of_task_{visibility, arena, from.selected_recipe_of_task_},
2573 _selected_recipe_of_task_cached_byte_size_{0},
2577 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2578 const RcpspAssignment& from)
2579#if defined(PROTOBUF_CUSTOM_VTABLE)
2582 : ::google::protobuf::Message(arena) {
2586 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2587 from._internal_metadata_);
2588 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2592PROTOBUF_NDEBUG_INLINE RcpspAssignment::Impl_::Impl_(
2593 ::google::protobuf::internal::InternalVisibility visibility,
2594 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2595 : start_of_task_{visibility, arena},
2596 _start_of_task_cached_byte_size_{0},
2597 selected_recipe_of_task_{visibility, arena},
2598 _selected_recipe_of_task_cached_byte_size_{0},
2601inline void RcpspAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2602 new (&
_impl_) Impl_(internal_visibility(), arena);
2608inline void RcpspAssignment::SharedDtor(MessageLite& self) {
2610 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2611 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2612 this_._impl_.~Impl_();
2616 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2617 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2621 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2624 InternalGetArenaOffset(
2628 InternalGetArenaOffset(
2631 if (arena_bits.has_value()) {
2632 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2633 sizeof(RcpspAssignment), alignof(RcpspAssignment), *arena_bits);
2635 return ::google::protobuf::internal::MessageCreator(&RcpspAssignment::PlacementNew_,
2636 sizeof(RcpspAssignment),
2637 alignof(RcpspAssignment));
2641 return ::google::protobuf::internal::ClassDataFull{
2642 ::google::protobuf::internal::ClassData{
2647 &RcpspAssignment::MergeImpl,
2648 ::google::protobuf::Message::GetNewImpl<RcpspAssignment>(),
2649#if defined(PROTOBUF_CUSTOM_VTABLE)
2650 &RcpspAssignment::SharedDtor,
2657 &RcpspAssignment::kDescriptorMethods,
2663PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2667PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2673PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2674const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
2675RcpspAssignment::_table_ = {
2680 offsetof(
decltype(_table_), field_lookup_table),
2682 offsetof(
decltype(_table_), field_entries),
2685 offsetof(
decltype(_table_), field_names),
2688 ::_pbi::TcParser::GenericFallback,
2689 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2690 ::_pbi::TcParser::GetTable<::operations_research::scheduling::rcpsp::RcpspAssignment>(),
2694 {::_pbi::TcParser::FastV32P1,
2697 {::_pbi::TcParser::FastV64P1,
2704 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
2707 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
2715 ::google::protobuf::internal::TSanWrite(&
_impl_);
2716 ::uint32_t cached_has_bits = 0;
2718 (void) cached_has_bits;
2721 _impl_.selected_recipe_of_task_.Clear();
2722 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2725#if defined(PROTOBUF_CUSTOM_VTABLE)
2727 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2728 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2732 ::uint8_t* PROTOBUF_NONNULL target,
2733 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2737 ::uint32_t cached_has_bits = 0;
2738 (void)cached_has_bits;
2742 int byte_size = this_.
_impl_._start_of_task_cached_byte_size_.Get();
2743 if (byte_size > 0) {
2744 target = stream->WriteInt64Packed(
2745 1, this_._internal_start_of_task(), byte_size, target);
2751 int byte_size = this_.
_impl_._selected_recipe_of_task_cached_byte_size_.Get();
2752 if (byte_size > 0) {
2753 target = stream->WriteInt32Packed(
2754 2, this_._internal_selected_recipe_of_task(), byte_size, target);
2758 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2760 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2761 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2767#if defined(PROTOBUF_CUSTOM_VTABLE)
2775 ::size_t total_size = 0;
2777 ::uint32_t cached_has_bits = 0;
2779 (void)cached_has_bits;
2781 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2786 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
2787 this_._internal_start_of_task(), 1,
2788 this_._impl_._start_of_task_cached_byte_size_);
2793 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2794 this_._internal_selected_recipe_of_task(), 1,
2795 this_._impl_._selected_recipe_of_task_cached_byte_size_);
2798 return this_.MaybeComputeUnknownFieldsSize(total_size,
2799 &this_._impl_._cached_size_);
2802void RcpspAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2806 ABSL_DCHECK_NE(&from, _this);
2807 ::uint32_t cached_has_bits = 0;
2808 (void) cached_has_bits;
2810 _this->_internal_mutable_start_of_task()->MergeFrom(from._internal_start_of_task());
2811 _this->_internal_mutable_selected_recipe_of_task()->MergeFrom(from._internal_selected_recipe_of_task());
2812 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2817 if (&from ==
this)
return;
2823void RcpspAssignment::InternalSwap(
RcpspAssignment* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2825 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2826 _impl_.start_of_task_.InternalSwap(&other->_impl_.start_of_task_);
2827 _impl_.selected_recipe_of_task_.InternalSwap(&other->_impl_.selected_recipe_of_task_);
2831 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2842PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
2845 ::std::false_type{});
2846#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const PerRecipeDelays &from)
void CopyFrom(const PerRecipeDelays &from)
static constexpr auto InternalNewImpl_()
::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 auto InternalNewImpl_()
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
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::google::protobuf::Metadata GetMetadata() const
~PerSuccessorDelays() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
void CopyFrom(const RcpspAssignment &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
~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 void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalGenerateClassData_()
static constexpr auto InternalNewImpl_()
void MergeFrom(const RcpspAssignment &from)
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
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
friend void swap(RcpspProblem &a, RcpspProblem &b)
void CopyFrom(const RcpspProblem &from)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< Recipe >()._impl_._has_bits_) HasBits
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
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
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
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_()
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::size_t ByteSizeLong() const final
void MergeFrom(const Task &from)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
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 auto InternalNewImpl_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
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_
In SWIG mode, we don't want anything besides these top-level includes.
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
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()