Google OR-Tools: build/ortools/constraint_solver/assignment.pb.h Source File
6#ifndef ortools_2fconstraint_5fsolver_2fassignment_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2fassignment_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
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"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/unknown_field_set.h"
35#include "google/protobuf/port_def.inc"
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fassignment_2eproto OR_PROTO_DLL
75OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull WorkerInfo_class_data_;
89class OR_PROTO_DLL WorkerInfo final : public ::google::protobuf::Message
91 public:
95#if defined(PROTOBUF_CUSTOM_VTABLE)
96 void operator delete(WorkerInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
98 ::google::protobuf::internal::SizedDelete(msg, sizeof(WorkerInfo));
102 template <typename = void>
103 explicit PROTOBUF_CONSTEXPR WorkerInfo(::google::protobuf::internal::ConstantInitialized);
114 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
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);
126 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
128 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
131 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
147 if (other == this) return;
148 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
151 ::google::protobuf::internal::GenericSwap(this, other);
154 void UnsafeArenaSwap(WorkerInfo* PROTOBUF_NONNULL other) {
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); }
171 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
172 const ::google::protobuf::MessageLite& from_msg);
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);
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);
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;
199 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
202 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
203 static void SharedDtor(MessageLite& self);
204 void InternalSwap(WorkerInfo* PROTOBUF_NONNULL other);
208 static ::absl::string_view FullMessageName() { return "operations_research.WorkerInfo"; }
210 explicit WorkerInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
211 WorkerInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WorkerInfo& from);
213 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, WorkerInfo&& from) noexcept
215 *this = ::std::move(from);
217 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
218 static void* PROTOBUF_NONNULL PlacementNew_(
219 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
220 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
221 static constexpr auto InternalNewImpl_();
224 static constexpr auto InternalGenerateClassData_();
226 ::google::protobuf::Metadata GetMetadata() const;
236 const ::std::string& bns() const;
237 template <typename Arg_ = const ::std::string&, typename... Args_>
238 void set_bns(Arg_&& arg, Args_... args);
239 ::std::string* PROTOBUF_NONNULL mutable_bns();
240 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_bns();
244 const ::std::string& _internal_bns() const;
245 PROTOBUF_ALWAYS_INLINE void _internal_set_bns(const ::std::string& value);
246 ::std::string* PROTOBUF_NONNULL _internal_mutable_bns();
255 ::int32_t _internal_worker_id() const;
256 void _internal_set_worker_id(::int32_t value);
262 friend class ::google::protobuf::internal::TcParser;
263 static const ::google::protobuf::internal::TcParseTable<1, 2,
268 friend class ::google::protobuf::MessageLite;
269 friend class ::google::protobuf::Arena;
270 template <typename T>
271 friend class ::google::protobuf::Arena::InternalHelper;
272 using InternalArenaConstructable_ = void;
273 using DestructorSkippable_ = void;
275 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
277 ::google::protobuf::internal::InternalVisibility visibility,
278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
280 ::google::protobuf::internal::InternalVisibility visibility,
281 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
283 ::google::protobuf::internal::HasBits<1> _has_bits_;
284 ::google::protobuf::internal::CachedSize _cached_size_;
285 ::google::protobuf::internal::ArenaStringPtr bns_;
287 PROTOBUF_TSAN_DECLARE_MEMBER
290 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
293OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull WorkerInfo_class_data_;
296class OR_PROTO_DLL SequenceVarAssignment final : public ::google::protobuf::Message
302#if defined(PROTOBUF_CUSTOM_VTABLE)
303 void operator delete(SequenceVarAssignment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
309 template <typename = void>
310 explicit PROTOBUF_CONSTEXPR SequenceVarAssignment(::google::protobuf::internal::ConstantInitialized);
320 if (this == &from) return *this;
321 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
322 InternalSwap(&from);
329 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
331 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
333 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
334 ABSL_ATTRIBUTE_LIFETIME_BOUND {
335 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
341 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
344 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
351 static constexpr int kIndexInFileMessages = 2;
353 inline void Swap(SequenceVarAssignment* PROTOBUF_NONNULL other) {
354 if (other == this) return;
355 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
356 InternalSwap(other);
358 ::google::protobuf::internal::GenericSwap(this, other);
361 void UnsafeArenaSwap(SequenceVarAssignment* PROTOBUF_NONNULL other) {
369 SequenceVarAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
370 return ::google::protobuf::Message::DefaultConstruct<SequenceVarAssignment>(arena);
372 using ::google::protobuf::Message::CopyFrom;
378 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
379 const ::google::protobuf::MessageLite& from_msg);
385 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
388 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
390 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
391 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
395 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
396 ::uint8_t* PROTOBUF_NONNULL target,
397 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
398 return _InternalSerialize(*this, target, stream);
401 ::size_t ByteSizeLong() const final;
402 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
403 ::uint8_t* PROTOBUF_NONNULL target,
404 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
406 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
409 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
410 static void SharedDtor(MessageLite& self);
415 static ::absl::string_view FullMessageName() { return "operations_research.SequenceVarAssignment"; }
417 explicit SequenceVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
420 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SequenceVarAssignment&& from) noexcept
422 *this = ::std::move(from);
424 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
425 static void* PROTOBUF_NONNULL PlacementNew_(
426 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
427 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
428 static constexpr auto InternalNewImpl_();
431 static constexpr auto InternalGenerateClassData_();
433 ::google::protobuf::Metadata GetMetadata() const;
438 kForwardSequenceFieldNumber = 2,
439 kBackwardSequenceFieldNumber = 3,
440 kUnperformedFieldNumber = 4,
447 int _internal_forward_sequence_size() const;
454 const ::google::protobuf::RepeatedField<::int32_t>& forward_sequence() const;
458 const ::google::protobuf::RepeatedField<::int32_t>& _internal_forward_sequence() const;
459 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_forward_sequence();
465 int _internal_backward_sequence_size() const;
472 const ::google::protobuf::RepeatedField<::int32_t>& backward_sequence() const;
476 const ::google::protobuf::RepeatedField<::int32_t>& _internal_backward_sequence() const;
477 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_backward_sequence();
483 int _internal_unperformed_size() const;
490 const ::google::protobuf::RepeatedField<::int32_t>& unperformed() const;
491 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_unperformed();
494 const ::google::protobuf::RepeatedField<::int32_t>& _internal_unperformed() const;
495 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_unperformed();
500 const ::std::string& var_id() const;
501 template <typename Arg_ = const ::std::string&, typename... Args_>
502 void set_var_id(Arg_&& arg, Args_... args);
504 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_var_id();
508 const ::std::string& _internal_var_id() const;
509 PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const ::std::string& value);
510 ::std::string* PROTOBUF_NONNULL _internal_mutable_var_id();
519 bool _internal_active() const;
520 void _internal_set_active(bool value);
526 friend class ::google::protobuf::internal::TcParser;
527 static const ::google::protobuf::internal::TcParseTable<3, 5,
532 friend class ::google::protobuf::MessageLite;
533 friend class ::google::protobuf::Arena;
535 friend class ::google::protobuf::Arena::InternalHelper;
536 using InternalArenaConstructable_ = void;
537 using DestructorSkippable_ = void;
538 struct Impl_ {
539 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
541 ::google::protobuf::internal::InternalVisibility visibility,
542 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
544 ::google::protobuf::internal::InternalVisibility visibility,
545 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
547 ::google::protobuf::internal::HasBits<1> _has_bits_;
548 ::google::protobuf::internal::CachedSize _cached_size_;
549 ::google::protobuf::RepeatedField<::int32_t> forward_sequence_;
550 ::google::protobuf::internal::CachedSize _forward_sequence_cached_byte_size_;
551 ::google::protobuf::RepeatedField<::int32_t> backward_sequence_;
552 ::google::protobuf::internal::CachedSize _backward_sequence_cached_byte_size_;
553 ::google::protobuf::RepeatedField<::int32_t> unperformed_;
554 ::google::protobuf::internal::CachedSize _unperformed_cached_byte_size_;
555 ::google::protobuf::internal::ArenaStringPtr var_id_;
557 PROTOBUF_TSAN_DECLARE_MEMBER
560 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
566class OR_PROTO_DLL IntervalVarAssignment final : public ::google::protobuf::Message
572#if defined(PROTOBUF_CUSTOM_VTABLE)
573 void operator delete(IntervalVarAssignment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
579 template <typename = void>
580 explicit PROTOBUF_CONSTEXPR IntervalVarAssignment(::google::protobuf::internal::ConstantInitialized);
583 inline IntervalVarAssignment(IntervalVarAssignment&& from) noexcept
590 if (this == &from) return *this;
591 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
599 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
600 ABSL_ATTRIBUTE_LIFETIME_BOUND {
601 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
604 ABSL_ATTRIBUTE_LIFETIME_BOUND {
605 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
608 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
611 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
625 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
626 InternalSwap(other);
628 ::google::protobuf::internal::GenericSwap(this, other);
631 void UnsafeArenaSwap(IntervalVarAssignment* PROTOBUF_NONNULL other) {
632 if (other == this) return;
639 IntervalVarAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
640 return ::google::protobuf::Message::DefaultConstruct<IntervalVarAssignment>(arena);
642 using ::google::protobuf::Message::CopyFrom;
648 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
649 const ::google::protobuf::MessageLite& from_msg);
655 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
656 #if defined(PROTOBUF_CUSTOM_VTABLE)
658 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
660 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
661 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
665 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
666 ::uint8_t* PROTOBUF_NONNULL target,
667 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
668 return _InternalSerialize(*this, target, stream);
671 ::size_t ByteSizeLong() const final;
672 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
673 ::uint8_t* PROTOBUF_NONNULL target,
674 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
676 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
679 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
685 static ::absl::string_view FullMessageName() { return "operations_research.IntervalVarAssignment"; }
687 explicit IntervalVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
690 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntervalVarAssignment&& from) noexcept
692 *this = ::std::move(from);
694 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
695 static void* PROTOBUF_NONNULL PlacementNew_(
696 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
697 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
698 static constexpr auto InternalNewImpl_();
701 static constexpr auto InternalGenerateClassData_();
703 ::google::protobuf::Metadata GetMetadata() const;
711 kDurationMinFieldNumber = 4,
721 const ::std::string& var_id() const;
722 template <typename Arg_ = const ::std::string&, typename... Args_>
723 void set_var_id(Arg_&& arg, Args_... args);
725 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_var_id();
729 const ::std::string& _internal_var_id() const;
730 PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const ::std::string& value);
731 ::std::string* PROTOBUF_NONNULL _internal_mutable_var_id();
740 ::int64_t _internal_start_min() const;
741 void _internal_set_start_min(::int64_t value);
750 ::int64_t _internal_start_max() const;
751 void _internal_set_start_max(::int64_t value);
760 ::int64_t _internal_duration_min() const;
761 void _internal_set_duration_min(::int64_t value);
770 ::int64_t _internal_duration_max() const;
771 void _internal_set_duration_max(::int64_t value);
776 ::int64_t end_min() const;
780 ::int64_t _internal_end_min() const;
781 void _internal_set_end_min(::int64_t value);
786 ::int64_t end_max() const;
790 ::int64_t _internal_end_max() const;
791 void _internal_set_end_max(::int64_t value);
800 ::int64_t _internal_performed_min() const;
801 void _internal_set_performed_min(::int64_t value);
810 ::int64_t _internal_performed_max() const;
811 void _internal_set_performed_max(::int64_t value);
820 bool _internal_active() const;
821 void _internal_set_active(bool value);
827 friend class ::google::protobuf::internal::TcParser;
828 static const ::google::protobuf::internal::TcParseTable<4, 10,
833 friend class ::google::protobuf::MessageLite;
834 friend class ::google::protobuf::Arena;
836 friend class ::google::protobuf::Arena::InternalHelper;
837 using InternalArenaConstructable_ = void;
838 using DestructorSkippable_ = void;
840 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
842 ::google::protobuf::internal::InternalVisibility visibility,
843 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
845 ::google::protobuf::internal::InternalVisibility visibility,
846 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
848 ::google::protobuf::internal::HasBits<1> _has_bits_;
849 ::google::protobuf::internal::CachedSize _cached_size_;
850 ::google::protobuf::internal::ArenaStringPtr var_id_;
860 PROTOBUF_TSAN_DECLARE_MEMBER
863 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
869class OR_PROTO_DLL IntVarAssignment final : public ::google::protobuf::Message
875#if defined(PROTOBUF_CUSTOM_VTABLE)
876 void operator delete(IntVarAssignment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
877 SharedDtor(*msg);
878 ::google::protobuf::internal::SizedDelete(msg, sizeof(IntVarAssignment));
882 template <typename = void>
883 explicit PROTOBUF_CONSTEXPR IntVarAssignment(::google::protobuf::internal::ConstantInitialized);
886 inline IntVarAssignment(IntVarAssignment&& from) noexcept
887 : IntVarAssignment(nullptr, ::std::move(from)) {}
890 return *this;
893 if (this == &from) return *this;
894 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
902 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
903 ABSL_ATTRIBUTE_LIFETIME_BOUND {
904 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
906 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
907 ABSL_ATTRIBUTE_LIFETIME_BOUND {
908 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
911 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
914 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
915 return default_instance().GetMetadata().descriptor;
927 if (other == this) return;
928 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
929 InternalSwap(other);
931 ::google::protobuf::internal::GenericSwap(this, other);
934 void UnsafeArenaSwap(IntVarAssignment* PROTOBUF_NONNULL other) {
935 if (other == this) return;
942 IntVarAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
943 return ::google::protobuf::Message::DefaultConstruct<IntVarAssignment>(arena);
945 using ::google::protobuf::Message::CopyFrom;
947 using ::google::protobuf::Message::MergeFrom;
951 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
952 const ::google::protobuf::MessageLite& from_msg);
958 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
959 #if defined(PROTOBUF_CUSTOM_VTABLE)
961 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
963 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
964 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
968 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
969 ::uint8_t* PROTOBUF_NONNULL target,
970 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
971 return _InternalSerialize(*this, target, stream);
974 ::size_t ByteSizeLong() const final;
975 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
976 ::uint8_t* PROTOBUF_NONNULL target,
977 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
979 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
982 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
983 static void SharedDtor(MessageLite& self);
988 static ::absl::string_view FullMessageName() { return "operations_research.IntVarAssignment"; }
990 explicit IntVarAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
993 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntVarAssignment&& from) noexcept
995 *this = ::std::move(from);
997 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
998 static void* PROTOBUF_NONNULL PlacementNew_(
999 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1000 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1001 static constexpr auto InternalNewImpl_();
1004 static constexpr auto InternalGenerateClassData_();
1006 ::google::protobuf::Metadata GetMetadata() const;
1018 const ::std::string& var_id() const;
1019 template <typename Arg_ = const ::std::string&, typename... Args_>
1020 void set_var_id(Arg_&& arg, Args_... args);
1022 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_var_id();
1026 const ::std::string& _internal_var_id() const;
1027 PROTOBUF_ALWAYS_INLINE void _internal_set_var_id(const ::std::string& value);
1028 ::std::string* PROTOBUF_NONNULL _internal_mutable_var_id();
1033 ::int64_t min() const;
1034 void set_min(::int64_t value);
1037 ::int64_t _internal_min() const;
1038 void _internal_set_min(::int64_t value);
1043 ::int64_t max() const;
1044 void set_max(::int64_t value);
1047 ::int64_t _internal_max() const;
1048 void _internal_set_max(::int64_t value);
1053 bool active() const;
1057 bool _internal_active() const;
1058 void _internal_set_active(bool value);
1064 friend class ::google::protobuf::internal::TcParser;
1065 static const ::google::protobuf::internal::TcParseTable<2, 4,
1070 friend class ::google::protobuf::MessageLite;
1071 friend class ::google::protobuf::Arena;
1073 friend class ::google::protobuf::Arena::InternalHelper;
1074 using InternalArenaConstructable_ = void;
1075 using DestructorSkippable_ = void;
1076 struct Impl_ {
1077 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1078 inline explicit Impl_(
1079 ::google::protobuf::internal::InternalVisibility visibility,
1080 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1082 ::google::protobuf::internal::InternalVisibility visibility,
1083 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1085 ::google::protobuf::internal::HasBits<1> _has_bits_;
1086 ::google::protobuf::internal::CachedSize _cached_size_;
1087 ::google::protobuf::internal::ArenaStringPtr var_id_;
1091 PROTOBUF_TSAN_DECLARE_MEMBER
1094 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
1100class OR_PROTO_DLL AssignmentProto final : public ::google::protobuf::Message
1106#if defined(PROTOBUF_CUSTOM_VTABLE)
1107 void operator delete(AssignmentProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1109 ::google::protobuf::internal::SizedDelete(msg, sizeof(AssignmentProto));
1113 template <typename = void>
1114 explicit PROTOBUF_CONSTEXPR AssignmentProto(::google::protobuf::internal::ConstantInitialized);
1117 inline AssignmentProto(AssignmentProto&& from) noexcept
1118 : AssignmentProto(nullptr, ::std::move(from)) {}
1119 inline AssignmentProto& operator=(const AssignmentProto& from) {
1125 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1133 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1134 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1135 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1137 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1138 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1139 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1142 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1148 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1158 if (other == this) return;
1159 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1162 ::google::protobuf::internal::GenericSwap(this, other);
1165 void UnsafeArenaSwap(AssignmentProto* PROTOBUF_NONNULL other) {
1166 if (other == this) return;
1173 AssignmentProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1174 return ::google::protobuf::Message::DefaultConstruct<AssignmentProto>(arena);
1176 using ::google::protobuf::Message::CopyFrom;
1178 using ::google::protobuf::Message::MergeFrom;
1182 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1183 const ::google::protobuf::MessageLite& from_msg);
1189 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1190 #if defined(PROTOBUF_CUSTOM_VTABLE)
1192 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1194 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1195 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1199 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1200 ::uint8_t* PROTOBUF_NONNULL target,
1201 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1202 return _InternalSerialize(*this, target, stream);
1205 ::size_t ByteSizeLong() const final;
1206 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1207 ::uint8_t* PROTOBUF_NONNULL target,
1208 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1210 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1213 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1214 static void SharedDtor(MessageLite& self);
1215 void InternalSwap(AssignmentProto* PROTOBUF_NONNULL other);
1219 static ::absl::string_view FullMessageName() { return "operations_research.AssignmentProto"; }
1221 explicit AssignmentProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1224 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AssignmentProto&& from) noexcept
1226 *this = ::std::move(from);
1228 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1229 static void* PROTOBUF_NONNULL PlacementNew_(
1230 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1231 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1232 static constexpr auto InternalNewImpl_();
1235 static constexpr auto InternalGenerateClassData_();
1237 ::google::protobuf::Metadata GetMetadata() const;
1242 kIntVarAssignmentFieldNumber = 1,
1243 kIntervalVarAssignmentFieldNumber = 2,
1244 kObjectiveFieldNumber = 3,
1245 kSequenceVarAssignmentFieldNumber = 6,
1246 kWorkerInfoFieldNumber = 4,
1252 int _internal_int_var_assignment_size() const;
1257 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL mutable_int_var_assignment();
1260 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& _internal_int_var_assignment() const;
1261 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL _internal_mutable_int_var_assignment();
1263 const ::operations_research::IntVarAssignment& int_var_assignment(int index) const;
1265 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& int_var_assignment() const;
1269 int _internal_interval_var_assignment_size() const;
1274 ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL mutable_interval_var_assignment();
1277 const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>& _internal_interval_var_assignment() const;
1278 ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL _internal_mutable_interval_var_assignment();
1280 const ::operations_research::IntervalVarAssignment& interval_var_assignment(int index) const;
1282 const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>& interval_var_assignment() const;
1286 int _internal_objective_size() const;
1291 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL mutable_objective();
1294 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& _internal_objective() const;
1295 ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL _internal_mutable_objective();
1297 const ::operations_research::IntVarAssignment& objective(int index) const;
1299 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& objective() const;
1303 int _internal_sequence_var_assignment_size() const;
1308 ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL mutable_sequence_var_assignment();
1311 const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>& _internal_sequence_var_assignment() const;
1312 ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL _internal_mutable_sequence_var_assignment();
1314 const ::operations_research::SequenceVarAssignment& sequence_var_assignment(int index) const;
1316 const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>& sequence_var_assignment() const;
1320 const ::operations_research::WorkerInfo& worker_info() const;
1328 const ::operations_research::WorkerInfo& _internal_worker_info() const;
1338 bool _internal_is_valid() const;
1339 void _internal_set_is_valid(bool value);
1345 friend class ::google::protobuf::internal::TcParser;
1346 static const ::google::protobuf::internal::TcParseTable<3, 6,
1351 friend class ::google::protobuf::MessageLite;
1352 friend class ::google::protobuf::Arena;
1354 friend class ::google::protobuf::Arena::InternalHelper;
1355 using InternalArenaConstructable_ = void;
1356 using DestructorSkippable_ = void;
1357 struct Impl_ {
1358 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1360 ::google::protobuf::internal::InternalVisibility visibility,
1361 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1363 ::google::protobuf::internal::InternalVisibility visibility,
1364 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1366 ::google::protobuf::internal::HasBits<1> _has_bits_;
1367 ::google::protobuf::internal::CachedSize _cached_size_;
1368 ::google::protobuf::RepeatedPtrField< ::operations_research::IntVarAssignment > int_var_assignment_;
1369 ::google::protobuf::RepeatedPtrField< ::operations_research::IntervalVarAssignment > interval_var_assignment_;
1370 ::google::protobuf::RepeatedPtrField< ::operations_research::IntVarAssignment > objective_;
1371 ::google::protobuf::RepeatedPtrField< ::operations_research::SequenceVarAssignment > sequence_var_assignment_;
1374 PROTOBUF_TSAN_DECLARE_MEMBER
1377 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
1391#pragma GCC diagnostic push
1392#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1400 ::google::protobuf::internal::TSanWrite(&_impl_);
1401 _impl_.var_id_.ClearToEmpty();
1402 ClearHasBit(_impl_._has_bits_[0],
1406 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1408 return _internal_var_id();
1410template <typename Arg_, typename... Args_>
1412 ::google::protobuf::internal::TSanWrite(&_impl_);
1413 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1419 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1420 ::std::string* _s = _internal_mutable_var_id();
1424inline const ::std::string& IntVarAssignment::_internal_var_id() const {
1425 ::google::protobuf::internal::TSanRead(&_impl_);
1428inline void IntVarAssignment::_internal_set_var_id(const ::std::string& value) {
1429 ::google::protobuf::internal::TSanWrite(&_impl_);
1430 _impl_.var_id_.Set(value, GetArena());
1432inline ::std::string* PROTOBUF_NONNULL IntVarAssignment::_internal_mutable_var_id() {
1433 ::google::protobuf::internal::TSanWrite(&_impl_);
1434 return _impl_.var_id_.Mutable( GetArena());
1437 ::google::protobuf::internal::TSanWrite(&_impl_);
1439 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
1442 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1443 auto* released = _impl_.var_id_.Release();
1444 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1450 ::google::protobuf::internal::TSanWrite(&_impl_);
1452 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1454 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1456 _impl_.var_id_.SetAllocated(value, GetArena());
1457 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.var_id_.IsDefault()) {
1465 ::google::protobuf::internal::TSanWrite(&_impl_);
1466 _impl_.min_ = ::int64_t{0};
1467 ClearHasBit(_impl_._has_bits_[0],
1479inline ::int64_t IntVarAssignment::_internal_min() const {
1480 ::google::protobuf::internal::TSanRead(&_impl_);
1483inline void IntVarAssignment::_internal_set_min(::int64_t value) {
1484 ::google::protobuf::internal::TSanWrite(&_impl_);
1485 _impl_.min_ = value;
1490 ::google::protobuf::internal::TSanWrite(&_impl_);
1491 _impl_.max_ = ::int64_t{0};
1492 ClearHasBit(_impl_._has_bits_[0],
1504inline ::int64_t IntVarAssignment::_internal_max() const {
1505 ::google::protobuf::internal::TSanRead(&_impl_);
1508inline void IntVarAssignment::_internal_set_max(::int64_t value) {
1509 ::google::protobuf::internal::TSanWrite(&_impl_);
1510 _impl_.max_ = value;
1515 ::google::protobuf::internal::TSanWrite(&_impl_);
1516 _impl_.active_ = false;
1517 ClearHasBit(_impl_._has_bits_[0],
1522 return _internal_active();
1529inline bool IntVarAssignment::_internal_active() const {
1530 ::google::protobuf::internal::TSanRead(&_impl_);
1531 return _impl_.active_;
1533inline void IntVarAssignment::_internal_set_active(bool value) {
1534 ::google::protobuf::internal::TSanWrite(&_impl_);
1535 _impl_.active_ = value;
1544 ::google::protobuf::internal::TSanWrite(&_impl_);
1545 _impl_.var_id_.ClearToEmpty();
1546 ClearHasBit(_impl_._has_bits_[0],
1550 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1552 return _internal_var_id();
1554template <typename Arg_, typename... Args_>
1556 ::google::protobuf::internal::TSanWrite(&_impl_);
1557 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1558 _impl_.var_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1564 ::std::string* _s = _internal_mutable_var_id();
1568inline const ::std::string& IntervalVarAssignment::_internal_var_id() const {
1569 ::google::protobuf::internal::TSanRead(&_impl_);
1570 return _impl_.var_id_.Get();
1572inline void IntervalVarAssignment::_internal_set_var_id(const ::std::string& value) {
1573 ::google::protobuf::internal::TSanWrite(&_impl_);
1574 _impl_.var_id_.Set(value, GetArena());
1576inline ::std::string* PROTOBUF_NONNULL IntervalVarAssignment::_internal_mutable_var_id() {
1577 ::google::protobuf::internal::TSanWrite(&_impl_);
1578 return _impl_.var_id_.Mutable( GetArena());
1581 ::google::protobuf::internal::TSanWrite(&_impl_);
1583 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
1586 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1587 auto* released = _impl_.var_id_.Release();
1588 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1589 _impl_.var_id_.Set("", GetArena());
1594 ::google::protobuf::internal::TSanWrite(&_impl_);
1596 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1598 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1600 _impl_.var_id_.SetAllocated(value, GetArena());
1601 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.var_id_.IsDefault()) {
1602 _impl_.var_id_.Set("", GetArena());
1609 ::google::protobuf::internal::TSanWrite(&_impl_);
1610 _impl_.start_min_ = ::int64_t{0};
1611 ClearHasBit(_impl_._has_bits_[0],
1616 return _internal_start_min();
1619 _internal_set_start_min(value);
1620 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1623inline ::int64_t IntervalVarAssignment::_internal_start_min() const {
1624 ::google::protobuf::internal::TSanRead(&_impl_);
1625 return _impl_.start_min_;
1627inline void IntervalVarAssignment::_internal_set_start_min(::int64_t value) {
1634 ::google::protobuf::internal::TSanWrite(&_impl_);
1635 _impl_.start_max_ = ::int64_t{0};
1636 ClearHasBit(_impl_._has_bits_[0],
1641 return _internal_start_max();
1644 _internal_set_start_max(value);
1645 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1648inline ::int64_t IntervalVarAssignment::_internal_start_max() const {
1649 ::google::protobuf::internal::TSanRead(&_impl_);
1650 return _impl_.start_max_;
1652inline void IntervalVarAssignment::_internal_set_start_max(::int64_t value) {
1659 ::google::protobuf::internal::TSanWrite(&_impl_);
1660 _impl_.duration_min_ = ::int64_t{0};
1661 ClearHasBit(_impl_._has_bits_[0],
1666 return _internal_duration_min();
1669 _internal_set_duration_min(value);
1670 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1673inline ::int64_t IntervalVarAssignment::_internal_duration_min() const {
1674 ::google::protobuf::internal::TSanRead(&_impl_);
1675 return _impl_.duration_min_;
1677inline void IntervalVarAssignment::_internal_set_duration_min(::int64_t value) {
1684 ::google::protobuf::internal::TSanWrite(&_impl_);
1685 _impl_.duration_max_ = ::int64_t{0};
1686 ClearHasBit(_impl_._has_bits_[0],
1691 return _internal_duration_max();
1694 _internal_set_duration_max(value);
1695 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
1698inline ::int64_t IntervalVarAssignment::_internal_duration_max() const {
1699 ::google::protobuf::internal::TSanRead(&_impl_);
1700 return _impl_.duration_max_;
1702inline void IntervalVarAssignment::_internal_set_duration_max(::int64_t value) {
1709 ::google::protobuf::internal::TSanWrite(&_impl_);
1710 _impl_.end_min_ = ::int64_t{0};
1711 ClearHasBit(_impl_._has_bits_[0],
1716 return _internal_end_min();
1719 _internal_set_end_min(value);
1720 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
1723inline ::int64_t IntervalVarAssignment::_internal_end_min() const {
1724 ::google::protobuf::internal::TSanRead(&_impl_);
1725 return _impl_.end_min_;
1727inline void IntervalVarAssignment::_internal_set_end_min(::int64_t value) {
1734 ::google::protobuf::internal::TSanWrite(&_impl_);
1735 _impl_.end_max_ = ::int64_t{0};
1736 ClearHasBit(_impl_._has_bits_[0],
1741 return _internal_end_max();
1744 _internal_set_end_max(value);
1745 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
1748inline ::int64_t IntervalVarAssignment::_internal_end_max() const {
1749 ::google::protobuf::internal::TSanRead(&_impl_);
1750 return _impl_.end_max_;
1752inline void IntervalVarAssignment::_internal_set_end_max(::int64_t value) {
1759 ::google::protobuf::internal::TSanWrite(&_impl_);
1760 _impl_.performed_min_ = ::int64_t{0};
1761 ClearHasBit(_impl_._has_bits_[0],
1766 return _internal_performed_min();
1769 _internal_set_performed_min(value);
1770 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
1773inline ::int64_t IntervalVarAssignment::_internal_performed_min() const {
1774 ::google::protobuf::internal::TSanRead(&_impl_);
1775 return _impl_.performed_min_;
1777inline void IntervalVarAssignment::_internal_set_performed_min(::int64_t value) {
1784 ::google::protobuf::internal::TSanWrite(&_impl_);
1785 _impl_.performed_max_ = ::int64_t{0};
1786 ClearHasBit(_impl_._has_bits_[0],
1791 return _internal_performed_max();
1794 _internal_set_performed_max(value);
1795 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
1798inline ::int64_t IntervalVarAssignment::_internal_performed_max() const {
1799 ::google::protobuf::internal::TSanRead(&_impl_);
1800 return _impl_.performed_max_;
1802inline void IntervalVarAssignment::_internal_set_performed_max(::int64_t value) {
1809 ::google::protobuf::internal::TSanWrite(&_impl_);
1810 _impl_.active_ = false;
1811 ClearHasBit(_impl_._has_bits_[0],
1816 return _internal_active();
1819 _internal_set_active(value);
1820 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
1823inline bool IntervalVarAssignment::_internal_active() const {
1824 ::google::protobuf::internal::TSanRead(&_impl_);
1825 return _impl_.active_;
1827inline void IntervalVarAssignment::_internal_set_active(bool value) {
1838 ::google::protobuf::internal::TSanWrite(&_impl_);
1839 _impl_.var_id_.ClearToEmpty();
1840 ClearHasBit(_impl_._has_bits_[0],
1844 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1846 return _internal_var_id();
1848template <typename Arg_, typename... Args_>
1850 ::google::protobuf::internal::TSanWrite(&_impl_);
1851 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1852 _impl_.var_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1856 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1857 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1862inline const ::std::string& SequenceVarAssignment::_internal_var_id() const {
1863 ::google::protobuf::internal::TSanRead(&_impl_);
1864 return _impl_.var_id_.Get();
1866inline void SequenceVarAssignment::_internal_set_var_id(const ::std::string& value) {
1867 ::google::protobuf::internal::TSanWrite(&_impl_);
1868 _impl_.var_id_.Set(value, GetArena());
1870inline ::std::string* PROTOBUF_NONNULL SequenceVarAssignment::_internal_mutable_var_id() {
1871 ::google::protobuf::internal::TSanWrite(&_impl_);
1872 return _impl_.var_id_.Mutable( GetArena());
1875 ::google::protobuf::internal::TSanWrite(&_impl_);
1877 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
1880 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
1881 auto* released = _impl_.var_id_.Release();
1882 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1883 _impl_.var_id_.Set("", GetArena());
1885 return released;
1888 ::google::protobuf::internal::TSanWrite(&_impl_);
1890 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1892 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
1894 _impl_.var_id_.SetAllocated(value, GetArena());
1895 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.var_id_.IsDefault()) {
1896 _impl_.var_id_.Set("", GetArena());
1902inline int SequenceVarAssignment::_internal_forward_sequence_size() const {
1903 return _internal_forward_sequence().size();
1906 return _internal_forward_sequence_size();
1909 ::google::protobuf::internal::TSanWrite(&_impl_);
1910 _impl_.forward_sequence_.Clear();
1911 ClearHasBitForRepeated(_impl_._has_bits_[0],
1916 return _internal_forward_sequence().Get(index);
1919 _internal_mutable_forward_sequence()->Set(index, value);
1923 ::google::protobuf::internal::TSanWrite(&_impl_);
1934 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1935 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1937 ::google::protobuf::internal::TSanWrite(&_impl_);
1940inline const ::google::protobuf::RepeatedField<::int32_t>&
1941SequenceVarAssignment::_internal_forward_sequence() const {
1942 ::google::protobuf::internal::TSanRead(&_impl_);
1943 return _impl_.forward_sequence_;
1945inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1946SequenceVarAssignment::_internal_mutable_forward_sequence() {
1947 ::google::protobuf::internal::TSanRead(&_impl_);
1948 return &_impl_.forward_sequence_;
1952inline int SequenceVarAssignment::_internal_backward_sequence_size() const {
1953 return _internal_backward_sequence().size();
1956 return _internal_backward_sequence_size();
1959 ::google::protobuf::internal::TSanWrite(&_impl_);
1960 _impl_.backward_sequence_.Clear();
1961 ClearHasBitForRepeated(_impl_._has_bits_[0],
1966 return _internal_backward_sequence().Get(index);
1969 _internal_mutable_backward_sequence()->Set(index, value);
1973 ::google::protobuf::internal::TSanWrite(&_impl_);
1984 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1985 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1987 ::google::protobuf::internal::TSanWrite(&_impl_);
1990inline const ::google::protobuf::RepeatedField<::int32_t>&
1991SequenceVarAssignment::_internal_backward_sequence() const {
1992 ::google::protobuf::internal::TSanRead(&_impl_);
1993 return _impl_.backward_sequence_;
1995inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1996SequenceVarAssignment::_internal_mutable_backward_sequence() {
1997 ::google::protobuf::internal::TSanRead(&_impl_);
1998 return &_impl_.backward_sequence_;
2002inline int SequenceVarAssignment::_internal_unperformed_size() const {
2003 return _internal_unperformed().size();
2006 return _internal_unperformed_size();
2009 ::google::protobuf::internal::TSanWrite(&_impl_);
2010 _impl_.unperformed_.Clear();
2011 ClearHasBitForRepeated(_impl_._has_bits_[0],
2016 return _internal_unperformed().Get(index);
2019 _internal_mutable_unperformed()->Set(index, value);
2023 ::google::protobuf::internal::TSanWrite(&_impl_);
2034 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2035 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2037 ::google::protobuf::internal::TSanWrite(&_impl_);
2040inline const ::google::protobuf::RepeatedField<::int32_t>&
2041SequenceVarAssignment::_internal_unperformed() const {
2042 ::google::protobuf::internal::TSanRead(&_impl_);
2043 return _impl_.unperformed_;
2045inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2046SequenceVarAssignment::_internal_mutable_unperformed() {
2047 ::google::protobuf::internal::TSanRead(&_impl_);
2048 return &_impl_.unperformed_;
2053 ::google::protobuf::internal::TSanWrite(&_impl_);
2054 _impl_.active_ = false;
2055 ClearHasBit(_impl_._has_bits_[0],
2060 return _internal_active();
2063 _internal_set_active(value);
2064 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2067inline bool SequenceVarAssignment::_internal_active() const {
2068 ::google::protobuf::internal::TSanRead(&_impl_);
2071inline void SequenceVarAssignment::_internal_set_active(bool value) {
2072 ::google::protobuf::internal::TSanWrite(&_impl_);
2082 ::google::protobuf::internal::TSanWrite(&_impl_);
2083 _impl_.worker_id_ = 0;
2084 ClearHasBit(_impl_._has_bits_[0],
2089 return _internal_worker_id();
2092 _internal_set_worker_id(value);
2093 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2096inline ::int32_t WorkerInfo::_internal_worker_id() const {
2097 ::google::protobuf::internal::TSanRead(&_impl_);
2098 return _impl_.worker_id_;
2100inline void WorkerInfo::_internal_set_worker_id(::int32_t value) {
2101 ::google::protobuf::internal::TSanWrite(&_impl_);
2102 _impl_.worker_id_ = value;
2108 _impl_.bns_.ClearToEmpty();
2109 ClearHasBit(_impl_._has_bits_[0],
2113 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2117template <typename Arg_, typename... Args_>
2119 ::google::protobuf::internal::TSanWrite(&_impl_);
2120 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2121 _impl_.bns_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2125 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2126 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2131inline const ::std::string& WorkerInfo::_internal_bns() const {
2132 ::google::protobuf::internal::TSanRead(&_impl_);
2133 return _impl_.bns_.Get();
2135inline void WorkerInfo::_internal_set_bns(const ::std::string& value) {
2136 ::google::protobuf::internal::TSanWrite(&_impl_);
2137 _impl_.bns_.Set(value, GetArena());
2139inline ::std::string* PROTOBUF_NONNULL WorkerInfo::_internal_mutable_bns() {
2140 ::google::protobuf::internal::TSanWrite(&_impl_);
2141 return _impl_.bns_.Mutable( GetArena());
2144 ::google::protobuf::internal::TSanWrite(&_impl_);
2146 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
2149 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2150 auto* released = _impl_.bns_.Release();
2151 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2152 _impl_.bns_.Set("", GetArena());
2157 ::google::protobuf::internal::TSanWrite(&_impl_);
2159 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2161 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2163 _impl_.bns_.SetAllocated(value, GetArena());
2164 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.bns_.IsDefault()) {
2165 _impl_.bns_.Set("", GetArena());
2175inline int AssignmentProto::_internal_int_var_assignment_size() const {
2176 return _internal_int_var_assignment().size();
2182 ::google::protobuf::internal::TSanWrite(&_impl_);
2183 _impl_.int_var_assignment_.Clear();
2184 ClearHasBitForRepeated(_impl_._has_bits_[0],
2188 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2190 return _internal_mutable_int_var_assignment()->Mutable(index);
2194 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2196 ::google::protobuf::internal::TSanWrite(&_impl_);
2200 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2205 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2206 ::google::protobuf::internal::TSanWrite(&_impl_);
2208 _internal_mutable_int_var_assignment()->InternalAddWithArena(
2209 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2210 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2217 return _internal_int_var_assignment();
2219inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>&
2220AssignmentProto::_internal_int_var_assignment() const {
2221 ::google::protobuf::internal::TSanRead(&_impl_);
2222 return _impl_.int_var_assignment_;
2224inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL
2225AssignmentProto::_internal_mutable_int_var_assignment() {
2226 ::google::protobuf::internal::TSanRead(&_impl_);
2232 return _internal_interval_var_assignment().size();
2235 return _internal_interval_var_assignment_size();
2238 ::google::protobuf::internal::TSanWrite(&_impl_);
2239 _impl_.interval_var_assignment_.Clear();
2240 ClearHasBitForRepeated(_impl_._has_bits_[0],
2244 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2246 return _internal_mutable_interval_var_assignment()->Mutable(index);
2250 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2252 ::google::protobuf::internal::TSanWrite(&_impl_);
2256 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2261 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2262 ::google::protobuf::internal::TSanWrite(&_impl_);
2264 _internal_mutable_interval_var_assignment()->InternalAddWithArena(
2265 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2266 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2273 return _internal_interval_var_assignment();
2275inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>&
2276AssignmentProto::_internal_interval_var_assignment() const {
2277 ::google::protobuf::internal::TSanRead(&_impl_);
2278 return _impl_.interval_var_assignment_;
2280inline ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment>* PROTOBUF_NONNULL
2281AssignmentProto::_internal_mutable_interval_var_assignment() {
2282 ::google::protobuf::internal::TSanRead(&_impl_);
2283 return &_impl_.interval_var_assignment_;
2287inline int AssignmentProto::_internal_sequence_var_assignment_size() const {
2288 return _internal_sequence_var_assignment().size();
2291 return _internal_sequence_var_assignment_size();
2294 ::google::protobuf::internal::TSanWrite(&_impl_);
2295 _impl_.sequence_var_assignment_.Clear();
2296 ClearHasBitForRepeated(_impl_._has_bits_[0],
2300 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2302 return _internal_mutable_sequence_var_assignment()->Mutable(index);
2306 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
2308 ::google::protobuf::internal::TSanWrite(&_impl_);
2312 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2317 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2318 ::google::protobuf::internal::TSanWrite(&_impl_);
2320 _internal_mutable_sequence_var_assignment()->InternalAddWithArena(
2321 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2322 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
2329 return _internal_sequence_var_assignment();
2331inline const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>&
2332AssignmentProto::_internal_sequence_var_assignment() const {
2333 ::google::protobuf::internal::TSanRead(&_impl_);
2334 return _impl_.sequence_var_assignment_;
2336inline ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment>* PROTOBUF_NONNULL
2337AssignmentProto::_internal_mutable_sequence_var_assignment() {
2338 ::google::protobuf::internal::TSanRead(&_impl_);
2339 return &_impl_.sequence_var_assignment_;
2343inline int AssignmentProto::_internal_objective_size() const {
2344 return _internal_objective().size();
2347 return _internal_objective_size();
2350 ::google::protobuf::internal::TSanWrite(&_impl_);
2351 _impl_.objective_.Clear();
2352 ClearHasBitForRepeated(_impl_._has_bits_[0],
2356 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2358 return _internal_mutable_objective()->Mutable(index);
2360inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL AssignmentProto::mutable_objective()
2362 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2364 ::google::protobuf::internal::TSanWrite(&_impl_);
2373 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2374 ::google::protobuf::internal::TSanWrite(&_impl_);
2376 _internal_mutable_objective()->InternalAddWithArena(
2377 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2378 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2380 return _add;
2382inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>& AssignmentProto::objective() const
2385 return _internal_objective();
2387inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>&
2388AssignmentProto::_internal_objective() const {
2389 ::google::protobuf::internal::TSanRead(&_impl_);
2390 return _impl_.objective_;
2392inline ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>* PROTOBUF_NONNULL
2393AssignmentProto::_internal_mutable_objective() {
2394 ::google::protobuf::internal::TSanRead(&_impl_);
2400 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
2401 PROTOBUF_ASSUME(!value || _impl_.worker_info_ != nullptr);
2405 ::google::protobuf::internal::TSanWrite(&_impl_);
2406 if (_impl_.worker_info_ != nullptr) _impl_.worker_info_->Clear();
2407 ClearHasBit(_impl_._has_bits_[0],
2410inline const ::operations_research::WorkerInfo& AssignmentProto::_internal_worker_info() const {
2411 ::google::protobuf::internal::TSanRead(&_impl_);
2412 const ::operations_research::WorkerInfo* p = _impl_.worker_info_;
2415inline const ::operations_research::WorkerInfo& AssignmentProto::worker_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2423 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.worker_info_);
2427 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2434 ::google::protobuf::internal::TSanWrite(&_impl_);
2436 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2438 _impl_.worker_info_ = nullptr;
2439 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2440 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2441 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2446 if (GetArena() != nullptr) {
2447 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2453 ::google::protobuf::internal::TSanWrite(&_impl_);
2456 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2457 ::operations_research::WorkerInfo* temp = _impl_.worker_info_;
2458 _impl_.worker_info_ = nullptr;
2461inline ::operations_research::WorkerInfo* PROTOBUF_NONNULL AssignmentProto::_internal_mutable_worker_info() {
2462 ::google::protobuf::internal::TSanWrite(&_impl_);
2463 if (_impl_.worker_info_ == nullptr) {
2464 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::WorkerInfo>(GetArena());
2467 return _impl_.worker_info_;
2470 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2471 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2478 ::google::protobuf::internal::TSanWrite(&_impl_);
2479 if (message_arena == nullptr) {
2480 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.worker_info_);
2485 if (message_arena != submessage_arena) {
2486 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2488 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2490 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2499 ::google::protobuf::internal::TSanWrite(&_impl_);
2500 _impl_.is_valid_ = false;
2501 ClearHasBit(_impl_._has_bits_[0],
2509 _internal_set_is_valid(value);
2510 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2513inline bool AssignmentProto::_internal_is_valid() const {
2514 ::google::protobuf::internal::TSanRead(&_impl_);
2515 return _impl_.is_valid_;
2517inline void AssignmentProto::_internal_set_is_valid(bool value) {
2518 ::google::protobuf::internal::TSanWrite(&_impl_);
2519 _impl_.is_valid_ = value;
2532#include "google/protobuf/port_undef.inc"
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fassignment_2eproto
Definition assignment.pb.h:1107
::size_t ByteSizeLong() const final
Impl_ _impl_
Definition assignment.pb.h:1382
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > & objective() const
Definition assignment.pb.h:2395
const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment > & interval_var_assignment() const
Definition assignment.pb.h:2283
::operations_research::WorkerInfo *PROTOBUF_NULLABLE release_worker_info()
Definition assignment.pb.h:2446
void unsafe_arena_set_allocated_worker_info(::operations_research::WorkerInfo *PROTOBUF_NULLABLE value)
Definition assignment.pb.h:2432
::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > *PROTOBUF_NONNULL mutable_int_var_assignment()
Definition assignment.pb.h:2205
int objective_size() const
Definition assignment.pb.h:2359
const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment > & sequence_var_assignment() const
Definition assignment.pb.h:2339
void Swap(AssignmentProto *PROTOBUF_NONNULL other)
Definition assignment.pb.h:1163
AssignmentProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition assignment.pb.h:1179
::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment > *PROTOBUF_NONNULL mutable_sequence_var_assignment()
Definition assignment.pb.h:2317
AssignmentProto & operator=(const AssignmentProto &from)
Definition assignment.pb.h:1125
::operations_research::IntVarAssignment *PROTOBUF_NONNULL mutable_objective(int index)
Definition assignment.pb.h:2368
static const AssignmentProto & default_instance()
Definition assignment.pb.h:1157
void clear_objective()
Definition assignment.pb.h:2362
void clear_int_var_assignment()
Definition assignment.pb.h:2194
void set_allocated_worker_info(::operations_research::WorkerInfo *PROTOBUF_NULLABLE value)
Definition assignment.pb.h:2489
::operations_research::IntervalVarAssignment *PROTOBUF_NONNULL mutable_interval_var_assignment(int index)
Definition assignment.pb.h:2256
::operations_research::SequenceVarAssignment *PROTOBUF_NONNULL add_sequence_var_assignment()
Definition assignment.pb.h:2329
void clear_interval_var_assignment()
Definition assignment.pb.h:2250
::operations_research::WorkerInfo *PROTOBUF_NONNULL mutable_worker_info()
Definition assignment.pb.h:2482
const ::operations_research::SequenceVarAssignment & sequence_var_assignment(int index) const
Definition assignment.pb.h:2324
const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > & int_var_assignment() const
Definition assignment.pb.h:2227
int interval_var_assignment_size() const
Definition assignment.pb.h:2247
const ::operations_research::IntVarAssignment & objective(int index) const
Definition assignment.pb.h:2380
bool IsInitialized() const
Definition assignment.pb.h:1192
bool has_worker_info() const
Definition assignment.pb.h:2412
::operations_research::IntervalVarAssignment *PROTOBUF_NONNULL add_interval_var_assignment()
Definition assignment.pb.h:2273
const ::operations_research::WorkerInfo & worker_info() const
Definition assignment.pb.h:2428
void CopyFrom(const AssignmentProto &from)
bool is_valid() const
Definition assignment.pb.h:2517
void MergeFrom(const AssignmentProto &from)
Definition assignment.pb.h:1185
::operations_research::WorkerInfo *PROTOBUF_NULLABLE unsafe_arena_release_worker_info()
Definition assignment.pb.h:2465
::operations_research::IntVarAssignment *PROTOBUF_NONNULL mutable_int_var_assignment(int index)
Definition assignment.pb.h:2200
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition assignment.pb.h:1154
::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment > *PROTOBUF_NONNULL mutable_interval_var_assignment()
Definition assignment.pb.h:2261
::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > *PROTOBUF_NONNULL mutable_objective()
Definition assignment.pb.h:2373
const ::operations_research::IntervalVarAssignment & interval_var_assignment(int index) const
Definition assignment.pb.h:2268
int int_var_assignment_size() const
Definition assignment.pb.h:2191
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition assignment.pb.h:1151
void clear_is_valid()
Definition assignment.pb.h:2511
::operations_research::IntVarAssignment *PROTOBUF_NONNULL add_int_var_assignment()
Definition assignment.pb.h:2217
AssignmentProto()
Definition assignment.pb.h:1109
void clear_worker_info()
Definition assignment.pb.h:2417
int sequence_var_assignment_size() const
Definition assignment.pb.h:2303
::operations_research::IntVarAssignment *PROTOBUF_NONNULL add_objective()
Definition assignment.pb.h:2385
const ::operations_research::IntVarAssignment & int_var_assignment(int index) const
Definition assignment.pb.h:2212
::operations_research::SequenceVarAssignment *PROTOBUF_NONNULL mutable_sequence_var_assignment(int index)
Definition assignment.pb.h:2312
friend class ::google::protobuf::Arena
Definition assignment.pb.h:1358
void clear_sequence_var_assignment()
Definition assignment.pb.h:2306
void set_is_valid(bool value)
Definition assignment.pb.h:2521
Definition assignment.pb.h:875
void clear_max()
Definition assignment.pb.h:1498
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition assignment.pb.h:916
bool active() const
Definition assignment.pb.h:1529
IntVarAssignment *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition assignment.pb.h:947
IntVarAssignment & operator=(const IntVarAssignment &from)
Definition assignment.pb.h:893
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition assignment.pb.h:919
void set_max(::int64_t value)
Definition assignment.pb.h:1508
::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)
Definition assignment.pb.h:931
::size_t ByteSizeLong() const final
bool IsInitialized() const
Definition assignment.pb.h:960
::int64_t max() const
Definition assignment.pb.h:1504
const ::std::string & var_id() const
Definition assignment.pb.h:1414
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
Definition assignment.pb.h:1458
friend void swap(IntVarAssignment &a, IntVarAssignment &b)
Definition assignment.pb.h:930
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition assignment.pb.h:907
::std::string *PROTOBUF_NONNULL mutable_var_id()
Definition assignment.pb.h:1426
void clear_var_id()
Definition assignment.pb.h:1408
void MergeFrom(const IntVarAssignment &from)
Definition assignment.pb.h:953
void CopyFrom(const IntVarAssignment &from)
::int64_t min() const
Definition assignment.pb.h:1479
void set_active(bool value)
Definition assignment.pb.h:1533
void set_var_id(Arg_ &&arg, Args_... args)
void set_min(::int64_t value)
Definition assignment.pb.h:1483
void clear_min()
Definition assignment.pb.h:1473
IntVarAssignment()
Definition assignment.pb.h:877
void clear_active()
Definition assignment.pb.h:1523
Impl_ _impl_
Definition assignment.pb.h:1098
::std::string *PROTOBUF_NULLABLE release_var_id()
Definition assignment.pb.h:1445
Definition assignment.pb.h:571
void set_end_max(::int64_t value)
Definition assignment.pb.h:1753
friend class ::google::protobuf::MessageLite
Definition assignment.pb.h:837
::int64_t start_min() const
Definition assignment.pb.h:1624
::int64_t duration_max() const
Definition assignment.pb.h:1699
void clear_performed_max()
Definition assignment.pb.h:1793
::int64_t performed_max() const
Definition assignment.pb.h:1799
void clear_end_max()
Definition assignment.pb.h:1743
Impl_ _impl_
Definition assignment.pb.h:866
static constexpr int kIndexInFileMessages
Definition assignment.pb.h:625
void clear_performed_min()
Definition assignment.pb.h:1768
PROTOBUF_CONSTEXPR IntervalVarAssignment(::google::protobuf::internal::ConstantInitialized)
void set_duration_max(::int64_t value)
Definition assignment.pb.h:1703
void clear_active()
Definition assignment.pb.h:1818
IntervalVarAssignment & operator=(const IntervalVarAssignment &from)
Definition assignment.pb.h:589
void set_end_min(::int64_t value)
Definition assignment.pb.h:1728
IntervalVarAssignment()
Definition assignment.pb.h:573
void MergeFrom(const IntervalVarAssignment &from)
Definition assignment.pb.h:649
void CopyFrom(const IntervalVarAssignment &from)
@ kActiveFieldNumber
Definition assignment.pb.h:721
@ kEndMinFieldNumber
Definition assignment.pb.h:717
@ kDurationMaxFieldNumber
Definition assignment.pb.h:716
@ kEndMaxFieldNumber
Definition assignment.pb.h:718
@ kPerformedMinFieldNumber
Definition assignment.pb.h:719
@ kPerformedMaxFieldNumber
Definition assignment.pb.h:720
void clear_end_min()
Definition assignment.pb.h:1718
::int64_t duration_min() const
Definition assignment.pb.h:1674
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition assignment.pb.h:612
void set_var_id(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_var_id()
Definition assignment.pb.h:1571
::int64_t start_max() const
Definition assignment.pb.h:1649
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition assignment.pb.h:603
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition assignment.pb.h:615
void set_active(bool value)
Definition assignment.pb.h:1828
::std::string *PROTOBUF_NULLABLE release_var_id()
Definition assignment.pb.h:1590
bool IsInitialized() const
Definition assignment.pb.h:656
void set_start_min(::int64_t value)
Definition assignment.pb.h:1628
void set_performed_max(::int64_t value)
Definition assignment.pb.h:1803
const ::std::string & var_id() const
Definition assignment.pb.h:1559
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_duration_min(::int64_t value)
Definition assignment.pb.h:1678
void clear_duration_min()
Definition assignment.pb.h:1668
void Swap(IntervalVarAssignment *PROTOBUF_NONNULL other)
Definition assignment.pb.h:627
bool active() const
Definition assignment.pb.h:1824
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition assignment.pb.h:607
void clear_start_min()
Definition assignment.pb.h:1618
void clear_var_id()
Definition assignment.pb.h:1553
void set_performed_min(::int64_t value)
Definition assignment.pb.h:1778
void set_start_max(::int64_t value)
Definition assignment.pb.h:1653
friend void swap(IntervalVarAssignment &a, IntervalVarAssignment &b)
Definition assignment.pb.h:626
void clear_start_max()
Definition assignment.pb.h:1643
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
Definition assignment.pb.h:1603
::size_t ByteSizeLong() const final
::int64_t performed_min() const
Definition assignment.pb.h:1774
::int64_t end_min() const
Definition assignment.pb.h:1724
::int64_t end_max() const
Definition assignment.pb.h:1749
static const IntervalVarAssignment & default_instance()
Definition assignment.pb.h:621
void clear_duration_max()
Definition assignment.pb.h:1693
Definition assignment.pb.h:300
void set_backward_sequence(int index, ::int32_t value)
Definition assignment.pb.h:1979
const ::google::protobuf::RepeatedField<::int32_t > & forward_sequence() const
Definition assignment.pb.h:1939
friend class ::google::protobuf::MessageLite
Definition assignment.pb.h:535
void set_forward_sequence(int index, ::int32_t value)
Definition assignment.pb.h:1929
const ::std::string & var_id() const
Definition assignment.pb.h:1854
int forward_sequence_size() const
Definition assignment.pb.h:1916
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
Definition assignment.pb.h:1898
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_forward_sequence()
Definition assignment.pb.h:1944
void clear_backward_sequence()
Definition assignment.pb.h:1969
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition assignment.pb.h:344
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_backward_sequence()
Definition assignment.pb.h:1994
SequenceVarAssignment & operator=(const SequenceVarAssignment &from)
Definition assignment.pb.h:318
SequenceVarAssignment()
Definition assignment.pb.h:302
void set_active(bool value)
Definition assignment.pb.h:2073
::int32_t forward_sequence(int index) const
Definition assignment.pb.h:1925
void clear_unperformed()
Definition assignment.pb.h:2019
bool IsInitialized() const
Definition assignment.pb.h:385
void clear_active()
Definition assignment.pb.h:2063
void add_forward_sequence(::int32_t value)
Definition assignment.pb.h:1933
void Swap(SequenceVarAssignment *PROTOBUF_NONNULL other)
Definition assignment.pb.h:356
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_unperformed()
Definition assignment.pb.h:2044
Impl_ _impl_
Definition assignment.pb.h:562
static const SequenceVarAssignment & default_instance()
Definition assignment.pb.h:350
const ::google::protobuf::RepeatedField<::int32_t > & backward_sequence() const
Definition assignment.pb.h:1989
PROTOBUF_CONSTEXPR SequenceVarAssignment(::google::protobuf::internal::ConstantInitialized)
void MergeFrom(const SequenceVarAssignment &from)
Definition assignment.pb.h:378
::std::string *PROTOBUF_NONNULL mutable_var_id()
Definition assignment.pb.h:1866
::int32_t backward_sequence(int index) const
Definition assignment.pb.h:1975
void clear_var_id()
Definition assignment.pb.h:1848
::std::string *PROTOBUF_NULLABLE release_var_id()
Definition assignment.pb.h:1885
void set_var_id(Arg_ &&arg, Args_... args)
void CopyFrom(const SequenceVarAssignment &from)
int backward_sequence_size() const
Definition assignment.pb.h:1966
::size_t ByteSizeLong() const final
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition assignment.pb.h:347
void add_backward_sequence(::int32_t value)
Definition assignment.pb.h:1983
void set_unperformed(int index, ::int32_t value)
Definition assignment.pb.h:2029
const ::google::protobuf::RepeatedField<::int32_t > & unperformed() const
Definition assignment.pb.h:2039
void clear_forward_sequence()
Definition assignment.pb.h:1919
bool active() const
Definition assignment.pb.h:2069
int unperformed_size() const
Definition assignment.pb.h:2016
@ kActiveFieldNumber
Definition assignment.pb.h:445
@ kVarIdFieldNumber
Definition assignment.pb.h:444
void add_unperformed(::int32_t value)
Definition assignment.pb.h:2033
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition assignment.pb.h:332
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::int32_t unperformed(int index) const
Definition assignment.pb.h:2025
Definition assignment.pb.h:92
friend class ::google::protobuf::MessageLite
Definition assignment.pb.h:270
WorkerInfo & operator=(const WorkerInfo &from)
Definition assignment.pb.h:110
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition assignment.pb.h:124
void set_worker_id(::int32_t value)
Definition assignment.pb.h:2103
::int32_t worker_id() const
Definition assignment.pb.h:2099
WorkerInfo(const WorkerInfo &from)
Definition assignment.pb.h:107
void set_allocated_bns(::std::string *PROTOBUF_NULLABLE value)
Definition assignment.pb.h:2168
void set_bns(Arg_ &&arg, Args_... args)
PROTOBUF_CONSTEXPR WorkerInfo(::google::protobuf::internal::ConstantInitialized)
WorkerInfo()
Definition assignment.pb.h:94
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const WorkerInfo &from)
Impl_ _impl_
Definition assignment.pb.h:291
void clear_bns()
Definition assignment.pb.h:2118
void clear_worker_id()
Definition assignment.pb.h:2093
::std::string *PROTOBUF_NONNULL mutable_bns()
Definition assignment.pb.h:2136
bool IsInitialized() const
Definition assignment.pb.h:177
::std::string *PROTOBUF_NULLABLE release_bns()
Definition assignment.pb.h:2155
const ::std::string & bns() const
Definition assignment.pb.h:2124
void Swap(WorkerInfo *PROTOBUF_NONNULL other)
Definition assignment.pb.h:148
::absl::string_view GetAnyMessageName()
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_