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