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
89class OR_PROTO_DLL
WorkerInfo final :
public ::google::protobuf::Message
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);
113 if (
this == &from)
return *
this;
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()
127 ABSL_ATTRIBUTE_LIFETIME_BOUND {
128 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
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;
144 static constexpr int kIndexInFileMessages = 3;
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) {
155 if (other ==
this)
return;
156 ABSL_DCHECK(GetArena() == other->GetArena());
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;
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);
178 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
179 #if defined(PROTOBUF_CUSTOM_VTABLE)
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);
204 void InternalSwap(
WorkerInfo* PROTOBUF_NONNULL other);
206 template <
typename T>
208 static ::absl::string_view FullMessageName() {
return "operations_research.WorkerInfo"; }
210 explicit WorkerInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
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;
232 kWorkerIdFieldNumber = 1,
236 const ::std::string&
bns()
const;
237 template <
typename Arg_ = const ::std::string&,
typename... Args_>
238 void set_bns(Arg_&& arg, Args_... args);
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;
276 inline explicit Impl_(
277 ::google::protobuf::internal::InternalVisibility visibility,
278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
279 inline explicit Impl_(
280 ::google::protobuf::internal::InternalVisibility visibility,
281 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
283 ::google::protobuf::internal::HasBits<1> _has_bits_;
284 ::google::protobuf::internal::CachedSize _cached_size_;
285 ::google::protobuf::internal::ArenaStringPtr bns_;
286 ::int32_t worker_id_;
287 PROTOBUF_TSAN_DECLARE_MEMBER
289 union { Impl_ _impl_; };
290 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
302#if defined(PROTOBUF_CUSTOM_VTABLE)
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())) {
329 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
330 ABSL_ATTRIBUTE_LIFETIME_BOUND {
331 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
333 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
334 ABSL_ATTRIBUTE_LIFETIME_BOUND {
335 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
338 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
339 return GetDescriptor();
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())) {
358 ::google::protobuf::internal::GenericSwap(
this, other);
361 void UnsafeArenaSwap(SequenceVarAssignment* PROTOBUF_NONNULL other) {
362 if (other ==
this)
return;
363 ABSL_DCHECK(GetArena() == other->GetArena());
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;
374 using ::google::protobuf::Message::MergeFrom;
378 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
379 const ::google::protobuf::MessageLite& from_msg);
385 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
386 #if defined(PROTOBUF_CUSTOM_VTABLE)
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);
413 template <
typename T>
415 static ::absl::string_view FullMessageName() {
return "operations_research.SequenceVarAssignment"; }
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;
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;
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_>
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;
534 template <
typename T>
535 friend class ::google::protobuf::Arena::InternalHelper;
536 using InternalArenaConstructable_ = void;
537 using DestructorSkippable_ = void;
539 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
540 inline explicit Impl_(
541 ::google::protobuf::internal::InternalVisibility visibility,
542 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
543 inline explicit Impl_(
544 ::google::protobuf::internal::InternalVisibility visibility,
545 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
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
559 union { Impl_ _impl_; };
560 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto;
572#if defined(PROTOBUF_CUSTOM_VTABLE)
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() {
614 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
624 if (other ==
this)
return;
625 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
628 ::google::protobuf::internal::GenericSwap(
this, other);
631 void UnsafeArenaSwap(IntervalVarAssignment* PROTOBUF_NONNULL other) {
632 if (other ==
this)
return;
633 ABSL_DCHECK(GetArena() == other->GetArena());
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;
644 using ::google::protobuf::Message::MergeFrom;
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);
683 template <
typename T>
685 static ::absl::string_view FullMessageName() {
return "operations_research.IntervalVarAssignment"; }
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;
708 kVarIdFieldNumber = 1,
709 kStartMinFieldNumber = 2,
710 kStartMaxFieldNumber = 3,
711 kDurationMinFieldNumber = 4,
722 template <
typename Arg_ = const ::std::string&,
typename... Args_>
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);
780 ::int64_t _internal_end_min()
const;
781 void _internal_set_end_min(::int64_t value);
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;
835 template <
typename T>
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;
841 inline explicit Impl_(
842 ::google::protobuf::internal::InternalVisibility visibility,
843 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
844 inline explicit Impl_(
845 ::google::protobuf::internal::InternalVisibility visibility,
846 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
848 ::google::protobuf::internal::HasBits<1> _has_bits_;
849 ::google::protobuf::internal::CachedSize _cached_size_;
850 ::google::protobuf::internal::ArenaStringPtr var_id_;
851 ::int64_t start_min_;
852 ::int64_t start_max_;
853 ::int64_t duration_min_;
854 ::int64_t duration_max_;
857 ::int64_t performed_min_;
858 ::int64_t performed_max_;
860 PROTOBUF_TSAN_DECLARE_MEMBER
862 union { Impl_ _impl_; };
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) {
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)) {}
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;
917 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
918 return default_instance().GetMetadata().reflection;
924 static constexpr int kIndexInFileMessages = 0;
927 if (other ==
this)
return;
928 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
931 ::google::protobuf::internal::GenericSwap(
this, other);
934 void UnsafeArenaSwap(IntVarAssignment* PROTOBUF_NONNULL other) {
935 if (other ==
this)
return;
936 ABSL_DCHECK(GetArena() == other->GetArena());
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);
986 template <
typename T>
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;
1011 kVarIdFieldNumber = 1,
1012 kMinFieldNumber = 2,
1013 kMaxFieldNumber = 3,
1014 kActiveFieldNumber = 4,
1019 template <
typename Arg_ = const ::std::string&,
typename... Args_>
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);
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;
1072 template <
typename T>
1073 friend class ::google::protobuf::Arena::InternalHelper;
1074 using InternalArenaConstructable_ = void;
1075 using DestructorSkippable_ = void;
1077 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1078 inline explicit Impl_(
1079 ::google::protobuf::internal::InternalVisibility visibility,
1080 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1081 inline explicit Impl_(
1082 ::google::protobuf::internal::InternalVisibility visibility,
1083 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
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
1093 union { Impl_ _impl_; };
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) {
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) {
1124 if (
this == &from)
return *
this;
1125 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1126 InternalSwap(&from);
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() {
1145 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1146 return default_instance().GetMetadata().descriptor;
1155 static constexpr int kIndexInFileMessages = 4;
1158 if (other ==
this)
return;
1159 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1160 InternalSwap(other);
1162 ::google::protobuf::internal::GenericSwap(
this, other);
1165 void UnsafeArenaSwap(AssignmentProto* PROTOBUF_NONNULL other) {
1166 if (other ==
this)
return;
1167 ABSL_DCHECK(GetArena() == other->GetArena());
1168 InternalSwap(other);
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)
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);
1217 template <
typename T>
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,
1247 kIsValidFieldNumber = 5,
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();
1265 const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>&
int_var_assignment()
const;
1269 int _internal_interval_var_assignment_size()
const;
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();
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;
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();
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;
1353 template <
typename T>
1354 friend class ::google::protobuf::Arena::InternalHelper;
1355 using InternalArenaConstructable_ = void;
1356 using DestructorSkippable_ = void;
1358 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1359 inline explicit Impl_(
1360 ::google::protobuf::internal::InternalVisibility visibility,
1361 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1362 inline explicit Impl_(
1363 ::google::protobuf::internal::InternalVisibility visibility,
1364 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
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
1376 union { Impl_ _impl_; };
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);
1414 _impl_.var_id_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
1418 ABSL_ATTRIBUTE_LIFETIME_BOUND {
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_);
1451 if (value !=
nullptr) {
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],
1472 return _internal_min();
1475 _internal_set_min(value);
1476 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
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_);
1490 ::google::protobuf::internal::TSanWrite(&
_impl_);
1491 _impl_.max_ = ::int64_t{0};
1492 ClearHasBit(
_impl_._has_bits_[0],
1497 return _internal_max();
1500 _internal_set_max(value);
1501 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
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_);
1515 ::google::protobuf::internal::TSanWrite(&
_impl_);
1517 ClearHasBit(
_impl_._has_bits_[0],
1522 return _internal_active();
1525 _internal_set_active(value);
1526 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
1529inline bool IntVarAssignment::_internal_active()
const {
1530 ::google::protobuf::internal::TSanRead(&
_impl_);
1533inline void IntVarAssignment::_internal_set_active(
bool value) {
1534 ::google::protobuf::internal::TSanWrite(&
_impl_);
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());
1562 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1563 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
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_);
1595 if (value !=
nullptr) {
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) {
1628 ::google::protobuf::internal::TSanWrite(&
_impl_);
1629 _impl_.start_min_ = 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) {
1653 ::google::protobuf::internal::TSanWrite(&
_impl_);
1654 _impl_.start_max_ = 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) {
1678 ::google::protobuf::internal::TSanWrite(&
_impl_);
1679 _impl_.duration_min_ = 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) {
1703 ::google::protobuf::internal::TSanWrite(&
_impl_);
1704 _impl_.duration_max_ = 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_);
1727inline void IntervalVarAssignment::_internal_set_end_min(::int64_t value) {
1728 ::google::protobuf::internal::TSanWrite(&
_impl_);
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_);
1752inline void IntervalVarAssignment::_internal_set_end_max(::int64_t value) {
1753 ::google::protobuf::internal::TSanWrite(&
_impl_);
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) {
1778 ::google::protobuf::internal::TSanWrite(&
_impl_);
1779 _impl_.performed_min_ = 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) {
1803 ::google::protobuf::internal::TSanWrite(&
_impl_);
1804 _impl_.performed_max_ = value;
1809 ::google::protobuf::internal::TSanWrite(&
_impl_);
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_);
1827inline void IntervalVarAssignment::_internal_set_active(
bool value) {
1828 ::google::protobuf::internal::TSanWrite(&
_impl_);
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);
1858 ::std::string* _s = _internal_mutable_var_id();
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());
1888 ::google::protobuf::internal::TSanWrite(&
_impl_);
1889 if (value !=
nullptr) {
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_);
1924 _internal_mutable_forward_sequence()->Add(value);
1925 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
1929 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1931 return _internal_forward_sequence();
1934 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1935 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
1937 ::google::protobuf::internal::TSanWrite(&
_impl_);
1938 return _internal_mutable_forward_sequence();
1940inline const ::google::protobuf::RepeatedField<::int32_t>&
1941SequenceVarAssignment::_internal_forward_sequence()
const {
1942 ::google::protobuf::internal::TSanRead(&
_impl_);
1943 return _impl_.forward_sequence_;
1945inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1946SequenceVarAssignment::_internal_mutable_forward_sequence() {
1947 ::google::protobuf::internal::TSanRead(&
_impl_);
1948 return &
_impl_.forward_sequence_;
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_);
1974 _internal_mutable_backward_sequence()->Add(value);
1975 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
1979 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1981 return _internal_backward_sequence();
1984 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1985 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
1987 ::google::protobuf::internal::TSanWrite(&
_impl_);
1988 return _internal_mutable_backward_sequence();
1990inline const ::google::protobuf::RepeatedField<::int32_t>&
1991SequenceVarAssignment::_internal_backward_sequence()
const {
1992 ::google::protobuf::internal::TSanRead(&
_impl_);
1993 return _impl_.backward_sequence_;
1995inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1996SequenceVarAssignment::_internal_mutable_backward_sequence() {
1997 ::google::protobuf::internal::TSanRead(&
_impl_);
1998 return &
_impl_.backward_sequence_;
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_);
2024 _internal_mutable_unperformed()->Add(value);
2025 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2029 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2031 return _internal_unperformed();
2034 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2035 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2037 ::google::protobuf::internal::TSanWrite(&
_impl_);
2038 return _internal_mutable_unperformed();
2040inline const ::google::protobuf::RepeatedField<::int32_t>&
2041SequenceVarAssignment::_internal_unperformed()
const {
2042 ::google::protobuf::internal::TSanRead(&
_impl_);
2043 return _impl_.unperformed_;
2045inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2046SequenceVarAssignment::_internal_mutable_unperformed() {
2047 ::google::protobuf::internal::TSanRead(&
_impl_);
2048 return &
_impl_.unperformed_;
2053 ::google::protobuf::internal::TSanWrite(&
_impl_);
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_);
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;
2107 ::google::protobuf::internal::TSanWrite(&
_impl_);
2108 _impl_.bns_.ClearToEmpty();
2109 ClearHasBit(
_impl_._has_bits_[0],
2113 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2115 return _internal_bns();
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);
2127 ::std::string* _s = _internal_mutable_bns();
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_);
2158 if (value !=
nullptr) {
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();
2179 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);
2193 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2194 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2196 ::google::protobuf::internal::TSanWrite(&
_impl_);
2197 return _internal_mutable_int_var_assignment();
2200 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2202 return _internal_int_var_assignment().Get(index);
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);
2215 ABSL_ATTRIBUTE_LIFETIME_BOUND {
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_);
2231inline int AssignmentProto::_internal_interval_var_assignment_size()
const {
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);
2249 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2250 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2252 ::google::protobuf::internal::TSanWrite(&
_impl_);
2253 return _internal_mutable_interval_var_assignment();
2256 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2258 return _internal_interval_var_assignment().Get(index);
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);
2271 ABSL_ATTRIBUTE_LIFETIME_BOUND {
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_);
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);
2305 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2306 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000008U);
2308 ::google::protobuf::internal::TSanWrite(&
_impl_);
2309 return _internal_mutable_sequence_var_assignment();
2312 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2314 return _internal_sequence_var_assignment().Get(index);
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);
2327 ABSL_ATTRIBUTE_LIFETIME_BOUND {
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_);
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);
2361 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2362 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2364 ::google::protobuf::internal::TSanWrite(&
_impl_);
2365 return _internal_mutable_objective();
2368 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2370 return _internal_objective().Get(index);
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);
2382inline const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment>&
AssignmentProto::objective() const
2383 ABSL_ATTRIBUTE_LIFETIME_BOUND {
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_);
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_;
2417 return _internal_worker_info();
2421 ::google::protobuf::internal::TSanWrite(&
_impl_);
2422 if (GetArena() ==
nullptr) {
2423 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.worker_info_);
2426 if (value !=
nullptr) {
2427 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2429 ClearHasBit(
_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);
2442 if (GetArena() ==
nullptr) {
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_);
2483 if (value !=
nullptr) {
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],
2506 return _internal_is_valid();
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_);
2517inline void AssignmentProto::_internal_set_is_valid(
bool value) {
2518 ::google::protobuf::internal::TSanWrite(&
_impl_);
2519 _impl_.is_valid_ = value;
2523#pragma GCC diagnostic pop
2532#include "google/protobuf/port_undef.inc"
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fassignment_2eproto
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > & objective() const
const ::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment > & interval_var_assignment() const
::operations_research::WorkerInfo *PROTOBUF_NULLABLE release_worker_info()
void unsafe_arena_set_allocated_worker_info(::operations_research::WorkerInfo *PROTOBUF_NULLABLE value)
::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > *PROTOBUF_NONNULL mutable_int_var_assignment()
int objective_size() const
const ::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment > & sequence_var_assignment() const
void Swap(AssignmentProto *PROTOBUF_NONNULL other)
AssignmentProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::google::protobuf::RepeatedPtrField<::operations_research::SequenceVarAssignment > *PROTOBUF_NONNULL mutable_sequence_var_assignment()
AssignmentProto & operator=(const AssignmentProto &from)
::operations_research::IntVarAssignment *PROTOBUF_NONNULL mutable_objective(int index)
static const AssignmentProto & default_instance()
void clear_int_var_assignment()
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()
void clear_interval_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
const ::operations_research::IntVarAssignment & objective(int index) const
bool IsInitialized() const
bool has_worker_info() const
::operations_research::IntervalVarAssignment *PROTOBUF_NONNULL add_interval_var_assignment()
const ::operations_research::WorkerInfo & worker_info() const
void CopyFrom(const AssignmentProto &from)
void MergeFrom(const AssignmentProto &from)
::operations_research::WorkerInfo *PROTOBUF_NULLABLE unsafe_arena_release_worker_info()
::operations_research::IntVarAssignment *PROTOBUF_NONNULL mutable_int_var_assignment(int index)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::google::protobuf::RepeatedPtrField<::operations_research::IntervalVarAssignment > *PROTOBUF_NONNULL mutable_interval_var_assignment()
::google::protobuf::RepeatedPtrField<::operations_research::IntVarAssignment > *PROTOBUF_NONNULL mutable_objective()
const ::operations_research::IntervalVarAssignment & interval_var_assignment(int index) const
int int_var_assignment_size() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::operations_research::IntVarAssignment *PROTOBUF_NONNULL add_int_var_assignment()
int sequence_var_assignment_size() const
::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
void clear_sequence_var_assignment()
void set_is_valid(bool value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
IntVarAssignment *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
IntVarAssignment & operator=(const IntVarAssignment &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_max(::int64_t value)
::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)
::size_t ByteSizeLong() const final
bool IsInitialized() const
const ::std::string & var_id() const
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
friend void swap(IntVarAssignment &a, IntVarAssignment &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::std::string *PROTOBUF_NONNULL mutable_var_id()
void MergeFrom(const IntVarAssignment &from)
void CopyFrom(const IntVarAssignment &from)
void set_active(bool value)
void set_var_id(Arg_ &&arg, Args_... args)
void set_min(::int64_t value)
::std::string *PROTOBUF_NULLABLE release_var_id()
void set_end_max(::int64_t value)
friend class ::google::protobuf::MessageLite
::int64_t start_min() const
::int64_t duration_max() const
void clear_performed_max()
::int64_t performed_max() const
static constexpr int kIndexInFileMessages
void clear_performed_min()
PROTOBUF_CONSTEXPR IntervalVarAssignment(::google::protobuf::internal::ConstantInitialized)
void set_duration_max(::int64_t value)
IntervalVarAssignment & operator=(const IntervalVarAssignment &from)
void set_end_min(::int64_t value)
void MergeFrom(const IntervalVarAssignment &from)
void CopyFrom(const IntervalVarAssignment &from)
@ kDurationMaxFieldNumber
@ kPerformedMinFieldNumber
@ kPerformedMaxFieldNumber
::int64_t duration_min() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_var_id(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_var_id()
::int64_t start_max() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_active(bool value)
::std::string *PROTOBUF_NULLABLE release_var_id()
bool IsInitialized() const
void set_start_min(::int64_t value)
void set_performed_max(::int64_t value)
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 set_duration_min(::int64_t value)
void clear_duration_min()
void Swap(IntervalVarAssignment *PROTOBUF_NONNULL other)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_performed_min(::int64_t value)
void set_start_max(::int64_t value)
friend void swap(IntervalVarAssignment &a, IntervalVarAssignment &b)
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
::size_t ByteSizeLong() const final
::int64_t performed_min() const
::int64_t end_min() const
::int64_t end_max() const
static const IntervalVarAssignment & default_instance()
void clear_duration_max()
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
void set_allocated_var_id(::std::string *PROTOBUF_NULLABLE value)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_forward_sequence()
void clear_backward_sequence()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_backward_sequence()
SequenceVarAssignment & operator=(const SequenceVarAssignment &from)
void set_active(bool value)
::int32_t forward_sequence(int index) const
bool IsInitialized() const
void add_forward_sequence(::int32_t value)
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
::size_t ByteSizeLong() const final
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void add_backward_sequence(::int32_t value)
void set_unperformed(int index, ::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & unperformed() const
void clear_forward_sequence()
int unperformed_size() const
void add_unperformed(::int32_t value)
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
::int32_t unperformed(int index) const
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)
::int32_t worker_id() const
WorkerInfo(const WorkerInfo &from)
void set_allocated_bns(::std::string *PROTOBUF_NULLABLE value)
void set_bns(Arg_ &&arg, Args_... args)
PROTOBUF_CONSTEXPR WorkerInfo(::google::protobuf::internal::ConstantInitialized)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const WorkerInfo &from)
::std::string *PROTOBUF_NONNULL mutable_bns()
bool IsInitialized() const
::std::string *PROTOBUF_NULLABLE release_bns()
const ::std::string & bns() const
void Swap(WorkerInfo *PROTOBUF_NONNULL other)
::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_