Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
rcpsp.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/scheduling/rcpsp.proto
4// Protobuf C++ Version: 6.33.1
5
6#ifndef ortools_2fscheduling_2frcpsp_2eproto_2epb_2eh
7#define ortools_2fscheduling_2frcpsp_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
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"
19#endif
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" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/unknown_field_set.h"
32// @@protoc_insertion_point(includes)
33
34// Must be included last.
35#include "google/protobuf/port_def.inc"
36
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fscheduling_2frcpsp_2eproto OR_PROTO_DLL
38
39namespace google {
40namespace protobuf {
41namespace internal {
42template <typename T>
43::absl::string_view GetAnyMessageName();
44} // namespace internal
45} // namespace protobuf
46} // namespace google
47
48// Internal implementation detail -- do not use these members.
50 static const ::uint32_t offsets[];
51};
52extern "C" {
53OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fscheduling_2frcpsp_2eproto;
54} // extern "C"
55namespace operations_research {
56namespace scheduling {
57namespace rcpsp {
58class PerRecipeDelays;
61OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull PerRecipeDelays_class_data_;
65OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull PerSuccessorDelays_class_data_;
66class RcpspAssignment;
69OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RcpspAssignment_class_data_;
70class RcpspProblem;
73OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RcpspProblem_class_data_;
74class Recipe;
77OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Recipe_class_data_;
78class Resource;
81OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Resource_class_data_;
82class Task;
85OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Task_class_data_;
86} // namespace rcpsp
87} // namespace scheduling
88} // namespace operations_research
89namespace google {
90namespace protobuf {
91} // namespace protobuf
92} // namespace google
93
94namespace operations_research {
95namespace scheduling {
96namespace rcpsp {
97
98// ===================================================================
99
100
101// -------------------------------------------------------------------
102
103class OR_PROTO_DLL Resource final : public ::google::protobuf::Message
104/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.Resource) */ {
105 public:
106 inline Resource() : Resource(nullptr) {}
107 ~Resource() PROTOBUF_FINAL;
109#if defined(PROTOBUF_CUSTOM_VTABLE)
110 void operator delete(Resource* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
111 SharedDtor(*msg);
112 ::google::protobuf::internal::SizedDelete(msg, sizeof(Resource));
113 }
114#endif
115
116 template <typename = void>
117 explicit PROTOBUF_CONSTEXPR Resource(::google::protobuf::internal::ConstantInitialized);
118
119 inline Resource(const Resource& from) : Resource(nullptr, from) {}
120 inline Resource(Resource&& from) noexcept
121 : Resource(nullptr, ::std::move(from)) {}
122 inline Resource& operator=(const Resource& from) {
123 CopyFrom(from);
124 return *this;
125 }
126 inline Resource& operator=(Resource&& from) noexcept {
127 if (this == &from) return *this;
128 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
129 InternalSwap(&from);
130 } else {
131 CopyFrom(from);
132 }
133 return *this;
134 }
135
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);
139 }
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>();
143 }
144
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*>(
157 }
158 static constexpr int kIndexInFileMessages = 0;
159 friend void swap(Resource& a, Resource& b) { a.Swap(&b); }
160 inline void Swap(Resource* PROTOBUF_NONNULL other) {
161 if (other == this) return;
162 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
163 InternalSwap(other);
164 } else {
165 ::google::protobuf::internal::GenericSwap(this, other);
166 }
167 }
168 void UnsafeArenaSwap(Resource* PROTOBUF_NONNULL other) {
169 if (other == this) return;
170 ABSL_DCHECK(GetArena() == other->GetArena());
171 InternalSwap(other);
172 }
173
174 // implements Message ----------------------------------------------
175
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); }
183
184 private:
185 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
186 const ::google::protobuf::MessageLite& from_msg);
187
188 public:
189 bool IsInitialized() const {
190 return true;
192 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
193 #if defined(PROTOBUF_CUSTOM_VTABLE)
194 private:
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);
199
200 public:
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);
206 }
207 #else // PROTOBUF_CUSTOM_VTABLE
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;
212 #endif // PROTOBUF_CUSTOM_VTABLE
213 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
214
215 private:
216 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
217 static void SharedDtor(MessageLite& self);
218 void InternalSwap(Resource* PROTOBUF_NONNULL other);
219 private:
220 template <typename T>
221 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
222 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.Resource"; }
223
224 explicit Resource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
225 Resource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Resource& from);
226 Resource(
227 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Resource&& from) noexcept
228 : Resource(arena) {
229 *this = ::std::move(from);
230 }
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_();
236
237 public:
238 static constexpr auto InternalGenerateClassData_();
239
240 ::google::protobuf::Metadata GetMetadata() const;
241 // nested types ----------------------------------------------------
242
243 // accessors -------------------------------------------------------
244 enum : int {
245 kMaxCapacityFieldNumber = 1,
246 kMinCapacityFieldNumber = 2,
249 };
250 // int32 max_capacity = 1;
251 void clear_max_capacity() ;
252 ::int32_t max_capacity() const;
253 void set_max_capacity(::int32_t value);
254
255 private:
256 ::int32_t _internal_max_capacity() const;
257 void _internal_set_max_capacity(::int32_t value);
258
259 public:
260 // int32 min_capacity = 2;
261 void clear_min_capacity() ;
262 ::int32_t min_capacity() const;
263 void set_min_capacity(::int32_t value);
264
265 private:
266 ::int32_t _internal_min_capacity() const;
267 void _internal_set_min_capacity(::int32_t value);
268
269 public:
270 // bool renewable = 3;
271 void clear_renewable() ;
272 bool renewable() const;
273 void set_renewable(bool value);
274
275 private:
276 bool _internal_renewable() const;
277 void _internal_set_renewable(bool value);
278
279 public:
280 // int32 unit_cost = 4;
281 void clear_unit_cost() ;
282 ::int32_t unit_cost() const;
283 void set_unit_cost(::int32_t value);
284
285 private:
286 ::int32_t _internal_unit_cost() const;
287 void _internal_set_unit_cost(::int32_t value);
288
289 public:
290 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.Resource)
291 private:
292 class _Internal;
293 friend class ::google::protobuf::internal::TcParser;
294 static const ::google::protobuf::internal::TcParseTable<2, 4,
295 0, 0,
296 2>
297 _table_;
298
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;
305 struct Impl_ {
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,
313 const Resource& from_msg);
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_;
318 bool renewable_;
319 ::int32_t unit_cost_;
320 PROTOBUF_TSAN_DECLARE_MEMBER
321 };
322 union { Impl_ _impl_; };
323 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
326OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Resource_class_data_;
327// -------------------------------------------------------------------
328
329class OR_PROTO_DLL Recipe final : public ::google::protobuf::Message
330/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.Recipe) */ {
331 public:
332 inline Recipe() : Recipe(nullptr) {}
333 ~Recipe() PROTOBUF_FINAL;
334
335#if defined(PROTOBUF_CUSTOM_VTABLE)
336 void operator delete(Recipe* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
337 SharedDtor(*msg);
338 ::google::protobuf::internal::SizedDelete(msg, sizeof(Recipe));
339 }
340#endif
341
342 template <typename = void>
343 explicit PROTOBUF_CONSTEXPR Recipe(::google::protobuf::internal::ConstantInitialized);
344
345 inline Recipe(const Recipe& from) : Recipe(nullptr, from) {}
346 inline Recipe(Recipe&& from) noexcept
347 : Recipe(nullptr, ::std::move(from)) {}
348 inline Recipe& operator=(const Recipe& from) {
349 CopyFrom(from);
350 return *this;
352 inline Recipe& operator=(Recipe&& from) noexcept {
353 if (this == &from) return *this;
354 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
355 InternalSwap(&from);
356 } else {
357 CopyFrom(from);
358 }
359 return *this;
360 }
361
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>();
370
371 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
372 return GetDescriptor();
373 }
374 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
375 return default_instance().GetMetadata().descriptor;
376 }
377 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
378 return default_instance().GetMetadata().reflection;
379 }
380 static const Recipe& default_instance() {
381 return *reinterpret_cast<const Recipe*>(
384 static constexpr int kIndexInFileMessages = 1;
385 friend void swap(Recipe& a, Recipe& b) { a.Swap(&b); }
386 inline void Swap(Recipe* PROTOBUF_NONNULL other) {
387 if (other == this) return;
388 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
389 InternalSwap(other);
390 } else {
391 ::google::protobuf::internal::GenericSwap(this, other);
392 }
393 }
394 void UnsafeArenaSwap(Recipe* PROTOBUF_NONNULL other) {
395 if (other == this) return;
396 ABSL_DCHECK(GetArena() == other->GetArena());
397 InternalSwap(other);
398 }
399
400 // implements Message ----------------------------------------------
401
402 Recipe* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
403 return ::google::protobuf::Message::DefaultConstruct<Recipe>(arena);
404 }
405 using ::google::protobuf::Message::CopyFrom;
406 void CopyFrom(const Recipe& from);
407 using ::google::protobuf::Message::MergeFrom;
408 void MergeFrom(const Recipe& from) { Recipe::MergeImpl(*this, from); }
409
410 private:
411 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
412 const ::google::protobuf::MessageLite& from_msg);
413
414 public:
415 bool IsInitialized() const {
416 return true;
417 }
418 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
419 #if defined(PROTOBUF_CUSTOM_VTABLE)
420 private:
421 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
422 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
423 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
424 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
425
426 public:
427 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
432 }
433 #else // PROTOBUF_CUSTOM_VTABLE
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;
438 #endif // PROTOBUF_CUSTOM_VTABLE
439 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
440
441 private:
442 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
443 static void SharedDtor(MessageLite& self);
444 void InternalSwap(Recipe* PROTOBUF_NONNULL other);
445 private:
446 template <typename T>
447 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
448 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.Recipe"; }
449
450 explicit Recipe(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
451 Recipe(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Recipe& from);
452 Recipe(
453 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Recipe&& from) noexcept
454 : Recipe(arena) {
455 *this = ::std::move(from);
456 }
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_();
462
463 public:
464 static constexpr auto InternalGenerateClassData_();
465
466 ::google::protobuf::Metadata GetMetadata() const;
467 // nested types ----------------------------------------------------
468
469 // accessors -------------------------------------------------------
470 enum : int {
471 kDemandsFieldNumber = 2,
472 kResourcesFieldNumber = 3,
473 kDurationFieldNumber = 1,
474 };
475 // repeated int32 demands = 2;
476 int demands_size() const;
477 private:
478 int _internal_demands_size() const;
479
480 public:
481 void clear_demands() ;
482 ::int32_t demands(int index) const;
483 void set_demands(int index, ::int32_t value);
484 void add_demands(::int32_t value);
485 const ::google::protobuf::RepeatedField<::int32_t>& demands() const;
486 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_demands();
487
488 private:
489 const ::google::protobuf::RepeatedField<::int32_t>& _internal_demands() const;
490 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_demands();
491
492 public:
493 // repeated int32 resources = 3;
494 int resources_size() const;
495 private:
496 int _internal_resources_size() const;
497
498 public:
499 void clear_resources() ;
500 ::int32_t resources(int index) const;
501 void set_resources(int index, ::int32_t value);
502 void add_resources(::int32_t value);
503 const ::google::protobuf::RepeatedField<::int32_t>& resources() const;
504 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_resources();
505
506 private:
507 const ::google::protobuf::RepeatedField<::int32_t>& _internal_resources() const;
508 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_resources();
509
510 public:
511 // int32 duration = 1;
512 void clear_duration() ;
513 ::int32_t duration() const;
514 void set_duration(::int32_t value);
515
516 private:
517 ::int32_t _internal_duration() const;
518 void _internal_set_duration(::int32_t value);
519
520 public:
521 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.Recipe)
522 private:
523 class _Internal;
524 friend class ::google::protobuf::internal::TcParser;
525 static const ::google::protobuf::internal::TcParseTable<2, 3,
526 0, 0,
527 2>
528 _table_;
529
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;
536 struct Impl_ {
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,
544 const Recipe& from_msg);
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_;
551 ::int32_t duration_;
552 PROTOBUF_TSAN_DECLARE_MEMBER
553 };
554 union { Impl_ _impl_; };
555 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
556};
558OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Recipe_class_data_;
559// -------------------------------------------------------------------
560
561class OR_PROTO_DLL RcpspAssignment final : public ::google::protobuf::Message
562/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.RcpspAssignment) */ {
563 public:
564 inline RcpspAssignment() : RcpspAssignment(nullptr) {}
565 ~RcpspAssignment() PROTOBUF_FINAL;
566
567#if defined(PROTOBUF_CUSTOM_VTABLE)
568 void operator delete(RcpspAssignment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
569 SharedDtor(*msg);
570 ::google::protobuf::internal::SizedDelete(msg, sizeof(RcpspAssignment));
571 }
572#endif
573
574 template <typename = void>
575 explicit PROTOBUF_CONSTEXPR RcpspAssignment(::google::protobuf::internal::ConstantInitialized);
576
577 inline RcpspAssignment(const RcpspAssignment& from) : RcpspAssignment(nullptr, from) {}
578 inline RcpspAssignment(RcpspAssignment&& from) noexcept
579 : RcpspAssignment(nullptr, ::std::move(from)) {}
580 inline RcpspAssignment& operator=(const RcpspAssignment& from) {
581 CopyFrom(from);
582 return *this;
583 }
584 inline RcpspAssignment& operator=(RcpspAssignment&& from) noexcept {
585 if (this == &from) return *this;
586 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
587 InternalSwap(&from);
588 } else {
589 CopyFrom(from);
590 }
591 return *this;
592 }
593
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);
597 }
598 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
599 ABSL_ATTRIBUTE_LIFETIME_BOUND {
600 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
601 }
603 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
604 return GetDescriptor();
605 }
606 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
607 return default_instance().GetMetadata().descriptor;
608 }
609 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
610 return default_instance().GetMetadata().reflection;
611 }
612 static const RcpspAssignment& default_instance() {
613 return *reinterpret_cast<const RcpspAssignment*>(
615 }
616 static constexpr int kIndexInFileMessages = 6;
617 friend void swap(RcpspAssignment& a, RcpspAssignment& b) { a.Swap(&b); }
618 inline void Swap(RcpspAssignment* PROTOBUF_NONNULL other) {
619 if (other == this) return;
620 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
621 InternalSwap(other);
622 } else {
623 ::google::protobuf::internal::GenericSwap(this, other);
624 }
625 }
626 void UnsafeArenaSwap(RcpspAssignment* PROTOBUF_NONNULL other) {
627 if (other == this) return;
628 ABSL_DCHECK(GetArena() == other->GetArena());
629 InternalSwap(other);
631
632 // implements Message ----------------------------------------------
633
634 RcpspAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
635 return ::google::protobuf::Message::DefaultConstruct<RcpspAssignment>(arena);
636 }
637 using ::google::protobuf::Message::CopyFrom;
638 void CopyFrom(const RcpspAssignment& from);
639 using ::google::protobuf::Message::MergeFrom;
640 void MergeFrom(const RcpspAssignment& from) { RcpspAssignment::MergeImpl(*this, from); }
641
642 private:
643 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
644 const ::google::protobuf::MessageLite& from_msg);
645
646 public:
647 bool IsInitialized() const {
648 return true;
649 }
650 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
651 #if defined(PROTOBUF_CUSTOM_VTABLE)
652 private:
653 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
654 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
655 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
656 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
657
658 public:
659 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
664 }
665 #else // PROTOBUF_CUSTOM_VTABLE
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;
670 #endif // PROTOBUF_CUSTOM_VTABLE
671 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
672
673 private:
674 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
675 static void SharedDtor(MessageLite& self);
676 void InternalSwap(RcpspAssignment* PROTOBUF_NONNULL other);
677 private:
678 template <typename T>
679 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
680 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.RcpspAssignment"; }
681
682 explicit RcpspAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
683 RcpspAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RcpspAssignment& from);
685 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RcpspAssignment&& from) noexcept
686 : RcpspAssignment(arena) {
687 *this = ::std::move(from);
688 }
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_();
694
695 public:
696 static constexpr auto InternalGenerateClassData_();
697
698 ::google::protobuf::Metadata GetMetadata() const;
699 // nested types ----------------------------------------------------
700
701 // accessors -------------------------------------------------------
702 enum : int {
703 kStartOfTaskFieldNumber = 1,
704 kSelectedRecipeOfTaskFieldNumber = 2,
705 };
706 // repeated int64 start_of_task = 1;
708 private:
709 int _internal_start_of_task_size() const;
710
711 public:
712 void clear_start_of_task() ;
713 ::int64_t start_of_task(int index) const;
714 void set_start_of_task(int index, ::int64_t value);
715 void add_start_of_task(::int64_t value);
716 const ::google::protobuf::RepeatedField<::int64_t>& start_of_task() const;
717 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_start_of_task();
718
719 private:
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();
722
723 public:
724 // repeated int32 selected_recipe_of_task = 2;
726 private:
727 int _internal_selected_recipe_of_task_size() const;
728
729 public:
731 ::int32_t selected_recipe_of_task(int index) const;
732 void set_selected_recipe_of_task(int index, ::int32_t value);
733 void add_selected_recipe_of_task(::int32_t value);
734 const ::google::protobuf::RepeatedField<::int32_t>& selected_recipe_of_task() const;
735 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_selected_recipe_of_task();
736
737 private:
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();
740
741 public:
742 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.RcpspAssignment)
743 private:
744 class _Internal;
745 friend class ::google::protobuf::internal::TcParser;
746 static const ::google::protobuf::internal::TcParseTable<1, 2,
747 0, 0,
748 2>
749 _table_;
750
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;
757 struct Impl_ {
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,
765 const RcpspAssignment& from_msg);
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
773 };
774 union { Impl_ _impl_; };
775 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
776};
777
778OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RcpspAssignment_class_data_;
779// -------------------------------------------------------------------
780
781class OR_PROTO_DLL PerRecipeDelays final : public ::google::protobuf::Message
782/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.PerRecipeDelays) */ {
783 public:
784 inline PerRecipeDelays() : PerRecipeDelays(nullptr) {}
785 ~PerRecipeDelays() PROTOBUF_FINAL;
787#if defined(PROTOBUF_CUSTOM_VTABLE)
788 void operator delete(PerRecipeDelays* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
789 SharedDtor(*msg);
790 ::google::protobuf::internal::SizedDelete(msg, sizeof(PerRecipeDelays));
791 }
792#endif
793
794 template <typename = void>
795 explicit PROTOBUF_CONSTEXPR PerRecipeDelays(::google::protobuf::internal::ConstantInitialized);
796
797 inline PerRecipeDelays(const PerRecipeDelays& from) : PerRecipeDelays(nullptr, from) {}
798 inline PerRecipeDelays(PerRecipeDelays&& from) noexcept
799 : PerRecipeDelays(nullptr, ::std::move(from)) {}
801 CopyFrom(from);
802 return *this;
804 inline PerRecipeDelays& operator=(PerRecipeDelays&& from) noexcept {
805 if (this == &from) return *this;
806 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
807 InternalSwap(&from);
808 } else {
809 CopyFrom(from);
810 }
811 return *this;
812 }
813
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);
817 }
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>();
821 }
822
823 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
824 return GetDescriptor();
825 }
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;
832 static const PerRecipeDelays& default_instance() {
833 return *reinterpret_cast<const PerRecipeDelays*>(
835 }
836 static constexpr int kIndexInFileMessages = 2;
837 friend void swap(PerRecipeDelays& a, PerRecipeDelays& b) { a.Swap(&b); }
838 inline void Swap(PerRecipeDelays* PROTOBUF_NONNULL other) {
839 if (other == this) return;
840 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
841 InternalSwap(other);
842 } else {
843 ::google::protobuf::internal::GenericSwap(this, other);
844 }
845 }
846 void UnsafeArenaSwap(PerRecipeDelays* PROTOBUF_NONNULL other) {
847 if (other == this) return;
848 ABSL_DCHECK(GetArena() == other->GetArena());
849 InternalSwap(other);
850 }
852 // implements Message ----------------------------------------------
853
854 PerRecipeDelays* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
855 return ::google::protobuf::Message::DefaultConstruct<PerRecipeDelays>(arena);
856 }
857 using ::google::protobuf::Message::CopyFrom;
858 void CopyFrom(const PerRecipeDelays& from);
859 using ::google::protobuf::Message::MergeFrom;
860 void MergeFrom(const PerRecipeDelays& from) { PerRecipeDelays::MergeImpl(*this, from); }
861
862 private:
863 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
864 const ::google::protobuf::MessageLite& from_msg);
866 public:
867 bool IsInitialized() const {
868 return true;
869 }
870 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
871 #if defined(PROTOBUF_CUSTOM_VTABLE)
872 private:
873 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
874 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
875 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
876 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
877
878 public:
879 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
884 }
885 #else // PROTOBUF_CUSTOM_VTABLE
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;
890 #endif // PROTOBUF_CUSTOM_VTABLE
891 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
892
893 private:
894 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
895 static void SharedDtor(MessageLite& self);
896 void InternalSwap(PerRecipeDelays* PROTOBUF_NONNULL other);
897 private:
898 template <typename T>
899 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
900 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.PerRecipeDelays"; }
901
902 explicit PerRecipeDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
903 PerRecipeDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PerRecipeDelays& from);
905 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PerRecipeDelays&& from) noexcept
906 : PerRecipeDelays(arena) {
907 *this = ::std::move(from);
908 }
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_();
914
915 public:
916 static constexpr auto InternalGenerateClassData_();
917
918 ::google::protobuf::Metadata GetMetadata() const;
919 // nested types ----------------------------------------------------
920
921 // accessors -------------------------------------------------------
922 enum : int {
923 kMinDelaysFieldNumber = 1,
924 };
925 // repeated int32 min_delays = 1;
926 int min_delays_size() const;
927 private:
928 int _internal_min_delays_size() const;
929
930 public:
931 void clear_min_delays() ;
932 ::int32_t min_delays(int index) const;
933 void set_min_delays(int index, ::int32_t value);
934 void add_min_delays(::int32_t value);
935 const ::google::protobuf::RepeatedField<::int32_t>& min_delays() const;
936 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_min_delays();
937
938 private:
939 const ::google::protobuf::RepeatedField<::int32_t>& _internal_min_delays() const;
940 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_min_delays();
941
942 public:
943 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.PerRecipeDelays)
944 private:
945 class _Internal;
946 friend class ::google::protobuf::internal::TcParser;
947 static const ::google::protobuf::internal::TcParseTable<0, 1,
948 0, 0,
949 2>
950 _table_;
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;
958 struct Impl_ {
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,
966 const PerRecipeDelays& from_msg);
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
972 };
973 union { Impl_ _impl_; };
974 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
975};
976
977OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull PerRecipeDelays_class_data_;
978// -------------------------------------------------------------------
980class OR_PROTO_DLL PerSuccessorDelays final : public ::google::protobuf::Message
981/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.PerSuccessorDelays) */ {
982 public:
983 inline PerSuccessorDelays() : PerSuccessorDelays(nullptr) {}
984 ~PerSuccessorDelays() PROTOBUF_FINAL;
985
986#if defined(PROTOBUF_CUSTOM_VTABLE)
987 void operator delete(PerSuccessorDelays* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
988 SharedDtor(*msg);
989 ::google::protobuf::internal::SizedDelete(msg, sizeof(PerSuccessorDelays));
990 }
991#endif
992
993 template <typename = void>
994 explicit PROTOBUF_CONSTEXPR PerSuccessorDelays(::google::protobuf::internal::ConstantInitialized);
995
996 inline PerSuccessorDelays(const PerSuccessorDelays& from) : PerSuccessorDelays(nullptr, from) {}
997 inline PerSuccessorDelays(PerSuccessorDelays&& from) noexcept
998 : PerSuccessorDelays(nullptr, ::std::move(from)) {}
999 inline PerSuccessorDelays& operator=(const PerSuccessorDelays& from) {
1001 return *this;
1004 if (this == &from) return *this;
1005 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1006 InternalSwap(&from);
1007 } else {
1008 CopyFrom(from);
1010 return *this;
1011 }
1012
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);
1016 }
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>();
1020 }
1021
1022 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1024 }
1025 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1026 return default_instance().GetMetadata().descriptor;
1027 }
1028 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1029 return default_instance().GetMetadata().reflection;
1030 }
1032 return *reinterpret_cast<const PerSuccessorDelays*>(
1035 static constexpr int kIndexInFileMessages = 3;
1036 friend void swap(PerSuccessorDelays& a, PerSuccessorDelays& b) { a.Swap(&b); }
1037 inline void Swap(PerSuccessorDelays* PROTOBUF_NONNULL other) {
1038 if (other == this) return;
1039 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1040 InternalSwap(other);
1041 } else {
1042 ::google::protobuf::internal::GenericSwap(this, other);
1044 }
1045 void UnsafeArenaSwap(PerSuccessorDelays* PROTOBUF_NONNULL other) {
1046 if (other == this) return;
1047 ABSL_DCHECK(GetArena() == other->GetArena());
1048 InternalSwap(other);
1049 }
1050
1051 // implements Message ----------------------------------------------
1052
1053 PerSuccessorDelays* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1054 return ::google::protobuf::Message::DefaultConstruct<PerSuccessorDelays>(arena);
1055 }
1056 using ::google::protobuf::Message::CopyFrom;
1057 void CopyFrom(const PerSuccessorDelays& from);
1058 using ::google::protobuf::Message::MergeFrom;
1059 void MergeFrom(const PerSuccessorDelays& from) { PerSuccessorDelays::MergeImpl(*this, from); }
1060
1061 private:
1062 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1063 const ::google::protobuf::MessageLite& from_msg);
1064
1065 public:
1066 bool IsInitialized() const {
1067 return true;
1068 }
1069 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1070 #if defined(PROTOBUF_CUSTOM_VTABLE)
1071 private:
1072 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1073 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1074 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1075 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1076
1077 public:
1078 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
1083 }
1084 #else // PROTOBUF_CUSTOM_VTABLE
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;
1089 #endif // PROTOBUF_CUSTOM_VTABLE
1090 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1091
1092 private:
1093 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1094 static void SharedDtor(MessageLite& self);
1095 void InternalSwap(PerSuccessorDelays* PROTOBUF_NONNULL other);
1096 private:
1097 template <typename T>
1098 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1099 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.PerSuccessorDelays"; }
1100
1101 explicit PerSuccessorDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1102 PerSuccessorDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PerSuccessorDelays& from);
1104 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PerSuccessorDelays&& from) noexcept
1105 : PerSuccessorDelays(arena) {
1106 *this = ::std::move(from);
1107 }
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_();
1113
1114 public:
1115 static constexpr auto InternalGenerateClassData_();
1116
1117 ::google::protobuf::Metadata GetMetadata() const;
1118 // nested types ----------------------------------------------------
1119
1120 // accessors -------------------------------------------------------
1121 enum : int {
1122 kRecipeDelaysFieldNumber = 1,
1123 };
1124 // repeated .operations_research.scheduling.rcpsp.PerRecipeDelays recipe_delays = 1;
1125 int recipe_delays_size() const;
1126 private:
1127 int _internal_recipe_delays_size() const;
1129 public:
1130 void clear_recipe_delays() ;
1132 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL mutable_recipe_delays();
1133
1134 private:
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();
1137 public:
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;
1141 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.PerSuccessorDelays)
1142 private:
1143 class _Internal;
1144 friend class ::google::protobuf::internal::TcParser;
1145 static const ::google::protobuf::internal::TcParseTable<0, 1,
1146 1, 0,
1147 2>
1148 _table_;
1149
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;
1156 struct Impl_ {
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,
1164 const PerSuccessorDelays& from_msg);
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
1169 };
1170 union { Impl_ _impl_; };
1171 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1172};
1173
1174OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull PerSuccessorDelays_class_data_;
1175// -------------------------------------------------------------------
1177class OR_PROTO_DLL Task final : public ::google::protobuf::Message
1178/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.Task) */ {
1179 public:
1180 inline Task() : Task(nullptr) {}
1181 ~Task() PROTOBUF_FINAL;
1182
1183#if defined(PROTOBUF_CUSTOM_VTABLE)
1184 void operator delete(Task* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1185 SharedDtor(*msg);
1186 ::google::protobuf::internal::SizedDelete(msg, sizeof(Task));
1188#endif
1189
1190 template <typename = void>
1191 explicit PROTOBUF_CONSTEXPR Task(::google::protobuf::internal::ConstantInitialized);
1192
1193 inline Task(const Task& from) : Task(nullptr, from) {}
1194 inline Task(Task&& from) noexcept
1195 : Task(nullptr, ::std::move(from)) {}
1196 inline Task& operator=(const Task& from) {
1197 CopyFrom(from);
1198 return *this;
1199 }
1200 inline Task& operator=(Task&& from) noexcept {
1201 if (this == &from) return *this;
1202 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1203 InternalSwap(&from);
1204 } else {
1205 CopyFrom(from);
1206 }
1207 return *this;
1208 }
1209
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);
1213 }
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>();
1218
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;
1224 }
1225 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1226 return default_instance().GetMetadata().reflection;
1227 }
1228 static const Task& default_instance() {
1229 return *reinterpret_cast<const Task*>(
1231 }
1232 static constexpr int kIndexInFileMessages = 4;
1233 friend void swap(Task& a, Task& b) { a.Swap(&b); }
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);
1238 } else {
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);
1246 }
1247
1248 // implements Message ----------------------------------------------
1250 Task* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1251 return ::google::protobuf::Message::DefaultConstruct<Task>(arena);
1252 }
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); }
1258 private:
1259 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1260 const ::google::protobuf::MessageLite& from_msg);
1261
1262 public:
1263 bool IsInitialized() const {
1264 return true;
1265 }
1266 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1267 #if defined(PROTOBUF_CUSTOM_VTABLE)
1268 private:
1269 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1270 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1271 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1272 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1273
1274 public:
1275 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
1280 }
1281 #else // PROTOBUF_CUSTOM_VTABLE
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;
1286 #endif // PROTOBUF_CUSTOM_VTABLE
1287 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1288
1289 private:
1290 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1291 static void SharedDtor(MessageLite& self);
1292 void InternalSwap(Task* PROTOBUF_NONNULL other);
1293 private:
1294 template <typename T>
1295 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1296 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.Task"; }
1297
1298 explicit Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1299 Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Task& from);
1300 Task(
1301 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Task&& from) noexcept
1302 : Task(arena) {
1303 *this = ::std::move(from);
1304 }
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_();
1310
1311 public:
1312 static constexpr auto InternalGenerateClassData_();
1313
1314 ::google::protobuf::Metadata GetMetadata() const;
1315 // nested types ----------------------------------------------------
1316
1317 // accessors -------------------------------------------------------
1318 enum : int {
1319 kSuccessorsFieldNumber = 1,
1320 kRecipesFieldNumber = 2,
1321 kSuccessorDelaysFieldNumber = 3,
1322 };
1323 // repeated int32 successors = 1;
1324 int successors_size() const;
1325 private:
1326 int _internal_successors_size() const;
1328 public:
1329 void clear_successors() ;
1330 ::int32_t successors(int index) const;
1331 void set_successors(int index, ::int32_t value);
1332 void add_successors(::int32_t value);
1333 const ::google::protobuf::RepeatedField<::int32_t>& successors() const;
1334 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_successors();
1335
1336 private:
1337 const ::google::protobuf::RepeatedField<::int32_t>& _internal_successors() const;
1338 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_successors();
1339
1340 public:
1341 // repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;
1342 int recipes_size() const;
1343 private:
1344 int _internal_recipes_size() const;
1345
1346 public:
1347 void clear_recipes() ;
1349 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL mutable_recipes();
1350
1351 private:
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();
1354 public:
1355 const ::operations_research::scheduling::rcpsp::Recipe& recipes(int index) const;
1357 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>& recipes() const;
1358 // repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;
1359 int successor_delays_size() const;
1360 private:
1361 int _internal_successor_delays_size() const;
1362
1363 public:
1364 void clear_successor_delays() ;
1366 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL mutable_successor_delays();
1367
1368 private:
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();
1371 public:
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;
1375 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.Task)
1376 private:
1377 class _Internal;
1378 friend class ::google::protobuf::internal::TcParser;
1379 static const ::google::protobuf::internal::TcParseTable<2, 3,
1380 2, 0,
1381 2>
1382 _table_;
1383
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;
1390 struct Impl_ {
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
1406 };
1407 union { Impl_ _impl_; };
1408 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1409};
1410
1411OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Task_class_data_;
1412// -------------------------------------------------------------------
1413
1414class OR_PROTO_DLL RcpspProblem final : public ::google::protobuf::Message
1415/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.RcpspProblem) */ {
1416 public:
1417 inline RcpspProblem() : RcpspProblem(nullptr) {}
1418 ~RcpspProblem() PROTOBUF_FINAL;
1419
1420#if defined(PROTOBUF_CUSTOM_VTABLE)
1421 void operator delete(RcpspProblem* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1422 SharedDtor(*msg);
1423 ::google::protobuf::internal::SizedDelete(msg, sizeof(RcpspProblem));
1424 }
1425#endif
1426
1427 template <typename = void>
1428 explicit PROTOBUF_CONSTEXPR RcpspProblem(::google::protobuf::internal::ConstantInitialized);
1429
1430 inline RcpspProblem(const RcpspProblem& from) : RcpspProblem(nullptr, from) {}
1431 inline RcpspProblem(RcpspProblem&& from) noexcept
1432 : RcpspProblem(nullptr, ::std::move(from)) {}
1433 inline RcpspProblem& operator=(const RcpspProblem& from) {
1434 CopyFrom(from);
1435 return *this;
1437 inline RcpspProblem& operator=(RcpspProblem&& from) noexcept {
1438 if (this == &from) return *this;
1439 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1440 InternalSwap(&from);
1441 } else {
1442 CopyFrom(from);
1443 }
1444 return *this;
1446
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);
1450 }
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>();
1454 }
1456 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1457 return GetDescriptor();
1458 }
1459 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1460 return default_instance().GetMetadata().descriptor;
1461 }
1462 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1463 return default_instance().GetMetadata().reflection;
1465 static const RcpspProblem& default_instance() {
1466 return *reinterpret_cast<const RcpspProblem*>(
1468 }
1469 static constexpr int kIndexInFileMessages = 5;
1470 friend void swap(RcpspProblem& a, RcpspProblem& b) { a.Swap(&b); }
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);
1475 } else {
1476 ::google::protobuf::internal::GenericSwap(this, other);
1479 void UnsafeArenaSwap(RcpspProblem* PROTOBUF_NONNULL other) {
1480 if (other == this) return;
1481 ABSL_DCHECK(GetArena() == other->GetArena());
1482 InternalSwap(other);
1483 }
1484
1485 // implements Message ----------------------------------------------
1486
1487 RcpspProblem* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1488 return ::google::protobuf::Message::DefaultConstruct<RcpspProblem>(arena);
1489 }
1490 using ::google::protobuf::Message::CopyFrom;
1491 void CopyFrom(const RcpspProblem& from);
1492 using ::google::protobuf::Message::MergeFrom;
1493 void MergeFrom(const RcpspProblem& from) { RcpspProblem::MergeImpl(*this, from); }
1494
1495 private:
1496 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1497 const ::google::protobuf::MessageLite& from_msg);
1498
1499 public:
1500 bool IsInitialized() const {
1501 return true;
1502 }
1503 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1504 #if defined(PROTOBUF_CUSTOM_VTABLE)
1505 private:
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);
1510
1511 public:
1512 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
1517 }
1518 #else // PROTOBUF_CUSTOM_VTABLE
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;
1523 #endif // PROTOBUF_CUSTOM_VTABLE
1524 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1525
1526 private:
1527 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1528 static void SharedDtor(MessageLite& self);
1529 void InternalSwap(RcpspProblem* PROTOBUF_NONNULL other);
1530 private:
1531 template <typename T>
1533 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.RcpspProblem"; }
1534
1535 explicit RcpspProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1536 RcpspProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RcpspProblem& from);
1538 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RcpspProblem&& from) noexcept
1539 : RcpspProblem(arena) {
1540 *this = ::std::move(from);
1541 }
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_();
1547
1548 public:
1549 static constexpr auto InternalGenerateClassData_();
1550
1551 ::google::protobuf::Metadata GetMetadata() const;
1552 // nested types ----------------------------------------------------
1553
1554 // accessors -------------------------------------------------------
1555 enum : int {
1556 kResourcesFieldNumber = 1,
1557 kTasksFieldNumber = 2,
1558 kBasedataFieldNumber = 12,
1559 kNameFieldNumber = 14,
1560 kIsConsumerProducerFieldNumber = 3,
1561 kIsResourceInvestmentFieldNumber = 4,
1562 kIsRcpspMaxFieldNumber = 5,
1563 kDeadlineFieldNumber = 6,
1571 // repeated .operations_research.scheduling.rcpsp.Resource resources = 1;
1572 int resources_size() const;
1573 private:
1574 int _internal_resources_size() const;
1576 public:
1579 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL mutable_resources();
1580
1581 private:
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();
1584 public:
1585 const ::operations_research::scheduling::rcpsp::Resource& resources(int index) const;
1587 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>& resources() const;
1588 // repeated .operations_research.scheduling.rcpsp.Task tasks = 2;
1589 int tasks_size() const;
1590 private:
1591 int _internal_tasks_size() const;
1592
1593 public:
1594 void clear_tasks() ;
1596 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL mutable_tasks();
1597
1598 private:
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();
1601 public:
1602 const ::operations_research::scheduling::rcpsp::Task& tasks(int index) const;
1604 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>& tasks() const;
1605 // string basedata = 12;
1606 void clear_basedata() ;
1607 const ::std::string& basedata() const;
1608 template <typename Arg_ = const ::std::string&, typename... Args_>
1609 void set_basedata(Arg_&& arg, Args_... args);
1610 ::std::string* PROTOBUF_NONNULL mutable_basedata();
1611 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_basedata();
1612 void set_allocated_basedata(::std::string* PROTOBUF_NULLABLE value);
1613
1614 private:
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();
1618
1619 public:
1620 // string name = 14;
1621 void clear_name() ;
1622 const ::std::string& name() const;
1623 template <typename Arg_ = const ::std::string&, typename... Args_>
1624 void set_name(Arg_&& arg, Args_... args);
1625 ::std::string* PROTOBUF_NONNULL mutable_name();
1626 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1627 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1628
1629 private:
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();
1633
1634 public:
1635 // bool is_consumer_producer = 3;
1637 bool is_consumer_producer() const;
1638 void set_is_consumer_producer(bool value);
1639
1640 private:
1641 bool _internal_is_consumer_producer() const;
1642 void _internal_set_is_consumer_producer(bool value);
1643
1644 public:
1645 // bool is_resource_investment = 4;
1647 bool is_resource_investment() const;
1648 void set_is_resource_investment(bool value);
1649
1650 private:
1651 bool _internal_is_resource_investment() const;
1652 void _internal_set_is_resource_investment(bool value);
1653
1654 public:
1655 // bool is_rcpsp_max = 5;
1656 void clear_is_rcpsp_max() ;
1657 bool is_rcpsp_max() const;
1658 void set_is_rcpsp_max(bool value);
1659
1660 private:
1661 bool _internal_is_rcpsp_max() const;
1662 void _internal_set_is_rcpsp_max(bool value);
1663
1664 public:
1665 // int32 deadline = 6;
1666 void clear_deadline() ;
1667 ::int32_t deadline() const;
1668 void set_deadline(::int32_t value);
1669
1670 private:
1671 ::int32_t _internal_deadline() const;
1672 void _internal_set_deadline(::int32_t value);
1673
1674 public:
1675 // int32 horizon = 7;
1676 void clear_horizon() ;
1677 ::int32_t horizon() const;
1678 void set_horizon(::int32_t value);
1679
1680 private:
1681 ::int32_t _internal_horizon() const;
1682 void _internal_set_horizon(::int32_t value);
1683
1684 public:
1685 // int32 release_date = 8;
1686 void clear_release_date() ;
1687 ::int32_t release_date() const;
1688 void set_release_date(::int32_t value);
1689
1690 private:
1691 ::int32_t _internal_release_date() const;
1692 void _internal_set_release_date(::int32_t value);
1693
1694 public:
1695 // int32 tardiness_cost = 9;
1696 void clear_tardiness_cost() ;
1697 ::int32_t tardiness_cost() const;
1698 void set_tardiness_cost(::int32_t value);
1699
1700 private:
1701 ::int32_t _internal_tardiness_cost() const;
1702 void _internal_set_tardiness_cost(::int32_t value);
1703
1704 public:
1705 // int32 mpm_time = 10;
1706 void clear_mpm_time() ;
1707 ::int32_t mpm_time() const;
1708 void set_mpm_time(::int32_t value);
1709
1710 private:
1711 ::int32_t _internal_mpm_time() const;
1712 void _internal_set_mpm_time(::int32_t value);
1713
1714 public:
1715 // int64 seed = 11;
1716 void clear_seed() ;
1717 ::int64_t seed() const;
1718 void set_seed(::int64_t value);
1719
1720 private:
1721 ::int64_t _internal_seed() const;
1722 void _internal_set_seed(::int64_t value);
1723
1724 public:
1725 // int32 due_date = 13;
1726 void clear_due_date() ;
1727 ::int32_t due_date() const;
1728 void set_due_date(::int32_t value);
1729
1730 private:
1731 ::int32_t _internal_due_date() const;
1732 void _internal_set_due_date(::int32_t value);
1733
1734 public:
1735 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.RcpspProblem)
1736 private:
1737 class _Internal;
1738 friend class ::google::protobuf::internal::TcParser;
1739 static const ::google::protobuf::internal::TcParseTable<4, 14,
1740 2, 78,
1741 2>
1742 _table_;
1743
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;
1750 struct Impl_ {
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,
1758 const RcpspProblem& from_msg);
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_;
1767 bool is_rcpsp_max_;
1768 ::int32_t deadline_;
1769 ::int32_t horizon_;
1770 ::int32_t release_date_;
1771 ::int32_t tardiness_cost_;
1772 ::int32_t mpm_time_;
1773 ::int64_t seed_;
1774 ::int32_t due_date_;
1775 PROTOBUF_TSAN_DECLARE_MEMBER
1776 };
1777 union { Impl_ _impl_; };
1778 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1779};
1780
1781OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RcpspProblem_class_data_;
1782
1783// ===================================================================
1784
1787
1788// ===================================================================
1789
1790
1791#ifdef __GNUC__
1792#pragma GCC diagnostic push
1793#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1794#endif // __GNUC__
1795// -------------------------------------------------------------------
1796
1797// Resource
1798
1799// int32 max_capacity = 1;
1800inline void Resource::clear_max_capacity() {
1801 ::google::protobuf::internal::TSanWrite(&_impl_);
1802 _impl_.max_capacity_ = 0;
1803 ClearHasBit(_impl_._has_bits_[0],
1804 0x00000001U);
1805}
1806inline ::int32_t Resource::max_capacity() const {
1807 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Resource.max_capacity)
1808 return _internal_max_capacity();
1809}
1810inline void Resource::set_max_capacity(::int32_t value) {
1811 _internal_set_max_capacity(value);
1812 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1813 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Resource.max_capacity)
1814}
1815inline ::int32_t Resource::_internal_max_capacity() const {
1816 ::google::protobuf::internal::TSanRead(&_impl_);
1817 return _impl_.max_capacity_;
1818}
1819inline void Resource::_internal_set_max_capacity(::int32_t value) {
1820 ::google::protobuf::internal::TSanWrite(&_impl_);
1821 _impl_.max_capacity_ = value;
1822}
1823
1824// int32 min_capacity = 2;
1825inline void Resource::clear_min_capacity() {
1826 ::google::protobuf::internal::TSanWrite(&_impl_);
1827 _impl_.min_capacity_ = 0;
1828 ClearHasBit(_impl_._has_bits_[0],
1829 0x00000002U);
1830}
1831inline ::int32_t Resource::min_capacity() const {
1832 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Resource.min_capacity)
1833 return _internal_min_capacity();
1834}
1835inline void Resource::set_min_capacity(::int32_t value) {
1836 _internal_set_min_capacity(value);
1837 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1838 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Resource.min_capacity)
1839}
1840inline ::int32_t Resource::_internal_min_capacity() const {
1841 ::google::protobuf::internal::TSanRead(&_impl_);
1842 return _impl_.min_capacity_;
1843}
1844inline void Resource::_internal_set_min_capacity(::int32_t value) {
1845 ::google::protobuf::internal::TSanWrite(&_impl_);
1846 _impl_.min_capacity_ = value;
1847}
1848
1849// bool renewable = 3;
1850inline void Resource::clear_renewable() {
1851 ::google::protobuf::internal::TSanWrite(&_impl_);
1852 _impl_.renewable_ = false;
1853 ClearHasBit(_impl_._has_bits_[0],
1854 0x00000004U);
1855}
1856inline bool Resource::renewable() const {
1857 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Resource.renewable)
1858 return _internal_renewable();
1859}
1860inline void Resource::set_renewable(bool value) {
1861 _internal_set_renewable(value);
1862 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1863 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Resource.renewable)
1864}
1865inline bool Resource::_internal_renewable() const {
1866 ::google::protobuf::internal::TSanRead(&_impl_);
1867 return _impl_.renewable_;
1868}
1869inline void Resource::_internal_set_renewable(bool value) {
1870 ::google::protobuf::internal::TSanWrite(&_impl_);
1871 _impl_.renewable_ = value;
1872}
1873
1874// int32 unit_cost = 4;
1875inline void Resource::clear_unit_cost() {
1876 ::google::protobuf::internal::TSanWrite(&_impl_);
1877 _impl_.unit_cost_ = 0;
1878 ClearHasBit(_impl_._has_bits_[0],
1879 0x00000008U);
1880}
1881inline ::int32_t Resource::unit_cost() const {
1882 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Resource.unit_cost)
1883 return _internal_unit_cost();
1884}
1885inline void Resource::set_unit_cost(::int32_t value) {
1886 _internal_set_unit_cost(value);
1887 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1888 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Resource.unit_cost)
1889}
1890inline ::int32_t Resource::_internal_unit_cost() const {
1891 ::google::protobuf::internal::TSanRead(&_impl_);
1892 return _impl_.unit_cost_;
1893}
1894inline void Resource::_internal_set_unit_cost(::int32_t value) {
1895 ::google::protobuf::internal::TSanWrite(&_impl_);
1896 _impl_.unit_cost_ = value;
1897}
1898
1899// -------------------------------------------------------------------
1900
1901// Recipe
1902
1903// int32 duration = 1;
1904inline void Recipe::clear_duration() {
1905 ::google::protobuf::internal::TSanWrite(&_impl_);
1906 _impl_.duration_ = 0;
1907 ClearHasBit(_impl_._has_bits_[0],
1908 0x00000004U);
1909}
1910inline ::int32_t Recipe::duration() const {
1911 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Recipe.duration)
1912 return _internal_duration();
1913}
1914inline void Recipe::set_duration(::int32_t value) {
1915 _internal_set_duration(value);
1916 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1917 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Recipe.duration)
1918}
1919inline ::int32_t Recipe::_internal_duration() const {
1920 ::google::protobuf::internal::TSanRead(&_impl_);
1921 return _impl_.duration_;
1923inline void Recipe::_internal_set_duration(::int32_t value) {
1924 ::google::protobuf::internal::TSanWrite(&_impl_);
1925 _impl_.duration_ = value;
1927
1928// repeated int32 demands = 2;
1929inline int Recipe::_internal_demands_size() const {
1930 return _internal_demands().size();
1931}
1932inline int Recipe::demands_size() const {
1933 return _internal_demands_size();
1934}
1935inline void Recipe::clear_demands() {
1936 ::google::protobuf::internal::TSanWrite(&_impl_);
1937 _impl_.demands_.Clear();
1938 ClearHasBitForRepeated(_impl_._has_bits_[0],
1939 0x00000001U);
1940}
1941inline ::int32_t Recipe::demands(int index) const {
1942 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Recipe.demands)
1943 return _internal_demands().Get(index);
1945inline void Recipe::set_demands(int index, ::int32_t value) {
1946 _internal_mutable_demands()->Set(index, value);
1947 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Recipe.demands)
1948}
1949inline void Recipe::add_demands(::int32_t value) {
1950 ::google::protobuf::internal::TSanWrite(&_impl_);
1951 _internal_mutable_demands()->Add(value);
1952 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1953 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Recipe.demands)
1954}
1955inline const ::google::protobuf::RepeatedField<::int32_t>& Recipe::demands() const
1956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1957 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Recipe.demands)
1958 return _internal_demands();
1959}
1960inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL Recipe::mutable_demands()
1961 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1962 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1963 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Recipe.demands)
1964 ::google::protobuf::internal::TSanWrite(&_impl_);
1965 return _internal_mutable_demands();
1966}
1967inline const ::google::protobuf::RepeatedField<::int32_t>&
1968Recipe::_internal_demands() const {
1969 ::google::protobuf::internal::TSanRead(&_impl_);
1970 return _impl_.demands_;
1971}
1972inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1973Recipe::_internal_mutable_demands() {
1974 ::google::protobuf::internal::TSanRead(&_impl_);
1975 return &_impl_.demands_;
1976}
1977
1978// repeated int32 resources = 3;
1979inline int Recipe::_internal_resources_size() const {
1980 return _internal_resources().size();
1981}
1982inline int Recipe::resources_size() const {
1983 return _internal_resources_size();
1984}
1985inline void Recipe::clear_resources() {
1986 ::google::protobuf::internal::TSanWrite(&_impl_);
1987 _impl_.resources_.Clear();
1988 ClearHasBitForRepeated(_impl_._has_bits_[0],
1989 0x00000002U);
1990}
1991inline ::int32_t Recipe::resources(int index) const {
1992 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Recipe.resources)
1993 return _internal_resources().Get(index);
1995inline void Recipe::set_resources(int index, ::int32_t value) {
1996 _internal_mutable_resources()->Set(index, value);
1997 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Recipe.resources)
1998}
1999inline void Recipe::add_resources(::int32_t value) {
2000 ::google::protobuf::internal::TSanWrite(&_impl_);
2001 _internal_mutable_resources()->Add(value);
2002 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2003 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Recipe.resources)
2004}
2005inline const ::google::protobuf::RepeatedField<::int32_t>& Recipe::resources() const
2006 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2007 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Recipe.resources)
2008 return _internal_resources();
2009}
2010inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL Recipe::mutable_resources()
2011 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2012 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2013 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Recipe.resources)
2014 ::google::protobuf::internal::TSanWrite(&_impl_);
2015 return _internal_mutable_resources();
2016}
2017inline const ::google::protobuf::RepeatedField<::int32_t>&
2018Recipe::_internal_resources() const {
2019 ::google::protobuf::internal::TSanRead(&_impl_);
2020 return _impl_.resources_;
2021}
2022inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2023Recipe::_internal_mutable_resources() {
2024 ::google::protobuf::internal::TSanRead(&_impl_);
2025 return &_impl_.resources_;
2026}
2027
2028// -------------------------------------------------------------------
2029
2030// PerRecipeDelays
2031
2032// repeated int32 min_delays = 1;
2033inline int PerRecipeDelays::_internal_min_delays_size() const {
2034 return _internal_min_delays().size();
2035}
2036inline int PerRecipeDelays::min_delays_size() const {
2037 return _internal_min_delays_size();
2038}
2040 ::google::protobuf::internal::TSanWrite(&_impl_);
2041 _impl_.min_delays_.Clear();
2042 ClearHasBitForRepeated(_impl_._has_bits_[0],
2043 0x00000001U);
2044}
2045inline ::int32_t PerRecipeDelays::min_delays(int index) const {
2046 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2047 return _internal_min_delays().Get(index);
2048}
2049inline void PerRecipeDelays::set_min_delays(int index, ::int32_t value) {
2050 _internal_mutable_min_delays()->Set(index, value);
2051 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2053inline void PerRecipeDelays::add_min_delays(::int32_t value) {
2054 ::google::protobuf::internal::TSanWrite(&_impl_);
2055 _internal_mutable_min_delays()->Add(value);
2056 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2057 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2059inline const ::google::protobuf::RepeatedField<::int32_t>& PerRecipeDelays::min_delays() const
2060 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2061 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2062 return _internal_min_delays();
2063}
2064inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL PerRecipeDelays::mutable_min_delays()
2065 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2066 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2067 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2068 ::google::protobuf::internal::TSanWrite(&_impl_);
2069 return _internal_mutable_min_delays();
2070}
2071inline const ::google::protobuf::RepeatedField<::int32_t>&
2072PerRecipeDelays::_internal_min_delays() const {
2073 ::google::protobuf::internal::TSanRead(&_impl_);
2074 return _impl_.min_delays_;
2075}
2076inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2077PerRecipeDelays::_internal_mutable_min_delays() {
2078 ::google::protobuf::internal::TSanRead(&_impl_);
2079 return &_impl_.min_delays_;
2080}
2081
2082// -------------------------------------------------------------------
2083
2084// PerSuccessorDelays
2085
2086// repeated .operations_research.scheduling.rcpsp.PerRecipeDelays recipe_delays = 1;
2087inline int PerSuccessorDelays::_internal_recipe_delays_size() const {
2088 return _internal_recipe_delays().size();
2089}
2090inline int PerSuccessorDelays::recipe_delays_size() const {
2091 return _internal_recipe_delays_size();
2092}
2094 ::google::protobuf::internal::TSanWrite(&_impl_);
2095 _impl_.recipe_delays_.Clear();
2096 ClearHasBitForRepeated(_impl_._has_bits_[0],
2097 0x00000001U);
2098}
2099inline ::operations_research::scheduling::rcpsp::PerRecipeDelays* PROTOBUF_NONNULL PerSuccessorDelays::mutable_recipe_delays(int index)
2100 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2101 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
2102 return _internal_mutable_recipe_delays()->Mutable(index);
2103}
2104inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL PerSuccessorDelays::mutable_recipe_delays()
2105 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2106 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2107 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
2108 ::google::protobuf::internal::TSanWrite(&_impl_);
2109 return _internal_mutable_recipe_delays();
2110}
2111inline const ::operations_research::scheduling::rcpsp::PerRecipeDelays& PerSuccessorDelays::recipe_delays(int index) const
2112 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2113 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
2114 return _internal_recipe_delays().Get(index);
2115}
2116inline ::operations_research::scheduling::rcpsp::PerRecipeDelays* PROTOBUF_NONNULL PerSuccessorDelays::add_recipe_delays()
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);
2123 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
2124 return _add;
2126inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>& PerSuccessorDelays::recipe_delays() const
2127 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2128 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
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_;
2135}
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_;
2141
2142// -------------------------------------------------------------------
2143
2144// Task
2145
2146// repeated int32 successors = 1;
2147inline int Task::_internal_successors_size() const {
2148 return _internal_successors().size();
2149}
2150inline int Task::successors_size() const {
2151 return _internal_successors_size();
2152}
2153inline void Task::clear_successors() {
2154 ::google::protobuf::internal::TSanWrite(&_impl_);
2155 _impl_.successors_.Clear();
2156 ClearHasBitForRepeated(_impl_._has_bits_[0],
2157 0x00000001U);
2158}
2159inline ::int32_t Task::successors(int index) const {
2160 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Task.successors)
2161 return _internal_successors().Get(index);
2162}
2163inline void Task::set_successors(int index, ::int32_t value) {
2164 _internal_mutable_successors()->Set(index, value);
2165 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Task.successors)
2166}
2167inline void Task::add_successors(::int32_t value) {
2168 ::google::protobuf::internal::TSanWrite(&_impl_);
2169 _internal_mutable_successors()->Add(value);
2170 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2171 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Task.successors)
2172}
2173inline const ::google::protobuf::RepeatedField<::int32_t>& Task::successors() const
2174 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2175 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Task.successors)
2176 return _internal_successors();
2177}
2178inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL Task::mutable_successors()
2179 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2180 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2181 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Task.successors)
2182 ::google::protobuf::internal::TSanWrite(&_impl_);
2183 return _internal_mutable_successors();
2184}
2185inline const ::google::protobuf::RepeatedField<::int32_t>&
2186Task::_internal_successors() const {
2187 ::google::protobuf::internal::TSanRead(&_impl_);
2188 return _impl_.successors_;
2189}
2190inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2191Task::_internal_mutable_successors() {
2192 ::google::protobuf::internal::TSanRead(&_impl_);
2193 return &_impl_.successors_;
2194}
2195
2196// repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;
2197inline int Task::_internal_recipes_size() const {
2198 return _internal_recipes().size();
2199}
2200inline int Task::recipes_size() const {
2201 return _internal_recipes_size();
2202}
2203inline void Task::clear_recipes() {
2204 ::google::protobuf::internal::TSanWrite(&_impl_);
2205 _impl_.recipes_.Clear();
2206 ClearHasBitForRepeated(_impl_._has_bits_[0],
2207 0x00000002U);
2208}
2209inline ::operations_research::scheduling::rcpsp::Recipe* PROTOBUF_NONNULL Task::mutable_recipes(int index)
2210 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2211 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.Task.recipes)
2212 return _internal_mutable_recipes()->Mutable(index);
2213}
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);
2217 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Task.recipes)
2218 ::google::protobuf::internal::TSanWrite(&_impl_);
2219 return _internal_mutable_recipes();
2220}
2221inline const ::operations_research::scheduling::rcpsp::Recipe& Task::recipes(int index) const
2222 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2223 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Task.recipes)
2224 return _internal_recipes().Get(index);
2225}
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);
2233 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Task.recipes)
2234 return _add;
2235}
2236inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>& Task::recipes() const
2237 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2238 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Task.recipes)
2239 return _internal_recipes();
2240}
2241inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>&
2242Task::_internal_recipes() const {
2243 ::google::protobuf::internal::TSanRead(&_impl_);
2244 return _impl_.recipes_;
2245}
2246inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL
2247Task::_internal_mutable_recipes() {
2248 ::google::protobuf::internal::TSanRead(&_impl_);
2249 return &_impl_.recipes_;
2250}
2252// repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;
2253inline int Task::_internal_successor_delays_size() const {
2254 return _internal_successor_delays().size();
2255}
2256inline int Task::successor_delays_size() const {
2257 return _internal_successor_delays_size();
2258}
2259inline void Task::clear_successor_delays() {
2260 ::google::protobuf::internal::TSanWrite(&_impl_);
2261 _impl_.successor_delays_.Clear();
2262 ClearHasBitForRepeated(_impl_._has_bits_[0],
2263 0x00000004U);
2264}
2265inline ::operations_research::scheduling::rcpsp::PerSuccessorDelays* PROTOBUF_NONNULL Task::mutable_successor_delays(int index)
2266 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2267 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.Task.successor_delays)
2268 return _internal_mutable_successor_delays()->Mutable(index);
2269}
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);
2273 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Task.successor_delays)
2274 ::google::protobuf::internal::TSanWrite(&_impl_);
2275 return _internal_mutable_successor_delays();
2276}
2277inline const ::operations_research::scheduling::rcpsp::PerSuccessorDelays& Task::successor_delays(int index) const
2278 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2279 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Task.successor_delays)
2280 return _internal_successor_delays().Get(index);
2281}
2282inline ::operations_research::scheduling::rcpsp::PerSuccessorDelays* PROTOBUF_NONNULL Task::add_successor_delays()
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);
2289 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Task.successor_delays)
2290 return _add;
2291}
2292inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>& Task::successor_delays() const
2293 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2294 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Task.successor_delays)
2295 return _internal_successor_delays();
2296}
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_;
2301}
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_;
2306}
2308// -------------------------------------------------------------------
2309
2310// RcpspProblem
2311
2312// repeated .operations_research.scheduling.rcpsp.Resource resources = 1;
2313inline int RcpspProblem::_internal_resources_size() const {
2314 return _internal_resources().size();
2315}
2316inline int RcpspProblem::resources_size() const {
2317 return _internal_resources_size();
2318}
2319inline void RcpspProblem::clear_resources() {
2320 ::google::protobuf::internal::TSanWrite(&_impl_);
2321 _impl_.resources_.Clear();
2322 ClearHasBitForRepeated(_impl_._has_bits_[0],
2323 0x00000001U);
2324}
2325inline ::operations_research::scheduling::rcpsp::Resource* PROTOBUF_NONNULL RcpspProblem::mutable_resources(int index)
2326 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2327 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2328 return _internal_mutable_resources()->Mutable(index);
2329}
2330inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL RcpspProblem::mutable_resources()
2331 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2332 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2333 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2334 ::google::protobuf::internal::TSanWrite(&_impl_);
2335 return _internal_mutable_resources();
2336}
2337inline const ::operations_research::scheduling::rcpsp::Resource& RcpspProblem::resources(int index) const
2338 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2339 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2340 return _internal_resources().Get(index);
2342inline ::operations_research::scheduling::rcpsp::Resource* PROTOBUF_NONNULL RcpspProblem::add_resources()
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);
2349 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2350 return _add;
2351}
2352inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>& RcpspProblem::resources() const
2353 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2354 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2355 return _internal_resources();
2356}
2357inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>&
2358RcpspProblem::_internal_resources() const {
2359 ::google::protobuf::internal::TSanRead(&_impl_);
2360 return _impl_.resources_;
2361}
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_;
2366}
2367
2368// repeated .operations_research.scheduling.rcpsp.Task tasks = 2;
2369inline int RcpspProblem::_internal_tasks_size() const {
2370 return _internal_tasks().size();
2371}
2372inline int RcpspProblem::tasks_size() const {
2373 return _internal_tasks_size();
2374}
2375inline void RcpspProblem::clear_tasks() {
2376 ::google::protobuf::internal::TSanWrite(&_impl_);
2377 _impl_.tasks_.Clear();
2378 ClearHasBitForRepeated(_impl_._has_bits_[0],
2379 0x00000002U);
2380}
2381inline ::operations_research::scheduling::rcpsp::Task* PROTOBUF_NONNULL RcpspProblem::mutable_tasks(int index)
2382 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2383 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2384 return _internal_mutable_tasks()->Mutable(index);
2385}
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);
2389 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2390 ::google::protobuf::internal::TSanWrite(&_impl_);
2391 return _internal_mutable_tasks();
2392}
2393inline const ::operations_research::scheduling::rcpsp::Task& RcpspProblem::tasks(int index) const
2394 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2395 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2396 return _internal_tasks().Get(index);
2398inline ::operations_research::scheduling::rcpsp::Task* PROTOBUF_NONNULL RcpspProblem::add_tasks()
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);
2405 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2406 return _add;
2407}
2408inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>& RcpspProblem::tasks() const
2409 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2410 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2411 return _internal_tasks();
2412}
2413inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>&
2414RcpspProblem::_internal_tasks() const {
2415 ::google::protobuf::internal::TSanRead(&_impl_);
2416 return _impl_.tasks_;
2417}
2418inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL
2419RcpspProblem::_internal_mutable_tasks() {
2420 ::google::protobuf::internal::TSanRead(&_impl_);
2421 return &_impl_.tasks_;
2422}
2423
2424// bool is_consumer_producer = 3;
2426 ::google::protobuf::internal::TSanWrite(&_impl_);
2427 _impl_.is_consumer_producer_ = false;
2428 ClearHasBit(_impl_._has_bits_[0],
2429 0x00000010U);
2430}
2431inline bool RcpspProblem::is_consumer_producer() const {
2432 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.is_consumer_producer)
2433 return _internal_is_consumer_producer();
2434}
2435inline void RcpspProblem::set_is_consumer_producer(bool value) {
2436 _internal_set_is_consumer_producer(value);
2437 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2438 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.is_consumer_producer)
2439}
2440inline bool RcpspProblem::_internal_is_consumer_producer() const {
2441 ::google::protobuf::internal::TSanRead(&_impl_);
2442 return _impl_.is_consumer_producer_;
2443}
2444inline void RcpspProblem::_internal_set_is_consumer_producer(bool value) {
2445 ::google::protobuf::internal::TSanWrite(&_impl_);
2446 _impl_.is_consumer_producer_ = value;
2448
2449// bool is_resource_investment = 4;
2451 ::google::protobuf::internal::TSanWrite(&_impl_);
2452 _impl_.is_resource_investment_ = false;
2453 ClearHasBit(_impl_._has_bits_[0],
2454 0x00000020U);
2455}
2456inline bool RcpspProblem::is_resource_investment() const {
2457 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.is_resource_investment)
2458 return _internal_is_resource_investment();
2459}
2460inline void RcpspProblem::set_is_resource_investment(bool value) {
2461 _internal_set_is_resource_investment(value);
2462 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2463 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.is_resource_investment)
2464}
2465inline bool RcpspProblem::_internal_is_resource_investment() const {
2466 ::google::protobuf::internal::TSanRead(&_impl_);
2467 return _impl_.is_resource_investment_;
2468}
2469inline void RcpspProblem::_internal_set_is_resource_investment(bool value) {
2470 ::google::protobuf::internal::TSanWrite(&_impl_);
2471 _impl_.is_resource_investment_ = value;
2473
2474// bool is_rcpsp_max = 5;
2476 ::google::protobuf::internal::TSanWrite(&_impl_);
2477 _impl_.is_rcpsp_max_ = false;
2478 ClearHasBit(_impl_._has_bits_[0],
2479 0x00000040U);
2480}
2481inline bool RcpspProblem::is_rcpsp_max() const {
2482 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.is_rcpsp_max)
2483 return _internal_is_rcpsp_max();
2484}
2485inline void RcpspProblem::set_is_rcpsp_max(bool value) {
2486 _internal_set_is_rcpsp_max(value);
2487 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2488 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.is_rcpsp_max)
2489}
2490inline bool RcpspProblem::_internal_is_rcpsp_max() const {
2491 ::google::protobuf::internal::TSanRead(&_impl_);
2492 return _impl_.is_rcpsp_max_;
2493}
2494inline void RcpspProblem::_internal_set_is_rcpsp_max(bool value) {
2495 ::google::protobuf::internal::TSanWrite(&_impl_);
2496 _impl_.is_rcpsp_max_ = value;
2498
2499// int32 deadline = 6;
2500inline void RcpspProblem::clear_deadline() {
2501 ::google::protobuf::internal::TSanWrite(&_impl_);
2502 _impl_.deadline_ = 0;
2503 ClearHasBit(_impl_._has_bits_[0],
2504 0x00000080U);
2505}
2506inline ::int32_t RcpspProblem::deadline() const {
2507 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.deadline)
2508 return _internal_deadline();
2509}
2510inline void RcpspProblem::set_deadline(::int32_t value) {
2511 _internal_set_deadline(value);
2512 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
2513 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.deadline)
2514}
2515inline ::int32_t RcpspProblem::_internal_deadline() const {
2516 ::google::protobuf::internal::TSanRead(&_impl_);
2517 return _impl_.deadline_;
2518}
2519inline void RcpspProblem::_internal_set_deadline(::int32_t value) {
2520 ::google::protobuf::internal::TSanWrite(&_impl_);
2521 _impl_.deadline_ = value;
2523
2524// int32 horizon = 7;
2525inline void RcpspProblem::clear_horizon() {
2526 ::google::protobuf::internal::TSanWrite(&_impl_);
2527 _impl_.horizon_ = 0;
2528 ClearHasBit(_impl_._has_bits_[0],
2529 0x00000100U);
2530}
2531inline ::int32_t RcpspProblem::horizon() const {
2532 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.horizon)
2533 return _internal_horizon();
2534}
2535inline void RcpspProblem::set_horizon(::int32_t value) {
2536 _internal_set_horizon(value);
2537 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
2538 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.horizon)
2539}
2540inline ::int32_t RcpspProblem::_internal_horizon() const {
2541 ::google::protobuf::internal::TSanRead(&_impl_);
2542 return _impl_.horizon_;
2543}
2544inline void RcpspProblem::_internal_set_horizon(::int32_t value) {
2545 ::google::protobuf::internal::TSanWrite(&_impl_);
2546 _impl_.horizon_ = value;
2548
2549// int32 release_date = 8;
2551 ::google::protobuf::internal::TSanWrite(&_impl_);
2552 _impl_.release_date_ = 0;
2553 ClearHasBit(_impl_._has_bits_[0],
2554 0x00000200U);
2555}
2556inline ::int32_t RcpspProblem::release_date() const {
2557 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.release_date)
2558 return _internal_release_date();
2559}
2560inline void RcpspProblem::set_release_date(::int32_t value) {
2561 _internal_set_release_date(value);
2562 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
2563 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.release_date)
2564}
2565inline ::int32_t RcpspProblem::_internal_release_date() const {
2566 ::google::protobuf::internal::TSanRead(&_impl_);
2567 return _impl_.release_date_;
2568}
2569inline void RcpspProblem::_internal_set_release_date(::int32_t value) {
2570 ::google::protobuf::internal::TSanWrite(&_impl_);
2571 _impl_.release_date_ = value;
2573
2574// int32 tardiness_cost = 9;
2576 ::google::protobuf::internal::TSanWrite(&_impl_);
2577 _impl_.tardiness_cost_ = 0;
2578 ClearHasBit(_impl_._has_bits_[0],
2579 0x00000400U);
2580}
2581inline ::int32_t RcpspProblem::tardiness_cost() const {
2582 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.tardiness_cost)
2583 return _internal_tardiness_cost();
2584}
2585inline void RcpspProblem::set_tardiness_cost(::int32_t value) {
2586 _internal_set_tardiness_cost(value);
2587 SetHasBit(_impl_._has_bits_[0], 0x00000400U);
2588 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.tardiness_cost)
2589}
2590inline ::int32_t RcpspProblem::_internal_tardiness_cost() const {
2591 ::google::protobuf::internal::TSanRead(&_impl_);
2592 return _impl_.tardiness_cost_;
2593}
2594inline void RcpspProblem::_internal_set_tardiness_cost(::int32_t value) {
2595 ::google::protobuf::internal::TSanWrite(&_impl_);
2596 _impl_.tardiness_cost_ = value;
2598
2599// int32 mpm_time = 10;
2600inline void RcpspProblem::clear_mpm_time() {
2601 ::google::protobuf::internal::TSanWrite(&_impl_);
2602 _impl_.mpm_time_ = 0;
2603 ClearHasBit(_impl_._has_bits_[0],
2604 0x00000800U);
2605}
2606inline ::int32_t RcpspProblem::mpm_time() const {
2607 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.mpm_time)
2608 return _internal_mpm_time();
2609}
2610inline void RcpspProblem::set_mpm_time(::int32_t value) {
2611 _internal_set_mpm_time(value);
2612 SetHasBit(_impl_._has_bits_[0], 0x00000800U);
2613 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.mpm_time)
2614}
2615inline ::int32_t RcpspProblem::_internal_mpm_time() const {
2616 ::google::protobuf::internal::TSanRead(&_impl_);
2617 return _impl_.mpm_time_;
2618}
2619inline void RcpspProblem::_internal_set_mpm_time(::int32_t value) {
2620 ::google::protobuf::internal::TSanWrite(&_impl_);
2621 _impl_.mpm_time_ = value;
2623
2624// int64 seed = 11;
2625inline void RcpspProblem::clear_seed() {
2626 ::google::protobuf::internal::TSanWrite(&_impl_);
2627 _impl_.seed_ = ::int64_t{0};
2628 ClearHasBit(_impl_._has_bits_[0],
2629 0x00001000U);
2630}
2631inline ::int64_t RcpspProblem::seed() const {
2632 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.seed)
2633 return _internal_seed();
2634}
2635inline void RcpspProblem::set_seed(::int64_t value) {
2636 _internal_set_seed(value);
2637 SetHasBit(_impl_._has_bits_[0], 0x00001000U);
2638 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.seed)
2639}
2640inline ::int64_t RcpspProblem::_internal_seed() const {
2641 ::google::protobuf::internal::TSanRead(&_impl_);
2642 return _impl_.seed_;
2643}
2644inline void RcpspProblem::_internal_set_seed(::int64_t value) {
2645 ::google::protobuf::internal::TSanWrite(&_impl_);
2646 _impl_.seed_ = value;
2648
2649// string basedata = 12;
2650inline void RcpspProblem::clear_basedata() {
2651 ::google::protobuf::internal::TSanWrite(&_impl_);
2652 _impl_.basedata_.ClearToEmpty();
2653 ClearHasBit(_impl_._has_bits_[0],
2654 0x00000004U);
2655}
2656inline const ::std::string& RcpspProblem::basedata() const
2657 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2658 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2659 return _internal_basedata();
2660}
2661template <typename Arg_, typename... Args_>
2662PROTOBUF_ALWAYS_INLINE void RcpspProblem::set_basedata(Arg_&& arg, Args_... args) {
2663 ::google::protobuf::internal::TSanWrite(&_impl_);
2664 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2665 _impl_.basedata_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2666 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2667}
2668inline ::std::string* PROTOBUF_NONNULL RcpspProblem::mutable_basedata()
2669 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2670 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2671 ::std::string* _s = _internal_mutable_basedata();
2672 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2673 return _s;
2674}
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());
2682}
2683inline ::std::string* PROTOBUF_NONNULL RcpspProblem::_internal_mutable_basedata() {
2684 ::google::protobuf::internal::TSanWrite(&_impl_);
2685 return _impl_.basedata_.Mutable( GetArena());
2686}
2687inline ::std::string* PROTOBUF_NULLABLE RcpspProblem::release_basedata() {
2688 ::google::protobuf::internal::TSanWrite(&_impl_);
2689 // @@protoc_insertion_point(field_release:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2690 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
2691 return nullptr;
2692 }
2693 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2694 auto* released = _impl_.basedata_.Release();
2695 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2696 _impl_.basedata_.Set("", GetArena());
2697 }
2698 return released;
2699}
2700inline void RcpspProblem::set_allocated_basedata(::std::string* PROTOBUF_NULLABLE value) {
2701 ::google::protobuf::internal::TSanWrite(&_impl_);
2702 if (value != nullptr) {
2703 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2704 } else {
2705 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2706 }
2707 _impl_.basedata_.SetAllocated(value, GetArena());
2708 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.basedata_.IsDefault()) {
2709 _impl_.basedata_.Set("", GetArena());
2710 }
2711 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2712}
2713
2714// int32 due_date = 13;
2715inline void RcpspProblem::clear_due_date() {
2716 ::google::protobuf::internal::TSanWrite(&_impl_);
2717 _impl_.due_date_ = 0;
2718 ClearHasBit(_impl_._has_bits_[0],
2719 0x00002000U);
2720}
2721inline ::int32_t RcpspProblem::due_date() const {
2722 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.due_date)
2723 return _internal_due_date();
2724}
2725inline void RcpspProblem::set_due_date(::int32_t value) {
2726 _internal_set_due_date(value);
2727 SetHasBit(_impl_._has_bits_[0], 0x00002000U);
2728 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.due_date)
2729}
2730inline ::int32_t RcpspProblem::_internal_due_date() const {
2731 ::google::protobuf::internal::TSanRead(&_impl_);
2732 return _impl_.due_date_;
2733}
2734inline void RcpspProblem::_internal_set_due_date(::int32_t value) {
2735 ::google::protobuf::internal::TSanWrite(&_impl_);
2736 _impl_.due_date_ = value;
2738
2739// string name = 14;
2740inline void RcpspProblem::clear_name() {
2741 ::google::protobuf::internal::TSanWrite(&_impl_);
2742 _impl_.name_.ClearToEmpty();
2743 ClearHasBit(_impl_._has_bits_[0],
2744 0x00000008U);
2745}
2746inline const ::std::string& RcpspProblem::name() const
2747 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2748 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.name)
2749 return _internal_name();
2750}
2751template <typename Arg_, typename... Args_>
2752PROTOBUF_ALWAYS_INLINE void RcpspProblem::set_name(Arg_&& arg, Args_... args) {
2753 ::google::protobuf::internal::TSanWrite(&_impl_);
2754 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2755 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2756 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.name)
2757}
2758inline ::std::string* PROTOBUF_NONNULL RcpspProblem::mutable_name()
2759 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2760 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2761 ::std::string* _s = _internal_mutable_name();
2762 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.RcpspProblem.name)
2763 return _s;
2764}
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());
2772}
2773inline ::std::string* PROTOBUF_NONNULL RcpspProblem::_internal_mutable_name() {
2774 ::google::protobuf::internal::TSanWrite(&_impl_);
2775 return _impl_.name_.Mutable( GetArena());
2776}
2777inline ::std::string* PROTOBUF_NULLABLE RcpspProblem::release_name() {
2778 ::google::protobuf::internal::TSanWrite(&_impl_);
2779 // @@protoc_insertion_point(field_release:operations_research.scheduling.rcpsp.RcpspProblem.name)
2780 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
2781 return nullptr;
2782 }
2783 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2784 auto* released = _impl_.name_.Release();
2785 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2786 _impl_.name_.Set("", GetArena());
2787 }
2788 return released;
2789}
2790inline void RcpspProblem::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
2791 ::google::protobuf::internal::TSanWrite(&_impl_);
2792 if (value != nullptr) {
2793 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2794 } else {
2795 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2796 }
2797 _impl_.name_.SetAllocated(value, GetArena());
2798 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2799 _impl_.name_.Set("", GetArena());
2800 }
2801 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.rcpsp.RcpspProblem.name)
2802}
2803
2804// -------------------------------------------------------------------
2805
2806// RcpspAssignment
2807
2808// repeated int64 start_of_task = 1;
2809inline int RcpspAssignment::_internal_start_of_task_size() const {
2810 return _internal_start_of_task().size();
2811}
2812inline int RcpspAssignment::start_of_task_size() const {
2813 return _internal_start_of_task_size();
2814}
2816 ::google::protobuf::internal::TSanWrite(&_impl_);
2817 _impl_.start_of_task_.Clear();
2818 ClearHasBitForRepeated(_impl_._has_bits_[0],
2819 0x00000001U);
2820}
2821inline ::int64_t RcpspAssignment::start_of_task(int index) const {
2822 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
2823 return _internal_start_of_task().Get(index);
2824}
2825inline void RcpspAssignment::set_start_of_task(int index, ::int64_t value) {
2826 _internal_mutable_start_of_task()->Set(index, value);
2827 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
2828}
2829inline void RcpspAssignment::add_start_of_task(::int64_t value) {
2830 ::google::protobuf::internal::TSanWrite(&_impl_);
2831 _internal_mutable_start_of_task()->Add(value);
2832 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2833 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
2834}
2835inline const ::google::protobuf::RepeatedField<::int64_t>& RcpspAssignment::start_of_task() const
2836 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2837 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
2838 return _internal_start_of_task();
2839}
2840inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL RcpspAssignment::mutable_start_of_task()
2841 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2842 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2843 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
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_;
2851}
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_;
2856}
2858// repeated int32 selected_recipe_of_task = 2;
2859inline int RcpspAssignment::_internal_selected_recipe_of_task_size() const {
2860 return _internal_selected_recipe_of_task().size();
2861}
2863 return _internal_selected_recipe_of_task_size();
2864}
2866 ::google::protobuf::internal::TSanWrite(&_impl_);
2867 _impl_.selected_recipe_of_task_.Clear();
2868 ClearHasBitForRepeated(_impl_._has_bits_[0],
2869 0x00000002U);
2870}
2871inline ::int32_t RcpspAssignment::selected_recipe_of_task(int index) const {
2872 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
2873 return _internal_selected_recipe_of_task().Get(index);
2874}
2875inline void RcpspAssignment::set_selected_recipe_of_task(int index, ::int32_t value) {
2876 _internal_mutable_selected_recipe_of_task()->Set(index, value);
2877 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
2878}
2880 ::google::protobuf::internal::TSanWrite(&_impl_);
2881 _internal_mutable_selected_recipe_of_task()->Add(value);
2882 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2883 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
2884}
2885inline const ::google::protobuf::RepeatedField<::int32_t>& RcpspAssignment::selected_recipe_of_task() const
2886 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2887 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
2888 return _internal_selected_recipe_of_task();
2889}
2890inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL RcpspAssignment::mutable_selected_recipe_of_task()
2891 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2892 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2893 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
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_;
2901}
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_;
2906}
2908#ifdef __GNUC__
2909#pragma GCC diagnostic pop
2910#endif // __GNUC__
2911
2912// @@protoc_insertion_point(namespace_scope)
2913} // namespace rcpsp
2914} // namespace scheduling
2915} // namespace operations_research
2916
2917
2918// @@protoc_insertion_point(global_scope)
2919
2920#include "google/protobuf/port_undef.inc"
2921
2922#endif // ortools_2fscheduling_2frcpsp_2eproto_2epb_2eh
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_min_delays()
Definition rcpsp.pb.h:2077
friend void swap(PerRecipeDelays &a, PerRecipeDelays &b)
Definition rcpsp.pb.h:842
const ::google::protobuf::RepeatedField<::int32_t > & min_delays() const
Definition rcpsp.pb.h:2072
PerRecipeDelays & operator=(const PerRecipeDelays &from)
Definition rcpsp.pb.h:805
void Swap(PerRecipeDelays *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:843
void set_min_delays(int index, ::int32_t value)
Definition rcpsp.pb.h:2062
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:831
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition rcpsp.pb.h:828
void MergeFrom(const PerRecipeDelays &from)
Definition rcpsp.pb.h:865
PerRecipeDelays *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition rcpsp.pb.h:859
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:819
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:1275
void CopyFrom(const PerSuccessorDelays &from)
Definition rcpsp.pb.cc:1644
const ::operations_research::scheduling::rcpsp::PerRecipeDelays & recipe_delays(int index) const
Definition rcpsp.pb.h:2125
PerSuccessorDelays *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition rcpsp.pb.h:1059
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays > & recipe_delays() const
Definition rcpsp.pb.h:2140
::operations_research::scheduling::rcpsp::PerRecipeDelays *PROTOBUF_NONNULL add_recipe_delays()
Definition rcpsp.pb.h:2130
::operations_research::scheduling::rcpsp::PerRecipeDelays *PROTOBUF_NONNULL mutable_recipe_delays(int index)
Definition rcpsp.pb.h:2113
PerSuccessorDelays & operator=(const PerSuccessorDelays &from)
Definition rcpsp.pb.h:1005
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:1031
void MergeFrom(const PerSuccessorDelays &from)
Definition rcpsp.pb.h:1065
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition rcpsp.pb.h:1034
void Swap(PerSuccessorDelays *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:1043
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:1555
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays > *PROTOBUF_NONNULL mutable_recipe_delays()
Definition rcpsp.pb.h:2118
static const PerSuccessorDelays & default_instance()
Definition rcpsp.pb.h:1037
friend class ::google::protobuf::MessageLite
Definition rcpsp.pb.h:755
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_selected_recipe_of_task()
Definition rcpsp.pb.h:2907
const ::google::protobuf::RepeatedField<::int64_t > & start_of_task() const
Definition rcpsp.pb.h:2852
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:602
PROTOBUF_CONSTEXPR RcpspAssignment(::google::protobuf::internal::ConstantInitialized)
RcpspAssignment & operator=(const RcpspAssignment &from)
Definition rcpsp.pb.h:584
friend void swap(RcpspAssignment &a, RcpspAssignment &b)
Definition rcpsp.pb.h:621
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_start_of_task()
Definition rcpsp.pb.h:2857
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:598
void set_selected_recipe_of_task(int index, ::int32_t value)
Definition rcpsp.pb.h:2892
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition rcpsp.pb.h:607
static const RcpspAssignment & default_instance()
Definition rcpsp.pb.h:616
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:2947
void Swap(RcpspAssignment *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:622
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:610
void MergeFrom(const RcpspAssignment &from)
Definition rcpsp.pb.h:644
const ::google::protobuf::RepeatedField<::int32_t > & selected_recipe_of_task() const
Definition rcpsp.pb.h:2902
void set_start_of_task(int index, ::int64_t value)
Definition rcpsp.pb.h:2842
void UnsafeArenaSwap(RcpspProblem *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:1487
::operations_research::scheduling::rcpsp::Task *PROTOBUF_NONNULL add_tasks()
Definition rcpsp.pb.h:2414
::operations_research::scheduling::rcpsp::Resource *PROTOBUF_NONNULL mutable_resources(int index)
Definition rcpsp.pb.h:2341
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource > & resources() const
Definition rcpsp.pb.h:2368
const ::operations_research::scheduling::rcpsp::Task & tasks(int index) const
Definition rcpsp.pb.h:2409
::operations_research::scheduling::rcpsp::Resource *PROTOBUF_NONNULL add_resources()
Definition rcpsp.pb.h:2358
void Swap(RcpspProblem *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:1479
void set_allocated_basedata(::std::string *PROTOBUF_NULLABLE value)
Definition rcpsp.pb.h:2716
void set_basedata(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_name()
Definition rcpsp.pb.h:2774
const ::operations_research::scheduling::rcpsp::Resource & resources(int index) const
Definition rcpsp.pb.h:2353
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task > *PROTOBUF_NONNULL mutable_tasks()
Definition rcpsp.pb.h:2402
RcpspProblem *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition rcpsp.pb.h:1495
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource > *PROTOBUF_NONNULL mutable_resources()
Definition rcpsp.pb.h:2346
::std::string *PROTOBUF_NULLABLE release_name()
Definition rcpsp.pb.h:2793
friend void swap(RcpspProblem &a, RcpspProblem &b)
Definition rcpsp.pb.h:1478
static const RcpspProblem & default_instance()
Definition rcpsp.pb.h:1473
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:1467
::std::string *PROTOBUF_NONNULL mutable_basedata()
Definition rcpsp.pb.h:2684
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task > & tasks() const
Definition rcpsp.pb.h:2424
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition rcpsp.pb.h:2806
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:1455
::std::string *PROTOBUF_NULLABLE release_basedata()
Definition rcpsp.pb.h:2703
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition rcpsp.pb.h:1464
::operations_research::scheduling::rcpsp::Task *PROTOBUF_NONNULL mutable_tasks(int index)
Definition rcpsp.pb.h:2397
friend class ::google::protobuf::MessageLite
Definition rcpsp.pb.h:533
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:365
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_demands()
Definition rcpsp.pb.h:1972
PROTOBUF_CONSTEXPR Recipe(::google::protobuf::internal::ConstantInitialized)
const ::google::protobuf::RepeatedField<::int32_t > & resources() const
Definition rcpsp.pb.h:2017
const ::google::protobuf::RepeatedField<::int32_t > & demands() const
Definition rcpsp.pb.h:1967
void set_demands(int index, ::int32_t value)
Definition rcpsp.pb.h:1957
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition rcpsp.pb.cc:922
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:377
void set_resources(int index, ::int32_t value)
Definition rcpsp.pb.h:2007
Recipe & operator=(const Recipe &from)
Definition rcpsp.pb.h:351
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition rcpsp.pb.h:380
void Swap(Recipe *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:389
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:949
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_resources()
Definition rcpsp.pb.h:2022
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:138
friend class ::google::protobuf::MessageLite
Definition rcpsp.pb.h:301
Resource & operator=(const Resource &from)
Definition rcpsp.pb.h:124
void Swap(Resource *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:162
PROTOBUF_CONSTEXPR Resource(::google::protobuf::internal::ConstantInitialized)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_successors()
Definition rcpsp.pb.h:2193
::operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL add_recipes()
Definition rcpsp.pb.h:2241
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > *PROTOBUF_NONNULL mutable_successor_delays()
Definition rcpsp.pb.h:2285
void set_successors(int index, ::int32_t value)
Definition rcpsp.pb.h:2178
const ::google::protobuf::RepeatedField<::int32_t > & successors() const
Definition rcpsp.pb.h:2188
const ::operations_research::scheduling::rcpsp::Recipe & recipes(int index) const
Definition rcpsp.pb.h:2236
void Swap(Task *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:1241
::operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL add_successor_delays()
Definition rcpsp.pb.h:2297
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > *PROTOBUF_NONNULL mutable_recipes()
Definition rcpsp.pb.h:2229
::int32_t successors(int index) const
Definition rcpsp.pb.h:2174
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > & recipes() const
Definition rcpsp.pb.h:2251
const ::operations_research::scheduling::rcpsp::PerSuccessorDelays & successor_delays(int index) const
Definition rcpsp.pb.h:2292
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > & successor_delays() const
Definition rcpsp.pb.h:2307
::operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL mutable_recipes(int index)
Definition rcpsp.pb.h:2224
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:1876
friend void swap(Task &a, Task &b)
Definition rcpsp.pb.h:1240
Task *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition rcpsp.pb.h:1257
::operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL mutable_successor_delays(int index)
Definition rcpsp.pb.h:2280
::absl::string_view GetAnyMessageName()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RcpspProblem_class_data_
Definition rcpsp.pb.cc:2170
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PerSuccessorDelaysDefaultTypeInternal _PerSuccessorDelays_default_instance_
Definition rcpsp.pb.cc:165
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TaskDefaultTypeInternal _Task_default_instance_
Definition rcpsp.pb.cc:193
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PerRecipeDelaysDefaultTypeInternal _PerRecipeDelays_default_instance_
Definition rcpsp.pb.cc:140
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PerRecipeDelays_class_data_
Definition rcpsp.pb.cc:1211
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RcpspProblemDefaultTypeInternal _RcpspProblem_default_instance_
Definition rcpsp.pb.cc:235
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RcpspAssignmentDefaultTypeInternal _RcpspAssignment_default_instance_
Definition rcpsp.pb.cc:114
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResourceDefaultTypeInternal _Resource_default_instance_
Definition rcpsp.pb.cc:57
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Recipe_class_data_
Definition rcpsp.pb.cc:866
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Resource_class_data_
Definition rcpsp.pb.cc:487
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecipeDefaultTypeInternal _Recipe_default_instance_
Definition rcpsp.pb.cc:86
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RcpspAssignment_class_data_
Definition rcpsp.pb.cc:2872
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PerSuccessorDelays_class_data_
Definition rcpsp.pb.cc:1489
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Task_class_data_
Definition rcpsp.pb.cc:1788
OR-Tools root namespace.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2frcpsp_2eproto
Definition rcpsp.pb.cc:376