Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
assignment.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/constraint_solver/assignment.proto
4// Protobuf C++ Version: 6.33.1
5
6#ifndef ortools_2fconstraint_5fsolver_2fassignment_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2fassignment_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/unknown_field_set.h"
32// @@protoc_insertion_point(includes)
33
34// Must be included last.
35#include "google/protobuf/port_def.inc"
36
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fassignment_2eproto OR_PROTO_DLL
38
39namespace google {
40namespace protobuf {
41namespace internal {
42template <typename T>
43::absl::string_view GetAnyMessageName();
44} // namespace internal
45} // namespace protobuf
46} // namespace google
47
48// Internal implementation detail -- do not use these members.
50 static const ::uint32_t offsets[];
51};
52extern "C" {
53OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
54} // extern "C"
55namespace operations_research {
56class AssignmentProto;
59OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AssignmentProto_class_data_;
63OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IntVarAssignment_class_data_;
67OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IntervalVarAssignment_class_data_;
71OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SequenceVarAssignment_class_data_;
72class WorkerInfo;
75OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull WorkerInfo_class_data_;
76} // namespace operations_research
77namespace google {
78namespace protobuf {
79} // namespace protobuf
80} // namespace google
81
82namespace operations_research {
83
84// ===================================================================
85
86
87// -------------------------------------------------------------------
88
89class OR_PROTO_DLL WorkerInfo final : public ::google::protobuf::Message
90/* @@protoc_insertion_point(class_definition:operations_research.WorkerInfo) */ {
91 public:
92 inline WorkerInfo() : WorkerInfo(nullptr) {}
93 ~WorkerInfo() PROTOBUF_FINAL;
95#if defined(PROTOBUF_CUSTOM_VTABLE)
96 void operator delete(WorkerInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
97 SharedDtor(*msg);
98 ::google::protobuf::internal::SizedDelete(msg, sizeof(WorkerInfo));
99 }
100#endif
101
102 template <typename = void>
103 explicit PROTOBUF_CONSTEXPR WorkerInfo(::google::protobuf::internal::ConstantInitialized);
104
105 inline WorkerInfo(const WorkerInfo& from) : WorkerInfo(nullptr, from) {}
106 inline WorkerInfo(WorkerInfo&& from) noexcept
107 : WorkerInfo(nullptr, ::std::move(from)) {}
108 inline WorkerInfo& operator=(const WorkerInfo& from) {
109 CopyFrom(from);
110 return *this;
111 }
112 inline WorkerInfo& operator=(WorkerInfo&& from) noexcept {
113 if (this == &from) return *this;
114 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
115 InternalSwap(&from);
116 } else {
117 CopyFrom(from);
118 }
119 return *this;
120 }
121
122 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
123 ABSL_ATTRIBUTE_LIFETIME_BOUND {
124 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
125 }
126 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
127 ABSL_ATTRIBUTE_LIFETIME_BOUND {
128 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
129 }
130
131 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
132 return GetDescriptor();
134 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
135 return default_instance().GetMetadata().descriptor;
137 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
138 return default_instance().GetMetadata().reflection;
140 static const WorkerInfo& default_instance() {
141 return *reinterpret_cast<const WorkerInfo*>(
143 }
144 static constexpr int kIndexInFileMessages = 3;
145 friend void swap(WorkerInfo& a, WorkerInfo& b) { a.Swap(&b); }
146 inline void Swap(WorkerInfo* PROTOBUF_NONNULL other) {
147 if (other == this) return;
148 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
149 InternalSwap(other);
150 } else {
151 ::google::protobuf::internal::GenericSwap(this, other);
152 }
153 }
154 void UnsafeArenaSwap(WorkerInfo* PROTOBUF_NONNULL other) {
155 if (other == this) return;
156 ABSL_DCHECK(GetArena() == other->GetArena());
157 InternalSwap(other);
158 }
159
160 // implements Message ----------------------------------------------
161
162 WorkerInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
163 return ::google::protobuf::Message::DefaultConstruct<WorkerInfo>(arena);
165 using ::google::protobuf::Message::CopyFrom;
166 void CopyFrom(const WorkerInfo& from);
167 using ::google::protobuf::Message::MergeFrom;
168 void MergeFrom(const WorkerInfo& from) { WorkerInfo::MergeImpl(*this, from); }
169
170 private:
171 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
172 const ::google::protobuf::MessageLite& from_msg);
173
174 public:
175 bool IsInitialized() const {
176 return true;
178 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
179 #if defined(PROTOBUF_CUSTOM_VTABLE)
180 private:
181 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
182 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
183 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
184 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
185
186 public:
187 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
188 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
189 ::uint8_t* PROTOBUF_NONNULL target,
190 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
191 return _InternalSerialize(*this, target, stream);
192 }
193 #else // PROTOBUF_CUSTOM_VTABLE
194 ::size_t ByteSizeLong() const final;
195 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
196 ::uint8_t* PROTOBUF_NONNULL target,
197 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
198 #endif // PROTOBUF_CUSTOM_VTABLE
199 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
200
201 private:
202 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
203 static void SharedDtor(MessageLite& self);
204 void InternalSwap(WorkerInfo* PROTOBUF_NONNULL other);
205 private:
206 template <typename T>
207 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
208 static ::absl::string_view FullMessageName() { return "operations_research.WorkerInfo"; }
209
210 explicit WorkerInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
211 WorkerInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WorkerInfo& from);
213 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, WorkerInfo&& from) noexcept
214 : WorkerInfo(arena) {
215 *this = ::std::move(from);
216 }
217 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
218 static void* PROTOBUF_NONNULL PlacementNew_(
219 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
220 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
221 static constexpr auto InternalNewImpl_();
222
223 public:
224 static constexpr auto InternalGenerateClassData_();
225
226 ::google::protobuf::Metadata GetMetadata() const;
227 // nested types ----------------------------------------------------
228
229 // accessors -------------------------------------------------------
230 enum : int {
231 kBnsFieldNumber = 2,
232 kWorkerIdFieldNumber = 1,
233 };
234 // string bns = 2;
235 void clear_bns() ;
236 const ::std::string& bns() const;
237 template <typename Arg_ = const ::std::string&, typename... Args_>
238 void set_bns(Arg_&& arg, Args_... args);
239 ::std::string* PROTOBUF_NONNULL mutable_bns();
240 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_bns();
241 void set_allocated_bns(::std::string* PROTOBUF_NULLABLE value);
242
243 private:
244 const ::std::string& _internal_bns() const;
245 PROTOBUF_ALWAYS_INLINE void _internal_set_bns(const ::std::string& value);
246 ::std::string* PROTOBUF_NONNULL _internal_mutable_bns();
247
248 public:
249 // int32 worker_id = 1;
250 void clear_worker_id() ;
251 ::int32_t worker_id() const;
252 void set_worker_id(::int32_t value);
253
254 private:
255 ::int32_t _internal_worker_id() const;
256 void _internal_set_worker_id(::int32_t value);
257
258 public:
259 // @@protoc_insertion_point(class_scope:operations_research.WorkerInfo)
260 private:
261 class _Internal;
262 friend class ::google::protobuf::internal::TcParser;
263 static const ::google::protobuf::internal::TcParseTable<1, 2,
264 0, 42,
265 2>
266 _table_;
267
268 friend class ::google::protobuf::MessageLite;
269 friend class ::google::protobuf::Arena;
270 template <typename T>
271 friend class ::google::protobuf::Arena::InternalHelper;
272 using InternalArenaConstructable_ = void;
273 using DestructorSkippable_ = void;
274 struct Impl_ {
275 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
276 inline explicit Impl_(
277 ::google::protobuf::internal::InternalVisibility visibility,
278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
279 inline explicit Impl_(
280 ::google::protobuf::internal::InternalVisibility visibility,
281 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
282 const WorkerInfo& from_msg);
283 ::google::protobuf::internal::HasBits<1> _has_bits_;
284 ::google::protobuf::internal::CachedSize _cached_size_;
285 ::google::protobuf::internal::ArenaStringPtr bns_;
286 ::int32_t worker_id_;
287 PROTOBUF_TSAN_DECLARE_MEMBER
288 };
289 union { Impl_ _impl_; };
290 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
293OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull WorkerInfo_class_data_;
294// -------------------------------------------------------------------
295
296class OR_PROTO_DLL SequenceVarAssignment final : public ::google::protobuf::Message
297/* @@protoc_insertion_point(class_definition:operations_research.SequenceVarAssignment) */ {
298 public:
300 ~SequenceVarAssignment() PROTOBUF_FINAL;
301
302#if defined(PROTOBUF_CUSTOM_VTABLE)
303 void operator delete(SequenceVarAssignment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
304 SharedDtor(*msg);
305 ::google::protobuf::internal::SizedDelete(msg, sizeof(SequenceVarAssignment));
306 }
307#endif
308
309 template <typename = void>
310 explicit PROTOBUF_CONSTEXPR SequenceVarAssignment(::google::protobuf::internal::ConstantInitialized);
311
312 inline SequenceVarAssignment(const SequenceVarAssignment& from) : SequenceVarAssignment(nullptr, from) {}
314 : SequenceVarAssignment(nullptr, ::std::move(from)) {}
316 CopyFrom(from);
317 return *this;
319 inline SequenceVarAssignment& operator=(SequenceVarAssignment&& from) noexcept {
320 if (this == &from) return *this;
321 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
322 InternalSwap(&from);
323 } else {
324 CopyFrom(from);
325 }
326 return *this;
327 }
328
329 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
330 ABSL_ATTRIBUTE_LIFETIME_BOUND {
331 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
333 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
334 ABSL_ATTRIBUTE_LIFETIME_BOUND {
335 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
337
338 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
339 return GetDescriptor();
340 }
341 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
342 return default_instance().GetMetadata().descriptor;
343 }
344 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
345 return default_instance().GetMetadata().reflection;
346 }
348 return *reinterpret_cast<const SequenceVarAssignment*>(
351 static constexpr int kIndexInFileMessages = 2;
352 friend void swap(SequenceVarAssignment& a, SequenceVarAssignment& b) { a.Swap(&b); }
353 inline void Swap(SequenceVarAssignment* PROTOBUF_NONNULL other) {
354 if (other == this) return;
355 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
356 InternalSwap(other);
357 } else {
358 ::google::protobuf::internal::GenericSwap(this, other);
359 }
360 }
361 void UnsafeArenaSwap(SequenceVarAssignment* PROTOBUF_NONNULL other) {
362 if (other == this) return;
363 ABSL_DCHECK(GetArena() == other->GetArena());
364 InternalSwap(other);
365 }
366
367 // implements Message ----------------------------------------------
368
369 SequenceVarAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
370 return ::google::protobuf::Message::DefaultConstruct<SequenceVarAssignment>(arena);
371 }
372 using ::google::protobuf::Message::CopyFrom;
373 void CopyFrom(const SequenceVarAssignment& from);
374 using ::google::protobuf::Message::MergeFrom;
375 void MergeFrom(const SequenceVarAssignment& from) { SequenceVarAssignment::MergeImpl(*this, from); }
376
377 private:
378 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
379 const ::google::protobuf::MessageLite& from_msg);
380
381 public:
382 bool IsInitialized() const {
383 return true;
384 }
385 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
386 #if defined(PROTOBUF_CUSTOM_VTABLE)
387 private:
388 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
389 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
390 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
391 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
392
393 public:
394 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
395 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
396 ::uint8_t* PROTOBUF_NONNULL target,
397 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
398 return _InternalSerialize(*this, target, stream);
399 }
400 #else // PROTOBUF_CUSTOM_VTABLE
401 ::size_t ByteSizeLong() const final;
402 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
403 ::uint8_t* PROTOBUF_NONNULL target,
404 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
405 #endif // PROTOBUF_CUSTOM_VTABLE
406 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
407
408 private:
409 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
410 static void SharedDtor(MessageLite& self);
411 void InternalSwap(SequenceVarAssignment* PROTOBUF_NONNULL other);
412 private:
413 template <typename T>
414 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
415 static ::absl::string_view FullMessageName() { return "operations_research.SequenceVarAssignment"; }
416
417 explicit SequenceVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
418 SequenceVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SequenceVarAssignment& from);
420 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SequenceVarAssignment&& from) noexcept
421 : SequenceVarAssignment(arena) {
422 *this = ::std::move(from);
423 }
424 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
425 static void* PROTOBUF_NONNULL PlacementNew_(
426 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
427 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
428 static constexpr auto InternalNewImpl_();
429
430 public:
431 static constexpr auto InternalGenerateClassData_();
432
433 ::google::protobuf::Metadata GetMetadata() const;
434 // nested types ----------------------------------------------------
435
436 // accessors -------------------------------------------------------
437 enum : int {
438 kForwardSequenceFieldNumber = 2,
439 kBackwardSequenceFieldNumber = 3,
440 kUnperformedFieldNumber = 4,
443 };
444 // repeated int32 forward_sequence = 2;
446 private:
447 int _internal_forward_sequence_size() const;
448
449 public:
451 ::int32_t forward_sequence(int index) const;
452 void set_forward_sequence(int index, ::int32_t value);
453 void add_forward_sequence(::int32_t value);
454 const ::google::protobuf::RepeatedField<::int32_t>& forward_sequence() const;
455 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_forward_sequence();
456
457 private:
458 const ::google::protobuf::RepeatedField<::int32_t>& _internal_forward_sequence() const;
459 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_forward_sequence();
460
461 public:
462 // repeated int32 backward_sequence = 3;
463 int backward_sequence_size() const;
464 private:
465 int _internal_backward_sequence_size() const;
466
467 public:
469 ::int32_t backward_sequence(int index) const;
470 void set_backward_sequence(int index, ::int32_t value);
471 void add_backward_sequence(::int32_t value);
472 const ::google::protobuf::RepeatedField<::int32_t>& backward_sequence() const;
473 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_backward_sequence();
474
475 private:
476 const ::google::protobuf::RepeatedField<::int32_t>& _internal_backward_sequence() const;
477 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_backward_sequence();
478
479 public:
480 // repeated int32 unperformed = 4;
481 int unperformed_size() const;
482 private:
483 int _internal_unperformed_size() const;
484
485 public:
486 void clear_unperformed() ;
487 ::int32_t unperformed(int index) const;
488 void set_unperformed(int index, ::int32_t value);
489 void add_unperformed(::int32_t value);
490 const ::google::protobuf::RepeatedField<::int32_t>& unperformed() const;
491 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_unperformed();
492
493 private:
494 const ::google::protobuf::RepeatedField<::int32_t>& _internal_unperformed() const;
495 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_unperformed();
496
497 public:
498 // string var_id = 1;
499 void clear_var_id() ;
500 const ::std::string& var_id() const;
501 template <typename Arg_ = const ::std::string&, typename... Args_>
502 void set_var_id(Arg_&& arg, Args_... args);
503 ::std::string* PROTOBUF_NONNULL mutable_var_id();
504 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_var_id();
505 void set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value);
506
507 private:
508 const ::std::string& _internal_var_id() const;
509 PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const ::std::string& value);
510 ::std::string* PROTOBUF_NONNULL _internal_mutable_var_id();
511
512 public:
513 // bool active = 5;
514 void clear_active() ;
515 bool active() const;
516 void set_active(bool value);
517
518 private:
519 bool _internal_active() const;
520 void _internal_set_active(bool value);
521
522 public:
523 // @@protoc_insertion_point(class_scope:operations_research.SequenceVarAssignment)
524 private:
525 class _Internal;
526 friend class ::google::protobuf::internal::TcParser;
527 static const ::google::protobuf::internal::TcParseTable<3, 5,
528 0, 56,
529 2>
530 _table_;
531
532 friend class ::google::protobuf::MessageLite;
533 friend class ::google::protobuf::Arena;
534 template <typename T>
535 friend class ::google::protobuf::Arena::InternalHelper;
536 using InternalArenaConstructable_ = void;
537 using DestructorSkippable_ = void;
538 struct Impl_ {
539 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
540 inline explicit Impl_(
541 ::google::protobuf::internal::InternalVisibility visibility,
542 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
543 inline explicit Impl_(
544 ::google::protobuf::internal::InternalVisibility visibility,
545 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
546 const SequenceVarAssignment& from_msg);
547 ::google::protobuf::internal::HasBits<1> _has_bits_;
548 ::google::protobuf::internal::CachedSize _cached_size_;
549 ::google::protobuf::RepeatedField<::int32_t> forward_sequence_;
550 ::google::protobuf::internal::CachedSize _forward_sequence_cached_byte_size_;
551 ::google::protobuf::RepeatedField<::int32_t> backward_sequence_;
552 ::google::protobuf::internal::CachedSize _backward_sequence_cached_byte_size_;
553 ::google::protobuf::RepeatedField<::int32_t> unperformed_;
554 ::google::protobuf::internal::CachedSize _unperformed_cached_byte_size_;
555 ::google::protobuf::internal::ArenaStringPtr var_id_;
556 bool active_;
557 PROTOBUF_TSAN_DECLARE_MEMBER
558 };
559 union { Impl_ _impl_; };
560 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
561};
563OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SequenceVarAssignment_class_data_;
564// -------------------------------------------------------------------
565
566class OR_PROTO_DLL IntervalVarAssignment final : public ::google::protobuf::Message
567/* @@protoc_insertion_point(class_definition:operations_research.IntervalVarAssignment) */ {
568 public:
569 inline IntervalVarAssignment() : IntervalVarAssignment(nullptr) {}
570 ~IntervalVarAssignment() PROTOBUF_FINAL;
571
572#if defined(PROTOBUF_CUSTOM_VTABLE)
573 void operator delete(IntervalVarAssignment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
574 SharedDtor(*msg);
575 ::google::protobuf::internal::SizedDelete(msg, sizeof(IntervalVarAssignment));
576 }
577#endif
578
579 template <typename = void>
580 explicit PROTOBUF_CONSTEXPR IntervalVarAssignment(::google::protobuf::internal::ConstantInitialized);
581
582 inline IntervalVarAssignment(const IntervalVarAssignment& from) : IntervalVarAssignment(nullptr, from) {}
583 inline IntervalVarAssignment(IntervalVarAssignment&& from) noexcept
584 : IntervalVarAssignment(nullptr, ::std::move(from)) {}
585 inline IntervalVarAssignment& operator=(const IntervalVarAssignment& from) {
586 CopyFrom(from);
587 return *this;
588 }
590 if (this == &from) return *this;
591 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
592 InternalSwap(&from);
593 } else {
594 CopyFrom(from);
595 }
596 return *this;
597 }
598
599 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
600 ABSL_ATTRIBUTE_LIFETIME_BOUND {
601 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
602 }
603 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
604 ABSL_ATTRIBUTE_LIFETIME_BOUND {
605 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
606 }
608 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
609 return GetDescriptor();
610 }
611 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
612 return default_instance().GetMetadata().descriptor;
613 }
614 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
615 return default_instance().GetMetadata().reflection;
616 }
617 static const IntervalVarAssignment& default_instance() {
618 return *reinterpret_cast<const IntervalVarAssignment*>(
620 }
621 static constexpr int kIndexInFileMessages = 1;
622 friend void swap(IntervalVarAssignment& a, IntervalVarAssignment& b) { a.Swap(&b); }
623 inline void Swap(IntervalVarAssignment* PROTOBUF_NONNULL other) {
624 if (other == this) return;
625 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
626 InternalSwap(other);
627 } else {
628 ::google::protobuf::internal::GenericSwap(this, other);
629 }
630 }
631 void UnsafeArenaSwap(IntervalVarAssignment* PROTOBUF_NONNULL other) {
632 if (other == this) return;
633 ABSL_DCHECK(GetArena() == other->GetArena());
634 InternalSwap(other);
636
637 // implements Message ----------------------------------------------
638
639 IntervalVarAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
640 return ::google::protobuf::Message::DefaultConstruct<IntervalVarAssignment>(arena);
641 }
642 using ::google::protobuf::Message::CopyFrom;
644 using ::google::protobuf::Message::MergeFrom;
645 void MergeFrom(const IntervalVarAssignment& from) { IntervalVarAssignment::MergeImpl(*this, from); }
646
647 private:
648 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
649 const ::google::protobuf::MessageLite& from_msg);
650
651 public:
652 bool IsInitialized() const {
653 return true;
654 }
655 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
656 #if defined(PROTOBUF_CUSTOM_VTABLE)
657 private:
658 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
659 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
660 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
661 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
662
663 public:
664 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
665 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
666 ::uint8_t* PROTOBUF_NONNULL target,
667 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
668 return _InternalSerialize(*this, target, stream);
669 }
670 #else // PROTOBUF_CUSTOM_VTABLE
671 ::size_t ByteSizeLong() const final;
672 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
673 ::uint8_t* PROTOBUF_NONNULL target,
674 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
675 #endif // PROTOBUF_CUSTOM_VTABLE
676 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
677
678 private:
679 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
680 static void SharedDtor(MessageLite& self);
681 void InternalSwap(IntervalVarAssignment* PROTOBUF_NONNULL other);
682 private:
683 template <typename T>
684 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
685 static ::absl::string_view FullMessageName() { return "operations_research.IntervalVarAssignment"; }
686
687 explicit IntervalVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
688 IntervalVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IntervalVarAssignment& from);
690 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntervalVarAssignment&& from) noexcept
691 : IntervalVarAssignment(arena) {
692 *this = ::std::move(from);
693 }
694 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
695 static void* PROTOBUF_NONNULL PlacementNew_(
696 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
697 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
698 static constexpr auto InternalNewImpl_();
699
700 public:
701 static constexpr auto InternalGenerateClassData_();
702
703 ::google::protobuf::Metadata GetMetadata() const;
704 // nested types ----------------------------------------------------
705
706 // accessors -------------------------------------------------------
707 enum : int {
708 kVarIdFieldNumber = 1,
709 kStartMinFieldNumber = 2,
710 kStartMaxFieldNumber = 3,
711 kDurationMinFieldNumber = 4,
718 };
719 // string var_id = 1;
721 const ::std::string& var_id() const;
722 template <typename Arg_ = const ::std::string&, typename... Args_>
723 void set_var_id(Arg_&& arg, Args_... args);
724 ::std::string* PROTOBUF_NONNULL mutable_var_id();
725 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_var_id();
726 void set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value);
728 private:
729 const ::std::string& _internal_var_id() const;
730 PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const ::std::string& value);
731 ::std::string* PROTOBUF_NONNULL _internal_mutable_var_id();
732
733 public:
734 // int64 start_min = 2;
735 void clear_start_min() ;
736 ::int64_t start_min() const;
737 void set_start_min(::int64_t value);
738
739 private:
740 ::int64_t _internal_start_min() const;
741 void _internal_set_start_min(::int64_t value);
742
743 public:
744 // int64 start_max = 3;
745 void clear_start_max() ;
746 ::int64_t start_max() const;
747 void set_start_max(::int64_t value);
748
749 private:
750 ::int64_t _internal_start_max() const;
751 void _internal_set_start_max(::int64_t value);
752
753 public:
754 // int64 duration_min = 4;
755 void clear_duration_min() ;
756 ::int64_t duration_min() const;
757 void set_duration_min(::int64_t value);
758
759 private:
760 ::int64_t _internal_duration_min() const;
761 void _internal_set_duration_min(::int64_t value);
762
763 public:
764 // int64 duration_max = 5;
765 void clear_duration_max() ;
766 ::int64_t duration_max() const;
767 void set_duration_max(::int64_t value);
768
769 private:
770 ::int64_t _internal_duration_max() const;
771 void _internal_set_duration_max(::int64_t value);
772
773 public:
774 // int64 end_min = 6;
775 void clear_end_min() ;
776 ::int64_t end_min() const;
777 void set_end_min(::int64_t value);
778
779 private:
780 ::int64_t _internal_end_min() const;
781 void _internal_set_end_min(::int64_t value);
782
783 public:
784 // int64 end_max = 7;
785 void clear_end_max() ;
786 ::int64_t end_max() const;
787 void set_end_max(::int64_t value);
788
789 private:
790 ::int64_t _internal_end_max() const;
791 void _internal_set_end_max(::int64_t value);
792
793 public:
794 // int64 performed_min = 8;
795 void clear_performed_min() ;
796 ::int64_t performed_min() const;
797 void set_performed_min(::int64_t value);
798
799 private:
800 ::int64_t _internal_performed_min() const;
801 void _internal_set_performed_min(::int64_t value);
802
803 public:
804 // int64 performed_max = 9;
805 void clear_performed_max() ;
806 ::int64_t performed_max() const;
807 void set_performed_max(::int64_t value);
808
809 private:
810 ::int64_t _internal_performed_max() const;
811 void _internal_set_performed_max(::int64_t value);
812
813 public:
814 // bool active = 10;
815 void clear_active() ;
816 bool active() const;
817 void set_active(bool value);
818
819 private:
820 bool _internal_active() const;
821 void _internal_set_active(bool value);
822
823 public:
824 // @@protoc_insertion_point(class_scope:operations_research.IntervalVarAssignment)
825 private:
826 class _Internal;
827 friend class ::google::protobuf::internal::TcParser;
828 static const ::google::protobuf::internal::TcParseTable<4, 10,
829 0, 64,
830 2>
831 _table_;
832
833 friend class ::google::protobuf::MessageLite;
834 friend class ::google::protobuf::Arena;
835 template <typename T>
836 friend class ::google::protobuf::Arena::InternalHelper;
837 using InternalArenaConstructable_ = void;
838 using DestructorSkippable_ = void;
839 struct Impl_ {
840 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
841 inline explicit Impl_(
842 ::google::protobuf::internal::InternalVisibility visibility,
843 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
844 inline explicit Impl_(
845 ::google::protobuf::internal::InternalVisibility visibility,
846 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
847 const IntervalVarAssignment& from_msg);
848 ::google::protobuf::internal::HasBits<1> _has_bits_;
849 ::google::protobuf::internal::CachedSize _cached_size_;
850 ::google::protobuf::internal::ArenaStringPtr var_id_;
851 ::int64_t start_min_;
852 ::int64_t start_max_;
853 ::int64_t duration_min_;
854 ::int64_t duration_max_;
855 ::int64_t end_min_;
856 ::int64_t end_max_;
857 ::int64_t performed_min_;
858 ::int64_t performed_max_;
859 bool active_;
860 PROTOBUF_TSAN_DECLARE_MEMBER
861 };
862 union { Impl_ _impl_; };
863 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
864};
865
866OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IntervalVarAssignment_class_data_;
867// -------------------------------------------------------------------
868
869class OR_PROTO_DLL IntVarAssignment final : public ::google::protobuf::Message
870/* @@protoc_insertion_point(class_definition:operations_research.IntVarAssignment) */ {
871 public:
872 inline IntVarAssignment() : IntVarAssignment(nullptr) {}
873 ~IntVarAssignment() PROTOBUF_FINAL;
875#if defined(PROTOBUF_CUSTOM_VTABLE)
876 void operator delete(IntVarAssignment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
877 SharedDtor(*msg);
878 ::google::protobuf::internal::SizedDelete(msg, sizeof(IntVarAssignment));
879 }
880#endif
881
882 template <typename = void>
883 explicit PROTOBUF_CONSTEXPR IntVarAssignment(::google::protobuf::internal::ConstantInitialized);
884
885 inline IntVarAssignment(const IntVarAssignment& from) : IntVarAssignment(nullptr, from) {}
886 inline IntVarAssignment(IntVarAssignment&& from) noexcept
887 : IntVarAssignment(nullptr, ::std::move(from)) {}
889 CopyFrom(from);
890 return *this;
892 inline IntVarAssignment& operator=(IntVarAssignment&& from) noexcept {
893 if (this == &from) return *this;
894 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
895 InternalSwap(&from);
896 } else {
897 CopyFrom(from);
898 }
899 return *this;
900 }
901
902 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
903 ABSL_ATTRIBUTE_LIFETIME_BOUND {
904 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
905 }
906 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
907 ABSL_ATTRIBUTE_LIFETIME_BOUND {
908 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
909 }
910
911 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
912 return GetDescriptor();
913 }
914 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
915 return default_instance().GetMetadata().descriptor;
917 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
918 return default_instance().GetMetadata().reflection;
920 static const IntVarAssignment& default_instance() {
921 return *reinterpret_cast<const IntVarAssignment*>(
923 }
924 static constexpr int kIndexInFileMessages = 0;
925 friend void swap(IntVarAssignment& a, IntVarAssignment& b) { a.Swap(&b); }
926 inline void Swap(IntVarAssignment* PROTOBUF_NONNULL other) {
927 if (other == this) return;
928 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
929 InternalSwap(other);
930 } else {
931 ::google::protobuf::internal::GenericSwap(this, other);
932 }
933 }
934 void UnsafeArenaSwap(IntVarAssignment* PROTOBUF_NONNULL other) {
935 if (other == this) return;
936 ABSL_DCHECK(GetArena() == other->GetArena());
937 InternalSwap(other);
938 }
940 // implements Message ----------------------------------------------
941
942 IntVarAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
943 return ::google::protobuf::Message::DefaultConstruct<IntVarAssignment>(arena);
944 }
945 using ::google::protobuf::Message::CopyFrom;
946 void CopyFrom(const IntVarAssignment& from);
947 using ::google::protobuf::Message::MergeFrom;
948 void MergeFrom(const IntVarAssignment& from) { IntVarAssignment::MergeImpl(*this, from); }
949
950 private:
951 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
952 const ::google::protobuf::MessageLite& from_msg);
954 public:
955 bool IsInitialized() const {
956 return true;
957 }
958 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
959 #if defined(PROTOBUF_CUSTOM_VTABLE)
960 private:
961 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
962 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
963 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
964 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
965
966 public:
967 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
968 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
969 ::uint8_t* PROTOBUF_NONNULL target,
970 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
971 return _InternalSerialize(*this, target, stream);
972 }
973 #else // PROTOBUF_CUSTOM_VTABLE
974 ::size_t ByteSizeLong() const final;
975 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
976 ::uint8_t* PROTOBUF_NONNULL target,
977 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
978 #endif // PROTOBUF_CUSTOM_VTABLE
979 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
980
981 private:
982 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
983 static void SharedDtor(MessageLite& self);
984 void InternalSwap(IntVarAssignment* PROTOBUF_NONNULL other);
985 private:
986 template <typename T>
987 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
988 static ::absl::string_view FullMessageName() { return "operations_research.IntVarAssignment"; }
989
990 explicit IntVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
991 IntVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IntVarAssignment& from);
993 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntVarAssignment&& from) noexcept
994 : IntVarAssignment(arena) {
995 *this = ::std::move(from);
996 }
997 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
998 static void* PROTOBUF_NONNULL PlacementNew_(
999 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1000 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1001 static constexpr auto InternalNewImpl_();
1002
1003 public:
1004 static constexpr auto InternalGenerateClassData_();
1005
1006 ::google::protobuf::Metadata GetMetadata() const;
1007 // nested types ----------------------------------------------------
1008
1009 // accessors -------------------------------------------------------
1010 enum : int {
1011 kVarIdFieldNumber = 1,
1012 kMinFieldNumber = 2,
1013 kMaxFieldNumber = 3,
1014 kActiveFieldNumber = 4,
1015 };
1016 // string var_id = 1;
1018 const ::std::string& var_id() const;
1019 template <typename Arg_ = const ::std::string&, typename... Args_>
1020 void set_var_id(Arg_&& arg, Args_... args);
1021 ::std::string* PROTOBUF_NONNULL mutable_var_id();
1022 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_var_id();
1023 void set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value);
1024
1025 private:
1026 const ::std::string& _internal_var_id() const;
1027 PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const ::std::string& value);
1028 ::std::string* PROTOBUF_NONNULL _internal_mutable_var_id();
1029
1030 public:
1031 // int64 min = 2;
1032 void clear_min() ;
1033 ::int64_t min() const;
1034 void set_min(::int64_t value);
1035
1036 private:
1037 ::int64_t _internal_min() const;
1038 void _internal_set_min(::int64_t value);
1039
1040 public:
1041 // int64 max = 3;
1042 void clear_max() ;
1043 ::int64_t max() const;
1044 void set_max(::int64_t value);
1045
1046 private:
1047 ::int64_t _internal_max() const;
1048 void _internal_set_max(::int64_t value);
1049
1050 public:
1051 // bool active = 4;
1052 void clear_active() ;
1053 bool active() const;
1054 void set_active(bool value);
1055
1056 private:
1057 bool _internal_active() const;
1058 void _internal_set_active(bool value);
1059
1060 public:
1061 // @@protoc_insertion_point(class_scope:operations_research.IntVarAssignment)
1062 private:
1063 class _Internal;
1064 friend class ::google::protobuf::internal::TcParser;
1065 static const ::google::protobuf::internal::TcParseTable<2, 4,
1066 0, 51,
1067 2>
1068 _table_;
1070 friend class ::google::protobuf::MessageLite;
1071 friend class ::google::protobuf::Arena;
1072 template <typename T>
1073 friend class ::google::protobuf::Arena::InternalHelper;
1074 using InternalArenaConstructable_ = void;
1075 using DestructorSkippable_ = void;
1076 struct Impl_ {
1077 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1078 inline explicit Impl_(
1079 ::google::protobuf::internal::InternalVisibility visibility,
1080 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1081 inline explicit Impl_(
1082 ::google::protobuf::internal::InternalVisibility visibility,
1083 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1084 const IntVarAssignment& from_msg);
1085 ::google::protobuf::internal::HasBits<1> _has_bits_;
1086 ::google::protobuf::internal::CachedSize _cached_size_;
1087 ::google::protobuf::internal::ArenaStringPtr var_id_;
1088 ::int64_t min_;
1089 ::int64_t max_;
1090 bool active_;
1091 PROTOBUF_TSAN_DECLARE_MEMBER
1092 };
1093 union { Impl_ _impl_; };
1094 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
1095};
1096
1097OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IntVarAssignment_class_data_;
1098// -------------------------------------------------------------------
1100class OR_PROTO_DLL AssignmentProto final : public ::google::protobuf::Message
1101/* @@protoc_insertion_point(class_definition:operations_research.AssignmentProto) */ {
1102 public:
1103 inline AssignmentProto() : AssignmentProto(nullptr) {}
1104 ~AssignmentProto() PROTOBUF_FINAL;
1105
1106#if defined(PROTOBUF_CUSTOM_VTABLE)
1107 void operator delete(AssignmentProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1108 SharedDtor(*msg);
1109 ::google::protobuf::internal::SizedDelete(msg, sizeof(AssignmentProto));
1110 }
1111#endif
1112
1113 template <typename = void>
1114 explicit PROTOBUF_CONSTEXPR AssignmentProto(::google::protobuf::internal::ConstantInitialized);
1115
1116 inline AssignmentProto(const AssignmentProto& from) : AssignmentProto(nullptr, from) {}
1117 inline AssignmentProto(AssignmentProto&& from) noexcept
1118 : AssignmentProto(nullptr, ::std::move(from)) {}
1119 inline AssignmentProto& operator=(const AssignmentProto& from) {
1121 return *this;
1123 inline AssignmentProto& operator=(AssignmentProto&& from) noexcept {
1124 if (this == &from) return *this;
1125 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1126 InternalSwap(&from);
1127 } else {
1128 CopyFrom(from);
1130 return *this;
1131 }
1132
1133 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1134 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1135 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1136 }
1137 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1138 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1139 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1140 }
1141
1142 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1144 }
1145 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1146 return default_instance().GetMetadata().descriptor;
1147 }
1148 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1149 return default_instance().GetMetadata().reflection;
1150 }
1152 return *reinterpret_cast<const AssignmentProto*>(
1155 static constexpr int kIndexInFileMessages = 4;
1156 friend void swap(AssignmentProto& a, AssignmentProto& b) { a.Swap(&b); }
1157 inline void Swap(AssignmentProto* PROTOBUF_NONNULL other) {
1158 if (other == this) return;
1159 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1160 InternalSwap(other);
1161 } else {
1162 ::google::protobuf::internal::GenericSwap(this, other);
1164 }
1165 void UnsafeArenaSwap(AssignmentProto* PROTOBUF_NONNULL other) {
1166 if (other == this) return;
1167 ABSL_DCHECK(GetArena() == other->GetArena());
1168 InternalSwap(other);
1169 }
1170
1171 // implements Message ----------------------------------------------
1172
1173 AssignmentProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1174 return ::google::protobuf::Message::DefaultConstruct<AssignmentProto>(arena);
1175 }
1176 using ::google::protobuf::Message::CopyFrom;
1177 void CopyFrom(const AssignmentProto& from);
1178 using ::google::protobuf::Message::MergeFrom;
1179 void MergeFrom(const AssignmentProto& from) { AssignmentProto::MergeImpl(*this, from); }
1180
1181 private:
1182 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1183 const ::google::protobuf::MessageLite& from_msg);
1184
1185 public:
1186 bool IsInitialized() const {
1187 return true;
1188 }
1189 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1190 #if defined(PROTOBUF_CUSTOM_VTABLE)
1191 private:
1192 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1193 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1194 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1195 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1196
1197 public:
1198 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1199 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1200 ::uint8_t* PROTOBUF_NONNULL target,
1201 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1202 return _InternalSerialize(*this, target, stream);
1203 }
1204 #else // PROTOBUF_CUSTOM_VTABLE
1205 ::size_t ByteSizeLong() const final;
1206 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1207 ::uint8_t* PROTOBUF_NONNULL target,
1208 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1209 #endif // PROTOBUF_CUSTOM_VTABLE
1210 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1211
1212 private:
1213 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1214 static void SharedDtor(MessageLite& self);
1215 void InternalSwap(AssignmentProto* PROTOBUF_NONNULL other);
1216 private:
1217 template <typename T>
1218 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1219 static ::absl::string_view FullMessageName() { return "operations_research.AssignmentProto"; }
1220
1221 explicit AssignmentProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1222 AssignmentProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AssignmentProto& from);
1224 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AssignmentProto&& from) noexcept
1225 : AssignmentProto(arena) {
1226 *this = ::std::move(from);
1227 }
1228 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1229 static void* PROTOBUF_NONNULL PlacementNew_(
1230 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1231 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1232 static constexpr auto InternalNewImpl_();
1233
1234 public:
1235 static constexpr auto InternalGenerateClassData_();
1236
1237 ::google::protobuf::Metadata GetMetadata() const;
1238 // nested types ----------------------------------------------------
1239
1240 // accessors -------------------------------------------------------
1241 enum : int {
1242 kIntVarAssignmentFieldNumber = 1,
1243 kIntervalVarAssignmentFieldNumber = 2,
1244 kObjectiveFieldNumber = 3,
1245 kSequenceVarAssignmentFieldNumber = 6,
1246 kWorkerInfoFieldNumber = 4,
1247 kIsValidFieldNumber = 5,
1249 // repeated .operations_research.IntVarAssignment int_var_assignment = 1;
1251 private:
1252 int _internal_int_var_assignment_size() const;
1254 public:
1257 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL mutable_int_var_assignment();
1258
1259 private:
1260 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& _internal_int_var_assignment() const;
1261 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL _internal_mutable_int_var_assignment();
1262 public:
1263 const ::operations_research::IntVarAssignment& int_var_assignment(int index) const;
1265 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& int_var_assignment() const;
1266 // repeated .operations_research.IntervalVarAssignment interval_var_assignment = 2;
1267 int interval_var_assignment_size() const;
1268 private:
1269 int _internal_interval_var_assignment_size() const;
1270
1271 public:
1274 ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL mutable_interval_var_assignment();
1275
1276 private:
1277 const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>& _internal_interval_var_assignment() const;
1278 ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL _internal_mutable_interval_var_assignment();
1279 public:
1280 const ::operations_research::IntervalVarAssignment& interval_var_assignment(int index) const;
1282 const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>& interval_var_assignment() const;
1283 // repeated .operations_research.IntVarAssignment objective = 3;
1284 int objective_size() const;
1285 private:
1286 int _internal_objective_size() const;
1287
1288 public:
1289 void clear_objective() ;
1291 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL mutable_objective();
1292
1293 private:
1294 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& _internal_objective() const;
1295 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL _internal_mutable_objective();
1296 public:
1297 const ::operations_research::IntVarAssignment& objective(int index) const;
1299 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& objective() const;
1300 // repeated .operations_research.SequenceVarAssignment sequence_var_assignment = 6;
1301 int sequence_var_assignment_size() const;
1302 private:
1303 int _internal_sequence_var_assignment_size() const;
1304
1305 public:
1308 ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL mutable_sequence_var_assignment();
1309
1310 private:
1311 const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>& _internal_sequence_var_assignment() const;
1312 ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL _internal_mutable_sequence_var_assignment();
1313 public:
1314 const ::operations_research::SequenceVarAssignment& sequence_var_assignment(int index) const;
1316 const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>& sequence_var_assignment() const;
1317 // .operations_research.WorkerInfo worker_info = 4;
1318 bool has_worker_info() const;
1319 void clear_worker_info() ;
1320 const ::operations_research::WorkerInfo& worker_info() const;
1321 [[nodiscard]] ::operations_research::WorkerInfo* PROTOBUF_NULLABLE release_worker_info();
1323 void set_allocated_worker_info(::operations_research::WorkerInfo* PROTOBUF_NULLABLE value);
1326
1327 private:
1328 const ::operations_research::WorkerInfo& _internal_worker_info() const;
1329 ::operations_research::WorkerInfo* PROTOBUF_NONNULL _internal_mutable_worker_info();
1330
1331 public:
1332 // bool is_valid = 5;
1333 void clear_is_valid() ;
1334 bool is_valid() const;
1335 void set_is_valid(bool value);
1336
1337 private:
1338 bool _internal_is_valid() const;
1339 void _internal_set_is_valid(bool value);
1340
1341 public:
1342 // @@protoc_insertion_point(class_scope:operations_research.AssignmentProto)
1343 private:
1344 class _Internal;
1345 friend class ::google::protobuf::internal::TcParser;
1346 static const ::google::protobuf::internal::TcParseTable<3, 6,
1347 5, 0,
1348 2>
1349 _table_;
1350
1351 friend class ::google::protobuf::MessageLite;
1352 friend class ::google::protobuf::Arena;
1353 template <typename T>
1354 friend class ::google::protobuf::Arena::InternalHelper;
1355 using InternalArenaConstructable_ = void;
1356 using DestructorSkippable_ = void;
1357 struct Impl_ {
1358 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1359 inline explicit Impl_(
1360 ::google::protobuf::internal::InternalVisibility visibility,
1361 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1362 inline explicit Impl_(
1363 ::google::protobuf::internal::InternalVisibility visibility,
1364 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1365 const AssignmentProto& from_msg);
1366 ::google::protobuf::internal::HasBits<1> _has_bits_;
1367 ::google::protobuf::internal::CachedSize _cached_size_;
1368 ::google::protobuf::RepeatedPtrField< ::operations_research::IntVarAssignment > int_var_assignment_;
1369 ::google::protobuf::RepeatedPtrField< ::operations_research::IntervalVarAssignment > interval_var_assignment_;
1370 ::google::protobuf::RepeatedPtrField< ::operations_research::IntVarAssignment > objective_;
1371 ::google::protobuf::RepeatedPtrField< ::operations_research::SequenceVarAssignment > sequence_var_assignment_;
1372 ::operations_research::WorkerInfo* PROTOBUF_NULLABLE worker_info_;
1373 bool is_valid_;
1374 PROTOBUF_TSAN_DECLARE_MEMBER
1375 };
1376 union { Impl_ _impl_; };
1377 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
1378};
1379
1380OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AssignmentProto_class_data_;
1381
1382// ===================================================================
1384
1385
1386
1387// ===================================================================
1388
1389
1390#ifdef __GNUC__
1391#pragma GCC diagnostic push
1392#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1393#endif // __GNUC__
1394// -------------------------------------------------------------------
1395
1396// IntVarAssignment
1397
1398// string var_id = 1;
1399inline void IntVarAssignment::clear_var_id() {
1400 ::google::protobuf::internal::TSanWrite(&_impl_);
1401 _impl_.var_id_.ClearToEmpty();
1402 ClearHasBit(_impl_._has_bits_[0],
1403 0x00000001U);
1404}
1405inline const ::std::string& IntVarAssignment::var_id() const
1406 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1407 // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.var_id)
1408 return _internal_var_id();
1409}
1410template <typename Arg_, typename... Args_>
1411PROTOBUF_ALWAYS_INLINE void IntVarAssignment::set_var_id(Arg_&& arg, Args_... args) {
1412 ::google::protobuf::internal::TSanWrite(&_impl_);
1413 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1414 _impl_.var_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1415 // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.var_id)
1416}
1417inline ::std::string* PROTOBUF_NONNULL IntVarAssignment::mutable_var_id()
1418 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1419 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1420 ::std::string* _s = _internal_mutable_var_id();
1421 // @@protoc_insertion_point(field_mutable:operations_research.IntVarAssignment.var_id)
1422 return _s;
1423}
1424inline const ::std::string& IntVarAssignment::_internal_var_id() const {
1425 ::google::protobuf::internal::TSanRead(&_impl_);
1426 return _impl_.var_id_.Get();
1427}
1428inline void IntVarAssignment::_internal_set_var_id(const ::std::string& value) {
1429 ::google::protobuf::internal::TSanWrite(&_impl_);
1430 _impl_.var_id_.Set(value, GetArena());
1431}
1432inline ::std::string* PROTOBUF_NONNULL IntVarAssignment::_internal_mutable_var_id() {
1433 ::google::protobuf::internal::TSanWrite(&_impl_);
1434 return _impl_.var_id_.Mutable( GetArena());
1435}
1436inline ::std::string* PROTOBUF_NULLABLE IntVarAssignment::release_var_id() {
1437 ::google::protobuf::internal::TSanWrite(&_impl_);
1438 // @@protoc_insertion_point(field_release:operations_research.IntVarAssignment.var_id)
1439 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
1440 return nullptr;
1441 }
1442 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1443 auto* released = _impl_.var_id_.Release();
1444 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1445 _impl_.var_id_.Set("", GetArena());
1446 }
1447 return released;
1448}
1449inline void IntVarAssignment::set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value) {
1450 ::google::protobuf::internal::TSanWrite(&_impl_);
1451 if (value != nullptr) {
1452 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1453 } else {
1454 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1455 }
1456 _impl_.var_id_.SetAllocated(value, GetArena());
1457 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.var_id_.IsDefault()) {
1458 _impl_.var_id_.Set("", GetArena());
1459 }
1460 // @@protoc_insertion_point(field_set_allocated:operations_research.IntVarAssignment.var_id)
1461}
1462
1463// int64 min = 2;
1464inline void IntVarAssignment::clear_min() {
1465 ::google::protobuf::internal::TSanWrite(&_impl_);
1466 _impl_.min_ = ::int64_t{0};
1467 ClearHasBit(_impl_._has_bits_[0],
1468 0x00000002U);
1469}
1470inline ::int64_t IntVarAssignment::min() const {
1471 // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.min)
1472 return _internal_min();
1474inline void IntVarAssignment::set_min(::int64_t value) {
1475 _internal_set_min(value);
1476 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1477 // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.min)
1478}
1479inline ::int64_t IntVarAssignment::_internal_min() const {
1480 ::google::protobuf::internal::TSanRead(&_impl_);
1481 return _impl_.min_;
1482}
1483inline void IntVarAssignment::_internal_set_min(::int64_t value) {
1484 ::google::protobuf::internal::TSanWrite(&_impl_);
1485 _impl_.min_ = value;
1486}
1487
1488// int64 max = 3;
1489inline void IntVarAssignment::clear_max() {
1490 ::google::protobuf::internal::TSanWrite(&_impl_);
1491 _impl_.max_ = ::int64_t{0};
1492 ClearHasBit(_impl_._has_bits_[0],
1493 0x00000004U);
1494}
1495inline ::int64_t IntVarAssignment::max() const {
1496 // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.max)
1497 return _internal_max();
1499inline void IntVarAssignment::set_max(::int64_t value) {
1500 _internal_set_max(value);
1501 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1502 // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.max)
1503}
1504inline ::int64_t IntVarAssignment::_internal_max() const {
1505 ::google::protobuf::internal::TSanRead(&_impl_);
1506 return _impl_.max_;
1507}
1508inline void IntVarAssignment::_internal_set_max(::int64_t value) {
1509 ::google::protobuf::internal::TSanWrite(&_impl_);
1510 _impl_.max_ = value;
1511}
1512
1513// bool active = 4;
1514inline void IntVarAssignment::clear_active() {
1515 ::google::protobuf::internal::TSanWrite(&_impl_);
1516 _impl_.active_ = false;
1517 ClearHasBit(_impl_._has_bits_[0],
1518 0x00000008U);
1519}
1520inline bool IntVarAssignment::active() const {
1521 // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.active)
1522 return _internal_active();
1524inline void IntVarAssignment::set_active(bool value) {
1525 _internal_set_active(value);
1526 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1527 // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.active)
1528}
1529inline bool IntVarAssignment::_internal_active() const {
1530 ::google::protobuf::internal::TSanRead(&_impl_);
1531 return _impl_.active_;
1532}
1533inline void IntVarAssignment::_internal_set_active(bool value) {
1534 ::google::protobuf::internal::TSanWrite(&_impl_);
1535 _impl_.active_ = value;
1536}
1537
1538// -------------------------------------------------------------------
1539
1540// IntervalVarAssignment
1541
1542// string var_id = 1;
1544 ::google::protobuf::internal::TSanWrite(&_impl_);
1545 _impl_.var_id_.ClearToEmpty();
1546 ClearHasBit(_impl_._has_bits_[0],
1547 0x00000001U);
1548}
1549inline const ::std::string& IntervalVarAssignment::var_id() const
1550 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1551 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.var_id)
1552 return _internal_var_id();
1554template <typename Arg_, typename... Args_>
1555PROTOBUF_ALWAYS_INLINE void IntervalVarAssignment::set_var_id(Arg_&& arg, Args_... args) {
1556 ::google::protobuf::internal::TSanWrite(&_impl_);
1557 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1558 _impl_.var_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1559 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.var_id)
1560}
1561inline ::std::string* PROTOBUF_NONNULL IntervalVarAssignment::mutable_var_id()
1562 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1563 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1564 ::std::string* _s = _internal_mutable_var_id();
1565 // @@protoc_insertion_point(field_mutable:operations_research.IntervalVarAssignment.var_id)
1566 return _s;
1567}
1568inline const ::std::string& IntervalVarAssignment::_internal_var_id() const {
1569 ::google::protobuf::internal::TSanRead(&_impl_);
1570 return _impl_.var_id_.Get();
1572inline void IntervalVarAssignment::_internal_set_var_id(const ::std::string& value) {
1573 ::google::protobuf::internal::TSanWrite(&_impl_);
1574 _impl_.var_id_.Set(value, GetArena());
1575}
1576inline ::std::string* PROTOBUF_NONNULL IntervalVarAssignment::_internal_mutable_var_id() {
1577 ::google::protobuf::internal::TSanWrite(&_impl_);
1578 return _impl_.var_id_.Mutable( GetArena());
1579}
1580inline ::std::string* PROTOBUF_NULLABLE IntervalVarAssignment::release_var_id() {
1581 ::google::protobuf::internal::TSanWrite(&_impl_);
1582 // @@protoc_insertion_point(field_release:operations_research.IntervalVarAssignment.var_id)
1583 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
1584 return nullptr;
1585 }
1586 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1587 auto* released = _impl_.var_id_.Release();
1588 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1589 _impl_.var_id_.Set("", GetArena());
1591 return released;
1592}
1593inline void IntervalVarAssignment::set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value) {
1594 ::google::protobuf::internal::TSanWrite(&_impl_);
1595 if (value != nullptr) {
1596 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1597 } else {
1598 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1599 }
1600 _impl_.var_id_.SetAllocated(value, GetArena());
1601 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.var_id_.IsDefault()) {
1602 _impl_.var_id_.Set("", GetArena());
1604 // @@protoc_insertion_point(field_set_allocated:operations_research.IntervalVarAssignment.var_id)
1605}
1606
1607// int64 start_min = 2;
1609 ::google::protobuf::internal::TSanWrite(&_impl_);
1610 _impl_.start_min_ = ::int64_t{0};
1611 ClearHasBit(_impl_._has_bits_[0],
1612 0x00000002U);
1613}
1614inline ::int64_t IntervalVarAssignment::start_min() const {
1615 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.start_min)
1616 return _internal_start_min();
1617}
1618inline void IntervalVarAssignment::set_start_min(::int64_t value) {
1619 _internal_set_start_min(value);
1620 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1621 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.start_min)
1622}
1623inline ::int64_t IntervalVarAssignment::_internal_start_min() const {
1624 ::google::protobuf::internal::TSanRead(&_impl_);
1625 return _impl_.start_min_;
1626}
1627inline void IntervalVarAssignment::_internal_set_start_min(::int64_t value) {
1628 ::google::protobuf::internal::TSanWrite(&_impl_);
1629 _impl_.start_min_ = value;
1630}
1631
1632// int64 start_max = 3;
1634 ::google::protobuf::internal::TSanWrite(&_impl_);
1635 _impl_.start_max_ = ::int64_t{0};
1636 ClearHasBit(_impl_._has_bits_[0],
1637 0x00000004U);
1638}
1639inline ::int64_t IntervalVarAssignment::start_max() const {
1640 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.start_max)
1641 return _internal_start_max();
1642}
1643inline void IntervalVarAssignment::set_start_max(::int64_t value) {
1644 _internal_set_start_max(value);
1645 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1646 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.start_max)
1647}
1648inline ::int64_t IntervalVarAssignment::_internal_start_max() const {
1649 ::google::protobuf::internal::TSanRead(&_impl_);
1650 return _impl_.start_max_;
1651}
1652inline void IntervalVarAssignment::_internal_set_start_max(::int64_t value) {
1653 ::google::protobuf::internal::TSanWrite(&_impl_);
1654 _impl_.start_max_ = value;
1655}
1656
1657// int64 duration_min = 4;
1659 ::google::protobuf::internal::TSanWrite(&_impl_);
1660 _impl_.duration_min_ = ::int64_t{0};
1661 ClearHasBit(_impl_._has_bits_[0],
1662 0x00000008U);
1663}
1664inline ::int64_t IntervalVarAssignment::duration_min() const {
1665 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.duration_min)
1666 return _internal_duration_min();
1667}
1668inline void IntervalVarAssignment::set_duration_min(::int64_t value) {
1669 _internal_set_duration_min(value);
1670 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1671 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.duration_min)
1672}
1673inline ::int64_t IntervalVarAssignment::_internal_duration_min() const {
1674 ::google::protobuf::internal::TSanRead(&_impl_);
1675 return _impl_.duration_min_;
1676}
1677inline void IntervalVarAssignment::_internal_set_duration_min(::int64_t value) {
1678 ::google::protobuf::internal::TSanWrite(&_impl_);
1679 _impl_.duration_min_ = value;
1680}
1681
1682// int64 duration_max = 5;
1684 ::google::protobuf::internal::TSanWrite(&_impl_);
1685 _impl_.duration_max_ = ::int64_t{0};
1686 ClearHasBit(_impl_._has_bits_[0],
1687 0x00000010U);
1688}
1689inline ::int64_t IntervalVarAssignment::duration_max() const {
1690 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.duration_max)
1691 return _internal_duration_max();
1692}
1693inline void IntervalVarAssignment::set_duration_max(::int64_t value) {
1694 _internal_set_duration_max(value);
1695 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
1696 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.duration_max)
1697}
1698inline ::int64_t IntervalVarAssignment::_internal_duration_max() const {
1699 ::google::protobuf::internal::TSanRead(&_impl_);
1700 return _impl_.duration_max_;
1701}
1702inline void IntervalVarAssignment::_internal_set_duration_max(::int64_t value) {
1703 ::google::protobuf::internal::TSanWrite(&_impl_);
1704 _impl_.duration_max_ = value;
1705}
1706
1707// int64 end_min = 6;
1709 ::google::protobuf::internal::TSanWrite(&_impl_);
1710 _impl_.end_min_ = ::int64_t{0};
1711 ClearHasBit(_impl_._has_bits_[0],
1712 0x00000020U);
1713}
1714inline ::int64_t IntervalVarAssignment::end_min() const {
1715 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.end_min)
1716 return _internal_end_min();
1717}
1718inline void IntervalVarAssignment::set_end_min(::int64_t value) {
1719 _internal_set_end_min(value);
1720 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
1721 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.end_min)
1722}
1723inline ::int64_t IntervalVarAssignment::_internal_end_min() const {
1724 ::google::protobuf::internal::TSanRead(&_impl_);
1725 return _impl_.end_min_;
1726}
1727inline void IntervalVarAssignment::_internal_set_end_min(::int64_t value) {
1728 ::google::protobuf::internal::TSanWrite(&_impl_);
1729 _impl_.end_min_ = value;
1730}
1731
1732// int64 end_max = 7;
1734 ::google::protobuf::internal::TSanWrite(&_impl_);
1735 _impl_.end_max_ = ::int64_t{0};
1736 ClearHasBit(_impl_._has_bits_[0],
1737 0x00000040U);
1738}
1739inline ::int64_t IntervalVarAssignment::end_max() const {
1740 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.end_max)
1741 return _internal_end_max();
1742}
1743inline void IntervalVarAssignment::set_end_max(::int64_t value) {
1744 _internal_set_end_max(value);
1745 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
1746 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.end_max)
1747}
1748inline ::int64_t IntervalVarAssignment::_internal_end_max() const {
1749 ::google::protobuf::internal::TSanRead(&_impl_);
1750 return _impl_.end_max_;
1751}
1752inline void IntervalVarAssignment::_internal_set_end_max(::int64_t value) {
1753 ::google::protobuf::internal::TSanWrite(&_impl_);
1754 _impl_.end_max_ = value;
1755}
1756
1757// int64 performed_min = 8;
1759 ::google::protobuf::internal::TSanWrite(&_impl_);
1760 _impl_.performed_min_ = ::int64_t{0};
1761 ClearHasBit(_impl_._has_bits_[0],
1762 0x00000080U);
1763}
1764inline ::int64_t IntervalVarAssignment::performed_min() const {
1765 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.performed_min)
1766 return _internal_performed_min();
1767}
1768inline void IntervalVarAssignment::set_performed_min(::int64_t value) {
1769 _internal_set_performed_min(value);
1770 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
1771 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.performed_min)
1772}
1773inline ::int64_t IntervalVarAssignment::_internal_performed_min() const {
1774 ::google::protobuf::internal::TSanRead(&_impl_);
1775 return _impl_.performed_min_;
1776}
1777inline void IntervalVarAssignment::_internal_set_performed_min(::int64_t value) {
1778 ::google::protobuf::internal::TSanWrite(&_impl_);
1779 _impl_.performed_min_ = value;
1780}
1781
1782// int64 performed_max = 9;
1784 ::google::protobuf::internal::TSanWrite(&_impl_);
1785 _impl_.performed_max_ = ::int64_t{0};
1786 ClearHasBit(_impl_._has_bits_[0],
1787 0x00000100U);
1788}
1789inline ::int64_t IntervalVarAssignment::performed_max() const {
1790 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.performed_max)
1791 return _internal_performed_max();
1792}
1793inline void IntervalVarAssignment::set_performed_max(::int64_t value) {
1794 _internal_set_performed_max(value);
1795 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
1796 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.performed_max)
1797}
1798inline ::int64_t IntervalVarAssignment::_internal_performed_max() const {
1799 ::google::protobuf::internal::TSanRead(&_impl_);
1800 return _impl_.performed_max_;
1801}
1802inline void IntervalVarAssignment::_internal_set_performed_max(::int64_t value) {
1803 ::google::protobuf::internal::TSanWrite(&_impl_);
1804 _impl_.performed_max_ = value;
1805}
1806
1807// bool active = 10;
1809 ::google::protobuf::internal::TSanWrite(&_impl_);
1810 _impl_.active_ = false;
1811 ClearHasBit(_impl_._has_bits_[0],
1812 0x00000200U);
1813}
1814inline bool IntervalVarAssignment::active() const {
1815 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.active)
1816 return _internal_active();
1817}
1818inline void IntervalVarAssignment::set_active(bool value) {
1819 _internal_set_active(value);
1820 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
1821 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.active)
1822}
1823inline bool IntervalVarAssignment::_internal_active() const {
1824 ::google::protobuf::internal::TSanRead(&_impl_);
1825 return _impl_.active_;
1826}
1827inline void IntervalVarAssignment::_internal_set_active(bool value) {
1828 ::google::protobuf::internal::TSanWrite(&_impl_);
1829 _impl_.active_ = value;
1830}
1831
1832// -------------------------------------------------------------------
1833
1834// SequenceVarAssignment
1835
1836// string var_id = 1;
1838 ::google::protobuf::internal::TSanWrite(&_impl_);
1839 _impl_.var_id_.ClearToEmpty();
1840 ClearHasBit(_impl_._has_bits_[0],
1841 0x00000008U);
1842}
1843inline const ::std::string& SequenceVarAssignment::var_id() const
1844 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1845 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.var_id)
1846 return _internal_var_id();
1847}
1848template <typename Arg_, typename... Args_>
1849PROTOBUF_ALWAYS_INLINE void SequenceVarAssignment::set_var_id(Arg_&& arg, Args_... args) {
1850 ::google::protobuf::internal::TSanWrite(&_impl_);
1851 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1852 _impl_.var_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1853 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.var_id)
1855inline ::std::string* PROTOBUF_NONNULL SequenceVarAssignment::mutable_var_id()
1856 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1857 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1858 ::std::string* _s = _internal_mutable_var_id();
1859 // @@protoc_insertion_point(field_mutable:operations_research.SequenceVarAssignment.var_id)
1860 return _s;
1861}
1862inline const ::std::string& SequenceVarAssignment::_internal_var_id() const {
1863 ::google::protobuf::internal::TSanRead(&_impl_);
1864 return _impl_.var_id_.Get();
1865}
1866inline void SequenceVarAssignment::_internal_set_var_id(const ::std::string& value) {
1867 ::google::protobuf::internal::TSanWrite(&_impl_);
1868 _impl_.var_id_.Set(value, GetArena());
1869}
1870inline ::std::string* PROTOBUF_NONNULL SequenceVarAssignment::_internal_mutable_var_id() {
1871 ::google::protobuf::internal::TSanWrite(&_impl_);
1872 return _impl_.var_id_.Mutable( GetArena());
1873}
1874inline ::std::string* PROTOBUF_NULLABLE SequenceVarAssignment::release_var_id() {
1875 ::google::protobuf::internal::TSanWrite(&_impl_);
1876 // @@protoc_insertion_point(field_release:operations_research.SequenceVarAssignment.var_id)
1877 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
1878 return nullptr;
1879 }
1880 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
1881 auto* released = _impl_.var_id_.Release();
1882 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1883 _impl_.var_id_.Set("", GetArena());
1884 }
1885 return released;
1886}
1887inline void SequenceVarAssignment::set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value) {
1888 ::google::protobuf::internal::TSanWrite(&_impl_);
1889 if (value != nullptr) {
1890 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1891 } else {
1892 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
1893 }
1894 _impl_.var_id_.SetAllocated(value, GetArena());
1895 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.var_id_.IsDefault()) {
1896 _impl_.var_id_.Set("", GetArena());
1897 }
1898 // @@protoc_insertion_point(field_set_allocated:operations_research.SequenceVarAssignment.var_id)
1899}
1900
1901// repeated int32 forward_sequence = 2;
1902inline int SequenceVarAssignment::_internal_forward_sequence_size() const {
1903 return _internal_forward_sequence().size();
1904}
1906 return _internal_forward_sequence_size();
1907}
1909 ::google::protobuf::internal::TSanWrite(&_impl_);
1910 _impl_.forward_sequence_.Clear();
1911 ClearHasBitForRepeated(_impl_._has_bits_[0],
1912 0x00000001U);
1913}
1914inline ::int32_t SequenceVarAssignment::forward_sequence(int index) const {
1915 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.forward_sequence)
1916 return _internal_forward_sequence().Get(index);
1917}
1918inline void SequenceVarAssignment::set_forward_sequence(int index, ::int32_t value) {
1919 _internal_mutable_forward_sequence()->Set(index, value);
1920 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.forward_sequence)
1921}
1922inline void SequenceVarAssignment::add_forward_sequence(::int32_t value) {
1923 ::google::protobuf::internal::TSanWrite(&_impl_);
1924 _internal_mutable_forward_sequence()->Add(value);
1925 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1926 // @@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.forward_sequence)
1927}
1928inline const ::google::protobuf::RepeatedField<::int32_t>& SequenceVarAssignment::forward_sequence() const
1929 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1930 // @@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.forward_sequence)
1931 return _internal_forward_sequence();
1932}
1933inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL SequenceVarAssignment::mutable_forward_sequence()
1934 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1935 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1936 // @@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.forward_sequence)
1937 ::google::protobuf::internal::TSanWrite(&_impl_);
1938 return _internal_mutable_forward_sequence();
1940inline const ::google::protobuf::RepeatedField<::int32_t>&
1941SequenceVarAssignment::_internal_forward_sequence() const {
1942 ::google::protobuf::internal::TSanRead(&_impl_);
1943 return _impl_.forward_sequence_;
1945inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1946SequenceVarAssignment::_internal_mutable_forward_sequence() {
1947 ::google::protobuf::internal::TSanRead(&_impl_);
1948 return &_impl_.forward_sequence_;
1949}
1950
1951// repeated int32 backward_sequence = 3;
1952inline int SequenceVarAssignment::_internal_backward_sequence_size() const {
1953 return _internal_backward_sequence().size();
1954}
1956 return _internal_backward_sequence_size();
1957}
1959 ::google::protobuf::internal::TSanWrite(&_impl_);
1960 _impl_.backward_sequence_.Clear();
1961 ClearHasBitForRepeated(_impl_._has_bits_[0],
1962 0x00000002U);
1963}
1964inline ::int32_t SequenceVarAssignment::backward_sequence(int index) const {
1965 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.backward_sequence)
1966 return _internal_backward_sequence().Get(index);
1967}
1968inline void SequenceVarAssignment::set_backward_sequence(int index, ::int32_t value) {
1969 _internal_mutable_backward_sequence()->Set(index, value);
1970 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.backward_sequence)
1971}
1972inline void SequenceVarAssignment::add_backward_sequence(::int32_t value) {
1973 ::google::protobuf::internal::TSanWrite(&_impl_);
1974 _internal_mutable_backward_sequence()->Add(value);
1975 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1976 // @@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.backward_sequence)
1977}
1978inline const ::google::protobuf::RepeatedField<::int32_t>& SequenceVarAssignment::backward_sequence() const
1979 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1980 // @@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.backward_sequence)
1981 return _internal_backward_sequence();
1982}
1983inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL SequenceVarAssignment::mutable_backward_sequence()
1984 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1985 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1986 // @@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.backward_sequence)
1987 ::google::protobuf::internal::TSanWrite(&_impl_);
1988 return _internal_mutable_backward_sequence();
1990inline const ::google::protobuf::RepeatedField<::int32_t>&
1991SequenceVarAssignment::_internal_backward_sequence() const {
1992 ::google::protobuf::internal::TSanRead(&_impl_);
1993 return _impl_.backward_sequence_;
1995inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1996SequenceVarAssignment::_internal_mutable_backward_sequence() {
1997 ::google::protobuf::internal::TSanRead(&_impl_);
1998 return &_impl_.backward_sequence_;
1999}
2000
2001// repeated int32 unperformed = 4;
2002inline int SequenceVarAssignment::_internal_unperformed_size() const {
2003 return _internal_unperformed().size();
2004}
2005inline int SequenceVarAssignment::unperformed_size() const {
2006 return _internal_unperformed_size();
2007}
2009 ::google::protobuf::internal::TSanWrite(&_impl_);
2010 _impl_.unperformed_.Clear();
2011 ClearHasBitForRepeated(_impl_._has_bits_[0],
2012 0x00000004U);
2013}
2014inline ::int32_t SequenceVarAssignment::unperformed(int index) const {
2015 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.unperformed)
2016 return _internal_unperformed().Get(index);
2017}
2018inline void SequenceVarAssignment::set_unperformed(int index, ::int32_t value) {
2019 _internal_mutable_unperformed()->Set(index, value);
2020 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.unperformed)
2021}
2022inline void SequenceVarAssignment::add_unperformed(::int32_t value) {
2023 ::google::protobuf::internal::TSanWrite(&_impl_);
2024 _internal_mutable_unperformed()->Add(value);
2025 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2026 // @@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.unperformed)
2027}
2028inline const ::google::protobuf::RepeatedField<::int32_t>& SequenceVarAssignment::unperformed() const
2029 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2030 // @@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.unperformed)
2031 return _internal_unperformed();
2032}
2033inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL SequenceVarAssignment::mutable_unperformed()
2034 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2035 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2036 // @@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.unperformed)
2037 ::google::protobuf::internal::TSanWrite(&_impl_);
2038 return _internal_mutable_unperformed();
2040inline const ::google::protobuf::RepeatedField<::int32_t>&
2041SequenceVarAssignment::_internal_unperformed() const {
2042 ::google::protobuf::internal::TSanRead(&_impl_);
2043 return _impl_.unperformed_;
2045inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2046SequenceVarAssignment::_internal_mutable_unperformed() {
2047 ::google::protobuf::internal::TSanRead(&_impl_);
2048 return &_impl_.unperformed_;
2049}
2050
2051// bool active = 5;
2053 ::google::protobuf::internal::TSanWrite(&_impl_);
2054 _impl_.active_ = false;
2055 ClearHasBit(_impl_._has_bits_[0],
2056 0x00000010U);
2057}
2058inline bool SequenceVarAssignment::active() const {
2059 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.active)
2060 return _internal_active();
2061}
2062inline void SequenceVarAssignment::set_active(bool value) {
2063 _internal_set_active(value);
2064 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2065 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.active)
2066}
2067inline bool SequenceVarAssignment::_internal_active() const {
2068 ::google::protobuf::internal::TSanRead(&_impl_);
2069 return _impl_.active_;
2070}
2071inline void SequenceVarAssignment::_internal_set_active(bool value) {
2072 ::google::protobuf::internal::TSanWrite(&_impl_);
2073 _impl_.active_ = value;
2074}
2075
2076// -------------------------------------------------------------------
2077
2078// WorkerInfo
2079
2080// int32 worker_id = 1;
2081inline void WorkerInfo::clear_worker_id() {
2082 ::google::protobuf::internal::TSanWrite(&_impl_);
2083 _impl_.worker_id_ = 0;
2084 ClearHasBit(_impl_._has_bits_[0],
2085 0x00000002U);
2086}
2087inline ::int32_t WorkerInfo::worker_id() const {
2088 // @@protoc_insertion_point(field_get:operations_research.WorkerInfo.worker_id)
2089 return _internal_worker_id();
2090}
2091inline void WorkerInfo::set_worker_id(::int32_t value) {
2092 _internal_set_worker_id(value);
2093 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2094 // @@protoc_insertion_point(field_set:operations_research.WorkerInfo.worker_id)
2095}
2096inline ::int32_t WorkerInfo::_internal_worker_id() const {
2097 ::google::protobuf::internal::TSanRead(&_impl_);
2098 return _impl_.worker_id_;
2100inline void WorkerInfo::_internal_set_worker_id(::int32_t value) {
2101 ::google::protobuf::internal::TSanWrite(&_impl_);
2102 _impl_.worker_id_ = value;
2104
2105// string bns = 2;
2106inline void WorkerInfo::clear_bns() {
2107 ::google::protobuf::internal::TSanWrite(&_impl_);
2108 _impl_.bns_.ClearToEmpty();
2109 ClearHasBit(_impl_._has_bits_[0],
2110 0x00000001U);
2111}
2112inline const ::std::string& WorkerInfo::bns() const
2113 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2114 // @@protoc_insertion_point(field_get:operations_research.WorkerInfo.bns)
2115 return _internal_bns();
2116}
2117template <typename Arg_, typename... Args_>
2118PROTOBUF_ALWAYS_INLINE void WorkerInfo::set_bns(Arg_&& arg, Args_... args) {
2119 ::google::protobuf::internal::TSanWrite(&_impl_);
2120 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2121 _impl_.bns_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2122 // @@protoc_insertion_point(field_set:operations_research.WorkerInfo.bns)
2123}
2124inline ::std::string* PROTOBUF_NONNULL WorkerInfo::mutable_bns()
2125 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2126 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2127 ::std::string* _s = _internal_mutable_bns();
2128 // @@protoc_insertion_point(field_mutable:operations_research.WorkerInfo.bns)
2129 return _s;
2131inline const ::std::string& WorkerInfo::_internal_bns() const {
2132 ::google::protobuf::internal::TSanRead(&_impl_);
2133 return _impl_.bns_.Get();
2134}
2135inline void WorkerInfo::_internal_set_bns(const ::std::string& value) {
2136 ::google::protobuf::internal::TSanWrite(&_impl_);
2137 _impl_.bns_.Set(value, GetArena());
2138}
2139inline ::std::string* PROTOBUF_NONNULL WorkerInfo::_internal_mutable_bns() {
2140 ::google::protobuf::internal::TSanWrite(&_impl_);
2141 return _impl_.bns_.Mutable( GetArena());
2142}
2143inline ::std::string* PROTOBUF_NULLABLE WorkerInfo::release_bns() {
2144 ::google::protobuf::internal::TSanWrite(&_impl_);
2145 // @@protoc_insertion_point(field_release:operations_research.WorkerInfo.bns)
2146 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
2147 return nullptr;
2148 }
2149 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2150 auto* released = _impl_.bns_.Release();
2151 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2152 _impl_.bns_.Set("", GetArena());
2153 }
2154 return released;
2156inline void WorkerInfo::set_allocated_bns(::std::string* PROTOBUF_NULLABLE value) {
2157 ::google::protobuf::internal::TSanWrite(&_impl_);
2158 if (value != nullptr) {
2159 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2160 } else {
2161 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2162 }
2163 _impl_.bns_.SetAllocated(value, GetArena());
2164 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.bns_.IsDefault()) {
2165 _impl_.bns_.Set("", GetArena());
2166 }
2167 // @@protoc_insertion_point(field_set_allocated:operations_research.WorkerInfo.bns)
2169
2170// -------------------------------------------------------------------
2171
2172// AssignmentProto
2173
2174// repeated .operations_research.IntVarAssignment int_var_assignment = 1;
2175inline int AssignmentProto::_internal_int_var_assignment_size() const {
2176 return _internal_int_var_assignment().size();
2177}
2179 return _internal_int_var_assignment_size();
2180}
2182 ::google::protobuf::internal::TSanWrite(&_impl_);
2183 _impl_.int_var_assignment_.Clear();
2184 ClearHasBitForRepeated(_impl_._has_bits_[0],
2185 0x00000001U);
2186}
2187inline ::operations_research::IntVarAssignment* PROTOBUF_NONNULL AssignmentProto::mutable_int_var_assignment(int index)
2188 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2189 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.int_var_assignment)
2190 return _internal_mutable_int_var_assignment()->Mutable(index);
2192inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL AssignmentProto::mutable_int_var_assignment()
2193 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2194 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2195 // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.int_var_assignment)
2196 ::google::protobuf::internal::TSanWrite(&_impl_);
2197 return _internal_mutable_int_var_assignment();
2198}
2199inline const ::operations_research::IntVarAssignment& AssignmentProto::int_var_assignment(int index) const
2200 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2201 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.int_var_assignment)
2202 return _internal_int_var_assignment().Get(index);
2203}
2204inline ::operations_research::IntVarAssignment* PROTOBUF_NONNULL AssignmentProto::add_int_var_assignment()
2205 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2206 ::google::protobuf::internal::TSanWrite(&_impl_);
2208 _internal_mutable_int_var_assignment()->InternalAddWithArena(
2209 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2210 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2211 // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.int_var_assignment)
2212 return _add;
2213}
2214inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& AssignmentProto::int_var_assignment() const
2215 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2216 // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.int_var_assignment)
2217 return _internal_int_var_assignment();
2218}
2219inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>&
2220AssignmentProto::_internal_int_var_assignment() const {
2221 ::google::protobuf::internal::TSanRead(&_impl_);
2222 return _impl_.int_var_assignment_;
2223}
2224inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL
2225AssignmentProto::_internal_mutable_int_var_assignment() {
2226 ::google::protobuf::internal::TSanRead(&_impl_);
2227 return &_impl_.int_var_assignment_;
2228}
2229
2230// repeated .operations_research.IntervalVarAssignment interval_var_assignment = 2;
2231inline int AssignmentProto::_internal_interval_var_assignment_size() const {
2232 return _internal_interval_var_assignment().size();
2233}
2235 return _internal_interval_var_assignment_size();
2236}
2238 ::google::protobuf::internal::TSanWrite(&_impl_);
2239 _impl_.interval_var_assignment_.Clear();
2240 ClearHasBitForRepeated(_impl_._has_bits_[0],
2241 0x00000002U);
2242}
2243inline ::operations_research::IntervalVarAssignment* PROTOBUF_NONNULL AssignmentProto::mutable_interval_var_assignment(int index)
2244 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2245 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.interval_var_assignment)
2246 return _internal_mutable_interval_var_assignment()->Mutable(index);
2248inline ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL AssignmentProto::mutable_interval_var_assignment()
2249 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2250 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2251 // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.interval_var_assignment)
2252 ::google::protobuf::internal::TSanWrite(&_impl_);
2253 return _internal_mutable_interval_var_assignment();
2254}
2255inline const ::operations_research::IntervalVarAssignment& AssignmentProto::interval_var_assignment(int index) const
2256 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2257 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.interval_var_assignment)
2258 return _internal_interval_var_assignment().Get(index);
2259}
2260inline ::operations_research::IntervalVarAssignment* PROTOBUF_NONNULL AssignmentProto::add_interval_var_assignment()
2261 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2262 ::google::protobuf::internal::TSanWrite(&_impl_);
2264 _internal_mutable_interval_var_assignment()->InternalAddWithArena(
2265 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2266 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2267 // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.interval_var_assignment)
2268 return _add;
2269}
2270inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>& AssignmentProto::interval_var_assignment() const
2271 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2272 // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.interval_var_assignment)
2273 return _internal_interval_var_assignment();
2274}
2275inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>&
2276AssignmentProto::_internal_interval_var_assignment() const {
2277 ::google::protobuf::internal::TSanRead(&_impl_);
2278 return _impl_.interval_var_assignment_;
2279}
2280inline ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL
2281AssignmentProto::_internal_mutable_interval_var_assignment() {
2282 ::google::protobuf::internal::TSanRead(&_impl_);
2283 return &_impl_.interval_var_assignment_;
2284}
2285
2286// repeated .operations_research.SequenceVarAssignment sequence_var_assignment = 6;
2287inline int AssignmentProto::_internal_sequence_var_assignment_size() const {
2288 return _internal_sequence_var_assignment().size();
2289}
2291 return _internal_sequence_var_assignment_size();
2292}
2294 ::google::protobuf::internal::TSanWrite(&_impl_);
2295 _impl_.sequence_var_assignment_.Clear();
2296 ClearHasBitForRepeated(_impl_._has_bits_[0],
2297 0x00000008U);
2298}
2299inline ::operations_research::SequenceVarAssignment* PROTOBUF_NONNULL AssignmentProto::mutable_sequence_var_assignment(int index)
2300 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2301 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.sequence_var_assignment)
2302 return _internal_mutable_sequence_var_assignment()->Mutable(index);
2304inline ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL AssignmentProto::mutable_sequence_var_assignment()
2305 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2306 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
2307 // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.sequence_var_assignment)
2308 ::google::protobuf::internal::TSanWrite(&_impl_);
2309 return _internal_mutable_sequence_var_assignment();
2310}
2311inline const ::operations_research::SequenceVarAssignment& AssignmentProto::sequence_var_assignment(int index) const
2312 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2313 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.sequence_var_assignment)
2314 return _internal_sequence_var_assignment().Get(index);
2315}
2316inline ::operations_research::SequenceVarAssignment* PROTOBUF_NONNULL AssignmentProto::add_sequence_var_assignment()
2317 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2318 ::google::protobuf::internal::TSanWrite(&_impl_);
2320 _internal_mutable_sequence_var_assignment()->InternalAddWithArena(
2321 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2322 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
2323 // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.sequence_var_assignment)
2324 return _add;
2325}
2326inline const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>& AssignmentProto::sequence_var_assignment() const
2327 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2328 // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.sequence_var_assignment)
2329 return _internal_sequence_var_assignment();
2330}
2331inline const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>&
2332AssignmentProto::_internal_sequence_var_assignment() const {
2333 ::google::protobuf::internal::TSanRead(&_impl_);
2334 return _impl_.sequence_var_assignment_;
2335}
2336inline ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL
2337AssignmentProto::_internal_mutable_sequence_var_assignment() {
2338 ::google::protobuf::internal::TSanRead(&_impl_);
2339 return &_impl_.sequence_var_assignment_;
2340}
2341
2342// repeated .operations_research.IntVarAssignment objective = 3;
2343inline int AssignmentProto::_internal_objective_size() const {
2344 return _internal_objective().size();
2345}
2346inline int AssignmentProto::objective_size() const {
2347 return _internal_objective_size();
2348}
2350 ::google::protobuf::internal::TSanWrite(&_impl_);
2351 _impl_.objective_.Clear();
2352 ClearHasBitForRepeated(_impl_._has_bits_[0],
2353 0x00000004U);
2354}
2355inline ::operations_research::IntVarAssignment* PROTOBUF_NONNULL AssignmentProto::mutable_objective(int index)
2356 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2357 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.objective)
2358 return _internal_mutable_objective()->Mutable(index);
2360inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL AssignmentProto::mutable_objective()
2361 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2362 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2363 // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.objective)
2364 ::google::protobuf::internal::TSanWrite(&_impl_);
2365 return _internal_mutable_objective();
2366}
2367inline const ::operations_research::IntVarAssignment& AssignmentProto::objective(int index) const
2368 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2369 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.objective)
2370 return _internal_objective().Get(index);
2371}
2372inline ::operations_research::IntVarAssignment* PROTOBUF_NONNULL AssignmentProto::add_objective()
2373 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2374 ::google::protobuf::internal::TSanWrite(&_impl_);
2376 _internal_mutable_objective()->InternalAddWithArena(
2377 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2378 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2379 // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.objective)
2380 return _add;
2381}
2382inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& AssignmentProto::objective() const
2383 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2384 // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.objective)
2385 return _internal_objective();
2386}
2387inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>&
2388AssignmentProto::_internal_objective() const {
2389 ::google::protobuf::internal::TSanRead(&_impl_);
2390 return _impl_.objective_;
2391}
2392inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL
2393AssignmentProto::_internal_mutable_objective() {
2394 ::google::protobuf::internal::TSanRead(&_impl_);
2395 return &_impl_.objective_;
2396}
2397
2398// .operations_research.WorkerInfo worker_info = 4;
2399inline bool AssignmentProto::has_worker_info() const {
2400 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
2401 PROTOBUF_ASSUME(!value || _impl_.worker_info_ != nullptr);
2402 return value;
2403}
2405 ::google::protobuf::internal::TSanWrite(&_impl_);
2406 if (_impl_.worker_info_ != nullptr) _impl_.worker_info_->Clear();
2407 ClearHasBit(_impl_._has_bits_[0],
2408 0x00000010U);
2409}
2410inline const ::operations_research::WorkerInfo& AssignmentProto::_internal_worker_info() const {
2411 ::google::protobuf::internal::TSanRead(&_impl_);
2412 const ::operations_research::WorkerInfo* p = _impl_.worker_info_;
2413 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::WorkerInfo&>(::operations_research::_WorkerInfo_default_instance_);
2414}
2415inline const ::operations_research::WorkerInfo& AssignmentProto::worker_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2416 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.worker_info)
2417 return _internal_worker_info();
2418}
2420 ::operations_research::WorkerInfo* PROTOBUF_NULLABLE value) {
2421 ::google::protobuf::internal::TSanWrite(&_impl_);
2422 if (GetArena() == nullptr) {
2423 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.worker_info_);
2424 }
2425 _impl_.worker_info_ = reinterpret_cast<::operations_research::WorkerInfo*>(value);
2426 if (value != nullptr) {
2427 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2428 } else {
2429 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2430 }
2431 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.AssignmentProto.worker_info)
2433inline ::operations_research::WorkerInfo* PROTOBUF_NULLABLE AssignmentProto::release_worker_info() {
2434 ::google::protobuf::internal::TSanWrite(&_impl_);
2435
2436 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2437 ::operations_research::WorkerInfo* released = _impl_.worker_info_;
2438 _impl_.worker_info_ = nullptr;
2439 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2440 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2441 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2442 if (GetArena() == nullptr) {
2443 delete old;
2444 }
2445 } else {
2446 if (GetArena() != nullptr) {
2447 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2448 }
2449 }
2450 return released;
2451}
2452inline ::operations_research::WorkerInfo* PROTOBUF_NULLABLE AssignmentProto::unsafe_arena_release_worker_info() {
2453 ::google::protobuf::internal::TSanWrite(&_impl_);
2454 // @@protoc_insertion_point(field_release:operations_research.AssignmentProto.worker_info)
2455
2456 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2457 ::operations_research::WorkerInfo* temp = _impl_.worker_info_;
2458 _impl_.worker_info_ = nullptr;
2459 return temp;
2460}
2461inline ::operations_research::WorkerInfo* PROTOBUF_NONNULL AssignmentProto::_internal_mutable_worker_info() {
2462 ::google::protobuf::internal::TSanWrite(&_impl_);
2463 if (_impl_.worker_info_ == nullptr) {
2464 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::WorkerInfo>(GetArena());
2465 _impl_.worker_info_ = reinterpret_cast<::operations_research::WorkerInfo*>(p);
2466 }
2467 return _impl_.worker_info_;
2468}
2469inline ::operations_research::WorkerInfo* PROTOBUF_NONNULL AssignmentProto::mutable_worker_info()
2470 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2471 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2472 ::operations_research::WorkerInfo* _msg = _internal_mutable_worker_info();
2473 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.worker_info)
2474 return _msg;
2475}
2476inline void AssignmentProto::set_allocated_worker_info(::operations_research::WorkerInfo* PROTOBUF_NULLABLE value) {
2477 ::google::protobuf::Arena* message_arena = GetArena();
2478 ::google::protobuf::internal::TSanWrite(&_impl_);
2479 if (message_arena == nullptr) {
2480 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.worker_info_);
2481 }
2483 if (value != nullptr) {
2484 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2485 if (message_arena != submessage_arena) {
2486 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2487 }
2488 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2489 } else {
2490 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2491 }
2492
2493 _impl_.worker_info_ = reinterpret_cast<::operations_research::WorkerInfo*>(value);
2494 // @@protoc_insertion_point(field_set_allocated:operations_research.AssignmentProto.worker_info)
2495}
2496
2497// bool is_valid = 5;
2498inline void AssignmentProto::clear_is_valid() {
2499 ::google::protobuf::internal::TSanWrite(&_impl_);
2500 _impl_.is_valid_ = false;
2501 ClearHasBit(_impl_._has_bits_[0],
2502 0x00000020U);
2503}
2504inline bool AssignmentProto::is_valid() const {
2505 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.is_valid)
2506 return _internal_is_valid();
2507}
2508inline void AssignmentProto::set_is_valid(bool value) {
2509 _internal_set_is_valid(value);
2510 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2511 // @@protoc_insertion_point(field_set:operations_research.AssignmentProto.is_valid)
2512}
2513inline bool AssignmentProto::_internal_is_valid() const {
2514 ::google::protobuf::internal::TSanRead(&_impl_);
2515 return _impl_.is_valid_;
2516}
2517inline void AssignmentProto::_internal_set_is_valid(bool value) {
2518 ::google::protobuf::internal::TSanWrite(&_impl_);
2519 _impl_.is_valid_ = value;
2520}
2522#ifdef __GNUC__
2523#pragma GCC diagnostic pop
2524#endif // __GNUC__
2525
2526// @@protoc_insertion_point(namespace_scope)
2527} // namespace operations_research
2528
2529
2530// @@protoc_insertion_point(global_scope)
2531
2532#include "google/protobuf/port_undef.inc"
2533
2534#endif // ortools_2fconstraint_5fsolver_2fassignment_2eproto_2epb_2eh
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fassignment_2eproto
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > & objective() const
const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment > & interval_var_assignment() const
::operations_research::WorkerInfo *PROTOBUF_NULLABLE release_worker_info()
void unsafe_arena_set_allocated_worker_info(::operations_research::WorkerInfo *PROTOBUF_NULLABLE value)
::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > *PROTOBUF_NONNULL mutable_int_var_assignment()
const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment > & sequence_var_assignment() const
void Swap(AssignmentProto *PROTOBUF_NONNULL other)
AssignmentProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment > *PROTOBUF_NONNULL mutable_sequence_var_assignment()
AssignmentProto & operator=(const AssignmentProto &from)
::operations_research::IntVarAssignment *PROTOBUF_NONNULL mutable_objective(int index)
static const AssignmentProto & default_instance()
void set_allocated_worker_info(::operations_research::WorkerInfo *PROTOBUF_NULLABLE value)
::operations_research::IntervalVarAssignment *PROTOBUF_NONNULL mutable_interval_var_assignment(int index)
::operations_research::SequenceVarAssignment *PROTOBUF_NONNULL add_sequence_var_assignment()
::operations_research::WorkerInfo *PROTOBUF_NONNULL mutable_worker_info()
const ::operations_research::SequenceVarAssignment & sequence_var_assignment(int index) const
const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > & int_var_assignment() const
const ::operations_research::IntVarAssignment & objective(int index) const
::operations_research::IntervalVarAssignment *PROTOBUF_NONNULL add_interval_var_assignment()
const ::operations_research::WorkerInfo & worker_info() const
void CopyFrom(const AssignmentProto &from)
void MergeFrom(const AssignmentProto &from)
::operations_research::WorkerInfo *PROTOBUF_NULLABLE unsafe_arena_release_worker_info()
::operations_research::IntVarAssignment *PROTOBUF_NONNULL mutable_int_var_assignment(int index)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment > *PROTOBUF_NONNULL mutable_interval_var_assignment()
::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > *PROTOBUF_NONNULL mutable_objective()
const ::operations_research::IntervalVarAssignment & interval_var_assignment(int index) const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::operations_research::IntVarAssignment *PROTOBUF_NONNULL add_int_var_assignment()
::operations_research::IntVarAssignment *PROTOBUF_NONNULL add_objective()
const ::operations_research::IntVarAssignment & int_var_assignment(int index) const
::operations_research::SequenceVarAssignment *PROTOBUF_NONNULL mutable_sequence_var_assignment(int index)
friend class ::google::protobuf::Arena
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
IntVarAssignment *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
IntVarAssignment & operator=(const IntVarAssignment &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void Swap(IntVarAssignment *PROTOBUF_NONNULL other)
const ::std::string & var_id() const
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
friend void swap(IntVarAssignment &a, IntVarAssignment &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::std::string *PROTOBUF_NONNULL mutable_var_id()
void MergeFrom(const IntVarAssignment &from)
void CopyFrom(const IntVarAssignment &from)
void set_var_id(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NULLABLE release_var_id()
friend class ::google::protobuf::MessageLite
PROTOBUF_CONSTEXPR IntervalVarAssignment(::google::protobuf::internal::ConstantInitialized)
IntervalVarAssignment & operator=(const IntervalVarAssignment &from)
void MergeFrom(const IntervalVarAssignment &from)
void CopyFrom(const IntervalVarAssignment &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_var_id(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_var_id()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::std::string *PROTOBUF_NULLABLE release_var_id()
const ::std::string & var_id() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void Swap(IntervalVarAssignment *PROTOBUF_NONNULL other)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(IntervalVarAssignment &a, IntervalVarAssignment &b)
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
static const IntervalVarAssignment & default_instance()
void set_backward_sequence(int index, ::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & forward_sequence() const
friend class ::google::protobuf::MessageLite
void set_forward_sequence(int index, ::int32_t value)
const ::std::string & var_id() const
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_forward_sequence()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_backward_sequence()
SequenceVarAssignment & operator=(const SequenceVarAssignment &from)
::int32_t forward_sequence(int index) const
void Swap(SequenceVarAssignment *PROTOBUF_NONNULL other)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_unperformed()
static const SequenceVarAssignment & default_instance()
const ::google::protobuf::RepeatedField<::int32_t > & backward_sequence() const
PROTOBUF_CONSTEXPR SequenceVarAssignment(::google::protobuf::internal::ConstantInitialized)
void MergeFrom(const SequenceVarAssignment &from)
::std::string *PROTOBUF_NONNULL mutable_var_id()
::int32_t backward_sequence(int index) const
::std::string *PROTOBUF_NULLABLE release_var_id()
void set_var_id(Arg_ &&arg, Args_... args)
void CopyFrom(const SequenceVarAssignment &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void set_unperformed(int index, ::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & unperformed() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::MessageLite
WorkerInfo & operator=(const WorkerInfo &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_worker_id(::int32_t value)
WorkerInfo(const WorkerInfo &from)
void set_allocated_bns(::std::string *PROTOBUF_NULLABLE value)
void set_bns(Arg_ &&arg, Args_... args)
PROTOBUF_CONSTEXPR WorkerInfo(::google::protobuf::internal::ConstantInitialized)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const WorkerInfo &from)
::std::string *PROTOBUF_NONNULL mutable_bns()
::std::string *PROTOBUF_NULLABLE release_bns()
const ::std::string & bns() const
void Swap(WorkerInfo *PROTOBUF_NONNULL other)
::absl::string_view GetAnyMessageName()
OR-Tools root namespace.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SequenceVarAssignmentDefaultTypeInternal _SequenceVarAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull WorkerInfo_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntVarAssignmentDefaultTypeInternal _IntVarAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IntervalVarAssignment_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SequenceVarAssignment_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntervalVarAssignmentDefaultTypeInternal _IntervalVarAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AssignmentProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WorkerInfoDefaultTypeInternal _WorkerInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignmentProtoDefaultTypeInternal _AssignmentProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IntVarAssignment_class_data_