Google OR-Tools v9.14
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.31.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 != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
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 protected:
225 explicit Resource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
226 Resource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Resource& from);
227 Resource(
228 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Resource&& from) noexcept
229 : Resource(arena) {
230 *this = ::std::move(from);
231 }
232 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
233 static void* PROTOBUF_NONNULL PlacementNew_(
234 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
235 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
236 static constexpr auto InternalNewImpl_();
237
238 public:
239 static constexpr auto InternalGenerateClassData_();
240
241 ::google::protobuf::Metadata GetMetadata() const;
242 // nested types ----------------------------------------------------
243
244 // accessors -------------------------------------------------------
245 enum : int {
246 kMaxCapacityFieldNumber = 1,
247 kMinCapacityFieldNumber = 2,
250 };
251 // int32 max_capacity = 1;
252 void clear_max_capacity() ;
253 ::int32_t max_capacity() const;
254 void set_max_capacity(::int32_t value);
255
256 private:
257 ::int32_t _internal_max_capacity() const;
258 void _internal_set_max_capacity(::int32_t value);
259
260 public:
261 // int32 min_capacity = 2;
262 void clear_min_capacity() ;
263 ::int32_t min_capacity() const;
264 void set_min_capacity(::int32_t value);
265
266 private:
267 ::int32_t _internal_min_capacity() const;
268 void _internal_set_min_capacity(::int32_t value);
269
270 public:
271 // bool renewable = 3;
272 void clear_renewable() ;
273 bool renewable() const;
274 void set_renewable(bool value);
275
276 private:
277 bool _internal_renewable() const;
278 void _internal_set_renewable(bool value);
279
280 public:
281 // int32 unit_cost = 4;
282 void clear_unit_cost() ;
283 ::int32_t unit_cost() const;
284 void set_unit_cost(::int32_t value);
285
286 private:
287 ::int32_t _internal_unit_cost() const;
288 void _internal_set_unit_cost(::int32_t value);
289
290 public:
291 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.Resource)
292 private:
293 class _Internal;
294 friend class ::google::protobuf::internal::TcParser;
295 static const ::google::protobuf::internal::TcParseTable<2, 4,
296 0, 0,
297 2>
298 _table_;
299
300 friend class ::google::protobuf::MessageLite;
301 friend class ::google::protobuf::Arena;
302 template <typename T>
303 friend class ::google::protobuf::Arena::InternalHelper;
304 using InternalArenaConstructable_ = void;
305 using DestructorSkippable_ = void;
306 struct Impl_ {
307 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
308 inline explicit Impl_(
309 ::google::protobuf::internal::InternalVisibility visibility,
310 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
311 inline explicit Impl_(
312 ::google::protobuf::internal::InternalVisibility visibility,
313 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
314 const Resource& from_msg);
315 ::google::protobuf::internal::HasBits<1> _has_bits_;
316 ::google::protobuf::internal::CachedSize _cached_size_;
317 ::int32_t max_capacity_;
318 ::int32_t min_capacity_;
319 bool renewable_;
320 ::int32_t unit_cost_;
321 PROTOBUF_TSAN_DECLARE_MEMBER
322 };
323 union { Impl_ _impl_; };
324 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
327OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Resource_class_data_;
328// -------------------------------------------------------------------
329
330class OR_PROTO_DLL Recipe final : public ::google::protobuf::Message
331/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.Recipe) */ {
332 public:
333 inline Recipe() : Recipe(nullptr) {}
334 ~Recipe() PROTOBUF_FINAL;
335
336#if defined(PROTOBUF_CUSTOM_VTABLE)
337 void operator delete(Recipe* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
338 SharedDtor(*msg);
339 ::google::protobuf::internal::SizedDelete(msg, sizeof(Recipe));
340 }
341#endif
342
343 template <typename = void>
344 explicit PROTOBUF_CONSTEXPR Recipe(::google::protobuf::internal::ConstantInitialized);
345
346 inline Recipe(const Recipe& from) : Recipe(nullptr, from) {}
347 inline Recipe(Recipe&& from) noexcept
348 : Recipe(nullptr, ::std::move(from)) {}
349 inline Recipe& operator=(const Recipe& from) {
350 CopyFrom(from);
351 return *this;
353 inline Recipe& operator=(Recipe&& from) noexcept {
354 if (this == &from) return *this;
355 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
356 InternalSwap(&from);
357 } else {
358 CopyFrom(from);
359 }
360 return *this;
361 }
362
363 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
364 ABSL_ATTRIBUTE_LIFETIME_BOUND {
365 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
367 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
368 ABSL_ATTRIBUTE_LIFETIME_BOUND {
369 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
371
372 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
373 return GetDescriptor();
374 }
375 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
376 return default_instance().GetMetadata().descriptor;
377 }
378 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
379 return default_instance().GetMetadata().reflection;
380 }
381 static const Recipe& default_instance() {
382 return *reinterpret_cast<const Recipe*>(
385 static constexpr int kIndexInFileMessages = 1;
386 friend void swap(Recipe& a, Recipe& b) { a.Swap(&b); }
387 inline void Swap(Recipe* PROTOBUF_NONNULL other) {
388 if (other == this) return;
389 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
390 InternalSwap(other);
391 } else {
392 ::google::protobuf::internal::GenericSwap(this, other);
393 }
394 }
395 void UnsafeArenaSwap(Recipe* PROTOBUF_NONNULL other) {
396 if (other == this) return;
397 ABSL_DCHECK(GetArena() == other->GetArena());
398 InternalSwap(other);
399 }
400
401 // implements Message ----------------------------------------------
402
403 Recipe* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
404 return ::google::protobuf::Message::DefaultConstruct<Recipe>(arena);
405 }
406 using ::google::protobuf::Message::CopyFrom;
407 void CopyFrom(const Recipe& from);
408 using ::google::protobuf::Message::MergeFrom;
409 void MergeFrom(const Recipe& from) { Recipe::MergeImpl(*this, from); }
410
411 private:
412 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
413 const ::google::protobuf::MessageLite& from_msg);
414
415 public:
416 bool IsInitialized() const {
417 return true;
418 }
419 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
420 #if defined(PROTOBUF_CUSTOM_VTABLE)
421 private:
422 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
423 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
424 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
425 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
426
427 public:
428 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
429 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
430 ::uint8_t* PROTOBUF_NONNULL target,
431 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
432 return _InternalSerialize(*this, target, stream);
433 }
434 #else // PROTOBUF_CUSTOM_VTABLE
435 ::size_t ByteSizeLong() const final;
436 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
437 ::uint8_t* PROTOBUF_NONNULL target,
438 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
439 #endif // PROTOBUF_CUSTOM_VTABLE
440 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
441
442 private:
443 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
444 static void SharedDtor(MessageLite& self);
445 void InternalSwap(Recipe* PROTOBUF_NONNULL other);
446 private:
447 template <typename T>
448 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
449 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.Recipe"; }
450
451 protected:
452 explicit Recipe(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
453 Recipe(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Recipe& from);
454 Recipe(
455 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Recipe&& from) noexcept
456 : Recipe(arena) {
457 *this = ::std::move(from);
458 }
459 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
460 static void* PROTOBUF_NONNULL PlacementNew_(
461 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
462 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
463 static constexpr auto InternalNewImpl_();
464
465 public:
466 static constexpr auto InternalGenerateClassData_();
467
468 ::google::protobuf::Metadata GetMetadata() const;
469 // nested types ----------------------------------------------------
470
471 // accessors -------------------------------------------------------
472 enum : int {
473 kDemandsFieldNumber = 2,
474 kResourcesFieldNumber = 3,
475 kDurationFieldNumber = 1,
476 };
477 // repeated int32 demands = 2;
478 int demands_size() const;
479 private:
480 int _internal_demands_size() const;
481
482 public:
483 void clear_demands() ;
484 ::int32_t demands(int index) const;
485 void set_demands(int index, ::int32_t value);
486 void add_demands(::int32_t value);
487 const ::google::protobuf::RepeatedField<::int32_t>& demands() const;
488 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_demands();
489
490 private:
491 const ::google::protobuf::RepeatedField<::int32_t>& _internal_demands() const;
492 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_demands();
493
494 public:
495 // repeated int32 resources = 3;
496 int resources_size() const;
497 private:
498 int _internal_resources_size() const;
499
500 public:
501 void clear_resources() ;
502 ::int32_t resources(int index) const;
503 void set_resources(int index, ::int32_t value);
504 void add_resources(::int32_t value);
505 const ::google::protobuf::RepeatedField<::int32_t>& resources() const;
506 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_resources();
507
508 private:
509 const ::google::protobuf::RepeatedField<::int32_t>& _internal_resources() const;
510 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_resources();
511
512 public:
513 // int32 duration = 1;
514 void clear_duration() ;
515 ::int32_t duration() const;
516 void set_duration(::int32_t value);
517
518 private:
519 ::int32_t _internal_duration() const;
520 void _internal_set_duration(::int32_t value);
521
522 public:
523 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.Recipe)
524 private:
525 class _Internal;
526 friend class ::google::protobuf::internal::TcParser;
527 static const ::google::protobuf::internal::TcParseTable<2, 3,
528 0, 0,
529 2>
530 _table_;
531
532 friend class ::google::protobuf::MessageLite;
533 friend class ::google::protobuf::Arena;
534 template <typename T>
535 friend class ::google::protobuf::Arena::InternalHelper;
536 using InternalArenaConstructable_ = void;
537 using DestructorSkippable_ = void;
538 struct Impl_ {
539 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
540 inline explicit Impl_(
541 ::google::protobuf::internal::InternalVisibility visibility,
542 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
543 inline explicit Impl_(
544 ::google::protobuf::internal::InternalVisibility visibility,
545 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
546 const Recipe& from_msg);
547 ::google::protobuf::internal::HasBits<1> _has_bits_;
548 ::google::protobuf::internal::CachedSize _cached_size_;
549 ::google::protobuf::RepeatedField<::int32_t> demands_;
550 ::google::protobuf::internal::CachedSize _demands_cached_byte_size_;
551 ::google::protobuf::RepeatedField<::int32_t> resources_;
552 ::google::protobuf::internal::CachedSize _resources_cached_byte_size_;
553 ::int32_t duration_;
554 PROTOBUF_TSAN_DECLARE_MEMBER
555 };
556 union { Impl_ _impl_; };
557 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
558};
560OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Recipe_class_data_;
561// -------------------------------------------------------------------
562
563class OR_PROTO_DLL RcpspAssignment final : public ::google::protobuf::Message
564/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.RcpspAssignment) */ {
565 public:
566 inline RcpspAssignment() : RcpspAssignment(nullptr) {}
567 ~RcpspAssignment() PROTOBUF_FINAL;
568
569#if defined(PROTOBUF_CUSTOM_VTABLE)
570 void operator delete(RcpspAssignment* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
571 SharedDtor(*msg);
572 ::google::protobuf::internal::SizedDelete(msg, sizeof(RcpspAssignment));
573 }
574#endif
575
576 template <typename = void>
577 explicit PROTOBUF_CONSTEXPR RcpspAssignment(::google::protobuf::internal::ConstantInitialized);
578
579 inline RcpspAssignment(const RcpspAssignment& from) : RcpspAssignment(nullptr, from) {}
580 inline RcpspAssignment(RcpspAssignment&& from) noexcept
581 : RcpspAssignment(nullptr, ::std::move(from)) {}
582 inline RcpspAssignment& operator=(const RcpspAssignment& from) {
583 CopyFrom(from);
584 return *this;
585 }
586 inline RcpspAssignment& operator=(RcpspAssignment&& from) noexcept {
587 if (this == &from) return *this;
588 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
589 InternalSwap(&from);
590 } else {
591 CopyFrom(from);
592 }
593 return *this;
594 }
595
596 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
597 ABSL_ATTRIBUTE_LIFETIME_BOUND {
598 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
599 }
600 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
601 ABSL_ATTRIBUTE_LIFETIME_BOUND {
602 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
603 }
605 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
606 return GetDescriptor();
607 }
608 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
609 return default_instance().GetMetadata().descriptor;
610 }
611 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
612 return default_instance().GetMetadata().reflection;
613 }
614 static const RcpspAssignment& default_instance() {
615 return *reinterpret_cast<const RcpspAssignment*>(
617 }
618 static constexpr int kIndexInFileMessages = 6;
619 friend void swap(RcpspAssignment& a, RcpspAssignment& b) { a.Swap(&b); }
620 inline void Swap(RcpspAssignment* PROTOBUF_NONNULL other) {
621 if (other == this) return;
622 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
623 InternalSwap(other);
624 } else {
625 ::google::protobuf::internal::GenericSwap(this, other);
626 }
627 }
628 void UnsafeArenaSwap(RcpspAssignment* PROTOBUF_NONNULL other) {
629 if (other == this) return;
630 ABSL_DCHECK(GetArena() == other->GetArena());
631 InternalSwap(other);
633
634 // implements Message ----------------------------------------------
635
636 RcpspAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
637 return ::google::protobuf::Message::DefaultConstruct<RcpspAssignment>(arena);
638 }
639 using ::google::protobuf::Message::CopyFrom;
640 void CopyFrom(const RcpspAssignment& from);
641 using ::google::protobuf::Message::MergeFrom;
642 void MergeFrom(const RcpspAssignment& from) { RcpspAssignment::MergeImpl(*this, from); }
643
644 private:
645 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
646 const ::google::protobuf::MessageLite& from_msg);
647
648 public:
649 bool IsInitialized() const {
650 return true;
651 }
652 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
653 #if defined(PROTOBUF_CUSTOM_VTABLE)
654 private:
655 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
656 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
657 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
658 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
659
660 public:
661 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
662 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
663 ::uint8_t* PROTOBUF_NONNULL target,
664 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
665 return _InternalSerialize(*this, target, stream);
666 }
667 #else // PROTOBUF_CUSTOM_VTABLE
668 ::size_t ByteSizeLong() const final;
669 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
670 ::uint8_t* PROTOBUF_NONNULL target,
671 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
672 #endif // PROTOBUF_CUSTOM_VTABLE
673 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
674
675 private:
676 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
677 static void SharedDtor(MessageLite& self);
678 void InternalSwap(RcpspAssignment* PROTOBUF_NONNULL other);
679 private:
680 template <typename T>
681 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
682 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.RcpspAssignment"; }
683
684 protected:
685 explicit RcpspAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
686 RcpspAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RcpspAssignment& from);
688 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RcpspAssignment&& from) noexcept
689 : RcpspAssignment(arena) {
690 *this = ::std::move(from);
692 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
693 static void* PROTOBUF_NONNULL PlacementNew_(
694 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
695 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
696 static constexpr auto InternalNewImpl_();
697
698 public:
699 static constexpr auto InternalGenerateClassData_();
700
701 ::google::protobuf::Metadata GetMetadata() const;
702 // nested types ----------------------------------------------------
703
704 // accessors -------------------------------------------------------
705 enum : int {
706 kStartOfTaskFieldNumber = 1,
707 kSelectedRecipeOfTaskFieldNumber = 2,
708 };
709 // repeated int64 start_of_task = 1;
711 private:
712 int _internal_start_of_task_size() const;
713
714 public:
715 void clear_start_of_task() ;
716 ::int64_t start_of_task(int index) const;
717 void set_start_of_task(int index, ::int64_t value);
718 void add_start_of_task(::int64_t value);
719 const ::google::protobuf::RepeatedField<::int64_t>& start_of_task() const;
720 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_start_of_task();
721
722 private:
723 const ::google::protobuf::RepeatedField<::int64_t>& _internal_start_of_task() const;
724 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_start_of_task();
725
726 public:
727 // repeated int32 selected_recipe_of_task = 2;
729 private:
730 int _internal_selected_recipe_of_task_size() const;
731
732 public:
734 ::int32_t selected_recipe_of_task(int index) const;
735 void set_selected_recipe_of_task(int index, ::int32_t value);
736 void add_selected_recipe_of_task(::int32_t value);
737 const ::google::protobuf::RepeatedField<::int32_t>& selected_recipe_of_task() const;
738 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_selected_recipe_of_task();
739
740 private:
741 const ::google::protobuf::RepeatedField<::int32_t>& _internal_selected_recipe_of_task() const;
742 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_selected_recipe_of_task();
743
744 public:
745 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.RcpspAssignment)
746 private:
747 class _Internal;
748 friend class ::google::protobuf::internal::TcParser;
749 static const ::google::protobuf::internal::TcParseTable<1, 2,
750 0, 0,
751 2>
752 _table_;
753
754 friend class ::google::protobuf::MessageLite;
755 friend class ::google::protobuf::Arena;
756 template <typename T>
757 friend class ::google::protobuf::Arena::InternalHelper;
758 using InternalArenaConstructable_ = void;
759 using DestructorSkippable_ = void;
760 struct Impl_ {
761 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
762 inline explicit Impl_(
763 ::google::protobuf::internal::InternalVisibility visibility,
764 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
765 inline explicit Impl_(
766 ::google::protobuf::internal::InternalVisibility visibility,
767 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
768 const RcpspAssignment& from_msg);
769 ::google::protobuf::RepeatedField<::int64_t> start_of_task_;
770 ::google::protobuf::internal::CachedSize _start_of_task_cached_byte_size_;
771 ::google::protobuf::RepeatedField<::int32_t> selected_recipe_of_task_;
772 ::google::protobuf::internal::CachedSize _selected_recipe_of_task_cached_byte_size_;
773 ::google::protobuf::internal::CachedSize _cached_size_;
774 PROTOBUF_TSAN_DECLARE_MEMBER
775 };
776 union { Impl_ _impl_; };
777 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
778};
779
780OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RcpspAssignment_class_data_;
781// -------------------------------------------------------------------
782
783class OR_PROTO_DLL PerRecipeDelays final : public ::google::protobuf::Message
784/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.PerRecipeDelays) */ {
785 public:
786 inline PerRecipeDelays() : PerRecipeDelays(nullptr) {}
787 ~PerRecipeDelays() PROTOBUF_FINAL;
789#if defined(PROTOBUF_CUSTOM_VTABLE)
790 void operator delete(PerRecipeDelays* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
791 SharedDtor(*msg);
792 ::google::protobuf::internal::SizedDelete(msg, sizeof(PerRecipeDelays));
793 }
794#endif
795
796 template <typename = void>
797 explicit PROTOBUF_CONSTEXPR PerRecipeDelays(::google::protobuf::internal::ConstantInitialized);
798
799 inline PerRecipeDelays(const PerRecipeDelays& from) : PerRecipeDelays(nullptr, from) {}
800 inline PerRecipeDelays(PerRecipeDelays&& from) noexcept
801 : PerRecipeDelays(nullptr, ::std::move(from)) {}
803 CopyFrom(from);
804 return *this;
806 inline PerRecipeDelays& operator=(PerRecipeDelays&& from) noexcept {
807 if (this == &from) return *this;
808 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
809 InternalSwap(&from);
810 } else {
811 CopyFrom(from);
812 }
813 return *this;
814 }
815
816 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
817 ABSL_ATTRIBUTE_LIFETIME_BOUND {
818 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
819 }
820 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
821 ABSL_ATTRIBUTE_LIFETIME_BOUND {
822 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
823 }
824
825 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
826 return GetDescriptor();
827 }
828 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
829 return default_instance().GetMetadata().descriptor;
831 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
832 return default_instance().GetMetadata().reflection;
834 static const PerRecipeDelays& default_instance() {
835 return *reinterpret_cast<const PerRecipeDelays*>(
837 }
838 static constexpr int kIndexInFileMessages = 2;
839 friend void swap(PerRecipeDelays& a, PerRecipeDelays& b) { a.Swap(&b); }
840 inline void Swap(PerRecipeDelays* PROTOBUF_NONNULL other) {
841 if (other == this) return;
842 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
843 InternalSwap(other);
844 } else {
845 ::google::protobuf::internal::GenericSwap(this, other);
846 }
847 }
848 void UnsafeArenaSwap(PerRecipeDelays* PROTOBUF_NONNULL other) {
849 if (other == this) return;
850 ABSL_DCHECK(GetArena() == other->GetArena());
851 InternalSwap(other);
852 }
854 // implements Message ----------------------------------------------
855
856 PerRecipeDelays* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
857 return ::google::protobuf::Message::DefaultConstruct<PerRecipeDelays>(arena);
858 }
859 using ::google::protobuf::Message::CopyFrom;
860 void CopyFrom(const PerRecipeDelays& from);
861 using ::google::protobuf::Message::MergeFrom;
862 void MergeFrom(const PerRecipeDelays& from) { PerRecipeDelays::MergeImpl(*this, from); }
863
864 private:
865 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
866 const ::google::protobuf::MessageLite& from_msg);
868 public:
869 bool IsInitialized() const {
870 return true;
871 }
872 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
873 #if defined(PROTOBUF_CUSTOM_VTABLE)
874 private:
875 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
876 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
877 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
878 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
879
880 public:
881 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
882 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
883 ::uint8_t* PROTOBUF_NONNULL target,
884 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
885 return _InternalSerialize(*this, target, stream);
886 }
887 #else // PROTOBUF_CUSTOM_VTABLE
888 ::size_t ByteSizeLong() const final;
889 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
890 ::uint8_t* PROTOBUF_NONNULL target,
891 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
892 #endif // PROTOBUF_CUSTOM_VTABLE
893 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
894
895 private:
896 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
897 static void SharedDtor(MessageLite& self);
898 void InternalSwap(PerRecipeDelays* PROTOBUF_NONNULL other);
899 private:
900 template <typename T>
901 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
902 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.PerRecipeDelays"; }
903
904 protected:
905 explicit PerRecipeDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
906 PerRecipeDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PerRecipeDelays& from);
908 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PerRecipeDelays&& from) noexcept
909 : PerRecipeDelays(arena) {
910 *this = ::std::move(from);
911 }
912 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
913 static void* PROTOBUF_NONNULL PlacementNew_(
914 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
915 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
916 static constexpr auto InternalNewImpl_();
917
918 public:
919 static constexpr auto InternalGenerateClassData_();
920
921 ::google::protobuf::Metadata GetMetadata() const;
922 // nested types ----------------------------------------------------
923
924 // accessors -------------------------------------------------------
925 enum : int {
927 };
928 // repeated int32 min_delays = 1;
929 int min_delays_size() const;
930 private:
931 int _internal_min_delays_size() const;
932
933 public:
934 void clear_min_delays() ;
935 ::int32_t min_delays(int index) const;
936 void set_min_delays(int index, ::int32_t value);
937 void add_min_delays(::int32_t value);
938 const ::google::protobuf::RepeatedField<::int32_t>& min_delays() const;
939 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_min_delays();
940
941 private:
942 const ::google::protobuf::RepeatedField<::int32_t>& _internal_min_delays() const;
943 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_min_delays();
944
945 public:
946 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.PerRecipeDelays)
947 private:
948 class _Internal;
949 friend class ::google::protobuf::internal::TcParser;
950 static const ::google::protobuf::internal::TcParseTable<0, 1,
951 0, 0,
952 2>
953 _table_;
955 friend class ::google::protobuf::MessageLite;
956 friend class ::google::protobuf::Arena;
957 template <typename T>
958 friend class ::google::protobuf::Arena::InternalHelper;
959 using InternalArenaConstructable_ = void;
960 using DestructorSkippable_ = void;
961 struct Impl_ {
962 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
963 inline explicit Impl_(
964 ::google::protobuf::internal::InternalVisibility visibility,
965 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
966 inline explicit Impl_(
967 ::google::protobuf::internal::InternalVisibility visibility,
968 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
969 const PerRecipeDelays& from_msg);
970 ::google::protobuf::RepeatedField<::int32_t> min_delays_;
971 ::google::protobuf::internal::CachedSize _min_delays_cached_byte_size_;
972 ::google::protobuf::internal::CachedSize _cached_size_;
973 PROTOBUF_TSAN_DECLARE_MEMBER
974 };
975 union { Impl_ _impl_; };
976 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
977};
978
979OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull PerRecipeDelays_class_data_;
980// -------------------------------------------------------------------
982class OR_PROTO_DLL PerSuccessorDelays final : public ::google::protobuf::Message
983/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.PerSuccessorDelays) */ {
984 public:
985 inline PerSuccessorDelays() : PerSuccessorDelays(nullptr) {}
986 ~PerSuccessorDelays() PROTOBUF_FINAL;
987
988#if defined(PROTOBUF_CUSTOM_VTABLE)
989 void operator delete(PerSuccessorDelays* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
990 SharedDtor(*msg);
991 ::google::protobuf::internal::SizedDelete(msg, sizeof(PerSuccessorDelays));
992 }
993#endif
994
995 template <typename = void>
996 explicit PROTOBUF_CONSTEXPR PerSuccessorDelays(::google::protobuf::internal::ConstantInitialized);
997
998 inline PerSuccessorDelays(const PerSuccessorDelays& from) : PerSuccessorDelays(nullptr, from) {}
999 inline PerSuccessorDelays(PerSuccessorDelays&& from) noexcept
1000 : PerSuccessorDelays(nullptr, ::std::move(from)) {}
1001 inline PerSuccessorDelays& operator=(const PerSuccessorDelays& from) {
1003 return *this;
1006 if (this == &from) return *this;
1007 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1008 InternalSwap(&from);
1009 } else {
1010 CopyFrom(from);
1012 return *this;
1013 }
1014
1015 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1016 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1017 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1018 }
1019 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1020 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1021 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1022 }
1023
1024 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1026 }
1027 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1028 return default_instance().GetMetadata().descriptor;
1029 }
1030 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1031 return default_instance().GetMetadata().reflection;
1032 }
1034 return *reinterpret_cast<const PerSuccessorDelays*>(
1037 static constexpr int kIndexInFileMessages = 3;
1038 friend void swap(PerSuccessorDelays& a, PerSuccessorDelays& b) { a.Swap(&b); }
1039 inline void Swap(PerSuccessorDelays* PROTOBUF_NONNULL other) {
1040 if (other == this) return;
1041 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1042 InternalSwap(other);
1043 } else {
1044 ::google::protobuf::internal::GenericSwap(this, other);
1046 }
1047 void UnsafeArenaSwap(PerSuccessorDelays* PROTOBUF_NONNULL other) {
1048 if (other == this) return;
1049 ABSL_DCHECK(GetArena() == other->GetArena());
1050 InternalSwap(other);
1051 }
1052
1053 // implements Message ----------------------------------------------
1054
1055 PerSuccessorDelays* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1056 return ::google::protobuf::Message::DefaultConstruct<PerSuccessorDelays>(arena);
1057 }
1058 using ::google::protobuf::Message::CopyFrom;
1059 void CopyFrom(const PerSuccessorDelays& from);
1060 using ::google::protobuf::Message::MergeFrom;
1061 void MergeFrom(const PerSuccessorDelays& from) { PerSuccessorDelays::MergeImpl(*this, from); }
1062
1063 private:
1064 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1065 const ::google::protobuf::MessageLite& from_msg);
1066
1067 public:
1068 bool IsInitialized() const {
1069 return true;
1070 }
1071 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1072 #if defined(PROTOBUF_CUSTOM_VTABLE)
1073 private:
1074 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1075 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1076 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1077 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1078
1079 public:
1080 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1081 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1082 ::uint8_t* PROTOBUF_NONNULL target,
1083 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1084 return _InternalSerialize(*this, target, stream);
1085 }
1086 #else // PROTOBUF_CUSTOM_VTABLE
1087 ::size_t ByteSizeLong() const final;
1088 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1089 ::uint8_t* PROTOBUF_NONNULL target,
1090 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1091 #endif // PROTOBUF_CUSTOM_VTABLE
1092 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1093
1094 private:
1095 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1096 static void SharedDtor(MessageLite& self);
1097 void InternalSwap(PerSuccessorDelays* PROTOBUF_NONNULL other);
1098 private:
1099 template <typename T>
1100 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1101 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.PerSuccessorDelays"; }
1102
1103 protected:
1104 explicit PerSuccessorDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1105 PerSuccessorDelays(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PerSuccessorDelays& from);
1107 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PerSuccessorDelays&& from) noexcept
1108 : PerSuccessorDelays(arena) {
1109 *this = ::std::move(from);
1110 }
1111 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1112 static void* PROTOBUF_NONNULL PlacementNew_(
1113 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1114 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1115 static constexpr auto InternalNewImpl_();
1116
1117 public:
1118 static constexpr auto InternalGenerateClassData_();
1119
1120 ::google::protobuf::Metadata GetMetadata() const;
1121 // nested types ----------------------------------------------------
1122
1123 // accessors -------------------------------------------------------
1124 enum : int {
1126 };
1127 // repeated .operations_research.scheduling.rcpsp.PerRecipeDelays recipe_delays = 1;
1128 int recipe_delays_size() const;
1129 private:
1130 int _internal_recipe_delays_size() const;
1132 public:
1133 void clear_recipe_delays() ;
1135 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL mutable_recipe_delays();
1136
1137 private:
1138 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>& _internal_recipe_delays() const;
1139 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL _internal_mutable_recipe_delays();
1140 public:
1141 const ::operations_research::scheduling::rcpsp::PerRecipeDelays& recipe_delays(int index) const;
1143 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>& recipe_delays() const;
1144 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.PerSuccessorDelays)
1145 private:
1146 class _Internal;
1147 friend class ::google::protobuf::internal::TcParser;
1148 static const ::google::protobuf::internal::TcParseTable<0, 1,
1149 1, 0,
1150 2>
1151 _table_;
1152
1153 friend class ::google::protobuf::MessageLite;
1154 friend class ::google::protobuf::Arena;
1155 template <typename T>
1156 friend class ::google::protobuf::Arena::InternalHelper;
1157 using InternalArenaConstructable_ = void;
1158 using DestructorSkippable_ = void;
1159 struct Impl_ {
1160 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1161 inline explicit Impl_(
1162 ::google::protobuf::internal::InternalVisibility visibility,
1163 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1164 inline explicit Impl_(
1165 ::google::protobuf::internal::InternalVisibility visibility,
1166 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1167 const PerSuccessorDelays& from_msg);
1168 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::PerRecipeDelays > recipe_delays_;
1169 ::google::protobuf::internal::CachedSize _cached_size_;
1170 PROTOBUF_TSAN_DECLARE_MEMBER
1171 };
1172 union { Impl_ _impl_; };
1173 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1174};
1175
1176OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull PerSuccessorDelays_class_data_;
1177// -------------------------------------------------------------------
1179class OR_PROTO_DLL Task final : public ::google::protobuf::Message
1180/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.Task) */ {
1181 public:
1182 inline Task() : Task(nullptr) {}
1183 ~Task() PROTOBUF_FINAL;
1184
1185#if defined(PROTOBUF_CUSTOM_VTABLE)
1186 void operator delete(Task* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1187 SharedDtor(*msg);
1188 ::google::protobuf::internal::SizedDelete(msg, sizeof(Task));
1190#endif
1191
1192 template <typename = void>
1193 explicit PROTOBUF_CONSTEXPR Task(::google::protobuf::internal::ConstantInitialized);
1194
1195 inline Task(const Task& from) : Task(nullptr, from) {}
1196 inline Task(Task&& from) noexcept
1197 : Task(nullptr, ::std::move(from)) {}
1198 inline Task& operator=(const Task& from) {
1199 CopyFrom(from);
1200 return *this;
1201 }
1202 inline Task& operator=(Task&& from) noexcept {
1203 if (this == &from) return *this;
1204 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1205 InternalSwap(&from);
1206 } else {
1207 CopyFrom(from);
1208 }
1209 return *this;
1210 }
1211
1212 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1213 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1214 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1215 }
1216 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1217 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1218 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1220
1221 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1222 return GetDescriptor();
1224 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1225 return default_instance().GetMetadata().descriptor;
1226 }
1227 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1228 return default_instance().GetMetadata().reflection;
1229 }
1230 static const Task& default_instance() {
1231 return *reinterpret_cast<const Task*>(
1233 }
1234 static constexpr int kIndexInFileMessages = 4;
1235 friend void swap(Task& a, Task& b) { a.Swap(&b); }
1236 inline void Swap(Task* PROTOBUF_NONNULL other) {
1237 if (other == this) return;
1238 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1239 InternalSwap(other);
1240 } else {
1241 ::google::protobuf::internal::GenericSwap(this, other);
1244 void UnsafeArenaSwap(Task* PROTOBUF_NONNULL other) {
1245 if (other == this) return;
1246 ABSL_DCHECK(GetArena() == other->GetArena());
1247 InternalSwap(other);
1248 }
1249
1250 // implements Message ----------------------------------------------
1252 Task* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1253 return ::google::protobuf::Message::DefaultConstruct<Task>(arena);
1254 }
1255 using ::google::protobuf::Message::CopyFrom;
1256 void CopyFrom(const Task& from);
1257 using ::google::protobuf::Message::MergeFrom;
1258 void MergeFrom(const Task& from) { Task::MergeImpl(*this, from); }
1260 private:
1261 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1262 const ::google::protobuf::MessageLite& from_msg);
1263
1264 public:
1265 bool IsInitialized() const {
1266 return true;
1267 }
1268 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1269 #if defined(PROTOBUF_CUSTOM_VTABLE)
1270 private:
1271 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1272 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1273 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1274 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1275
1276 public:
1277 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1278 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1279 ::uint8_t* PROTOBUF_NONNULL target,
1280 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1281 return _InternalSerialize(*this, target, stream);
1282 }
1283 #else // PROTOBUF_CUSTOM_VTABLE
1284 ::size_t ByteSizeLong() const final;
1285 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1286 ::uint8_t* PROTOBUF_NONNULL target,
1287 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1288 #endif // PROTOBUF_CUSTOM_VTABLE
1289 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1290
1291 private:
1292 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1293 static void SharedDtor(MessageLite& self);
1294 void InternalSwap(Task* PROTOBUF_NONNULL other);
1295 private:
1296 template <typename T>
1297 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1298 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.Task"; }
1299
1300 protected:
1301 explicit Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1302 Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Task& from);
1303 Task(
1304 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Task&& from) noexcept
1305 : Task(arena) {
1306 *this = ::std::move(from);
1307 }
1308 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1309 static void* PROTOBUF_NONNULL PlacementNew_(
1310 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1311 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1312 static constexpr auto InternalNewImpl_();
1313
1314 public:
1315 static constexpr auto InternalGenerateClassData_();
1316
1317 ::google::protobuf::Metadata GetMetadata() const;
1318 // nested types ----------------------------------------------------
1319
1320 // accessors -------------------------------------------------------
1321 enum : int {
1325 };
1326 // repeated int32 successors = 1;
1327 int successors_size() const;
1328 private:
1329 int _internal_successors_size() const;
1331 public:
1332 void clear_successors() ;
1333 ::int32_t successors(int index) const;
1334 void set_successors(int index, ::int32_t value);
1335 void add_successors(::int32_t value);
1336 const ::google::protobuf::RepeatedField<::int32_t>& successors() const;
1337 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_successors();
1338
1339 private:
1340 const ::google::protobuf::RepeatedField<::int32_t>& _internal_successors() const;
1341 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_successors();
1342
1343 public:
1344 // repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;
1345 int recipes_size() const;
1346 private:
1347 int _internal_recipes_size() const;
1348
1349 public:
1350 void clear_recipes() ;
1352 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL mutable_recipes();
1353
1354 private:
1355 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>& _internal_recipes() const;
1356 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL _internal_mutable_recipes();
1357 public:
1358 const ::operations_research::scheduling::rcpsp::Recipe& recipes(int index) const;
1360 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>& recipes() const;
1361 // repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;
1362 int successor_delays_size() const;
1363 private:
1364 int _internal_successor_delays_size() const;
1365
1366 public:
1367 void clear_successor_delays() ;
1369 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL mutable_successor_delays();
1370
1371 private:
1372 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>& _internal_successor_delays() const;
1373 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL _internal_mutable_successor_delays();
1374 public:
1375 const ::operations_research::scheduling::rcpsp::PerSuccessorDelays& successor_delays(int index) const;
1377 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>& successor_delays() const;
1378 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.Task)
1379 private:
1380 class _Internal;
1381 friend class ::google::protobuf::internal::TcParser;
1382 static const ::google::protobuf::internal::TcParseTable<2, 3,
1383 2, 0,
1384 2>
1385 _table_;
1386
1387 friend class ::google::protobuf::MessageLite;
1388 friend class ::google::protobuf::Arena;
1389 template <typename T>
1390 friend class ::google::protobuf::Arena::InternalHelper;
1391 using InternalArenaConstructable_ = void;
1392 using DestructorSkippable_ = void;
1393 struct Impl_ {
1394 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1395 inline explicit Impl_(
1396 ::google::protobuf::internal::InternalVisibility visibility,
1397 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1398 inline explicit Impl_(
1399 ::google::protobuf::internal::InternalVisibility visibility,
1400 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1401 const Task& from_msg);
1402 ::google::protobuf::RepeatedField<::int32_t> successors_;
1403 ::google::protobuf::internal::CachedSize _successors_cached_byte_size_;
1404 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::Recipe > recipes_;
1405 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::PerSuccessorDelays > successor_delays_;
1406 ::google::protobuf::internal::CachedSize _cached_size_;
1407 PROTOBUF_TSAN_DECLARE_MEMBER
1408 };
1409 union { Impl_ _impl_; };
1410 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1411};
1412
1413OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Task_class_data_;
1414// -------------------------------------------------------------------
1415
1416class OR_PROTO_DLL RcpspProblem final : public ::google::protobuf::Message
1417/* @@protoc_insertion_point(class_definition:operations_research.scheduling.rcpsp.RcpspProblem) */ {
1418 public:
1419 inline RcpspProblem() : RcpspProblem(nullptr) {}
1420 ~RcpspProblem() PROTOBUF_FINAL;
1421
1422#if defined(PROTOBUF_CUSTOM_VTABLE)
1423 void operator delete(RcpspProblem* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1424 SharedDtor(*msg);
1425 ::google::protobuf::internal::SizedDelete(msg, sizeof(RcpspProblem));
1426 }
1427#endif
1428
1429 template <typename = void>
1430 explicit PROTOBUF_CONSTEXPR RcpspProblem(::google::protobuf::internal::ConstantInitialized);
1431
1432 inline RcpspProblem(const RcpspProblem& from) : RcpspProblem(nullptr, from) {}
1433 inline RcpspProblem(RcpspProblem&& from) noexcept
1434 : RcpspProblem(nullptr, ::std::move(from)) {}
1435 inline RcpspProblem& operator=(const RcpspProblem& from) {
1436 CopyFrom(from);
1437 return *this;
1439 inline RcpspProblem& operator=(RcpspProblem&& from) noexcept {
1440 if (this == &from) return *this;
1441 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1442 InternalSwap(&from);
1443 } else {
1444 CopyFrom(from);
1445 }
1446 return *this;
1448
1449 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1450 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1451 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1452 }
1453 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1454 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1455 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1456 }
1458 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1459 return GetDescriptor();
1460 }
1461 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1462 return default_instance().GetMetadata().descriptor;
1463 }
1464 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1465 return default_instance().GetMetadata().reflection;
1467 static const RcpspProblem& default_instance() {
1468 return *reinterpret_cast<const RcpspProblem*>(
1470 }
1471 static constexpr int kIndexInFileMessages = 5;
1472 friend void swap(RcpspProblem& a, RcpspProblem& b) { a.Swap(&b); }
1473 inline void Swap(RcpspProblem* PROTOBUF_NONNULL other) {
1474 if (other == this) return;
1475 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1476 InternalSwap(other);
1477 } else {
1478 ::google::protobuf::internal::GenericSwap(this, other);
1481 void UnsafeArenaSwap(RcpspProblem* PROTOBUF_NONNULL other) {
1482 if (other == this) return;
1483 ABSL_DCHECK(GetArena() == other->GetArena());
1484 InternalSwap(other);
1485 }
1486
1487 // implements Message ----------------------------------------------
1488
1489 RcpspProblem* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1490 return ::google::protobuf::Message::DefaultConstruct<RcpspProblem>(arena);
1491 }
1492 using ::google::protobuf::Message::CopyFrom;
1493 void CopyFrom(const RcpspProblem& from);
1494 using ::google::protobuf::Message::MergeFrom;
1495 void MergeFrom(const RcpspProblem& from) { RcpspProblem::MergeImpl(*this, from); }
1496
1497 private:
1498 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1499 const ::google::protobuf::MessageLite& from_msg);
1500
1501 public:
1502 bool IsInitialized() const {
1503 return true;
1504 }
1505 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1506 #if defined(PROTOBUF_CUSTOM_VTABLE)
1507 private:
1508 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1509 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1510 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1511 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1512
1513 public:
1514 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1515 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1516 ::uint8_t* PROTOBUF_NONNULL target,
1517 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1518 return _InternalSerialize(*this, target, stream);
1519 }
1520 #else // PROTOBUF_CUSTOM_VTABLE
1521 ::size_t ByteSizeLong() const final;
1522 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1523 ::uint8_t* PROTOBUF_NONNULL target,
1524 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1525 #endif // PROTOBUF_CUSTOM_VTABLE
1526 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1527
1528 private:
1529 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1530 static void SharedDtor(MessageLite& self);
1531 void InternalSwap(RcpspProblem* PROTOBUF_NONNULL other);
1532 private:
1533 template <typename T>
1535 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.rcpsp.RcpspProblem"; }
1536
1537 protected:
1538 explicit RcpspProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1539 RcpspProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RcpspProblem& from);
1541 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RcpspProblem&& from) noexcept
1542 : RcpspProblem(arena) {
1543 *this = ::std::move(from);
1544 }
1545 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1546 static void* PROTOBUF_NONNULL PlacementNew_(
1547 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1548 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1549 static constexpr auto InternalNewImpl_();
1550
1551 public:
1552 static constexpr auto InternalGenerateClassData_();
1553
1554 ::google::protobuf::Metadata GetMetadata() const;
1555 // nested types ----------------------------------------------------
1556
1557 // accessors -------------------------------------------------------
1558 enum : int {
1562 kNameFieldNumber = 14,
1574 // repeated .operations_research.scheduling.rcpsp.Resource resources = 1;
1575 int resources_size() const;
1576 private:
1577 int _internal_resources_size() const;
1579 public:
1582 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL mutable_resources();
1583
1584 private:
1585 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>& _internal_resources() const;
1586 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL _internal_mutable_resources();
1587 public:
1588 const ::operations_research::scheduling::rcpsp::Resource& resources(int index) const;
1590 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>& resources() const;
1591 // repeated .operations_research.scheduling.rcpsp.Task tasks = 2;
1592 int tasks_size() const;
1593 private:
1594 int _internal_tasks_size() const;
1595
1596 public:
1597 void clear_tasks() ;
1599 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL mutable_tasks();
1600
1601 private:
1602 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>& _internal_tasks() const;
1603 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL _internal_mutable_tasks();
1604 public:
1605 const ::operations_research::scheduling::rcpsp::Task& tasks(int index) const;
1607 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>& tasks() const;
1608 // string basedata = 12;
1609 void clear_basedata() ;
1610 const ::std::string& basedata() const;
1611 template <typename Arg_ = const ::std::string&, typename... Args_>
1612 void set_basedata(Arg_&& arg, Args_... args);
1613 ::std::string* PROTOBUF_NONNULL mutable_basedata();
1614 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_basedata();
1615 void set_allocated_basedata(::std::string* PROTOBUF_NULLABLE value);
1616
1617 private:
1618 const ::std::string& _internal_basedata() const;
1619 PROTOBUF_ALWAYS_INLINE void _internal_set_basedata(const ::std::string& value);
1620 ::std::string* PROTOBUF_NONNULL _internal_mutable_basedata();
1621
1622 public:
1623 // string name = 14;
1624 void clear_name() ;
1625 const ::std::string& name() const;
1626 template <typename Arg_ = const ::std::string&, typename... Args_>
1627 void set_name(Arg_&& arg, Args_... args);
1628 ::std::string* PROTOBUF_NONNULL mutable_name();
1629 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1630 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1631
1632 private:
1633 const ::std::string& _internal_name() const;
1634 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1635 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1636
1637 public:
1638 // bool is_consumer_producer = 3;
1640 bool is_consumer_producer() const;
1641 void set_is_consumer_producer(bool value);
1642
1643 private:
1644 bool _internal_is_consumer_producer() const;
1645 void _internal_set_is_consumer_producer(bool value);
1646
1647 public:
1648 // bool is_resource_investment = 4;
1650 bool is_resource_investment() const;
1651 void set_is_resource_investment(bool value);
1652
1653 private:
1654 bool _internal_is_resource_investment() const;
1655 void _internal_set_is_resource_investment(bool value);
1656
1657 public:
1658 // bool is_rcpsp_max = 5;
1659 void clear_is_rcpsp_max() ;
1660 bool is_rcpsp_max() const;
1661 void set_is_rcpsp_max(bool value);
1662
1663 private:
1664 bool _internal_is_rcpsp_max() const;
1665 void _internal_set_is_rcpsp_max(bool value);
1666
1667 public:
1668 // int32 deadline = 6;
1669 void clear_deadline() ;
1670 ::int32_t deadline() const;
1671 void set_deadline(::int32_t value);
1672
1673 private:
1674 ::int32_t _internal_deadline() const;
1675 void _internal_set_deadline(::int32_t value);
1676
1677 public:
1678 // int32 horizon = 7;
1679 void clear_horizon() ;
1680 ::int32_t horizon() const;
1681 void set_horizon(::int32_t value);
1682
1683 private:
1684 ::int32_t _internal_horizon() const;
1685 void _internal_set_horizon(::int32_t value);
1686
1687 public:
1688 // int32 release_date = 8;
1689 void clear_release_date() ;
1690 ::int32_t release_date() const;
1691 void set_release_date(::int32_t value);
1692
1693 private:
1694 ::int32_t _internal_release_date() const;
1695 void _internal_set_release_date(::int32_t value);
1696
1697 public:
1698 // int32 tardiness_cost = 9;
1699 void clear_tardiness_cost() ;
1700 ::int32_t tardiness_cost() const;
1701 void set_tardiness_cost(::int32_t value);
1702
1703 private:
1704 ::int32_t _internal_tardiness_cost() const;
1705 void _internal_set_tardiness_cost(::int32_t value);
1706
1707 public:
1708 // int32 mpm_time = 10;
1709 void clear_mpm_time() ;
1710 ::int32_t mpm_time() const;
1711 void set_mpm_time(::int32_t value);
1712
1713 private:
1714 ::int32_t _internal_mpm_time() const;
1715 void _internal_set_mpm_time(::int32_t value);
1716
1717 public:
1718 // int64 seed = 11;
1719 void clear_seed() ;
1720 ::int64_t seed() const;
1721 void set_seed(::int64_t value);
1722
1723 private:
1724 ::int64_t _internal_seed() const;
1725 void _internal_set_seed(::int64_t value);
1726
1727 public:
1728 // int32 due_date = 13;
1729 void clear_due_date() ;
1730 ::int32_t due_date() const;
1731 void set_due_date(::int32_t value);
1732
1733 private:
1734 ::int32_t _internal_due_date() const;
1735 void _internal_set_due_date(::int32_t value);
1736
1737 public:
1738 // @@protoc_insertion_point(class_scope:operations_research.scheduling.rcpsp.RcpspProblem)
1739 private:
1740 class _Internal;
1741 friend class ::google::protobuf::internal::TcParser;
1742 static const ::google::protobuf::internal::TcParseTable<4, 14,
1743 2, 78,
1744 2>
1745 _table_;
1746
1747 friend class ::google::protobuf::MessageLite;
1748 friend class ::google::protobuf::Arena;
1749 template <typename T>
1750 friend class ::google::protobuf::Arena::InternalHelper;
1751 using InternalArenaConstructable_ = void;
1752 using DestructorSkippable_ = void;
1753 struct Impl_ {
1754 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1755 inline explicit Impl_(
1756 ::google::protobuf::internal::InternalVisibility visibility,
1757 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1758 inline explicit Impl_(
1759 ::google::protobuf::internal::InternalVisibility visibility,
1760 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1761 const RcpspProblem& from_msg);
1762 ::google::protobuf::internal::HasBits<1> _has_bits_;
1763 ::google::protobuf::internal::CachedSize _cached_size_;
1764 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::Resource > resources_;
1765 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::rcpsp::Task > tasks_;
1766 ::google::protobuf::internal::ArenaStringPtr basedata_;
1767 ::google::protobuf::internal::ArenaStringPtr name_;
1768 bool is_consumer_producer_;
1769 bool is_resource_investment_;
1770 bool is_rcpsp_max_;
1771 ::int32_t deadline_;
1772 ::int32_t horizon_;
1773 ::int32_t release_date_;
1774 ::int32_t tardiness_cost_;
1775 ::int32_t mpm_time_;
1776 ::int64_t seed_;
1777 ::int32_t due_date_;
1778 PROTOBUF_TSAN_DECLARE_MEMBER
1779 };
1780 union { Impl_ _impl_; };
1781 friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto;
1782};
1783
1784OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RcpspProblem_class_data_;
1785
1786// ===================================================================
1787
1790
1791// ===================================================================
1792
1793
1794#ifdef __GNUC__
1795#pragma GCC diagnostic push
1796#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1797#endif // __GNUC__
1798// -------------------------------------------------------------------
1799
1800// Resource
1801
1802// int32 max_capacity = 1;
1803inline void Resource::clear_max_capacity() {
1804 ::google::protobuf::internal::TSanWrite(&_impl_);
1805 _impl_.max_capacity_ = 0;
1806 _impl_._has_bits_[0] &= ~0x00000001u;
1807}
1808inline ::int32_t Resource::max_capacity() const {
1809 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Resource.max_capacity)
1810 return _internal_max_capacity();
1811}
1812inline void Resource::set_max_capacity(::int32_t value) {
1813 _internal_set_max_capacity(value);
1814 _impl_._has_bits_[0] |= 0x00000001u;
1815 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Resource.max_capacity)
1816}
1817inline ::int32_t Resource::_internal_max_capacity() const {
1818 ::google::protobuf::internal::TSanRead(&_impl_);
1819 return _impl_.max_capacity_;
1820}
1821inline void Resource::_internal_set_max_capacity(::int32_t value) {
1822 ::google::protobuf::internal::TSanWrite(&_impl_);
1823 _impl_.max_capacity_ = value;
1824}
1825
1826// int32 min_capacity = 2;
1827inline void Resource::clear_min_capacity() {
1828 ::google::protobuf::internal::TSanWrite(&_impl_);
1829 _impl_.min_capacity_ = 0;
1830 _impl_._has_bits_[0] &= ~0x00000002u;
1831}
1832inline ::int32_t Resource::min_capacity() const {
1833 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Resource.min_capacity)
1834 return _internal_min_capacity();
1835}
1836inline void Resource::set_min_capacity(::int32_t value) {
1837 _internal_set_min_capacity(value);
1838 _impl_._has_bits_[0] |= 0x00000002u;
1839 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Resource.min_capacity)
1840}
1841inline ::int32_t Resource::_internal_min_capacity() const {
1842 ::google::protobuf::internal::TSanRead(&_impl_);
1843 return _impl_.min_capacity_;
1844}
1845inline void Resource::_internal_set_min_capacity(::int32_t value) {
1846 ::google::protobuf::internal::TSanWrite(&_impl_);
1847 _impl_.min_capacity_ = value;
1848}
1849
1850// bool renewable = 3;
1851inline void Resource::clear_renewable() {
1852 ::google::protobuf::internal::TSanWrite(&_impl_);
1853 _impl_.renewable_ = false;
1854 _impl_._has_bits_[0] &= ~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 _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 _impl_._has_bits_[0] &= ~0x00000008u;
1879}
1880inline ::int32_t Resource::unit_cost() const {
1881 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Resource.unit_cost)
1882 return _internal_unit_cost();
1883}
1884inline void Resource::set_unit_cost(::int32_t value) {
1885 _internal_set_unit_cost(value);
1886 _impl_._has_bits_[0] |= 0x00000008u;
1887 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Resource.unit_cost)
1888}
1889inline ::int32_t Resource::_internal_unit_cost() const {
1890 ::google::protobuf::internal::TSanRead(&_impl_);
1891 return _impl_.unit_cost_;
1892}
1893inline void Resource::_internal_set_unit_cost(::int32_t value) {
1894 ::google::protobuf::internal::TSanWrite(&_impl_);
1895 _impl_.unit_cost_ = value;
1896}
1897
1898// -------------------------------------------------------------------
1899
1900// Recipe
1901
1902// int32 duration = 1;
1903inline void Recipe::clear_duration() {
1904 ::google::protobuf::internal::TSanWrite(&_impl_);
1905 _impl_.duration_ = 0;
1906 _impl_._has_bits_[0] &= ~0x00000001u;
1907}
1908inline ::int32_t Recipe::duration() const {
1909 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Recipe.duration)
1910 return _internal_duration();
1911}
1912inline void Recipe::set_duration(::int32_t value) {
1913 _internal_set_duration(value);
1914 _impl_._has_bits_[0] |= 0x00000001u;
1915 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Recipe.duration)
1916}
1917inline ::int32_t Recipe::_internal_duration() const {
1918 ::google::protobuf::internal::TSanRead(&_impl_);
1919 return _impl_.duration_;
1921inline void Recipe::_internal_set_duration(::int32_t value) {
1922 ::google::protobuf::internal::TSanWrite(&_impl_);
1923 _impl_.duration_ = value;
1925
1926// repeated int32 demands = 2;
1927inline int Recipe::_internal_demands_size() const {
1928 return _internal_demands().size();
1929}
1930inline int Recipe::demands_size() const {
1931 return _internal_demands_size();
1932}
1933inline void Recipe::clear_demands() {
1934 ::google::protobuf::internal::TSanWrite(&_impl_);
1935 _impl_.demands_.Clear();
1936}
1937inline ::int32_t Recipe::demands(int index) const {
1938 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Recipe.demands)
1939 return _internal_demands().Get(index);
1940}
1941inline void Recipe::set_demands(int index, ::int32_t value) {
1942 _internal_mutable_demands()->Set(index, value);
1943 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Recipe.demands)
1944}
1945inline void Recipe::add_demands(::int32_t value) {
1946 ::google::protobuf::internal::TSanWrite(&_impl_);
1947 _internal_mutable_demands()->Add(value);
1948 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Recipe.demands)
1950inline const ::google::protobuf::RepeatedField<::int32_t>& Recipe::demands() const
1951 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1952 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Recipe.demands)
1953 return _internal_demands();
1954}
1955inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL Recipe::mutable_demands()
1956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1957 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Recipe.demands)
1958 ::google::protobuf::internal::TSanWrite(&_impl_);
1959 return _internal_mutable_demands();
1960}
1961inline const ::google::protobuf::RepeatedField<::int32_t>&
1962Recipe::_internal_demands() const {
1963 ::google::protobuf::internal::TSanRead(&_impl_);
1964 return _impl_.demands_;
1965}
1966inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1967Recipe::_internal_mutable_demands() {
1968 ::google::protobuf::internal::TSanRead(&_impl_);
1969 return &_impl_.demands_;
1970}
1971
1972// repeated int32 resources = 3;
1973inline int Recipe::_internal_resources_size() const {
1974 return _internal_resources().size();
1975}
1976inline int Recipe::resources_size() const {
1977 return _internal_resources_size();
1978}
1979inline void Recipe::clear_resources() {
1980 ::google::protobuf::internal::TSanWrite(&_impl_);
1981 _impl_.resources_.Clear();
1982}
1983inline ::int32_t Recipe::resources(int index) const {
1984 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Recipe.resources)
1985 return _internal_resources().Get(index);
1986}
1987inline void Recipe::set_resources(int index, ::int32_t value) {
1988 _internal_mutable_resources()->Set(index, value);
1989 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Recipe.resources)
1990}
1991inline void Recipe::add_resources(::int32_t value) {
1992 ::google::protobuf::internal::TSanWrite(&_impl_);
1993 _internal_mutable_resources()->Add(value);
1994 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Recipe.resources)
1996inline const ::google::protobuf::RepeatedField<::int32_t>& Recipe::resources() const
1997 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1998 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Recipe.resources)
1999 return _internal_resources();
2000}
2001inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL Recipe::mutable_resources()
2002 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2003 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Recipe.resources)
2004 ::google::protobuf::internal::TSanWrite(&_impl_);
2005 return _internal_mutable_resources();
2006}
2007inline const ::google::protobuf::RepeatedField<::int32_t>&
2008Recipe::_internal_resources() const {
2009 ::google::protobuf::internal::TSanRead(&_impl_);
2010 return _impl_.resources_;
2011}
2012inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2013Recipe::_internal_mutable_resources() {
2014 ::google::protobuf::internal::TSanRead(&_impl_);
2015 return &_impl_.resources_;
2016}
2017
2018// -------------------------------------------------------------------
2019
2020// PerRecipeDelays
2021
2022// repeated int32 min_delays = 1;
2023inline int PerRecipeDelays::_internal_min_delays_size() const {
2024 return _internal_min_delays().size();
2025}
2026inline int PerRecipeDelays::min_delays_size() const {
2027 return _internal_min_delays_size();
2028}
2030 ::google::protobuf::internal::TSanWrite(&_impl_);
2031 _impl_.min_delays_.Clear();
2032}
2033inline ::int32_t PerRecipeDelays::min_delays(int index) const {
2034 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2035 return _internal_min_delays().Get(index);
2036}
2037inline void PerRecipeDelays::set_min_delays(int index, ::int32_t value) {
2038 _internal_mutable_min_delays()->Set(index, value);
2039 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2040}
2041inline void PerRecipeDelays::add_min_delays(::int32_t value) {
2042 ::google::protobuf::internal::TSanWrite(&_impl_);
2043 _internal_mutable_min_delays()->Add(value);
2044 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2045}
2046inline const ::google::protobuf::RepeatedField<::int32_t>& PerRecipeDelays::min_delays() const
2047 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2048 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2049 return _internal_min_delays();
2051inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL PerRecipeDelays::mutable_min_delays()
2052 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2053 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.PerRecipeDelays.min_delays)
2054 ::google::protobuf::internal::TSanWrite(&_impl_);
2055 return _internal_mutable_min_delays();
2056}
2057inline const ::google::protobuf::RepeatedField<::int32_t>&
2058PerRecipeDelays::_internal_min_delays() const {
2059 ::google::protobuf::internal::TSanRead(&_impl_);
2060 return _impl_.min_delays_;
2061}
2062inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2063PerRecipeDelays::_internal_mutable_min_delays() {
2064 ::google::protobuf::internal::TSanRead(&_impl_);
2065 return &_impl_.min_delays_;
2066}
2067
2068// -------------------------------------------------------------------
2069
2070// PerSuccessorDelays
2071
2072// repeated .operations_research.scheduling.rcpsp.PerRecipeDelays recipe_delays = 1;
2073inline int PerSuccessorDelays::_internal_recipe_delays_size() const {
2074 return _internal_recipe_delays().size();
2075}
2076inline int PerSuccessorDelays::recipe_delays_size() const {
2077 return _internal_recipe_delays_size();
2078}
2080 ::google::protobuf::internal::TSanWrite(&_impl_);
2081 _impl_.recipe_delays_.Clear();
2082}
2083inline ::operations_research::scheduling::rcpsp::PerRecipeDelays* PROTOBUF_NONNULL PerSuccessorDelays::mutable_recipe_delays(int index)
2084 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2085 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
2086 return _internal_mutable_recipe_delays()->Mutable(index);
2087}
2088inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL PerSuccessorDelays::mutable_recipe_delays()
2089 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2090 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
2091 ::google::protobuf::internal::TSanWrite(&_impl_);
2092 return _internal_mutable_recipe_delays();
2094inline const ::operations_research::scheduling::rcpsp::PerRecipeDelays& PerSuccessorDelays::recipe_delays(int index) const
2095 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2096 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
2097 return _internal_recipe_delays().Get(index);
2098}
2099inline ::operations_research::scheduling::rcpsp::PerRecipeDelays* PROTOBUF_NONNULL PerSuccessorDelays::add_recipe_delays()
2100 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2101 ::google::protobuf::internal::TSanWrite(&_impl_);
2102 ::operations_research::scheduling::rcpsp::PerRecipeDelays* _add = _internal_mutable_recipe_delays()->Add();
2103 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
2104 return _add;
2105}
2106inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>& PerSuccessorDelays::recipe_delays() const
2107 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2108 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.PerSuccessorDelays.recipe_delays)
2109 return _internal_recipe_delays();
2110}
2111inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>&
2112PerSuccessorDelays::_internal_recipe_delays() const {
2113 ::google::protobuf::internal::TSanRead(&_impl_);
2114 return _impl_.recipe_delays_;
2115}
2116inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays>* PROTOBUF_NONNULL
2117PerSuccessorDelays::_internal_mutable_recipe_delays() {
2118 ::google::protobuf::internal::TSanRead(&_impl_);
2119 return &_impl_.recipe_delays_;
2121
2122// -------------------------------------------------------------------
2123
2124// Task
2125
2126// repeated int32 successors = 1;
2127inline int Task::_internal_successors_size() const {
2128 return _internal_successors().size();
2129}
2130inline int Task::successors_size() const {
2131 return _internal_successors_size();
2132}
2133inline void Task::clear_successors() {
2134 ::google::protobuf::internal::TSanWrite(&_impl_);
2135 _impl_.successors_.Clear();
2136}
2137inline ::int32_t Task::successors(int index) const {
2138 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Task.successors)
2139 return _internal_successors().Get(index);
2140}
2141inline void Task::set_successors(int index, ::int32_t value) {
2142 _internal_mutable_successors()->Set(index, value);
2143 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Task.successors)
2144}
2145inline void Task::add_successors(::int32_t value) {
2146 ::google::protobuf::internal::TSanWrite(&_impl_);
2147 _internal_mutable_successors()->Add(value);
2148 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Task.successors)
2149}
2150inline const ::google::protobuf::RepeatedField<::int32_t>& Task::successors() const
2151 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2152 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Task.successors)
2153 return _internal_successors();
2154}
2155inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL Task::mutable_successors()
2156 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2157 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Task.successors)
2158 ::google::protobuf::internal::TSanWrite(&_impl_);
2159 return _internal_mutable_successors();
2161inline const ::google::protobuf::RepeatedField<::int32_t>&
2162Task::_internal_successors() const {
2163 ::google::protobuf::internal::TSanRead(&_impl_);
2164 return _impl_.successors_;
2166inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2167Task::_internal_mutable_successors() {
2168 ::google::protobuf::internal::TSanRead(&_impl_);
2169 return &_impl_.successors_;
2171
2172// repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;
2173inline int Task::_internal_recipes_size() const {
2174 return _internal_recipes().size();
2175}
2176inline int Task::recipes_size() const {
2177 return _internal_recipes_size();
2178}
2179inline void Task::clear_recipes() {
2180 ::google::protobuf::internal::TSanWrite(&_impl_);
2181 _impl_.recipes_.Clear();
2182}
2183inline ::operations_research::scheduling::rcpsp::Recipe* PROTOBUF_NONNULL Task::mutable_recipes(int index)
2184 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2185 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.Task.recipes)
2186 return _internal_mutable_recipes()->Mutable(index);
2187}
2188inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL Task::mutable_recipes()
2189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2190 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Task.recipes)
2191 ::google::protobuf::internal::TSanWrite(&_impl_);
2192 return _internal_mutable_recipes();
2193}
2194inline const ::operations_research::scheduling::rcpsp::Recipe& Task::recipes(int index) const
2195 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2196 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Task.recipes)
2197 return _internal_recipes().Get(index);
2199inline ::operations_research::scheduling::rcpsp::Recipe* PROTOBUF_NONNULL Task::add_recipes()
2200 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2201 ::google::protobuf::internal::TSanWrite(&_impl_);
2202 ::operations_research::scheduling::rcpsp::Recipe* _add = _internal_mutable_recipes()->Add();
2203 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Task.recipes)
2204 return _add;
2205}
2206inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>& Task::recipes() const
2207 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2208 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Task.recipes)
2209 return _internal_recipes();
2210}
2211inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>&
2212Task::_internal_recipes() const {
2213 ::google::protobuf::internal::TSanRead(&_impl_);
2214 return _impl_.recipes_;
2215}
2216inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe>* PROTOBUF_NONNULL
2217Task::_internal_mutable_recipes() {
2218 ::google::protobuf::internal::TSanRead(&_impl_);
2219 return &_impl_.recipes_;
2220}
2222// repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;
2223inline int Task::_internal_successor_delays_size() const {
2224 return _internal_successor_delays().size();
2225}
2226inline int Task::successor_delays_size() const {
2227 return _internal_successor_delays_size();
2228}
2229inline void Task::clear_successor_delays() {
2230 ::google::protobuf::internal::TSanWrite(&_impl_);
2231 _impl_.successor_delays_.Clear();
2232}
2233inline ::operations_research::scheduling::rcpsp::PerSuccessorDelays* PROTOBUF_NONNULL Task::mutable_successor_delays(int index)
2234 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2235 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.Task.successor_delays)
2236 return _internal_mutable_successor_delays()->Mutable(index);
2237}
2238inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL Task::mutable_successor_delays()
2239 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2240 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Task.successor_delays)
2241 ::google::protobuf::internal::TSanWrite(&_impl_);
2242 return _internal_mutable_successor_delays();
2243}
2244inline const ::operations_research::scheduling::rcpsp::PerSuccessorDelays& Task::successor_delays(int index) const
2245 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2246 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Task.successor_delays)
2247 return _internal_successor_delays().Get(index);
2249inline ::operations_research::scheduling::rcpsp::PerSuccessorDelays* PROTOBUF_NONNULL Task::add_successor_delays()
2250 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2251 ::google::protobuf::internal::TSanWrite(&_impl_);
2252 ::operations_research::scheduling::rcpsp::PerSuccessorDelays* _add = _internal_mutable_successor_delays()->Add();
2253 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Task.successor_delays)
2254 return _add;
2255}
2256inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>& Task::successor_delays() const
2257 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2258 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Task.successor_delays)
2259 return _internal_successor_delays();
2260}
2261inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>&
2262Task::_internal_successor_delays() const {
2263 ::google::protobuf::internal::TSanRead(&_impl_);
2264 return _impl_.successor_delays_;
2265}
2266inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays>* PROTOBUF_NONNULL
2267Task::_internal_mutable_successor_delays() {
2268 ::google::protobuf::internal::TSanRead(&_impl_);
2269 return &_impl_.successor_delays_;
2270}
2272// -------------------------------------------------------------------
2273
2274// RcpspProblem
2275
2276// repeated .operations_research.scheduling.rcpsp.Resource resources = 1;
2277inline int RcpspProblem::_internal_resources_size() const {
2278 return _internal_resources().size();
2279}
2280inline int RcpspProblem::resources_size() const {
2281 return _internal_resources_size();
2282}
2283inline void RcpspProblem::clear_resources() {
2284 ::google::protobuf::internal::TSanWrite(&_impl_);
2285 _impl_.resources_.Clear();
2286}
2287inline ::operations_research::scheduling::rcpsp::Resource* PROTOBUF_NONNULL RcpspProblem::mutable_resources(int index)
2288 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2289 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2290 return _internal_mutable_resources()->Mutable(index);
2291}
2292inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL RcpspProblem::mutable_resources()
2293 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2294 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2295 ::google::protobuf::internal::TSanWrite(&_impl_);
2296 return _internal_mutable_resources();
2297}
2298inline const ::operations_research::scheduling::rcpsp::Resource& RcpspProblem::resources(int index) const
2299 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2300 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2301 return _internal_resources().Get(index);
2302}
2303inline ::operations_research::scheduling::rcpsp::Resource* PROTOBUF_NONNULL RcpspProblem::add_resources()
2304 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2305 ::google::protobuf::internal::TSanWrite(&_impl_);
2306 ::operations_research::scheduling::rcpsp::Resource* _add = _internal_mutable_resources()->Add();
2307 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2308 return _add;
2309}
2310inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>& RcpspProblem::resources() const
2311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2312 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.RcpspProblem.resources)
2313 return _internal_resources();
2315inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>&
2316RcpspProblem::_internal_resources() const {
2317 ::google::protobuf::internal::TSanRead(&_impl_);
2318 return _impl_.resources_;
2320inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource>* PROTOBUF_NONNULL
2321RcpspProblem::_internal_mutable_resources() {
2322 ::google::protobuf::internal::TSanRead(&_impl_);
2323 return &_impl_.resources_;
2324}
2325
2326// repeated .operations_research.scheduling.rcpsp.Task tasks = 2;
2327inline int RcpspProblem::_internal_tasks_size() const {
2328 return _internal_tasks().size();
2329}
2330inline int RcpspProblem::tasks_size() const {
2331 return _internal_tasks_size();
2332}
2333inline void RcpspProblem::clear_tasks() {
2334 ::google::protobuf::internal::TSanWrite(&_impl_);
2335 _impl_.tasks_.Clear();
2336}
2337inline ::operations_research::scheduling::rcpsp::Task* PROTOBUF_NONNULL RcpspProblem::mutable_tasks(int index)
2338 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2339 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2340 return _internal_mutable_tasks()->Mutable(index);
2341}
2342inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL RcpspProblem::mutable_tasks()
2343 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2344 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2345 ::google::protobuf::internal::TSanWrite(&_impl_);
2346 return _internal_mutable_tasks();
2347}
2348inline const ::operations_research::scheduling::rcpsp::Task& RcpspProblem::tasks(int index) const
2349 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2350 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2351 return _internal_tasks().Get(index);
2352}
2353inline ::operations_research::scheduling::rcpsp::Task* PROTOBUF_NONNULL RcpspProblem::add_tasks()
2354 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2355 ::google::protobuf::internal::TSanWrite(&_impl_);
2356 ::operations_research::scheduling::rcpsp::Task* _add = _internal_mutable_tasks()->Add();
2357 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2358 return _add;
2359}
2360inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>& RcpspProblem::tasks() const
2361 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2362 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.RcpspProblem.tasks)
2363 return _internal_tasks();
2365inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>&
2366RcpspProblem::_internal_tasks() const {
2367 ::google::protobuf::internal::TSanRead(&_impl_);
2368 return _impl_.tasks_;
2370inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task>* PROTOBUF_NONNULL
2371RcpspProblem::_internal_mutable_tasks() {
2372 ::google::protobuf::internal::TSanRead(&_impl_);
2373 return &_impl_.tasks_;
2374}
2375
2376// bool is_consumer_producer = 3;
2378 ::google::protobuf::internal::TSanWrite(&_impl_);
2379 _impl_.is_consumer_producer_ = false;
2380 _impl_._has_bits_[0] &= ~0x00000004u;
2381}
2382inline bool RcpspProblem::is_consumer_producer() const {
2383 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.is_consumer_producer)
2384 return _internal_is_consumer_producer();
2385}
2386inline void RcpspProblem::set_is_consumer_producer(bool value) {
2387 _internal_set_is_consumer_producer(value);
2388 _impl_._has_bits_[0] |= 0x00000004u;
2389 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.is_consumer_producer)
2390}
2391inline bool RcpspProblem::_internal_is_consumer_producer() const {
2392 ::google::protobuf::internal::TSanRead(&_impl_);
2393 return _impl_.is_consumer_producer_;
2394}
2395inline void RcpspProblem::_internal_set_is_consumer_producer(bool value) {
2396 ::google::protobuf::internal::TSanWrite(&_impl_);
2397 _impl_.is_consumer_producer_ = value;
2399
2400// bool is_resource_investment = 4;
2402 ::google::protobuf::internal::TSanWrite(&_impl_);
2403 _impl_.is_resource_investment_ = false;
2404 _impl_._has_bits_[0] &= ~0x00000008u;
2405}
2406inline bool RcpspProblem::is_resource_investment() const {
2407 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.is_resource_investment)
2408 return _internal_is_resource_investment();
2409}
2410inline void RcpspProblem::set_is_resource_investment(bool value) {
2411 _internal_set_is_resource_investment(value);
2412 _impl_._has_bits_[0] |= 0x00000008u;
2413 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.is_resource_investment)
2414}
2415inline bool RcpspProblem::_internal_is_resource_investment() const {
2416 ::google::protobuf::internal::TSanRead(&_impl_);
2417 return _impl_.is_resource_investment_;
2418}
2419inline void RcpspProblem::_internal_set_is_resource_investment(bool value) {
2420 ::google::protobuf::internal::TSanWrite(&_impl_);
2421 _impl_.is_resource_investment_ = value;
2423
2424// bool is_rcpsp_max = 5;
2426 ::google::protobuf::internal::TSanWrite(&_impl_);
2427 _impl_.is_rcpsp_max_ = false;
2428 _impl_._has_bits_[0] &= ~0x00000010u;
2429}
2430inline bool RcpspProblem::is_rcpsp_max() const {
2431 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.is_rcpsp_max)
2432 return _internal_is_rcpsp_max();
2433}
2434inline void RcpspProblem::set_is_rcpsp_max(bool value) {
2435 _internal_set_is_rcpsp_max(value);
2436 _impl_._has_bits_[0] |= 0x00000010u;
2437 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.is_rcpsp_max)
2438}
2439inline bool RcpspProblem::_internal_is_rcpsp_max() const {
2440 ::google::protobuf::internal::TSanRead(&_impl_);
2441 return _impl_.is_rcpsp_max_;
2442}
2443inline void RcpspProblem::_internal_set_is_rcpsp_max(bool value) {
2444 ::google::protobuf::internal::TSanWrite(&_impl_);
2445 _impl_.is_rcpsp_max_ = value;
2447
2448// int32 deadline = 6;
2449inline void RcpspProblem::clear_deadline() {
2450 ::google::protobuf::internal::TSanWrite(&_impl_);
2451 _impl_.deadline_ = 0;
2452 _impl_._has_bits_[0] &= ~0x00000020u;
2453}
2454inline ::int32_t RcpspProblem::deadline() const {
2455 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.deadline)
2456 return _internal_deadline();
2457}
2458inline void RcpspProblem::set_deadline(::int32_t value) {
2459 _internal_set_deadline(value);
2460 _impl_._has_bits_[0] |= 0x00000020u;
2461 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.deadline)
2462}
2463inline ::int32_t RcpspProblem::_internal_deadline() const {
2464 ::google::protobuf::internal::TSanRead(&_impl_);
2465 return _impl_.deadline_;
2466}
2467inline void RcpspProblem::_internal_set_deadline(::int32_t value) {
2468 ::google::protobuf::internal::TSanWrite(&_impl_);
2469 _impl_.deadline_ = value;
2471
2472// int32 horizon = 7;
2473inline void RcpspProblem::clear_horizon() {
2474 ::google::protobuf::internal::TSanWrite(&_impl_);
2475 _impl_.horizon_ = 0;
2476 _impl_._has_bits_[0] &= ~0x00000040u;
2477}
2478inline ::int32_t RcpspProblem::horizon() const {
2479 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.horizon)
2480 return _internal_horizon();
2481}
2482inline void RcpspProblem::set_horizon(::int32_t value) {
2483 _internal_set_horizon(value);
2484 _impl_._has_bits_[0] |= 0x00000040u;
2485 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.horizon)
2486}
2487inline ::int32_t RcpspProblem::_internal_horizon() const {
2488 ::google::protobuf::internal::TSanRead(&_impl_);
2489 return _impl_.horizon_;
2490}
2491inline void RcpspProblem::_internal_set_horizon(::int32_t value) {
2492 ::google::protobuf::internal::TSanWrite(&_impl_);
2493 _impl_.horizon_ = value;
2495
2496// int32 release_date = 8;
2498 ::google::protobuf::internal::TSanWrite(&_impl_);
2499 _impl_.release_date_ = 0;
2500 _impl_._has_bits_[0] &= ~0x00000080u;
2501}
2502inline ::int32_t RcpspProblem::release_date() const {
2503 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.release_date)
2504 return _internal_release_date();
2505}
2506inline void RcpspProblem::set_release_date(::int32_t value) {
2507 _internal_set_release_date(value);
2508 _impl_._has_bits_[0] |= 0x00000080u;
2509 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.release_date)
2510}
2511inline ::int32_t RcpspProblem::_internal_release_date() const {
2512 ::google::protobuf::internal::TSanRead(&_impl_);
2513 return _impl_.release_date_;
2514}
2515inline void RcpspProblem::_internal_set_release_date(::int32_t value) {
2516 ::google::protobuf::internal::TSanWrite(&_impl_);
2517 _impl_.release_date_ = value;
2519
2520// int32 tardiness_cost = 9;
2522 ::google::protobuf::internal::TSanWrite(&_impl_);
2523 _impl_.tardiness_cost_ = 0;
2524 _impl_._has_bits_[0] &= ~0x00000100u;
2525}
2526inline ::int32_t RcpspProblem::tardiness_cost() const {
2527 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.tardiness_cost)
2528 return _internal_tardiness_cost();
2529}
2530inline void RcpspProblem::set_tardiness_cost(::int32_t value) {
2531 _internal_set_tardiness_cost(value);
2532 _impl_._has_bits_[0] |= 0x00000100u;
2533 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.tardiness_cost)
2534}
2535inline ::int32_t RcpspProblem::_internal_tardiness_cost() const {
2536 ::google::protobuf::internal::TSanRead(&_impl_);
2537 return _impl_.tardiness_cost_;
2538}
2539inline void RcpspProblem::_internal_set_tardiness_cost(::int32_t value) {
2540 ::google::protobuf::internal::TSanWrite(&_impl_);
2541 _impl_.tardiness_cost_ = value;
2543
2544// int32 mpm_time = 10;
2545inline void RcpspProblem::clear_mpm_time() {
2546 ::google::protobuf::internal::TSanWrite(&_impl_);
2547 _impl_.mpm_time_ = 0;
2548 _impl_._has_bits_[0] &= ~0x00000200u;
2549}
2550inline ::int32_t RcpspProblem::mpm_time() const {
2551 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.mpm_time)
2552 return _internal_mpm_time();
2553}
2554inline void RcpspProblem::set_mpm_time(::int32_t value) {
2555 _internal_set_mpm_time(value);
2556 _impl_._has_bits_[0] |= 0x00000200u;
2557 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.mpm_time)
2558}
2559inline ::int32_t RcpspProblem::_internal_mpm_time() const {
2560 ::google::protobuf::internal::TSanRead(&_impl_);
2561 return _impl_.mpm_time_;
2562}
2563inline void RcpspProblem::_internal_set_mpm_time(::int32_t value) {
2564 ::google::protobuf::internal::TSanWrite(&_impl_);
2565 _impl_.mpm_time_ = value;
2567
2568// int64 seed = 11;
2569inline void RcpspProblem::clear_seed() {
2570 ::google::protobuf::internal::TSanWrite(&_impl_);
2571 _impl_.seed_ = ::int64_t{0};
2572 _impl_._has_bits_[0] &= ~0x00000400u;
2573}
2574inline ::int64_t RcpspProblem::seed() const {
2575 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.seed)
2576 return _internal_seed();
2577}
2578inline void RcpspProblem::set_seed(::int64_t value) {
2579 _internal_set_seed(value);
2580 _impl_._has_bits_[0] |= 0x00000400u;
2581 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.seed)
2582}
2583inline ::int64_t RcpspProblem::_internal_seed() const {
2584 ::google::protobuf::internal::TSanRead(&_impl_);
2585 return _impl_.seed_;
2586}
2587inline void RcpspProblem::_internal_set_seed(::int64_t value) {
2588 ::google::protobuf::internal::TSanWrite(&_impl_);
2589 _impl_.seed_ = value;
2591
2592// string basedata = 12;
2593inline void RcpspProblem::clear_basedata() {
2594 ::google::protobuf::internal::TSanWrite(&_impl_);
2595 _impl_.basedata_.ClearToEmpty();
2596 _impl_._has_bits_[0] &= ~0x00000001u;
2597}
2598inline const ::std::string& RcpspProblem::basedata() const
2599 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2600 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2601 return _internal_basedata();
2602}
2603template <typename Arg_, typename... Args_>
2604PROTOBUF_ALWAYS_INLINE void RcpspProblem::set_basedata(Arg_&& arg, Args_... args) {
2605 ::google::protobuf::internal::TSanWrite(&_impl_);
2606 _impl_._has_bits_[0] |= 0x00000001u;
2607 _impl_.basedata_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2608 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2610inline ::std::string* PROTOBUF_NONNULL RcpspProblem::mutable_basedata()
2611 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2612 ::std::string* _s = _internal_mutable_basedata();
2613 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2614 return _s;
2615}
2616inline const ::std::string& RcpspProblem::_internal_basedata() const {
2617 ::google::protobuf::internal::TSanRead(&_impl_);
2618 return _impl_.basedata_.Get();
2619}
2620inline void RcpspProblem::_internal_set_basedata(const ::std::string& value) {
2621 ::google::protobuf::internal::TSanWrite(&_impl_);
2622 _impl_._has_bits_[0] |= 0x00000001u;
2623 _impl_.basedata_.Set(value, GetArena());
2624}
2625inline ::std::string* PROTOBUF_NONNULL RcpspProblem::_internal_mutable_basedata() {
2626 ::google::protobuf::internal::TSanWrite(&_impl_);
2627 _impl_._has_bits_[0] |= 0x00000001u;
2628 return _impl_.basedata_.Mutable( GetArena());
2629}
2630inline ::std::string* PROTOBUF_NULLABLE RcpspProblem::release_basedata() {
2631 ::google::protobuf::internal::TSanWrite(&_impl_);
2632 // @@protoc_insertion_point(field_release:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2633 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
2634 return nullptr;
2635 }
2636 _impl_._has_bits_[0] &= ~0x00000001u;
2637 auto* released = _impl_.basedata_.Release();
2638 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2639 _impl_.basedata_.Set("", GetArena());
2640 }
2641 return released;
2642}
2643inline void RcpspProblem::set_allocated_basedata(::std::string* PROTOBUF_NULLABLE value) {
2644 ::google::protobuf::internal::TSanWrite(&_impl_);
2645 if (value != nullptr) {
2646 _impl_._has_bits_[0] |= 0x00000001u;
2647 } else {
2648 _impl_._has_bits_[0] &= ~0x00000001u;
2649 }
2650 _impl_.basedata_.SetAllocated(value, GetArena());
2651 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.basedata_.IsDefault()) {
2652 _impl_.basedata_.Set("", GetArena());
2653 }
2654 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.rcpsp.RcpspProblem.basedata)
2655}
2656
2657// int32 due_date = 13;
2658inline void RcpspProblem::clear_due_date() {
2659 ::google::protobuf::internal::TSanWrite(&_impl_);
2660 _impl_.due_date_ = 0;
2661 _impl_._has_bits_[0] &= ~0x00000800u;
2662}
2663inline ::int32_t RcpspProblem::due_date() const {
2664 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.due_date)
2665 return _internal_due_date();
2666}
2667inline void RcpspProblem::set_due_date(::int32_t value) {
2668 _internal_set_due_date(value);
2669 _impl_._has_bits_[0] |= 0x00000800u;
2670 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.due_date)
2671}
2672inline ::int32_t RcpspProblem::_internal_due_date() const {
2673 ::google::protobuf::internal::TSanRead(&_impl_);
2674 return _impl_.due_date_;
2675}
2676inline void RcpspProblem::_internal_set_due_date(::int32_t value) {
2677 ::google::protobuf::internal::TSanWrite(&_impl_);
2678 _impl_.due_date_ = value;
2680
2681// string name = 14;
2682inline void RcpspProblem::clear_name() {
2683 ::google::protobuf::internal::TSanWrite(&_impl_);
2684 _impl_.name_.ClearToEmpty();
2685 _impl_._has_bits_[0] &= ~0x00000002u;
2686}
2687inline const ::std::string& RcpspProblem::name() const
2688 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2689 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspProblem.name)
2690 return _internal_name();
2691}
2692template <typename Arg_, typename... Args_>
2693PROTOBUF_ALWAYS_INLINE void RcpspProblem::set_name(Arg_&& arg, Args_... args) {
2694 ::google::protobuf::internal::TSanWrite(&_impl_);
2695 _impl_._has_bits_[0] |= 0x00000002u;
2696 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2697 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspProblem.name)
2699inline ::std::string* PROTOBUF_NONNULL RcpspProblem::mutable_name()
2700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2701 ::std::string* _s = _internal_mutable_name();
2702 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.RcpspProblem.name)
2703 return _s;
2704}
2705inline const ::std::string& RcpspProblem::_internal_name() const {
2706 ::google::protobuf::internal::TSanRead(&_impl_);
2707 return _impl_.name_.Get();
2708}
2709inline void RcpspProblem::_internal_set_name(const ::std::string& value) {
2710 ::google::protobuf::internal::TSanWrite(&_impl_);
2711 _impl_._has_bits_[0] |= 0x00000002u;
2712 _impl_.name_.Set(value, GetArena());
2713}
2714inline ::std::string* PROTOBUF_NONNULL RcpspProblem::_internal_mutable_name() {
2715 ::google::protobuf::internal::TSanWrite(&_impl_);
2716 _impl_._has_bits_[0] |= 0x00000002u;
2717 return _impl_.name_.Mutable( GetArena());
2718}
2719inline ::std::string* PROTOBUF_NULLABLE RcpspProblem::release_name() {
2720 ::google::protobuf::internal::TSanWrite(&_impl_);
2721 // @@protoc_insertion_point(field_release:operations_research.scheduling.rcpsp.RcpspProblem.name)
2722 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
2723 return nullptr;
2724 }
2725 _impl_._has_bits_[0] &= ~0x00000002u;
2726 auto* released = _impl_.name_.Release();
2727 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2728 _impl_.name_.Set("", GetArena());
2729 }
2730 return released;
2731}
2732inline void RcpspProblem::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
2733 ::google::protobuf::internal::TSanWrite(&_impl_);
2734 if (value != nullptr) {
2735 _impl_._has_bits_[0] |= 0x00000002u;
2736 } else {
2737 _impl_._has_bits_[0] &= ~0x00000002u;
2738 }
2739 _impl_.name_.SetAllocated(value, GetArena());
2740 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2741 _impl_.name_.Set("", GetArena());
2742 }
2743 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.rcpsp.RcpspProblem.name)
2744}
2745
2746// -------------------------------------------------------------------
2747
2748// RcpspAssignment
2749
2750// repeated int64 start_of_task = 1;
2751inline int RcpspAssignment::_internal_start_of_task_size() const {
2752 return _internal_start_of_task().size();
2753}
2754inline int RcpspAssignment::start_of_task_size() const {
2755 return _internal_start_of_task_size();
2756}
2758 ::google::protobuf::internal::TSanWrite(&_impl_);
2759 _impl_.start_of_task_.Clear();
2760}
2761inline ::int64_t RcpspAssignment::start_of_task(int index) const {
2762 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
2763 return _internal_start_of_task().Get(index);
2764}
2765inline void RcpspAssignment::set_start_of_task(int index, ::int64_t value) {
2766 _internal_mutable_start_of_task()->Set(index, value);
2767 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
2768}
2769inline void RcpspAssignment::add_start_of_task(::int64_t value) {
2770 ::google::protobuf::internal::TSanWrite(&_impl_);
2771 _internal_mutable_start_of_task()->Add(value);
2772 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
2773}
2774inline const ::google::protobuf::RepeatedField<::int64_t>& RcpspAssignment::start_of_task() const
2775 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2776 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
2777 return _internal_start_of_task();
2779inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL RcpspAssignment::mutable_start_of_task()
2780 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2781 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.RcpspAssignment.start_of_task)
2782 ::google::protobuf::internal::TSanWrite(&_impl_);
2783 return _internal_mutable_start_of_task();
2784}
2785inline const ::google::protobuf::RepeatedField<::int64_t>&
2786RcpspAssignment::_internal_start_of_task() const {
2787 ::google::protobuf::internal::TSanRead(&_impl_);
2788 return _impl_.start_of_task_;
2789}
2790inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2791RcpspAssignment::_internal_mutable_start_of_task() {
2792 ::google::protobuf::internal::TSanRead(&_impl_);
2793 return &_impl_.start_of_task_;
2794}
2795
2796// repeated int32 selected_recipe_of_task = 2;
2797inline int RcpspAssignment::_internal_selected_recipe_of_task_size() const {
2798 return _internal_selected_recipe_of_task().size();
2799}
2801 return _internal_selected_recipe_of_task_size();
2802}
2804 ::google::protobuf::internal::TSanWrite(&_impl_);
2805 _impl_.selected_recipe_of_task_.Clear();
2806}
2807inline ::int32_t RcpspAssignment::selected_recipe_of_task(int index) const {
2808 // @@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
2809 return _internal_selected_recipe_of_task().Get(index);
2810}
2811inline void RcpspAssignment::set_selected_recipe_of_task(int index, ::int32_t value) {
2812 _internal_mutable_selected_recipe_of_task()->Set(index, value);
2813 // @@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
2814}
2815inline void RcpspAssignment::add_selected_recipe_of_task(::int32_t value) {
2816 ::google::protobuf::internal::TSanWrite(&_impl_);
2817 _internal_mutable_selected_recipe_of_task()->Add(value);
2818 // @@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
2819}
2820inline const ::google::protobuf::RepeatedField<::int32_t>& RcpspAssignment::selected_recipe_of_task() const
2821 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2822 // @@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
2823 return _internal_selected_recipe_of_task();
2825inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL RcpspAssignment::mutable_selected_recipe_of_task()
2826 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2827 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.RcpspAssignment.selected_recipe_of_task)
2828 ::google::protobuf::internal::TSanWrite(&_impl_);
2829 return _internal_mutable_selected_recipe_of_task();
2830}
2831inline const ::google::protobuf::RepeatedField<::int32_t>&
2832RcpspAssignment::_internal_selected_recipe_of_task() const {
2833 ::google::protobuf::internal::TSanRead(&_impl_);
2834 return _impl_.selected_recipe_of_task_;
2835}
2836inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2837RcpspAssignment::_internal_mutable_selected_recipe_of_task() {
2838 ::google::protobuf::internal::TSanRead(&_impl_);
2839 return &_impl_.selected_recipe_of_task_;
2840}
2841
2842#ifdef __GNUC__
2843#pragma GCC diagnostic pop
2844#endif // __GNUC__
2845
2846// @@protoc_insertion_point(namespace_scope)
2847} // namespace rcpsp
2848} // namespace scheduling
2849} // namespace operations_research
2850
2851
2852// @@protoc_insertion_point(global_scope)
2853
2854#include "google/protobuf/port_undef.inc"
2855
2856#endif // ortools_2fscheduling_2frcpsp_2eproto_2epb_2eh
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_min_delays()
Definition rcpsp.pb.h:2064
friend void swap(PerRecipeDelays &a, PerRecipeDelays &b)
Definition rcpsp.pb.h:844
const ::google::protobuf::RepeatedField<::int32_t > & min_delays() const
Definition rcpsp.pb.h:2059
PerRecipeDelays & operator=(const PerRecipeDelays &from)
Definition rcpsp.pb.h:807
void Swap(PerRecipeDelays *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:845
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
Definition rcpsp.pb.cc:1151
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
Definition rcpsp.pb.cc:1102
void set_min_delays(int index, ::int32_t value)
Definition rcpsp.pb.h:2050
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:833
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition rcpsp.pb.h:830
int min_delays_size() const
repeated int32 min_delays = 1;
Definition rcpsp.pb.h:2039
void MergeFrom(const PerRecipeDelays &from)
Definition rcpsp.pb.h:867
PerRecipeDelays *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition rcpsp.pb.h:861
::google::protobuf::Metadata GetMetadata() const
Definition rcpsp.pb.cc:1288
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:821
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:1207
void CopyFrom(const PerSuccessorDelays &from)
Definition rcpsp.pb.cc:1527
const ::operations_research::scheduling::rcpsp::PerRecipeDelays & recipe_delays(int index) const
Definition rcpsp.pb.h:2108
PerSuccessorDelays *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition rcpsp.pb.h:1061
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays > & recipe_delays() const
Definition rcpsp.pb.h:2120
::operations_research::scheduling::rcpsp::PerRecipeDelays *PROTOBUF_NONNULL add_recipe_delays()
Definition rcpsp.pb.h:2113
::operations_research::scheduling::rcpsp::PerRecipeDelays *PROTOBUF_NONNULL mutable_recipe_delays(int index)
Definition rcpsp.pb.h:2097
PerSuccessorDelays & operator=(const PerSuccessorDelays &from)
Definition rcpsp.pb.h:1007
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:1033
void MergeFrom(const PerSuccessorDelays &from)
Definition rcpsp.pb.h:1067
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition rcpsp.pb.h:1036
void Swap(PerSuccessorDelays *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:1045
int recipe_delays_size() const
repeated .operations_research.scheduling.rcpsp.PerRecipeDelays recipe_delays = 1;
Definition rcpsp.pb.h:2090
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:1457
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
Definition rcpsp.pb.cc:1350
::google::protobuf::Metadata GetMetadata() const
Definition rcpsp.pb.cc:1541
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerRecipeDelays > *PROTOBUF_NONNULL mutable_recipe_delays()
Definition rcpsp.pb.h:2102
static const PerSuccessorDelays & default_instance()
Definition rcpsp.pb.h:1039
friend class ::google::protobuf::MessageLite
Definition rcpsp.pb.h:758
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_selected_recipe_of_task()
Definition rcpsp.pb.h:2842
const ::google::protobuf::RepeatedField<::int64_t > & start_of_task() const
Definition rcpsp.pb.h:2791
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:604
PROTOBUF_CONSTEXPR RcpspAssignment(::google::protobuf::internal::ConstantInitialized)
RcpspAssignment & operator=(const RcpspAssignment &from)
Definition rcpsp.pb.h:586
friend void swap(RcpspAssignment &a, RcpspAssignment &b)
Definition rcpsp.pb.h:623
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_start_of_task()
Definition rcpsp.pb.h:2796
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:600
void set_selected_recipe_of_task(int index, ::int32_t value)
Definition rcpsp.pb.h:2828
int selected_recipe_of_task_size() const
repeated int32 selected_recipe_of_task = 2;
Definition rcpsp.pb.h:2817
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition rcpsp.pb.h:609
static const RcpspAssignment & default_instance()
Definition rcpsp.pb.h:618
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:2738
void Swap(RcpspAssignment *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:624
int start_of_task_size() const
repeated int64 start_of_task = 1;
Definition rcpsp.pb.h:2771
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:612
void MergeFrom(const RcpspAssignment &from)
Definition rcpsp.pb.h:646
const ::google::protobuf::RepeatedField<::int32_t > & selected_recipe_of_task() const
Definition rcpsp.pb.h:2837
void set_start_of_task(int index, ::int64_t value)
Definition rcpsp.pb.h:2782
void UnsafeArenaSwap(RcpspProblem *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:1489
::operations_research::scheduling::rcpsp::Task *PROTOBUF_NONNULL add_tasks()
Definition rcpsp.pb.h:2369
::operations_research::scheduling::rcpsp::Resource *PROTOBUF_NONNULL mutable_resources(int index)
Definition rcpsp.pb.h:2303
void clear_is_resource_investment()
bool is_resource_investment = 4;
Definition rcpsp.pb.h:2417
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource > & resources() const
Definition rcpsp.pb.h:2326
const ::operations_research::scheduling::rcpsp::Task & tasks(int index) const
Definition rcpsp.pb.h:2364
::operations_research::scheduling::rcpsp::Resource *PROTOBUF_NONNULL add_resources()
Definition rcpsp.pb.h:2319
void clear_tardiness_cost()
int32 tardiness_cost = 9;
Definition rcpsp.pb.h:2537
void Swap(RcpspProblem *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:1481
void set_allocated_basedata(::std::string *PROTOBUF_NULLABLE value)
Definition rcpsp.pb.h:2659
void clear_is_rcpsp_max()
bool is_rcpsp_max = 5;
Definition rcpsp.pb.h:2441
void set_basedata(Arg_ &&arg, Args_... args)
int tasks_size() const
repeated .operations_research.scheduling.rcpsp.Task tasks = 2;
Definition rcpsp.pb.h:2346
::std::string *PROTOBUF_NONNULL mutable_name()
Definition rcpsp.pb.h:2715
const ::operations_research::scheduling::rcpsp::Resource & resources(int index) const
Definition rcpsp.pb.h:2314
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task > *PROTOBUF_NONNULL mutable_tasks()
Definition rcpsp.pb.h:2358
RcpspProblem *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition rcpsp.pb.h:1497
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Resource > *PROTOBUF_NONNULL mutable_resources()
Definition rcpsp.pb.h:2308
::std::string *PROTOBUF_NULLABLE release_name()
Definition rcpsp.pb.h:2735
friend void swap(RcpspProblem &a, RcpspProblem &b)
Definition rcpsp.pb.h:1480
void clear_release_date()
int32 release_date = 8;
Definition rcpsp.pb.h:2513
static const RcpspProblem & default_instance()
Definition rcpsp.pb.h:1475
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:1469
::std::string *PROTOBUF_NONNULL mutable_basedata()
Definition rcpsp.pb.h:2626
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Task > & tasks() const
Definition rcpsp.pb.h:2376
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition rcpsp.pb.h:2748
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:1457
int resources_size() const
repeated .operations_research.scheduling.rcpsp.Resource resources = 1;
Definition rcpsp.pb.h:2296
::std::string *PROTOBUF_NULLABLE release_basedata()
Definition rcpsp.pb.h:2646
::google::protobuf::Metadata GetMetadata() const
Definition rcpsp.pb.cc:2554
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition rcpsp.pb.h:1466
::operations_research::scheduling::rcpsp::Task *PROTOBUF_NONNULL mutable_tasks(int index)
Definition rcpsp.pb.h:2353
void clear_is_consumer_producer()
bool is_consumer_producer = 3;
Definition rcpsp.pb.h:2393
friend class ::google::protobuf::MessageLite
Definition rcpsp.pb.h:535
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rcpsp.pb.h:366
int demands_size() const
repeated int32 demands = 2;
Definition rcpsp.pb.h:1942
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_demands()
Definition rcpsp.pb.h:1967
PROTOBUF_CONSTEXPR Recipe(::google::protobuf::internal::ConstantInitialized)
const ::google::protobuf::RepeatedField<::int32_t > & resources() const
Definition rcpsp.pb.h:2008
const ::google::protobuf::RepeatedField<::int32_t > & demands() const
Definition rcpsp.pb.h:1962
void set_demands(int index, ::int32_t value)
Definition rcpsp.pb.h:1953
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition rcpsp.pb.cc:891
int resources_size() const
repeated int32 resources = 3;
Definition rcpsp.pb.h:1988
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition rcpsp.pb.h:378
void set_resources(int index, ::int32_t value)
Definition rcpsp.pb.h:1999
Recipe & operator=(const Recipe &from)
Definition rcpsp.pb.h:352
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition rcpsp.pb.h:381
void Swap(Recipe *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:390
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:911
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_resources()
Definition rcpsp.pb.h:2013
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:302
Resource & operator=(const Resource &from)
Definition rcpsp.pb.h:124
Resource(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, Resource &&from) noexcept
Definition rcpsp.pb.h:229
void clear_max_capacity()
int32 max_capacity = 1;
Definition rcpsp.pb.h:1814
void Swap(Resource *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:162
PROTOBUF_CONSTEXPR Resource(::google::protobuf::internal::ConstantInitialized)
void clear_min_capacity()
int32 min_capacity = 2;
Definition rcpsp.pb.h:1838
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_successors()
Definition rcpsp.pb.h:2170
int successor_delays_size() const
repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;
Definition rcpsp.pb.h:2241
int successors_size() const
repeated int32 successors = 1;
Definition rcpsp.pb.h:2145
::operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL add_recipes()
Definition rcpsp.pb.h:2214
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > *PROTOBUF_NONNULL mutable_successor_delays()
Definition rcpsp.pb.h:2253
void set_successors(int index, ::int32_t value)
Definition rcpsp.pb.h:2156
const ::google::protobuf::RepeatedField<::int32_t > & successors() const
Definition rcpsp.pb.h:2165
const ::operations_research::scheduling::rcpsp::Recipe & recipes(int index) const
Definition rcpsp.pb.h:2209
void Swap(Task *PROTOBUF_NONNULL other)
Definition rcpsp.pb.h:1243
int recipes_size() const
repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;
Definition rcpsp.pb.h:2191
::operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL add_successor_delays()
Definition rcpsp.pb.h:2264
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > *PROTOBUF_NONNULL mutable_recipes()
Definition rcpsp.pb.h:2203
::google::protobuf::Metadata GetMetadata() const
Definition rcpsp.pb.cc:1863
::int32_t successors(int index) const
Definition rcpsp.pb.h:2152
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > & recipes() const
Definition rcpsp.pb.h:2221
const ::operations_research::scheduling::rcpsp::PerSuccessorDelays & successor_delays(int index) const
Definition rcpsp.pb.h:2259
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > & successor_delays() const
Definition rcpsp.pb.h:2271
::operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL mutable_recipes(int index)
Definition rcpsp.pb.h:2198
static constexpr auto InternalGenerateClassData_()
Definition rcpsp.pb.cc:1638
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rcpsp.pb.cc:1740
friend void swap(Task &a, Task &b)
Definition rcpsp.pb.h:1242
Task *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition rcpsp.pb.h:1259
friend class ::google::protobuf::Arena
Definition rcpsp.pb.h:1395
::operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL mutable_successor_delays(int index)
Definition rcpsp.pb.h:2248
::absl::string_view GetAnyMessageName()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RcpspProblem_class_data_
Definition rcpsp.pb.cc:2000
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:1147
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:835
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Resource_class_data_
Definition rcpsp.pb.cc:469
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:2671
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PerSuccessorDelays_class_data_
Definition rcpsp.pb.cc:1395
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Task_class_data_
Definition rcpsp.pb.cc:1662
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2frcpsp_2eproto
Definition rcpsp.pb.cc:361
Internal implementation detail – do not use these members.
Definition rcpsp.pb.h:49