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 != 6033001
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"; }
224 explicit Resource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
225 Resource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Resource& from);
227 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Resource&& from) noexcept
229 *
this = ::std::move(from);
231 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
232 static
void* PROTOBUF_NONNULL PlacementNew_(
233 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
234 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
235 static constexpr auto InternalNewImpl_();
238 static constexpr auto InternalGenerateClassData_();
240 ::
google::protobuf::Metadata GetMetadata() const;
245 kMaxCapacityFieldNumber = 1,
246 kMinCapacityFieldNumber = 2,
256 ::int32_t _internal_max_capacity()
const;
257 void _internal_set_max_capacity(::int32_t value);
266 ::int32_t _internal_min_capacity()
const;
267 void _internal_set_min_capacity(::int32_t value);
276 bool _internal_renewable()
const;
277 void _internal_set_renewable(
bool value);
286 ::int32_t _internal_unit_cost()
const;
287 void _internal_set_unit_cost(::int32_t value);
293 friend class ::google::protobuf::internal::TcParser;
294 static const ::google::protobuf::internal::TcParseTable<2, 4,
299 friend class ::google::protobuf::MessageLite;
300 friend class ::google::protobuf::Arena;
301 template <
typename T>
302 friend class ::google::protobuf::Arena::InternalHelper;
303 using InternalArenaConstructable_ = void;
304 using DestructorSkippable_ = void;
306 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
307 inline explicit Impl_(
308 ::google::protobuf::internal::InternalVisibility visibility,
309 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
310 inline explicit Impl_(
311 ::google::protobuf::internal::InternalVisibility visibility,
312 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
314 ::google::protobuf::internal::HasBits<1> _has_bits_;
315 ::google::protobuf::internal::CachedSize _cached_size_;
316 ::int32_t max_capacity_;
317 ::int32_t min_capacity_;
319 ::int32_t unit_cost_;
320 PROTOBUF_TSAN_DECLARE_MEMBER
322 union { Impl_ _impl_; };
323 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
329class OR_PROTO_DLL
Recipe final :
public ::google::protobuf::Message
335#if defined(PROTOBUF_CUSTOM_VTABLE)
336 void operator delete(
Recipe* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
338 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Recipe));
342 template <
typename =
void>
343 explicit PROTOBUF_CONSTEXPR
Recipe(::google::protobuf::internal::ConstantInitialized);
347 :
Recipe(
nullptr, ::std::move(from)) {}
353 if (
this == &from)
return *
this;
354 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
362 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
363 ABSL_ATTRIBUTE_LIFETIME_BOUND {
364 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
366 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
367 ABSL_ATTRIBUTE_LIFETIME_BOUND {
368 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
371 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
372 return GetDescriptor();
374 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
377 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
381 return *
reinterpret_cast<const Recipe*
>(
384 static constexpr int kIndexInFileMessages = 1;
386 inline void Swap(Recipe* PROTOBUF_NONNULL other) {
387 if (other ==
this)
return;
388 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
391 ::google::protobuf::internal::GenericSwap(
this, other);
394 void UnsafeArenaSwap(Recipe* PROTOBUF_NONNULL other) {
395 if (other ==
this)
return;
396 ABSL_DCHECK(GetArena() == other->GetArena());
402 Recipe* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
403 return ::google::protobuf::Message::DefaultConstruct<Recipe>(arena);
405 using ::google::protobuf::Message::CopyFrom;
407 using ::google::protobuf::Message::MergeFrom;
411 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
412 const ::google::protobuf::MessageLite& from_msg);
418 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
419 #if defined(PROTOBUF_CUSTOM_VTABLE)
421 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
423 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
424 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
428 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
429 ::uint8_t* PROTOBUF_NONNULL target,
430 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
431 return _InternalSerialize(*
this, target, stream);
434 ::size_t ByteSizeLong() const final;
435 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
436 ::uint8_t* PROTOBUF_NONNULL target,
437 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
439 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
442 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
444 void InternalSwap(
Recipe* PROTOBUF_NONNULL other);
446 template <
typename T>
448 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.Recipe"; }
450 explicit Recipe(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
451 Recipe(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Recipe& from);
453 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Recipe&& from) noexcept
455 *
this = ::std::move(from);
457 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
458 static
void* PROTOBUF_NONNULL PlacementNew_(
459 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
460 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
461 static constexpr auto InternalNewImpl_();
464 static constexpr auto InternalGenerateClassData_();
466 ::
google::protobuf::Metadata GetMetadata() const;
471 kDemandsFieldNumber = 2,
472 kResourcesFieldNumber = 3,
473 kDurationFieldNumber = 1,
478 int _internal_demands_size()
const;
482 ::int32_t
demands(
int index)
const;
485 const ::google::protobuf::RepeatedField<::int32_t>&
demands()
const;
486 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_demands();
489 const ::google::protobuf::RepeatedField<::int32_t>& _internal_demands()
const;
490 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_demands();
496 int _internal_resources_size()
const;
503 const ::google::protobuf::RepeatedField<::int32_t>&
resources()
const;
504 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_resources();
507 const ::google::protobuf::RepeatedField<::int32_t>& _internal_resources()
const;
508 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_resources();
517 ::int32_t _internal_duration()
const;
518 void _internal_set_duration(::int32_t value);
524 friend class ::google::protobuf::internal::TcParser;
525 static const ::google::protobuf::internal::TcParseTable<2, 3,
530 friend class ::google::protobuf::MessageLite;
531 friend class ::google::protobuf::Arena;
532 template <
typename T>
533 friend class ::google::protobuf::Arena::InternalHelper;
534 using InternalArenaConstructable_ = void;
535 using DestructorSkippable_ = void;
537 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
538 inline explicit Impl_(
539 ::google::protobuf::internal::InternalVisibility visibility,
540 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
541 inline explicit Impl_(
542 ::google::protobuf::internal::InternalVisibility visibility,
543 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
545 ::google::protobuf::internal::HasBits<1> _has_bits_;
546 ::google::protobuf::internal::CachedSize _cached_size_;
547 ::google::protobuf::RepeatedField<::int32_t> demands_;
548 ::google::protobuf::internal::CachedSize _demands_cached_byte_size_;
549 ::google::protobuf::RepeatedField<::int32_t> resources_;
550 ::google::protobuf::internal::CachedSize _resources_cached_byte_size_;
552 PROTOBUF_TSAN_DECLARE_MEMBER
554 union { Impl_ _impl_; };
555 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
561class OR_PROTO_DLL
RcpspAssignment final :
public ::google::protobuf::Message
567#if defined(PROTOBUF_CUSTOM_VTABLE)
568 void operator delete(
RcpspAssignment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
570 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
RcpspAssignment));
574 template <
typename =
void>
575 explicit PROTOBUF_CONSTEXPR
RcpspAssignment(::google::protobuf::internal::ConstantInitialized);
578 inline RcpspAssignment(RcpspAssignment&& from) noexcept
585 if (
this == &from)
return *
this;
586 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
594 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
595 ABSL_ATTRIBUTE_LIFETIME_BOUND {
596 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
599 ABSL_ATTRIBUTE_LIFETIME_BOUND {
600 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
603 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
606 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
609 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
619 if (other ==
this)
return;
620 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
623 ::google::protobuf::internal::GenericSwap(
this, other);
626 void UnsafeArenaSwap(RcpspAssignment* PROTOBUF_NONNULL other) {
627 if (other ==
this)
return;
628 ABSL_DCHECK(GetArena() == other->GetArena());
634 RcpspAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
635 return ::google::protobuf::Message::DefaultConstruct<RcpspAssignment>(arena);
637 using ::google::protobuf::Message::CopyFrom;
639 using ::google::protobuf::Message::MergeFrom;
643 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
644 const ::google::protobuf::MessageLite& from_msg);
650 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
651 #if defined(PROTOBUF_CUSTOM_VTABLE)
653 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
655 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
656 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
660 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
661 ::uint8_t* PROTOBUF_NONNULL target,
662 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
663 return _InternalSerialize(*
this, target, stream);
666 ::size_t ByteSizeLong() const final;
667 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
668 ::uint8_t* PROTOBUF_NONNULL target,
669 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
671 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
674 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
678 template <
typename T>
680 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.RcpspAssignment"; }
682 explicit RcpspAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
685 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
RcpspAssignment&& from) noexcept
687 *
this = ::std::move(from);
689 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
690 static
void* PROTOBUF_NONNULL PlacementNew_(
691 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
692 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
693 static constexpr auto InternalNewImpl_();
696 static constexpr auto InternalGenerateClassData_();
698 ::
google::protobuf::Metadata GetMetadata() const;
703 kStartOfTaskFieldNumber = 1,
704 kSelectedRecipeOfTaskFieldNumber = 2,
709 int _internal_start_of_task_size()
const;
716 const ::google::protobuf::RepeatedField<::int64_t>&
start_of_task()
const;
720 const ::google::protobuf::RepeatedField<::int64_t>& _internal_start_of_task()
const;
721 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_start_of_task();
727 int _internal_selected_recipe_of_task_size()
const;
738 const ::google::protobuf::RepeatedField<::int32_t>& _internal_selected_recipe_of_task()
const;
739 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_selected_recipe_of_task();
745 friend class ::google::protobuf::internal::TcParser;
746 static const ::google::protobuf::internal::TcParseTable<1, 2,
751 friend class ::google::protobuf::MessageLite;
752 friend class ::google::protobuf::Arena;
753 template <
typename T>
754 friend class ::google::protobuf::Arena::InternalHelper;
755 using InternalArenaConstructable_ = void;
756 using DestructorSkippable_ = void;
758 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
759 inline explicit Impl_(
760 ::google::protobuf::internal::InternalVisibility visibility,
761 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
762 inline explicit Impl_(
763 ::google::protobuf::internal::InternalVisibility visibility,
764 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
766 ::google::protobuf::internal::HasBits<1> _has_bits_;
767 ::google::protobuf::internal::CachedSize _cached_size_;
768 ::google::protobuf::RepeatedField<::int64_t> start_of_task_;
769 ::google::protobuf::internal::CachedSize _start_of_task_cached_byte_size_;
770 ::google::protobuf::RepeatedField<::int32_t> selected_recipe_of_task_;
771 ::google::protobuf::internal::CachedSize _selected_recipe_of_task_cached_byte_size_;
772 PROTOBUF_TSAN_DECLARE_MEMBER
774 union { Impl_ _impl_; };
775 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
781class OR_PROTO_DLL
PerRecipeDelays final :
public ::google::protobuf::Message
787#if defined(PROTOBUF_CUSTOM_VTABLE)
788 void operator delete(
PerRecipeDelays* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
790 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
PerRecipeDelays));
794 template <
typename =
void>
795 explicit PROTOBUF_CONSTEXPR
PerRecipeDelays(::google::protobuf::internal::ConstantInitialized);
798 inline PerRecipeDelays(PerRecipeDelays&& from) noexcept
799 : PerRecipeDelays(
nullptr, ::std::move(from)) {}
805 if (
this == &from)
return *
this;
806 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
814 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
815 ABSL_ATTRIBUTE_LIFETIME_BOUND {
816 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
818 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
819 ABSL_ATTRIBUTE_LIFETIME_BOUND {
820 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
823 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
826 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
827 return default_instance().GetMetadata().descriptor;
829 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
830 return default_instance().GetMetadata().reflection;
836 static constexpr int kIndexInFileMessages = 2;
839 if (other ==
this)
return;
840 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
843 ::google::protobuf::internal::GenericSwap(
this, other);
846 void UnsafeArenaSwap(PerRecipeDelays* PROTOBUF_NONNULL other) {
847 if (other ==
this)
return;
848 ABSL_DCHECK(GetArena() == other->GetArena());
854 PerRecipeDelays* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
855 return ::google::protobuf::Message::DefaultConstruct<PerRecipeDelays>(arena);
857 using ::google::protobuf::Message::CopyFrom;
859 using ::google::protobuf::Message::MergeFrom;
863 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
864 const ::google::protobuf::MessageLite& from_msg);
870 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
871 #if defined(PROTOBUF_CUSTOM_VTABLE)
873 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
875 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
876 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
880 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
881 ::uint8_t* PROTOBUF_NONNULL target,
882 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
883 return _InternalSerialize(*
this, target, stream);
886 ::size_t ByteSizeLong() const final;
887 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
888 ::uint8_t* PROTOBUF_NONNULL target,
889 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
891 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
894 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
895 static void SharedDtor(MessageLite& self);
898 template <
typename T>
900 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.PerRecipeDelays"; }
902 explicit PerRecipeDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
905 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
PerRecipeDelays&& from) noexcept
907 *
this = ::std::move(from);
909 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
910 static
void* PROTOBUF_NONNULL PlacementNew_(
911 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
912 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
913 static constexpr auto InternalNewImpl_();
916 static constexpr auto InternalGenerateClassData_();
918 ::
google::protobuf::Metadata GetMetadata() const;
923 kMinDelaysFieldNumber = 1,
926 int min_delays_size()
const;
928 int _internal_min_delays_size()
const;
935 const ::google::protobuf::RepeatedField<::int32_t>&
min_delays()
const;
939 const ::google::protobuf::RepeatedField<::int32_t>& _internal_min_delays()
const;
940 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_min_delays();
946 friend class ::google::protobuf::internal::TcParser;
947 static const ::google::protobuf::internal::TcParseTable<0, 1,
952 friend class ::google::protobuf::MessageLite;
953 friend class ::google::protobuf::Arena;
954 template <
typename T>
955 friend class ::google::protobuf::Arena::InternalHelper;
956 using InternalArenaConstructable_ = void;
957 using DestructorSkippable_ = void;
959 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
960 inline explicit Impl_(
961 ::google::protobuf::internal::InternalVisibility visibility,
962 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
963 inline explicit Impl_(
964 ::google::protobuf::internal::InternalVisibility visibility,
965 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
967 ::google::protobuf::internal::HasBits<1> _has_bits_;
968 ::google::protobuf::internal::CachedSize _cached_size_;
969 ::google::protobuf::RepeatedField<::int32_t> min_delays_;
970 ::google::protobuf::internal::CachedSize _min_delays_cached_byte_size_;
971 PROTOBUF_TSAN_DECLARE_MEMBER
973 union { Impl_ _impl_; };
974 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
986#if defined(PROTOBUF_CUSTOM_VTABLE)
987 void operator delete(
PerSuccessorDelays* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
993 template <
typename =
void>
994 explicit PROTOBUF_CONSTEXPR
PerSuccessorDelays(::google::protobuf::internal::ConstantInitialized);
997 inline PerSuccessorDelays(PerSuccessorDelays&& from) noexcept
998 : PerSuccessorDelays(
nullptr, ::std::move(from)) {}
999 inline PerSuccessorDelays& operator=(
const PerSuccessorDelays& from) {
1004 if (
this == &from)
return *
this;
1005 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1006 InternalSwap(&from);
1013 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1014 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1015 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1017 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1018 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1019 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1022 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1025 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1026 return default_instance().GetMetadata().descriptor;
1035 static constexpr int kIndexInFileMessages = 3;
1038 if (other ==
this)
return;
1039 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1040 InternalSwap(other);
1042 ::google::protobuf::internal::GenericSwap(
this, other);
1045 void UnsafeArenaSwap(PerSuccessorDelays* PROTOBUF_NONNULL other) {
1046 if (other ==
this)
return;
1047 ABSL_DCHECK(GetArena() == other->GetArena());
1048 InternalSwap(other);
1053 PerSuccessorDelays* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1054 return ::google::protobuf::Message::DefaultConstruct<PerSuccessorDelays>(arena);
1056 using ::google::protobuf::Message::CopyFrom;
1058 using ::google::protobuf::Message::MergeFrom;
1062 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1063 const ::google::protobuf::MessageLite& from_msg);
1069 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1070 #if defined(PROTOBUF_CUSTOM_VTABLE)
1074 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1075 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1079 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1080 ::uint8_t* PROTOBUF_NONNULL target,
1081 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1082 return _InternalSerialize(*
this, target, stream);
1085 ::size_t ByteSizeLong() const final;
1086 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1087 ::uint8_t* PROTOBUF_NONNULL target,
1088 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1090 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1093 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1094 static void SharedDtor(MessageLite& self);
1095 void InternalSwap(PerSuccessorDelays* PROTOBUF_NONNULL other);
1097 template <
typename T>
1099 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.PerSuccessorDelays"; }
1104 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
PerSuccessorDelays&& from) noexcept
1106 *
this = ::std::move(from);
1108 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1109 static
void* PROTOBUF_NONNULL PlacementNew_(
1110 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1111 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1112 static constexpr auto InternalNewImpl_();
1115 static constexpr auto InternalGenerateClassData_();
1117 ::
google::protobuf::Metadata GetMetadata() const;
1122 kRecipeDelaysFieldNumber = 1,
1125 int recipe_delays_size()
const;
1127 int _internal_recipe_delays_size()
const;
1132 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL
mutable_recipe_delays();
1135 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>& _internal_recipe_delays()
const;
1136 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL _internal_mutable_recipe_delays();
1138 const ::operations_research::scheduling::rcpsp::PerRecipeDelays&
recipe_delays(
int index)
const;
1140 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>&
recipe_delays()
const;
1144 friend class ::google::protobuf::internal::TcParser;
1145 static const ::google::protobuf::internal::TcParseTable<0, 1,
1150 friend class ::google::protobuf::MessageLite;
1151 friend class ::google::protobuf::Arena;
1152 template <
typename T>
1153 friend class ::google::protobuf::Arena::InternalHelper;
1154 using InternalArenaConstructable_ = void;
1155 using DestructorSkippable_ = void;
1157 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1158 inline explicit Impl_(
1159 ::google::protobuf::internal::InternalVisibility visibility,
1160 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1161 inline explicit Impl_(
1162 ::google::protobuf::internal::InternalVisibility visibility,
1163 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1165 ::google::protobuf::internal::HasBits<1> _has_bits_;
1166 ::google::protobuf::internal::CachedSize _cached_size_;
1167 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::PerRecipeDelays > recipe_delays_;
1168 PROTOBUF_TSAN_DECLARE_MEMBER
1170 union { Impl_ _impl_; };
1171 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1177class OR_PROTO_DLL
Task final :
public ::google::protobuf::Message
1181 ~Task() PROTOBUF_FINAL;
1183#if defined(PROTOBUF_CUSTOM_VTABLE)
1184 void operator delete(
Task* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1186 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Task));
1190 template <
typename =
void>
1191 explicit PROTOBUF_CONSTEXPR
Task(::google::protobuf::internal::ConstantInitialized);
1194 inline Task(Task&& from) noexcept
1195 : Task(
nullptr, ::std::move(from)) {}
1196 inline Task& operator=(
const Task& from) {
1201 if (
this == &from)
return *
this;
1202 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1203 InternalSwap(&from);
1210 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1211 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1212 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1214 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1215 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1216 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1219 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1220 return GetDescriptor();
1222 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1223 return default_instance().GetMetadata().descriptor;
1225 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1228 static const Task& default_instance() {
1229 return *
reinterpret_cast<const Task*
>(
1234 inline void Swap(
Task* PROTOBUF_NONNULL other) {
1235 if (other ==
this)
return;
1236 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1237 InternalSwap(other);
1239 ::google::protobuf::internal::GenericSwap(
this, other);
1242 void UnsafeArenaSwap(
Task* PROTOBUF_NONNULL other) {
1243 if (other ==
this)
return;
1244 ABSL_DCHECK(GetArena() == other->GetArena());
1245 InternalSwap(other);
1250 Task* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1251 return ::google::protobuf::Message::DefaultConstruct<Task>(arena);
1253 using ::google::protobuf::Message::CopyFrom;
1254 void CopyFrom(
const Task& from);
1255 using ::google::protobuf::Message::MergeFrom;
1256 void MergeFrom(
const Task& from) { Task::MergeImpl(*
this, from); }
1259 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1260 const ::google::protobuf::MessageLite& from_msg);
1266 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1267 #if defined(PROTOBUF_CUSTOM_VTABLE)
1269 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1271 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1272 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1276 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1277 ::uint8_t* PROTOBUF_NONNULL target,
1278 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1279 return _InternalSerialize(*
this, target, stream);
1282 ::size_t ByteSizeLong() const final;
1283 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1284 ::uint8_t* PROTOBUF_NONNULL target,
1285 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1287 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1290 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1291 static void SharedDtor(MessageLite& self);
1292 void InternalSwap(Task* PROTOBUF_NONNULL other);
1294 template <
typename T>
1296 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.Task"; }
1298 explicit Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1299 Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Task& from);
1301 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Task&& from) noexcept
1303 *
this = ::std::move(from);
1305 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1306 static
void* PROTOBUF_NONNULL PlacementNew_(
1307 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1308 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1309 static constexpr auto InternalNewImpl_();
1312 static constexpr auto InternalGenerateClassData_();
1314 ::
google::protobuf::Metadata GetMetadata() const;
1319 kSuccessorsFieldNumber = 1,
1320 kRecipesFieldNumber = 2,
1321 kSuccessorDelaysFieldNumber = 3,
1324 int successors_size()
const;
1326 int _internal_successors_size()
const;
1333 const ::google::protobuf::RepeatedField<::int32_t>&
successors()
const;
1337 const ::google::protobuf::RepeatedField<::int32_t>& _internal_successors()
const;
1338 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_successors();
1344 int _internal_recipes_size()
const;
1349 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL
mutable_recipes();
1352 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>& _internal_recipes()
const;
1353 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL _internal_mutable_recipes();
1355 const ::operations_research::scheduling::rcpsp::Recipe&
recipes(
int index)
const;
1357 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>&
recipes()
const;
1361 int _internal_successor_delays_size()
const;
1366 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL
mutable_successor_delays();
1369 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>& _internal_successor_delays()
const;
1370 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL _internal_mutable_successor_delays();
1372 const ::operations_research::scheduling::rcpsp::PerSuccessorDelays&
successor_delays(
int index)
const;
1374 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>&
successor_delays()
const;
1378 friend class ::google::protobuf::internal::TcParser;
1379 static const ::google::protobuf::internal::TcParseTable<2, 3,
1384 friend class ::google::protobuf::MessageLite;
1385 friend class ::google::protobuf::Arena;
1386 template <
typename T>
1387 friend class ::google::protobuf::Arena::InternalHelper;
1388 using InternalArenaConstructable_ = void;
1389 using DestructorSkippable_ = void;
1391 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1392 inline explicit Impl_(
1393 ::google::protobuf::internal::InternalVisibility visibility,
1394 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1395 inline explicit Impl_(
1396 ::google::protobuf::internal::InternalVisibility visibility,
1397 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1398 const Task& from_msg);
1399 ::google::protobuf::internal::HasBits<1> _has_bits_;
1400 ::google::protobuf::internal::CachedSize _cached_size_;
1401 ::google::protobuf::RepeatedField<::int32_t> successors_;
1402 ::google::protobuf::internal::CachedSize _successors_cached_byte_size_;
1403 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::Recipe > recipes_;
1404 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::PerSuccessorDelays > successor_delays_;
1405 PROTOBUF_TSAN_DECLARE_MEMBER
1407 union { Impl_ _impl_; };
1408 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1411OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Task_class_data_;
1420#if defined(PROTOBUF_CUSTOM_VTABLE)
1421 void operator delete(
RcpspProblem* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1423 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
RcpspProblem));
1427 template <
typename =
void>
1428 explicit PROTOBUF_CONSTEXPR
RcpspProblem(::google::protobuf::internal::ConstantInitialized);
1433 inline RcpspProblem& operator=(
const RcpspProblem& from) {
1438 if (
this == &from)
return *
this;
1439 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1440 InternalSwap(&from);
1447 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1448 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1449 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1451 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1452 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1453 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1456 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1462 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1463 return default_instance().GetMetadata().reflection;
1469 static constexpr int kIndexInFileMessages = 5;
1471 inline void Swap(
RcpspProblem* PROTOBUF_NONNULL other) {
1472 if (other ==
this)
return;
1473 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1474 InternalSwap(other);
1476 ::google::protobuf::internal::GenericSwap(
this, other);
1480 if (other ==
this)
return;
1481 ABSL_DCHECK(GetArena() == other->GetArena());
1482 InternalSwap(other);
1487 RcpspProblem* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1488 return ::google::protobuf::Message::DefaultConstruct<RcpspProblem>(arena);
1490 using ::google::protobuf::Message::CopyFrom;
1492 using ::google::protobuf::Message::MergeFrom;
1493 void MergeFrom(
const RcpspProblem& from) { RcpspProblem::MergeImpl(*
this, from); }
1496 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1497 const ::google::protobuf::MessageLite& from_msg);
1503 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1504 #if defined(PROTOBUF_CUSTOM_VTABLE)
1506 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1507 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1508 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1509 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1513 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1514 ::uint8_t* PROTOBUF_NONNULL target,
1515 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1516 return _InternalSerialize(*
this, target, stream);
1519 ::size_t ByteSizeLong() const final;
1520 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1521 ::uint8_t* PROTOBUF_NONNULL target,
1522 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1524 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1527 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1528 static void SharedDtor(MessageLite& self);
1529 void InternalSwap(RcpspProblem* PROTOBUF_NONNULL other);
1531 template <
typename T>
1533 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.rcpsp.RcpspProblem"; }
1535 explicit RcpspProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1538 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
RcpspProblem&& from) noexcept
1540 *
this = ::std::move(from);
1542 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1543 static
void* PROTOBUF_NONNULL PlacementNew_(
1544 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1545 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1546 static constexpr auto InternalNewImpl_();
1549 static constexpr auto InternalGenerateClassData_();
1551 ::
google::protobuf::Metadata GetMetadata() const;
1556 kResourcesFieldNumber = 1,
1557 kTasksFieldNumber = 2,
1558 kBasedataFieldNumber = 12,
1559 kNameFieldNumber = 14,
1560 kIsConsumerProducerFieldNumber = 3,
1561 kIsResourceInvestmentFieldNumber = 4,
1562 kIsRcpspMaxFieldNumber = 5,
1563 kDeadlineFieldNumber = 6,
1574 int _internal_resources_size()
const;
1579 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL
mutable_resources();
1582 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>& _internal_resources()
const;
1583 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL _internal_mutable_resources();
1585 const ::operations_research::scheduling::rcpsp::Resource&
resources(
int index)
const;
1587 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>&
resources()
const;
1591 int _internal_tasks_size()
const;
1596 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL
mutable_tasks();
1599 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>& _internal_tasks()
const;
1600 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL _internal_mutable_tasks();
1602 const ::operations_research::scheduling::rcpsp::Task&
tasks(
int index)
const;
1604 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>&
tasks()
const;
1607 const ::std::string&
basedata()
const;
1608 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1615 const ::std::string& _internal_basedata()
const;
1616 PROTOBUF_ALWAYS_INLINE
void _internal_set_basedata(const ::std::string& value);
1617 ::std::string* PROTOBUF_NONNULL _internal_mutable_basedata();
1622 const ::std::string&
name()
const;
1623 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1624 void set_name(Arg_&& arg, Args_... args);
1626 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1630 const ::std::string& _internal_name()
const;
1631 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1632 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1641 bool _internal_is_consumer_producer()
const;
1642 void _internal_set_is_consumer_producer(
bool value);
1651 bool _internal_is_resource_investment()
const;
1652 void _internal_set_is_resource_investment(
bool value);
1661 bool _internal_is_rcpsp_max()
const;
1662 void _internal_set_is_rcpsp_max(
bool value);
1671 ::int32_t _internal_deadline()
const;
1672 void _internal_set_deadline(::int32_t value);
1681 ::int32_t _internal_horizon()
const;
1682 void _internal_set_horizon(::int32_t value);
1691 ::int32_t _internal_release_date()
const;
1692 void _internal_set_release_date(::int32_t value);
1701 ::int32_t _internal_tardiness_cost()
const;
1702 void _internal_set_tardiness_cost(::int32_t value);
1711 ::int32_t _internal_mpm_time()
const;
1712 void _internal_set_mpm_time(::int32_t value);
1717 ::int64_t
seed()
const;
1721 ::int64_t _internal_seed()
const;
1722 void _internal_set_seed(::int64_t value);
1731 ::int32_t _internal_due_date()
const;
1732 void _internal_set_due_date(::int32_t value);
1738 friend class ::google::protobuf::internal::TcParser;
1739 static const ::google::protobuf::internal::TcParseTable<4, 14,
1744 friend class ::google::protobuf::MessageLite;
1745 friend class ::google::protobuf::Arena;
1746 template <
typename T>
1747 friend class ::google::protobuf::Arena::InternalHelper;
1748 using InternalArenaConstructable_ = void;
1749 using DestructorSkippable_ = void;
1751 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1752 inline explicit Impl_(
1753 ::google::protobuf::internal::InternalVisibility visibility,
1754 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1755 inline explicit Impl_(
1756 ::google::protobuf::internal::InternalVisibility visibility,
1757 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1759 ::google::protobuf::internal::HasBits<1> _has_bits_;
1760 ::google::protobuf::internal::CachedSize _cached_size_;
1761 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::Resource > resources_;
1762 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::Task > tasks_;
1763 ::google::protobuf::internal::ArenaStringPtr basedata_;
1764 ::google::protobuf::internal::ArenaStringPtr name_;
1765 bool is_consumer_producer_;
1766 bool is_resource_investment_;
1768 ::int32_t deadline_;
1770 ::int32_t release_date_;
1771 ::int32_t tardiness_cost_;
1772 ::int32_t mpm_time_;
1774 ::int32_t due_date_;
1775 PROTOBUF_TSAN_DECLARE_MEMBER
1777 union { Impl_ _impl_; };
1778 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1792#pragma GCC diagnostic push
1793#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1801 ::google::protobuf::internal::TSanWrite(&
_impl_);
1802 _impl_.max_capacity_ = 0;
1803 ClearHasBit(
_impl_._has_bits_[0],
1808 return _internal_max_capacity();
1811 _internal_set_max_capacity(value);
1812 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
1815inline ::int32_t Resource::_internal_max_capacity()
const {
1816 ::google::protobuf::internal::TSanRead(&
_impl_);
1819inline void Resource::_internal_set_max_capacity(::int32_t value) {
1820 ::google::protobuf::internal::TSanWrite(&
_impl_);
1826 ::google::protobuf::internal::TSanWrite(&
_impl_);
1827 _impl_.min_capacity_ = 0;
1828 ClearHasBit(
_impl_._has_bits_[0],
1833 return _internal_min_capacity();
1836 _internal_set_min_capacity(value);
1837 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
1840inline ::int32_t Resource::_internal_min_capacity()
const {
1841 ::google::protobuf::internal::TSanRead(&
_impl_);
1844inline void Resource::_internal_set_min_capacity(::int32_t value) {
1845 ::google::protobuf::internal::TSanWrite(&
_impl_);
1851 ::google::protobuf::internal::TSanWrite(&
_impl_);
1852 _impl_.renewable_ =
false;
1853 ClearHasBit(
_impl_._has_bits_[0],
1858 return _internal_renewable();
1861 _internal_set_renewable(value);
1862 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
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 ClearHasBit(
_impl_._has_bits_[0],
1883 return _internal_unit_cost();
1886 _internal_set_unit_cost(value);
1887 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
1890inline ::int32_t Resource::_internal_unit_cost()
const {
1891 ::google::protobuf::internal::TSanRead(&
_impl_);
1894inline void Resource::_internal_set_unit_cost(::int32_t value) {
1895 ::google::protobuf::internal::TSanWrite(&
_impl_);
1905 ::google::protobuf::internal::TSanWrite(&
_impl_);
1907 ClearHasBit(
_impl_._has_bits_[0],
1912 return _internal_duration();
1915 _internal_set_duration(value);
1916 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
1919inline ::int32_t Recipe::_internal_duration()
const {
1920 ::google::protobuf::internal::TSanRead(&
_impl_);
1923inline void Recipe::_internal_set_duration(::int32_t value) {
1924 ::google::protobuf::internal::TSanWrite(&
_impl_);
1925 _impl_.duration_ = value;
1929inline int Recipe::_internal_demands_size()
const {
1930 return _internal_demands().size();
1933 return _internal_demands_size();
1936 ::google::protobuf::internal::TSanWrite(&
_impl_);
1938 ClearHasBitForRepeated(
_impl_._has_bits_[0],
1943 return _internal_demands().Get(index);
1946 _internal_mutable_demands()->Set(index, value);
1950 ::google::protobuf::internal::TSanWrite(&
_impl_);
1951 _internal_mutable_demands()->Add(value);
1952 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
1955inline const ::google::protobuf::RepeatedField<::int32_t>&
Recipe::demands() const
1956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1958 return _internal_demands();
1961 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1962 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
1964 ::google::protobuf::internal::TSanWrite(&
_impl_);
1965 return _internal_mutable_demands();
1967inline const ::google::protobuf::RepeatedField<::int32_t>&
1968Recipe::_internal_demands()
const {
1969 ::google::protobuf::internal::TSanRead(&
_impl_);
1972inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1973Recipe::_internal_mutable_demands() {
1974 ::google::protobuf::internal::TSanRead(&
_impl_);
1979inline int Recipe::_internal_resources_size()
const {
1980 return _internal_resources().size();
1983 return _internal_resources_size();
1986 ::google::protobuf::internal::TSanWrite(&
_impl_);
1987 _impl_.resources_.Clear();
1988 ClearHasBitForRepeated(
_impl_._has_bits_[0],
1993 return _internal_resources().Get(index);
1996 _internal_mutable_resources()->Set(index, value);
2000 ::google::protobuf::internal::TSanWrite(&
_impl_);
2001 _internal_mutable_resources()->Add(value);
2002 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2005inline const ::google::protobuf::RepeatedField<::int32_t>&
Recipe::resources() const
2006 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2008 return _internal_resources();
2011 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2012 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2014 ::google::protobuf::internal::TSanWrite(&
_impl_);
2015 return _internal_mutable_resources();
2017inline const ::google::protobuf::RepeatedField<::int32_t>&
2018Recipe::_internal_resources()
const {
2019 ::google::protobuf::internal::TSanRead(&
_impl_);
2020 return _impl_.resources_;
2022inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2023Recipe::_internal_mutable_resources() {
2024 ::google::protobuf::internal::TSanRead(&
_impl_);
2025 return &
_impl_.resources_;
2033inline int PerRecipeDelays::_internal_min_delays_size()
const {
2034 return _internal_min_delays().size();
2037 return _internal_min_delays_size();
2040 ::google::protobuf::internal::TSanWrite(&
_impl_);
2041 _impl_.min_delays_.Clear();
2042 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2047 return _internal_min_delays().Get(index);
2050 _internal_mutable_min_delays()->Set(index, value);
2054 ::google::protobuf::internal::TSanWrite(&
_impl_);
2055 _internal_mutable_min_delays()->Add(value);
2056 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2060 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2062 return _internal_min_delays();
2065 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2066 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2068 ::google::protobuf::internal::TSanWrite(&
_impl_);
2069 return _internal_mutable_min_delays();
2071inline const ::google::protobuf::RepeatedField<::int32_t>&
2072PerRecipeDelays::_internal_min_delays()
const {
2073 ::google::protobuf::internal::TSanRead(&
_impl_);
2074 return _impl_.min_delays_;
2076inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2077PerRecipeDelays::_internal_mutable_min_delays() {
2078 ::google::protobuf::internal::TSanRead(&
_impl_);
2079 return &
_impl_.min_delays_;
2087inline int PerSuccessorDelays::_internal_recipe_delays_size()
const {
2088 return _internal_recipe_delays().size();
2091 return _internal_recipe_delays_size();
2094 ::google::protobuf::internal::TSanWrite(&
_impl_);
2095 _impl_.recipe_delays_.Clear();
2096 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2100 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2102 return _internal_mutable_recipe_delays()->Mutable(index);
2105 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2106 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2108 ::google::protobuf::internal::TSanWrite(&
_impl_);
2109 return _internal_mutable_recipe_delays();
2112 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2114 return _internal_recipe_delays().Get(index);
2117 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2118 ::google::protobuf::internal::TSanWrite(&
_impl_);
2120 _internal_mutable_recipe_delays()->InternalAddWithArena(
2121 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2122 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2127 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2129 return _internal_recipe_delays();
2131inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>&
2132PerSuccessorDelays::_internal_recipe_delays()
const {
2133 ::google::protobuf::internal::TSanRead(&
_impl_);
2134 return _impl_.recipe_delays_;
2136inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL
2137PerSuccessorDelays::_internal_mutable_recipe_delays() {
2138 ::google::protobuf::internal::TSanRead(&
_impl_);
2139 return &
_impl_.recipe_delays_;
2147inline int Task::_internal_successors_size()
const {
2148 return _internal_successors().size();
2151 return _internal_successors_size();
2154 ::google::protobuf::internal::TSanWrite(&
_impl_);
2155 _impl_.successors_.Clear();
2156 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2161 return _internal_successors().Get(index);
2164 _internal_mutable_successors()->Set(index, value);
2168 ::google::protobuf::internal::TSanWrite(&
_impl_);
2169 _internal_mutable_successors()->Add(value);
2170 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2173inline const ::google::protobuf::RepeatedField<::int32_t>&
Task::successors() const
2174 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2176 return _internal_successors();
2179 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2180 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2182 ::google::protobuf::internal::TSanWrite(&
_impl_);
2183 return _internal_mutable_successors();
2185inline const ::google::protobuf::RepeatedField<::int32_t>&
2186Task::_internal_successors()
const {
2187 ::google::protobuf::internal::TSanRead(&
_impl_);
2190inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2191Task::_internal_mutable_successors() {
2192 ::google::protobuf::internal::TSanRead(&
_impl_);
2197inline int Task::_internal_recipes_size()
const {
2198 return _internal_recipes().size();
2201 return _internal_recipes_size();
2204 ::google::protobuf::internal::TSanWrite(&
_impl_);
2206 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2209inline ::operations_research::scheduling::rcpsp::Recipe* PROTOBUF_NONNULL
Task::mutable_recipes(
int index)
2210 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2212 return _internal_mutable_recipes()->Mutable(index);
2214inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL
Task::mutable_recipes()
2215 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2216 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2218 ::google::protobuf::internal::TSanWrite(&
_impl_);
2219 return _internal_mutable_recipes();
2221inline const ::operations_research::scheduling::rcpsp::Recipe&
Task::recipes(
int index)
const
2222 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2224 return _internal_recipes().Get(index);
2226inline ::operations_research::scheduling::rcpsp::Recipe* PROTOBUF_NONNULL
Task::add_recipes()
2227 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2228 ::google::protobuf::internal::TSanWrite(&
_impl_);
2230 _internal_mutable_recipes()->InternalAddWithArena(
2231 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2232 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2236inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>&
Task::recipes() const
2237 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2239 return _internal_recipes();
2241inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>&
2242Task::_internal_recipes()
const {
2243 ::google::protobuf::internal::TSanRead(&
_impl_);
2246inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL
2247Task::_internal_mutable_recipes() {
2248 ::google::protobuf::internal::TSanRead(&
_impl_);
2253inline int Task::_internal_successor_delays_size()
const {
2254 return _internal_successor_delays().size();
2257 return _internal_successor_delays_size();
2260 ::google::protobuf::internal::TSanWrite(&
_impl_);
2261 _impl_.successor_delays_.Clear();
2262 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2266 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2268 return _internal_mutable_successor_delays()->Mutable(index);
2270inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL
Task::mutable_successor_delays()
2271 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2272 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2274 ::google::protobuf::internal::TSanWrite(&
_impl_);
2275 return _internal_mutable_successor_delays();
2277inline const ::operations_research::scheduling::rcpsp::PerSuccessorDelays&
Task::successor_delays(
int index)
const
2278 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2280 return _internal_successor_delays().Get(index);
2283 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2284 ::google::protobuf::internal::TSanWrite(&
_impl_);
2286 _internal_mutable_successor_delays()->InternalAddWithArena(
2287 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2288 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2292inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>&
Task::successor_delays() const
2293 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2295 return _internal_successor_delays();
2297inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>&
2298Task::_internal_successor_delays()
const {
2299 ::google::protobuf::internal::TSanRead(&
_impl_);
2300 return _impl_.successor_delays_;
2302inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL
2303Task::_internal_mutable_successor_delays() {
2304 ::google::protobuf::internal::TSanRead(&
_impl_);
2305 return &
_impl_.successor_delays_;
2313inline int RcpspProblem::_internal_resources_size()
const {
2314 return _internal_resources().size();
2317 return _internal_resources_size();
2320 ::google::protobuf::internal::TSanWrite(&
_impl_);
2321 _impl_.resources_.Clear();
2322 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2326 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2328 return _internal_mutable_resources()->Mutable(index);
2331 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2332 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2334 ::google::protobuf::internal::TSanWrite(&
_impl_);
2335 return _internal_mutable_resources();
2338 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2340 return _internal_resources().Get(index);
2343 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2344 ::google::protobuf::internal::TSanWrite(&
_impl_);
2346 _internal_mutable_resources()->InternalAddWithArena(
2347 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2348 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2352inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>&
RcpspProblem::resources() const
2353 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2355 return _internal_resources();
2357inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>&
2358RcpspProblem::_internal_resources()
const {
2359 ::google::protobuf::internal::TSanRead(&
_impl_);
2360 return _impl_.resources_;
2362inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL
2363RcpspProblem::_internal_mutable_resources() {
2364 ::google::protobuf::internal::TSanRead(&
_impl_);
2365 return &
_impl_.resources_;
2369inline int RcpspProblem::_internal_tasks_size()
const {
2370 return _internal_tasks().size();
2373 return _internal_tasks_size();
2376 ::google::protobuf::internal::TSanWrite(&
_impl_);
2378 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2382 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2384 return _internal_mutable_tasks()->Mutable(index);
2386inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL
RcpspProblem::mutable_tasks()
2387 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2388 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2390 ::google::protobuf::internal::TSanWrite(&
_impl_);
2391 return _internal_mutable_tasks();
2393inline const ::operations_research::scheduling::rcpsp::Task&
RcpspProblem::tasks(
int index)
const
2394 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2396 return _internal_tasks().Get(index);
2399 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2400 ::google::protobuf::internal::TSanWrite(&
_impl_);
2402 _internal_mutable_tasks()->InternalAddWithArena(
2403 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2404 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2408inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>&
RcpspProblem::tasks() const
2409 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2411 return _internal_tasks();
2413inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>&
2414RcpspProblem::_internal_tasks()
const {
2415 ::google::protobuf::internal::TSanRead(&
_impl_);
2418inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL
2419RcpspProblem::_internal_mutable_tasks() {
2420 ::google::protobuf::internal::TSanRead(&
_impl_);
2426 ::google::protobuf::internal::TSanWrite(&
_impl_);
2427 _impl_.is_consumer_producer_ =
false;
2428 ClearHasBit(
_impl_._has_bits_[0],
2433 return _internal_is_consumer_producer();
2436 _internal_set_is_consumer_producer(value);
2437 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2440inline bool RcpspProblem::_internal_is_consumer_producer()
const {
2441 ::google::protobuf::internal::TSanRead(&
_impl_);
2442 return _impl_.is_consumer_producer_;
2444inline void RcpspProblem::_internal_set_is_consumer_producer(
bool value) {
2445 ::google::protobuf::internal::TSanWrite(&
_impl_);
2446 _impl_.is_consumer_producer_ = value;
2451 ::google::protobuf::internal::TSanWrite(&
_impl_);
2452 _impl_.is_resource_investment_ =
false;
2453 ClearHasBit(
_impl_._has_bits_[0],
2458 return _internal_is_resource_investment();
2461 _internal_set_is_resource_investment(value);
2462 SetHasBit(
_impl_._has_bits_[0], 0x00000020U);
2465inline bool RcpspProblem::_internal_is_resource_investment()
const {
2466 ::google::protobuf::internal::TSanRead(&
_impl_);
2467 return _impl_.is_resource_investment_;
2469inline void RcpspProblem::_internal_set_is_resource_investment(
bool value) {
2470 ::google::protobuf::internal::TSanWrite(&
_impl_);
2471 _impl_.is_resource_investment_ = value;
2476 ::google::protobuf::internal::TSanWrite(&
_impl_);
2477 _impl_.is_rcpsp_max_ =
false;
2478 ClearHasBit(
_impl_._has_bits_[0],
2483 return _internal_is_rcpsp_max();
2486 _internal_set_is_rcpsp_max(value);
2487 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
2490inline bool RcpspProblem::_internal_is_rcpsp_max()
const {
2491 ::google::protobuf::internal::TSanRead(&
_impl_);
2492 return _impl_.is_rcpsp_max_;
2494inline void RcpspProblem::_internal_set_is_rcpsp_max(
bool value) {
2495 ::google::protobuf::internal::TSanWrite(&
_impl_);
2496 _impl_.is_rcpsp_max_ = value;
2501 ::google::protobuf::internal::TSanWrite(&
_impl_);
2503 ClearHasBit(
_impl_._has_bits_[0],
2508 return _internal_deadline();
2511 _internal_set_deadline(value);
2512 SetHasBit(
_impl_._has_bits_[0], 0x00000080U);
2515inline ::int32_t RcpspProblem::_internal_deadline()
const {
2516 ::google::protobuf::internal::TSanRead(&
_impl_);
2519inline void RcpspProblem::_internal_set_deadline(::int32_t value) {
2520 ::google::protobuf::internal::TSanWrite(&
_impl_);
2521 _impl_.deadline_ = value;
2526 ::google::protobuf::internal::TSanWrite(&
_impl_);
2528 ClearHasBit(
_impl_._has_bits_[0],
2533 return _internal_horizon();
2536 _internal_set_horizon(value);
2537 SetHasBit(
_impl_._has_bits_[0], 0x00000100U);
2540inline ::int32_t RcpspProblem::_internal_horizon()
const {
2541 ::google::protobuf::internal::TSanRead(&
_impl_);
2544inline void RcpspProblem::_internal_set_horizon(::int32_t value) {
2545 ::google::protobuf::internal::TSanWrite(&
_impl_);
2551 ::google::protobuf::internal::TSanWrite(&
_impl_);
2552 _impl_.release_date_ = 0;
2553 ClearHasBit(
_impl_._has_bits_[0],
2558 return _internal_release_date();
2561 _internal_set_release_date(value);
2562 SetHasBit(
_impl_._has_bits_[0], 0x00000200U);
2565inline ::int32_t RcpspProblem::_internal_release_date()
const {
2566 ::google::protobuf::internal::TSanRead(&
_impl_);
2567 return _impl_.release_date_;
2569inline void RcpspProblem::_internal_set_release_date(::int32_t value) {
2570 ::google::protobuf::internal::TSanWrite(&
_impl_);
2571 _impl_.release_date_ = value;
2576 ::google::protobuf::internal::TSanWrite(&
_impl_);
2577 _impl_.tardiness_cost_ = 0;
2578 ClearHasBit(
_impl_._has_bits_[0],
2583 return _internal_tardiness_cost();
2586 _internal_set_tardiness_cost(value);
2587 SetHasBit(
_impl_._has_bits_[0], 0x00000400U);
2590inline ::int32_t RcpspProblem::_internal_tardiness_cost()
const {
2591 ::google::protobuf::internal::TSanRead(&
_impl_);
2592 return _impl_.tardiness_cost_;
2594inline void RcpspProblem::_internal_set_tardiness_cost(::int32_t value) {
2595 ::google::protobuf::internal::TSanWrite(&
_impl_);
2596 _impl_.tardiness_cost_ = value;
2601 ::google::protobuf::internal::TSanWrite(&
_impl_);
2603 ClearHasBit(
_impl_._has_bits_[0],
2608 return _internal_mpm_time();
2611 _internal_set_mpm_time(value);
2612 SetHasBit(
_impl_._has_bits_[0], 0x00000800U);
2615inline ::int32_t RcpspProblem::_internal_mpm_time()
const {
2616 ::google::protobuf::internal::TSanRead(&
_impl_);
2619inline void RcpspProblem::_internal_set_mpm_time(::int32_t value) {
2620 ::google::protobuf::internal::TSanWrite(&
_impl_);
2621 _impl_.mpm_time_ = value;
2626 ::google::protobuf::internal::TSanWrite(&
_impl_);
2627 _impl_.seed_ = ::int64_t{0};
2628 ClearHasBit(
_impl_._has_bits_[0],
2633 return _internal_seed();
2636 _internal_set_seed(value);
2637 SetHasBit(
_impl_._has_bits_[0], 0x00001000U);
2640inline ::int64_t RcpspProblem::_internal_seed()
const {
2641 ::google::protobuf::internal::TSanRead(&
_impl_);
2644inline void RcpspProblem::_internal_set_seed(::int64_t value) {
2645 ::google::protobuf::internal::TSanWrite(&
_impl_);
2651 ::google::protobuf::internal::TSanWrite(&
_impl_);
2652 _impl_.basedata_.ClearToEmpty();
2653 ClearHasBit(
_impl_._has_bits_[0],
2657 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2659 return _internal_basedata();
2661template <
typename Arg_,
typename... Args_>
2663 ::google::protobuf::internal::TSanWrite(&
_impl_);
2664 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2665 _impl_.basedata_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2669 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2670 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2671 ::std::string* _s = _internal_mutable_basedata();
2675inline const ::std::string& RcpspProblem::_internal_basedata()
const {
2676 ::google::protobuf::internal::TSanRead(&
_impl_);
2677 return _impl_.basedata_.Get();
2679inline void RcpspProblem::_internal_set_basedata(const ::std::string& value) {
2680 ::google::protobuf::internal::TSanWrite(&
_impl_);
2681 _impl_.basedata_.Set(value, GetArena());
2683inline ::std::string* PROTOBUF_NONNULL RcpspProblem::_internal_mutable_basedata() {
2684 ::google::protobuf::internal::TSanWrite(&
_impl_);
2685 return _impl_.basedata_.Mutable( GetArena());
2688 ::google::protobuf::internal::TSanWrite(&
_impl_);
2690 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000004U)) {
2693 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2694 auto* released =
_impl_.basedata_.Release();
2695 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2696 _impl_.basedata_.Set(
"", GetArena());
2701 ::google::protobuf::internal::TSanWrite(&
_impl_);
2702 if (value !=
nullptr) {
2703 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2705 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2707 _impl_.basedata_.SetAllocated(value, GetArena());
2708 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.basedata_.IsDefault()) {
2709 _impl_.basedata_.Set(
"", GetArena());
2716 ::google::protobuf::internal::TSanWrite(&
_impl_);
2718 ClearHasBit(
_impl_._has_bits_[0],
2723 return _internal_due_date();
2726 _internal_set_due_date(value);
2727 SetHasBit(
_impl_._has_bits_[0], 0x00002000U);
2730inline ::int32_t RcpspProblem::_internal_due_date()
const {
2731 ::google::protobuf::internal::TSanRead(&
_impl_);
2734inline void RcpspProblem::_internal_set_due_date(::int32_t value) {
2735 ::google::protobuf::internal::TSanWrite(&
_impl_);
2736 _impl_.due_date_ = value;
2741 ::google::protobuf::internal::TSanWrite(&
_impl_);
2742 _impl_.name_.ClearToEmpty();
2743 ClearHasBit(
_impl_._has_bits_[0],
2747 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2749 return _internal_name();
2751template <
typename Arg_,
typename... Args_>
2753 ::google::protobuf::internal::TSanWrite(&
_impl_);
2754 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2755 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2759 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2760 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2761 ::std::string* _s = _internal_mutable_name();
2765inline const ::std::string& RcpspProblem::_internal_name()
const {
2766 ::google::protobuf::internal::TSanRead(&
_impl_);
2767 return _impl_.name_.Get();
2769inline void RcpspProblem::_internal_set_name(const ::std::string& value) {
2770 ::google::protobuf::internal::TSanWrite(&
_impl_);
2771 _impl_.name_.Set(value, GetArena());
2773inline ::std::string* PROTOBUF_NONNULL RcpspProblem::_internal_mutable_name() {
2774 ::google::protobuf::internal::TSanWrite(&
_impl_);
2775 return _impl_.name_.Mutable( GetArena());
2778 ::google::protobuf::internal::TSanWrite(&
_impl_);
2780 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000008U)) {
2783 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2784 auto* released =
_impl_.name_.Release();
2785 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2786 _impl_.name_.Set(
"", GetArena());
2791 ::google::protobuf::internal::TSanWrite(&
_impl_);
2792 if (value !=
nullptr) {
2793 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2795 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2797 _impl_.name_.SetAllocated(value, GetArena());
2798 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
2799 _impl_.name_.Set(
"", GetArena());
2809inline int RcpspAssignment::_internal_start_of_task_size()
const {
2810 return _internal_start_of_task().size();
2813 return _internal_start_of_task_size();
2816 ::google::protobuf::internal::TSanWrite(&
_impl_);
2817 _impl_.start_of_task_.Clear();
2818 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2823 return _internal_start_of_task().Get(index);
2826 _internal_mutable_start_of_task()->Set(index, value);
2830 ::google::protobuf::internal::TSanWrite(&
_impl_);
2831 _internal_mutable_start_of_task()->Add(value);
2832 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2836 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2838 return _internal_start_of_task();
2841 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2842 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2844 ::google::protobuf::internal::TSanWrite(&
_impl_);
2845 return _internal_mutable_start_of_task();
2847inline const ::google::protobuf::RepeatedField<::int64_t>&
2848RcpspAssignment::_internal_start_of_task()
const {
2849 ::google::protobuf::internal::TSanRead(&
_impl_);
2850 return _impl_.start_of_task_;
2852inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2853RcpspAssignment::_internal_mutable_start_of_task() {
2854 ::google::protobuf::internal::TSanRead(&
_impl_);
2855 return &
_impl_.start_of_task_;
2859inline int RcpspAssignment::_internal_selected_recipe_of_task_size()
const {
2860 return _internal_selected_recipe_of_task().size();
2863 return _internal_selected_recipe_of_task_size();
2866 ::google::protobuf::internal::TSanWrite(&
_impl_);
2867 _impl_.selected_recipe_of_task_.Clear();
2868 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2873 return _internal_selected_recipe_of_task().Get(index);
2876 _internal_mutable_selected_recipe_of_task()->Set(index, value);
2880 ::google::protobuf::internal::TSanWrite(&
_impl_);
2881 _internal_mutable_selected_recipe_of_task()->Add(value);
2882 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2886 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2888 return _internal_selected_recipe_of_task();
2891 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2892 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2894 ::google::protobuf::internal::TSanWrite(&
_impl_);
2895 return _internal_mutable_selected_recipe_of_task();
2897inline const ::google::protobuf::RepeatedField<::int32_t>&
2898RcpspAssignment::_internal_selected_recipe_of_task()
const {
2899 ::google::protobuf::internal::TSanRead(&
_impl_);
2900 return _impl_.selected_recipe_of_task_;
2902inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2903RcpspAssignment::_internal_mutable_selected_recipe_of_task() {
2904 ::google::protobuf::internal::TSanRead(&
_impl_);
2905 return &
_impl_.selected_recipe_of_task_;
2909#pragma GCC diagnostic pop
2920#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
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()
int min_delays_size() const
void MergeFrom(const PerRecipeDelays &from)
void CopyFrom(const PerRecipeDelays &from)
PerRecipeDelays *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::int32_t min_delays(int index) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void add_min_delays(::int32_t value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
void CopyFrom(const 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
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
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::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()
::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
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
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)
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_is_resource_investment()
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource > & resources() const
void set_horizon(::int32_t value)
void set_mpm_time(::int32_t value)
::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()
bool is_consumer_producer() const
void clear_tardiness_cost()
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()
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)
::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
::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()
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
::std::string *PROTOBUF_NULLABLE release_basedata()
bool IsInitialized() const
@ kReleaseDateFieldNumber
@ kTardinessCostFieldNumber
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_name(Arg_ &&arg, Args_... args)
::operations_research::scheduling::rcpsp::Task *PROTOBUF_NONNULL mutable_tasks(int index)
void clear_is_consumer_producer()
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::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
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void CopyFrom(const Recipe &from)
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)
::int32_t min_capacity() const
void clear_max_capacity()
void Swap(Resource *PROTOBUF_NONNULL other)
PROTOBUF_CONSTEXPR Resource(::google::protobuf::internal::ConstantInitialized)
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()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_successors()
Task & operator=(const Task &from)
int successor_delays_size() const
int successors_size() const
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)
::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()
::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)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(Task &a, Task &b)
bool IsInitialized() const
Task *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::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_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2frcpsp_2eproto