6#ifndef ortools_2fscheduling_2frcpsp_2eproto_2epb_2eh
7#define ortools_2fscheduling_2frcpsp_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/unknown_field_set.h"
35#include "google/protobuf/port_def.inc"
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fscheduling_2frcpsp_2eproto OR_PROTO_DLL
77OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Recipe_class_data_;
85OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Task_class_data_;
103class OR_PROTO_DLL
Resource final :
public ::google::protobuf::Message
109#if defined(PROTOBUF_CUSTOM_VTABLE)
110 void operator delete(
Resource* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
112 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Resource));
116 template <
typename =
void>
117 explicit PROTOBUF_CONSTEXPR
Resource(::google::protobuf::internal::ConstantInitialized);
127 if (
this == &from)
return *
this;
128 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
136 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
137 ABSL_ATTRIBUTE_LIFETIME_BOUND {
138 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
140 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
141 ABSL_ATTRIBUTE_LIFETIME_BOUND {
142 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
145 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
146 return GetDescriptor();
148 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
149 return default_instance().GetMetadata().descriptor;
151 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
152 return default_instance().GetMetadata().reflection;
154 static const Resource& default_instance() {
155 return *
reinterpret_cast<const Resource*
>(
158 static constexpr int kIndexInFileMessages = 0;
161 if (other ==
this)
return;
162 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
165 ::google::protobuf::internal::GenericSwap(
this, other);
168 void UnsafeArenaSwap(Resource* PROTOBUF_NONNULL other) {
169 if (other ==
this)
return;
170 ABSL_DCHECK(GetArena() == other->GetArena());
176 Resource* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
177 return ::google::protobuf::Message::DefaultConstruct<Resource>(arena);
179 using ::google::protobuf::Message::CopyFrom;
180 void CopyFrom(
const Resource& from);
181 using ::google::protobuf::Message::MergeFrom;
182 void MergeFrom(
const Resource& from) { Resource::MergeImpl(*
this, from); }
185 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
186 const ::google::protobuf::MessageLite& from_msg);
192 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
193 #if defined(PROTOBUF_CUSTOM_VTABLE)
195 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
196 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
197 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
198 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
201 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
202 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
203 ::uint8_t* PROTOBUF_NONNULL target,
204 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
205 return _InternalSerialize(*
this, target, stream);
208 ::size_t ByteSizeLong() const final;
209 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
210 ::uint8_t* PROTOBUF_NONNULL target,
211 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
213 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
216 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
218 void InternalSwap(
Resource* PROTOBUF_NONNULL other);
220 template <
typename T>
222 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.Resource"; }
225 explicit Resource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
226 Resource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Resource& from);
228 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Resource&& from) noexcept
230 *
this = ::std::move(from);
232 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
233 static
void* PROTOBUF_NONNULL PlacementNew_(
234 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
235 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
236 static constexpr auto InternalNewImpl_();
239 static constexpr auto InternalGenerateClassData_();
241 ::
google::protobuf::Metadata GetMetadata() const;
246 kMaxCapacityFieldNumber = 1,
247 kMinCapacityFieldNumber = 2,
257 ::int32_t _internal_max_capacity()
const;
258 void _internal_set_max_capacity(::int32_t value);
267 ::int32_t _internal_min_capacity()
const;
268 void _internal_set_min_capacity(::int32_t value);
277 bool _internal_renewable()
const;
278 void _internal_set_renewable(
bool value);
287 ::int32_t _internal_unit_cost()
const;
288 void _internal_set_unit_cost(::int32_t value);
294 friend class ::google::protobuf::internal::TcParser;
295 static const ::google::protobuf::internal::TcParseTable<2, 4,
300 friend class ::google::protobuf::MessageLite;
301 friend class ::google::protobuf::Arena;
302 template <
typename T>
303 friend class ::google::protobuf::Arena::InternalHelper;
304 using InternalArenaConstructable_ = void;
305 using DestructorSkippable_ = void;
307 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
308 inline explicit Impl_(
309 ::google::protobuf::internal::InternalVisibility visibility,
310 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
311 inline explicit Impl_(
312 ::google::protobuf::internal::InternalVisibility visibility,
313 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
315 ::google::protobuf::internal::HasBits<1> _has_bits_;
316 ::google::protobuf::internal::CachedSize _cached_size_;
317 ::int32_t max_capacity_;
318 ::int32_t min_capacity_;
320 ::int32_t unit_cost_;
321 PROTOBUF_TSAN_DECLARE_MEMBER
323 union { Impl_ _impl_; };
324 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
330class OR_PROTO_DLL
Recipe final :
public ::google::protobuf::Message
336#if defined(PROTOBUF_CUSTOM_VTABLE)
337 void operator delete(
Recipe* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
339 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Recipe));
343 template <
typename =
void>
344 explicit PROTOBUF_CONSTEXPR
Recipe(::google::protobuf::internal::ConstantInitialized);
348 :
Recipe(
nullptr, ::std::move(from)) {}
354 if (
this == &from)
return *
this;
355 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
363 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
364 ABSL_ATTRIBUTE_LIFETIME_BOUND {
365 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
367 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
368 ABSL_ATTRIBUTE_LIFETIME_BOUND {
369 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
372 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
373 return GetDescriptor();
375 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
378 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
382 return *
reinterpret_cast<const Recipe*
>(
385 static constexpr int kIndexInFileMessages = 1;
387 inline void Swap(Recipe* PROTOBUF_NONNULL other) {
388 if (other ==
this)
return;
389 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
392 ::google::protobuf::internal::GenericSwap(
this, other);
395 void UnsafeArenaSwap(Recipe* PROTOBUF_NONNULL other) {
396 if (other ==
this)
return;
397 ABSL_DCHECK(GetArena() == other->GetArena());
403 Recipe* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
404 return ::google::protobuf::Message::DefaultConstruct<Recipe>(arena);
406 using ::google::protobuf::Message::CopyFrom;
408 using ::google::protobuf::Message::MergeFrom;
412 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
413 const ::google::protobuf::MessageLite& from_msg);
419 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
420 #if defined(PROTOBUF_CUSTOM_VTABLE)
422 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
424 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
425 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
429 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
430 ::uint8_t* PROTOBUF_NONNULL target,
431 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
432 return _InternalSerialize(*
this, target, stream);
435 ::size_t ByteSizeLong() const final;
436 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
437 ::uint8_t* PROTOBUF_NONNULL target,
438 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
440 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
443 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
445 void InternalSwap(
Recipe* PROTOBUF_NONNULL other);
447 template <
typename T>
449 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.Recipe"; }
452 explicit Recipe(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
453 Recipe(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Recipe& from);
455 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Recipe&& from) noexcept
457 *
this = ::std::move(from);
459 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
460 static
void* PROTOBUF_NONNULL PlacementNew_(
461 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
462 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
463 static constexpr auto InternalNewImpl_();
466 static constexpr auto InternalGenerateClassData_();
468 ::
google::protobuf::Metadata GetMetadata() const;
473 kDemandsFieldNumber = 2,
474 kResourcesFieldNumber = 3,
475 kDurationFieldNumber = 1,
480 int _internal_demands_size()
const;
484 ::int32_t
demands(
int index)
const;
487 const ::google::protobuf::RepeatedField<::int32_t>&
demands()
const;
488 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_demands();
491 const ::google::protobuf::RepeatedField<::int32_t>& _internal_demands()
const;
492 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_demands();
498 int _internal_resources_size()
const;
505 const ::google::protobuf::RepeatedField<::int32_t>&
resources()
const;
506 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_resources();
509 const ::google::protobuf::RepeatedField<::int32_t>& _internal_resources()
const;
510 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_resources();
519 ::int32_t _internal_duration()
const;
520 void _internal_set_duration(::int32_t value);
526 friend class ::google::protobuf::internal::TcParser;
527 static const ::google::protobuf::internal::TcParseTable<2, 3,
532 friend class ::google::protobuf::MessageLite;
533 friend class ::google::protobuf::Arena;
534 template <
typename T>
535 friend class ::google::protobuf::Arena::InternalHelper;
536 using InternalArenaConstructable_ = void;
537 using DestructorSkippable_ = void;
539 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
540 inline explicit Impl_(
541 ::google::protobuf::internal::InternalVisibility visibility,
542 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
543 inline explicit Impl_(
544 ::google::protobuf::internal::InternalVisibility visibility,
545 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
547 ::google::protobuf::internal::HasBits<1> _has_bits_;
548 ::google::protobuf::internal::CachedSize _cached_size_;
549 ::google::protobuf::RepeatedField<::int32_t> demands_;
550 ::google::protobuf::internal::CachedSize _demands_cached_byte_size_;
551 ::google::protobuf::RepeatedField<::int32_t> resources_;
552 ::google::protobuf::internal::CachedSize _resources_cached_byte_size_;
554 PROTOBUF_TSAN_DECLARE_MEMBER
556 union { Impl_ _impl_; };
557 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
563class OR_PROTO_DLL
RcpspAssignment final :
public ::google::protobuf::Message
569#if defined(PROTOBUF_CUSTOM_VTABLE)
570 void operator delete(
RcpspAssignment* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
572 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
RcpspAssignment));
576 template <
typename =
void>
577 explicit PROTOBUF_CONSTEXPR
RcpspAssignment(::google::protobuf::internal::ConstantInitialized);
580 inline RcpspAssignment(RcpspAssignment&& from) noexcept
587 if (
this == &from)
return *
this;
588 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
596 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
597 ABSL_ATTRIBUTE_LIFETIME_BOUND {
598 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
601 ABSL_ATTRIBUTE_LIFETIME_BOUND {
602 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
605 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
608 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
611 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
621 if (other ==
this)
return;
622 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
625 ::google::protobuf::internal::GenericSwap(
this, other);
628 void UnsafeArenaSwap(RcpspAssignment* PROTOBUF_NONNULL other) {
629 if (other ==
this)
return;
630 ABSL_DCHECK(GetArena() == other->GetArena());
636 RcpspAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
637 return ::google::protobuf::Message::DefaultConstruct<RcpspAssignment>(arena);
639 using ::google::protobuf::Message::CopyFrom;
641 using ::google::protobuf::Message::MergeFrom;
645 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
646 const ::google::protobuf::MessageLite& from_msg);
652 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
653 #if defined(PROTOBUF_CUSTOM_VTABLE)
655 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
657 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
658 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
662 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
663 ::uint8_t* PROTOBUF_NONNULL target,
664 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
665 return _InternalSerialize(*
this, target, stream);
668 ::size_t ByteSizeLong() const final;
669 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
670 ::uint8_t* PROTOBUF_NONNULL target,
671 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
673 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
676 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
680 template <
typename T>
682 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.RcpspAssignment"; }
685 explicit RcpspAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
688 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
RcpspAssignment&& from) noexcept
690 *
this = ::std::move(from);
692 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
693 static
void* PROTOBUF_NONNULL PlacementNew_(
694 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
695 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
696 static constexpr auto InternalNewImpl_();
699 static constexpr auto InternalGenerateClassData_();
701 ::
google::protobuf::Metadata GetMetadata() const;
706 kStartOfTaskFieldNumber = 1,
707 kSelectedRecipeOfTaskFieldNumber = 2,
712 int _internal_start_of_task_size()
const;
719 const ::google::protobuf::RepeatedField<::int64_t>&
start_of_task()
const;
723 const ::google::protobuf::RepeatedField<::int64_t>& _internal_start_of_task()
const;
724 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_start_of_task();
730 int _internal_selected_recipe_of_task_size()
const;
741 const ::google::protobuf::RepeatedField<::int32_t>& _internal_selected_recipe_of_task()
const;
742 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_selected_recipe_of_task();
748 friend class ::google::protobuf::internal::TcParser;
749 static const ::google::protobuf::internal::TcParseTable<1, 2,
754 friend class ::google::protobuf::MessageLite;
755 friend class ::google::protobuf::Arena;
756 template <
typename T>
757 friend class ::google::protobuf::Arena::InternalHelper;
758 using InternalArenaConstructable_ = void;
759 using DestructorSkippable_ = void;
761 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
762 inline explicit Impl_(
763 ::google::protobuf::internal::InternalVisibility visibility,
764 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
765 inline explicit Impl_(
766 ::google::protobuf::internal::InternalVisibility visibility,
767 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
769 ::google::protobuf::RepeatedField<::int64_t> start_of_task_;
770 ::google::protobuf::internal::CachedSize _start_of_task_cached_byte_size_;
771 ::google::protobuf::RepeatedField<::int32_t> selected_recipe_of_task_;
772 ::google::protobuf::internal::CachedSize _selected_recipe_of_task_cached_byte_size_;
773 ::google::protobuf::internal::CachedSize _cached_size_;
774 PROTOBUF_TSAN_DECLARE_MEMBER
776 union { Impl_ _impl_; };
777 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
783class OR_PROTO_DLL
PerRecipeDelays final :
public ::google::protobuf::Message
789#if defined(PROTOBUF_CUSTOM_VTABLE)
790 void operator delete(
PerRecipeDelays* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
792 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
PerRecipeDelays));
796 template <
typename =
void>
797 explicit PROTOBUF_CONSTEXPR
PerRecipeDelays(::google::protobuf::internal::ConstantInitialized);
800 inline PerRecipeDelays(PerRecipeDelays&& from) noexcept
801 : PerRecipeDelays(
nullptr, ::std::move(from)) {}
807 if (
this == &from)
return *
this;
808 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
816 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
817 ABSL_ATTRIBUTE_LIFETIME_BOUND {
818 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
820 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
821 ABSL_ATTRIBUTE_LIFETIME_BOUND {
822 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
825 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
828 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
829 return default_instance().GetMetadata().descriptor;
831 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
832 return default_instance().GetMetadata().reflection;
838 static constexpr int kIndexInFileMessages = 2;
841 if (other ==
this)
return;
842 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
845 ::google::protobuf::internal::GenericSwap(
this, other);
848 void UnsafeArenaSwap(PerRecipeDelays* PROTOBUF_NONNULL other) {
849 if (other ==
this)
return;
850 ABSL_DCHECK(GetArena() == other->GetArena());
856 PerRecipeDelays* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
857 return ::google::protobuf::Message::DefaultConstruct<PerRecipeDelays>(arena);
859 using ::google::protobuf::Message::CopyFrom;
861 using ::google::protobuf::Message::MergeFrom;
865 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
866 const ::google::protobuf::MessageLite& from_msg);
872 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
873 #if defined(PROTOBUF_CUSTOM_VTABLE)
875 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
877 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
878 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
882 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
883 ::uint8_t* PROTOBUF_NONNULL target,
884 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
885 return _InternalSerialize(*
this, target, stream);
888 ::size_t ByteSizeLong() const final;
889 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
890 ::uint8_t* PROTOBUF_NONNULL target,
891 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
893 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
896 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
897 static void SharedDtor(MessageLite& self);
900 template <
typename T>
902 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.PerRecipeDelays"; }
905 explicit PerRecipeDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
908 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
PerRecipeDelays&& from) noexcept
910 *
this = ::std::move(from);
912 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
914 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
915 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
929 int min_delays_size()
const;
931 int _internal_min_delays_size()
const;
938 const ::google::protobuf::RepeatedField<::int32_t>&
min_delays()
const;
942 const ::google::protobuf::RepeatedField<::int32_t>& _internal_min_delays()
const;
943 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_min_delays();
949 friend class ::google::protobuf::internal::TcParser;
950 static const ::google::protobuf::internal::TcParseTable<0, 1,
955 friend class ::google::protobuf::MessageLite;
956 friend class ::google::protobuf::Arena;
957 template <
typename T>
958 friend class ::google::protobuf::Arena::InternalHelper;
959 using InternalArenaConstructable_ = void;
960 using DestructorSkippable_ = void;
962 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
963 inline explicit Impl_(
964 ::google::protobuf::internal::InternalVisibility visibility,
965 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
966 inline explicit Impl_(
967 ::google::protobuf::internal::InternalVisibility visibility,
968 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
970 ::google::protobuf::RepeatedField<::int32_t> min_delays_;
971 ::google::protobuf::internal::CachedSize _min_delays_cached_byte_size_;
972 ::google::protobuf::internal::CachedSize _cached_size_;
973 PROTOBUF_TSAN_DECLARE_MEMBER
975 union { Impl_ _impl_; };
976 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
988#if defined(PROTOBUF_CUSTOM_VTABLE)
989 void operator delete(
PerSuccessorDelays* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
995 template <
typename =
void>
996 explicit PROTOBUF_CONSTEXPR
PerSuccessorDelays(::google::protobuf::internal::ConstantInitialized);
999 inline PerSuccessorDelays(PerSuccessorDelays&& from) noexcept
1000 : PerSuccessorDelays(
nullptr, ::std::move(from)) {}
1001 inline PerSuccessorDelays& operator=(
const PerSuccessorDelays& from) {
1006 if (
this == &from)
return *
this;
1007 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1008 InternalSwap(&from);
1015 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1016 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1017 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1019 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1020 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1021 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1024 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1027 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1028 return default_instance().GetMetadata().descriptor;
1037 static constexpr int kIndexInFileMessages = 3;
1040 if (other ==
this)
return;
1041 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1042 InternalSwap(other);
1044 ::google::protobuf::internal::GenericSwap(
this, other);
1047 void UnsafeArenaSwap(PerSuccessorDelays* PROTOBUF_NONNULL other) {
1048 if (other ==
this)
return;
1049 ABSL_DCHECK(GetArena() == other->GetArena());
1050 InternalSwap(other);
1055 PerSuccessorDelays* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1056 return ::google::protobuf::Message::DefaultConstruct<PerSuccessorDelays>(arena);
1058 using ::google::protobuf::Message::CopyFrom;
1060 using ::google::protobuf::Message::MergeFrom;
1064 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1065 const ::google::protobuf::MessageLite& from_msg);
1071 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1072 #if defined(PROTOBUF_CUSTOM_VTABLE)
1076 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1077 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1081 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1082 ::uint8_t* PROTOBUF_NONNULL target,
1083 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1084 return _InternalSerialize(*
this, target, stream);
1087 ::size_t ByteSizeLong() const final;
1088 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1089 ::uint8_t* PROTOBUF_NONNULL target,
1090 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1092 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1095 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1096 static void SharedDtor(MessageLite& self);
1097 void InternalSwap(PerSuccessorDelays* PROTOBUF_NONNULL other);
1099 template <
typename T>
1101 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.PerSuccessorDelays"; }
1107 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
PerSuccessorDelays&& from) noexcept
1109 *
this = ::std::move(from);
1111 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1113 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1114 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1128 int recipe_delays_size()
const;
1130 int _internal_recipe_delays_size()
const;
1135 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL
mutable_recipe_delays();
1138 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>& _internal_recipe_delays()
const;
1139 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL _internal_mutable_recipe_delays();
1141 const ::operations_research::scheduling::rcpsp::PerRecipeDelays&
recipe_delays(
int index)
const;
1143 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>&
recipe_delays()
const;
1147 friend class ::google::protobuf::internal::TcParser;
1148 static const ::google::protobuf::internal::TcParseTable<0, 1,
1153 friend class ::google::protobuf::MessageLite;
1154 friend class ::google::protobuf::Arena;
1155 template <
typename T>
1156 friend class ::google::protobuf::Arena::InternalHelper;
1157 using InternalArenaConstructable_ = void;
1158 using DestructorSkippable_ = void;
1160 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1161 inline explicit Impl_(
1162 ::google::protobuf::internal::InternalVisibility visibility,
1163 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1164 inline explicit Impl_(
1165 ::google::protobuf::internal::InternalVisibility visibility,
1166 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1168 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::PerRecipeDelays > recipe_delays_;
1169 ::google::protobuf::internal::CachedSize _cached_size_;
1170 PROTOBUF_TSAN_DECLARE_MEMBER
1172 union { Impl_ _impl_; };
1173 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1179class OR_PROTO_DLL
Task final :
public ::google::protobuf::Message
1183 ~Task() PROTOBUF_FINAL;
1185#if defined(PROTOBUF_CUSTOM_VTABLE)
1186 void operator delete(
Task* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1188 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Task));
1192 template <
typename =
void>
1193 explicit PROTOBUF_CONSTEXPR
Task(::google::protobuf::internal::ConstantInitialized);
1196 inline Task(Task&& from) noexcept
1197 : Task(
nullptr, ::std::move(from)) {}
1198 inline Task& operator=(
const Task& from) {
1203 if (
this == &from)
return *
this;
1204 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1205 InternalSwap(&from);
1212 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1213 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1214 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1216 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1217 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1218 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1221 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1222 return GetDescriptor();
1224 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1225 return default_instance().GetMetadata().descriptor;
1227 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1230 static const Task& default_instance() {
1231 return *
reinterpret_cast<const Task*
>(
1236 inline void Swap(
Task* PROTOBUF_NONNULL other) {
1237 if (other ==
this)
return;
1238 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1239 InternalSwap(other);
1241 ::google::protobuf::internal::GenericSwap(
this, other);
1244 void UnsafeArenaSwap(
Task* PROTOBUF_NONNULL other) {
1245 if (other ==
this)
return;
1246 ABSL_DCHECK(GetArena() == other->GetArena());
1247 InternalSwap(other);
1252 Task* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1253 return ::google::protobuf::Message::DefaultConstruct<Task>(arena);
1255 using ::google::protobuf::Message::CopyFrom;
1256 void CopyFrom(
const Task& from);
1257 using ::google::protobuf::Message::MergeFrom;
1258 void MergeFrom(
const Task& from) { Task::MergeImpl(*
this, from); }
1261 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1262 const ::google::protobuf::MessageLite& from_msg);
1268 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1269 #if defined(PROTOBUF_CUSTOM_VTABLE)
1271 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1273 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1274 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1278 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1279 ::uint8_t* PROTOBUF_NONNULL target,
1280 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1281 return _InternalSerialize(*
this, target, stream);
1284 ::size_t ByteSizeLong() const final;
1285 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1286 ::uint8_t* PROTOBUF_NONNULL target,
1287 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1289 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1292 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1293 static void SharedDtor(MessageLite& self);
1294 void InternalSwap(Task* PROTOBUF_NONNULL other);
1296 template <
typename T>
1298 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.Task"; }
1301 explicit Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1302 Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Task& from);
1304 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Task&& from) noexcept
1306 *
this = ::std::move(from);
1308 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1309 static
void* PROTOBUF_NONNULL PlacementNew_(
1310 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1311 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1327 int successors_size()
const;
1329 int _internal_successors_size()
const;
1336 const ::google::protobuf::RepeatedField<::int32_t>&
successors()
const;
1340 const ::google::protobuf::RepeatedField<::int32_t>& _internal_successors()
const;
1341 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_successors();
1347 int _internal_recipes_size()
const;
1352 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL
mutable_recipes();
1355 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>& _internal_recipes()
const;
1356 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL _internal_mutable_recipes();
1358 const ::operations_research::scheduling::rcpsp::Recipe&
recipes(
int index)
const;
1360 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>&
recipes()
const;
1364 int _internal_successor_delays_size()
const;
1369 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL
mutable_successor_delays();
1372 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>& _internal_successor_delays()
const;
1373 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL _internal_mutable_successor_delays();
1375 const ::operations_research::scheduling::rcpsp::PerSuccessorDelays&
successor_delays(
int index)
const;
1377 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>&
successor_delays()
const;
1381 friend class ::google::protobuf::internal::TcParser;
1382 static const ::google::protobuf::internal::TcParseTable<2, 3,
1387 friend class ::google::protobuf::MessageLite;
1388 friend class ::google::protobuf::Arena;
1389 template <
typename T>
1390 friend class ::google::protobuf::Arena::InternalHelper;
1391 using InternalArenaConstructable_ = void;
1392 using DestructorSkippable_ = void;
1394 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1395 inline explicit Impl_(
1396 ::google::protobuf::internal::InternalVisibility visibility,
1397 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1398 inline explicit Impl_(
1399 ::google::protobuf::internal::InternalVisibility visibility,
1400 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1401 const Task& from_msg);
1402 ::google::protobuf::RepeatedField<::int32_t> successors_;
1403 ::google::protobuf::internal::CachedSize _successors_cached_byte_size_;
1404 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::Recipe > recipes_;
1405 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::PerSuccessorDelays > successor_delays_;
1406 ::google::protobuf::internal::CachedSize _cached_size_;
1407 PROTOBUF_TSAN_DECLARE_MEMBER
1409 union { Impl_ _impl_; };
1410 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1413OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Task_class_data_;
1422#if defined(PROTOBUF_CUSTOM_VTABLE)
1423 void operator delete(
RcpspProblem* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1425 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
RcpspProblem));
1429 template <
typename =
void>
1430 explicit PROTOBUF_CONSTEXPR
RcpspProblem(::google::protobuf::internal::ConstantInitialized);
1435 inline RcpspProblem& operator=(
const RcpspProblem& from) {
1440 if (
this == &from)
return *
this;
1441 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1442 InternalSwap(&from);
1449 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1450 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1451 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1453 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1454 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1455 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1458 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1464 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1465 return default_instance().GetMetadata().reflection;
1471 static constexpr int kIndexInFileMessages = 5;
1473 inline void Swap(
RcpspProblem* PROTOBUF_NONNULL other) {
1474 if (other ==
this)
return;
1475 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1476 InternalSwap(other);
1478 ::google::protobuf::internal::GenericSwap(
this, other);
1482 if (other ==
this)
return;
1483 ABSL_DCHECK(GetArena() == other->GetArena());
1484 InternalSwap(other);
1489 RcpspProblem* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1490 return ::google::protobuf::Message::DefaultConstruct<RcpspProblem>(arena);
1492 using ::google::protobuf::Message::CopyFrom;
1494 using ::google::protobuf::Message::MergeFrom;
1495 void MergeFrom(
const RcpspProblem& from) { RcpspProblem::MergeImpl(*
this, from); }
1498 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1499 const ::google::protobuf::MessageLite& from_msg);
1505 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1506 #if defined(PROTOBUF_CUSTOM_VTABLE)
1508 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1509 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1510 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1511 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1515 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1516 ::uint8_t* PROTOBUF_NONNULL target,
1517 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1518 return _InternalSerialize(*
this, target, stream);
1521 ::size_t ByteSizeLong() const final;
1522 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1523 ::uint8_t* PROTOBUF_NONNULL target,
1524 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1526 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1529 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1530 static void SharedDtor(MessageLite& self);
1531 void InternalSwap(RcpspProblem* PROTOBUF_NONNULL other);
1533 template <
typename T>
1535 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.RcpspProblem"; }
1538 explicit RcpspProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1541 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
RcpspProblem&& from) noexcept
1543 *
this = ::std::move(from);
1545 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1546 static
void* PROTOBUF_NONNULL PlacementNew_(
1547 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1577 int _internal_resources_size()
const;
1582 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL
mutable_resources();
1585 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>& _internal_resources()
const;
1586 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL _internal_mutable_resources();
1588 const ::operations_research::scheduling::rcpsp::Resource&
resources(
int index)
const;
1590 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>&
resources()
const;
1594 int _internal_tasks_size()
const;
1599 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL
mutable_tasks();
1602 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>& _internal_tasks()
const;
1603 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL _internal_mutable_tasks();
1605 const ::operations_research::scheduling::rcpsp::Task&
tasks(
int index)
const;
1607 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>&
tasks()
const;
1610 const ::std::string&
basedata()
const;
1611 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1618 const ::std::string& _internal_basedata()
const;
1619 PROTOBUF_ALWAYS_INLINE
void _internal_set_basedata(const ::std::string& value);
1620 ::std::string* PROTOBUF_NONNULL _internal_mutable_basedata();
1625 const ::std::string&
name()
const;
1626 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1627 void set_name(Arg_&& arg, Args_... args);
1629 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1633 const ::std::string& _internal_name()
const;
1634 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1635 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1644 bool _internal_is_consumer_producer()
const;
1645 void _internal_set_is_consumer_producer(
bool value);
1654 bool _internal_is_resource_investment()
const;
1655 void _internal_set_is_resource_investment(
bool value);
1664 bool _internal_is_rcpsp_max()
const;
1665 void _internal_set_is_rcpsp_max(
bool value);
1674 ::int32_t _internal_deadline()
const;
1675 void _internal_set_deadline(::int32_t value);
1684 ::int32_t _internal_horizon()
const;
1685 void _internal_set_horizon(::int32_t value);
1694 ::int32_t _internal_release_date()
const;
1695 void _internal_set_release_date(::int32_t value);
1704 ::int32_t _internal_tardiness_cost()
const;
1705 void _internal_set_tardiness_cost(::int32_t value);
1714 ::int32_t _internal_mpm_time()
const;
1715 void _internal_set_mpm_time(::int32_t value);
1720 ::int64_t
seed()
const;
1724 ::int64_t _internal_seed()
const;
1725 void _internal_set_seed(::int64_t value);
1734 ::int32_t _internal_due_date()
const;
1735 void _internal_set_due_date(::int32_t value);
1741 friend class ::google::protobuf::internal::TcParser;
1742 static const ::google::protobuf::internal::TcParseTable<4, 14,
1747 friend class ::google::protobuf::MessageLite;
1748 friend class ::google::protobuf::Arena;
1749 template <
typename T>
1750 friend class ::google::protobuf::Arena::InternalHelper;
1751 using InternalArenaConstructable_ = void;
1752 using DestructorSkippable_ = void;
1754 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1755 inline explicit Impl_(
1756 ::google::protobuf::internal::InternalVisibility visibility,
1757 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1758 inline explicit Impl_(
1759 ::google::protobuf::internal::InternalVisibility visibility,
1760 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1762 ::google::protobuf::internal::HasBits<1> _has_bits_;
1763 ::google::protobuf::internal::CachedSize _cached_size_;
1764 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::Resource > resources_;
1765 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::Task > tasks_;
1766 ::google::protobuf::internal::ArenaStringPtr basedata_;
1767 ::google::protobuf::internal::ArenaStringPtr name_;
1768 bool is_consumer_producer_;
1769 bool is_resource_investment_;
1771 ::int32_t deadline_;
1773 ::int32_t release_date_;
1774 ::int32_t tardiness_cost_;
1775 ::int32_t mpm_time_;
1777 ::int32_t due_date_;
1778 PROTOBUF_TSAN_DECLARE_MEMBER
1780 union { Impl_ _impl_; };
1781 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1795#pragma GCC diagnostic push
1796#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1804 ::google::protobuf::internal::TSanWrite(&
_impl_);
1805 _impl_.max_capacity_ = 0;
1806 _impl_._has_bits_[0] &= ~0x00000001u;
1810 return _internal_max_capacity();
1813 _internal_set_max_capacity(value);
1817inline ::int32_t Resource::_internal_max_capacity()
const {
1818 ::google::protobuf::internal::TSanRead(&
_impl_);
1821inline void Resource::_internal_set_max_capacity(::int32_t value) {
1822 ::google::protobuf::internal::TSanWrite(&
_impl_);
1828 ::google::protobuf::internal::TSanWrite(&
_impl_);
1829 _impl_.min_capacity_ = 0;
1830 _impl_._has_bits_[0] &= ~0x00000002u;
1834 return _internal_min_capacity();
1837 _internal_set_min_capacity(value);
1841inline ::int32_t Resource::_internal_min_capacity()
const {
1842 ::google::protobuf::internal::TSanRead(&
_impl_);
1845inline void Resource::_internal_set_min_capacity(::int32_t value) {
1846 ::google::protobuf::internal::TSanWrite(&
_impl_);
1852 ::google::protobuf::internal::TSanWrite(&
_impl_);
1853 _impl_.renewable_ =
false;
1854 _impl_._has_bits_[0] &= ~0x00000004u;
1858 return _internal_renewable();
1861 _internal_set_renewable(value);
1865inline bool Resource::_internal_renewable()
const {
1866 ::google::protobuf::internal::TSanRead(&
_impl_);
1869inline void Resource::_internal_set_renewable(
bool value) {
1870 ::google::protobuf::internal::TSanWrite(&
_impl_);
1876 ::google::protobuf::internal::TSanWrite(&
_impl_);
1878 _impl_._has_bits_[0] &= ~0x00000008u;
1882 return _internal_unit_cost();
1885 _internal_set_unit_cost(value);
1889inline ::int32_t Resource::_internal_unit_cost()
const {
1890 ::google::protobuf::internal::TSanRead(&
_impl_);
1893inline void Resource::_internal_set_unit_cost(::int32_t value) {
1894 ::google::protobuf::internal::TSanWrite(&
_impl_);
1904 ::google::protobuf::internal::TSanWrite(&
_impl_);
1906 _impl_._has_bits_[0] &= ~0x00000001u;
1910 return _internal_duration();
1913 _internal_set_duration(value);
1914 _impl_._has_bits_[0] |= 0x00000001u;
1917inline ::int32_t Recipe::_internal_duration()
const {
1918 ::google::protobuf::internal::TSanRead(&
_impl_);
1921inline void Recipe::_internal_set_duration(::int32_t value) {
1922 ::google::protobuf::internal::TSanWrite(&
_impl_);
1923 _impl_.duration_ = value;
1927inline int Recipe::_internal_demands_size()
const {
1928 return _internal_demands().size();
1931 return _internal_demands_size();
1934 ::google::protobuf::internal::TSanWrite(&
_impl_);
1939 return _internal_demands().Get(index);
1942 _internal_mutable_demands()->Set(index, value);
1946 ::google::protobuf::internal::TSanWrite(&
_impl_);
1947 _internal_mutable_demands()->Add(value);
1950inline const ::google::protobuf::RepeatedField<::int32_t>&
Recipe::demands() const
1951 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1953 return _internal_demands();
1956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1958 ::google::protobuf::internal::TSanWrite(&
_impl_);
1959 return _internal_mutable_demands();
1961inline const ::google::protobuf::RepeatedField<::int32_t>&
1962Recipe::_internal_demands()
const {
1963 ::google::protobuf::internal::TSanRead(&
_impl_);
1966inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1967Recipe::_internal_mutable_demands() {
1968 ::google::protobuf::internal::TSanRead(&
_impl_);
1973inline int Recipe::_internal_resources_size()
const {
1974 return _internal_resources().size();
1977 return _internal_resources_size();
1980 ::google::protobuf::internal::TSanWrite(&
_impl_);
1981 _impl_.resources_.Clear();
1985 return _internal_resources().Get(index);
1988 _internal_mutable_resources()->Set(index, value);
1992 ::google::protobuf::internal::TSanWrite(&
_impl_);
1993 _internal_mutable_resources()->Add(value);
1996inline const ::google::protobuf::RepeatedField<::int32_t>&
Recipe::resources() const
1997 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1999 return _internal_resources();
2002 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2004 ::google::protobuf::internal::TSanWrite(&
_impl_);
2005 return _internal_mutable_resources();
2007inline const ::google::protobuf::RepeatedField<::int32_t>&
2008Recipe::_internal_resources()
const {
2009 ::google::protobuf::internal::TSanRead(&
_impl_);
2010 return _impl_.resources_;
2012inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2013Recipe::_internal_mutable_resources() {
2014 ::google::protobuf::internal::TSanRead(&
_impl_);
2015 return &
_impl_.resources_;
2023inline int PerRecipeDelays::_internal_min_delays_size()
const {
2024 return _internal_min_delays().size();
2027 return _internal_min_delays_size();
2030 ::google::protobuf::internal::TSanWrite(&
_impl_);
2031 _impl_.min_delays_.Clear();
2035 return _internal_min_delays().Get(index);
2038 _internal_mutable_min_delays()->Set(index, value);
2042 ::google::protobuf::internal::TSanWrite(&
_impl_);
2043 _internal_mutable_min_delays()->Add(value);
2047 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2049 return _internal_min_delays();
2052 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2054 ::google::protobuf::internal::TSanWrite(&
_impl_);
2055 return _internal_mutable_min_delays();
2057inline const ::google::protobuf::RepeatedField<::int32_t>&
2058PerRecipeDelays::_internal_min_delays()
const {
2059 ::google::protobuf::internal::TSanRead(&
_impl_);
2060 return _impl_.min_delays_;
2062inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2063PerRecipeDelays::_internal_mutable_min_delays() {
2064 ::google::protobuf::internal::TSanRead(&
_impl_);
2065 return &
_impl_.min_delays_;
2073inline int PerSuccessorDelays::_internal_recipe_delays_size()
const {
2074 return _internal_recipe_delays().size();
2077 return _internal_recipe_delays_size();
2080 ::google::protobuf::internal::TSanWrite(&
_impl_);
2081 _impl_.recipe_delays_.Clear();
2084 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2086 return _internal_mutable_recipe_delays()->Mutable(index);
2089 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2091 ::google::protobuf::internal::TSanWrite(&
_impl_);
2092 return _internal_mutable_recipe_delays();
2095 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2097 return _internal_recipe_delays().Get(index);
2100 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2101 ::google::protobuf::internal::TSanWrite(&
_impl_);
2107 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2109 return _internal_recipe_delays();
2111inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>&
2112PerSuccessorDelays::_internal_recipe_delays()
const {
2113 ::google::protobuf::internal::TSanRead(&
_impl_);
2114 return _impl_.recipe_delays_;
2116inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL
2117PerSuccessorDelays::_internal_mutable_recipe_delays() {
2118 ::google::protobuf::internal::TSanRead(&
_impl_);
2119 return &
_impl_.recipe_delays_;
2127inline int Task::_internal_successors_size()
const {
2128 return _internal_successors().size();
2131 return _internal_successors_size();
2134 ::google::protobuf::internal::TSanWrite(&
_impl_);
2135 _impl_.successors_.Clear();
2139 return _internal_successors().Get(index);
2142 _internal_mutable_successors()->Set(index, value);
2146 ::google::protobuf::internal::TSanWrite(&
_impl_);
2147 _internal_mutable_successors()->Add(value);
2150inline const ::google::protobuf::RepeatedField<::int32_t>&
Task::successors() const
2151 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2153 return _internal_successors();
2156 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2158 ::google::protobuf::internal::TSanWrite(&
_impl_);
2159 return _internal_mutable_successors();
2161inline const ::google::protobuf::RepeatedField<::int32_t>&
2162Task::_internal_successors()
const {
2163 ::google::protobuf::internal::TSanRead(&
_impl_);
2164 return _impl_.successors_;
2166inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2167Task::_internal_mutable_successors() {
2168 ::google::protobuf::internal::TSanRead(&
_impl_);
2169 return &
_impl_.successors_;
2173inline int Task::_internal_recipes_size()
const {
2174 return _internal_recipes().size();
2177 return _internal_recipes_size();
2180 ::google::protobuf::internal::TSanWrite(&
_impl_);
2183inline ::operations_research::scheduling::rcpsp::Recipe* PROTOBUF_NONNULL
Task::mutable_recipes(
int index)
2184 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2186 return _internal_mutable_recipes()->Mutable(index);
2188inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL
Task::mutable_recipes()
2189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2191 ::google::protobuf::internal::TSanWrite(&
_impl_);
2192 return _internal_mutable_recipes();
2194inline const ::operations_research::scheduling::rcpsp::Recipe&
Task::recipes(
int index)
const
2195 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2197 return _internal_recipes().Get(index);
2199inline ::operations_research::scheduling::rcpsp::Recipe* PROTOBUF_NONNULL
Task::add_recipes()
2200 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2201 ::google::protobuf::internal::TSanWrite(&
_impl_);
2206inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>&
Task::recipes() const
2207 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2209 return _internal_recipes();
2211inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>&
2212Task::_internal_recipes()
const {
2213 ::google::protobuf::internal::TSanRead(&
_impl_);
2216inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL
2217Task::_internal_mutable_recipes() {
2218 ::google::protobuf::internal::TSanRead(&
_impl_);
2223inline int Task::_internal_successor_delays_size()
const {
2224 return _internal_successor_delays().size();
2227 return _internal_successor_delays_size();
2230 ::google::protobuf::internal::TSanWrite(&
_impl_);
2231 _impl_.successor_delays_.Clear();
2234 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2236 return _internal_mutable_successor_delays()->Mutable(index);
2238inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL
Task::mutable_successor_delays()
2239 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2241 ::google::protobuf::internal::TSanWrite(&
_impl_);
2242 return _internal_mutable_successor_delays();
2245 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2247 return _internal_successor_delays().Get(index);
2250 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2251 ::google::protobuf::internal::TSanWrite(&
_impl_);
2256inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>&
Task::successor_delays() const
2257 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2259 return _internal_successor_delays();
2261inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>&
2262Task::_internal_successor_delays()
const {
2263 ::google::protobuf::internal::TSanRead(&
_impl_);
2266inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL
2267Task::_internal_mutable_successor_delays() {
2268 ::google::protobuf::internal::TSanRead(&
_impl_);
2269 return &
_impl_.successor_delays_;
2277inline int RcpspProblem::_internal_resources_size()
const {
2278 return _internal_resources().size();
2281 return _internal_resources_size();
2284 ::google::protobuf::internal::TSanWrite(&
_impl_);
2285 _impl_.resources_.Clear();
2288 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2290 return _internal_mutable_resources()->Mutable(index);
2293 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2295 ::google::protobuf::internal::TSanWrite(&
_impl_);
2296 return _internal_mutable_resources();
2299 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2301 return _internal_resources().Get(index);
2304 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2305 ::google::protobuf::internal::TSanWrite(&
_impl_);
2310inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>&
RcpspProblem::resources() const
2311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2313 return _internal_resources();
2315inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>&
2316RcpspProblem::_internal_resources()
const {
2317 ::google::protobuf::internal::TSanRead(&
_impl_);
2318 return _impl_.resources_;
2320inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL
2321RcpspProblem::_internal_mutable_resources() {
2322 ::google::protobuf::internal::TSanRead(&
_impl_);
2323 return &
_impl_.resources_;
2327inline int RcpspProblem::_internal_tasks_size()
const {
2328 return _internal_tasks().size();
2331 return _internal_tasks_size();
2334 ::google::protobuf::internal::TSanWrite(&
_impl_);
2338 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2340 return _internal_mutable_tasks()->Mutable(index);
2342inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL
RcpspProblem::mutable_tasks()
2343 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2345 ::google::protobuf::internal::TSanWrite(&
_impl_);
2346 return _internal_mutable_tasks();
2348inline const ::operations_research::scheduling::rcpsp::Task&
RcpspProblem::tasks(
int index)
const
2349 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2351 return _internal_tasks().Get(index);
2354 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2355 ::google::protobuf::internal::TSanWrite(&
_impl_);
2360inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>&
RcpspProblem::tasks() const
2361 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2363 return _internal_tasks();
2365inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>&
2366RcpspProblem::_internal_tasks()
const {
2367 ::google::protobuf::internal::TSanRead(&
_impl_);
2370inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL
2371RcpspProblem::_internal_mutable_tasks() {
2372 ::google::protobuf::internal::TSanRead(&
_impl_);
2378 ::google::protobuf::internal::TSanWrite(&
_impl_);
2379 _impl_.is_consumer_producer_ =
false;
2380 _impl_._has_bits_[0] &= ~0x00000004u;
2384 return _internal_is_consumer_producer();
2387 _internal_set_is_consumer_producer(value);
2388 _impl_._has_bits_[0] |= 0x00000004u;
2391inline bool RcpspProblem::_internal_is_consumer_producer()
const {
2392 ::google::protobuf::internal::TSanRead(&
_impl_);
2395inline void RcpspProblem::_internal_set_is_consumer_producer(
bool value) {
2396 ::google::protobuf::internal::TSanWrite(&
_impl_);
2397 _impl_.is_consumer_producer_ = value;
2402 ::google::protobuf::internal::TSanWrite(&
_impl_);
2403 _impl_.is_resource_investment_ =
false;
2404 _impl_._has_bits_[0] &= ~0x00000008u;
2408 return _internal_is_resource_investment();
2411 _internal_set_is_resource_investment(value);
2412 _impl_._has_bits_[0] |= 0x00000008u;
2415inline bool RcpspProblem::_internal_is_resource_investment()
const {
2416 ::google::protobuf::internal::TSanRead(&
_impl_);
2419inline void RcpspProblem::_internal_set_is_resource_investment(
bool value) {
2420 ::google::protobuf::internal::TSanWrite(&
_impl_);
2421 _impl_.is_resource_investment_ = value;
2426 ::google::protobuf::internal::TSanWrite(&
_impl_);
2427 _impl_.is_rcpsp_max_ =
false;
2428 _impl_._has_bits_[0] &= ~0x00000010u;
2432 return _internal_is_rcpsp_max();
2435 _internal_set_is_rcpsp_max(value);
2436 _impl_._has_bits_[0] |= 0x00000010u;
2439inline bool RcpspProblem::_internal_is_rcpsp_max()
const {
2440 ::google::protobuf::internal::TSanRead(&
_impl_);
2443inline void RcpspProblem::_internal_set_is_rcpsp_max(
bool value) {
2444 ::google::protobuf::internal::TSanWrite(&
_impl_);
2445 _impl_.is_rcpsp_max_ = value;
2450 ::google::protobuf::internal::TSanWrite(&
_impl_);
2452 _impl_._has_bits_[0] &= ~0x00000020u;
2456 return _internal_deadline();
2459 _internal_set_deadline(value);
2460 _impl_._has_bits_[0] |= 0x00000020u;
2463inline ::int32_t RcpspProblem::_internal_deadline()
const {
2464 ::google::protobuf::internal::TSanRead(&
_impl_);
2467inline void RcpspProblem::_internal_set_deadline(::int32_t value) {
2468 ::google::protobuf::internal::TSanWrite(&
_impl_);
2469 _impl_.deadline_ = value;
2474 ::google::protobuf::internal::TSanWrite(&
_impl_);
2476 _impl_._has_bits_[0] &= ~0x00000040u;
2480 return _internal_horizon();
2483 _internal_set_horizon(value);
2484 _impl_._has_bits_[0] |= 0x00000040u;
2487inline ::int32_t RcpspProblem::_internal_horizon()
const {
2488 ::google::protobuf::internal::TSanRead(&
_impl_);
2491inline void RcpspProblem::_internal_set_horizon(::int32_t value) {
2492 ::google::protobuf::internal::TSanWrite(&
_impl_);
2498 ::google::protobuf::internal::TSanWrite(&
_impl_);
2499 _impl_.release_date_ = 0;
2500 _impl_._has_bits_[0] &= ~0x00000080u;
2504 return _internal_release_date();
2507 _internal_set_release_date(value);
2508 _impl_._has_bits_[0] |= 0x00000080u;
2511inline ::int32_t RcpspProblem::_internal_release_date()
const {
2512 ::google::protobuf::internal::TSanRead(&
_impl_);
2515inline void RcpspProblem::_internal_set_release_date(::int32_t value) {
2516 ::google::protobuf::internal::TSanWrite(&
_impl_);
2517 _impl_.release_date_ = value;
2522 ::google::protobuf::internal::TSanWrite(&
_impl_);
2523 _impl_.tardiness_cost_ = 0;
2524 _impl_._has_bits_[0] &= ~0x00000100u;
2528 return _internal_tardiness_cost();
2531 _internal_set_tardiness_cost(value);
2532 _impl_._has_bits_[0] |= 0x00000100u;
2535inline ::int32_t RcpspProblem::_internal_tardiness_cost()
const {
2536 ::google::protobuf::internal::TSanRead(&
_impl_);
2539inline void RcpspProblem::_internal_set_tardiness_cost(::int32_t value) {
2540 ::google::protobuf::internal::TSanWrite(&
_impl_);
2541 _impl_.tardiness_cost_ = value;
2546 ::google::protobuf::internal::TSanWrite(&
_impl_);
2548 _impl_._has_bits_[0] &= ~0x00000200u;
2552 return _internal_mpm_time();
2555 _internal_set_mpm_time(value);
2556 _impl_._has_bits_[0] |= 0x00000200u;
2559inline ::int32_t RcpspProblem::_internal_mpm_time()
const {
2560 ::google::protobuf::internal::TSanRead(&
_impl_);
2563inline void RcpspProblem::_internal_set_mpm_time(::int32_t value) {
2564 ::google::protobuf::internal::TSanWrite(&
_impl_);
2565 _impl_.mpm_time_ = value;
2570 ::google::protobuf::internal::TSanWrite(&
_impl_);
2571 _impl_.seed_ = ::int64_t{0};
2572 _impl_._has_bits_[0] &= ~0x00000400u;
2576 return _internal_seed();
2579 _internal_set_seed(value);
2580 _impl_._has_bits_[0] |= 0x00000400u;
2583inline ::int64_t RcpspProblem::_internal_seed()
const {
2584 ::google::protobuf::internal::TSanRead(&
_impl_);
2587inline void RcpspProblem::_internal_set_seed(::int64_t value) {
2588 ::google::protobuf::internal::TSanWrite(&
_impl_);
2594 ::google::protobuf::internal::TSanWrite(&
_impl_);
2595 _impl_.basedata_.ClearToEmpty();
2596 _impl_._has_bits_[0] &= ~0x00000001u;
2599 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2601 return _internal_basedata();
2603template <
typename Arg_,
typename... Args_>
2605 ::google::protobuf::internal::TSanWrite(&
_impl_);
2606 _impl_._has_bits_[0] |= 0x00000001u;
2607 _impl_.basedata_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2611 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2612 ::std::string* _s = _internal_mutable_basedata();
2616inline const ::std::string& RcpspProblem::_internal_basedata()
const {
2617 ::google::protobuf::internal::TSanRead(&
_impl_);
2618 return _impl_.basedata_.Get();
2620inline void RcpspProblem::_internal_set_basedata(const ::std::string& value) {
2621 ::google::protobuf::internal::TSanWrite(&
_impl_);
2622 _impl_._has_bits_[0] |= 0x00000001u;
2623 _impl_.basedata_.Set(value, GetArena());
2625inline ::std::string* PROTOBUF_NONNULL RcpspProblem::_internal_mutable_basedata() {
2626 ::google::protobuf::internal::TSanWrite(&
_impl_);
2627 _impl_._has_bits_[0] |= 0x00000001u;
2628 return _impl_.basedata_.Mutable( GetArena());
2631 ::google::protobuf::internal::TSanWrite(&
_impl_);
2633 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
2636 _impl_._has_bits_[0] &= ~0x00000001u;
2637 auto* released =
_impl_.basedata_.Release();
2638 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2639 _impl_.basedata_.Set(
"", GetArena());
2644 ::google::protobuf::internal::TSanWrite(&
_impl_);
2645 if (value !=
nullptr) {
2648 _impl_._has_bits_[0] &= ~0x00000001u;
2650 _impl_.basedata_.SetAllocated(value, GetArena());
2651 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.basedata_.IsDefault()) {
2652 _impl_.basedata_.Set(
"", GetArena());
2659 ::google::protobuf::internal::TSanWrite(&
_impl_);
2661 _impl_._has_bits_[0] &= ~0x00000800u;
2665 return _internal_due_date();
2668 _internal_set_due_date(value);
2669 _impl_._has_bits_[0] |= 0x00000800u;
2672inline ::int32_t RcpspProblem::_internal_due_date()
const {
2673 ::google::protobuf::internal::TSanRead(&
_impl_);
2676inline void RcpspProblem::_internal_set_due_date(::int32_t value) {
2677 ::google::protobuf::internal::TSanWrite(&
_impl_);
2678 _impl_.due_date_ = value;
2683 ::google::protobuf::internal::TSanWrite(&
_impl_);
2684 _impl_.name_.ClearToEmpty();
2685 _impl_._has_bits_[0] &= ~0x00000002u;
2688 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2690 return _internal_name();
2692template <
typename Arg_,
typename... Args_>
2694 ::google::protobuf::internal::TSanWrite(&
_impl_);
2695 _impl_._has_bits_[0] |= 0x00000002u;
2696 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2701 ::std::string* _s = _internal_mutable_name();
2705inline const ::std::string& RcpspProblem::_internal_name()
const {
2706 ::google::protobuf::internal::TSanRead(&
_impl_);
2707 return _impl_.name_.Get();
2709inline void RcpspProblem::_internal_set_name(const ::std::string& value) {
2710 ::google::protobuf::internal::TSanWrite(&
_impl_);
2711 _impl_._has_bits_[0] |= 0x00000002u;
2712 _impl_.name_.Set(value, GetArena());
2714inline ::std::string* PROTOBUF_NONNULL RcpspProblem::_internal_mutable_name() {
2715 ::google::protobuf::internal::TSanWrite(&
_impl_);
2716 _impl_._has_bits_[0] |= 0x00000002u;
2717 return _impl_.name_.Mutable( GetArena());
2720 ::google::protobuf::internal::TSanWrite(&
_impl_);
2722 if ((
_impl_._has_bits_[0] & 0x00000002u) == 0) {
2725 _impl_._has_bits_[0] &= ~0x00000002u;
2726 auto* released =
_impl_.name_.Release();
2727 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2728 _impl_.name_.Set(
"", GetArena());
2733 ::google::protobuf::internal::TSanWrite(&
_impl_);
2734 if (value !=
nullptr) {
2737 _impl_._has_bits_[0] &= ~0x00000002u;
2739 _impl_.name_.SetAllocated(value, GetArena());
2740 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
2741 _impl_.name_.Set(
"", GetArena());
2751inline int RcpspAssignment::_internal_start_of_task_size()
const {
2752 return _internal_start_of_task().size();
2755 return _internal_start_of_task_size();
2758 ::google::protobuf::internal::TSanWrite(&
_impl_);
2759 _impl_.start_of_task_.Clear();
2763 return _internal_start_of_task().Get(index);
2766 _internal_mutable_start_of_task()->Set(index, value);
2770 ::google::protobuf::internal::TSanWrite(&
_impl_);
2771 _internal_mutable_start_of_task()->Add(value);
2775 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2777 return _internal_start_of_task();
2780 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2782 ::google::protobuf::internal::TSanWrite(&
_impl_);
2783 return _internal_mutable_start_of_task();
2785inline const ::google::protobuf::RepeatedField<::int64_t>&
2786RcpspAssignment::_internal_start_of_task()
const {
2787 ::google::protobuf::internal::TSanRead(&
_impl_);
2788 return _impl_.start_of_task_;
2790inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2791RcpspAssignment::_internal_mutable_start_of_task() {
2792 ::google::protobuf::internal::TSanRead(&
_impl_);
2793 return &
_impl_.start_of_task_;
2797inline int RcpspAssignment::_internal_selected_recipe_of_task_size()
const {
2798 return _internal_selected_recipe_of_task().size();
2801 return _internal_selected_recipe_of_task_size();
2804 ::google::protobuf::internal::TSanWrite(&
_impl_);
2805 _impl_.selected_recipe_of_task_.Clear();
2809 return _internal_selected_recipe_of_task().Get(index);
2812 _internal_mutable_selected_recipe_of_task()->Set(index, value);
2816 ::google::protobuf::internal::TSanWrite(&
_impl_);
2817 _internal_mutable_selected_recipe_of_task()->Add(value);
2821 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2823 return _internal_selected_recipe_of_task();
2826 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2828 ::google::protobuf::internal::TSanWrite(&
_impl_);
2829 return _internal_mutable_selected_recipe_of_task();
2831inline const ::google::protobuf::RepeatedField<::int32_t>&
2832RcpspAssignment::_internal_selected_recipe_of_task()
const {
2833 ::google::protobuf::internal::TSanRead(&
_impl_);
2834 return _impl_.selected_recipe_of_task_;
2836inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2837RcpspAssignment::_internal_mutable_selected_recipe_of_task() {
2838 ::google::protobuf::internal::TSanRead(&
_impl_);
2839 return &
_impl_.selected_recipe_of_task_;
2843#pragma GCC diagnostic pop
2854#include "google/protobuf/port_undef.inc"
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_min_delays()
friend void swap(PerRecipeDelays &a, PerRecipeDelays &b)
const ::google::protobuf::RepeatedField<::int32_t > & min_delays() const
bool IsInitialized() const
PerRecipeDelays & operator=(const PerRecipeDelays &from)
void Swap(PerRecipeDelays *PROTOBUF_NONNULL other)
::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)
void set_min_delays(int index, ::int32_t value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
static constexpr auto InternalGenerateClassData_()
int min_delays_size() const
repeated int32 min_delays = 1;
void MergeFrom(const PerRecipeDelays &from)
void CopyFrom(const PerRecipeDelays &from)
PerRecipeDelays *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::int32_t min_delays(int index) const
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void add_min_delays(::int32_t value)
friend class ::google::protobuf::Arena
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalNewImpl_()
::size_t ByteSizeLong() const final
@ kRecipeDelaysFieldNumber
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const PerSuccessorDelays &from)
const ::operations_research::scheduling::rcpsp::PerRecipeDelays & recipe_delays(int index) const
PerSuccessorDelays *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays > & recipe_delays() const
::operations_research::scheduling::rcpsp::PerRecipeDelays *PROTOBUF_NONNULL add_recipe_delays()
::operations_research::scheduling::rcpsp::PerRecipeDelays *PROTOBUF_NONNULL mutable_recipe_delays(int index)
PerSuccessorDelays & operator=(const PerSuccessorDelays &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const PerSuccessorDelays &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void Swap(PerSuccessorDelays *PROTOBUF_NONNULL other)
int recipe_delays_size() const
repeated .operations_research.scheduling.rcpsp.PerRecipeDelays recipe_delays = 1;
::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
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays > *PROTOBUF_NONNULL mutable_recipe_delays()
bool IsInitialized() const
void clear_recipe_delays()
static const PerSuccessorDelays & default_instance()
friend class ::google::protobuf::Arena
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_selected_recipe_of_task()
const ::google::protobuf::RepeatedField<::int64_t > & start_of_task() const
void clear_start_of_task()
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
PROTOBUF_CONSTEXPR RcpspAssignment(::google::protobuf::internal::ConstantInitialized)
RcpspAssignment & operator=(const RcpspAssignment &from)
bool IsInitialized() const
void CopyFrom(const RcpspAssignment &from)
void add_start_of_task(::int64_t value)
friend void swap(RcpspAssignment &a, RcpspAssignment &b)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_start_of_task()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_selected_recipe_of_task()
void set_selected_recipe_of_task(int index, ::int32_t value)
int selected_recipe_of_task_size() const
repeated int32 selected_recipe_of_task = 2;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void add_selected_recipe_of_task(::int32_t value)
static const RcpspAssignment & default_instance()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void Swap(RcpspAssignment *PROTOBUF_NONNULL other)
int start_of_task_size() const
repeated int64 start_of_task = 1;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const RcpspAssignment &from)
::int64_t start_of_task(int index) const
const ::google::protobuf::RepeatedField<::int32_t > & selected_recipe_of_task() const
::int32_t selected_recipe_of_task(int index) const
void set_start_of_task(int index, ::int64_t value)
static constexpr int kIndexInFileMessages
void UnsafeArenaSwap(RcpspProblem *PROTOBUF_NONNULL other)
void clear_basedata()
string basedata = 12;
const ::std::string & name() const
::operations_research::scheduling::rcpsp::Task *PROTOBUF_NONNULL add_tasks()
void set_due_date(::int32_t value)
void set_is_resource_investment(bool value)
::operations_research::scheduling::rcpsp::Resource *PROTOBUF_NONNULL mutable_resources(int index)
void clear_deadline()
int32 deadline = 6;
static constexpr auto InternalGenerateClassData_()
void clear_is_resource_investment()
bool is_resource_investment = 4;
static constexpr auto InternalNewImpl_()
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource > & resources() const
void set_horizon(::int32_t value)
void clear_horizon()
int32 horizon = 7;
void set_mpm_time(::int32_t value)
void clear_seed()
int64 seed = 11;
::int32_t horizon() const
const ::operations_research::scheduling::rcpsp::Task & tasks(int index) const
void set_is_rcpsp_max(bool value)
::int32_t deadline() const
void set_deadline(::int32_t value)
::operations_research::scheduling::rcpsp::Resource *PROTOBUF_NONNULL add_resources()
void clear_mpm_time()
int32 mpm_time = 10;
bool is_consumer_producer() const
void clear_tardiness_cost()
int32 tardiness_cost = 9;
void clear_name()
string name = 14;
void Swap(RcpspProblem *PROTOBUF_NONNULL other)
void set_allocated_basedata(::std::string *PROTOBUF_NULLABLE value)
::int32_t mpm_time() const
::int32_t tardiness_cost() const
void clear_is_rcpsp_max()
bool is_rcpsp_max = 5;
void set_basedata(Arg_ &&arg, Args_... args)
void set_tardiness_cost(::int32_t value)
void set_seed(::int64_t value)
void set_is_consumer_producer(bool value)
int tasks_size() const
repeated .operations_research.scheduling.rcpsp.Task tasks = 2;
::std::string *PROTOBUF_NONNULL mutable_name()
const ::operations_research::scheduling::rcpsp::Resource & resources(int index) const
::size_t ByteSizeLong() const final
::int32_t release_date() const
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task > *PROTOBUF_NONNULL mutable_tasks()
RcpspProblem *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource > *PROTOBUF_NONNULL mutable_resources()
::std::string *PROTOBUF_NULLABLE release_name()
::int32_t due_date() const
friend void swap(RcpspProblem &a, RcpspProblem &b)
void set_release_date(::int32_t value)
void clear_release_date()
int32 release_date = 8;
static const RcpspProblem & default_instance()
bool is_resource_investment() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::std::string & basedata() const
::std::string *PROTOBUF_NONNULL mutable_basedata()
bool is_rcpsp_max() const
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task > & tasks() const
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
int resources_size() const
repeated .operations_research.scheduling.rcpsp.Resource resources = 1;
::std::string *PROTOBUF_NULLABLE release_basedata()
bool IsInitialized() const
void clear_due_date()
int32 due_date = 13;
::google::protobuf::Metadata GetMetadata() const
@ kIsResourceInvestmentFieldNumber
@ kReleaseDateFieldNumber
@ kTardinessCostFieldNumber
@ kIsConsumerProducerFieldNumber
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_name(Arg_ &&arg, Args_... args)
friend class ::google::protobuf::Arena
::operations_research::scheduling::rcpsp::Task *PROTOBUF_NONNULL mutable_tasks(int index)
void clear_is_consumer_producer()
bool is_consumer_producer = 3;
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
int demands_size() const
repeated int32 demands = 2;
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_demands()
void add_demands(::int32_t value)
PROTOBUF_CONSTEXPR Recipe(::google::protobuf::internal::ConstantInitialized)
const ::google::protobuf::RepeatedField<::int32_t > & resources() const
::int32_t resources(int index) const
const ::google::protobuf::RepeatedField<::int32_t > & demands() const
void set_demands(int index, ::int32_t value)
::int32_t duration() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
int resources_size() const
repeated int32 resources = 3;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void CopyFrom(const Recipe &from)
void clear_duration()
int32 duration = 1;
void set_resources(int index, ::int32_t value)
Recipe & operator=(const Recipe &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void Swap(Recipe *PROTOBUF_NONNULL other)
void MergeFrom(const Recipe &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const Recipe & default_instance()
::size_t ByteSizeLong() const final
void set_duration(::int32_t value)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_resources()
::int32_t demands(int index) const
void add_resources(::int32_t value)
bool IsInitialized() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_unit_cost(::int32_t value)
void set_min_capacity(::int32_t value)
friend class ::google::protobuf::MessageLite
::int32_t unit_cost() const
void set_max_capacity(::int32_t value)
Resource & operator=(const Resource &from)
Resource(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, Resource &&from) noexcept
void clear_renewable()
bool renewable = 3;
::int32_t min_capacity() const
void clear_max_capacity()
int32 max_capacity = 1;
void Swap(Resource *PROTOBUF_NONNULL other)
PROTOBUF_CONSTEXPR Resource(::google::protobuf::internal::ConstantInitialized)
void clear_unit_cost()
int32 unit_cost = 4;
void set_renewable(bool value)
::int32_t max_capacity() const
void CopyFrom(const Resource &from)
bool IsInitialized() const
Resource(const Resource &from)
void clear_min_capacity()
int32 min_capacity = 2;
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_successors()
Task & operator=(const Task &from)
int successor_delays_size() const
repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;
int successors_size() const
repeated int32 successors = 1;
static constexpr int kIndexInFileMessages
void clear_successor_delays()
::operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL add_recipes()
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > *PROTOBUF_NONNULL mutable_successor_delays()
void set_successors(int index, ::int32_t value)
::size_t ByteSizeLong() const final
const ::google::protobuf::RepeatedField<::int32_t > & successors() const
const ::operations_research::scheduling::rcpsp::Recipe & recipes(int index) const
void Swap(Task *PROTOBUF_NONNULL other)
int recipes_size() const
repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;
::operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL add_successor_delays()
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > *PROTOBUF_NONNULL mutable_recipes()
static const Task & default_instance()
::google::protobuf::Metadata GetMetadata() const
::int32_t successors(int index) const
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > & recipes() const
void add_successors(::int32_t value)
const ::operations_research::scheduling::rcpsp::PerSuccessorDelays & successor_delays(int index) const
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > & successor_delays() const
::operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL mutable_recipes(int index)
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalNewImpl_()
friend void swap(Task &a, Task &b)
bool IsInitialized() const
Task *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
@ kSuccessorDelaysFieldNumber
friend class ::google::protobuf::Arena
::operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL mutable_successor_delays(int index)
::absl::string_view GetAnyMessageName()
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.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2frcpsp_2eproto