Google OR-Tools v9.14
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.31.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 != 6031001
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 protected:
211 explicit WorkerInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
212 WorkerInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WorkerInfo& from);
214 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, WorkerInfo&& from) noexcept
215 : WorkerInfo(arena) {
216 *this = ::std::move(from);
217 }
218 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
219 static void* PROTOBUF_NONNULL PlacementNew_(
220 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
221 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
222 static constexpr auto InternalNewImpl_();
223
224 public:
225 static constexpr auto InternalGenerateClassData_();
226
227 ::google::protobuf::Metadata GetMetadata() const;
228 // nested types ----------------------------------------------------
229
230 // accessors -------------------------------------------------------
231 enum : int {
232 kBnsFieldNumber = 2,
233 kWorkerIdFieldNumber = 1,
234 };
235 // string bns = 2;
236 void clear_bns() ;
237 const ::std::string& bns() const;
238 template <typename Arg_ = const ::std::string&, typename... Args_>
239 void set_bns(Arg_&& arg, Args_... args);
240 ::std::string* PROTOBUF_NONNULL mutable_bns();
241 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_bns();
242 void set_allocated_bns(::std::string* PROTOBUF_NULLABLE value);
243
244 private:
245 const ::std::string& _internal_bns() const;
246 PROTOBUF_ALWAYS_INLINE void _internal_set_bns(const ::std::string& value);
247 ::std::string* PROTOBUF_NONNULL _internal_mutable_bns();
248
249 public:
250 // int32 worker_id = 1;
251 void clear_worker_id() ;
252 ::int32_t worker_id() const;
253 void set_worker_id(::int32_t value);
254
255 private:
256 ::int32_t _internal_worker_id() const;
257 void _internal_set_worker_id(::int32_t value);
258
259 public:
260 // @@protoc_insertion_point(class_scope:operations_research.WorkerInfo)
261 private:
262 class _Internal;
263 friend class ::google::protobuf::internal::TcParser;
264 static const ::google::protobuf::internal::TcParseTable<1, 2,
265 0, 42,
266 2>
267 _table_;
268
269 friend class ::google::protobuf::MessageLite;
270 friend class ::google::protobuf::Arena;
271 template <typename T>
272 friend class ::google::protobuf::Arena::InternalHelper;
273 using InternalArenaConstructable_ = void;
274 using DestructorSkippable_ = void;
275 struct Impl_ {
276 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
277 inline explicit Impl_(
278 ::google::protobuf::internal::InternalVisibility visibility,
279 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
280 inline explicit Impl_(
281 ::google::protobuf::internal::InternalVisibility visibility,
282 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
283 const WorkerInfo& from_msg);
284 ::google::protobuf::internal::HasBits<1> _has_bits_;
285 ::google::protobuf::internal::CachedSize _cached_size_;
286 ::google::protobuf::internal::ArenaStringPtr bns_;
287 ::int32_t worker_id_;
288 PROTOBUF_TSAN_DECLARE_MEMBER
289 };
290 union { Impl_ _impl_; };
291 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
294OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull WorkerInfo_class_data_;
295// -------------------------------------------------------------------
296
297class OR_PROTO_DLL SequenceVarAssignment final : public ::google::protobuf::Message
298/* @@protoc_insertion_point(class_definition:operations_research.SequenceVarAssignment) */ {
299 public:
301 ~SequenceVarAssignment() PROTOBUF_FINAL;
302
303#if defined(PROTOBUF_CUSTOM_VTABLE)
304 void operator delete(SequenceVarAssignment* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
305 SharedDtor(*msg);
306 ::google::protobuf::internal::SizedDelete(msg, sizeof(SequenceVarAssignment));
307 }
308#endif
309
310 template <typename = void>
311 explicit PROTOBUF_CONSTEXPR SequenceVarAssignment(::google::protobuf::internal::ConstantInitialized);
312
313 inline SequenceVarAssignment(const SequenceVarAssignment& from) : SequenceVarAssignment(nullptr, from) {}
315 : SequenceVarAssignment(nullptr, ::std::move(from)) {}
317 CopyFrom(from);
318 return *this;
320 inline SequenceVarAssignment& operator=(SequenceVarAssignment&& from) noexcept {
321 if (this == &from) return *this;
322 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
323 InternalSwap(&from);
324 } else {
325 CopyFrom(from);
326 }
327 return *this;
328 }
329
330 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
331 ABSL_ATTRIBUTE_LIFETIME_BOUND {
332 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
334 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
335 ABSL_ATTRIBUTE_LIFETIME_BOUND {
336 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
338
339 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
340 return GetDescriptor();
341 }
342 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
343 return default_instance().GetMetadata().descriptor;
344 }
345 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
346 return default_instance().GetMetadata().reflection;
347 }
349 return *reinterpret_cast<const SequenceVarAssignment*>(
352 static constexpr int kIndexInFileMessages = 2;
353 friend void swap(SequenceVarAssignment& a, SequenceVarAssignment& b) { a.Swap(&b); }
354 inline void Swap(SequenceVarAssignment* PROTOBUF_NONNULL other) {
355 if (other == this) return;
356 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
357 InternalSwap(other);
358 } else {
359 ::google::protobuf::internal::GenericSwap(this, other);
360 }
361 }
362 void UnsafeArenaSwap(SequenceVarAssignment* PROTOBUF_NONNULL other) {
363 if (other == this) return;
364 ABSL_DCHECK(GetArena() == other->GetArena());
365 InternalSwap(other);
366 }
367
368 // implements Message ----------------------------------------------
369
370 SequenceVarAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
371 return ::google::protobuf::Message::DefaultConstruct<SequenceVarAssignment>(arena);
372 }
373 using ::google::protobuf::Message::CopyFrom;
374 void CopyFrom(const SequenceVarAssignment& from);
375 using ::google::protobuf::Message::MergeFrom;
376 void MergeFrom(const SequenceVarAssignment& from) { SequenceVarAssignment::MergeImpl(*this, from); }
377
378 private:
379 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
380 const ::google::protobuf::MessageLite& from_msg);
381
382 public:
383 bool IsInitialized() const {
384 return true;
385 }
386 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
387 #if defined(PROTOBUF_CUSTOM_VTABLE)
388 private:
389 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
390 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
391 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
392 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
393
394 public:
395 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
396 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
397 ::uint8_t* PROTOBUF_NONNULL target,
398 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
399 return _InternalSerialize(*this, target, stream);
400 }
401 #else // PROTOBUF_CUSTOM_VTABLE
402 ::size_t ByteSizeLong() const final;
403 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
404 ::uint8_t* PROTOBUF_NONNULL target,
405 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
406 #endif // PROTOBUF_CUSTOM_VTABLE
407 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
408
409 private:
410 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
411 static void SharedDtor(MessageLite& self);
412 void InternalSwap(SequenceVarAssignment* PROTOBUF_NONNULL other);
413 private:
414 template <typename T>
415 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
416 static ::absl::string_view FullMessageName() { return "operations_research.SequenceVarAssignment"; }
417
418 protected:
419 explicit SequenceVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
420 SequenceVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SequenceVarAssignment& from);
422 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SequenceVarAssignment&& from) noexcept
423 : SequenceVarAssignment(arena) {
424 *this = ::std::move(from);
425 }
426 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
427 static void* PROTOBUF_NONNULL PlacementNew_(
428 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
429 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
430 static constexpr auto InternalNewImpl_();
431
432 public:
433 static constexpr auto InternalGenerateClassData_();
434
435 ::google::protobuf::Metadata GetMetadata() const;
436 // nested types ----------------------------------------------------
437
438 // accessors -------------------------------------------------------
439 enum : int {
440 kForwardSequenceFieldNumber = 2,
441 kBackwardSequenceFieldNumber = 3,
442 kUnperformedFieldNumber = 4,
445 };
446 // repeated int32 forward_sequence = 2;
448 private:
449 int _internal_forward_sequence_size() const;
450
451 public:
453 ::int32_t forward_sequence(int index) const;
454 void set_forward_sequence(int index, ::int32_t value);
455 void add_forward_sequence(::int32_t value);
456 const ::google::protobuf::RepeatedField<::int32_t>& forward_sequence() const;
457 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_forward_sequence();
458
459 private:
460 const ::google::protobuf::RepeatedField<::int32_t>& _internal_forward_sequence() const;
461 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_forward_sequence();
462
463 public:
464 // repeated int32 backward_sequence = 3;
465 int backward_sequence_size() const;
466 private:
467 int _internal_backward_sequence_size() const;
468
469 public:
471 ::int32_t backward_sequence(int index) const;
472 void set_backward_sequence(int index, ::int32_t value);
473 void add_backward_sequence(::int32_t value);
474 const ::google::protobuf::RepeatedField<::int32_t>& backward_sequence() const;
475 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_backward_sequence();
476
477 private:
478 const ::google::protobuf::RepeatedField<::int32_t>& _internal_backward_sequence() const;
479 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_backward_sequence();
480
481 public:
482 // repeated int32 unperformed = 4;
483 int unperformed_size() const;
484 private:
485 int _internal_unperformed_size() const;
486
487 public:
488 void clear_unperformed() ;
489 ::int32_t unperformed(int index) const;
490 void set_unperformed(int index, ::int32_t value);
491 void add_unperformed(::int32_t value);
492 const ::google::protobuf::RepeatedField<::int32_t>& unperformed() const;
493 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_unperformed();
494
495 private:
496 const ::google::protobuf::RepeatedField<::int32_t>& _internal_unperformed() const;
497 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_unperformed();
498
499 public:
500 // string var_id = 1;
501 void clear_var_id() ;
502 const ::std::string& var_id() const;
503 template <typename Arg_ = const ::std::string&, typename... Args_>
504 void set_var_id(Arg_&& arg, Args_... args);
505 ::std::string* PROTOBUF_NONNULL mutable_var_id();
506 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_var_id();
507 void set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value);
508
509 private:
510 const ::std::string& _internal_var_id() const;
511 PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const ::std::string& value);
512 ::std::string* PROTOBUF_NONNULL _internal_mutable_var_id();
513
514 public:
515 // bool active = 5;
516 void clear_active() ;
517 bool active() const;
518 void set_active(bool value);
519
520 private:
521 bool _internal_active() const;
522 void _internal_set_active(bool value);
523
524 public:
525 // @@protoc_insertion_point(class_scope:operations_research.SequenceVarAssignment)
526 private:
527 class _Internal;
528 friend class ::google::protobuf::internal::TcParser;
529 static const ::google::protobuf::internal::TcParseTable<3, 5,
530 0, 56,
531 2>
532 _table_;
533
534 friend class ::google::protobuf::MessageLite;
535 friend class ::google::protobuf::Arena;
536 template <typename T>
537 friend class ::google::protobuf::Arena::InternalHelper;
538 using InternalArenaConstructable_ = void;
539 using DestructorSkippable_ = void;
540 struct Impl_ {
541 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
542 inline explicit Impl_(
543 ::google::protobuf::internal::InternalVisibility visibility,
544 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
545 inline explicit Impl_(
546 ::google::protobuf::internal::InternalVisibility visibility,
547 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
548 const SequenceVarAssignment& from_msg);
549 ::google::protobuf::internal::HasBits<1> _has_bits_;
550 ::google::protobuf::internal::CachedSize _cached_size_;
551 ::google::protobuf::RepeatedField<::int32_t> forward_sequence_;
552 ::google::protobuf::internal::CachedSize _forward_sequence_cached_byte_size_;
553 ::google::protobuf::RepeatedField<::int32_t> backward_sequence_;
554 ::google::protobuf::internal::CachedSize _backward_sequence_cached_byte_size_;
555 ::google::protobuf::RepeatedField<::int32_t> unperformed_;
556 ::google::protobuf::internal::CachedSize _unperformed_cached_byte_size_;
557 ::google::protobuf::internal::ArenaStringPtr var_id_;
558 bool active_;
559 PROTOBUF_TSAN_DECLARE_MEMBER
560 };
561 union { Impl_ _impl_; };
562 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
563};
565OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SequenceVarAssignment_class_data_;
566// -------------------------------------------------------------------
567
568class OR_PROTO_DLL IntervalVarAssignment final : public ::google::protobuf::Message
569/* @@protoc_insertion_point(class_definition:operations_research.IntervalVarAssignment) */ {
570 public:
571 inline IntervalVarAssignment() : IntervalVarAssignment(nullptr) {}
572 ~IntervalVarAssignment() PROTOBUF_FINAL;
573
574#if defined(PROTOBUF_CUSTOM_VTABLE)
575 void operator delete(IntervalVarAssignment* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
576 SharedDtor(*msg);
577 ::google::protobuf::internal::SizedDelete(msg, sizeof(IntervalVarAssignment));
578 }
579#endif
580
581 template <typename = void>
582 explicit PROTOBUF_CONSTEXPR IntervalVarAssignment(::google::protobuf::internal::ConstantInitialized);
583
584 inline IntervalVarAssignment(const IntervalVarAssignment& from) : IntervalVarAssignment(nullptr, from) {}
585 inline IntervalVarAssignment(IntervalVarAssignment&& from) noexcept
586 : IntervalVarAssignment(nullptr, ::std::move(from)) {}
587 inline IntervalVarAssignment& operator=(const IntervalVarAssignment& from) {
588 CopyFrom(from);
589 return *this;
590 }
592 if (this == &from) return *this;
593 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
594 InternalSwap(&from);
595 } else {
596 CopyFrom(from);
597 }
598 return *this;
599 }
600
601 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
602 ABSL_ATTRIBUTE_LIFETIME_BOUND {
603 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
604 }
605 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
606 ABSL_ATTRIBUTE_LIFETIME_BOUND {
607 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
608 }
610 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
611 return GetDescriptor();
612 }
613 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
614 return default_instance().GetMetadata().descriptor;
615 }
616 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
617 return default_instance().GetMetadata().reflection;
618 }
619 static const IntervalVarAssignment& default_instance() {
620 return *reinterpret_cast<const IntervalVarAssignment*>(
622 }
623 static constexpr int kIndexInFileMessages = 1;
624 friend void swap(IntervalVarAssignment& a, IntervalVarAssignment& b) { a.Swap(&b); }
625 inline void Swap(IntervalVarAssignment* PROTOBUF_NONNULL other) {
626 if (other == this) return;
627 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
628 InternalSwap(other);
629 } else {
630 ::google::protobuf::internal::GenericSwap(this, other);
631 }
632 }
633 void UnsafeArenaSwap(IntervalVarAssignment* PROTOBUF_NONNULL other) {
634 if (other == this) return;
635 ABSL_DCHECK(GetArena() == other->GetArena());
636 InternalSwap(other);
638
639 // implements Message ----------------------------------------------
640
641 IntervalVarAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
642 return ::google::protobuf::Message::DefaultConstruct<IntervalVarAssignment>(arena);
643 }
644 using ::google::protobuf::Message::CopyFrom;
646 using ::google::protobuf::Message::MergeFrom;
647 void MergeFrom(const IntervalVarAssignment& from) { IntervalVarAssignment::MergeImpl(*this, from); }
648
649 private:
650 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
651 const ::google::protobuf::MessageLite& from_msg);
652
653 public:
654 bool IsInitialized() const {
655 return true;
656 }
657 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
658 #if defined(PROTOBUF_CUSTOM_VTABLE)
659 private:
660 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
661 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
662 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
663 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
664
665 public:
666 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
667 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
668 ::uint8_t* PROTOBUF_NONNULL target,
669 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
670 return _InternalSerialize(*this, target, stream);
671 }
672 #else // PROTOBUF_CUSTOM_VTABLE
673 ::size_t ByteSizeLong() const final;
674 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
675 ::uint8_t* PROTOBUF_NONNULL target,
676 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
677 #endif // PROTOBUF_CUSTOM_VTABLE
678 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
679
680 private:
681 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
682 static void SharedDtor(MessageLite& self);
683 void InternalSwap(IntervalVarAssignment* PROTOBUF_NONNULL other);
684 private:
685 template <typename T>
686 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
687 static ::absl::string_view FullMessageName() { return "operations_research.IntervalVarAssignment"; }
688
689 protected:
690 explicit IntervalVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
691 IntervalVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IntervalVarAssignment& from);
693 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntervalVarAssignment&& from) noexcept
694 : IntervalVarAssignment(arena) {
695 *this = ::std::move(from);
697 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
698 static void* PROTOBUF_NONNULL PlacementNew_(
699 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
700 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
701 static constexpr auto InternalNewImpl_();
702
703 public:
704 static constexpr auto InternalGenerateClassData_();
705
706 ::google::protobuf::Metadata GetMetadata() const;
707 // nested types ----------------------------------------------------
708
709 // accessors -------------------------------------------------------
710 enum : int {
711 kVarIdFieldNumber = 1,
712 kStartMinFieldNumber = 2,
713 kStartMaxFieldNumber = 3,
714 kDurationMinFieldNumber = 4,
721 };
722 // string var_id = 1;
724 const ::std::string& var_id() const;
725 template <typename Arg_ = const ::std::string&, typename... Args_>
726 void set_var_id(Arg_&& arg, Args_... args);
727 ::std::string* PROTOBUF_NONNULL mutable_var_id();
728 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_var_id();
729 void set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value);
731 private:
732 const ::std::string& _internal_var_id() const;
733 PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const ::std::string& value);
734 ::std::string* PROTOBUF_NONNULL _internal_mutable_var_id();
735
736 public:
737 // int64 start_min = 2;
738 void clear_start_min() ;
739 ::int64_t start_min() const;
740 void set_start_min(::int64_t value);
741
742 private:
743 ::int64_t _internal_start_min() const;
744 void _internal_set_start_min(::int64_t value);
745
746 public:
747 // int64 start_max = 3;
748 void clear_start_max() ;
749 ::int64_t start_max() const;
750 void set_start_max(::int64_t value);
751
752 private:
753 ::int64_t _internal_start_max() const;
754 void _internal_set_start_max(::int64_t value);
755
756 public:
757 // int64 duration_min = 4;
758 void clear_duration_min() ;
759 ::int64_t duration_min() const;
760 void set_duration_min(::int64_t value);
761
762 private:
763 ::int64_t _internal_duration_min() const;
764 void _internal_set_duration_min(::int64_t value);
765
766 public:
767 // int64 duration_max = 5;
768 void clear_duration_max() ;
769 ::int64_t duration_max() const;
770 void set_duration_max(::int64_t value);
771
772 private:
773 ::int64_t _internal_duration_max() const;
774 void _internal_set_duration_max(::int64_t value);
775
776 public:
777 // int64 end_min = 6;
778 void clear_end_min() ;
779 ::int64_t end_min() const;
780 void set_end_min(::int64_t value);
781
782 private:
783 ::int64_t _internal_end_min() const;
784 void _internal_set_end_min(::int64_t value);
785
786 public:
787 // int64 end_max = 7;
788 void clear_end_max() ;
789 ::int64_t end_max() const;
790 void set_end_max(::int64_t value);
791
792 private:
793 ::int64_t _internal_end_max() const;
794 void _internal_set_end_max(::int64_t value);
795
796 public:
797 // int64 performed_min = 8;
798 void clear_performed_min() ;
799 ::int64_t performed_min() const;
800 void set_performed_min(::int64_t value);
801
802 private:
803 ::int64_t _internal_performed_min() const;
804 void _internal_set_performed_min(::int64_t value);
805
806 public:
807 // int64 performed_max = 9;
808 void clear_performed_max() ;
809 ::int64_t performed_max() const;
810 void set_performed_max(::int64_t value);
811
812 private:
813 ::int64_t _internal_performed_max() const;
814 void _internal_set_performed_max(::int64_t value);
815
816 public:
817 // bool active = 10;
818 void clear_active() ;
819 bool active() const;
820 void set_active(bool value);
821
822 private:
823 bool _internal_active() const;
824 void _internal_set_active(bool value);
825
826 public:
827 // @@protoc_insertion_point(class_scope:operations_research.IntervalVarAssignment)
828 private:
829 class _Internal;
830 friend class ::google::protobuf::internal::TcParser;
831 static const ::google::protobuf::internal::TcParseTable<4, 10,
832 0, 64,
833 2>
834 _table_;
835
836 friend class ::google::protobuf::MessageLite;
837 friend class ::google::protobuf::Arena;
838 template <typename T>
839 friend class ::google::protobuf::Arena::InternalHelper;
840 using InternalArenaConstructable_ = void;
841 using DestructorSkippable_ = void;
842 struct Impl_ {
843 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
844 inline explicit Impl_(
845 ::google::protobuf::internal::InternalVisibility visibility,
846 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
847 inline explicit Impl_(
848 ::google::protobuf::internal::InternalVisibility visibility,
849 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
850 const IntervalVarAssignment& from_msg);
851 ::google::protobuf::internal::HasBits<1> _has_bits_;
852 ::google::protobuf::internal::CachedSize _cached_size_;
853 ::google::protobuf::internal::ArenaStringPtr var_id_;
854 ::int64_t start_min_;
855 ::int64_t start_max_;
856 ::int64_t duration_min_;
857 ::int64_t duration_max_;
858 ::int64_t end_min_;
859 ::int64_t end_max_;
860 ::int64_t performed_min_;
861 ::int64_t performed_max_;
862 bool active_;
863 PROTOBUF_TSAN_DECLARE_MEMBER
864 };
865 union { Impl_ _impl_; };
866 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
867};
868
869OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IntervalVarAssignment_class_data_;
870// -------------------------------------------------------------------
871
872class OR_PROTO_DLL IntVarAssignment final : public ::google::protobuf::Message
873/* @@protoc_insertion_point(class_definition:operations_research.IntVarAssignment) */ {
874 public:
875 inline IntVarAssignment() : IntVarAssignment(nullptr) {}
876 ~IntVarAssignment() PROTOBUF_FINAL;
878#if defined(PROTOBUF_CUSTOM_VTABLE)
879 void operator delete(IntVarAssignment* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
880 SharedDtor(*msg);
881 ::google::protobuf::internal::SizedDelete(msg, sizeof(IntVarAssignment));
882 }
883#endif
884
885 template <typename = void>
886 explicit PROTOBUF_CONSTEXPR IntVarAssignment(::google::protobuf::internal::ConstantInitialized);
887
888 inline IntVarAssignment(const IntVarAssignment& from) : IntVarAssignment(nullptr, from) {}
889 inline IntVarAssignment(IntVarAssignment&& from) noexcept
890 : IntVarAssignment(nullptr, ::std::move(from)) {}
892 CopyFrom(from);
893 return *this;
895 inline IntVarAssignment& operator=(IntVarAssignment&& from) noexcept {
896 if (this == &from) return *this;
897 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
898 InternalSwap(&from);
899 } else {
900 CopyFrom(from);
901 }
902 return *this;
903 }
904
905 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
906 ABSL_ATTRIBUTE_LIFETIME_BOUND {
907 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
908 }
909 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
910 ABSL_ATTRIBUTE_LIFETIME_BOUND {
911 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
912 }
913
914 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
915 return GetDescriptor();
916 }
917 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
918 return default_instance().GetMetadata().descriptor;
920 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
921 return default_instance().GetMetadata().reflection;
923 static const IntVarAssignment& default_instance() {
924 return *reinterpret_cast<const IntVarAssignment*>(
926 }
927 static constexpr int kIndexInFileMessages = 0;
928 friend void swap(IntVarAssignment& a, IntVarAssignment& b) { a.Swap(&b); }
929 inline void Swap(IntVarAssignment* PROTOBUF_NONNULL other) {
930 if (other == this) return;
931 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
932 InternalSwap(other);
933 } else {
934 ::google::protobuf::internal::GenericSwap(this, other);
935 }
936 }
937 void UnsafeArenaSwap(IntVarAssignment* PROTOBUF_NONNULL other) {
938 if (other == this) return;
939 ABSL_DCHECK(GetArena() == other->GetArena());
940 InternalSwap(other);
941 }
943 // implements Message ----------------------------------------------
944
945 IntVarAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
946 return ::google::protobuf::Message::DefaultConstruct<IntVarAssignment>(arena);
947 }
948 using ::google::protobuf::Message::CopyFrom;
949 void CopyFrom(const IntVarAssignment& from);
950 using ::google::protobuf::Message::MergeFrom;
951 void MergeFrom(const IntVarAssignment& from) { IntVarAssignment::MergeImpl(*this, from); }
952
953 private:
954 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
955 const ::google::protobuf::MessageLite& from_msg);
957 public:
958 bool IsInitialized() const {
959 return true;
960 }
961 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
962 #if defined(PROTOBUF_CUSTOM_VTABLE)
963 private:
964 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
965 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
966 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
967 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
968
969 public:
970 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
971 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
972 ::uint8_t* PROTOBUF_NONNULL target,
973 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
974 return _InternalSerialize(*this, target, stream);
975 }
976 #else // PROTOBUF_CUSTOM_VTABLE
977 ::size_t ByteSizeLong() const final;
978 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
979 ::uint8_t* PROTOBUF_NONNULL target,
980 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
981 #endif // PROTOBUF_CUSTOM_VTABLE
982 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
983
984 private:
985 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
986 static void SharedDtor(MessageLite& self);
987 void InternalSwap(IntVarAssignment* PROTOBUF_NONNULL other);
988 private:
989 template <typename T>
990 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
991 static ::absl::string_view FullMessageName() { return "operations_research.IntVarAssignment"; }
992
993 protected:
994 explicit IntVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
995 IntVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IntVarAssignment& from);
997 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntVarAssignment&& from) noexcept
998 : IntVarAssignment(arena) {
999 *this = ::std::move(from);
1000 }
1001 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1002 static void* PROTOBUF_NONNULL PlacementNew_(
1003 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1004 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1005 static constexpr auto InternalNewImpl_();
1006
1007 public:
1008 static constexpr auto InternalGenerateClassData_();
1009
1010 ::google::protobuf::Metadata GetMetadata() const;
1011 // nested types ----------------------------------------------------
1012
1013 // accessors -------------------------------------------------------
1014 enum : int {
1016 kMinFieldNumber = 2,
1017 kMaxFieldNumber = 3,
1019 };
1020 // string var_id = 1;
1022 const ::std::string& var_id() const;
1023 template <typename Arg_ = const ::std::string&, typename... Args_>
1024 void set_var_id(Arg_&& arg, Args_... args);
1025 ::std::string* PROTOBUF_NONNULL mutable_var_id();
1026 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_var_id();
1027 void set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value);
1028
1029 private:
1030 const ::std::string& _internal_var_id() const;
1031 PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const ::std::string& value);
1032 ::std::string* PROTOBUF_NONNULL _internal_mutable_var_id();
1033
1034 public:
1035 // int64 min = 2;
1036 void clear_min() ;
1037 ::int64_t min() const;
1038 void set_min(::int64_t value);
1039
1040 private:
1041 ::int64_t _internal_min() const;
1042 void _internal_set_min(::int64_t value);
1043
1044 public:
1045 // int64 max = 3;
1046 void clear_max() ;
1047 ::int64_t max() const;
1048 void set_max(::int64_t value);
1049
1050 private:
1051 ::int64_t _internal_max() const;
1052 void _internal_set_max(::int64_t value);
1053
1054 public:
1055 // bool active = 4;
1056 void clear_active() ;
1057 bool active() const;
1058 void set_active(bool value);
1059
1060 private:
1061 bool _internal_active() const;
1062 void _internal_set_active(bool value);
1063
1064 public:
1065 // @@protoc_insertion_point(class_scope:operations_research.IntVarAssignment)
1066 private:
1067 class _Internal;
1068 friend class ::google::protobuf::internal::TcParser;
1069 static const ::google::protobuf::internal::TcParseTable<2, 4,
1070 0, 51,
1071 2>
1072 _table_;
1074 friend class ::google::protobuf::MessageLite;
1075 friend class ::google::protobuf::Arena;
1076 template <typename T>
1077 friend class ::google::protobuf::Arena::InternalHelper;
1078 using InternalArenaConstructable_ = void;
1079 using DestructorSkippable_ = void;
1080 struct Impl_ {
1081 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1082 inline explicit Impl_(
1083 ::google::protobuf::internal::InternalVisibility visibility,
1084 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1085 inline explicit Impl_(
1086 ::google::protobuf::internal::InternalVisibility visibility,
1087 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1088 const IntVarAssignment& from_msg);
1089 ::google::protobuf::internal::HasBits<1> _has_bits_;
1090 ::google::protobuf::internal::CachedSize _cached_size_;
1091 ::google::protobuf::internal::ArenaStringPtr var_id_;
1092 ::int64_t min_;
1093 ::int64_t max_;
1094 bool active_;
1095 PROTOBUF_TSAN_DECLARE_MEMBER
1096 };
1097 union { Impl_ _impl_; };
1098 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
1099};
1100
1101OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IntVarAssignment_class_data_;
1102// -------------------------------------------------------------------
1104class OR_PROTO_DLL AssignmentProto final : public ::google::protobuf::Message
1105/* @@protoc_insertion_point(class_definition:operations_research.AssignmentProto) */ {
1106 public:
1107 inline AssignmentProto() : AssignmentProto(nullptr) {}
1108 ~AssignmentProto() PROTOBUF_FINAL;
1109
1110#if defined(PROTOBUF_CUSTOM_VTABLE)
1111 void operator delete(AssignmentProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1112 SharedDtor(*msg);
1113 ::google::protobuf::internal::SizedDelete(msg, sizeof(AssignmentProto));
1114 }
1115#endif
1116
1117 template <typename = void>
1118 explicit PROTOBUF_CONSTEXPR AssignmentProto(::google::protobuf::internal::ConstantInitialized);
1119
1120 inline AssignmentProto(const AssignmentProto& from) : AssignmentProto(nullptr, from) {}
1121 inline AssignmentProto(AssignmentProto&& from) noexcept
1122 : AssignmentProto(nullptr, ::std::move(from)) {}
1123 inline AssignmentProto& operator=(const AssignmentProto& from) {
1125 return *this;
1127 inline AssignmentProto& operator=(AssignmentProto&& from) noexcept {
1128 if (this == &from) return *this;
1129 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1130 InternalSwap(&from);
1131 } else {
1132 CopyFrom(from);
1134 return *this;
1135 }
1136
1137 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1138 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1139 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1140 }
1141 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1142 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1143 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1144 }
1145
1146 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1148 }
1149 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1150 return default_instance().GetMetadata().descriptor;
1151 }
1152 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1153 return default_instance().GetMetadata().reflection;
1154 }
1156 return *reinterpret_cast<const AssignmentProto*>(
1159 static constexpr int kIndexInFileMessages = 4;
1160 friend void swap(AssignmentProto& a, AssignmentProto& b) { a.Swap(&b); }
1161 inline void Swap(AssignmentProto* PROTOBUF_NONNULL other) {
1162 if (other == this) return;
1163 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1164 InternalSwap(other);
1165 } else {
1166 ::google::protobuf::internal::GenericSwap(this, other);
1168 }
1169 void UnsafeArenaSwap(AssignmentProto* PROTOBUF_NONNULL other) {
1170 if (other == this) return;
1171 ABSL_DCHECK(GetArena() == other->GetArena());
1172 InternalSwap(other);
1173 }
1174
1175 // implements Message ----------------------------------------------
1176
1177 AssignmentProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1178 return ::google::protobuf::Message::DefaultConstruct<AssignmentProto>(arena);
1179 }
1180 using ::google::protobuf::Message::CopyFrom;
1181 void CopyFrom(const AssignmentProto& from);
1182 using ::google::protobuf::Message::MergeFrom;
1183 void MergeFrom(const AssignmentProto& from) { AssignmentProto::MergeImpl(*this, from); }
1184
1185 private:
1186 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1187 const ::google::protobuf::MessageLite& from_msg);
1188
1189 public:
1190 bool IsInitialized() const {
1191 return true;
1192 }
1193 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1194 #if defined(PROTOBUF_CUSTOM_VTABLE)
1195 private:
1196 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1197 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1198 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1199 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1200
1201 public:
1202 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1203 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1204 ::uint8_t* PROTOBUF_NONNULL target,
1205 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1206 return _InternalSerialize(*this, target, stream);
1207 }
1208 #else // PROTOBUF_CUSTOM_VTABLE
1209 ::size_t ByteSizeLong() const final;
1210 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1211 ::uint8_t* PROTOBUF_NONNULL target,
1212 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1213 #endif // PROTOBUF_CUSTOM_VTABLE
1214 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1215
1216 private:
1217 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1218 static void SharedDtor(MessageLite& self);
1219 void InternalSwap(AssignmentProto* PROTOBUF_NONNULL other);
1220 private:
1221 template <typename T>
1222 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1223 static ::absl::string_view FullMessageName() { return "operations_research.AssignmentProto"; }
1224
1225 protected:
1226 explicit AssignmentProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1227 AssignmentProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AssignmentProto& from);
1229 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AssignmentProto&& from) noexcept
1230 : AssignmentProto(arena) {
1231 *this = ::std::move(from);
1232 }
1233 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1234 static void* PROTOBUF_NONNULL PlacementNew_(
1235 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1236 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1237 static constexpr auto InternalNewImpl_();
1238
1239 public:
1240 static constexpr auto InternalGenerateClassData_();
1241
1242 ::google::protobuf::Metadata GetMetadata() const;
1243 // nested types ----------------------------------------------------
1244
1245 // accessors -------------------------------------------------------
1246 enum : int {
1254 // repeated .operations_research.IntVarAssignment int_var_assignment = 1;
1256 private:
1257 int _internal_int_var_assignment_size() const;
1259 public:
1262 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL mutable_int_var_assignment();
1263
1264 private:
1265 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& _internal_int_var_assignment() const;
1266 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL _internal_mutable_int_var_assignment();
1267 public:
1268 const ::operations_research::IntVarAssignment& int_var_assignment(int index) const;
1270 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& int_var_assignment() const;
1271 // repeated .operations_research.IntervalVarAssignment interval_var_assignment = 2;
1272 int interval_var_assignment_size() const;
1273 private:
1274 int _internal_interval_var_assignment_size() const;
1275
1276 public:
1279 ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL mutable_interval_var_assignment();
1280
1281 private:
1282 const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>& _internal_interval_var_assignment() const;
1283 ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL _internal_mutable_interval_var_assignment();
1284 public:
1285 const ::operations_research::IntervalVarAssignment& interval_var_assignment(int index) const;
1287 const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>& interval_var_assignment() const;
1288 // repeated .operations_research.IntVarAssignment objective = 3;
1289 int objective_size() const;
1290 private:
1291 int _internal_objective_size() const;
1292
1293 public:
1294 void clear_objective() ;
1296 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL mutable_objective();
1297
1298 private:
1299 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& _internal_objective() const;
1300 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL _internal_mutable_objective();
1301 public:
1302 const ::operations_research::IntVarAssignment& objective(int index) const;
1304 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& objective() const;
1305 // repeated .operations_research.SequenceVarAssignment sequence_var_assignment = 6;
1306 int sequence_var_assignment_size() const;
1307 private:
1308 int _internal_sequence_var_assignment_size() const;
1309
1310 public:
1313 ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL mutable_sequence_var_assignment();
1314
1315 private:
1316 const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>& _internal_sequence_var_assignment() const;
1317 ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL _internal_mutable_sequence_var_assignment();
1318 public:
1319 const ::operations_research::SequenceVarAssignment& sequence_var_assignment(int index) const;
1321 const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>& sequence_var_assignment() const;
1322 // .operations_research.WorkerInfo worker_info = 4;
1323 bool has_worker_info() const;
1324 void clear_worker_info() ;
1325 const ::operations_research::WorkerInfo& worker_info() const;
1326 [[nodiscard]] ::operations_research::WorkerInfo* PROTOBUF_NULLABLE release_worker_info();
1328 void set_allocated_worker_info(::operations_research::WorkerInfo* PROTOBUF_NULLABLE value);
1331
1332 private:
1333 const ::operations_research::WorkerInfo& _internal_worker_info() const;
1334 ::operations_research::WorkerInfo* PROTOBUF_NONNULL _internal_mutable_worker_info();
1335
1336 public:
1337 // bool is_valid = 5;
1338 void clear_is_valid() ;
1339 bool is_valid() const;
1340 void set_is_valid(bool value);
1341
1342 private:
1343 bool _internal_is_valid() const;
1344 void _internal_set_is_valid(bool value);
1345
1346 public:
1347 // @@protoc_insertion_point(class_scope:operations_research.AssignmentProto)
1348 private:
1349 class _Internal;
1350 friend class ::google::protobuf::internal::TcParser;
1351 static const ::google::protobuf::internal::TcParseTable<3, 6,
1352 5, 0,
1353 2>
1354 _table_;
1355
1356 friend class ::google::protobuf::MessageLite;
1357 friend class ::google::protobuf::Arena;
1358 template <typename T>
1359 friend class ::google::protobuf::Arena::InternalHelper;
1360 using InternalArenaConstructable_ = void;
1361 using DestructorSkippable_ = void;
1362 struct Impl_ {
1363 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1364 inline explicit Impl_(
1365 ::google::protobuf::internal::InternalVisibility visibility,
1366 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1367 inline explicit Impl_(
1368 ::google::protobuf::internal::InternalVisibility visibility,
1369 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1370 const AssignmentProto& from_msg);
1371 ::google::protobuf::internal::HasBits<1> _has_bits_;
1372 ::google::protobuf::internal::CachedSize _cached_size_;
1373 ::google::protobuf::RepeatedPtrField< ::operations_research::IntVarAssignment > int_var_assignment_;
1374 ::google::protobuf::RepeatedPtrField< ::operations_research::IntervalVarAssignment > interval_var_assignment_;
1375 ::google::protobuf::RepeatedPtrField< ::operations_research::IntVarAssignment > objective_;
1376 ::google::protobuf::RepeatedPtrField< ::operations_research::SequenceVarAssignment > sequence_var_assignment_;
1377 ::operations_research::WorkerInfo* PROTOBUF_NULLABLE worker_info_;
1378 bool is_valid_;
1379 PROTOBUF_TSAN_DECLARE_MEMBER
1380 };
1381 union { Impl_ _impl_; };
1382 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
1383};
1384
1385OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AssignmentProto_class_data_;
1386
1387// ===================================================================
1389
1390
1391
1392// ===================================================================
1393
1394
1395#ifdef __GNUC__
1396#pragma GCC diagnostic push
1397#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1398#endif // __GNUC__
1399// -------------------------------------------------------------------
1400
1401// IntVarAssignment
1402
1403// string var_id = 1;
1404inline void IntVarAssignment::clear_var_id() {
1405 ::google::protobuf::internal::TSanWrite(&_impl_);
1406 _impl_.var_id_.ClearToEmpty();
1407 _impl_._has_bits_[0] &= ~0x00000001u;
1408}
1409inline const ::std::string& IntVarAssignment::var_id() const
1410 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1411 // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.var_id)
1412 return _internal_var_id();
1414template <typename Arg_, typename... Args_>
1415PROTOBUF_ALWAYS_INLINE void IntVarAssignment::set_var_id(Arg_&& arg, Args_... args) {
1416 ::google::protobuf::internal::TSanWrite(&_impl_);
1417 _impl_._has_bits_[0] |= 0x00000001u;
1418 _impl_.var_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1419 // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.var_id)
1420}
1421inline ::std::string* PROTOBUF_NONNULL IntVarAssignment::mutable_var_id()
1422 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1423 ::std::string* _s = _internal_mutable_var_id();
1424 // @@protoc_insertion_point(field_mutable:operations_research.IntVarAssignment.var_id)
1425 return _s;
1426}
1427inline const ::std::string& IntVarAssignment::_internal_var_id() const {
1428 ::google::protobuf::internal::TSanRead(&_impl_);
1429 return _impl_.var_id_.Get();
1431inline void IntVarAssignment::_internal_set_var_id(const ::std::string& value) {
1432 ::google::protobuf::internal::TSanWrite(&_impl_);
1433 _impl_._has_bits_[0] |= 0x00000001u;
1434 _impl_.var_id_.Set(value, GetArena());
1435}
1436inline ::std::string* PROTOBUF_NONNULL IntVarAssignment::_internal_mutable_var_id() {
1437 ::google::protobuf::internal::TSanWrite(&_impl_);
1438 _impl_._has_bits_[0] |= 0x00000001u;
1439 return _impl_.var_id_.Mutable( GetArena());
1440}
1441inline ::std::string* PROTOBUF_NULLABLE IntVarAssignment::release_var_id() {
1442 ::google::protobuf::internal::TSanWrite(&_impl_);
1443 // @@protoc_insertion_point(field_release:operations_research.IntVarAssignment.var_id)
1444 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1445 return nullptr;
1446 }
1447 _impl_._has_bits_[0] &= ~0x00000001u;
1448 auto* released = _impl_.var_id_.Release();
1449 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1450 _impl_.var_id_.Set("", GetArena());
1451 }
1452 return released;
1453}
1454inline void IntVarAssignment::set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value) {
1455 ::google::protobuf::internal::TSanWrite(&_impl_);
1456 if (value != nullptr) {
1457 _impl_._has_bits_[0] |= 0x00000001u;
1458 } else {
1459 _impl_._has_bits_[0] &= ~0x00000001u;
1460 }
1461 _impl_.var_id_.SetAllocated(value, GetArena());
1462 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.var_id_.IsDefault()) {
1463 _impl_.var_id_.Set("", GetArena());
1464 }
1465 // @@protoc_insertion_point(field_set_allocated:operations_research.IntVarAssignment.var_id)
1466}
1467
1468// int64 min = 2;
1469inline void IntVarAssignment::clear_min() {
1470 ::google::protobuf::internal::TSanWrite(&_impl_);
1471 _impl_.min_ = ::int64_t{0};
1472 _impl_._has_bits_[0] &= ~0x00000002u;
1473}
1474inline ::int64_t IntVarAssignment::min() const {
1475 // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.min)
1476 return _internal_min();
1477}
1478inline void IntVarAssignment::set_min(::int64_t value) {
1479 _internal_set_min(value);
1480 _impl_._has_bits_[0] |= 0x00000002u;
1481 // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.min)
1482}
1483inline ::int64_t IntVarAssignment::_internal_min() const {
1484 ::google::protobuf::internal::TSanRead(&_impl_);
1485 return _impl_.min_;
1486}
1487inline void IntVarAssignment::_internal_set_min(::int64_t value) {
1488 ::google::protobuf::internal::TSanWrite(&_impl_);
1489 _impl_.min_ = value;
1490}
1491
1492// int64 max = 3;
1493inline void IntVarAssignment::clear_max() {
1494 ::google::protobuf::internal::TSanWrite(&_impl_);
1495 _impl_.max_ = ::int64_t{0};
1496 _impl_._has_bits_[0] &= ~0x00000004u;
1497}
1498inline ::int64_t IntVarAssignment::max() const {
1499 // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.max)
1500 return _internal_max();
1501}
1502inline void IntVarAssignment::set_max(::int64_t value) {
1503 _internal_set_max(value);
1504 _impl_._has_bits_[0] |= 0x00000004u;
1505 // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.max)
1506}
1507inline ::int64_t IntVarAssignment::_internal_max() const {
1508 ::google::protobuf::internal::TSanRead(&_impl_);
1509 return _impl_.max_;
1510}
1511inline void IntVarAssignment::_internal_set_max(::int64_t value) {
1512 ::google::protobuf::internal::TSanWrite(&_impl_);
1513 _impl_.max_ = value;
1514}
1515
1516// bool active = 4;
1517inline void IntVarAssignment::clear_active() {
1518 ::google::protobuf::internal::TSanWrite(&_impl_);
1519 _impl_.active_ = false;
1520 _impl_._has_bits_[0] &= ~0x00000008u;
1521}
1522inline bool IntVarAssignment::active() const {
1523 // @@protoc_insertion_point(field_get:operations_research.IntVarAssignment.active)
1524 return _internal_active();
1525}
1526inline void IntVarAssignment::set_active(bool value) {
1527 _internal_set_active(value);
1528 _impl_._has_bits_[0] |= 0x00000008u;
1529 // @@protoc_insertion_point(field_set:operations_research.IntVarAssignment.active)
1530}
1531inline bool IntVarAssignment::_internal_active() const {
1532 ::google::protobuf::internal::TSanRead(&_impl_);
1533 return _impl_.active_;
1534}
1535inline void IntVarAssignment::_internal_set_active(bool value) {
1536 ::google::protobuf::internal::TSanWrite(&_impl_);
1537 _impl_.active_ = value;
1538}
1539
1540// -------------------------------------------------------------------
1541
1542// IntervalVarAssignment
1543
1544// string var_id = 1;
1546 ::google::protobuf::internal::TSanWrite(&_impl_);
1547 _impl_.var_id_.ClearToEmpty();
1548 _impl_._has_bits_[0] &= ~0x00000001u;
1549}
1550inline const ::std::string& IntervalVarAssignment::var_id() const
1551 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1552 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.var_id)
1553 return _internal_var_id();
1554}
1555template <typename Arg_, typename... Args_>
1556PROTOBUF_ALWAYS_INLINE void IntervalVarAssignment::set_var_id(Arg_&& arg, Args_... args) {
1557 ::google::protobuf::internal::TSanWrite(&_impl_);
1558 _impl_._has_bits_[0] |= 0x00000001u;
1559 _impl_.var_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1560 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.var_id)
1561}
1562inline ::std::string* PROTOBUF_NONNULL IntervalVarAssignment::mutable_var_id()
1563 ABSL_ATTRIBUTE_LIFETIME_BOUND {
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();
1571}
1572inline void IntervalVarAssignment::_internal_set_var_id(const ::std::string& value) {
1573 ::google::protobuf::internal::TSanWrite(&_impl_);
1574 _impl_._has_bits_[0] |= 0x00000001u;
1575 _impl_.var_id_.Set(value, GetArena());
1576}
1577inline ::std::string* PROTOBUF_NONNULL IntervalVarAssignment::_internal_mutable_var_id() {
1578 ::google::protobuf::internal::TSanWrite(&_impl_);
1579 _impl_._has_bits_[0] |= 0x00000001u;
1580 return _impl_.var_id_.Mutable( GetArena());
1581}
1582inline ::std::string* PROTOBUF_NULLABLE IntervalVarAssignment::release_var_id() {
1583 ::google::protobuf::internal::TSanWrite(&_impl_);
1584 // @@protoc_insertion_point(field_release:operations_research.IntervalVarAssignment.var_id)
1585 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1586 return nullptr;
1587 }
1588 _impl_._has_bits_[0] &= ~0x00000001u;
1589 auto* released = _impl_.var_id_.Release();
1590 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1591 _impl_.var_id_.Set("", GetArena());
1593 return released;
1594}
1595inline void IntervalVarAssignment::set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value) {
1596 ::google::protobuf::internal::TSanWrite(&_impl_);
1597 if (value != nullptr) {
1598 _impl_._has_bits_[0] |= 0x00000001u;
1599 } else {
1600 _impl_._has_bits_[0] &= ~0x00000001u;
1601 }
1602 _impl_.var_id_.SetAllocated(value, GetArena());
1603 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.var_id_.IsDefault()) {
1604 _impl_.var_id_.Set("", GetArena());
1606 // @@protoc_insertion_point(field_set_allocated:operations_research.IntervalVarAssignment.var_id)
1607}
1608
1609// int64 start_min = 2;
1611 ::google::protobuf::internal::TSanWrite(&_impl_);
1612 _impl_.start_min_ = ::int64_t{0};
1613 _impl_._has_bits_[0] &= ~0x00000002u;
1614}
1615inline ::int64_t IntervalVarAssignment::start_min() const {
1616 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.start_min)
1617 return _internal_start_min();
1618}
1619inline void IntervalVarAssignment::set_start_min(::int64_t value) {
1620 _internal_set_start_min(value);
1621 _impl_._has_bits_[0] |= 0x00000002u;
1622 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.start_min)
1623}
1624inline ::int64_t IntervalVarAssignment::_internal_start_min() const {
1625 ::google::protobuf::internal::TSanRead(&_impl_);
1626 return _impl_.start_min_;
1627}
1628inline void IntervalVarAssignment::_internal_set_start_min(::int64_t value) {
1629 ::google::protobuf::internal::TSanWrite(&_impl_);
1630 _impl_.start_min_ = value;
1631}
1632
1633// int64 start_max = 3;
1635 ::google::protobuf::internal::TSanWrite(&_impl_);
1636 _impl_.start_max_ = ::int64_t{0};
1637 _impl_._has_bits_[0] &= ~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 _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 _impl_._has_bits_[0] &= ~0x00000008u;
1662}
1663inline ::int64_t IntervalVarAssignment::duration_min() const {
1664 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.duration_min)
1665 return _internal_duration_min();
1666}
1667inline void IntervalVarAssignment::set_duration_min(::int64_t value) {
1668 _internal_set_duration_min(value);
1669 _impl_._has_bits_[0] |= 0x00000008u;
1670 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.duration_min)
1671}
1672inline ::int64_t IntervalVarAssignment::_internal_duration_min() const {
1673 ::google::protobuf::internal::TSanRead(&_impl_);
1674 return _impl_.duration_min_;
1675}
1676inline void IntervalVarAssignment::_internal_set_duration_min(::int64_t value) {
1677 ::google::protobuf::internal::TSanWrite(&_impl_);
1678 _impl_.duration_min_ = value;
1679}
1680
1681// int64 duration_max = 5;
1683 ::google::protobuf::internal::TSanWrite(&_impl_);
1684 _impl_.duration_max_ = ::int64_t{0};
1685 _impl_._has_bits_[0] &= ~0x00000010u;
1686}
1687inline ::int64_t IntervalVarAssignment::duration_max() const {
1688 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.duration_max)
1689 return _internal_duration_max();
1690}
1691inline void IntervalVarAssignment::set_duration_max(::int64_t value) {
1692 _internal_set_duration_max(value);
1693 _impl_._has_bits_[0] |= 0x00000010u;
1694 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.duration_max)
1695}
1696inline ::int64_t IntervalVarAssignment::_internal_duration_max() const {
1697 ::google::protobuf::internal::TSanRead(&_impl_);
1698 return _impl_.duration_max_;
1699}
1700inline void IntervalVarAssignment::_internal_set_duration_max(::int64_t value) {
1701 ::google::protobuf::internal::TSanWrite(&_impl_);
1702 _impl_.duration_max_ = value;
1703}
1704
1705// int64 end_min = 6;
1707 ::google::protobuf::internal::TSanWrite(&_impl_);
1708 _impl_.end_min_ = ::int64_t{0};
1709 _impl_._has_bits_[0] &= ~0x00000020u;
1710}
1711inline ::int64_t IntervalVarAssignment::end_min() const {
1712 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.end_min)
1713 return _internal_end_min();
1714}
1715inline void IntervalVarAssignment::set_end_min(::int64_t value) {
1716 _internal_set_end_min(value);
1717 _impl_._has_bits_[0] |= 0x00000020u;
1718 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.end_min)
1719}
1720inline ::int64_t IntervalVarAssignment::_internal_end_min() const {
1721 ::google::protobuf::internal::TSanRead(&_impl_);
1722 return _impl_.end_min_;
1723}
1724inline void IntervalVarAssignment::_internal_set_end_min(::int64_t value) {
1725 ::google::protobuf::internal::TSanWrite(&_impl_);
1726 _impl_.end_min_ = value;
1727}
1728
1729// int64 end_max = 7;
1731 ::google::protobuf::internal::TSanWrite(&_impl_);
1732 _impl_.end_max_ = ::int64_t{0};
1733 _impl_._has_bits_[0] &= ~0x00000040u;
1734}
1735inline ::int64_t IntervalVarAssignment::end_max() const {
1736 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.end_max)
1737 return _internal_end_max();
1738}
1739inline void IntervalVarAssignment::set_end_max(::int64_t value) {
1740 _internal_set_end_max(value);
1741 _impl_._has_bits_[0] |= 0x00000040u;
1742 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.end_max)
1743}
1744inline ::int64_t IntervalVarAssignment::_internal_end_max() const {
1745 ::google::protobuf::internal::TSanRead(&_impl_);
1746 return _impl_.end_max_;
1747}
1748inline void IntervalVarAssignment::_internal_set_end_max(::int64_t value) {
1749 ::google::protobuf::internal::TSanWrite(&_impl_);
1750 _impl_.end_max_ = value;
1751}
1752
1753// int64 performed_min = 8;
1755 ::google::protobuf::internal::TSanWrite(&_impl_);
1756 _impl_.performed_min_ = ::int64_t{0};
1757 _impl_._has_bits_[0] &= ~0x00000080u;
1758}
1759inline ::int64_t IntervalVarAssignment::performed_min() const {
1760 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.performed_min)
1761 return _internal_performed_min();
1762}
1763inline void IntervalVarAssignment::set_performed_min(::int64_t value) {
1764 _internal_set_performed_min(value);
1765 _impl_._has_bits_[0] |= 0x00000080u;
1766 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.performed_min)
1767}
1768inline ::int64_t IntervalVarAssignment::_internal_performed_min() const {
1769 ::google::protobuf::internal::TSanRead(&_impl_);
1770 return _impl_.performed_min_;
1771}
1772inline void IntervalVarAssignment::_internal_set_performed_min(::int64_t value) {
1773 ::google::protobuf::internal::TSanWrite(&_impl_);
1774 _impl_.performed_min_ = value;
1775}
1776
1777// int64 performed_max = 9;
1779 ::google::protobuf::internal::TSanWrite(&_impl_);
1780 _impl_.performed_max_ = ::int64_t{0};
1781 _impl_._has_bits_[0] &= ~0x00000100u;
1782}
1783inline ::int64_t IntervalVarAssignment::performed_max() const {
1784 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.performed_max)
1785 return _internal_performed_max();
1786}
1787inline void IntervalVarAssignment::set_performed_max(::int64_t value) {
1788 _internal_set_performed_max(value);
1789 _impl_._has_bits_[0] |= 0x00000100u;
1790 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.performed_max)
1791}
1792inline ::int64_t IntervalVarAssignment::_internal_performed_max() const {
1793 ::google::protobuf::internal::TSanRead(&_impl_);
1794 return _impl_.performed_max_;
1795}
1796inline void IntervalVarAssignment::_internal_set_performed_max(::int64_t value) {
1797 ::google::protobuf::internal::TSanWrite(&_impl_);
1798 _impl_.performed_max_ = value;
1799}
1800
1801// bool active = 10;
1803 ::google::protobuf::internal::TSanWrite(&_impl_);
1804 _impl_.active_ = false;
1805 _impl_._has_bits_[0] &= ~0x00000200u;
1806}
1807inline bool IntervalVarAssignment::active() const {
1808 // @@protoc_insertion_point(field_get:operations_research.IntervalVarAssignment.active)
1809 return _internal_active();
1810}
1811inline void IntervalVarAssignment::set_active(bool value) {
1812 _internal_set_active(value);
1813 _impl_._has_bits_[0] |= 0x00000200u;
1814 // @@protoc_insertion_point(field_set:operations_research.IntervalVarAssignment.active)
1815}
1816inline bool IntervalVarAssignment::_internal_active() const {
1817 ::google::protobuf::internal::TSanRead(&_impl_);
1818 return _impl_.active_;
1819}
1820inline void IntervalVarAssignment::_internal_set_active(bool value) {
1821 ::google::protobuf::internal::TSanWrite(&_impl_);
1822 _impl_.active_ = value;
1823}
1824
1825// -------------------------------------------------------------------
1826
1827// SequenceVarAssignment
1828
1829// string var_id = 1;
1831 ::google::protobuf::internal::TSanWrite(&_impl_);
1832 _impl_.var_id_.ClearToEmpty();
1833 _impl_._has_bits_[0] &= ~0x00000001u;
1834}
1835inline const ::std::string& SequenceVarAssignment::var_id() const
1836 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1837 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.var_id)
1838 return _internal_var_id();
1839}
1840template <typename Arg_, typename... Args_>
1841PROTOBUF_ALWAYS_INLINE void SequenceVarAssignment::set_var_id(Arg_&& arg, Args_... args) {
1842 ::google::protobuf::internal::TSanWrite(&_impl_);
1843 _impl_._has_bits_[0] |= 0x00000001u;
1844 _impl_.var_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1845 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.var_id)
1847inline ::std::string* PROTOBUF_NONNULL SequenceVarAssignment::mutable_var_id()
1848 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1849 ::std::string* _s = _internal_mutable_var_id();
1850 // @@protoc_insertion_point(field_mutable:operations_research.SequenceVarAssignment.var_id)
1851 return _s;
1853inline const ::std::string& SequenceVarAssignment::_internal_var_id() const {
1854 ::google::protobuf::internal::TSanRead(&_impl_);
1855 return _impl_.var_id_.Get();
1856}
1857inline void SequenceVarAssignment::_internal_set_var_id(const ::std::string& value) {
1858 ::google::protobuf::internal::TSanWrite(&_impl_);
1859 _impl_._has_bits_[0] |= 0x00000001u;
1860 _impl_.var_id_.Set(value, GetArena());
1861}
1862inline ::std::string* PROTOBUF_NONNULL SequenceVarAssignment::_internal_mutable_var_id() {
1863 ::google::protobuf::internal::TSanWrite(&_impl_);
1864 _impl_._has_bits_[0] |= 0x00000001u;
1865 return _impl_.var_id_.Mutable( GetArena());
1866}
1867inline ::std::string* PROTOBUF_NULLABLE SequenceVarAssignment::release_var_id() {
1868 ::google::protobuf::internal::TSanWrite(&_impl_);
1869 // @@protoc_insertion_point(field_release:operations_research.SequenceVarAssignment.var_id)
1870 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1871 return nullptr;
1872 }
1873 _impl_._has_bits_[0] &= ~0x00000001u;
1874 auto* released = _impl_.var_id_.Release();
1875 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1876 _impl_.var_id_.Set("", GetArena());
1877 }
1878 return released;
1879}
1880inline void SequenceVarAssignment::set_allocated_var_id(::std::string* PROTOBUF_NULLABLE value) {
1881 ::google::protobuf::internal::TSanWrite(&_impl_);
1882 if (value != nullptr) {
1883 _impl_._has_bits_[0] |= 0x00000001u;
1884 } else {
1885 _impl_._has_bits_[0] &= ~0x00000001u;
1886 }
1887 _impl_.var_id_.SetAllocated(value, GetArena());
1888 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.var_id_.IsDefault()) {
1889 _impl_.var_id_.Set("", GetArena());
1890 }
1891 // @@protoc_insertion_point(field_set_allocated:operations_research.SequenceVarAssignment.var_id)
1892}
1893
1894// repeated int32 forward_sequence = 2;
1895inline int SequenceVarAssignment::_internal_forward_sequence_size() const {
1896 return _internal_forward_sequence().size();
1897}
1899 return _internal_forward_sequence_size();
1900}
1902 ::google::protobuf::internal::TSanWrite(&_impl_);
1903 _impl_.forward_sequence_.Clear();
1904}
1905inline ::int32_t SequenceVarAssignment::forward_sequence(int index) const {
1906 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.forward_sequence)
1907 return _internal_forward_sequence().Get(index);
1908}
1909inline void SequenceVarAssignment::set_forward_sequence(int index, ::int32_t value) {
1910 _internal_mutable_forward_sequence()->Set(index, value);
1911 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.forward_sequence)
1913inline void SequenceVarAssignment::add_forward_sequence(::int32_t value) {
1914 ::google::protobuf::internal::TSanWrite(&_impl_);
1915 _internal_mutable_forward_sequence()->Add(value);
1916 // @@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.forward_sequence)
1917}
1918inline const ::google::protobuf::RepeatedField<::int32_t>& SequenceVarAssignment::forward_sequence() const
1919 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1920 // @@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.forward_sequence)
1921 return _internal_forward_sequence();
1922}
1923inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL SequenceVarAssignment::mutable_forward_sequence()
1924 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1925 // @@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.forward_sequence)
1926 ::google::protobuf::internal::TSanWrite(&_impl_);
1927 return _internal_mutable_forward_sequence();
1928}
1929inline const ::google::protobuf::RepeatedField<::int32_t>&
1930SequenceVarAssignment::_internal_forward_sequence() const {
1931 ::google::protobuf::internal::TSanRead(&_impl_);
1932 return _impl_.forward_sequence_;
1933}
1934inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1935SequenceVarAssignment::_internal_mutable_forward_sequence() {
1936 ::google::protobuf::internal::TSanRead(&_impl_);
1937 return &_impl_.forward_sequence_;
1938}
1939
1940// repeated int32 backward_sequence = 3;
1941inline int SequenceVarAssignment::_internal_backward_sequence_size() const {
1942 return _internal_backward_sequence().size();
1943}
1945 return _internal_backward_sequence_size();
1946}
1948 ::google::protobuf::internal::TSanWrite(&_impl_);
1949 _impl_.backward_sequence_.Clear();
1950}
1951inline ::int32_t SequenceVarAssignment::backward_sequence(int index) const {
1952 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.backward_sequence)
1953 return _internal_backward_sequence().Get(index);
1954}
1955inline void SequenceVarAssignment::set_backward_sequence(int index, ::int32_t value) {
1956 _internal_mutable_backward_sequence()->Set(index, value);
1957 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.backward_sequence)
1959inline void SequenceVarAssignment::add_backward_sequence(::int32_t value) {
1960 ::google::protobuf::internal::TSanWrite(&_impl_);
1961 _internal_mutable_backward_sequence()->Add(value);
1962 // @@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.backward_sequence)
1963}
1964inline const ::google::protobuf::RepeatedField<::int32_t>& SequenceVarAssignment::backward_sequence() const
1965 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1966 // @@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.backward_sequence)
1967 return _internal_backward_sequence();
1968}
1969inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL SequenceVarAssignment::mutable_backward_sequence()
1970 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1971 // @@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.backward_sequence)
1972 ::google::protobuf::internal::TSanWrite(&_impl_);
1973 return _internal_mutable_backward_sequence();
1974}
1975inline const ::google::protobuf::RepeatedField<::int32_t>&
1976SequenceVarAssignment::_internal_backward_sequence() const {
1977 ::google::protobuf::internal::TSanRead(&_impl_);
1978 return _impl_.backward_sequence_;
1979}
1980inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1981SequenceVarAssignment::_internal_mutable_backward_sequence() {
1982 ::google::protobuf::internal::TSanRead(&_impl_);
1983 return &_impl_.backward_sequence_;
1984}
1985
1986// repeated int32 unperformed = 4;
1987inline int SequenceVarAssignment::_internal_unperformed_size() const {
1988 return _internal_unperformed().size();
1989}
1990inline int SequenceVarAssignment::unperformed_size() const {
1991 return _internal_unperformed_size();
1992}
1994 ::google::protobuf::internal::TSanWrite(&_impl_);
1995 _impl_.unperformed_.Clear();
1996}
1997inline ::int32_t SequenceVarAssignment::unperformed(int index) const {
1998 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.unperformed)
1999 return _internal_unperformed().Get(index);
2000}
2001inline void SequenceVarAssignment::set_unperformed(int index, ::int32_t value) {
2002 _internal_mutable_unperformed()->Set(index, value);
2003 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.unperformed)
2005inline void SequenceVarAssignment::add_unperformed(::int32_t value) {
2006 ::google::protobuf::internal::TSanWrite(&_impl_);
2007 _internal_mutable_unperformed()->Add(value);
2008 // @@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.unperformed)
2009}
2010inline const ::google::protobuf::RepeatedField<::int32_t>& SequenceVarAssignment::unperformed() const
2011 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2012 // @@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.unperformed)
2013 return _internal_unperformed();
2014}
2015inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL SequenceVarAssignment::mutable_unperformed()
2016 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2017 // @@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.unperformed)
2018 ::google::protobuf::internal::TSanWrite(&_impl_);
2019 return _internal_mutable_unperformed();
2020}
2021inline const ::google::protobuf::RepeatedField<::int32_t>&
2022SequenceVarAssignment::_internal_unperformed() const {
2023 ::google::protobuf::internal::TSanRead(&_impl_);
2024 return _impl_.unperformed_;
2025}
2026inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2027SequenceVarAssignment::_internal_mutable_unperformed() {
2028 ::google::protobuf::internal::TSanRead(&_impl_);
2029 return &_impl_.unperformed_;
2030}
2031
2032// bool active = 5;
2034 ::google::protobuf::internal::TSanWrite(&_impl_);
2035 _impl_.active_ = false;
2036 _impl_._has_bits_[0] &= ~0x00000002u;
2037}
2038inline bool SequenceVarAssignment::active() const {
2039 // @@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.active)
2040 return _internal_active();
2041}
2042inline void SequenceVarAssignment::set_active(bool value) {
2043 _internal_set_active(value);
2044 _impl_._has_bits_[0] |= 0x00000002u;
2045 // @@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.active)
2046}
2047inline bool SequenceVarAssignment::_internal_active() const {
2048 ::google::protobuf::internal::TSanRead(&_impl_);
2049 return _impl_.active_;
2050}
2051inline void SequenceVarAssignment::_internal_set_active(bool value) {
2052 ::google::protobuf::internal::TSanWrite(&_impl_);
2053 _impl_.active_ = value;
2054}
2055
2056// -------------------------------------------------------------------
2057
2058// WorkerInfo
2059
2060// int32 worker_id = 1;
2061inline void WorkerInfo::clear_worker_id() {
2062 ::google::protobuf::internal::TSanWrite(&_impl_);
2063 _impl_.worker_id_ = 0;
2064 _impl_._has_bits_[0] &= ~0x00000002u;
2065}
2066inline ::int32_t WorkerInfo::worker_id() const {
2067 // @@protoc_insertion_point(field_get:operations_research.WorkerInfo.worker_id)
2068 return _internal_worker_id();
2069}
2070inline void WorkerInfo::set_worker_id(::int32_t value) {
2071 _internal_set_worker_id(value);
2072 _impl_._has_bits_[0] |= 0x00000002u;
2073 // @@protoc_insertion_point(field_set:operations_research.WorkerInfo.worker_id)
2074}
2075inline ::int32_t WorkerInfo::_internal_worker_id() const {
2076 ::google::protobuf::internal::TSanRead(&_impl_);
2077 return _impl_.worker_id_;
2079inline void WorkerInfo::_internal_set_worker_id(::int32_t value) {
2080 ::google::protobuf::internal::TSanWrite(&_impl_);
2081 _impl_.worker_id_ = value;
2083
2084// string bns = 2;
2085inline void WorkerInfo::clear_bns() {
2086 ::google::protobuf::internal::TSanWrite(&_impl_);
2087 _impl_.bns_.ClearToEmpty();
2088 _impl_._has_bits_[0] &= ~0x00000001u;
2089}
2090inline const ::std::string& WorkerInfo::bns() const
2091 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2092 // @@protoc_insertion_point(field_get:operations_research.WorkerInfo.bns)
2093 return _internal_bns();
2094}
2095template <typename Arg_, typename... Args_>
2096PROTOBUF_ALWAYS_INLINE void WorkerInfo::set_bns(Arg_&& arg, Args_... args) {
2097 ::google::protobuf::internal::TSanWrite(&_impl_);
2098 _impl_._has_bits_[0] |= 0x00000001u;
2099 _impl_.bns_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2100 // @@protoc_insertion_point(field_set:operations_research.WorkerInfo.bns)
2101}
2102inline ::std::string* PROTOBUF_NONNULL WorkerInfo::mutable_bns()
2103 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2104 ::std::string* _s = _internal_mutable_bns();
2105 // @@protoc_insertion_point(field_mutable:operations_research.WorkerInfo.bns)
2106 return _s;
2107}
2108inline const ::std::string& WorkerInfo::_internal_bns() const {
2109 ::google::protobuf::internal::TSanRead(&_impl_);
2110 return _impl_.bns_.Get();
2111}
2112inline void WorkerInfo::_internal_set_bns(const ::std::string& value) {
2113 ::google::protobuf::internal::TSanWrite(&_impl_);
2114 _impl_._has_bits_[0] |= 0x00000001u;
2115 _impl_.bns_.Set(value, GetArena());
2116}
2117inline ::std::string* PROTOBUF_NONNULL WorkerInfo::_internal_mutable_bns() {
2118 ::google::protobuf::internal::TSanWrite(&_impl_);
2119 _impl_._has_bits_[0] |= 0x00000001u;
2120 return _impl_.bns_.Mutable( GetArena());
2121}
2122inline ::std::string* PROTOBUF_NULLABLE WorkerInfo::release_bns() {
2123 ::google::protobuf::internal::TSanWrite(&_impl_);
2124 // @@protoc_insertion_point(field_release:operations_research.WorkerInfo.bns)
2125 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
2126 return nullptr;
2127 }
2128 _impl_._has_bits_[0] &= ~0x00000001u;
2129 auto* released = _impl_.bns_.Release();
2130 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2131 _impl_.bns_.Set("", GetArena());
2132 }
2133 return released;
2135inline void WorkerInfo::set_allocated_bns(::std::string* PROTOBUF_NULLABLE value) {
2136 ::google::protobuf::internal::TSanWrite(&_impl_);
2137 if (value != nullptr) {
2138 _impl_._has_bits_[0] |= 0x00000001u;
2139 } else {
2140 _impl_._has_bits_[0] &= ~0x00000001u;
2141 }
2142 _impl_.bns_.SetAllocated(value, GetArena());
2143 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.bns_.IsDefault()) {
2144 _impl_.bns_.Set("", GetArena());
2145 }
2146 // @@protoc_insertion_point(field_set_allocated:operations_research.WorkerInfo.bns)
2148
2149// -------------------------------------------------------------------
2150
2151// AssignmentProto
2152
2153// repeated .operations_research.IntVarAssignment int_var_assignment = 1;
2154inline int AssignmentProto::_internal_int_var_assignment_size() const {
2155 return _internal_int_var_assignment().size();
2156}
2158 return _internal_int_var_assignment_size();
2159}
2161 ::google::protobuf::internal::TSanWrite(&_impl_);
2162 _impl_.int_var_assignment_.Clear();
2163}
2164inline ::operations_research::IntVarAssignment* PROTOBUF_NONNULL AssignmentProto::mutable_int_var_assignment(int index)
2165 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2166 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.int_var_assignment)
2167 return _internal_mutable_int_var_assignment()->Mutable(index);
2168}
2169inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL AssignmentProto::mutable_int_var_assignment()
2170 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2171 // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.int_var_assignment)
2172 ::google::protobuf::internal::TSanWrite(&_impl_);
2173 return _internal_mutable_int_var_assignment();
2174}
2175inline const ::operations_research::IntVarAssignment& AssignmentProto::int_var_assignment(int index) const
2176 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2177 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.int_var_assignment)
2178 return _internal_int_var_assignment().Get(index);
2179}
2180inline ::operations_research::IntVarAssignment* PROTOBUF_NONNULL AssignmentProto::add_int_var_assignment()
2181 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2182 ::google::protobuf::internal::TSanWrite(&_impl_);
2183 ::operations_research::IntVarAssignment* _add = _internal_mutable_int_var_assignment()->Add();
2184 // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.int_var_assignment)
2185 return _add;
2186}
2187inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& AssignmentProto::int_var_assignment() const
2188 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2189 // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.int_var_assignment)
2190 return _internal_int_var_assignment();
2191}
2192inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>&
2193AssignmentProto::_internal_int_var_assignment() const {
2194 ::google::protobuf::internal::TSanRead(&_impl_);
2195 return _impl_.int_var_assignment_;
2196}
2197inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL
2198AssignmentProto::_internal_mutable_int_var_assignment() {
2199 ::google::protobuf::internal::TSanRead(&_impl_);
2200 return &_impl_.int_var_assignment_;
2201}
2202
2203// repeated .operations_research.IntervalVarAssignment interval_var_assignment = 2;
2204inline int AssignmentProto::_internal_interval_var_assignment_size() const {
2205 return _internal_interval_var_assignment().size();
2206}
2208 return _internal_interval_var_assignment_size();
2209}
2211 ::google::protobuf::internal::TSanWrite(&_impl_);
2212 _impl_.interval_var_assignment_.Clear();
2213}
2214inline ::operations_research::IntervalVarAssignment* PROTOBUF_NONNULL AssignmentProto::mutable_interval_var_assignment(int index)
2215 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2216 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.interval_var_assignment)
2217 return _internal_mutable_interval_var_assignment()->Mutable(index);
2218}
2219inline ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL AssignmentProto::mutable_interval_var_assignment()
2220 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2221 // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.interval_var_assignment)
2222 ::google::protobuf::internal::TSanWrite(&_impl_);
2223 return _internal_mutable_interval_var_assignment();
2224}
2225inline const ::operations_research::IntervalVarAssignment& AssignmentProto::interval_var_assignment(int index) const
2226 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2227 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.interval_var_assignment)
2228 return _internal_interval_var_assignment().Get(index);
2229}
2230inline ::operations_research::IntervalVarAssignment* PROTOBUF_NONNULL AssignmentProto::add_interval_var_assignment()
2231 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2232 ::google::protobuf::internal::TSanWrite(&_impl_);
2233 ::operations_research::IntervalVarAssignment* _add = _internal_mutable_interval_var_assignment()->Add();
2234 // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.interval_var_assignment)
2235 return _add;
2236}
2237inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>& AssignmentProto::interval_var_assignment() const
2238 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2239 // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.interval_var_assignment)
2240 return _internal_interval_var_assignment();
2241}
2242inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>&
2243AssignmentProto::_internal_interval_var_assignment() const {
2244 ::google::protobuf::internal::TSanRead(&_impl_);
2245 return _impl_.interval_var_assignment_;
2246}
2247inline ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL
2248AssignmentProto::_internal_mutable_interval_var_assignment() {
2249 ::google::protobuf::internal::TSanRead(&_impl_);
2250 return &_impl_.interval_var_assignment_;
2251}
2252
2253// repeated .operations_research.SequenceVarAssignment sequence_var_assignment = 6;
2254inline int AssignmentProto::_internal_sequence_var_assignment_size() const {
2255 return _internal_sequence_var_assignment().size();
2256}
2258 return _internal_sequence_var_assignment_size();
2259}
2261 ::google::protobuf::internal::TSanWrite(&_impl_);
2262 _impl_.sequence_var_assignment_.Clear();
2263}
2264inline ::operations_research::SequenceVarAssignment* PROTOBUF_NONNULL AssignmentProto::mutable_sequence_var_assignment(int index)
2265 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2266 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.sequence_var_assignment)
2267 return _internal_mutable_sequence_var_assignment()->Mutable(index);
2268}
2269inline ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL AssignmentProto::mutable_sequence_var_assignment()
2270 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2271 // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.sequence_var_assignment)
2272 ::google::protobuf::internal::TSanWrite(&_impl_);
2273 return _internal_mutable_sequence_var_assignment();
2274}
2275inline const ::operations_research::SequenceVarAssignment& AssignmentProto::sequence_var_assignment(int index) const
2276 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2277 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.sequence_var_assignment)
2278 return _internal_sequence_var_assignment().Get(index);
2279}
2280inline ::operations_research::SequenceVarAssignment* PROTOBUF_NONNULL AssignmentProto::add_sequence_var_assignment()
2281 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2282 ::google::protobuf::internal::TSanWrite(&_impl_);
2283 ::operations_research::SequenceVarAssignment* _add = _internal_mutable_sequence_var_assignment()->Add();
2284 // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.sequence_var_assignment)
2285 return _add;
2286}
2287inline const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>& AssignmentProto::sequence_var_assignment() const
2288 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2289 // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.sequence_var_assignment)
2290 return _internal_sequence_var_assignment();
2291}
2292inline const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>&
2293AssignmentProto::_internal_sequence_var_assignment() const {
2294 ::google::protobuf::internal::TSanRead(&_impl_);
2295 return _impl_.sequence_var_assignment_;
2296}
2297inline ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL
2298AssignmentProto::_internal_mutable_sequence_var_assignment() {
2299 ::google::protobuf::internal::TSanRead(&_impl_);
2300 return &_impl_.sequence_var_assignment_;
2301}
2302
2303// repeated .operations_research.IntVarAssignment objective = 3;
2304inline int AssignmentProto::_internal_objective_size() const {
2305 return _internal_objective().size();
2306}
2307inline int AssignmentProto::objective_size() const {
2308 return _internal_objective_size();
2309}
2311 ::google::protobuf::internal::TSanWrite(&_impl_);
2312 _impl_.objective_.Clear();
2313}
2314inline ::operations_research::IntVarAssignment* PROTOBUF_NONNULL AssignmentProto::mutable_objective(int index)
2315 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2316 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.objective)
2317 return _internal_mutable_objective()->Mutable(index);
2318}
2319inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL AssignmentProto::mutable_objective()
2320 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2321 // @@protoc_insertion_point(field_mutable_list:operations_research.AssignmentProto.objective)
2322 ::google::protobuf::internal::TSanWrite(&_impl_);
2323 return _internal_mutable_objective();
2324}
2325inline const ::operations_research::IntVarAssignment& AssignmentProto::objective(int index) const
2326 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2327 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.objective)
2328 return _internal_objective().Get(index);
2329}
2330inline ::operations_research::IntVarAssignment* PROTOBUF_NONNULL AssignmentProto::add_objective()
2331 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2332 ::google::protobuf::internal::TSanWrite(&_impl_);
2333 ::operations_research::IntVarAssignment* _add = _internal_mutable_objective()->Add();
2334 // @@protoc_insertion_point(field_add:operations_research.AssignmentProto.objective)
2335 return _add;
2336}
2337inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& AssignmentProto::objective() const
2338 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2339 // @@protoc_insertion_point(field_list:operations_research.AssignmentProto.objective)
2340 return _internal_objective();
2341}
2342inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>&
2343AssignmentProto::_internal_objective() const {
2344 ::google::protobuf::internal::TSanRead(&_impl_);
2345 return _impl_.objective_;
2346}
2347inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL
2348AssignmentProto::_internal_mutable_objective() {
2349 ::google::protobuf::internal::TSanRead(&_impl_);
2350 return &_impl_.objective_;
2351}
2352
2353// .operations_research.WorkerInfo worker_info = 4;
2354inline bool AssignmentProto::has_worker_info() const {
2355 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2356 PROTOBUF_ASSUME(!value || _impl_.worker_info_ != nullptr);
2357 return value;
2358}
2360 ::google::protobuf::internal::TSanWrite(&_impl_);
2361 if (_impl_.worker_info_ != nullptr) _impl_.worker_info_->Clear();
2362 _impl_._has_bits_[0] &= ~0x00000001u;
2363}
2364inline const ::operations_research::WorkerInfo& AssignmentProto::_internal_worker_info() const {
2365 ::google::protobuf::internal::TSanRead(&_impl_);
2366 const ::operations_research::WorkerInfo* p = _impl_.worker_info_;
2368}
2369inline const ::operations_research::WorkerInfo& AssignmentProto::worker_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2370 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.worker_info)
2371 return _internal_worker_info();
2374 ::operations_research::WorkerInfo* PROTOBUF_NULLABLE value) {
2375 ::google::protobuf::internal::TSanWrite(&_impl_);
2376 if (GetArena() == nullptr) {
2377 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.worker_info_);
2378 }
2379 _impl_.worker_info_ = reinterpret_cast<::operations_research::WorkerInfo*>(value);
2380 if (value != nullptr) {
2381 _impl_._has_bits_[0] |= 0x00000001u;
2382 } else {
2383 _impl_._has_bits_[0] &= ~0x00000001u;
2384 }
2385 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.AssignmentProto.worker_info)
2387inline ::operations_research::WorkerInfo* PROTOBUF_NULLABLE AssignmentProto::release_worker_info() {
2388 ::google::protobuf::internal::TSanWrite(&_impl_);
2389
2390 _impl_._has_bits_[0] &= ~0x00000001u;
2391 ::operations_research::WorkerInfo* released = _impl_.worker_info_;
2392 _impl_.worker_info_ = nullptr;
2393 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2394 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2395 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2396 if (GetArena() == nullptr) {
2397 delete old;
2398 }
2399 } else {
2400 if (GetArena() != nullptr) {
2401 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2402 }
2403 }
2404 return released;
2405}
2406inline ::operations_research::WorkerInfo* PROTOBUF_NULLABLE AssignmentProto::unsafe_arena_release_worker_info() {
2407 ::google::protobuf::internal::TSanWrite(&_impl_);
2408 // @@protoc_insertion_point(field_release:operations_research.AssignmentProto.worker_info)
2409
2410 _impl_._has_bits_[0] &= ~0x00000001u;
2411 ::operations_research::WorkerInfo* temp = _impl_.worker_info_;
2412 _impl_.worker_info_ = nullptr;
2413 return temp;
2414}
2415inline ::operations_research::WorkerInfo* PROTOBUF_NONNULL AssignmentProto::_internal_mutable_worker_info() {
2416 ::google::protobuf::internal::TSanWrite(&_impl_);
2417 if (_impl_.worker_info_ == nullptr) {
2418 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::WorkerInfo>(GetArena());
2419 _impl_.worker_info_ = reinterpret_cast<::operations_research::WorkerInfo*>(p);
2420 }
2421 return _impl_.worker_info_;
2422}
2423inline ::operations_research::WorkerInfo* PROTOBUF_NONNULL AssignmentProto::mutable_worker_info()
2424 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2425 _impl_._has_bits_[0] |= 0x00000001u;
2426 ::operations_research::WorkerInfo* _msg = _internal_mutable_worker_info();
2427 // @@protoc_insertion_point(field_mutable:operations_research.AssignmentProto.worker_info)
2428 return _msg;
2429}
2430inline void AssignmentProto::set_allocated_worker_info(::operations_research::WorkerInfo* PROTOBUF_NULLABLE value) {
2431 ::google::protobuf::Arena* message_arena = GetArena();
2432 ::google::protobuf::internal::TSanWrite(&_impl_);
2433 if (message_arena == nullptr) {
2434 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.worker_info_);
2435 }
2437 if (value != nullptr) {
2438 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2439 if (message_arena != submessage_arena) {
2440 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2441 }
2442 _impl_._has_bits_[0] |= 0x00000001u;
2443 } else {
2444 _impl_._has_bits_[0] &= ~0x00000001u;
2445 }
2446
2447 _impl_.worker_info_ = reinterpret_cast<::operations_research::WorkerInfo*>(value);
2448 // @@protoc_insertion_point(field_set_allocated:operations_research.AssignmentProto.worker_info)
2449}
2450
2451// bool is_valid = 5;
2452inline void AssignmentProto::clear_is_valid() {
2453 ::google::protobuf::internal::TSanWrite(&_impl_);
2454 _impl_.is_valid_ = false;
2455 _impl_._has_bits_[0] &= ~0x00000002u;
2456}
2457inline bool AssignmentProto::is_valid() const {
2458 // @@protoc_insertion_point(field_get:operations_research.AssignmentProto.is_valid)
2459 return _internal_is_valid();
2460}
2461inline void AssignmentProto::set_is_valid(bool value) {
2462 _internal_set_is_valid(value);
2463 _impl_._has_bits_[0] |= 0x00000002u;
2464 // @@protoc_insertion_point(field_set:operations_research.AssignmentProto.is_valid)
2466inline bool AssignmentProto::_internal_is_valid() const {
2467 ::google::protobuf::internal::TSanRead(&_impl_);
2468 return _impl_.is_valid_;
2469}
2470inline void AssignmentProto::_internal_set_is_valid(bool value) {
2471 ::google::protobuf::internal::TSanWrite(&_impl_);
2472 _impl_.is_valid_ = value;
2473}
2475#ifdef __GNUC__
2476#pragma GCC diagnostic pop
2477#endif // __GNUC__
2478
2479// @@protoc_insertion_point(namespace_scope)
2480} // namespace operations_research
2481
2482
2483// @@protoc_insertion_point(global_scope)
2484
2485#include "google/protobuf/port_undef.inc"
2486
2487#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
static constexpr auto InternalGenerateClassData_()
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::Metadata GetMetadata() const
::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > *PROTOBUF_NONNULL mutable_int_var_assignment()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
int objective_size() const
repeated .operations_research.IntVarAssignment objective = 3;
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
implements Message -------------------------------------------—
::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
int interval_var_assignment_size() const
repeated .operations_research.IntervalVarAssignment interval_var_assignment = 2;
const ::operations_research::IntVarAssignment & objective(int index) const
bool has_worker_info() const
.operations_research.WorkerInfo worker_info = 4;
::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
int int_var_assignment_size() const
repeated .operations_research.IntVarAssignment int_var_assignment = 1;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void clear_is_valid()
bool is_valid = 5;
::operations_research::IntVarAssignment *PROTOBUF_NONNULL add_int_var_assignment()
static constexpr auto InternalNewImpl_()
int sequence_var_assignment_size() const
repeated .operations_research.SequenceVarAssignment sequence_var_assignment = 6;
::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 void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
IntVarAssignment *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
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)
static constexpr auto InternalGenerateClassData_()
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 clear_var_id()
string var_id = 1;
static constexpr auto InternalNewImpl_()
void MergeFrom(const IntVarAssignment &from)
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const IntVarAssignment &from)
void set_var_id(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NULLABLE release_var_id()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend class ::google::protobuf::Arena
friend class ::google::protobuf::MessageLite
void clear_performed_max()
int64 performed_max = 9;
void clear_performed_min()
int64 performed_min = 8;
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 clear_duration_min()
int64 duration_min = 4;
void Swap(IntervalVarAssignment *PROTOBUF_NONNULL other)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_start_min()
int64 start_min = 2;
friend void swap(IntervalVarAssignment &a, IntervalVarAssignment &b)
void clear_start_max()
int64 start_max = 3;
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
static const IntervalVarAssignment & default_instance()
void clear_duration_max()
int64 duration_max = 5;
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
int forward_sequence_size() const
repeated int32 forward_sequence = 2;
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)
int backward_sequence_size() const
repeated int32 backward_sequence = 3;
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void set_unperformed(int index, ::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & unperformed() const
int unperformed_size() const
repeated int32 unperformed = 4;
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)
void clear_bns()
string bns = 2;
void clear_worker_id()
int32 worker_id = 1;
::std::string *PROTOBUF_NONNULL mutable_bns()
WorkerInfo(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, WorkerInfo &&from) noexcept
::std::string *PROTOBUF_NULLABLE release_bns()
const ::std::string & bns() const
void Swap(WorkerInfo *PROTOBUF_NONNULL other)
::absl::string_view GetAnyMessageName()
In SWIG mode, we don't want anything besides these top-level includes.
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_
Internal implementation detail – do not use these members.