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