OR-Tools  9.1
assignment.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ortools/constraint_solver/assignment.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fassignment_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fassignment_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3017000
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 3017003 < 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_2fconstraint_5fsolver_2fassignment_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[5]
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[];
53  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
54 };
55 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
56 namespace operations_research {
57 class AssignmentProto;
58 struct AssignmentProtoDefaultTypeInternal;
59 extern AssignmentProtoDefaultTypeInternal _AssignmentProto_default_instance_;
60 class IntVarAssignment;
61 struct IntVarAssignmentDefaultTypeInternal;
62 extern IntVarAssignmentDefaultTypeInternal _IntVarAssignment_default_instance_;
63 class IntervalVarAssignment;
64 struct IntervalVarAssignmentDefaultTypeInternal;
65 extern IntervalVarAssignmentDefaultTypeInternal _IntervalVarAssignment_default_instance_;
66 class SequenceVarAssignment;
67 struct SequenceVarAssignmentDefaultTypeInternal;
68 extern SequenceVarAssignmentDefaultTypeInternal _SequenceVarAssignment_default_instance_;
69 class WorkerInfo;
70 struct WorkerInfoDefaultTypeInternal;
71 extern WorkerInfoDefaultTypeInternal _WorkerInfo_default_instance_;
72 } // namespace operations_research
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::operations_research::AssignmentProto* Arena::CreateMaybeMessage<::operations_research::AssignmentProto>(Arena*);
75 template<> ::operations_research::IntVarAssignment* Arena::CreateMaybeMessage<::operations_research::IntVarAssignment>(Arena*);
76 template<> ::operations_research::IntervalVarAssignment* Arena::CreateMaybeMessage<::operations_research::IntervalVarAssignment>(Arena*);
77 template<> ::operations_research::SequenceVarAssignment* Arena::CreateMaybeMessage<::operations_research::SequenceVarAssignment>(Arena*);
78 template<> ::operations_research::WorkerInfo* Arena::CreateMaybeMessage<::operations_research::WorkerInfo>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 namespace operations_research {
81 
82 // ===================================================================
83 
84 class IntVarAssignment final :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.IntVarAssignment) */ {
86  public:
87  inline IntVarAssignment() : IntVarAssignment(nullptr) {}
88  ~IntVarAssignment() override;
89  explicit constexpr IntVarAssignment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
90 
93  : IntVarAssignment() {
94  *this = ::std::move(from);
95  }
96 
98  CopyFrom(from);
99  return *this;
100  }
101  inline IntVarAssignment& operator=(IntVarAssignment&& from) noexcept {
102  if (this == &from) return *this;
103  if (GetOwningArena() == from.GetOwningArena()) {
104  InternalSwap(&from);
105  } else {
106  CopyFrom(from);
107  }
108  return *this;
109  }
110 
111  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112  return GetDescriptor();
113  }
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115  return default_instance().GetMetadata().descriptor;
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118  return default_instance().GetMetadata().reflection;
119  }
121  return *internal_default_instance();
122  }
124  return reinterpret_cast<const IntVarAssignment*>(
126  }
127  static constexpr int kIndexInFileMessages =
128  0;
129 
131  a.Swap(&b);
132  }
133  inline void Swap(IntVarAssignment* other) {
134  if (other == this) return;
135  if (GetOwningArena() == other->GetOwningArena()) {
136  InternalSwap(other);
137  } else {
138  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
139  }
140  }
142  if (other == this) return;
143  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
144  InternalSwap(other);
145  }
146 
147  // implements Message ----------------------------------------------
148 
149  inline IntVarAssignment* New() const final {
150  return new IntVarAssignment();
151  }
152 
153  IntVarAssignment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
154  return CreateMaybeMessage<IntVarAssignment>(arena);
155  }
156  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
157  void CopyFrom(const IntVarAssignment& from);
158  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
159  void MergeFrom(const IntVarAssignment& from);
160  private:
161  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
162  public:
163  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
164  bool IsInitialized() const final;
165 
166  size_t ByteSizeLong() const final;
167  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
168  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
169  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
170  int GetCachedSize() const final { return _cached_size_.Get(); }
171 
172  private:
173  void SharedCtor();
174  void SharedDtor();
175  void SetCachedSize(int size) const final;
176  void InternalSwap(IntVarAssignment* other);
177  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
178  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
179  return "operations_research.IntVarAssignment";
180  }
181  protected:
182  explicit IntVarAssignment(::PROTOBUF_NAMESPACE_ID::Arena* arena,
183  bool is_message_owned = false);
184  private:
185  static void ArenaDtor(void* object);
186  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
187  public:
188 
189  static const ClassData _class_data_;
190  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
191 
192  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
193 
194  // nested types ----------------------------------------------------
195 
196  // accessors -------------------------------------------------------
197 
198  enum : int {
203  };
204  // string var_id = 1;
205  void clear_var_id();
206  const std::string& var_id() const;
207  template <typename ArgT0 = const std::string&, typename... ArgT>
208  void set_var_id(ArgT0&& arg0, ArgT... args);
209  std::string* mutable_var_id();
210  PROTOBUF_MUST_USE_RESULT std::string* release_var_id();
211  void set_allocated_var_id(std::string* var_id);
212  private:
213  const std::string& _internal_var_id() const;
214  inline PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const std::string& value);
215  std::string* _internal_mutable_var_id();
216  public:
217 
218  // int64 min = 2;
219  void clear_min();
220  ::PROTOBUF_NAMESPACE_ID::int64 min() const;
221  void set_min(::PROTOBUF_NAMESPACE_ID::int64 value);
222  private:
223  ::PROTOBUF_NAMESPACE_ID::int64 _internal_min() const;
224  void _internal_set_min(::PROTOBUF_NAMESPACE_ID::int64 value);
225  public:
226 
227  // int64 max = 3;
228  void clear_max();
229  ::PROTOBUF_NAMESPACE_ID::int64 max() const;
230  void set_max(::PROTOBUF_NAMESPACE_ID::int64 value);
231  private:
232  ::PROTOBUF_NAMESPACE_ID::int64 _internal_max() const;
233  void _internal_set_max(::PROTOBUF_NAMESPACE_ID::int64 value);
234  public:
235 
236  // bool active = 4;
237  void clear_active();
238  bool active() const;
239  void set_active(bool value);
240  private:
241  bool _internal_active() const;
242  void _internal_set_active(bool value);
243  public:
244 
245  // @@protoc_insertion_point(class_scope:operations_research.IntVarAssignment)
246  private:
247  class _Internal;
248 
249  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
250  typedef void InternalArenaConstructable_;
251  typedef void DestructorSkippable_;
252  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr var_id_;
253  ::PROTOBUF_NAMESPACE_ID::int64 min_;
254  ::PROTOBUF_NAMESPACE_ID::int64 max_;
255  bool active_;
256  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
257  friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
258 };
259 // -------------------------------------------------------------------
260 
262  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.IntervalVarAssignment) */ {
263  public:
265  ~IntervalVarAssignment() override;
266  explicit constexpr IntervalVarAssignment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
267 
271  *this = ::std::move(from);
272  }
273 
275  CopyFrom(from);
276  return *this;
277  }
279  if (this == &from) return *this;
280  if (GetOwningArena() == from.GetOwningArena()) {
281  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 default_instance().GetMetadata().descriptor;
293  }
294  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
295  return default_instance().GetMetadata().reflection;
296  }
298  return *internal_default_instance();
299  }
301  return reinterpret_cast<const IntervalVarAssignment*>(
303  }
304  static constexpr int kIndexInFileMessages =
305  1;
306 
308  a.Swap(&b);
309  }
310  inline void Swap(IntervalVarAssignment* other) {
311  if (other == this) return;
312  if (GetOwningArena() == other->GetOwningArena()) {
313  InternalSwap(other);
314  } else {
315  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
316  }
317  }
319  if (other == this) return;
320  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
321  InternalSwap(other);
322  }
323 
324  // implements Message ----------------------------------------------
325 
326  inline IntervalVarAssignment* New() const final {
327  return new IntervalVarAssignment();
328  }
329 
330  IntervalVarAssignment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
331  return CreateMaybeMessage<IntervalVarAssignment>(arena);
332  }
333  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
334  void CopyFrom(const IntervalVarAssignment& from);
335  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
336  void MergeFrom(const IntervalVarAssignment& from);
337  private:
338  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
339  public:
340  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
341  bool IsInitialized() const final;
342 
343  size_t ByteSizeLong() const final;
344  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
345  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
346  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
347  int GetCachedSize() const final { return _cached_size_.Get(); }
348 
349  private:
350  void SharedCtor();
351  void SharedDtor();
352  void SetCachedSize(int size) const final;
353  void InternalSwap(IntervalVarAssignment* other);
354  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
355  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
356  return "operations_research.IntervalVarAssignment";
357  }
358  protected:
359  explicit IntervalVarAssignment(::PROTOBUF_NAMESPACE_ID::Arena* arena,
360  bool is_message_owned = false);
361  private:
362  static void ArenaDtor(void* object);
363  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
364  public:
365 
366  static const ClassData _class_data_;
367  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
368 
369  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
370 
371  // nested types ----------------------------------------------------
372 
373  // accessors -------------------------------------------------------
374 
375  enum : int {
386  };
387  // string var_id = 1;
388  void clear_var_id();
389  const std::string& var_id() const;
390  template <typename ArgT0 = const std::string&, typename... ArgT>
391  void set_var_id(ArgT0&& arg0, ArgT... args);
392  std::string* mutable_var_id();
393  PROTOBUF_MUST_USE_RESULT std::string* release_var_id();
394  void set_allocated_var_id(std::string* var_id);
395  private:
396  const std::string& _internal_var_id() const;
397  inline PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const std::string& value);
398  std::string* _internal_mutable_var_id();
399  public:
400 
401  // int64 start_min = 2;
402  void clear_start_min();
403  ::PROTOBUF_NAMESPACE_ID::int64 start_min() const;
404  void set_start_min(::PROTOBUF_NAMESPACE_ID::int64 value);
405  private:
406  ::PROTOBUF_NAMESPACE_ID::int64 _internal_start_min() const;
407  void _internal_set_start_min(::PROTOBUF_NAMESPACE_ID::int64 value);
408  public:
409 
410  // int64 start_max = 3;
411  void clear_start_max();
412  ::PROTOBUF_NAMESPACE_ID::int64 start_max() const;
413  void set_start_max(::PROTOBUF_NAMESPACE_ID::int64 value);
414  private:
415  ::PROTOBUF_NAMESPACE_ID::int64 _internal_start_max() const;
416  void _internal_set_start_max(::PROTOBUF_NAMESPACE_ID::int64 value);
417  public:
418 
419  // int64 duration_min = 4;
420  void clear_duration_min();
421  ::PROTOBUF_NAMESPACE_ID::int64 duration_min() const;
422  void set_duration_min(::PROTOBUF_NAMESPACE_ID::int64 value);
423  private:
424  ::PROTOBUF_NAMESPACE_ID::int64 _internal_duration_min() const;
425  void _internal_set_duration_min(::PROTOBUF_NAMESPACE_ID::int64 value);
426  public:
427 
428  // int64 duration_max = 5;
429  void clear_duration_max();
430  ::PROTOBUF_NAMESPACE_ID::int64 duration_max() const;
431  void set_duration_max(::PROTOBUF_NAMESPACE_ID::int64 value);
432  private:
433  ::PROTOBUF_NAMESPACE_ID::int64 _internal_duration_max() const;
434  void _internal_set_duration_max(::PROTOBUF_NAMESPACE_ID::int64 value);
435  public:
436 
437  // int64 end_min = 6;
438  void clear_end_min();
439  ::PROTOBUF_NAMESPACE_ID::int64 end_min() const;
440  void set_end_min(::PROTOBUF_NAMESPACE_ID::int64 value);
441  private:
442  ::PROTOBUF_NAMESPACE_ID::int64 _internal_end_min() const;
443  void _internal_set_end_min(::PROTOBUF_NAMESPACE_ID::int64 value);
444  public:
445 
446  // int64 end_max = 7;
447  void clear_end_max();
448  ::PROTOBUF_NAMESPACE_ID::int64 end_max() const;
449  void set_end_max(::PROTOBUF_NAMESPACE_ID::int64 value);
450  private:
451  ::PROTOBUF_NAMESPACE_ID::int64 _internal_end_max() const;
452  void _internal_set_end_max(::PROTOBUF_NAMESPACE_ID::int64 value);
453  public:
454 
455  // int64 performed_min = 8;
456  void clear_performed_min();
457  ::PROTOBUF_NAMESPACE_ID::int64 performed_min() const;
458  void set_performed_min(::PROTOBUF_NAMESPACE_ID::int64 value);
459  private:
460  ::PROTOBUF_NAMESPACE_ID::int64 _internal_performed_min() const;
461  void _internal_set_performed_min(::PROTOBUF_NAMESPACE_ID::int64 value);
462  public:
463 
464  // int64 performed_max = 9;
465  void clear_performed_max();
466  ::PROTOBUF_NAMESPACE_ID::int64 performed_max() const;
467  void set_performed_max(::PROTOBUF_NAMESPACE_ID::int64 value);
468  private:
469  ::PROTOBUF_NAMESPACE_ID::int64 _internal_performed_max() const;
470  void _internal_set_performed_max(::PROTOBUF_NAMESPACE_ID::int64 value);
471  public:
472 
473  // bool active = 10;
474  void clear_active();
475  bool active() const;
476  void set_active(bool value);
477  private:
478  bool _internal_active() const;
479  void _internal_set_active(bool value);
480  public:
481 
482  // @@protoc_insertion_point(class_scope:operations_research.IntervalVarAssignment)
483  private:
484  class _Internal;
485 
486  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
487  typedef void InternalArenaConstructable_;
488  typedef void DestructorSkippable_;
489  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr var_id_;
490  ::PROTOBUF_NAMESPACE_ID::int64 start_min_;
491  ::PROTOBUF_NAMESPACE_ID::int64 start_max_;
492  ::PROTOBUF_NAMESPACE_ID::int64 duration_min_;
493  ::PROTOBUF_NAMESPACE_ID::int64 duration_max_;
494  ::PROTOBUF_NAMESPACE_ID::int64 end_min_;
495  ::PROTOBUF_NAMESPACE_ID::int64 end_max_;
496  ::PROTOBUF_NAMESPACE_ID::int64 performed_min_;
497  ::PROTOBUF_NAMESPACE_ID::int64 performed_max_;
498  bool active_;
499  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
500  friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
501 };
502 // -------------------------------------------------------------------
503 
505  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.SequenceVarAssignment) */ {
506  public:
508  ~SequenceVarAssignment() override;
509  explicit constexpr SequenceVarAssignment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
510 
514  *this = ::std::move(from);
515  }
516 
518  CopyFrom(from);
519  return *this;
520  }
522  if (this == &from) return *this;
523  if (GetOwningArena() == from.GetOwningArena()) {
524  InternalSwap(&from);
525  } else {
526  CopyFrom(from);
527  }
528  return *this;
529  }
530 
531  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
532  return GetDescriptor();
533  }
534  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
535  return default_instance().GetMetadata().descriptor;
536  }
537  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
538  return default_instance().GetMetadata().reflection;
539  }
541  return *internal_default_instance();
542  }
544  return reinterpret_cast<const SequenceVarAssignment*>(
546  }
547  static constexpr int kIndexInFileMessages =
548  2;
549 
551  a.Swap(&b);
552  }
553  inline void Swap(SequenceVarAssignment* other) {
554  if (other == this) return;
555  if (GetOwningArena() == other->GetOwningArena()) {
556  InternalSwap(other);
557  } else {
558  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
559  }
560  }
562  if (other == this) return;
563  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
564  InternalSwap(other);
565  }
566 
567  // implements Message ----------------------------------------------
568 
569  inline SequenceVarAssignment* New() const final {
570  return new SequenceVarAssignment();
571  }
572 
573  SequenceVarAssignment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
574  return CreateMaybeMessage<SequenceVarAssignment>(arena);
575  }
576  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
577  void CopyFrom(const SequenceVarAssignment& from);
578  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
579  void MergeFrom(const SequenceVarAssignment& from);
580  private:
581  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
582  public:
583  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
584  bool IsInitialized() const final;
585 
586  size_t ByteSizeLong() const final;
587  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
588  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
589  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
590  int GetCachedSize() const final { return _cached_size_.Get(); }
591 
592  private:
593  void SharedCtor();
594  void SharedDtor();
595  void SetCachedSize(int size) const final;
596  void InternalSwap(SequenceVarAssignment* other);
597  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
598  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
599  return "operations_research.SequenceVarAssignment";
600  }
601  protected:
602  explicit SequenceVarAssignment(::PROTOBUF_NAMESPACE_ID::Arena* arena,
603  bool is_message_owned = false);
604  private:
605  static void ArenaDtor(void* object);
606  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
607  public:
608 
609  static const ClassData _class_data_;
610  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
611 
612  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
613 
614  // nested types ----------------------------------------------------
615 
616  // accessors -------------------------------------------------------
617 
618  enum : int {
624  };
625  // repeated int32 forward_sequence = 2;
626  int forward_sequence_size() const;
627  private:
628  int _internal_forward_sequence_size() const;
629  public:
630  void clear_forward_sequence();
631  private:
632  ::PROTOBUF_NAMESPACE_ID::int32 _internal_forward_sequence(int index) const;
633  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
634  _internal_forward_sequence() const;
635  void _internal_add_forward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value);
636  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
637  _internal_mutable_forward_sequence();
638  public:
639  ::PROTOBUF_NAMESPACE_ID::int32 forward_sequence(int index) const;
640  void set_forward_sequence(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
641  void add_forward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value);
642  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
643  forward_sequence() const;
644  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
646 
647  // repeated int32 backward_sequence = 3;
648  int backward_sequence_size() const;
649  private:
650  int _internal_backward_sequence_size() const;
651  public:
653  private:
654  ::PROTOBUF_NAMESPACE_ID::int32 _internal_backward_sequence(int index) const;
655  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
656  _internal_backward_sequence() const;
657  void _internal_add_backward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value);
658  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
659  _internal_mutable_backward_sequence();
660  public:
661  ::PROTOBUF_NAMESPACE_ID::int32 backward_sequence(int index) const;
662  void set_backward_sequence(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
663  void add_backward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value);
664  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
665  backward_sequence() const;
666  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
668 
669  // repeated int32 unperformed = 4;
670  int unperformed_size() const;
671  private:
672  int _internal_unperformed_size() const;
673  public:
674  void clear_unperformed();
675  private:
676  ::PROTOBUF_NAMESPACE_ID::int32 _internal_unperformed(int index) const;
677  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
678  _internal_unperformed() const;
679  void _internal_add_unperformed(::PROTOBUF_NAMESPACE_ID::int32 value);
680  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
681  _internal_mutable_unperformed();
682  public:
683  ::PROTOBUF_NAMESPACE_ID::int32 unperformed(int index) const;
684  void set_unperformed(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
685  void add_unperformed(::PROTOBUF_NAMESPACE_ID::int32 value);
686  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
687  unperformed() const;
688  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
690 
691  // string var_id = 1;
692  void clear_var_id();
693  const std::string& var_id() const;
694  template <typename ArgT0 = const std::string&, typename... ArgT>
695  void set_var_id(ArgT0&& arg0, ArgT... args);
696  std::string* mutable_var_id();
697  PROTOBUF_MUST_USE_RESULT std::string* release_var_id();
698  void set_allocated_var_id(std::string* var_id);
699  private:
700  const std::string& _internal_var_id() const;
701  inline PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const std::string& value);
702  std::string* _internal_mutable_var_id();
703  public:
704 
705  // bool active = 5;
706  void clear_active();
707  bool active() const;
708  void set_active(bool value);
709  private:
710  bool _internal_active() const;
711  void _internal_set_active(bool value);
712  public:
713 
714  // @@protoc_insertion_point(class_scope:operations_research.SequenceVarAssignment)
715  private:
716  class _Internal;
717 
718  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
719  typedef void InternalArenaConstructable_;
720  typedef void DestructorSkippable_;
721  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > forward_sequence_;
722  mutable std::atomic<int> _forward_sequence_cached_byte_size_;
723  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > backward_sequence_;
724  mutable std::atomic<int> _backward_sequence_cached_byte_size_;
725  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > unperformed_;
726  mutable std::atomic<int> _unperformed_cached_byte_size_;
727  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr var_id_;
728  bool active_;
729  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
730  friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
731 };
732 // -------------------------------------------------------------------
733 
734 class WorkerInfo final :
735  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.WorkerInfo) */ {
736  public:
737  inline WorkerInfo() : WorkerInfo(nullptr) {}
738  ~WorkerInfo() override;
739  explicit constexpr WorkerInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
740 
741  WorkerInfo(const WorkerInfo& from);
742  WorkerInfo(WorkerInfo&& from) noexcept
743  : WorkerInfo() {
744  *this = ::std::move(from);
745  }
746 
747  inline WorkerInfo& operator=(const WorkerInfo& from) {
748  CopyFrom(from);
749  return *this;
750  }
751  inline WorkerInfo& operator=(WorkerInfo&& from) noexcept {
752  if (this == &from) return *this;
753  if (GetOwningArena() == from.GetOwningArena()) {
754  InternalSwap(&from);
755  } else {
756  CopyFrom(from);
757  }
758  return *this;
759  }
760 
761  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
762  return GetDescriptor();
763  }
764  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
765  return default_instance().GetMetadata().descriptor;
766  }
767  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
768  return default_instance().GetMetadata().reflection;
769  }
770  static const WorkerInfo& default_instance() {
771  return *internal_default_instance();
772  }
773  static inline const WorkerInfo* internal_default_instance() {
774  return reinterpret_cast<const WorkerInfo*>(
776  }
777  static constexpr int kIndexInFileMessages =
778  3;
779 
780  friend void swap(WorkerInfo& a, WorkerInfo& b) {
781  a.Swap(&b);
782  }
783  inline void Swap(WorkerInfo* other) {
784  if (other == this) return;
785  if (GetOwningArena() == other->GetOwningArena()) {
786  InternalSwap(other);
787  } else {
788  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
789  }
790  }
792  if (other == this) return;
793  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
794  InternalSwap(other);
795  }
796 
797  // implements Message ----------------------------------------------
798 
799  inline WorkerInfo* New() const final {
800  return new WorkerInfo();
801  }
802 
803  WorkerInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
804  return CreateMaybeMessage<WorkerInfo>(arena);
805  }
806  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
807  void CopyFrom(const WorkerInfo& from);
808  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
809  void MergeFrom(const WorkerInfo& from);
810  private:
811  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
812  public:
813  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
814  bool IsInitialized() const final;
815 
816  size_t ByteSizeLong() const final;
817  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
818  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
819  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
820  int GetCachedSize() const final { return _cached_size_.Get(); }
821 
822  private:
823  void SharedCtor();
824  void SharedDtor();
825  void SetCachedSize(int size) const final;
826  void InternalSwap(WorkerInfo* other);
827  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
828  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
829  return "operations_research.WorkerInfo";
830  }
831  protected:
832  explicit WorkerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
833  bool is_message_owned = false);
834  private:
835  static void ArenaDtor(void* object);
836  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
837  public:
838 
839  static const ClassData _class_data_;
840  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
841 
842  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
843 
844  // nested types ----------------------------------------------------
845 
846  // accessors -------------------------------------------------------
847 
848  enum : int {
851  };
852  // string bns = 2;
853  void clear_bns();
854  const std::string& bns() const;
855  template <typename ArgT0 = const std::string&, typename... ArgT>
856  void set_bns(ArgT0&& arg0, ArgT... args);
857  std::string* mutable_bns();
858  PROTOBUF_MUST_USE_RESULT std::string* release_bns();
859  void set_allocated_bns(std::string* bns);
860  private:
861  const std::string& _internal_bns() const;
862  inline PROTOBUF_ALWAYS_INLINE void _internal_set_bns(const std::string& value);
863  std::string* _internal_mutable_bns();
864  public:
865 
866  // int32 worker_id = 1;
867  void clear_worker_id();
868  ::PROTOBUF_NAMESPACE_ID::int32 worker_id() const;
869  void set_worker_id(::PROTOBUF_NAMESPACE_ID::int32 value);
870  private:
871  ::PROTOBUF_NAMESPACE_ID::int32 _internal_worker_id() const;
872  void _internal_set_worker_id(::PROTOBUF_NAMESPACE_ID::int32 value);
873  public:
874 
875  // @@protoc_insertion_point(class_scope:operations_research.WorkerInfo)
876  private:
877  class _Internal;
878 
879  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
880  typedef void InternalArenaConstructable_;
881  typedef void DestructorSkippable_;
882  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bns_;
883  ::PROTOBUF_NAMESPACE_ID::int32 worker_id_;
884  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
885  friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
886 };
887 // -------------------------------------------------------------------
888 
889 class AssignmentProto final :
890  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.AssignmentProto) */ {
891  public:
892  inline AssignmentProto() : AssignmentProto(nullptr) {}
893  ~AssignmentProto() override;
894  explicit constexpr AssignmentProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
895 
896  AssignmentProto(const AssignmentProto& from);
898  : AssignmentProto() {
899  *this = ::std::move(from);
900  }
901 
903  CopyFrom(from);
904  return *this;
905  }
906  inline AssignmentProto& operator=(AssignmentProto&& from) noexcept {
907  if (this == &from) return *this;
908  if (GetOwningArena() == from.GetOwningArena()) {
909  InternalSwap(&from);
910  } else {
911  CopyFrom(from);
912  }
913  return *this;
914  }
915 
916  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
917  return GetDescriptor();
918  }
919  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
920  return default_instance().GetMetadata().descriptor;
921  }
922  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
923  return default_instance().GetMetadata().reflection;
924  }
926  return *internal_default_instance();
927  }
929  return reinterpret_cast<const AssignmentProto*>(
931  }
932  static constexpr int kIndexInFileMessages =
933  4;
934 
936  a.Swap(&b);
937  }
938  inline void Swap(AssignmentProto* other) {
939  if (other == this) return;
940  if (GetOwningArena() == other->GetOwningArena()) {
941  InternalSwap(other);
942  } else {
943  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
944  }
945  }
947  if (other == this) return;
948  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
949  InternalSwap(other);
950  }
951 
952  // implements Message ----------------------------------------------
953 
954  inline AssignmentProto* New() const final {
955  return new AssignmentProto();
956  }
957 
958  AssignmentProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
959  return CreateMaybeMessage<AssignmentProto>(arena);
960  }
961  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
962  void CopyFrom(const AssignmentProto& from);
963  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
964  void MergeFrom(const AssignmentProto& from);
965  private:
966  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
967  public:
968  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
969  bool IsInitialized() const final;
970 
971  size_t ByteSizeLong() const final;
972  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
973  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
974  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
975  int GetCachedSize() const final { return _cached_size_.Get(); }
976 
977  private:
978  void SharedCtor();
979  void SharedDtor();
980  void SetCachedSize(int size) const final;
981  void InternalSwap(AssignmentProto* other);
982  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
983  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
984  return "operations_research.AssignmentProto";
985  }
986  protected:
987  explicit AssignmentProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
988  bool is_message_owned = false);
989  private:
990  static void ArenaDtor(void* object);
991  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
992  public:
993 
994  static const ClassData _class_data_;
995  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
996 
997  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
998 
999  // nested types ----------------------------------------------------
1000 
1001  // accessors -------------------------------------------------------
1002 
1003  enum : int {
1010  };
1011  // repeated .operations_research.IntVarAssignment int_var_assignment = 1;
1012  int int_var_assignment_size() const;
1013  private:
1014  int _internal_int_var_assignment_size() const;
1015  public:
1016  void clear_int_var_assignment();
1018  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntVarAssignment >*
1020  private:
1021  const ::operations_research::IntVarAssignment& _internal_int_var_assignment(int index) const;
1022  ::operations_research::IntVarAssignment* _internal_add_int_var_assignment();
1023  public:
1024  const ::operations_research::IntVarAssignment& int_var_assignment(int index) const;
1026  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntVarAssignment >&
1027  int_var_assignment() const;
1028 
1029  // repeated .operations_research.IntervalVarAssignment interval_var_assignment = 2;
1030  int interval_var_assignment_size() const;
1031  private:
1032  int _internal_interval_var_assignment_size() const;
1033  public:
1036  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntervalVarAssignment >*
1038  private:
1039  const ::operations_research::IntervalVarAssignment& _internal_interval_var_assignment(int index) const;
1040  ::operations_research::IntervalVarAssignment* _internal_add_interval_var_assignment();
1041  public:
1042  const ::operations_research::IntervalVarAssignment& interval_var_assignment(int index) const;
1044  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntervalVarAssignment >&
1045  interval_var_assignment() const;
1046 
1047  // repeated .operations_research.SequenceVarAssignment sequence_var_assignment = 6;
1048  int sequence_var_assignment_size() const;
1049  private:
1050  int _internal_sequence_var_assignment_size() const;
1051  public:
1054  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::SequenceVarAssignment >*
1056  private:
1057  const ::operations_research::SequenceVarAssignment& _internal_sequence_var_assignment(int index) const;
1058  ::operations_research::SequenceVarAssignment* _internal_add_sequence_var_assignment();
1059  public:
1060  const ::operations_research::SequenceVarAssignment& sequence_var_assignment(int index) const;
1062  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::SequenceVarAssignment >&
1063  sequence_var_assignment() const;
1064 
1065  // .operations_research.IntVarAssignment objective = 3;
1066  bool has_objective() const;
1067  private:
1068  bool _internal_has_objective() const;
1069  public:
1070  void clear_objective();
1071  const ::operations_research::IntVarAssignment& objective() const;
1072  PROTOBUF_MUST_USE_RESULT ::operations_research::IntVarAssignment* release_objective();
1075  private:
1076  const ::operations_research::IntVarAssignment& _internal_objective() const;
1077  ::operations_research::IntVarAssignment* _internal_mutable_objective();
1078  public:
1082 
1083  // .operations_research.WorkerInfo worker_info = 4;
1084  bool has_worker_info() const;
1085  private:
1086  bool _internal_has_worker_info() const;
1087  public:
1088  void clear_worker_info();
1089  const ::operations_research::WorkerInfo& worker_info() const;
1090  PROTOBUF_MUST_USE_RESULT ::operations_research::WorkerInfo* release_worker_info();
1093  private:
1094  const ::operations_research::WorkerInfo& _internal_worker_info() const;
1095  ::operations_research::WorkerInfo* _internal_mutable_worker_info();
1096  public:
1100 
1101  // bool is_valid = 5;
1102  void clear_is_valid();
1103  bool is_valid() const;
1104  void set_is_valid(bool value);
1105  private:
1106  bool _internal_is_valid() const;
1107  void _internal_set_is_valid(bool value);
1108  public:
1109 
1110  // @@protoc_insertion_point(class_scope:operations_research.AssignmentProto)
1111  private:
1112  class _Internal;
1113 
1114  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1115  typedef void InternalArenaConstructable_;
1116  typedef void DestructorSkippable_;
1117  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntVarAssignment > int_var_assignment_;
1118  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntervalVarAssignment > interval_var_assignment_;
1119  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::SequenceVarAssignment > sequence_var_assignment_;
1121  ::operations_research::WorkerInfo* worker_info_;
1122  bool is_valid_;
1123  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1124  friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
1125 };
1126 // ===================================================================
1127 
1128 
1129 // ===================================================================
1130 
1131 #ifdef __GNUC__
1132  #pragma GCC diagnostic push
1133  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1134 #endif // __GNUC__
1135 // IntVarAssignment
1136 
1137 // string var_id = 1;
1139  var_id_.ClearToEmpty();
1140 }
1141 inline const std::string& IntVarAssignment::var_id() const {
1142  // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.var_id)
1143  return _internal_var_id();
1144 }
1145 template <typename ArgT0, typename... ArgT>
1146 inline PROTOBUF_ALWAYS_INLINE
1147 void IntVarAssignment::set_var_id(ArgT0&& arg0, ArgT... args) {
1148 
1149  var_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1150  // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.var_id)
1151 }
1152 inline std::string* IntVarAssignment::mutable_var_id() {
1153  std::string* _s = _internal_mutable_var_id();
1154  // @@protoc_insertion_point(field_mutable:operations_research.IntVarAssignment.var_id)
1155  return _s;
1156 }
1157 inline const std::string& IntVarAssignment::_internal_var_id() const {
1158  return var_id_.Get();
1159 }
1160 inline void IntVarAssignment::_internal_set_var_id(const std::string& value) {
1161 
1162  var_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1163 }
1164 inline std::string* IntVarAssignment::_internal_mutable_var_id() {
1165 
1166  return var_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1167 }
1168 inline std::string* IntVarAssignment::release_var_id() {
1169  // @@protoc_insertion_point(field_release:operations_research.IntVarAssignment.var_id)
1170  return var_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1171 }
1172 inline void IntVarAssignment::set_allocated_var_id(std::string* var_id) {
1173  if (var_id != nullptr) {
1174 
1175  } else {
1176 
1177  }
1178  var_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), var_id,
1179  GetArenaForAllocation());
1180  // @@protoc_insertion_point(field_set_allocated:operations_research.IntVarAssignment.var_id)
1181 }
1182 
1183 // int64 min = 2;
1185  min_ = int64_t{0};
1186 }
1187 inline ::PROTOBUF_NAMESPACE_ID::int64 IntVarAssignment::_internal_min() const {
1188  return min_;
1189 }
1190 inline ::PROTOBUF_NAMESPACE_ID::int64 IntVarAssignment::min() const {
1191  // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.min)
1192  return _internal_min();
1193 }
1194 inline void IntVarAssignment::_internal_set_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1195 
1196  min_ = value;
1197 }
1198 inline void IntVarAssignment::set_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1199  _internal_set_min(value);
1200  // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.min)
1201 }
1202 
1203 // int64 max = 3;
1205  max_ = int64_t{0};
1206 }
1207 inline ::PROTOBUF_NAMESPACE_ID::int64 IntVarAssignment::_internal_max() const {
1208  return max_;
1209 }
1210 inline ::PROTOBUF_NAMESPACE_ID::int64 IntVarAssignment::max() const {
1211  // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.max)
1212  return _internal_max();
1213 }
1214 inline void IntVarAssignment::_internal_set_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1215 
1216  max_ = value;
1217 }
1218 inline void IntVarAssignment::set_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1219  _internal_set_max(value);
1220  // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.max)
1221 }
1222 
1223 // bool active = 4;
1225  active_ = false;
1226 }
1227 inline bool IntVarAssignment::_internal_active() const {
1228  return active_;
1229 }
1230 inline bool IntVarAssignment::active() const {
1231  // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.active)
1232  return _internal_active();
1233 }
1234 inline void IntVarAssignment::_internal_set_active(bool value) {
1235 
1236  active_ = value;
1237 }
1239  _internal_set_active(value);
1240  // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.active)
1241 }
1242 
1243 // -------------------------------------------------------------------
1244 
1245 // IntervalVarAssignment
1246 
1247 // string var_id = 1;
1249  var_id_.ClearToEmpty();
1250 }
1251 inline const std::string& IntervalVarAssignment::var_id() const {
1252  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.var_id)
1253  return _internal_var_id();
1254 }
1255 template <typename ArgT0, typename... ArgT>
1256 inline PROTOBUF_ALWAYS_INLINE
1257 void IntervalVarAssignment::set_var_id(ArgT0&& arg0, ArgT... args) {
1258 
1259  var_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1260  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.var_id)
1261 }
1263  std::string* _s = _internal_mutable_var_id();
1264  // @@protoc_insertion_point(field_mutable:operations_research.IntervalVarAssignment.var_id)
1265  return _s;
1266 }
1267 inline const std::string& IntervalVarAssignment::_internal_var_id() const {
1268  return var_id_.Get();
1269 }
1270 inline void IntervalVarAssignment::_internal_set_var_id(const std::string& value) {
1271 
1272  var_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1273 }
1274 inline std::string* IntervalVarAssignment::_internal_mutable_var_id() {
1275 
1276  return var_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1277 }
1279  // @@protoc_insertion_point(field_release:operations_research.IntervalVarAssignment.var_id)
1280  return var_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1281 }
1282 inline void IntervalVarAssignment::set_allocated_var_id(std::string* var_id) {
1283  if (var_id != nullptr) {
1284 
1285  } else {
1286 
1287  }
1288  var_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), var_id,
1289  GetArenaForAllocation());
1290  // @@protoc_insertion_point(field_set_allocated:operations_research.IntervalVarAssignment.var_id)
1291 }
1292 
1293 // int64 start_min = 2;
1295  start_min_ = int64_t{0};
1296 }
1297 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::_internal_start_min() const {
1298  return start_min_;
1299 }
1300 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::start_min() const {
1301  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.start_min)
1302  return _internal_start_min();
1303 }
1304 inline void IntervalVarAssignment::_internal_set_start_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1305 
1306  start_min_ = value;
1307 }
1308 inline void IntervalVarAssignment::set_start_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1309  _internal_set_start_min(value);
1310  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.start_min)
1311 }
1312 
1313 // int64 start_max = 3;
1315  start_max_ = int64_t{0};
1316 }
1317 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::_internal_start_max() const {
1318  return start_max_;
1319 }
1320 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::start_max() const {
1321  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.start_max)
1322  return _internal_start_max();
1323 }
1324 inline void IntervalVarAssignment::_internal_set_start_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1325 
1326  start_max_ = value;
1327 }
1328 inline void IntervalVarAssignment::set_start_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1329  _internal_set_start_max(value);
1330  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.start_max)
1331 }
1332 
1333 // int64 duration_min = 4;
1335  duration_min_ = int64_t{0};
1336 }
1337 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::_internal_duration_min() const {
1338  return duration_min_;
1339 }
1340 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::duration_min() const {
1341  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.duration_min)
1342  return _internal_duration_min();
1343 }
1344 inline void IntervalVarAssignment::_internal_set_duration_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1345 
1346  duration_min_ = value;
1347 }
1348 inline void IntervalVarAssignment::set_duration_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1349  _internal_set_duration_min(value);
1350  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.duration_min)
1351 }
1352 
1353 // int64 duration_max = 5;
1355  duration_max_ = int64_t{0};
1356 }
1357 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::_internal_duration_max() const {
1358  return duration_max_;
1359 }
1360 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::duration_max() const {
1361  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.duration_max)
1362  return _internal_duration_max();
1363 }
1364 inline void IntervalVarAssignment::_internal_set_duration_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1365 
1366  duration_max_ = value;
1367 }
1368 inline void IntervalVarAssignment::set_duration_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1369  _internal_set_duration_max(value);
1370  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.duration_max)
1371 }
1372 
1373 // int64 end_min = 6;
1375  end_min_ = int64_t{0};
1376 }
1377 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::_internal_end_min() const {
1378  return end_min_;
1379 }
1380 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::end_min() const {
1381  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.end_min)
1382  return _internal_end_min();
1383 }
1384 inline void IntervalVarAssignment::_internal_set_end_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1385 
1386  end_min_ = value;
1387 }
1388 inline void IntervalVarAssignment::set_end_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1389  _internal_set_end_min(value);
1390  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.end_min)
1391 }
1392 
1393 // int64 end_max = 7;
1395  end_max_ = int64_t{0};
1396 }
1397 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::_internal_end_max() const {
1398  return end_max_;
1399 }
1400 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::end_max() const {
1401  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.end_max)
1402  return _internal_end_max();
1403 }
1404 inline void IntervalVarAssignment::_internal_set_end_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1405 
1406  end_max_ = value;
1407 }
1408 inline void IntervalVarAssignment::set_end_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1409  _internal_set_end_max(value);
1410  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.end_max)
1411 }
1412 
1413 // int64 performed_min = 8;
1415  performed_min_ = int64_t{0};
1416 }
1417 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::_internal_performed_min() const {
1418  return performed_min_;
1419 }
1420 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::performed_min() const {
1421  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.performed_min)
1422  return _internal_performed_min();
1423 }
1424 inline void IntervalVarAssignment::_internal_set_performed_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1425 
1426  performed_min_ = value;
1427 }
1428 inline void IntervalVarAssignment::set_performed_min(::PROTOBUF_NAMESPACE_ID::int64 value) {
1429  _internal_set_performed_min(value);
1430  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.performed_min)
1431 }
1432 
1433 // int64 performed_max = 9;
1435  performed_max_ = int64_t{0};
1436 }
1437 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::_internal_performed_max() const {
1438  return performed_max_;
1439 }
1440 inline ::PROTOBUF_NAMESPACE_ID::int64 IntervalVarAssignment::performed_max() const {
1441  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.performed_max)
1442  return _internal_performed_max();
1443 }
1444 inline void IntervalVarAssignment::_internal_set_performed_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1445 
1446  performed_max_ = value;
1447 }
1448 inline void IntervalVarAssignment::set_performed_max(::PROTOBUF_NAMESPACE_ID::int64 value) {
1449  _internal_set_performed_max(value);
1450  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.performed_max)
1451 }
1452 
1453 // bool active = 10;
1455  active_ = false;
1456 }
1457 inline bool IntervalVarAssignment::_internal_active() const {
1458  return active_;
1459 }
1460 inline bool IntervalVarAssignment::active() const {
1461  // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.active)
1462  return _internal_active();
1463 }
1464 inline void IntervalVarAssignment::_internal_set_active(bool value) {
1465 
1466  active_ = value;
1467 }
1469  _internal_set_active(value);
1470  // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.active)
1471 }
1472 
1473 // -------------------------------------------------------------------
1474 
1475 // SequenceVarAssignment
1476 
1477 // string var_id = 1;
1479  var_id_.ClearToEmpty();
1480 }
1481 inline const std::string& SequenceVarAssignment::var_id() const {
1482  // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.var_id)
1483  return _internal_var_id();
1484 }
1485 template <typename ArgT0, typename... ArgT>
1486 inline PROTOBUF_ALWAYS_INLINE
1487 void SequenceVarAssignment::set_var_id(ArgT0&& arg0, ArgT... args) {
1488 
1489  var_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1490  // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.var_id)
1491 }
1493  std::string* _s = _internal_mutable_var_id();
1494  // @@protoc_insertion_point(field_mutable:operations_research.SequenceVarAssignment.var_id)
1495  return _s;
1496 }
1497 inline const std::string& SequenceVarAssignment::_internal_var_id() const {
1498  return var_id_.Get();
1499 }
1500 inline void SequenceVarAssignment::_internal_set_var_id(const std::string& value) {
1501 
1502  var_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1503 }
1504 inline std::string* SequenceVarAssignment::_internal_mutable_var_id() {
1505 
1506  return var_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1507 }
1509  // @@protoc_insertion_point(field_release:operations_research.SequenceVarAssignment.var_id)
1510  return var_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1511 }
1512 inline void SequenceVarAssignment::set_allocated_var_id(std::string* var_id) {
1513  if (var_id != nullptr) {
1514 
1515  } else {
1516 
1517  }
1518  var_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), var_id,
1519  GetArenaForAllocation());
1520  // @@protoc_insertion_point(field_set_allocated:operations_research.SequenceVarAssignment.var_id)
1521 }
1522 
1523 // repeated int32 forward_sequence = 2;
1524 inline int SequenceVarAssignment::_internal_forward_sequence_size() const {
1525  return forward_sequence_.size();
1526 }
1528  return _internal_forward_sequence_size();
1529 }
1531  forward_sequence_.Clear();
1532 }
1533 inline ::PROTOBUF_NAMESPACE_ID::int32 SequenceVarAssignment::_internal_forward_sequence(int index) const {
1534  return forward_sequence_.Get(index);
1535 }
1536 inline ::PROTOBUF_NAMESPACE_ID::int32 SequenceVarAssignment::forward_sequence(int index) const {
1537  // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.forward_sequence)
1538  return _internal_forward_sequence(index);
1539 }
1540 inline void SequenceVarAssignment::set_forward_sequence(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
1541  forward_sequence_.Set(index, value);
1542  // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.forward_sequence)
1543 }
1544 inline void SequenceVarAssignment::_internal_add_forward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value) {
1545  forward_sequence_.Add(value);
1546 }
1547 inline void SequenceVarAssignment::add_forward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value) {
1548  _internal_add_forward_sequence(value);
1549  // @@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.forward_sequence)
1550 }
1551 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1552 SequenceVarAssignment::_internal_forward_sequence() const {
1553  return forward_sequence_;
1554 }
1555 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1557  // @@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.forward_sequence)
1558  return _internal_forward_sequence();
1559 }
1560 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1561 SequenceVarAssignment::_internal_mutable_forward_sequence() {
1562  return &forward_sequence_;
1563 }
1564 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1566  // @@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.forward_sequence)
1567  return _internal_mutable_forward_sequence();
1568 }
1569 
1570 // repeated int32 backward_sequence = 3;
1571 inline int SequenceVarAssignment::_internal_backward_sequence_size() const {
1572  return backward_sequence_.size();
1573 }
1575  return _internal_backward_sequence_size();
1576 }
1578  backward_sequence_.Clear();
1579 }
1580 inline ::PROTOBUF_NAMESPACE_ID::int32 SequenceVarAssignment::_internal_backward_sequence(int index) const {
1581  return backward_sequence_.Get(index);
1582 }
1583 inline ::PROTOBUF_NAMESPACE_ID::int32 SequenceVarAssignment::backward_sequence(int index) const {
1584  // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.backward_sequence)
1585  return _internal_backward_sequence(index);
1586 }
1587 inline void SequenceVarAssignment::set_backward_sequence(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
1588  backward_sequence_.Set(index, value);
1589  // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.backward_sequence)
1590 }
1591 inline void SequenceVarAssignment::_internal_add_backward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value) {
1592  backward_sequence_.Add(value);
1593 }
1594 inline void SequenceVarAssignment::add_backward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value) {
1595  _internal_add_backward_sequence(value);
1596  // @@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.backward_sequence)
1597 }
1598 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1599 SequenceVarAssignment::_internal_backward_sequence() const {
1600  return backward_sequence_;
1601 }
1602 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1604  // @@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.backward_sequence)
1605  return _internal_backward_sequence();
1606 }
1607 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1608 SequenceVarAssignment::_internal_mutable_backward_sequence() {
1609  return &backward_sequence_;
1610 }
1611 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1613  // @@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.backward_sequence)
1614  return _internal_mutable_backward_sequence();
1615 }
1616 
1617 // repeated int32 unperformed = 4;
1618 inline int SequenceVarAssignment::_internal_unperformed_size() const {
1619  return unperformed_.size();
1620 }
1622  return _internal_unperformed_size();
1623 }
1625  unperformed_.Clear();
1626 }
1627 inline ::PROTOBUF_NAMESPACE_ID::int32 SequenceVarAssignment::_internal_unperformed(int index) const {
1628  return unperformed_.Get(index);
1629 }
1630 inline ::PROTOBUF_NAMESPACE_ID::int32 SequenceVarAssignment::unperformed(int index) const {
1631  // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.unperformed)
1632  return _internal_unperformed(index);
1633 }
1634 inline void SequenceVarAssignment::set_unperformed(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
1635  unperformed_.Set(index, value);
1636  // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.unperformed)
1637 }
1638 inline void SequenceVarAssignment::_internal_add_unperformed(::PROTOBUF_NAMESPACE_ID::int32 value) {
1639  unperformed_.Add(value);
1640 }
1641 inline void SequenceVarAssignment::add_unperformed(::PROTOBUF_NAMESPACE_ID::int32 value) {
1642  _internal_add_unperformed(value);
1643  // @@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.unperformed)
1644 }
1645 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1646 SequenceVarAssignment::_internal_unperformed() const {
1647  return unperformed_;
1648 }
1649 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1651  // @@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.unperformed)
1652  return _internal_unperformed();
1653 }
1654 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1655 SequenceVarAssignment::_internal_mutable_unperformed() {
1656  return &unperformed_;
1657 }
1658 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1660  // @@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.unperformed)
1661  return _internal_mutable_unperformed();
1662 }
1663 
1664 // bool active = 5;
1666  active_ = false;
1667 }
1668 inline bool SequenceVarAssignment::_internal_active() const {
1669  return active_;
1670 }
1671 inline bool SequenceVarAssignment::active() const {
1672  // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.active)
1673  return _internal_active();
1674 }
1675 inline void SequenceVarAssignment::_internal_set_active(bool value) {
1676 
1677  active_ = value;
1678 }
1680  _internal_set_active(value);
1681  // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.active)
1682 }
1683 
1684 // -------------------------------------------------------------------
1685 
1686 // WorkerInfo
1687 
1688 // int32 worker_id = 1;
1690  worker_id_ = 0;
1691 }
1692 inline ::PROTOBUF_NAMESPACE_ID::int32 WorkerInfo::_internal_worker_id() const {
1693  return worker_id_;
1694 }
1695 inline ::PROTOBUF_NAMESPACE_ID::int32 WorkerInfo::worker_id() const {
1696  // @@protoc_insertion_point(field_get:operations_research.WorkerInfo.worker_id)
1697  return _internal_worker_id();
1698 }
1699 inline void WorkerInfo::_internal_set_worker_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1700 
1701  worker_id_ = value;
1702 }
1703 inline void WorkerInfo::set_worker_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1704  _internal_set_worker_id(value);
1705  // @@protoc_insertion_point(field_set:operations_research.WorkerInfo.worker_id)
1706 }
1707 
1708 // string bns = 2;
1709 inline void WorkerInfo::clear_bns() {
1710  bns_.ClearToEmpty();
1711 }
1712 inline const std::string& WorkerInfo::bns() const {
1713  // @@protoc_insertion_point(field_get:operations_research.WorkerInfo.bns)
1714  return _internal_bns();
1715 }
1716 template <typename ArgT0, typename... ArgT>
1717 inline PROTOBUF_ALWAYS_INLINE
1718 void WorkerInfo::set_bns(ArgT0&& arg0, ArgT... args) {
1719 
1720  bns_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1721  // @@protoc_insertion_point(field_set:operations_research.WorkerInfo.bns)
1722 }
1723 inline std::string* WorkerInfo::mutable_bns() {
1724  std::string* _s = _internal_mutable_bns();
1725  // @@protoc_insertion_point(field_mutable:operations_research.WorkerInfo.bns)
1726  return _s;
1727 }
1728 inline const std::string& WorkerInfo::_internal_bns() const {
1729  return bns_.Get();
1730 }
1731 inline void WorkerInfo::_internal_set_bns(const std::string& value) {
1732 
1733  bns_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1734 }
1735 inline std::string* WorkerInfo::_internal_mutable_bns() {
1736 
1737  return bns_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1738 }
1739 inline std::string* WorkerInfo::release_bns() {
1740  // @@protoc_insertion_point(field_release:operations_research.WorkerInfo.bns)
1741  return bns_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1742 }
1743 inline void WorkerInfo::set_allocated_bns(std::string* bns) {
1744  if (bns != nullptr) {
1745 
1746  } else {
1747 
1748  }
1749  bns_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bns,
1750  GetArenaForAllocation());
1751  // @@protoc_insertion_point(field_set_allocated:operations_research.WorkerInfo.bns)
1752 }
1753 
1754 // -------------------------------------------------------------------
1755 
1756 // AssignmentProto
1757 
1758 // repeated .operations_research.IntVarAssignment int_var_assignment = 1;
1759 inline int AssignmentProto::_internal_int_var_assignment_size() const {
1760  return int_var_assignment_.size();
1761 }
1763  return _internal_int_var_assignment_size();
1764 }
1766  int_var_assignment_.Clear();
1767 }
1768 inline ::operations_research::IntVarAssignment* AssignmentProto::mutable_int_var_assignment(int index) {
1769  // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.int_var_assignment)
1770  return int_var_assignment_.Mutable(index);
1771 }
1772 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntVarAssignment >*
1774  // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.int_var_assignment)
1775  return &int_var_assignment_;
1776 }
1777 inline const ::operations_research::IntVarAssignment& AssignmentProto::_internal_int_var_assignment(int index) const {
1778  return int_var_assignment_.Get(index);
1779 }
1780 inline const ::operations_research::IntVarAssignment& AssignmentProto::int_var_assignment(int index) const {
1781  // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.int_var_assignment)
1782  return _internal_int_var_assignment(index);
1783 }
1784 inline ::operations_research::IntVarAssignment* AssignmentProto::_internal_add_int_var_assignment() {
1785  return int_var_assignment_.Add();
1786 }
1787 inline ::operations_research::IntVarAssignment* AssignmentProto::add_int_var_assignment() {
1788  ::operations_research::IntVarAssignment* _add = _internal_add_int_var_assignment();
1789  // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.int_var_assignment)
1790  return _add;
1791 }
1792 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntVarAssignment >&
1794  // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.int_var_assignment)
1795  return int_var_assignment_;
1796 }
1797 
1798 // repeated .operations_research.IntervalVarAssignment interval_var_assignment = 2;
1799 inline int AssignmentProto::_internal_interval_var_assignment_size() const {
1800  return interval_var_assignment_.size();
1801 }
1803  return _internal_interval_var_assignment_size();
1804 }
1806  interval_var_assignment_.Clear();
1807 }
1808 inline ::operations_research::IntervalVarAssignment* AssignmentProto::mutable_interval_var_assignment(int index) {
1809  // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.interval_var_assignment)
1810  return interval_var_assignment_.Mutable(index);
1811 }
1812 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntervalVarAssignment >*
1814  // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.interval_var_assignment)
1815  return &interval_var_assignment_;
1816 }
1817 inline const ::operations_research::IntervalVarAssignment& AssignmentProto::_internal_interval_var_assignment(int index) const {
1818  return interval_var_assignment_.Get(index);
1819 }
1820 inline const ::operations_research::IntervalVarAssignment& AssignmentProto::interval_var_assignment(int index) const {
1821  // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.interval_var_assignment)
1822  return _internal_interval_var_assignment(index);
1823 }
1824 inline ::operations_research::IntervalVarAssignment* AssignmentProto::_internal_add_interval_var_assignment() {
1825  return interval_var_assignment_.Add();
1826 }
1827 inline ::operations_research::IntervalVarAssignment* AssignmentProto::add_interval_var_assignment() {
1828  ::operations_research::IntervalVarAssignment* _add = _internal_add_interval_var_assignment();
1829  // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.interval_var_assignment)
1830  return _add;
1831 }
1832 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntervalVarAssignment >&
1834  // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.interval_var_assignment)
1835  return interval_var_assignment_;
1836 }
1837 
1838 // repeated .operations_research.SequenceVarAssignment sequence_var_assignment = 6;
1839 inline int AssignmentProto::_internal_sequence_var_assignment_size() const {
1840  return sequence_var_assignment_.size();
1841 }
1843  return _internal_sequence_var_assignment_size();
1844 }
1846  sequence_var_assignment_.Clear();
1847 }
1848 inline ::operations_research::SequenceVarAssignment* AssignmentProto::mutable_sequence_var_assignment(int index) {
1849  // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.sequence_var_assignment)
1850  return sequence_var_assignment_.Mutable(index);
1851 }
1852 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::SequenceVarAssignment >*
1854  // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.sequence_var_assignment)
1855  return &sequence_var_assignment_;
1856 }
1857 inline const ::operations_research::SequenceVarAssignment& AssignmentProto::_internal_sequence_var_assignment(int index) const {
1858  return sequence_var_assignment_.Get(index);
1859 }
1860 inline const ::operations_research::SequenceVarAssignment& AssignmentProto::sequence_var_assignment(int index) const {
1861  // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.sequence_var_assignment)
1862  return _internal_sequence_var_assignment(index);
1863 }
1864 inline ::operations_research::SequenceVarAssignment* AssignmentProto::_internal_add_sequence_var_assignment() {
1865  return sequence_var_assignment_.Add();
1866 }
1867 inline ::operations_research::SequenceVarAssignment* AssignmentProto::add_sequence_var_assignment() {
1868  ::operations_research::SequenceVarAssignment* _add = _internal_add_sequence_var_assignment();
1869  // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.sequence_var_assignment)
1870  return _add;
1871 }
1872 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::SequenceVarAssignment >&
1874  // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.sequence_var_assignment)
1875  return sequence_var_assignment_;
1876 }
1877 
1878 // .operations_research.IntVarAssignment objective = 3;
1879 inline bool AssignmentProto::_internal_has_objective() const {
1880  return this != internal_default_instance() && objective_ != nullptr;
1881 }
1882 inline bool AssignmentProto::has_objective() const {
1883  return _internal_has_objective();
1884 }
1886  if (GetArenaForAllocation() == nullptr && objective_ != nullptr) {
1887  delete objective_;
1888  }
1889  objective_ = nullptr;
1890 }
1891 inline const ::operations_research::IntVarAssignment& AssignmentProto::_internal_objective() const {
1892  const ::operations_research::IntVarAssignment* p = objective_;
1893  return p != nullptr ? *p : reinterpret_cast<const ::operations_research::IntVarAssignment&>(
1895 }
1896 inline const ::operations_research::IntVarAssignment& AssignmentProto::objective() const {
1897  // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.objective)
1898  return _internal_objective();
1899 }
1902  if (GetArenaForAllocation() == nullptr) {
1903  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(objective_);
1904  }
1906  if (objective) {
1907 
1908  } else {
1909 
1910  }
1911  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.AssignmentProto.objective)
1912 }
1913 inline ::operations_research::IntVarAssignment* AssignmentProto::release_objective() {
1914 
1916  objective_ = nullptr;
1917 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1918  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1919  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1920  if (GetArenaForAllocation() == nullptr) { delete old; }
1921 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1922  if (GetArenaForAllocation() != nullptr) {
1923  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1924  }
1925 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1926  return temp;
1927 }
1928 inline ::operations_research::IntVarAssignment* AssignmentProto::unsafe_arena_release_objective() {
1929  // @@protoc_insertion_point(field_release:operations_research.AssignmentProto.objective)
1930 
1932  objective_ = nullptr;
1933  return temp;
1934 }
1935 inline ::operations_research::IntVarAssignment* AssignmentProto::_internal_mutable_objective() {
1936 
1937  if (objective_ == nullptr) {
1938  auto* p = CreateMaybeMessage<::operations_research::IntVarAssignment>(GetArenaForAllocation());
1939  objective_ = p;
1940  }
1941  return objective_;
1942 }
1943 inline ::operations_research::IntVarAssignment* AssignmentProto::mutable_objective() {
1944  ::operations_research::IntVarAssignment* _msg = _internal_mutable_objective();
1945  // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.objective)
1946  return _msg;
1947 }
1949  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1950  if (message_arena == nullptr) {
1951  delete objective_;
1952  }
1953  if (objective) {
1954  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1955  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::operations_research::IntVarAssignment>::GetOwningArena(objective);
1956  if (message_arena != submessage_arena) {
1957  objective = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1958  message_arena, objective, submessage_arena);
1959  }
1960 
1961  } else {
1962 
1963  }
1965  // @@protoc_insertion_point(field_set_allocated:operations_research.AssignmentProto.objective)
1966 }
1967 
1968 // .operations_research.WorkerInfo worker_info = 4;
1969 inline bool AssignmentProto::_internal_has_worker_info() const {
1970  return this != internal_default_instance() && worker_info_ != nullptr;
1971 }
1973  return _internal_has_worker_info();
1974 }
1976  if (GetArenaForAllocation() == nullptr && worker_info_ != nullptr) {
1977  delete worker_info_;
1978  }
1979  worker_info_ = nullptr;
1980 }
1981 inline const ::operations_research::WorkerInfo& AssignmentProto::_internal_worker_info() const {
1982  const ::operations_research::WorkerInfo* p = worker_info_;
1983  return p != nullptr ? *p : reinterpret_cast<const ::operations_research::WorkerInfo&>(
1985 }
1986 inline const ::operations_research::WorkerInfo& AssignmentProto::worker_info() const {
1987  // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.worker_info)
1988  return _internal_worker_info();
1989 }
1991  ::operations_research::WorkerInfo* worker_info) {
1992  if (GetArenaForAllocation() == nullptr) {
1993  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(worker_info_);
1994  }
1995  worker_info_ = worker_info;
1996  if (worker_info) {
1997 
1998  } else {
1999 
2000  }
2001  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.AssignmentProto.worker_info)
2002 }
2003 inline ::operations_research::WorkerInfo* AssignmentProto::release_worker_info() {
2004 
2005  ::operations_research::WorkerInfo* temp = worker_info_;
2006  worker_info_ = nullptr;
2007 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2008  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2009  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2010  if (GetArenaForAllocation() == nullptr) { delete old; }
2011 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2012  if (GetArenaForAllocation() != nullptr) {
2013  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2014  }
2015 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2016  return temp;
2017 }
2018 inline ::operations_research::WorkerInfo* AssignmentProto::unsafe_arena_release_worker_info() {
2019  // @@protoc_insertion_point(field_release:operations_research.AssignmentProto.worker_info)
2020 
2021  ::operations_research::WorkerInfo* temp = worker_info_;
2022  worker_info_ = nullptr;
2023  return temp;
2024 }
2025 inline ::operations_research::WorkerInfo* AssignmentProto::_internal_mutable_worker_info() {
2026 
2027  if (worker_info_ == nullptr) {
2028  auto* p = CreateMaybeMessage<::operations_research::WorkerInfo>(GetArenaForAllocation());
2029  worker_info_ = p;
2030  }
2031  return worker_info_;
2032 }
2033 inline ::operations_research::WorkerInfo* AssignmentProto::mutable_worker_info() {
2034  ::operations_research::WorkerInfo* _msg = _internal_mutable_worker_info();
2035  // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.worker_info)
2036  return _msg;
2037 }
2039  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2040  if (message_arena == nullptr) {
2041  delete worker_info_;
2042  }
2043  if (worker_info) {
2044  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2045  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::operations_research::WorkerInfo>::GetOwningArena(worker_info);
2046  if (message_arena != submessage_arena) {
2047  worker_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2048  message_arena, worker_info, submessage_arena);
2049  }
2050 
2051  } else {
2052 
2053  }
2054  worker_info_ = worker_info;
2055  // @@protoc_insertion_point(field_set_allocated:operations_research.AssignmentProto.worker_info)
2056 }
2057 
2058 // bool is_valid = 5;
2060  is_valid_ = false;
2061 }
2062 inline bool AssignmentProto::_internal_is_valid() const {
2063  return is_valid_;
2064 }
2065 inline bool AssignmentProto::is_valid() const {
2066  // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.is_valid)
2067  return _internal_is_valid();
2068 }
2069 inline void AssignmentProto::_internal_set_is_valid(bool value) {
2070 
2071  is_valid_ = value;
2072 }
2074  _internal_set_is_valid(value);
2075  // @@protoc_insertion_point(field_set:operations_research.AssignmentProto.is_valid)
2076 }
2077 
2078 #ifdef __GNUC__
2079  #pragma GCC diagnostic pop
2080 #endif // __GNUC__
2081 // -------------------------------------------------------------------
2082 
2083 // -------------------------------------------------------------------
2084 
2085 // -------------------------------------------------------------------
2086 
2087 // -------------------------------------------------------------------
2088 
2089 
2090 // @@protoc_insertion_point(namespace_scope)
2091 
2092 } // namespace operations_research
2093 
2094 // @@protoc_insertion_point(global_scope)
2095 
2096 #include <google/protobuf/port_undef.inc>
2097 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fassignment_2eproto
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntervalVarAssignment > & interval_var_assignment() const
::operations_research::IntervalVarAssignment * add_interval_var_assignment()
::PROTOBUF_NAMESPACE_ID::int64 duration_max() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const IntervalVarAssignment &from)
PROTOBUF_MUST_USE_RESULT ::operations_research::WorkerInfo * release_worker_info()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_bns(std::string *bns)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(WorkerInfo *other)
::PROTOBUF_NAMESPACE_ID::int64 min() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_start_max(::PROTOBUF_NAMESPACE_ID::int64 value)
void set_performed_min(::PROTOBUF_NAMESPACE_ID::int64 value)
void CopyFrom(const SequenceVarAssignment &from)
const ::operations_research::WorkerInfo & worker_info() const
void UnsafeArenaSwap(IntervalVarAssignment *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::int64 end_min() const
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SequenceVarAssignmentDefaultTypeInternal _SequenceVarAssignment_default_instance_
static constexpr int kIndexInFileMessages
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT IntervalVarAssignmentDefaultTypeInternal _IntervalVarAssignment_default_instance_
AssignmentProto(AssignmentProto &&from) noexcept
void add_unperformed(::PROTOBUF_NAMESPACE_ID::int32 value)
AssignmentProto * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const ClassData _class_data_
void set_duration_max(::PROTOBUF_NAMESPACE_ID::int64 value)
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::operations_research::IntVarAssignment * unsafe_arena_release_objective()
void set_start_min(::PROTOBUF_NAMESPACE_ID::int64 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void unsafe_arena_set_allocated_worker_info(::operations_research::WorkerInfo *worker_info)
void set_max(::PROTOBUF_NAMESPACE_ID::int64 value)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::SequenceVarAssignment > * mutable_sequence_var_assignment()
static const AssignmentProto * internal_default_instance()
static const IntVarAssignment * internal_default_instance()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::operations_research::WorkerInfo * unsafe_arena_release_worker_info()
AssignmentProto & operator=(AssignmentProto &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & forward_sequence() const
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_forward_sequence()
IntervalVarAssignment & operator=(IntervalVarAssignment &&from) noexcept
const std::string & var_id() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
IntervalVarAssignment * New() const final
void MergeFrom(const IntVarAssignment &from)
PROTOBUF_MUST_USE_RESULT ::operations_research::IntVarAssignment * release_objective()
void set_end_min(::PROTOBUF_NAMESPACE_ID::int64 value)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const AssignmentProto & default_instance()
::PROTOBUF_NAMESPACE_ID::int64 end_max() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_MUST_USE_RESULT std::string * release_var_id()
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: assignment.pb.h:51
::operations_research::WorkerInfo * mutable_worker_info()
static const SequenceVarAssignment * internal_default_instance()
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_backward_sequence()
int64_t b
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT IntVarAssignmentDefaultTypeInternal _IntVarAssignment_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fassignment_2eproto
void set_allocated_var_id(std::string *var_id)
WorkerInfo * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: assignment.pb.h:52
SequenceVarAssignment(SequenceVarAssignment &&from) noexcept
void UnsafeArenaSwap(IntVarAssignment *other)
::PROTOBUF_NAMESPACE_ID::int64 start_min() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntervalVarAssignment > * mutable_interval_var_assignment()
static const IntVarAssignment & default_instance()
PROTOBUF_MUST_USE_RESULT std::string * release_var_id()
void set_min(::PROTOBUF_NAMESPACE_ID::int64 value)
IntervalVarAssignment & operator=(const IntervalVarAssignment &from)
::PROTOBUF_NAMESPACE_ID::int64 performed_max() const
static const IntervalVarAssignment & default_instance()
AssignmentProto & operator=(const AssignmentProto &from)
void Swap(IntVarAssignment *other)
void Swap(WorkerInfo *other)
::operations_research::IntVarAssignment * add_int_var_assignment()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_allocated_objective(::operations_research::IntVarAssignment *objective)
void set_end_max(::PROTOBUF_NAMESPACE_ID::int64 value)
IntVarAssignment & operator=(const IntVarAssignment &from)
Definition: assignment.pb.h:97
IntVarAssignment * New() const final
::PROTOBUF_NAMESPACE_ID::int64 duration_min() const
WorkerInfo & operator=(WorkerInfo &&from) noexcept
static const SequenceVarAssignment & default_instance()
SequenceVarAssignment & operator=(const SequenceVarAssignment &from)
void Swap(IntervalVarAssignment *other)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & unperformed() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::SequenceVarAssignment > & sequence_var_assignment() const
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_unperformed()
void set_backward_sequence(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
void set_duration_min(::PROTOBUF_NAMESPACE_ID::int64 value)
void MergeFrom(const SequenceVarAssignment &from)
::operations_research::IntVarAssignment * mutable_objective()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void Swap(SequenceVarAssignment *other)
IntVarAssignment(IntVarAssignment &&from) noexcept
Definition: assignment.pb.h:92
IntVar *const objective_
Definition: search.cc:2966
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & backward_sequence() const
::PROTOBUF_NAMESPACE_ID::int32 worker_id() const
WorkerInfo * New() const final
friend void swap(SequenceVarAssignment &a, SequenceVarAssignment &b)
void set_worker_id(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_unperformed(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
SequenceVarAssignment * New() const final
IntVarAssignment * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void UnsafeArenaSwap(SequenceVarAssignment *other)
IntervalVarAssignment(IntervalVarAssignment &&from) noexcept
int index
Definition: pack.cc:509
void UnsafeArenaSwap(AssignmentProto *other)
IntervalVarAssignment * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void add_forward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries [] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
void set_forward_sequence(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
friend void swap(IntervalVarAssignment &a, IntervalVarAssignment &b)
::PROTOBUF_NAMESPACE_ID::int64 max() const
PROTOBUF_MUST_USE_RESULT std::string * release_var_id()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_performed_max(::PROTOBUF_NAMESPACE_ID::int64 value)
static const WorkerInfo & default_instance()
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
IntVarAssignment & operator=(IntVarAssignment &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntVarAssignment > * mutable_int_var_assignment()
const std::string & bns() const
void set_var_id(ArgT0 &&arg0, ArgT... args)
AssignmentProto * New() const final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AssignmentProtoDefaultTypeInternal _AssignmentProto_default_instance_
WorkerInfo(WorkerInfo &&from) noexcept
void unsafe_arena_set_allocated_objective(::operations_research::IntVarAssignment *objective)
size_t ByteSizeLong() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
SequenceVarAssignment & operator=(SequenceVarAssignment &&from) noexcept
void CopyFrom(const WorkerInfo &from)
void MergeFrom(const WorkerInfo &from)
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_MUST_USE_RESULT std::string * release_bns()
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_allocated_worker_info(::operations_research::WorkerInfo *worker_info)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntVarAssignment > & int_var_assignment() const
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void CopyFrom(const IntVarAssignment &from)
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_allocated_var_id(std::string *var_id)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(WorkerInfo &a, WorkerInfo &b)
void set_var_id(ArgT0 &&arg0, ArgT... args)
void Swap(AssignmentProto *other)
Collection of objects used to extend the Constraint Solver library.
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_bns(ArgT0 &&arg0, ArgT... args)
::operations_research::SequenceVarAssignment * add_sequence_var_assignment()
static constexpr int kIndexInFileMessages
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
WorkerInfo & operator=(const WorkerInfo &from)
const ::operations_research::IntVarAssignment & objective() const
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: assignment.pb.h:53
static constexpr int kIndexInFileMessages
SequenceVarAssignment * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const IntervalVarAssignment * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
friend void swap(AssignmentProto &a, AssignmentProto &b)
::PROTOBUF_NAMESPACE_ID::int64 start_max() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void add_backward_sequence(::PROTOBUF_NAMESPACE_ID::int32 value)
static const WorkerInfo * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
friend void swap(IntVarAssignment &a, IntVarAssignment &b)
void MergeFrom(const AssignmentProto &from)
::PROTOBUF_NAMESPACE_ID::int64 performed_min() const
void set_allocated_var_id(std::string *var_id)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT WorkerInfoDefaultTypeInternal _WorkerInfo_default_instance_
int64_t value
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const AssignmentProto &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const IntervalVarAssignment &from)
void set_var_id(ArgT0 &&arg0, ArgT... args)
static const ClassData _class_data_
int64_t a