OR-Tools  8.2
rcpsp.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ortools/data/rcpsp.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fdata_2frcpsp_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ortools_2fdata_2frcpsp_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3014000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_ortools_2fdata_2frcpsp_2eproto
37 PROTOBUF_NAMESPACE_OPEN
38 namespace internal {
39 class AnyMetadata;
40 } // namespace internal
41 PROTOBUF_NAMESPACE_CLOSE
42 
43 // Internal implementation detail -- do not use these members.
45  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
46  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
47  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
48  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
49  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6]
50  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
52  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
54 };
55 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fdata_2frcpsp_2eproto;
56 namespace operations_research {
57 namespace data {
58 namespace rcpsp {
59 class PerRecipeDelays;
60 class PerRecipeDelaysDefaultTypeInternal;
62 class PerSuccessorDelays;
65 class RcpspProblem;
68 class Recipe;
71 class Resource;
74 class Task;
77 } // namespace rcpsp
78 } // namespace data
79 } // namespace operations_research
80 PROTOBUF_NAMESPACE_OPEN
81 template<> ::operations_research::data::rcpsp::PerRecipeDelays* Arena::CreateMaybeMessage<::operations_research::data::rcpsp::PerRecipeDelays>(Arena*);
82 template<> ::operations_research::data::rcpsp::PerSuccessorDelays* Arena::CreateMaybeMessage<::operations_research::data::rcpsp::PerSuccessorDelays>(Arena*);
83 template<> ::operations_research::data::rcpsp::RcpspProblem* Arena::CreateMaybeMessage<::operations_research::data::rcpsp::RcpspProblem>(Arena*);
84 template<> ::operations_research::data::rcpsp::Recipe* Arena::CreateMaybeMessage<::operations_research::data::rcpsp::Recipe>(Arena*);
85 template<> ::operations_research::data::rcpsp::Resource* Arena::CreateMaybeMessage<::operations_research::data::rcpsp::Resource>(Arena*);
86 template<> ::operations_research::data::rcpsp::Task* Arena::CreateMaybeMessage<::operations_research::data::rcpsp::Task>(Arena*);
87 PROTOBUF_NAMESPACE_CLOSE
88 namespace operations_research {
89 namespace data {
90 namespace rcpsp {
91 
92 // ===================================================================
93 
94 class Resource PROTOBUF_FINAL :
95  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.data.rcpsp.Resource) */ {
96  public:
97  inline Resource() : Resource(nullptr) {}
98  virtual ~Resource();
99 
100  Resource(const Resource& from);
101  Resource(Resource&& from) noexcept
102  : Resource() {
103  *this = ::std::move(from);
104  }
105 
106  inline Resource& operator=(const Resource& from) {
107  CopyFrom(from);
108  return *this;
109  }
110  inline Resource& operator=(Resource&& from) noexcept {
111  if (GetArena() == from.GetArena()) {
112  if (this != &from) InternalSwap(&from);
113  } else {
114  CopyFrom(from);
115  }
116  return *this;
117  }
118 
119  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
120  return GetDescriptor();
121  }
122  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
123  return GetMetadataStatic().descriptor;
124  }
125  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
126  return GetMetadataStatic().reflection;
127  }
128  static const Resource& default_instance();
129 
130  static inline const Resource* internal_default_instance() {
131  return reinterpret_cast<const Resource*>(
133  }
134  static constexpr int kIndexInFileMessages =
135  0;
136 
137  friend void swap(Resource& a, Resource& b) {
138  a.Swap(&b);
139  }
140  inline void Swap(Resource* other) {
141  if (other == this) return;
142  if (GetArena() == other->GetArena()) {
143  InternalSwap(other);
144  } else {
145  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
146  }
147  }
148  void UnsafeArenaSwap(Resource* other) {
149  if (other == this) return;
150  GOOGLE_DCHECK(GetArena() == other->GetArena());
151  InternalSwap(other);
152  }
153 
154  // implements Message ----------------------------------------------
155 
156  inline Resource* New() const final {
157  return CreateMaybeMessage<Resource>(nullptr);
158  }
159 
160  Resource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
161  return CreateMaybeMessage<Resource>(arena);
162  }
163  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
164  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
165  void CopyFrom(const Resource& from);
166  void MergeFrom(const Resource& from);
167  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
168  bool IsInitialized() const final;
169 
170  size_t ByteSizeLong() const final;
171  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
173  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174  int GetCachedSize() const final { return _cached_size_.Get(); }
175 
176  private:
177  inline void SharedCtor();
178  inline void SharedDtor();
179  void SetCachedSize(int size) const final;
180  void InternalSwap(Resource* other);
181  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183  return "operations_research.data.rcpsp.Resource";
184  }
185  protected:
186  explicit Resource(::PROTOBUF_NAMESPACE_ID::Arena* arena);
187  private:
188  static void ArenaDtor(void* object);
189  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
190  public:
191 
192  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
193  private:
194  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ortools_2fdata_2frcpsp_2eproto);
196  return ::descriptor_table_ortools_2fdata_2frcpsp_2eproto.file_level_metadata[kIndexInFileMessages];
197  }
198 
199  public:
200 
201  // nested types ----------------------------------------------------
202 
203  // accessors -------------------------------------------------------
204 
205  enum : int {
206  kMaxCapacityFieldNumber = 1,
207  kMinCapacityFieldNumber = 2,
208  kRenewableFieldNumber = 3,
209  kUnitCostFieldNumber = 4,
210  };
211  // int32 max_capacity = 1;
215  private:
216  ::PROTOBUF_NAMESPACE_ID::int32 _internal_max_capacity() const;
217  void _internal_set_max_capacity(::PROTOBUF_NAMESPACE_ID::int32 value);
218  public:
219 
220  // int32 min_capacity = 2;
224  private:
225  ::PROTOBUF_NAMESPACE_ID::int32 _internal_min_capacity() const;
226  void _internal_set_min_capacity(::PROTOBUF_NAMESPACE_ID::int32 value);
227  public:
228 
229  // bool renewable = 3;
231  bool renewable() const;
232  void set_renewable(bool value);
233  private:
234  bool _internal_renewable() const;
235  void _internal_set_renewable(bool value);
236  public:
237 
238  // int32 unit_cost = 4;
242  private:
243  ::PROTOBUF_NAMESPACE_ID::int32 _internal_unit_cost() const;
244  void _internal_set_unit_cost(::PROTOBUF_NAMESPACE_ID::int32 value);
245  public:
246 
247  // @@protoc_insertion_point(class_scope:operations_research.data.rcpsp.Resource)
248  private:
249  class _Internal;
250 
251  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
252  typedef void InternalArenaConstructable_;
253  typedef void DestructorSkippable_;
254  ::PROTOBUF_NAMESPACE_ID::int32 max_capacity_;
255  ::PROTOBUF_NAMESPACE_ID::int32 min_capacity_;
256  bool renewable_;
258  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
259  friend struct ::TableStruct_ortools_2fdata_2frcpsp_2eproto;
260 };
261 // -------------------------------------------------------------------
262 
263 class Recipe PROTOBUF_FINAL :
264  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.data.rcpsp.Recipe) */ {
265  public:
266  inline Recipe() : Recipe(nullptr) {}
267  virtual ~Recipe();
268 
269  Recipe(const Recipe& from);
270  Recipe(Recipe&& from) noexcept
271  : Recipe() {
272  *this = ::std::move(from);
273  }
274 
275  inline Recipe& operator=(const Recipe& from) {
276  CopyFrom(from);
277  return *this;
278  }
279  inline Recipe& operator=(Recipe&& from) noexcept {
280  if (GetArena() == from.GetArena()) {
281  if (this != &from) InternalSwap(&from);
282  } else {
283  CopyFrom(from);
284  }
285  return *this;
286  }
287 
288  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
289  return GetDescriptor();
290  }
291  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
292  return GetMetadataStatic().descriptor;
293  }
294  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
295  return GetMetadataStatic().reflection;
296  }
297  static const Recipe& default_instance();
298 
299  static inline const Recipe* internal_default_instance() {
300  return reinterpret_cast<const Recipe*>(
302  }
303  static constexpr int kIndexInFileMessages =
304  1;
305 
306  friend void swap(Recipe& a, Recipe& b) {
307  a.Swap(&b);
308  }
309  inline void Swap(Recipe* other) {
310  if (other == this) return;
311  if (GetArena() == other->GetArena()) {
312  InternalSwap(other);
313  } else {
314  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
315  }
316  }
317  void UnsafeArenaSwap(Recipe* other) {
318  if (other == this) return;
319  GOOGLE_DCHECK(GetArena() == other->GetArena());
320  InternalSwap(other);
321  }
322 
323  // implements Message ----------------------------------------------
324 
325  inline Recipe* New() const final {
326  return CreateMaybeMessage<Recipe>(nullptr);
327  }
328 
329  Recipe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
330  return CreateMaybeMessage<Recipe>(arena);
331  }
332  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
333  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
334  void CopyFrom(const Recipe& from);
335  void MergeFrom(const Recipe& from);
336  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
337  bool IsInitialized() const final;
338 
339  size_t ByteSizeLong() const final;
340  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
341  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
342  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
343  int GetCachedSize() const final { return _cached_size_.Get(); }
344 
345  private:
346  inline void SharedCtor();
347  inline void SharedDtor();
348  void SetCachedSize(int size) const final;
349  void InternalSwap(Recipe* other);
350  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
351  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
352  return "operations_research.data.rcpsp.Recipe";
353  }
354  protected:
355  explicit Recipe(::PROTOBUF_NAMESPACE_ID::Arena* arena);
356  private:
357  static void ArenaDtor(void* object);
358  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
359  public:
360 
361  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
362  private:
363  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
364  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ortools_2fdata_2frcpsp_2eproto);
365  return ::descriptor_table_ortools_2fdata_2frcpsp_2eproto.file_level_metadata[kIndexInFileMessages];
366  }
367 
368  public:
369 
370  // nested types ----------------------------------------------------
371 
372  // accessors -------------------------------------------------------
373 
374  enum : int {
375  kDemandsFieldNumber = 2,
376  kResourcesFieldNumber = 3,
377  kDurationFieldNumber = 1,
378  };
379  // repeated int32 demands = 2;
380  int demands_size() const;
381  private:
382  int _internal_demands_size() const;
383  public:
385  private:
386  ::PROTOBUF_NAMESPACE_ID::int32 _internal_demands(int index) const;
387  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
388  _internal_demands() const;
389  void _internal_add_demands(::PROTOBUF_NAMESPACE_ID::int32 value);
390  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
391  _internal_mutable_demands();
392  public:
396  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
397  demands() const;
398  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
400 
401  // repeated int32 resources = 3;
402  int resources_size() const;
403  private:
404  int _internal_resources_size() const;
405  public:
407  private:
408  ::PROTOBUF_NAMESPACE_ID::int32 _internal_resources(int index) const;
409  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
410  _internal_resources() const;
411  void _internal_add_resources(::PROTOBUF_NAMESPACE_ID::int32 value);
412  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
413  _internal_mutable_resources();
414  public:
418  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
419  resources() const;
420  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
422 
423  // int32 duration = 1;
427  private:
428  ::PROTOBUF_NAMESPACE_ID::int32 _internal_duration() const;
429  void _internal_set_duration(::PROTOBUF_NAMESPACE_ID::int32 value);
430  public:
431 
432  // @@protoc_insertion_point(class_scope:operations_research.data.rcpsp.Recipe)
433  private:
434  class _Internal;
435 
436  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
437  typedef void InternalArenaConstructable_;
438  typedef void DestructorSkippable_;
439  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > demands_;
440  mutable std::atomic<int> _demands_cached_byte_size_;
441  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > resources_;
442  mutable std::atomic<int> _resources_cached_byte_size_;
444  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
445  friend struct ::TableStruct_ortools_2fdata_2frcpsp_2eproto;
446 };
447 // -------------------------------------------------------------------
448 
449 class PerRecipeDelays PROTOBUF_FINAL :
450  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.data.rcpsp.PerRecipeDelays) */ {
451  public:
452  inline PerRecipeDelays() : PerRecipeDelays(nullptr) {}
453  virtual ~PerRecipeDelays();
454 
455  PerRecipeDelays(const PerRecipeDelays& from);
456  PerRecipeDelays(PerRecipeDelays&& from) noexcept
457  : PerRecipeDelays() {
458  *this = ::std::move(from);
459  }
460 
461  inline PerRecipeDelays& operator=(const PerRecipeDelays& from) {
462  CopyFrom(from);
463  return *this;
464  }
465  inline PerRecipeDelays& operator=(PerRecipeDelays&& from) noexcept {
466  if (GetArena() == from.GetArena()) {
467  if (this != &from) InternalSwap(&from);
468  } else {
469  CopyFrom(from);
470  }
471  return *this;
472  }
473 
474  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
475  return GetDescriptor();
476  }
477  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
478  return GetMetadataStatic().descriptor;
479  }
480  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
481  return GetMetadataStatic().reflection;
482  }
483  static const PerRecipeDelays& default_instance();
484 
485  static inline const PerRecipeDelays* internal_default_instance() {
486  return reinterpret_cast<const PerRecipeDelays*>(
488  }
489  static constexpr int kIndexInFileMessages =
490  2;
491 
492  friend void swap(PerRecipeDelays& a, PerRecipeDelays& b) {
493  a.Swap(&b);
494  }
495  inline void Swap(PerRecipeDelays* other) {
496  if (other == this) return;
497  if (GetArena() == other->GetArena()) {
498  InternalSwap(other);
499  } else {
500  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
501  }
502  }
503  void UnsafeArenaSwap(PerRecipeDelays* other) {
504  if (other == this) return;
505  GOOGLE_DCHECK(GetArena() == other->GetArena());
506  InternalSwap(other);
507  }
508 
509  // implements Message ----------------------------------------------
510 
511  inline PerRecipeDelays* New() const final {
512  return CreateMaybeMessage<PerRecipeDelays>(nullptr);
513  }
514 
515  PerRecipeDelays* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
516  return CreateMaybeMessage<PerRecipeDelays>(arena);
517  }
518  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
519  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
520  void CopyFrom(const PerRecipeDelays& from);
521  void MergeFrom(const PerRecipeDelays& from);
522  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
523  bool IsInitialized() const final;
524 
525  size_t ByteSizeLong() const final;
526  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
527  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
528  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
529  int GetCachedSize() const final { return _cached_size_.Get(); }
530 
531  private:
532  inline void SharedCtor();
533  inline void SharedDtor();
534  void SetCachedSize(int size) const final;
535  void InternalSwap(PerRecipeDelays* other);
536  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
537  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
538  return "operations_research.data.rcpsp.PerRecipeDelays";
539  }
540  protected:
541  explicit PerRecipeDelays(::PROTOBUF_NAMESPACE_ID::Arena* arena);
542  private:
543  static void ArenaDtor(void* object);
544  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
545  public:
546 
547  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
548  private:
549  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
550  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ortools_2fdata_2frcpsp_2eproto);
551  return ::descriptor_table_ortools_2fdata_2frcpsp_2eproto.file_level_metadata[kIndexInFileMessages];
552  }
553 
554  public:
555 
556  // nested types ----------------------------------------------------
557 
558  // accessors -------------------------------------------------------
559 
560  enum : int {
561  kMinDelaysFieldNumber = 1,
562  };
563  // repeated int32 min_delays = 1;
564  int min_delays_size() const;
565  private:
566  int _internal_min_delays_size() const;
567  public:
569  private:
570  ::PROTOBUF_NAMESPACE_ID::int32 _internal_min_delays(int index) const;
571  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
572  _internal_min_delays() const;
573  void _internal_add_min_delays(::PROTOBUF_NAMESPACE_ID::int32 value);
574  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
575  _internal_mutable_min_delays();
576  public:
580  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
581  min_delays() const;
582  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
584 
585  // @@protoc_insertion_point(class_scope:operations_research.data.rcpsp.PerRecipeDelays)
586  private:
587  class _Internal;
588 
589  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
590  typedef void InternalArenaConstructable_;
591  typedef void DestructorSkippable_;
592  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > min_delays_;
593  mutable std::atomic<int> _min_delays_cached_byte_size_;
594  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
595  friend struct ::TableStruct_ortools_2fdata_2frcpsp_2eproto;
596 };
597 // -------------------------------------------------------------------
598 
599 class PerSuccessorDelays PROTOBUF_FINAL :
600  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.data.rcpsp.PerSuccessorDelays) */ {
601  public:
602  inline PerSuccessorDelays() : PerSuccessorDelays(nullptr) {}
604 
605  PerSuccessorDelays(const PerSuccessorDelays& from);
606  PerSuccessorDelays(PerSuccessorDelays&& from) noexcept
607  : PerSuccessorDelays() {
608  *this = ::std::move(from);
609  }
610 
611  inline PerSuccessorDelays& operator=(const PerSuccessorDelays& from) {
612  CopyFrom(from);
613  return *this;
614  }
615  inline PerSuccessorDelays& operator=(PerSuccessorDelays&& from) noexcept {
616  if (GetArena() == from.GetArena()) {
617  if (this != &from) InternalSwap(&from);
618  } else {
619  CopyFrom(from);
620  }
621  return *this;
622  }
623 
624  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
625  return GetDescriptor();
626  }
627  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
628  return GetMetadataStatic().descriptor;
629  }
630  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
631  return GetMetadataStatic().reflection;
632  }
633  static const PerSuccessorDelays& default_instance();
634 
635  static inline const PerSuccessorDelays* internal_default_instance() {
636  return reinterpret_cast<const PerSuccessorDelays*>(
638  }
639  static constexpr int kIndexInFileMessages =
640  3;
641 
642  friend void swap(PerSuccessorDelays& a, PerSuccessorDelays& b) {
643  a.Swap(&b);
644  }
645  inline void Swap(PerSuccessorDelays* other) {
646  if (other == this) return;
647  if (GetArena() == other->GetArena()) {
648  InternalSwap(other);
649  } else {
650  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
651  }
652  }
653  void UnsafeArenaSwap(PerSuccessorDelays* other) {
654  if (other == this) return;
655  GOOGLE_DCHECK(GetArena() == other->GetArena());
656  InternalSwap(other);
657  }
658 
659  // implements Message ----------------------------------------------
660 
661  inline PerSuccessorDelays* New() const final {
662  return CreateMaybeMessage<PerSuccessorDelays>(nullptr);
663  }
664 
665  PerSuccessorDelays* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
666  return CreateMaybeMessage<PerSuccessorDelays>(arena);
667  }
668  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
669  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
670  void CopyFrom(const PerSuccessorDelays& from);
671  void MergeFrom(const PerSuccessorDelays& from);
672  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
673  bool IsInitialized() const final;
674 
675  size_t ByteSizeLong() const final;
676  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
677  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
678  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
679  int GetCachedSize() const final { return _cached_size_.Get(); }
680 
681  private:
682  inline void SharedCtor();
683  inline void SharedDtor();
684  void SetCachedSize(int size) const final;
685  void InternalSwap(PerSuccessorDelays* other);
686  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
687  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
688  return "operations_research.data.rcpsp.PerSuccessorDelays";
689  }
690  protected:
691  explicit PerSuccessorDelays(::PROTOBUF_NAMESPACE_ID::Arena* arena);
692  private:
693  static void ArenaDtor(void* object);
694  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
695  public:
696 
697  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
698  private:
699  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
700  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ortools_2fdata_2frcpsp_2eproto);
701  return ::descriptor_table_ortools_2fdata_2frcpsp_2eproto.file_level_metadata[kIndexInFileMessages];
702  }
703 
704  public:
705 
706  // nested types ----------------------------------------------------
707 
708  // accessors -------------------------------------------------------
709 
710  enum : int {
711  kRecipeDelaysFieldNumber = 1,
712  };
713  // repeated .operations_research.data.rcpsp.PerRecipeDelays recipe_delays = 1;
714  int recipe_delays_size() const;
715  private:
716  int _internal_recipe_delays_size() const;
717  public:
719  ::operations_research::data::rcpsp::PerRecipeDelays* mutable_recipe_delays(int index);
720  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerRecipeDelays >*
722  private:
723  const ::operations_research::data::rcpsp::PerRecipeDelays& _internal_recipe_delays(int index) const;
724  ::operations_research::data::rcpsp::PerRecipeDelays* _internal_add_recipe_delays();
725  public:
726  const ::operations_research::data::rcpsp::PerRecipeDelays& recipe_delays(int index) const;
727  ::operations_research::data::rcpsp::PerRecipeDelays* add_recipe_delays();
728  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerRecipeDelays >&
729  recipe_delays() const;
730 
731  // @@protoc_insertion_point(class_scope:operations_research.data.rcpsp.PerSuccessorDelays)
732  private:
733  class _Internal;
734 
735  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
736  typedef void InternalArenaConstructable_;
737  typedef void DestructorSkippable_;
738  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerRecipeDelays > recipe_delays_;
739  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
740  friend struct ::TableStruct_ortools_2fdata_2frcpsp_2eproto;
741 };
742 // -------------------------------------------------------------------
743 
744 class Task PROTOBUF_FINAL :
745  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.data.rcpsp.Task) */ {
746  public:
747  inline Task() : Task(nullptr) {}
748  virtual ~Task();
749 
750  Task(const Task& from);
751  Task(Task&& from) noexcept
752  : Task() {
753  *this = ::std::move(from);
754  }
755 
756  inline Task& operator=(const Task& from) {
757  CopyFrom(from);
758  return *this;
759  }
760  inline Task& operator=(Task&& from) noexcept {
761  if (GetArena() == from.GetArena()) {
762  if (this != &from) InternalSwap(&from);
763  } else {
764  CopyFrom(from);
765  }
766  return *this;
767  }
768 
769  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
770  return GetDescriptor();
771  }
772  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
773  return GetMetadataStatic().descriptor;
774  }
775  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
776  return GetMetadataStatic().reflection;
777  }
778  static const Task& default_instance();
779 
780  static inline const Task* internal_default_instance() {
781  return reinterpret_cast<const Task*>(
783  }
784  static constexpr int kIndexInFileMessages =
785  4;
786 
787  friend void swap(Task& a, Task& b) {
788  a.Swap(&b);
789  }
790  inline void Swap(Task* other) {
791  if (other == this) return;
792  if (GetArena() == other->GetArena()) {
793  InternalSwap(other);
794  } else {
795  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
796  }
797  }
798  void UnsafeArenaSwap(Task* other) {
799  if (other == this) return;
800  GOOGLE_DCHECK(GetArena() == other->GetArena());
801  InternalSwap(other);
802  }
803 
804  // implements Message ----------------------------------------------
805 
806  inline Task* New() const final {
807  return CreateMaybeMessage<Task>(nullptr);
808  }
809 
810  Task* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
811  return CreateMaybeMessage<Task>(arena);
812  }
813  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
814  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
815  void CopyFrom(const Task& from);
816  void MergeFrom(const Task& from);
817  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
818  bool IsInitialized() const final;
819 
820  size_t ByteSizeLong() const final;
821  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
822  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
823  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
824  int GetCachedSize() const final { return _cached_size_.Get(); }
825 
826  private:
827  inline void SharedCtor();
828  inline void SharedDtor();
829  void SetCachedSize(int size) const final;
830  void InternalSwap(Task* other);
831  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
832  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
833  return "operations_research.data.rcpsp.Task";
834  }
835  protected:
836  explicit Task(::PROTOBUF_NAMESPACE_ID::Arena* arena);
837  private:
838  static void ArenaDtor(void* object);
839  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
840  public:
841 
842  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
843  private:
844  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
845  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ortools_2fdata_2frcpsp_2eproto);
846  return ::descriptor_table_ortools_2fdata_2frcpsp_2eproto.file_level_metadata[kIndexInFileMessages];
847  }
848 
849  public:
850 
851  // nested types ----------------------------------------------------
852 
853  // accessors -------------------------------------------------------
854 
855  enum : int {
856  kSuccessorsFieldNumber = 1,
857  kRecipesFieldNumber = 2,
858  kSuccessorDelaysFieldNumber = 3,
859  };
860  // repeated int32 successors = 1;
861  int successors_size() const;
862  private:
863  int _internal_successors_size() const;
864  public:
866  private:
867  ::PROTOBUF_NAMESPACE_ID::int32 _internal_successors(int index) const;
868  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
869  _internal_successors() const;
870  void _internal_add_successors(::PROTOBUF_NAMESPACE_ID::int32 value);
871  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
872  _internal_mutable_successors();
873  public:
877  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
878  successors() const;
879  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
881 
882  // repeated .operations_research.data.rcpsp.Recipe recipes = 2;
883  int recipes_size() const;
884  private:
885  int _internal_recipes_size() const;
886  public:
888  ::operations_research::data::rcpsp::Recipe* mutable_recipes(int index);
889  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Recipe >*
891  private:
892  const ::operations_research::data::rcpsp::Recipe& _internal_recipes(int index) const;
893  ::operations_research::data::rcpsp::Recipe* _internal_add_recipes();
894  public:
895  const ::operations_research::data::rcpsp::Recipe& recipes(int index) const;
896  ::operations_research::data::rcpsp::Recipe* add_recipes();
897  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Recipe >&
898  recipes() const;
899 
900  // repeated .operations_research.data.rcpsp.PerSuccessorDelays successor_delays = 3;
902  private:
903  int _internal_successor_delays_size() const;
904  public:
906  ::operations_research::data::rcpsp::PerSuccessorDelays* mutable_successor_delays(int index);
907  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerSuccessorDelays >*
909  private:
910  const ::operations_research::data::rcpsp::PerSuccessorDelays& _internal_successor_delays(int index) const;
911  ::operations_research::data::rcpsp::PerSuccessorDelays* _internal_add_successor_delays();
912  public:
913  const ::operations_research::data::rcpsp::PerSuccessorDelays& successor_delays(int index) const;
914  ::operations_research::data::rcpsp::PerSuccessorDelays* add_successor_delays();
915  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerSuccessorDelays >&
917 
918  // @@protoc_insertion_point(class_scope:operations_research.data.rcpsp.Task)
919  private:
920  class _Internal;
921 
922  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
923  typedef void InternalArenaConstructable_;
924  typedef void DestructorSkippable_;
925  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > successors_;
926  mutable std::atomic<int> _successors_cached_byte_size_;
927  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Recipe > recipes_;
928  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerSuccessorDelays > successor_delays_;
929  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
930  friend struct ::TableStruct_ortools_2fdata_2frcpsp_2eproto;
931 };
932 // -------------------------------------------------------------------
933 
934 class RcpspProblem PROTOBUF_FINAL :
935  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.data.rcpsp.RcpspProblem) */ {
936  public:
937  inline RcpspProblem() : RcpspProblem(nullptr) {}
938  virtual ~RcpspProblem();
939 
940  RcpspProblem(const RcpspProblem& from);
941  RcpspProblem(RcpspProblem&& from) noexcept
942  : RcpspProblem() {
943  *this = ::std::move(from);
944  }
945 
946  inline RcpspProblem& operator=(const RcpspProblem& from) {
947  CopyFrom(from);
948  return *this;
949  }
950  inline RcpspProblem& operator=(RcpspProblem&& from) noexcept {
951  if (GetArena() == from.GetArena()) {
952  if (this != &from) InternalSwap(&from);
953  } else {
954  CopyFrom(from);
955  }
956  return *this;
957  }
958 
959  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
960  return GetDescriptor();
961  }
962  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
963  return GetMetadataStatic().descriptor;
964  }
965  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
966  return GetMetadataStatic().reflection;
967  }
968  static const RcpspProblem& default_instance();
969 
970  static inline const RcpspProblem* internal_default_instance() {
971  return reinterpret_cast<const RcpspProblem*>(
973  }
974  static constexpr int kIndexInFileMessages =
975  5;
976 
977  friend void swap(RcpspProblem& a, RcpspProblem& b) {
978  a.Swap(&b);
979  }
980  inline void Swap(RcpspProblem* other) {
981  if (other == this) return;
982  if (GetArena() == other->GetArena()) {
983  InternalSwap(other);
984  } else {
985  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
986  }
987  }
988  void UnsafeArenaSwap(RcpspProblem* other) {
989  if (other == this) return;
990  GOOGLE_DCHECK(GetArena() == other->GetArena());
991  InternalSwap(other);
992  }
993 
994  // implements Message ----------------------------------------------
995 
996  inline RcpspProblem* New() const final {
997  return CreateMaybeMessage<RcpspProblem>(nullptr);
998  }
999 
1000  RcpspProblem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1001  return CreateMaybeMessage<RcpspProblem>(arena);
1002  }
1003  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1004  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1005  void CopyFrom(const RcpspProblem& from);
1006  void MergeFrom(const RcpspProblem& from);
1007  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1008  bool IsInitialized() const final;
1009 
1010  size_t ByteSizeLong() const final;
1011  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1012  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1013  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1014  int GetCachedSize() const final { return _cached_size_.Get(); }
1015 
1016  private:
1017  inline void SharedCtor();
1018  inline void SharedDtor();
1019  void SetCachedSize(int size) const final;
1020  void InternalSwap(RcpspProblem* other);
1021  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1022  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1023  return "operations_research.data.rcpsp.RcpspProblem";
1024  }
1025  protected:
1026  explicit RcpspProblem(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1027  private:
1028  static void ArenaDtor(void* object);
1029  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1030  public:
1031 
1032  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1033  private:
1034  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1035  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ortools_2fdata_2frcpsp_2eproto);
1036  return ::descriptor_table_ortools_2fdata_2frcpsp_2eproto.file_level_metadata[kIndexInFileMessages];
1037  }
1038 
1039  public:
1040 
1041  // nested types ----------------------------------------------------
1042 
1043  // accessors -------------------------------------------------------
1044 
1045  enum : int {
1046  kResourcesFieldNumber = 1,
1047  kTasksFieldNumber = 2,
1048  kBasedataFieldNumber = 12,
1049  kNameFieldNumber = 14,
1050  kIsConsumerProducerFieldNumber = 3,
1051  kIsResourceInvestmentFieldNumber = 4,
1052  kIsRcpspMaxFieldNumber = 5,
1053  kDeadlineFieldNumber = 6,
1054  kHorizonFieldNumber = 7,
1055  kReleaseDateFieldNumber = 8,
1056  kTardinessCostFieldNumber = 9,
1057  kMpmTimeFieldNumber = 10,
1058  kSeedFieldNumber = 11,
1059  kDueDateFieldNumber = 13,
1060  };
1061  // repeated .operations_research.data.rcpsp.Resource resources = 1;
1062  int resources_size() const;
1063  private:
1064  int _internal_resources_size() const;
1065  public:
1067  ::operations_research::data::rcpsp::Resource* mutable_resources(int index);
1068  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Resource >*
1070  private:
1071  const ::operations_research::data::rcpsp::Resource& _internal_resources(int index) const;
1072  ::operations_research::data::rcpsp::Resource* _internal_add_resources();
1073  public:
1074  const ::operations_research::data::rcpsp::Resource& resources(int index) const;
1075  ::operations_research::data::rcpsp::Resource* add_resources();
1076  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Resource >&
1077  resources() const;
1078 
1079  // repeated .operations_research.data.rcpsp.Task tasks = 2;
1080  int tasks_size() const;
1081  private:
1082  int _internal_tasks_size() const;
1083  public:
1084  void clear_tasks();
1085  ::operations_research::data::rcpsp::Task* mutable_tasks(int index);
1086  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Task >*
1088  private:
1089  const ::operations_research::data::rcpsp::Task& _internal_tasks(int index) const;
1090  ::operations_research::data::rcpsp::Task* _internal_add_tasks();
1091  public:
1092  const ::operations_research::data::rcpsp::Task& tasks(int index) const;
1093  ::operations_research::data::rcpsp::Task* add_tasks();
1094  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Task >&
1095  tasks() const;
1096 
1097  // string basedata = 12;
1099  const std::string& basedata() const;
1100  void set_basedata(const std::string& value);
1101  void set_basedata(std::string&& value);
1102  void set_basedata(const char* value);
1103  void set_basedata(const char* value, size_t size);
1104  std::string* mutable_basedata();
1105  std::string* release_basedata();
1106  void set_allocated_basedata(std::string* basedata);
1107  private:
1108  const std::string& _internal_basedata() const;
1109  void _internal_set_basedata(const std::string& value);
1110  std::string* _internal_mutable_basedata();
1111  public:
1112 
1113  // string name = 14;
1114  void clear_name();
1115  const std::string& name() const;
1116  void set_name(const std::string& value);
1117  void set_name(std::string&& value);
1118  void set_name(const char* value);
1119  void set_name(const char* value, size_t size);
1120  std::string* mutable_name();
1121  std::string* release_name();
1122  void set_allocated_name(std::string* name);
1123  private:
1124  const std::string& _internal_name() const;
1125  void _internal_set_name(const std::string& value);
1126  std::string* _internal_mutable_name();
1127  public:
1128 
1129  // bool is_consumer_producer = 3;
1131  bool is_consumer_producer() const;
1133  private:
1134  bool _internal_is_consumer_producer() const;
1135  void _internal_set_is_consumer_producer(bool value);
1136  public:
1137 
1138  // bool is_resource_investment = 4;
1142  private:
1143  bool _internal_is_resource_investment() const;
1144  void _internal_set_is_resource_investment(bool value);
1145  public:
1146 
1147  // bool is_rcpsp_max = 5;
1149  bool is_rcpsp_max() const;
1151  private:
1152  bool _internal_is_rcpsp_max() const;
1153  void _internal_set_is_rcpsp_max(bool value);
1154  public:
1155 
1156  // int32 deadline = 6;
1160  private:
1161  ::PROTOBUF_NAMESPACE_ID::int32 _internal_deadline() const;
1162  void _internal_set_deadline(::PROTOBUF_NAMESPACE_ID::int32 value);
1163  public:
1164 
1165  // int32 horizon = 7;
1169  private:
1170  ::PROTOBUF_NAMESPACE_ID::int32 _internal_horizon() const;
1171  void _internal_set_horizon(::PROTOBUF_NAMESPACE_ID::int32 value);
1172  public:
1173 
1174  // int32 release_date = 8;
1178  private:
1179  ::PROTOBUF_NAMESPACE_ID::int32 _internal_release_date() const;
1180  void _internal_set_release_date(::PROTOBUF_NAMESPACE_ID::int32 value);
1181  public:
1182 
1183  // int32 tardiness_cost = 9;
1187  private:
1188  ::PROTOBUF_NAMESPACE_ID::int32 _internal_tardiness_cost() const;
1189  void _internal_set_tardiness_cost(::PROTOBUF_NAMESPACE_ID::int32 value);
1190  public:
1191 
1192  // int32 mpm_time = 10;
1196  private:
1197  ::PROTOBUF_NAMESPACE_ID::int32 _internal_mpm_time() const;
1198  void _internal_set_mpm_time(::PROTOBUF_NAMESPACE_ID::int32 value);
1199  public:
1200 
1201  // int64 seed = 11;
1202  void clear_seed();
1205  private:
1206  ::PROTOBUF_NAMESPACE_ID::int64 _internal_seed() const;
1207  void _internal_set_seed(::PROTOBUF_NAMESPACE_ID::int64 value);
1208  public:
1209 
1210  // int32 due_date = 13;
1214  private:
1215  ::PROTOBUF_NAMESPACE_ID::int32 _internal_due_date() const;
1216  void _internal_set_due_date(::PROTOBUF_NAMESPACE_ID::int32 value);
1217  public:
1218 
1219  // @@protoc_insertion_point(class_scope:operations_research.data.rcpsp.RcpspProblem)
1220  private:
1221  class _Internal;
1222 
1223  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1224  typedef void InternalArenaConstructable_;
1225  typedef void DestructorSkippable_;
1226  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Resource > resources_;
1227  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Task > tasks_;
1228  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr basedata_;
1229  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1230  bool is_consumer_producer_;
1231  bool is_resource_investment_;
1232  bool is_rcpsp_max_;
1235  ::PROTOBUF_NAMESPACE_ID::int32 release_date_;
1236  ::PROTOBUF_NAMESPACE_ID::int32 tardiness_cost_;
1240  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1241  friend struct ::TableStruct_ortools_2fdata_2frcpsp_2eproto;
1242 };
1243 // ===================================================================
1244 
1245 
1246 // ===================================================================
1247 
1248 #ifdef __GNUC__
1249  #pragma GCC diagnostic push
1250  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1251 #endif // __GNUC__
1252 // Resource
1253 
1254 // int32 max_capacity = 1;
1255 inline void Resource::clear_max_capacity() {
1256  max_capacity_ = 0;
1257 }
1258 inline ::PROTOBUF_NAMESPACE_ID::int32 Resource::_internal_max_capacity() const {
1259  return max_capacity_;
1260 }
1261 inline ::PROTOBUF_NAMESPACE_ID::int32 Resource::max_capacity() const {
1262  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Resource.max_capacity)
1263  return _internal_max_capacity();
1264 }
1265 inline void Resource::_internal_set_max_capacity(::PROTOBUF_NAMESPACE_ID::int32 value) {
1266 
1267  max_capacity_ = value;
1268 }
1269 inline void Resource::set_max_capacity(::PROTOBUF_NAMESPACE_ID::int32 value) {
1270  _internal_set_max_capacity(value);
1271  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.Resource.max_capacity)
1272 }
1273 
1274 // int32 min_capacity = 2;
1275 inline void Resource::clear_min_capacity() {
1276  min_capacity_ = 0;
1277 }
1278 inline ::PROTOBUF_NAMESPACE_ID::int32 Resource::_internal_min_capacity() const {
1279  return min_capacity_;
1280 }
1281 inline ::PROTOBUF_NAMESPACE_ID::int32 Resource::min_capacity() const {
1282  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Resource.min_capacity)
1283  return _internal_min_capacity();
1284 }
1285 inline void Resource::_internal_set_min_capacity(::PROTOBUF_NAMESPACE_ID::int32 value) {
1286 
1287  min_capacity_ = value;
1288 }
1289 inline void Resource::set_min_capacity(::PROTOBUF_NAMESPACE_ID::int32 value) {
1290  _internal_set_min_capacity(value);
1291  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.Resource.min_capacity)
1292 }
1293 
1294 // bool renewable = 3;
1295 inline void Resource::clear_renewable() {
1296  renewable_ = false;
1297 }
1298 inline bool Resource::_internal_renewable() const {
1299  return renewable_;
1300 }
1301 inline bool Resource::renewable() const {
1302  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Resource.renewable)
1303  return _internal_renewable();
1304 }
1305 inline void Resource::_internal_set_renewable(bool value) {
1306 
1307  renewable_ = value;
1308 }
1309 inline void Resource::set_renewable(bool value) {
1310  _internal_set_renewable(value);
1311  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.Resource.renewable)
1312 }
1313 
1314 // int32 unit_cost = 4;
1315 inline void Resource::clear_unit_cost() {
1316  unit_cost_ = 0;
1317 }
1318 inline ::PROTOBUF_NAMESPACE_ID::int32 Resource::_internal_unit_cost() const {
1319  return unit_cost_;
1320 }
1321 inline ::PROTOBUF_NAMESPACE_ID::int32 Resource::unit_cost() const {
1322  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Resource.unit_cost)
1323  return _internal_unit_cost();
1324 }
1325 inline void Resource::_internal_set_unit_cost(::PROTOBUF_NAMESPACE_ID::int32 value) {
1326 
1327  unit_cost_ = value;
1328 }
1329 inline void Resource::set_unit_cost(::PROTOBUF_NAMESPACE_ID::int32 value) {
1330  _internal_set_unit_cost(value);
1331  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.Resource.unit_cost)
1332 }
1333 
1334 // -------------------------------------------------------------------
1335 
1336 // Recipe
1337 
1338 // int32 duration = 1;
1339 inline void Recipe::clear_duration() {
1340  duration_ = 0;
1341 }
1342 inline ::PROTOBUF_NAMESPACE_ID::int32 Recipe::_internal_duration() const {
1343  return duration_;
1344 }
1345 inline ::PROTOBUF_NAMESPACE_ID::int32 Recipe::duration() const {
1346  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Recipe.duration)
1347  return _internal_duration();
1348 }
1349 inline void Recipe::_internal_set_duration(::PROTOBUF_NAMESPACE_ID::int32 value) {
1350 
1351  duration_ = value;
1352 }
1353 inline void Recipe::set_duration(::PROTOBUF_NAMESPACE_ID::int32 value) {
1354  _internal_set_duration(value);
1355  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.Recipe.duration)
1356 }
1357 
1358 // repeated int32 demands = 2;
1359 inline int Recipe::_internal_demands_size() const {
1360  return demands_.size();
1361 }
1362 inline int Recipe::demands_size() const {
1363  return _internal_demands_size();
1364 }
1365 inline void Recipe::clear_demands() {
1366  demands_.Clear();
1367 }
1368 inline ::PROTOBUF_NAMESPACE_ID::int32 Recipe::_internal_demands(int index) const {
1369  return demands_.Get(index);
1370 }
1371 inline ::PROTOBUF_NAMESPACE_ID::int32 Recipe::demands(int index) const {
1372  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Recipe.demands)
1373  return _internal_demands(index);
1374 }
1375 inline void Recipe::set_demands(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
1376  demands_.Set(index, value);
1377  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.Recipe.demands)
1378 }
1379 inline void Recipe::_internal_add_demands(::PROTOBUF_NAMESPACE_ID::int32 value) {
1380  demands_.Add(value);
1381 }
1382 inline void Recipe::add_demands(::PROTOBUF_NAMESPACE_ID::int32 value) {
1383  _internal_add_demands(value);
1384  // @@protoc_insertion_point(field_add:operations_research.data.rcpsp.Recipe.demands)
1385 }
1386 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1387 Recipe::_internal_demands() const {
1388  return demands_;
1389 }
1390 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1391 Recipe::demands() const {
1392  // @@protoc_insertion_point(field_list:operations_research.data.rcpsp.Recipe.demands)
1393  return _internal_demands();
1394 }
1395 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1396 Recipe::_internal_mutable_demands() {
1397  return &demands_;
1398 }
1399 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1400 Recipe::mutable_demands() {
1401  // @@protoc_insertion_point(field_mutable_list:operations_research.data.rcpsp.Recipe.demands)
1402  return _internal_mutable_demands();
1403 }
1404 
1405 // repeated int32 resources = 3;
1406 inline int Recipe::_internal_resources_size() const {
1407  return resources_.size();
1408 }
1409 inline int Recipe::resources_size() const {
1410  return _internal_resources_size();
1411 }
1412 inline void Recipe::clear_resources() {
1413  resources_.Clear();
1414 }
1415 inline ::PROTOBUF_NAMESPACE_ID::int32 Recipe::_internal_resources(int index) const {
1416  return resources_.Get(index);
1417 }
1418 inline ::PROTOBUF_NAMESPACE_ID::int32 Recipe::resources(int index) const {
1419  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Recipe.resources)
1420  return _internal_resources(index);
1421 }
1422 inline void Recipe::set_resources(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
1423  resources_.Set(index, value);
1424  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.Recipe.resources)
1425 }
1426 inline void Recipe::_internal_add_resources(::PROTOBUF_NAMESPACE_ID::int32 value) {
1427  resources_.Add(value);
1428 }
1429 inline void Recipe::add_resources(::PROTOBUF_NAMESPACE_ID::int32 value) {
1430  _internal_add_resources(value);
1431  // @@protoc_insertion_point(field_add:operations_research.data.rcpsp.Recipe.resources)
1432 }
1433 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1434 Recipe::_internal_resources() const {
1435  return resources_;
1436 }
1437 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1438 Recipe::resources() const {
1439  // @@protoc_insertion_point(field_list:operations_research.data.rcpsp.Recipe.resources)
1440  return _internal_resources();
1441 }
1442 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1443 Recipe::_internal_mutable_resources() {
1444  return &resources_;
1445 }
1446 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1447 Recipe::mutable_resources() {
1448  // @@protoc_insertion_point(field_mutable_list:operations_research.data.rcpsp.Recipe.resources)
1449  return _internal_mutable_resources();
1450 }
1451 
1452 // -------------------------------------------------------------------
1453 
1454 // PerRecipeDelays
1455 
1456 // repeated int32 min_delays = 1;
1457 inline int PerRecipeDelays::_internal_min_delays_size() const {
1458  return min_delays_.size();
1459 }
1460 inline int PerRecipeDelays::min_delays_size() const {
1461  return _internal_min_delays_size();
1462 }
1463 inline void PerRecipeDelays::clear_min_delays() {
1464  min_delays_.Clear();
1465 }
1466 inline ::PROTOBUF_NAMESPACE_ID::int32 PerRecipeDelays::_internal_min_delays(int index) const {
1467  return min_delays_.Get(index);
1468 }
1469 inline ::PROTOBUF_NAMESPACE_ID::int32 PerRecipeDelays::min_delays(int index) const {
1470  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.PerRecipeDelays.min_delays)
1471  return _internal_min_delays(index);
1472 }
1473 inline void PerRecipeDelays::set_min_delays(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
1474  min_delays_.Set(index, value);
1475  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.PerRecipeDelays.min_delays)
1476 }
1477 inline void PerRecipeDelays::_internal_add_min_delays(::PROTOBUF_NAMESPACE_ID::int32 value) {
1478  min_delays_.Add(value);
1479 }
1480 inline void PerRecipeDelays::add_min_delays(::PROTOBUF_NAMESPACE_ID::int32 value) {
1481  _internal_add_min_delays(value);
1482  // @@protoc_insertion_point(field_add:operations_research.data.rcpsp.PerRecipeDelays.min_delays)
1483 }
1484 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1485 PerRecipeDelays::_internal_min_delays() const {
1486  return min_delays_;
1487 }
1488 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1489 PerRecipeDelays::min_delays() const {
1490  // @@protoc_insertion_point(field_list:operations_research.data.rcpsp.PerRecipeDelays.min_delays)
1491  return _internal_min_delays();
1492 }
1493 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1494 PerRecipeDelays::_internal_mutable_min_delays() {
1495  return &min_delays_;
1496 }
1497 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1498 PerRecipeDelays::mutable_min_delays() {
1499  // @@protoc_insertion_point(field_mutable_list:operations_research.data.rcpsp.PerRecipeDelays.min_delays)
1500  return _internal_mutable_min_delays();
1501 }
1502 
1503 // -------------------------------------------------------------------
1504 
1505 // PerSuccessorDelays
1506 
1507 // repeated .operations_research.data.rcpsp.PerRecipeDelays recipe_delays = 1;
1508 inline int PerSuccessorDelays::_internal_recipe_delays_size() const {
1509  return recipe_delays_.size();
1510 }
1511 inline int PerSuccessorDelays::recipe_delays_size() const {
1512  return _internal_recipe_delays_size();
1513 }
1514 inline void PerSuccessorDelays::clear_recipe_delays() {
1515  recipe_delays_.Clear();
1516 }
1517 inline ::operations_research::data::rcpsp::PerRecipeDelays* PerSuccessorDelays::mutable_recipe_delays(int index) {
1518  // @@protoc_insertion_point(field_mutable:operations_research.data.rcpsp.PerSuccessorDelays.recipe_delays)
1519  return recipe_delays_.Mutable(index);
1520 }
1521 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerRecipeDelays >*
1522 PerSuccessorDelays::mutable_recipe_delays() {
1523  // @@protoc_insertion_point(field_mutable_list:operations_research.data.rcpsp.PerSuccessorDelays.recipe_delays)
1524  return &recipe_delays_;
1525 }
1526 inline const ::operations_research::data::rcpsp::PerRecipeDelays& PerSuccessorDelays::_internal_recipe_delays(int index) const {
1527  return recipe_delays_.Get(index);
1528 }
1529 inline const ::operations_research::data::rcpsp::PerRecipeDelays& PerSuccessorDelays::recipe_delays(int index) const {
1530  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.PerSuccessorDelays.recipe_delays)
1531  return _internal_recipe_delays(index);
1532 }
1533 inline ::operations_research::data::rcpsp::PerRecipeDelays* PerSuccessorDelays::_internal_add_recipe_delays() {
1534  return recipe_delays_.Add();
1535 }
1536 inline ::operations_research::data::rcpsp::PerRecipeDelays* PerSuccessorDelays::add_recipe_delays() {
1537  // @@protoc_insertion_point(field_add:operations_research.data.rcpsp.PerSuccessorDelays.recipe_delays)
1538  return _internal_add_recipe_delays();
1539 }
1540 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerRecipeDelays >&
1541 PerSuccessorDelays::recipe_delays() const {
1542  // @@protoc_insertion_point(field_list:operations_research.data.rcpsp.PerSuccessorDelays.recipe_delays)
1543  return recipe_delays_;
1544 }
1545 
1546 // -------------------------------------------------------------------
1547 
1548 // Task
1549 
1550 // repeated int32 successors = 1;
1551 inline int Task::_internal_successors_size() const {
1552  return successors_.size();
1553 }
1554 inline int Task::successors_size() const {
1555  return _internal_successors_size();
1556 }
1557 inline void Task::clear_successors() {
1558  successors_.Clear();
1559 }
1560 inline ::PROTOBUF_NAMESPACE_ID::int32 Task::_internal_successors(int index) const {
1561  return successors_.Get(index);
1562 }
1563 inline ::PROTOBUF_NAMESPACE_ID::int32 Task::successors(int index) const {
1564  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Task.successors)
1565  return _internal_successors(index);
1566 }
1567 inline void Task::set_successors(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
1568  successors_.Set(index, value);
1569  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.Task.successors)
1570 }
1571 inline void Task::_internal_add_successors(::PROTOBUF_NAMESPACE_ID::int32 value) {
1572  successors_.Add(value);
1573 }
1574 inline void Task::add_successors(::PROTOBUF_NAMESPACE_ID::int32 value) {
1575  _internal_add_successors(value);
1576  // @@protoc_insertion_point(field_add:operations_research.data.rcpsp.Task.successors)
1577 }
1578 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1579 Task::_internal_successors() const {
1580  return successors_;
1581 }
1582 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1583 Task::successors() const {
1584  // @@protoc_insertion_point(field_list:operations_research.data.rcpsp.Task.successors)
1585  return _internal_successors();
1586 }
1587 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1588 Task::_internal_mutable_successors() {
1589  return &successors_;
1590 }
1591 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1592 Task::mutable_successors() {
1593  // @@protoc_insertion_point(field_mutable_list:operations_research.data.rcpsp.Task.successors)
1594  return _internal_mutable_successors();
1595 }
1596 
1597 // repeated .operations_research.data.rcpsp.Recipe recipes = 2;
1598 inline int Task::_internal_recipes_size() const {
1599  return recipes_.size();
1600 }
1601 inline int Task::recipes_size() const {
1602  return _internal_recipes_size();
1603 }
1604 inline void Task::clear_recipes() {
1605  recipes_.Clear();
1606 }
1607 inline ::operations_research::data::rcpsp::Recipe* Task::mutable_recipes(int index) {
1608  // @@protoc_insertion_point(field_mutable:operations_research.data.rcpsp.Task.recipes)
1609  return recipes_.Mutable(index);
1610 }
1611 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Recipe >*
1612 Task::mutable_recipes() {
1613  // @@protoc_insertion_point(field_mutable_list:operations_research.data.rcpsp.Task.recipes)
1614  return &recipes_;
1615 }
1616 inline const ::operations_research::data::rcpsp::Recipe& Task::_internal_recipes(int index) const {
1617  return recipes_.Get(index);
1618 }
1619 inline const ::operations_research::data::rcpsp::Recipe& Task::recipes(int index) const {
1620  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Task.recipes)
1621  return _internal_recipes(index);
1622 }
1623 inline ::operations_research::data::rcpsp::Recipe* Task::_internal_add_recipes() {
1624  return recipes_.Add();
1625 }
1626 inline ::operations_research::data::rcpsp::Recipe* Task::add_recipes() {
1627  // @@protoc_insertion_point(field_add:operations_research.data.rcpsp.Task.recipes)
1628  return _internal_add_recipes();
1629 }
1630 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Recipe >&
1631 Task::recipes() const {
1632  // @@protoc_insertion_point(field_list:operations_research.data.rcpsp.Task.recipes)
1633  return recipes_;
1634 }
1635 
1636 // repeated .operations_research.data.rcpsp.PerSuccessorDelays successor_delays = 3;
1637 inline int Task::_internal_successor_delays_size() const {
1638  return successor_delays_.size();
1639 }
1640 inline int Task::successor_delays_size() const {
1641  return _internal_successor_delays_size();
1642 }
1643 inline void Task::clear_successor_delays() {
1644  successor_delays_.Clear();
1645 }
1646 inline ::operations_research::data::rcpsp::PerSuccessorDelays* Task::mutable_successor_delays(int index) {
1647  // @@protoc_insertion_point(field_mutable:operations_research.data.rcpsp.Task.successor_delays)
1648  return successor_delays_.Mutable(index);
1649 }
1650 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerSuccessorDelays >*
1651 Task::mutable_successor_delays() {
1652  // @@protoc_insertion_point(field_mutable_list:operations_research.data.rcpsp.Task.successor_delays)
1653  return &successor_delays_;
1654 }
1655 inline const ::operations_research::data::rcpsp::PerSuccessorDelays& Task::_internal_successor_delays(int index) const {
1656  return successor_delays_.Get(index);
1657 }
1658 inline const ::operations_research::data::rcpsp::PerSuccessorDelays& Task::successor_delays(int index) const {
1659  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.Task.successor_delays)
1660  return _internal_successor_delays(index);
1661 }
1662 inline ::operations_research::data::rcpsp::PerSuccessorDelays* Task::_internal_add_successor_delays() {
1663  return successor_delays_.Add();
1664 }
1665 inline ::operations_research::data::rcpsp::PerSuccessorDelays* Task::add_successor_delays() {
1666  // @@protoc_insertion_point(field_add:operations_research.data.rcpsp.Task.successor_delays)
1667  return _internal_add_successor_delays();
1668 }
1669 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerSuccessorDelays >&
1670 Task::successor_delays() const {
1671  // @@protoc_insertion_point(field_list:operations_research.data.rcpsp.Task.successor_delays)
1672  return successor_delays_;
1673 }
1674 
1675 // -------------------------------------------------------------------
1676 
1677 // RcpspProblem
1678 
1679 // repeated .operations_research.data.rcpsp.Resource resources = 1;
1680 inline int RcpspProblem::_internal_resources_size() const {
1681  return resources_.size();
1682 }
1683 inline int RcpspProblem::resources_size() const {
1684  return _internal_resources_size();
1685 }
1686 inline void RcpspProblem::clear_resources() {
1687  resources_.Clear();
1688 }
1689 inline ::operations_research::data::rcpsp::Resource* RcpspProblem::mutable_resources(int index) {
1690  // @@protoc_insertion_point(field_mutable:operations_research.data.rcpsp.RcpspProblem.resources)
1691  return resources_.Mutable(index);
1692 }
1693 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Resource >*
1694 RcpspProblem::mutable_resources() {
1695  // @@protoc_insertion_point(field_mutable_list:operations_research.data.rcpsp.RcpspProblem.resources)
1696  return &resources_;
1697 }
1698 inline const ::operations_research::data::rcpsp::Resource& RcpspProblem::_internal_resources(int index) const {
1699  return resources_.Get(index);
1700 }
1701 inline const ::operations_research::data::rcpsp::Resource& RcpspProblem::resources(int index) const {
1702  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.resources)
1703  return _internal_resources(index);
1704 }
1705 inline ::operations_research::data::rcpsp::Resource* RcpspProblem::_internal_add_resources() {
1706  return resources_.Add();
1707 }
1708 inline ::operations_research::data::rcpsp::Resource* RcpspProblem::add_resources() {
1709  // @@protoc_insertion_point(field_add:operations_research.data.rcpsp.RcpspProblem.resources)
1710  return _internal_add_resources();
1711 }
1712 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Resource >&
1713 RcpspProblem::resources() const {
1714  // @@protoc_insertion_point(field_list:operations_research.data.rcpsp.RcpspProblem.resources)
1715  return resources_;
1716 }
1717 
1718 // repeated .operations_research.data.rcpsp.Task tasks = 2;
1719 inline int RcpspProblem::_internal_tasks_size() const {
1720  return tasks_.size();
1721 }
1722 inline int RcpspProblem::tasks_size() const {
1723  return _internal_tasks_size();
1724 }
1725 inline void RcpspProblem::clear_tasks() {
1726  tasks_.Clear();
1727 }
1728 inline ::operations_research::data::rcpsp::Task* RcpspProblem::mutable_tasks(int index) {
1729  // @@protoc_insertion_point(field_mutable:operations_research.data.rcpsp.RcpspProblem.tasks)
1730  return tasks_.Mutable(index);
1731 }
1732 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Task >*
1733 RcpspProblem::mutable_tasks() {
1734  // @@protoc_insertion_point(field_mutable_list:operations_research.data.rcpsp.RcpspProblem.tasks)
1735  return &tasks_;
1736 }
1737 inline const ::operations_research::data::rcpsp::Task& RcpspProblem::_internal_tasks(int index) const {
1738  return tasks_.Get(index);
1739 }
1740 inline const ::operations_research::data::rcpsp::Task& RcpspProblem::tasks(int index) const {
1741  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.tasks)
1742  return _internal_tasks(index);
1743 }
1744 inline ::operations_research::data::rcpsp::Task* RcpspProblem::_internal_add_tasks() {
1745  return tasks_.Add();
1746 }
1747 inline ::operations_research::data::rcpsp::Task* RcpspProblem::add_tasks() {
1748  // @@protoc_insertion_point(field_add:operations_research.data.rcpsp.RcpspProblem.tasks)
1749  return _internal_add_tasks();
1750 }
1751 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Task >&
1752 RcpspProblem::tasks() const {
1753  // @@protoc_insertion_point(field_list:operations_research.data.rcpsp.RcpspProblem.tasks)
1754  return tasks_;
1755 }
1756 
1757 // bool is_consumer_producer = 3;
1758 inline void RcpspProblem::clear_is_consumer_producer() {
1759  is_consumer_producer_ = false;
1760 }
1761 inline bool RcpspProblem::_internal_is_consumer_producer() const {
1762  return is_consumer_producer_;
1763 }
1764 inline bool RcpspProblem::is_consumer_producer() const {
1765  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.is_consumer_producer)
1766  return _internal_is_consumer_producer();
1767 }
1768 inline void RcpspProblem::_internal_set_is_consumer_producer(bool value) {
1769 
1770  is_consumer_producer_ = value;
1771 }
1772 inline void RcpspProblem::set_is_consumer_producer(bool value) {
1773  _internal_set_is_consumer_producer(value);
1774  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.is_consumer_producer)
1775 }
1776 
1777 // bool is_resource_investment = 4;
1778 inline void RcpspProblem::clear_is_resource_investment() {
1779  is_resource_investment_ = false;
1780 }
1781 inline bool RcpspProblem::_internal_is_resource_investment() const {
1782  return is_resource_investment_;
1783 }
1784 inline bool RcpspProblem::is_resource_investment() const {
1785  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.is_resource_investment)
1786  return _internal_is_resource_investment();
1787 }
1788 inline void RcpspProblem::_internal_set_is_resource_investment(bool value) {
1789 
1790  is_resource_investment_ = value;
1791 }
1792 inline void RcpspProblem::set_is_resource_investment(bool value) {
1793  _internal_set_is_resource_investment(value);
1794  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.is_resource_investment)
1795 }
1796 
1797 // bool is_rcpsp_max = 5;
1798 inline void RcpspProblem::clear_is_rcpsp_max() {
1799  is_rcpsp_max_ = false;
1800 }
1801 inline bool RcpspProblem::_internal_is_rcpsp_max() const {
1802  return is_rcpsp_max_;
1803 }
1804 inline bool RcpspProblem::is_rcpsp_max() const {
1805  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.is_rcpsp_max)
1806  return _internal_is_rcpsp_max();
1807 }
1808 inline void RcpspProblem::_internal_set_is_rcpsp_max(bool value) {
1809 
1810  is_rcpsp_max_ = value;
1811 }
1812 inline void RcpspProblem::set_is_rcpsp_max(bool value) {
1813  _internal_set_is_rcpsp_max(value);
1814  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.is_rcpsp_max)
1815 }
1816 
1817 // int32 deadline = 6;
1818 inline void RcpspProblem::clear_deadline() {
1819  deadline_ = 0;
1820 }
1821 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::_internal_deadline() const {
1822  return deadline_;
1823 }
1824 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::deadline() const {
1825  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.deadline)
1826  return _internal_deadline();
1827 }
1828 inline void RcpspProblem::_internal_set_deadline(::PROTOBUF_NAMESPACE_ID::int32 value) {
1829 
1830  deadline_ = value;
1831 }
1832 inline void RcpspProblem::set_deadline(::PROTOBUF_NAMESPACE_ID::int32 value) {
1833  _internal_set_deadline(value);
1834  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.deadline)
1835 }
1836 
1837 // int32 horizon = 7;
1838 inline void RcpspProblem::clear_horizon() {
1839  horizon_ = 0;
1840 }
1841 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::_internal_horizon() const {
1842  return horizon_;
1843 }
1844 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::horizon() const {
1845  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.horizon)
1846  return _internal_horizon();
1847 }
1848 inline void RcpspProblem::_internal_set_horizon(::PROTOBUF_NAMESPACE_ID::int32 value) {
1849 
1850  horizon_ = value;
1851 }
1852 inline void RcpspProblem::set_horizon(::PROTOBUF_NAMESPACE_ID::int32 value) {
1853  _internal_set_horizon(value);
1854  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.horizon)
1855 }
1856 
1857 // int32 release_date = 8;
1858 inline void RcpspProblem::clear_release_date() {
1859  release_date_ = 0;
1860 }
1861 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::_internal_release_date() const {
1862  return release_date_;
1863 }
1864 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::release_date() const {
1865  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.release_date)
1866  return _internal_release_date();
1867 }
1868 inline void RcpspProblem::_internal_set_release_date(::PROTOBUF_NAMESPACE_ID::int32 value) {
1869 
1870  release_date_ = value;
1871 }
1872 inline void RcpspProblem::set_release_date(::PROTOBUF_NAMESPACE_ID::int32 value) {
1873  _internal_set_release_date(value);
1874  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.release_date)
1875 }
1876 
1877 // int32 tardiness_cost = 9;
1878 inline void RcpspProblem::clear_tardiness_cost() {
1879  tardiness_cost_ = 0;
1880 }
1881 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::_internal_tardiness_cost() const {
1882  return tardiness_cost_;
1883 }
1884 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::tardiness_cost() const {
1885  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.tardiness_cost)
1886  return _internal_tardiness_cost();
1887 }
1888 inline void RcpspProblem::_internal_set_tardiness_cost(::PROTOBUF_NAMESPACE_ID::int32 value) {
1889 
1890  tardiness_cost_ = value;
1891 }
1892 inline void RcpspProblem::set_tardiness_cost(::PROTOBUF_NAMESPACE_ID::int32 value) {
1893  _internal_set_tardiness_cost(value);
1894  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.tardiness_cost)
1895 }
1896 
1897 // int32 mpm_time = 10;
1898 inline void RcpspProblem::clear_mpm_time() {
1899  mpm_time_ = 0;
1900 }
1901 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::_internal_mpm_time() const {
1902  return mpm_time_;
1903 }
1904 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::mpm_time() const {
1905  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.mpm_time)
1906  return _internal_mpm_time();
1907 }
1908 inline void RcpspProblem::_internal_set_mpm_time(::PROTOBUF_NAMESPACE_ID::int32 value) {
1909 
1910  mpm_time_ = value;
1911 }
1912 inline void RcpspProblem::set_mpm_time(::PROTOBUF_NAMESPACE_ID::int32 value) {
1913  _internal_set_mpm_time(value);
1914  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.mpm_time)
1915 }
1916 
1917 // int64 seed = 11;
1918 inline void RcpspProblem::clear_seed() {
1919  seed_ = PROTOBUF_LONGLONG(0);
1920 }
1921 inline ::PROTOBUF_NAMESPACE_ID::int64 RcpspProblem::_internal_seed() const {
1922  return seed_;
1923 }
1924 inline ::PROTOBUF_NAMESPACE_ID::int64 RcpspProblem::seed() const {
1925  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.seed)
1926  return _internal_seed();
1927 }
1928 inline void RcpspProblem::_internal_set_seed(::PROTOBUF_NAMESPACE_ID::int64 value) {
1929 
1930  seed_ = value;
1931 }
1932 inline void RcpspProblem::set_seed(::PROTOBUF_NAMESPACE_ID::int64 value) {
1933  _internal_set_seed(value);
1934  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.seed)
1935 }
1936 
1937 // string basedata = 12;
1938 inline void RcpspProblem::clear_basedata() {
1939  basedata_.ClearToEmpty();
1940 }
1941 inline const std::string& RcpspProblem::basedata() const {
1942  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.basedata)
1943  return _internal_basedata();
1944 }
1945 inline void RcpspProblem::set_basedata(const std::string& value) {
1946  _internal_set_basedata(value);
1947  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.basedata)
1948 }
1949 inline std::string* RcpspProblem::mutable_basedata() {
1950  // @@protoc_insertion_point(field_mutable:operations_research.data.rcpsp.RcpspProblem.basedata)
1951  return _internal_mutable_basedata();
1952 }
1953 inline const std::string& RcpspProblem::_internal_basedata() const {
1954  return basedata_.Get();
1955 }
1956 inline void RcpspProblem::_internal_set_basedata(const std::string& value) {
1957 
1958  basedata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1959 }
1960 inline void RcpspProblem::set_basedata(std::string&& value) {
1961 
1962  basedata_.Set(
1963  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1964  // @@protoc_insertion_point(field_set_rvalue:operations_research.data.rcpsp.RcpspProblem.basedata)
1965 }
1966 inline void RcpspProblem::set_basedata(const char* value) {
1967  GOOGLE_DCHECK(value != nullptr);
1968 
1969  basedata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
1970  // @@protoc_insertion_point(field_set_char:operations_research.data.rcpsp.RcpspProblem.basedata)
1971 }
1972 inline void RcpspProblem::set_basedata(const char* value,
1973  size_t size) {
1974 
1975  basedata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
1976  reinterpret_cast<const char*>(value), size), GetArena());
1977  // @@protoc_insertion_point(field_set_pointer:operations_research.data.rcpsp.RcpspProblem.basedata)
1978 }
1979 inline std::string* RcpspProblem::_internal_mutable_basedata() {
1980 
1981  return basedata_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1982 }
1983 inline std::string* RcpspProblem::release_basedata() {
1984  // @@protoc_insertion_point(field_release:operations_research.data.rcpsp.RcpspProblem.basedata)
1985  return basedata_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1986 }
1987 inline void RcpspProblem::set_allocated_basedata(std::string* basedata) {
1988  if (basedata != nullptr) {
1989 
1990  } else {
1991 
1992  }
1993  basedata_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), basedata,
1994  GetArena());
1995  // @@protoc_insertion_point(field_set_allocated:operations_research.data.rcpsp.RcpspProblem.basedata)
1996 }
1997 
1998 // int32 due_date = 13;
1999 inline void RcpspProblem::clear_due_date() {
2000  due_date_ = 0;
2001 }
2002 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::_internal_due_date() const {
2003  return due_date_;
2004 }
2005 inline ::PROTOBUF_NAMESPACE_ID::int32 RcpspProblem::due_date() const {
2006  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.due_date)
2007  return _internal_due_date();
2008 }
2009 inline void RcpspProblem::_internal_set_due_date(::PROTOBUF_NAMESPACE_ID::int32 value) {
2010 
2011  due_date_ = value;
2012 }
2013 inline void RcpspProblem::set_due_date(::PROTOBUF_NAMESPACE_ID::int32 value) {
2014  _internal_set_due_date(value);
2015  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.due_date)
2016 }
2017 
2018 // string name = 14;
2019 inline void RcpspProblem::clear_name() {
2020  name_.ClearToEmpty();
2021 }
2022 inline const std::string& RcpspProblem::name() const {
2023  // @@protoc_insertion_point(field_get:operations_research.data.rcpsp.RcpspProblem.name)
2024  return _internal_name();
2025 }
2026 inline void RcpspProblem::set_name(const std::string& value) {
2027  _internal_set_name(value);
2028  // @@protoc_insertion_point(field_set:operations_research.data.rcpsp.RcpspProblem.name)
2029 }
2030 inline std::string* RcpspProblem::mutable_name() {
2031  // @@protoc_insertion_point(field_mutable:operations_research.data.rcpsp.RcpspProblem.name)
2032  return _internal_mutable_name();
2033 }
2034 inline const std::string& RcpspProblem::_internal_name() const {
2035  return name_.Get();
2036 }
2037 inline void RcpspProblem::_internal_set_name(const std::string& value) {
2038 
2039  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
2040 }
2041 inline void RcpspProblem::set_name(std::string&& value) {
2042 
2043  name_.Set(
2044  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
2045  // @@protoc_insertion_point(field_set_rvalue:operations_research.data.rcpsp.RcpspProblem.name)
2046 }
2047 inline void RcpspProblem::set_name(const char* value) {
2048  GOOGLE_DCHECK(value != nullptr);
2049 
2050  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
2051  // @@protoc_insertion_point(field_set_char:operations_research.data.rcpsp.RcpspProblem.name)
2052 }
2053 inline void RcpspProblem::set_name(const char* value,
2054  size_t size) {
2055 
2056  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
2057  reinterpret_cast<const char*>(value), size), GetArena());
2058  // @@protoc_insertion_point(field_set_pointer:operations_research.data.rcpsp.RcpspProblem.name)
2059 }
2060 inline std::string* RcpspProblem::_internal_mutable_name() {
2061 
2062  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
2063 }
2064 inline std::string* RcpspProblem::release_name() {
2065  // @@protoc_insertion_point(field_release:operations_research.data.rcpsp.RcpspProblem.name)
2066  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2067 }
2068 inline void RcpspProblem::set_allocated_name(std::string* name) {
2069  if (name != nullptr) {
2070 
2071  } else {
2072 
2073  }
2074  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
2075  GetArena());
2076  // @@protoc_insertion_point(field_set_allocated:operations_research.data.rcpsp.RcpspProblem.name)
2077 }
2078 
2079 #ifdef __GNUC__
2080  #pragma GCC diagnostic pop
2081 #endif // __GNUC__
2082 // -------------------------------------------------------------------
2083 
2084 // -------------------------------------------------------------------
2085 
2086 // -------------------------------------------------------------------
2087 
2088 // -------------------------------------------------------------------
2089 
2090 // -------------------------------------------------------------------
2091 
2092 
2093 // @@protoc_insertion_point(namespace_scope)
2094 
2095 } // namespace rcpsp
2096 } // namespace data
2097 } // namespace operations_research
2098 
2099 // @@protoc_insertion_point(global_scope)
2100 
2101 #include <google/protobuf/port_undef.inc>
2102 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fdata_2frcpsp_2eproto
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & resources() const
PerSuccessorDelays & operator=(const PerSuccessorDelays &from)
Definition: rcpsp.pb.h:611
::PROTOBUF_NAMESPACE_ID::int32 demands(int index) const
void MergeFrom(const PerSuccessorDelays &from)
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_successors()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: rcpsp.pb.h:125
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Task > & tasks() const
void set_deadline(::PROTOBUF_NAMESPACE_ID::int32 value)
RcpspProblem & operator=(RcpspProblem &&from) noexcept
Definition: rcpsp.pb.h:950
void set_basedata(const std::string &value)
static const PerSuccessorDelays & default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(PerRecipeDelays &a, PerRecipeDelays &b)
Definition: rcpsp.pb.h:492
void add_successors(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_name(const char *value, size_t size)
Task(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Resource & operator=(const Resource &from)
Definition: rcpsp.pb.h:106
void MergeFrom(const PerRecipeDelays &from)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerRecipeDelays > * mutable_recipe_delays()
static const Resource * internal_default_instance()
Definition: rcpsp.pb.h:130
static const RcpspProblem * internal_default_instance()
Definition: rcpsp.pb.h:970
friend void swap(PerSuccessorDelays &a, PerSuccessorDelays &b)
Definition: rcpsp.pb.h:642
static const PerSuccessorDelays * internal_default_instance()
Definition: rcpsp.pb.h:635
PerSuccessorDelays & operator=(PerSuccessorDelays &&from) noexcept
Definition: rcpsp.pb.h:615
const ::operations_research::data::rcpsp::Recipe & recipes(int index) const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: rcpsp.pb.h:119
const ::operations_research::data::rcpsp::PerSuccessorDelays & successor_delays(int index) const
PerRecipeDelays & operator=(const PerRecipeDelays &from)
Definition: rcpsp.pb.h:461
Recipe & operator=(const Recipe &from)
Definition: rcpsp.pb.h:275
void set_name(const std::string &value)
void set_seed(::PROTOBUF_NAMESPACE_ID::int64 value)
void UnsafeArenaSwap(PerSuccessorDelays *other)
Definition: rcpsp.pb.h:653
friend void swap(Resource &a, Resource &b)
Definition: rcpsp.pb.h:137
const ::operations_research::data::rcpsp::Resource & resources(int index) const
void CopyFrom(const RcpspProblem &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Recipe * internal_default_instance()
Definition: rcpsp.pb.h:299
void set_horizon(::PROTOBUF_NAMESPACE_ID::int32 value)
void add_resources(::PROTOBUF_NAMESPACE_ID::int32 value)
friend void swap(Recipe &a, Recipe &b)
Definition: rcpsp.pb.h:306
PerRecipeDelays & operator=(PerRecipeDelays &&from) noexcept
Definition: rcpsp.pb.h:465
::PROTOBUF_NAMESPACE_ID::int32 horizon() const
PerRecipeDelays(PerRecipeDelays &&from) noexcept
Definition: rcpsp.pb.h:456
static const PerRecipeDelays * internal_default_instance()
Definition: rcpsp.pb.h:485
PerSuccessorDelays * New() const final
Definition: rcpsp.pb.h:661
static const PerRecipeDelays & default_instance()
::PROTOBUF_NAMESPACE_ID::int32 mpm_time() const
::PROTOBUF_NAMESPACE_ID::int32 tardiness_cost() const
RcpspProblem(RcpspProblem &&from) noexcept
Definition: rcpsp.pb.h:941
::operations_research::data::rcpsp::Resource * add_resources()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Resource > & resources() const
::operations_research::data::rcpsp::PerRecipeDelays * mutable_recipe_delays(int index)
::operations_research::data::rcpsp::Recipe * add_recipes()
PerSuccessorDelays(const PerSuccessorDelays &from)
PerRecipeDelays(::PROTOBUF_NAMESPACE_ID::Arena *arena)
PerSuccessorDelays * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: rcpsp.pb.h:665
::PROTOBUF_NAMESPACE_ID::int32 min_capacity() const
::PROTOBUF_NAMESPACE_ID::int32 max_capacity() const
void set_tardiness_cost(::PROTOBUF_NAMESPACE_ID::int32 value)
::operations_research::data::rcpsp::Task * add_tasks()
void set_mpm_time(::PROTOBUF_NAMESPACE_ID::int32 value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & min_delays() const
static const RcpspProblem & default_instance()
Recipe & operator=(Recipe &&from) noexcept
Definition: rcpsp.pb.h:279
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_resources()
RcpspProblem(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::int32 resources(int index) const
void UnsafeArenaSwap(RcpspProblem *other)
Definition: rcpsp.pb.h:988
::operations_research::data::rcpsp::PerRecipeDelays * add_recipe_delays()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
friend void swap(RcpspProblem &a, RcpspProblem &b)
Definition: rcpsp.pb.h:977
void add_min_delays(::PROTOBUF_NAMESPACE_ID::int32 value)
Task * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: rcpsp.pb.h:810
void MergeFrom(const RcpspProblem &from)
Resource * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: rcpsp.pb.h:160
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_min_delays()
::operations_research::data::rcpsp::PerSuccessorDelays * mutable_successor_delays(int index)
Recipe(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_min_capacity(::PROTOBUF_NAMESPACE_ID::int32 value)
PerSuccessorDelays(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::operations_research::data::rcpsp::Task * mutable_tasks(int index)
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_demands()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerRecipeDelays > & recipe_delays() const
void add_demands(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_duration(::PROTOBUF_NAMESPACE_ID::int32 value)
PerRecipeDelays * New() const final
Definition: rcpsp.pb.h:511
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerSuccessorDelays > & successor_delays() const
PerRecipeDelays(const PerRecipeDelays &from)
void set_min_delays(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::int32 due_date() const
Recipe * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: rcpsp.pb.h:329
::operations_research::data::rcpsp::Recipe * mutable_recipes(int index)
Resource & operator=(Resource &&from) noexcept
Definition: rcpsp.pb.h:110
void Swap(PerSuccessorDelays *other)
Definition: rcpsp.pb.h:645
void UnsafeArenaSwap(PerRecipeDelays *other)
Definition: rcpsp.pb.h:503
void CopyFrom(const PerRecipeDelays &from)
::PROTOBUF_NAMESPACE_ID::int32 unit_cost() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & successors() const
::PROTOBUF_NAMESPACE_ID::int32 min_delays(int index) const
void set_basedata(const char *value, size_t size)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(Task &a, Task &b)
Definition: rcpsp.pb.h:787
void CopyFrom(const PerSuccessorDelays &from)
void set_unit_cost(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::int32 duration() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: rcpsp.pb.h:122
PerRecipeDelays * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: rcpsp.pb.h:515
::operations_research::data::rcpsp::Resource * mutable_resources(int index)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Recipe > * mutable_recipes()
const ::operations_research::data::rcpsp::Task & tasks(int index) const
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Recipe > & recipes() const
::PROTOBUF_NAMESPACE_ID::int32 release_date() const
void set_allocated_basedata(std::string *basedata)
::operations_research::data::rcpsp::PerSuccessorDelays * add_successor_delays()
::PROTOBUF_NAMESPACE_ID::int64 seed() const
void set_max_capacity(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::int32 successors(int index) const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::PerSuccessorDelays > * mutable_successor_delays()
void set_due_date(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_resources(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
const ::operations_research::data::rcpsp::PerRecipeDelays & recipe_delays(int index) const
void set_release_date(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_demands(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
Resource(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_successors(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & demands() const
::PROTOBUF_NAMESPACE_ID::int32 deadline() const
RcpspProblem & operator=(const RcpspProblem &from)
Definition: rcpsp.pb.h:946
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Resource > * mutable_resources()
PerSuccessorDelays(PerSuccessorDelays &&from) noexcept
Definition: rcpsp.pb.h:606
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::data::rcpsp::Task > * mutable_tasks()
RcpspProblem * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: rcpsp.pb.h:1000
Task & operator=(Task &&from) noexcept
Definition: rcpsp.pb.h:760
const std::string name
int64 value
unsigned int uint32
int int32
int64_t int64
unsigned char uint8
class operations_research::data::rcpsp::ResourceDefaultTypeInternal _Resource_default_instance_
Definition: rcpsp.pb.h:72
class operations_research::data::rcpsp::PerSuccessorDelaysDefaultTypeInternal _PerSuccessorDelays_default_instance_
Definition: rcpsp.pb.h:63
class operations_research::data::rcpsp::TaskDefaultTypeInternal _Task_default_instance_
Definition: rcpsp.pb.h:75
class operations_research::data::rcpsp::RcpspProblemDefaultTypeInternal _RcpspProblem_default_instance_
Definition: rcpsp.pb.h:66
class operations_research::data::rcpsp::PerRecipeDelaysDefaultTypeInternal _PerRecipeDelays_default_instance_
Definition: rcpsp.pb.h:60
class operations_research::data::rcpsp::RecipeDefaultTypeInternal _Recipe_default_instance_
Definition: rcpsp.pb.h:69
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
int index
Definition: pack.cc:508
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fdata_2frcpsp_2eproto
Definition: rcpsp.pb.cc:253
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: rcpsp.pb.h:53
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: rcpsp.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: rcpsp.pb.h:51
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6] PROTOBUF_SECTION_VARIABLE(protodesc_cold)