6#ifndef ortools_2fscheduling_2fcourse_5fscheduling_2eproto_2epb_2eh
7#define ortools_2fscheduling_2fcourse_5fscheduling_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
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/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
36#include "google/protobuf/port_def.inc"
38#define PROTOBUF_INTERNAL_EXPORT_ortools_2fscheduling_2fcourse_5fscheduling_2eproto OR_PROTO_DLL
66OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Course_class_data_;
78OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Room_class_data_;
95internal::EnumTraitsT<::operations_research::CourseSchedulingResultStatus_internal_data_>
96 internal::EnumTraitsImpl::value<::operations_research::CourseSchedulingResultStatus>;
110 ::std::numeric_limits<::int32_t>::min(),
112 ::std::numeric_limits<::int32_t>::max(),
121 return 0 <= value && value <= 6;
127 static_assert(::std::is_same<T, CourseSchedulingResultStatus>::value ||
128 ::std::is_integral<T>::value,
129 "Incorrect type passed to CourseSchedulingResultStatus_Name().");
134 return ::google::protobuf::internal::NameOfDenseEnum<CourseSchedulingResultStatus_descriptor, 0, 6>(
135 static_cast<int>(value));
148class OR_PROTO_DLL Teacher final :
public ::google::protobuf::Message
154#if defined(PROTOBUF_CUSTOM_VTABLE)
155 void operator delete(
Teacher* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
157 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Teacher));
161 template <
typename =
void>
162 explicit PROTOBUF_CONSTEXPR
Teacher(::google::protobuf::internal::ConstantInitialized);
172 if (
this == &from)
return *
this;
173 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
181 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
182 ABSL_ATTRIBUTE_LIFETIME_BOUND {
183 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
185 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
186 ABSL_ATTRIBUTE_LIFETIME_BOUND {
187 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
190 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
191 return GetDescriptor();
193 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
194 return default_instance().GetMetadata().descriptor;
196 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
197 return default_instance().GetMetadata().reflection;
199 static const Teacher& default_instance() {
200 return *
reinterpret_cast<const Teacher*
>(
203 static constexpr int kIndexInFileMessages = 5;
206 if (other ==
this)
return;
207 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
210 ::google::protobuf::internal::GenericSwap(
this, other);
213 void UnsafeArenaSwap(Teacher* PROTOBUF_NONNULL other) {
214 if (other ==
this)
return;
215 ABSL_DCHECK(GetArena() == other->GetArena());
221 Teacher* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
222 return ::google::protobuf::Message::DefaultConstruct<Teacher>(arena);
224 using ::google::protobuf::Message::CopyFrom;
225 void CopyFrom(
const Teacher& from);
226 using ::google::protobuf::Message::MergeFrom;
227 void MergeFrom(
const Teacher& from) { Teacher::MergeImpl(*
this, from); }
230 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
231 const ::google::protobuf::MessageLite& from_msg);
237 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
238 #if defined(PROTOBUF_CUSTOM_VTABLE)
240 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
241 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
242 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
243 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
246 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
247 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
248 ::uint8_t* PROTOBUF_NONNULL target,
249 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
250 return _InternalSerialize(*
this, target, stream);
253 ::size_t ByteSizeLong() const final;
254 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
255 ::uint8_t* PROTOBUF_NONNULL target,
256 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
258 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
261 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
263 void InternalSwap(
Teacher* PROTOBUF_NONNULL other);
265 template <
typename T>
267 static ::absl::string_view FullMessageName() {
return "operations_research.Teacher"; }
270 explicit Teacher(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
271 Teacher(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Teacher& from);
273 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Teacher&& from) noexcept
275 *
this = ::std::move(from);
277 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
278 static
void* PROTOBUF_NONNULL PlacementNew_(
279 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
280 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
281 static constexpr auto InternalNewImpl_();
284 static constexpr auto InternalGenerateClassData_();
286 ::
google::protobuf::Metadata GetMetadata() const;
291 kRestrictedTimeSlotsFieldNumber = 2,
292 kDisplayNameFieldNumber = 1,
297 int _internal_restricted_time_slots_size()
const;
308 const ::google::protobuf::RepeatedField<::int32_t>& _internal_restricted_time_slots()
const;
309 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_restricted_time_slots();
315 template <
typename Arg_ = const ::std::string&,
typename... Args_>
322 const ::std::string& _internal_display_name()
const;
323 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
324 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
330 friend class ::google::protobuf::internal::TcParser;
331 static const ::google::protobuf::internal::TcParseTable<1, 2,
336 friend class ::google::protobuf::MessageLite;
337 friend class ::google::protobuf::Arena;
338 template <
typename T>
339 friend class ::google::protobuf::Arena::InternalHelper;
340 using InternalArenaConstructable_ = void;
341 using DestructorSkippable_ = void;
343 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
344 inline explicit Impl_(
345 ::google::protobuf::internal::InternalVisibility visibility,
346 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
347 inline explicit Impl_(
348 ::google::protobuf::internal::InternalVisibility visibility,
349 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
351 ::google::protobuf::internal::HasBits<1> _has_bits_;
352 ::google::protobuf::internal::CachedSize _cached_size_;
353 ::google::protobuf::RepeatedField<::int32_t> restricted_time_slots_;
354 ::google::protobuf::internal::CachedSize _restricted_time_slots_cached_byte_size_;
355 ::google::protobuf::internal::ArenaStringPtr display_name_;
356 PROTOBUF_TSAN_DECLARE_MEMBER
358 union { Impl_ _impl_; };
359 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
371#if defined(PROTOBUF_CUSTOM_VTABLE)
372 void operator delete(
StudentAssignment* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
378 template <
typename =
void>
379 explicit PROTOBUF_CONSTEXPR
StudentAssignment(::google::protobuf::internal::ConstantInitialized);
389 if (
this == &from)
return *
this;
390 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
398 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
399 ABSL_ATTRIBUTE_LIFETIME_BOUND {
400 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
402 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
403 ABSL_ATTRIBUTE_LIFETIME_BOUND {
404 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
407 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
408 return GetDescriptor();
410 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
413 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
420 static constexpr int kIndexInFileMessages = 3;
422 inline void Swap(StudentAssignment* PROTOBUF_NONNULL other) {
423 if (other ==
this)
return;
424 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
427 ::google::protobuf::internal::GenericSwap(
this, other);
430 void UnsafeArenaSwap(StudentAssignment* PROTOBUF_NONNULL other) {
431 if (other ==
this)
return;
432 ABSL_DCHECK(GetArena() == other->GetArena());
438 StudentAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
439 return ::google::protobuf::Message::DefaultConstruct<StudentAssignment>(arena);
441 using ::google::protobuf::Message::CopyFrom;
443 using ::google::protobuf::Message::MergeFrom;
447 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
448 const ::google::protobuf::MessageLite& from_msg);
454 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
455 #if defined(PROTOBUF_CUSTOM_VTABLE)
457 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
459 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
460 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
464 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
465 ::uint8_t* PROTOBUF_NONNULL target,
466 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
467 return _InternalSerialize(*
this, target, stream);
470 ::size_t ByteSizeLong() const final;
471 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
472 ::uint8_t* PROTOBUF_NONNULL target,
473 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
475 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
478 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
482 template <
typename T>
484 static ::absl::string_view FullMessageName() {
return "operations_research.StudentAssignment"; }
490 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
StudentAssignment&& from) noexcept
492 *
this = ::std::move(from);
494 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
495 static
void* PROTOBUF_NONNULL PlacementNew_(
496 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
497 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
498 static constexpr auto InternalNewImpl_();
501 static constexpr auto InternalGenerateClassData_();
503 ::
google::protobuf::Metadata GetMetadata() const;
508 kCourseIndicesFieldNumber = 2,
509 kSectionIndicesFieldNumber = 3,
510 kStudentIndexFieldNumber = 1,
515 int _internal_course_indices_size()
const;
522 const ::google::protobuf::RepeatedField<::int32_t>&
course_indices()
const;
526 const ::google::protobuf::RepeatedField<::int32_t>& _internal_course_indices()
const;
527 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_course_indices();
533 int _internal_section_indices_size()
const;
540 const ::google::protobuf::RepeatedField<::int32_t>&
section_indices()
const;
544 const ::google::protobuf::RepeatedField<::int32_t>& _internal_section_indices()
const;
545 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_section_indices();
554 ::int32_t _internal_student_index()
const;
555 void _internal_set_student_index(::int32_t value);
561 friend class ::google::protobuf::internal::TcParser;
562 static const ::google::protobuf::internal::TcParseTable<2, 3,
567 friend class ::google::protobuf::MessageLite;
568 friend class ::google::protobuf::Arena;
569 template <
typename T>
570 friend class ::google::protobuf::Arena::InternalHelper;
571 using InternalArenaConstructable_ = void;
572 using DestructorSkippable_ = void;
574 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
575 inline explicit Impl_(
576 ::google::protobuf::internal::InternalVisibility visibility,
577 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
578 inline explicit Impl_(
579 ::google::protobuf::internal::InternalVisibility visibility,
580 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
582 ::google::protobuf::internal::HasBits<1> _has_bits_;
583 ::google::protobuf::internal::CachedSize _cached_size_;
584 ::google::protobuf::RepeatedField<::int32_t> course_indices_;
585 ::google::protobuf::internal::CachedSize _course_indices_cached_byte_size_;
586 ::google::protobuf::RepeatedField<::int32_t> section_indices_;
587 ::google::protobuf::internal::CachedSize _section_indices_cached_byte_size_;
588 ::int32_t student_index_;
589 PROTOBUF_TSAN_DECLARE_MEMBER
591 union { Impl_ _impl_; };
592 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
598class OR_PROTO_DLL
Student final :
public ::google::protobuf::Message
604#if defined(PROTOBUF_CUSTOM_VTABLE)
605 void operator delete(
Student* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
607 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Student));
611 template <
typename =
void>
612 explicit PROTOBUF_CONSTEXPR
Student(::google::protobuf::internal::ConstantInitialized);
615 inline Student(Student&& from) noexcept
622 if (
this == &from)
return *
this;
623 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
631 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
632 ABSL_ATTRIBUTE_LIFETIME_BOUND {
633 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
636 ABSL_ATTRIBUTE_LIFETIME_BOUND {
637 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
640 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
643 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
646 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
649 static const Student& default_instance() {
655 inline void Swap(
Student* PROTOBUF_NONNULL other) {
656 if (other ==
this)
return;
657 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
660 ::google::protobuf::internal::GenericSwap(
this, other);
663 void UnsafeArenaSwap(Student* PROTOBUF_NONNULL other) {
664 if (other ==
this)
return;
665 ABSL_DCHECK(GetArena() == other->GetArena());
671 Student* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
672 return ::google::protobuf::Message::DefaultConstruct<Student>(arena);
674 using ::google::protobuf::Message::CopyFrom;
676 using ::google::protobuf::Message::MergeFrom;
680 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
681 const ::google::protobuf::MessageLite& from_msg);
687 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
688 #if defined(PROTOBUF_CUSTOM_VTABLE)
690 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
692 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
693 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
697 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
698 ::uint8_t* PROTOBUF_NONNULL target,
699 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
700 return _InternalSerialize(*
this, target, stream);
703 ::size_t ByteSizeLong() const final;
704 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
705 ::uint8_t* PROTOBUF_NONNULL target,
706 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
708 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
711 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
713 void InternalSwap(
Student* PROTOBUF_NONNULL other);
715 template <
typename T>
717 static ::absl::string_view FullMessageName() {
return "operations_research.Student"; }
720 explicit Student(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
721 Student(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Student& from);
723 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Student&& from) noexcept
725 *
this = ::std::move(from);
727 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
728 static
void* PROTOBUF_NONNULL PlacementNew_(
729 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
730 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
731 static constexpr auto InternalNewImpl_();
734 static constexpr auto InternalGenerateClassData_();
736 ::
google::protobuf::Metadata GetMetadata() const;
741 kCourseIndicesFieldNumber = 2,
742 kDisplayNameFieldNumber = 1,
747 int _internal_course_indices_size()
const;
754 const ::google::protobuf::RepeatedField<::int32_t>&
course_indices()
const;
758 const ::google::protobuf::RepeatedField<::int32_t>& _internal_course_indices()
const;
759 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_course_indices();
765 template <
typename Arg_ = const ::std::string&,
typename... Args_>
772 const ::std::string& _internal_display_name()
const;
773 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
774 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
780 friend class ::google::protobuf::internal::TcParser;
781 static const ::google::protobuf::internal::TcParseTable<1, 2,
786 friend class ::google::protobuf::MessageLite;
787 friend class ::google::protobuf::Arena;
788 template <
typename T>
789 friend class ::google::protobuf::Arena::InternalHelper;
790 using InternalArenaConstructable_ = void;
791 using DestructorSkippable_ = void;
793 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
794 inline explicit Impl_(
795 ::google::protobuf::internal::InternalVisibility visibility,
796 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
797 inline explicit Impl_(
798 ::google::protobuf::internal::InternalVisibility visibility,
799 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
801 ::google::protobuf::internal::HasBits<1> _has_bits_;
802 ::google::protobuf::internal::CachedSize _cached_size_;
803 ::google::protobuf::RepeatedField<::int32_t> course_indices_;
804 ::google::protobuf::internal::CachedSize _course_indices_cached_byte_size_;
805 ::google::protobuf::internal::ArenaStringPtr display_name_;
806 PROTOBUF_TSAN_DECLARE_MEMBER
808 union { Impl_ _impl_; };
809 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
815class OR_PROTO_DLL
Room final :
public ::google::protobuf::Message
819 ~Room() PROTOBUF_FINAL;
821#if defined(PROTOBUF_CUSTOM_VTABLE)
822 void operator delete(
Room* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
824 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Room));
828 template <
typename =
void>
829 explicit PROTOBUF_CONSTEXPR
Room(::google::protobuf::internal::ConstantInitialized);
832 inline Room(Room&& from) noexcept
833 : Room(
nullptr, ::std::move(from)) {}
838 inline Room& operator=(
Room&& from)
noexcept {
839 if (
this == &from)
return *
this;
840 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
848 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
849 ABSL_ATTRIBUTE_LIFETIME_BOUND {
850 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
852 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
853 ABSL_ATTRIBUTE_LIFETIME_BOUND {
854 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
857 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
860 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
861 return default_instance().GetMetadata().descriptor;
863 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
864 return default_instance().GetMetadata().reflection;
866 static const Room& default_instance() {
867 return *
reinterpret_cast<const Room*
>(
870 static constexpr int kIndexInFileMessages = 7;
872 inline void Swap(
Room* PROTOBUF_NONNULL other) {
873 if (other ==
this)
return;
874 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
877 ::google::protobuf::internal::GenericSwap(
this, other);
880 void UnsafeArenaSwap(Room* PROTOBUF_NONNULL other) {
881 if (other ==
this)
return;
882 ABSL_DCHECK(GetArena() == other->GetArena());
888 Room* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
889 return ::google::protobuf::Message::DefaultConstruct<Room>(arena);
891 using ::google::protobuf::Message::CopyFrom;
892 void CopyFrom(
const Room& from);
893 using ::google::protobuf::Message::MergeFrom;
894 void MergeFrom(
const Room& from) { Room::MergeImpl(*
this, from); }
897 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
898 const ::google::protobuf::MessageLite& from_msg);
904 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
905 #if defined(PROTOBUF_CUSTOM_VTABLE)
907 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
909 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
910 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
914 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
915 ::uint8_t* PROTOBUF_NONNULL target,
916 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
917 return _InternalSerialize(*
this, target, stream);
920 ::size_t ByteSizeLong() const final;
921 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
922 ::uint8_t* PROTOBUF_NONNULL target,
923 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
925 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
928 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
929 static void SharedDtor(MessageLite& self);
930 void InternalSwap(
Room* PROTOBUF_NONNULL other);
932 template <
typename T>
934 static ::absl::string_view FullMessageName() {
return "operations_research.Room"; }
937 explicit Room(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
938 Room(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Room& from);
940 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Room&& from) noexcept
942 *
this = ::std::move(from);
944 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
946 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
947 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
962 void clear_display_name() ;
964 template <
typename Arg_ = const ::std::string&,
typename... Args_>
971 const ::std::string& _internal_display_name()
const;
972 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
973 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
982 ::int32_t _internal_capacity()
const;
983 void _internal_set_capacity(::int32_t value);
989 friend class ::google::protobuf::internal::TcParser;
990 static const ::google::protobuf::internal::TcParseTable<1, 2,
995 friend class ::google::protobuf::MessageLite;
996 friend class ::google::protobuf::Arena;
997 template <
typename T>
998 friend class ::google::protobuf::Arena::InternalHelper;
999 using InternalArenaConstructable_ = void;
1000 using DestructorSkippable_ = void;
1002 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1003 inline explicit Impl_(
1004 ::google::protobuf::internal::InternalVisibility visibility,
1005 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1006 inline explicit Impl_(
1007 ::google::protobuf::internal::InternalVisibility visibility,
1008 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1009 const Room& from_msg);
1010 ::google::protobuf::internal::HasBits<1> _has_bits_;
1011 ::google::protobuf::internal::CachedSize _cached_size_;
1012 ::google::protobuf::internal::ArenaStringPtr display_name_;
1013 ::int32_t capacity_;
1014 PROTOBUF_TSAN_DECLARE_MEMBER
1016 union { Impl_ _impl_; };
1017 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
1020OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Room_class_data_;
1023class OR_PROTO_DLL
Course final :
public ::google::protobuf::Message
1029#if defined(PROTOBUF_CUSTOM_VTABLE)
1030 void operator delete(
Course* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1032 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Course));
1036 template <
typename =
void>
1037 explicit PROTOBUF_CONSTEXPR
Course(::google::protobuf::internal::ConstantInitialized);
1040 inline Course(Course&& from) noexcept
1041 : Course(
nullptr, ::std::move(from)) {}
1042 inline Course& operator=(
const Course& from) {
1047 if (
this == &from)
return *
this;
1048 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1049 InternalSwap(&from);
1056 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1057 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1058 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1060 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1061 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1062 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1065 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1068 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1069 return default_instance().GetMetadata().descriptor;
1075 return *
reinterpret_cast<const Course*
>(
1078 static constexpr int kIndexInFileMessages = 4;
1081 if (other ==
this)
return;
1082 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1083 InternalSwap(other);
1085 ::google::protobuf::internal::GenericSwap(
this, other);
1088 void UnsafeArenaSwap(Course* PROTOBUF_NONNULL other) {
1089 if (other ==
this)
return;
1090 ABSL_DCHECK(GetArena() == other->GetArena());
1091 InternalSwap(other);
1096 Course* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1097 return ::google::protobuf::Message::DefaultConstruct<Course>(arena);
1099 using ::google::protobuf::Message::CopyFrom;
1100 void CopyFrom(
const Course& from);
1101 using ::google::protobuf::Message::MergeFrom;
1105 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1106 const ::google::protobuf::MessageLite& from_msg);
1112 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1113 #if defined(PROTOBUF_CUSTOM_VTABLE)
1117 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1118 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1122 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1123 ::uint8_t* PROTOBUF_NONNULL target,
1124 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1125 return _InternalSerialize(*
this, target, stream);
1128 ::size_t ByteSizeLong() const final;
1129 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1130 ::uint8_t* PROTOBUF_NONNULL target,
1131 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1133 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1136 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1137 static void SharedDtor(MessageLite& self);
1138 void InternalSwap(Course* PROTOBUF_NONNULL other);
1140 template <
typename T>
1142 static ::absl::string_view FullMessageName() {
return "operations_research.Course"; }
1145 explicit Course(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1146 Course(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Course& from);
1148 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Course&& from) noexcept
1150 *
this = ::std::move(from);
1152 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1154 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1155 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1178 int _internal_teacher_indices_size()
const;
1185 const ::google::protobuf::RepeatedField<::int32_t>&
teacher_indices()
const;
1189 const ::google::protobuf::RepeatedField<::int32_t>& _internal_teacher_indices()
const;
1190 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_teacher_indices();
1196 int _internal_teacher_section_counts_size()
const;
1207 const ::google::protobuf::RepeatedField<::int32_t>& _internal_teacher_section_counts()
const;
1208 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_teacher_section_counts();
1214 int _internal_room_indices_size()
const;
1221 const ::google::protobuf::RepeatedField<::int32_t>&
room_indices()
const;
1225 const ::google::protobuf::RepeatedField<::int32_t>& _internal_room_indices()
const;
1226 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_room_indices();
1232 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1239 const ::std::string& _internal_display_name()
const;
1240 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
1241 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
1250 ::int32_t _internal_meetings_count()
const;
1251 void _internal_set_meetings_count(::int32_t value);
1260 ::int32_t _internal_max_capacity()
const;
1261 void _internal_set_max_capacity(::int32_t value);
1270 ::int32_t _internal_min_capacity()
const;
1271 void _internal_set_min_capacity(::int32_t value);
1280 ::int32_t _internal_consecutive_slots_count()
const;
1281 void _internal_set_consecutive_slots_count(::int32_t value);
1287 friend class ::google::protobuf::internal::TcParser;
1288 static const ::google::protobuf::internal::TcParseTable<3, 8,
1293 friend class ::google::protobuf::MessageLite;
1294 friend class ::google::protobuf::Arena;
1295 template <
typename T>
1296 friend class ::google::protobuf::Arena::InternalHelper;
1297 using InternalArenaConstructable_ = void;
1298 using DestructorSkippable_ = void;
1300 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1301 inline explicit Impl_(
1302 ::google::protobuf::internal::InternalVisibility visibility,
1303 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1304 inline explicit Impl_(
1305 ::google::protobuf::internal::InternalVisibility visibility,
1306 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1308 ::google::protobuf::internal::HasBits<1> _has_bits_;
1309 ::google::protobuf::internal::CachedSize _cached_size_;
1310 ::google::protobuf::RepeatedField<::int32_t> teacher_indices_;
1311 ::google::protobuf::internal::CachedSize _teacher_indices_cached_byte_size_;
1312 ::google::protobuf::RepeatedField<::int32_t> teacher_section_counts_;
1313 ::google::protobuf::internal::CachedSize _teacher_section_counts_cached_byte_size_;
1314 ::google::protobuf::RepeatedField<::int32_t> room_indices_;
1315 ::google::protobuf::internal::CachedSize _room_indices_cached_byte_size_;
1316 ::google::protobuf::internal::ArenaStringPtr display_name_;
1317 ::int32_t meetings_count_;
1318 ::int32_t max_capacity_;
1319 ::int32_t min_capacity_;
1320 ::int32_t consecutive_slots_count_;
1321 PROTOBUF_TSAN_DECLARE_MEMBER
1323 union { Impl_ _impl_; };
1324 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
1327OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Course_class_data_;
1336#if defined(PROTOBUF_CUSTOM_VTABLE)
1339 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
ClassAssignment));
1343 template <
typename =
void>
1344 explicit PROTOBUF_CONSTEXPR
ClassAssignment(::google::protobuf::internal::ConstantInitialized);
1347 inline ClassAssignment(ClassAssignment&& from) noexcept
1348 : ClassAssignment(
nullptr, ::std::move(from)) {}
1349 inline ClassAssignment& operator=(
const ClassAssignment& from) {
1354 if (
this == &from)
return *
this;
1355 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1356 InternalSwap(&from);
1363 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1364 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1365 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1367 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1368 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1369 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1372 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1373 return GetDescriptor();
1375 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1376 return default_instance().GetMetadata().descriptor;
1378 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1388 if (other ==
this)
return;
1389 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1390 InternalSwap(other);
1392 ::google::protobuf::internal::GenericSwap(
this, other);
1396 if (other ==
this)
return;
1397 ABSL_DCHECK(GetArena() == other->GetArena());
1398 InternalSwap(other);
1403 ClassAssignment* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1404 return ::google::protobuf::Message::DefaultConstruct<ClassAssignment>(arena);
1406 using ::google::protobuf::Message::CopyFrom;
1408 using ::google::protobuf::Message::MergeFrom;
1409 void MergeFrom(
const ClassAssignment& from) { ClassAssignment::MergeImpl(*
this, from); }
1412 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1413 const ::google::protobuf::MessageLite& from_msg);
1419 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1420 #if defined(PROTOBUF_CUSTOM_VTABLE)
1422 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1424 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1425 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1429 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1430 ::uint8_t* PROTOBUF_NONNULL target,
1431 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1432 return _InternalSerialize(*
this, target, stream);
1435 ::size_t ByteSizeLong() const final;
1436 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1437 ::uint8_t* PROTOBUF_NONNULL target,
1438 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1440 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1443 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1444 static void SharedDtor(MessageLite& self);
1445 void InternalSwap(ClassAssignment* PROTOBUF_NONNULL other);
1447 template <
typename T>
1449 static ::absl::string_view FullMessageName() {
return "operations_research.ClassAssignment"; }
1452 explicit ClassAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1455 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
ClassAssignment&& from) noexcept
1457 *
this = ::std::move(from);
1459 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1460 static
void* PROTOBUF_NONNULL PlacementNew_(
1461 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1462 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1479 int time_slots_size()
const;
1481 int _internal_time_slots_size()
const;
1488 const ::google::protobuf::RepeatedField<::int32_t>&
time_slots()
const;
1492 const ::google::protobuf::RepeatedField<::int32_t>& _internal_time_slots()
const;
1493 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_time_slots();
1499 int _internal_room_indices_size()
const;
1506 const ::google::protobuf::RepeatedField<::int32_t>&
room_indices()
const;
1510 const ::google::protobuf::RepeatedField<::int32_t>& _internal_room_indices()
const;
1511 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_room_indices();
1520 ::int32_t _internal_course_index()
const;
1521 void _internal_set_course_index(::int32_t value);
1530 ::int32_t _internal_section_number()
const;
1531 void _internal_set_section_number(::int32_t value);
1537 friend class ::google::protobuf::internal::TcParser;
1538 static const ::google::protobuf::internal::TcParseTable<2, 4,
1543 friend class ::google::protobuf::MessageLite;
1544 friend class ::google::protobuf::Arena;
1545 template <
typename T>
1546 friend class ::google::protobuf::Arena::InternalHelper;
1547 using InternalArenaConstructable_ = void;
1548 using DestructorSkippable_ = void;
1550 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1551 inline explicit Impl_(
1552 ::google::protobuf::internal::InternalVisibility visibility,
1553 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1554 inline explicit Impl_(
1555 ::google::protobuf::internal::InternalVisibility visibility,
1556 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1558 ::google::protobuf::internal::HasBits<1> _has_bits_;
1559 ::google::protobuf::internal::CachedSize _cached_size_;
1560 ::google::protobuf::RepeatedField<::int32_t> time_slots_;
1561 ::google::protobuf::internal::CachedSize _time_slots_cached_byte_size_;
1562 ::google::protobuf::RepeatedField<::int32_t> room_indices_;
1563 ::google::protobuf::internal::CachedSize _room_indices_cached_byte_size_;
1564 ::int32_t course_index_;
1565 ::int32_t section_number_;
1566 PROTOBUF_TSAN_DECLARE_MEMBER
1568 union { Impl_ _impl_; };
1569 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
1581#if defined(PROTOBUF_CUSTOM_VTABLE)
1588 template <
typename =
void>
1594 inline CourseSchedulingResult& operator=(
const CourseSchedulingResult& from) {
1599 if (
this == &from)
return *
this;
1600 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1601 InternalSwap(&from);
1608 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1609 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1610 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1612 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1613 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1614 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1617 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1623 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1624 return default_instance().GetMetadata().reflection;
1630 static constexpr int kIndexInFileMessages = 1;
1633 if (other ==
this)
return;
1634 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1635 InternalSwap(other);
1637 ::google::protobuf::internal::GenericSwap(
this, other);
1641 if (other ==
this)
return;
1642 ABSL_DCHECK(GetArena() == other->GetArena());
1643 InternalSwap(other);
1649 return ::google::protobuf::Message::DefaultConstruct<CourseSchedulingResult>(arena);
1651 using ::google::protobuf::Message::CopyFrom;
1653 using ::google::protobuf::Message::MergeFrom;
1657 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1658 const ::google::protobuf::MessageLite& from_msg);
1664 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1665 #if defined(PROTOBUF_CUSTOM_VTABLE)
1667 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1668 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1669 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1670 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1674 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1675 ::uint8_t* PROTOBUF_NONNULL target,
1676 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1677 return _InternalSerialize(*
this, target, stream);
1680 ::size_t ByteSizeLong() const final;
1681 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1682 ::uint8_t* PROTOBUF_NONNULL target,
1683 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1685 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1688 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1689 static void SharedDtor(MessageLite& self);
1690 void InternalSwap(CourseSchedulingResult* PROTOBUF_NONNULL other);
1692 template <
typename T>
1694 static ::absl::string_view FullMessageName() {
return "operations_research.CourseSchedulingResult"; }
1702 *
this = ::std::move(from);
1704 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1705 static
void* PROTOBUF_NONNULL PlacementNew_(
1706 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1724 int class_assignments_size()
const;
1726 int _internal_class_assignments_size()
const;
1731 ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>* PROTOBUF_NONNULL
mutable_class_assignments();
1734 const ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>& _internal_class_assignments()
const;
1735 ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>* PROTOBUF_NONNULL _internal_mutable_class_assignments();
1737 const ::operations_research::ClassAssignment&
class_assignments(
int index)
const;
1739 const ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>&
class_assignments()
const;
1743 int _internal_student_assignments_size()
const;
1751 const ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>& _internal_student_assignments()
const;
1752 ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>* PROTOBUF_NONNULL _internal_mutable_student_assignments();
1756 const ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>&
student_assignments()
const;
1759 const ::std::string&
message()
const;
1760 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1767 const ::std::string& _internal_message()
const;
1768 PROTOBUF_ALWAYS_INLINE
void _internal_set_message(const ::std::string& value);
1769 ::std::string* PROTOBUF_NONNULL _internal_mutable_message();
1785 friend class ::google::protobuf::internal::TcParser;
1786 static const ::google::protobuf::internal::TcParseTable<2, 4,
1791 friend class ::google::protobuf::MessageLite;
1792 friend class ::google::protobuf::Arena;
1793 template <
typename T>
1794 friend class ::google::protobuf::Arena::InternalHelper;
1795 using InternalArenaConstructable_ = void;
1796 using DestructorSkippable_ = void;
1798 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1799 inline explicit Impl_(
1800 ::google::protobuf::internal::InternalVisibility visibility,
1801 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1802 inline explicit Impl_(
1803 ::google::protobuf::internal::InternalVisibility visibility,
1804 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1806 ::google::protobuf::internal::HasBits<1> _has_bits_;
1807 ::google::protobuf::internal::CachedSize _cached_size_;
1808 ::google::protobuf::RepeatedPtrField< ::operations_research::ClassAssignment > class_assignments_;
1809 ::google::protobuf::RepeatedPtrField< ::operations_research::StudentAssignment > student_assignments_;
1810 ::google::protobuf::internal::ArenaStringPtr message_;
1812 PROTOBUF_TSAN_DECLARE_MEMBER
1814 union { Impl_ _impl_; };
1815 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
1827#if defined(PROTOBUF_CUSTOM_VTABLE)
1834 template <
typename =
void>
1835 explicit PROTOBUF_CONSTEXPR
CourseSchedulingModel(::google::protobuf::internal::ConstantInitialized);
1840 inline CourseSchedulingModel& operator=(
const CourseSchedulingModel& from) {
1845 if (
this == &from)
return *
this;
1846 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1847 InternalSwap(&from);
1854 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
1855 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1856 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1858 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1859 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1860 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1863 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1866 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1869 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1870 return default_instance().GetMetadata().reflection;
1876 static constexpr int kIndexInFileMessages = 0;
1879 if (other ==
this)
return;
1880 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1881 InternalSwap(other);
1883 ::google::protobuf::internal::GenericSwap(
this, other);
1887 if (other ==
this)
return;
1888 ABSL_DCHECK(GetArena() == other->GetArena());
1889 InternalSwap(other);
1894 CourseSchedulingModel* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1895 return ::google::protobuf::Message::DefaultConstruct<CourseSchedulingModel>(arena);
1897 using ::google::protobuf::Message::CopyFrom;
1899 using ::google::protobuf::Message::MergeFrom;
1900 void MergeFrom(
const CourseSchedulingModel& from) { CourseSchedulingModel::MergeImpl(*
this, from); }
1903 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1904 const ::google::protobuf::MessageLite& from_msg);
1910 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1911 #if defined(PROTOBUF_CUSTOM_VTABLE)
1913 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1914 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1915 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1916 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1920 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1921 ::uint8_t* PROTOBUF_NONNULL target,
1922 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1923 return _InternalSerialize(*
this, target, stream);
1926 ::size_t ByteSizeLong() const final;
1927 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1928 ::uint8_t* PROTOBUF_NONNULL target,
1929 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1931 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1934 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1935 static void SharedDtor(MessageLite& self);
1936 void InternalSwap(CourseSchedulingModel* PROTOBUF_NONNULL other);
1938 template <
typename T>
1940 static ::absl::string_view FullMessageName() {
return "operations_research.CourseSchedulingModel"; }
1948 *
this = ::std::move(from);
1950 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1951 static
void* PROTOBUF_NONNULL PlacementNew_(
1952 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1953 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1975 int _internal_courses_size()
const;
1980 ::google::protobuf::RepeatedPtrField<::operations_research::Course>* PROTOBUF_NONNULL
mutable_courses();
1983 const ::google::protobuf::RepeatedPtrField<::operations_research::Course>& _internal_courses()
const;
1984 ::google::protobuf::RepeatedPtrField<::operations_research::Course>* PROTOBUF_NONNULL _internal_mutable_courses();
1986 const ::operations_research::Course&
courses(
int index)
const;
1988 const ::google::protobuf::RepeatedPtrField<::operations_research::Course>&
courses()
const;
1992 int _internal_teachers_size()
const;
1997 ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>* PROTOBUF_NONNULL
mutable_teachers();
2000 const ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>& _internal_teachers()
const;
2001 ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>* PROTOBUF_NONNULL _internal_mutable_teachers();
2003 const ::operations_research::Teacher&
teachers(
int index)
const;
2005 const ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>&
teachers()
const;
2009 int _internal_students_size()
const;
2014 ::google::protobuf::RepeatedPtrField<::operations_research::Student>* PROTOBUF_NONNULL
mutable_students();
2017 const ::google::protobuf::RepeatedPtrField<::operations_research::Student>& _internal_students()
const;
2018 ::google::protobuf::RepeatedPtrField<::operations_research::Student>* PROTOBUF_NONNULL _internal_mutable_students();
2020 const ::operations_research::Student&
students(
int index)
const;
2022 const ::google::protobuf::RepeatedPtrField<::operations_research::Student>&
students()
const;
2026 int _internal_rooms_size()
const;
2031 ::google::protobuf::RepeatedPtrField<::operations_research::Room>* PROTOBUF_NONNULL
mutable_rooms();
2034 const ::google::protobuf::RepeatedPtrField<::operations_research::Room>& _internal_rooms()
const;
2035 ::google::protobuf::RepeatedPtrField<::operations_research::Room>* PROTOBUF_NONNULL _internal_mutable_rooms();
2037 const ::operations_research::Room&
rooms(
int index)
const;
2039 const ::google::protobuf::RepeatedPtrField<::operations_research::Room>&
rooms()
const;
2043 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2050 const ::std::string& _internal_display_name()
const;
2051 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
2052 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
2061 ::int32_t _internal_days_count()
const;
2062 void _internal_set_days_count(::int32_t value);
2071 ::int32_t _internal_daily_time_slot_count()
const;
2072 void _internal_set_daily_time_slot_count(::int32_t value);
2078 friend class ::google::protobuf::internal::TcParser;
2079 static const ::google::protobuf::internal::TcParseTable<3, 7,
2084 friend class ::google::protobuf::MessageLite;
2085 friend class ::google::protobuf::Arena;
2086 template <
typename T>
2087 friend class ::google::protobuf::Arena::InternalHelper;
2088 using InternalArenaConstructable_ = void;
2089 using DestructorSkippable_ = void;
2091 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2092 inline explicit Impl_(
2093 ::google::protobuf::internal::InternalVisibility visibility,
2094 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2095 inline explicit Impl_(
2096 ::google::protobuf::internal::InternalVisibility visibility,
2097 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2099 ::google::protobuf::internal::HasBits<1> _has_bits_;
2100 ::google::protobuf::internal::CachedSize _cached_size_;
2101 ::google::protobuf::RepeatedPtrField< ::operations_research::Course > courses_;
2102 ::google::protobuf::RepeatedPtrField< ::operations_research::Teacher > teachers_;
2103 ::google::protobuf::RepeatedPtrField< ::operations_research::Student > students_;
2104 ::google::protobuf::RepeatedPtrField< ::operations_research::Room > rooms_;
2105 ::google::protobuf::internal::ArenaStringPtr display_name_;
2106 ::int32_t days_count_;
2107 ::int32_t daily_time_slot_count_;
2108 PROTOBUF_TSAN_DECLARE_MEMBER
2110 union { Impl_ _impl_; };
2111 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
2125#pragma GCC diagnostic push
2126#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2134 ::google::protobuf::internal::TSanWrite(&
_impl_);
2135 _impl_.display_name_.ClearToEmpty();
2136 _impl_._has_bits_[0] &= ~0x00000001u;
2139 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2141 return _internal_display_name();
2143template <
typename Arg_,
typename... Args_>
2145 ::google::protobuf::internal::TSanWrite(&
_impl_);
2146 _impl_._has_bits_[0] |= 0x00000001u;
2147 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2151 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2152 ::std::string* _s = _internal_mutable_display_name();
2156inline const ::std::string& CourseSchedulingModel::_internal_display_name()
const {
2157 ::google::protobuf::internal::TSanRead(&
_impl_);
2158 return _impl_.display_name_.Get();
2160inline void CourseSchedulingModel::_internal_set_display_name(const ::std::string& value) {
2161 ::google::protobuf::internal::TSanWrite(&
_impl_);
2163 _impl_.display_name_.Set(value, GetArena());
2165inline ::std::string* PROTOBUF_NONNULL CourseSchedulingModel::_internal_mutable_display_name() {
2166 ::google::protobuf::internal::TSanWrite(&
_impl_);
2167 _impl_._has_bits_[0] |= 0x00000001u;
2168 return _impl_.display_name_.Mutable( GetArena());
2171 ::google::protobuf::internal::TSanWrite(&
_impl_);
2173 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
2176 _impl_._has_bits_[0] &= ~0x00000001u;
2177 auto* released =
_impl_.display_name_.Release();
2178 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2179 _impl_.display_name_.Set(
"", GetArena());
2184 ::google::protobuf::internal::TSanWrite(&
_impl_);
2185 if (value !=
nullptr) {
2186 _impl_._has_bits_[0] |= 0x00000001u;
2188 _impl_._has_bits_[0] &= ~0x00000001u;
2190 _impl_.display_name_.SetAllocated(value, GetArena());
2191 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
2192 _impl_.display_name_.Set(
"", GetArena());
2199 ::google::protobuf::internal::TSanWrite(&
_impl_);
2201 _impl_._has_bits_[0] &= ~0x00000002u;
2205 return _internal_days_count();
2208 _internal_set_days_count(value);
2209 _impl_._has_bits_[0] |= 0x00000002u;
2212inline ::int32_t CourseSchedulingModel::_internal_days_count()
const {
2213 ::google::protobuf::internal::TSanRead(&
_impl_);
2214 return _impl_.days_count_;
2216inline void CourseSchedulingModel::_internal_set_days_count(::int32_t value) {
2217 ::google::protobuf::internal::TSanWrite(&
_impl_);
2218 _impl_.days_count_ = value;
2223 ::google::protobuf::internal::TSanWrite(&
_impl_);
2224 _impl_.daily_time_slot_count_ = 0;
2225 _impl_._has_bits_[0] &= ~0x00000004u;
2229 return _internal_daily_time_slot_count();
2232 _internal_set_daily_time_slot_count(value);
2233 _impl_._has_bits_[0] |= 0x00000004u;
2236inline ::int32_t CourseSchedulingModel::_internal_daily_time_slot_count()
const {
2237 ::google::protobuf::internal::TSanRead(&
_impl_);
2238 return _impl_.daily_time_slot_count_;
2240inline void CourseSchedulingModel::_internal_set_daily_time_slot_count(::int32_t value) {
2241 ::google::protobuf::internal::TSanWrite(&
_impl_);
2242 _impl_.daily_time_slot_count_ = value;
2246inline int CourseSchedulingModel::_internal_courses_size()
const {
2247 return _internal_courses().size();
2250 return _internal_courses_size();
2253 ::google::protobuf::internal::TSanWrite(&
_impl_);
2257 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2259 return _internal_mutable_courses()->Mutable(index);
2262 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2264 ::google::protobuf::internal::TSanWrite(&
_impl_);
2265 return _internal_mutable_courses();
2268 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2270 return _internal_courses().Get(index);
2273 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2274 ::google::protobuf::internal::TSanWrite(&
_impl_);
2280 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2282 return _internal_courses();
2284inline const ::google::protobuf::RepeatedPtrField<::operations_research::Course>&
2285CourseSchedulingModel::_internal_courses()
const {
2286 ::google::protobuf::internal::TSanRead(&
_impl_);
2289inline ::google::protobuf::RepeatedPtrField<::operations_research::Course>* PROTOBUF_NONNULL
2290CourseSchedulingModel::_internal_mutable_courses() {
2291 ::google::protobuf::internal::TSanRead(&
_impl_);
2296inline int CourseSchedulingModel::_internal_teachers_size()
const {
2297 return _internal_teachers().size();
2300 return _internal_teachers_size();
2303 ::google::protobuf::internal::TSanWrite(&
_impl_);
2304 _impl_.teachers_.Clear();
2307 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2309 return _internal_mutable_teachers()->Mutable(index);
2312 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2314 ::google::protobuf::internal::TSanWrite(&
_impl_);
2315 return _internal_mutable_teachers();
2318 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2320 return _internal_teachers().Get(index);
2323 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2324 ::google::protobuf::internal::TSanWrite(&
_impl_);
2330 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2332 return _internal_teachers();
2334inline const ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>&
2335CourseSchedulingModel::_internal_teachers()
const {
2336 ::google::protobuf::internal::TSanRead(&
_impl_);
2339inline ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>* PROTOBUF_NONNULL
2340CourseSchedulingModel::_internal_mutable_teachers() {
2341 ::google::protobuf::internal::TSanRead(&
_impl_);
2342 return &
_impl_.teachers_;
2346inline int CourseSchedulingModel::_internal_students_size()
const {
2347 return _internal_students().size();
2350 return _internal_students_size();
2353 ::google::protobuf::internal::TSanWrite(&
_impl_);
2354 _impl_.students_.Clear();
2357 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2359 return _internal_mutable_students()->Mutable(index);
2362 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2364 ::google::protobuf::internal::TSanWrite(&
_impl_);
2365 return _internal_mutable_students();
2368 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2370 return _internal_students().Get(index);
2373 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2374 ::google::protobuf::internal::TSanWrite(&
_impl_);
2380 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2382 return _internal_students();
2384inline const ::google::protobuf::RepeatedPtrField<::operations_research::Student>&
2385CourseSchedulingModel::_internal_students()
const {
2386 ::google::protobuf::internal::TSanRead(&
_impl_);
2389inline ::google::protobuf::RepeatedPtrField<::operations_research::Student>* PROTOBUF_NONNULL
2390CourseSchedulingModel::_internal_mutable_students() {
2391 ::google::protobuf::internal::TSanRead(&
_impl_);
2392 return &
_impl_.students_;
2396inline int CourseSchedulingModel::_internal_rooms_size()
const {
2397 return _internal_rooms().size();
2400 return _internal_rooms_size();
2403 ::google::protobuf::internal::TSanWrite(&
_impl_);
2407 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2409 return _internal_mutable_rooms()->Mutable(index);
2412 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2414 ::google::protobuf::internal::TSanWrite(&
_impl_);
2415 return _internal_mutable_rooms();
2418 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2420 return _internal_rooms().Get(index);
2423 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2424 ::google::protobuf::internal::TSanWrite(&
_impl_);
2430 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2432 return _internal_rooms();
2434inline const ::google::protobuf::RepeatedPtrField<::operations_research::Room>&
2435CourseSchedulingModel::_internal_rooms()
const {
2436 ::google::protobuf::internal::TSanRead(&
_impl_);
2439inline ::google::protobuf::RepeatedPtrField<::operations_research::Room>* PROTOBUF_NONNULL
2440CourseSchedulingModel::_internal_mutable_rooms() {
2441 ::google::protobuf::internal::TSanRead(&
_impl_);
2451 ::google::protobuf::internal::TSanWrite(&
_impl_);
2452 _impl_.message_.ClearToEmpty();
2453 _impl_._has_bits_[0] &= ~0x00000001u;
2456 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2458 return _internal_message();
2460template <
typename Arg_,
typename... Args_>
2462 ::google::protobuf::internal::TSanWrite(&
_impl_);
2464 _impl_.message_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2468 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2469 ::std::string* _s = _internal_mutable_message();
2473inline const ::std::string& CourseSchedulingResult::_internal_message()
const {
2474 ::google::protobuf::internal::TSanRead(&
_impl_);
2475 return _impl_.message_.Get();
2477inline void CourseSchedulingResult::_internal_set_message(const ::std::string& value) {
2478 ::google::protobuf::internal::TSanWrite(&
_impl_);
2479 _impl_._has_bits_[0] |= 0x00000001u;
2482inline ::std::string* PROTOBUF_NONNULL CourseSchedulingResult::_internal_mutable_message() {
2483 ::google::protobuf::internal::TSanWrite(&
_impl_);
2484 _impl_._has_bits_[0] |= 0x00000001u;
2485 return _impl_.message_.Mutable( GetArena());
2488 ::google::protobuf::internal::TSanWrite(&
_impl_);
2490 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
2493 _impl_._has_bits_[0] &= ~0x00000001u;
2494 auto* released =
_impl_.message_.Release();
2495 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2496 _impl_.message_.Set(
"", GetArena());
2501 ::google::protobuf::internal::TSanWrite(&
_impl_);
2502 if (value !=
nullptr) {
2503 _impl_._has_bits_[0] |= 0x00000001u;
2505 _impl_._has_bits_[0] &= ~0x00000001u;
2507 _impl_.message_.SetAllocated(value, GetArena());
2508 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.message_.IsDefault()) {
2509 _impl_.message_.Set(
"", GetArena());
2516 ::google::protobuf::internal::TSanWrite(&
_impl_);
2517 _impl_.solver_status_ = 0;
2518 _impl_._has_bits_[0] &= ~0x00000002u;
2522 return _internal_solver_status();
2525 _internal_set_solver_status(value);
2526 _impl_._has_bits_[0] |= 0x00000002u;
2529inline ::operations_research::CourseSchedulingResultStatus CourseSchedulingResult::_internal_solver_status()
const {
2530 ::google::protobuf::internal::TSanRead(&
_impl_);
2534 ::google::protobuf::internal::TSanWrite(&
_impl_);
2535 _impl_.solver_status_ = value;
2539inline int CourseSchedulingResult::_internal_class_assignments_size()
const {
2540 return _internal_class_assignments().size();
2543 return _internal_class_assignments_size();
2546 ::google::protobuf::internal::TSanWrite(&
_impl_);
2547 _impl_.class_assignments_.Clear();
2550 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2552 return _internal_mutable_class_assignments()->Mutable(index);
2555 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2557 ::google::protobuf::internal::TSanWrite(&
_impl_);
2558 return _internal_mutable_class_assignments();
2561 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2563 return _internal_class_assignments().Get(index);
2566 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2567 ::google::protobuf::internal::TSanWrite(&
_impl_);
2573 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2575 return _internal_class_assignments();
2577inline const ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>&
2578CourseSchedulingResult::_internal_class_assignments()
const {
2579 ::google::protobuf::internal::TSanRead(&
_impl_);
2580 return _impl_.class_assignments_;
2582inline ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>* PROTOBUF_NONNULL
2583CourseSchedulingResult::_internal_mutable_class_assignments() {
2584 ::google::protobuf::internal::TSanRead(&
_impl_);
2589inline int CourseSchedulingResult::_internal_student_assignments_size()
const {
2590 return _internal_student_assignments().size();
2593 return _internal_student_assignments_size();
2596 ::google::protobuf::internal::TSanWrite(&
_impl_);
2597 _impl_.student_assignments_.Clear();
2600 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2602 return _internal_mutable_student_assignments()->Mutable(index);
2605 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2607 ::google::protobuf::internal::TSanWrite(&
_impl_);
2608 return _internal_mutable_student_assignments();
2611 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2613 return _internal_student_assignments().Get(index);
2616 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2617 ::google::protobuf::internal::TSanWrite(&
_impl_);
2623 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2625 return _internal_student_assignments();
2627inline const ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>&
2628CourseSchedulingResult::_internal_student_assignments()
const {
2629 ::google::protobuf::internal::TSanRead(&
_impl_);
2630 return _impl_.student_assignments_;
2632inline ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>* PROTOBUF_NONNULL
2633CourseSchedulingResult::_internal_mutable_student_assignments() {
2634 ::google::protobuf::internal::TSanRead(&
_impl_);
2644 ::google::protobuf::internal::TSanWrite(&
_impl_);
2645 _impl_.course_index_ = 0;
2646 _impl_._has_bits_[0] &= ~0x00000001u;
2650 return _internal_course_index();
2653 _internal_set_course_index(value);
2654 _impl_._has_bits_[0] |= 0x00000001u;
2657inline ::int32_t ClassAssignment::_internal_course_index()
const {
2658 ::google::protobuf::internal::TSanRead(&
_impl_);
2659 return _impl_.course_index_;
2661inline void ClassAssignment::_internal_set_course_index(::int32_t value) {
2662 ::google::protobuf::internal::TSanWrite(&
_impl_);
2663 _impl_.course_index_ = value;
2668 ::google::protobuf::internal::TSanWrite(&
_impl_);
2669 _impl_.section_number_ = 0;
2670 _impl_._has_bits_[0] &= ~0x00000002u;
2674 return _internal_section_number();
2677 _internal_set_section_number(value);
2678 _impl_._has_bits_[0] |= 0x00000002u;
2681inline ::int32_t ClassAssignment::_internal_section_number()
const {
2682 ::google::protobuf::internal::TSanRead(&
_impl_);
2683 return _impl_.section_number_;
2685inline void ClassAssignment::_internal_set_section_number(::int32_t value) {
2686 ::google::protobuf::internal::TSanWrite(&
_impl_);
2687 _impl_.section_number_ = value;
2691inline int ClassAssignment::_internal_time_slots_size()
const {
2692 return _internal_time_slots().size();
2695 return _internal_time_slots_size();
2698 ::google::protobuf::internal::TSanWrite(&
_impl_);
2699 _impl_.time_slots_.Clear();
2703 return _internal_time_slots().Get(index);
2706 _internal_mutable_time_slots()->Set(index, value);
2710 ::google::protobuf::internal::TSanWrite(&
_impl_);
2711 _internal_mutable_time_slots()->Add(value);
2715 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2717 return _internal_time_slots();
2720 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2722 ::google::protobuf::internal::TSanWrite(&
_impl_);
2723 return _internal_mutable_time_slots();
2725inline const ::google::protobuf::RepeatedField<::int32_t>&
2726ClassAssignment::_internal_time_slots()
const {
2727 ::google::protobuf::internal::TSanRead(&
_impl_);
2730inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2731ClassAssignment::_internal_mutable_time_slots() {
2732 ::google::protobuf::internal::TSanRead(&
_impl_);
2737inline int ClassAssignment::_internal_room_indices_size()
const {
2738 return _internal_room_indices().size();
2741 return _internal_room_indices_size();
2744 ::google::protobuf::internal::TSanWrite(&
_impl_);
2745 _impl_.room_indices_.Clear();
2749 return _internal_room_indices().Get(index);
2752 _internal_mutable_room_indices()->Set(index, value);
2756 ::google::protobuf::internal::TSanWrite(&
_impl_);
2757 _internal_mutable_room_indices()->Add(value);
2761 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2763 return _internal_room_indices();
2766 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2768 ::google::protobuf::internal::TSanWrite(&
_impl_);
2769 return _internal_mutable_room_indices();
2771inline const ::google::protobuf::RepeatedField<::int32_t>&
2772ClassAssignment::_internal_room_indices()
const {
2773 ::google::protobuf::internal::TSanRead(&
_impl_);
2776inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2777ClassAssignment::_internal_mutable_room_indices() {
2778 ::google::protobuf::internal::TSanRead(&
_impl_);
2788 ::google::protobuf::internal::TSanWrite(&
_impl_);
2789 _impl_.student_index_ = 0;
2790 _impl_._has_bits_[0] &= ~0x00000001u;
2794 return _internal_student_index();
2797 _internal_set_student_index(value);
2798 _impl_._has_bits_[0] |= 0x00000001u;
2801inline ::int32_t StudentAssignment::_internal_student_index()
const {
2802 ::google::protobuf::internal::TSanRead(&
_impl_);
2803 return _impl_.student_index_;
2805inline void StudentAssignment::_internal_set_student_index(::int32_t value) {
2806 ::google::protobuf::internal::TSanWrite(&
_impl_);
2811inline int StudentAssignment::_internal_course_indices_size()
const {
2812 return _internal_course_indices().size();
2815 return _internal_course_indices_size();
2818 ::google::protobuf::internal::TSanWrite(&
_impl_);
2819 _impl_.course_indices_.Clear();
2823 return _internal_course_indices().Get(index);
2826 _internal_mutable_course_indices()->Set(index, value);
2830 ::google::protobuf::internal::TSanWrite(&
_impl_);
2831 _internal_mutable_course_indices()->Add(value);
2835 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2837 return _internal_course_indices();
2840 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2842 ::google::protobuf::internal::TSanWrite(&
_impl_);
2843 return _internal_mutable_course_indices();
2845inline const ::google::protobuf::RepeatedField<::int32_t>&
2846StudentAssignment::_internal_course_indices()
const {
2847 ::google::protobuf::internal::TSanRead(&
_impl_);
2848 return _impl_.course_indices_;
2850inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2851StudentAssignment::_internal_mutable_course_indices() {
2852 ::google::protobuf::internal::TSanRead(&
_impl_);
2853 return &
_impl_.course_indices_;
2857inline int StudentAssignment::_internal_section_indices_size()
const {
2858 return _internal_section_indices().size();
2861 return _internal_section_indices_size();
2864 ::google::protobuf::internal::TSanWrite(&
_impl_);
2865 _impl_.section_indices_.Clear();
2869 return _internal_section_indices().Get(index);
2872 _internal_mutable_section_indices()->Set(index, value);
2876 ::google::protobuf::internal::TSanWrite(&
_impl_);
2877 _internal_mutable_section_indices()->Add(value);
2881 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2883 return _internal_section_indices();
2886 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2888 ::google::protobuf::internal::TSanWrite(&
_impl_);
2889 return _internal_mutable_section_indices();
2891inline const ::google::protobuf::RepeatedField<::int32_t>&
2892StudentAssignment::_internal_section_indices()
const {
2893 ::google::protobuf::internal::TSanRead(&
_impl_);
2894 return _impl_.section_indices_;
2896inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2897StudentAssignment::_internal_mutable_section_indices() {
2898 ::google::protobuf::internal::TSanRead(&
_impl_);
2899 return &
_impl_.section_indices_;
2908 ::google::protobuf::internal::TSanWrite(&
_impl_);
2909 _impl_.display_name_.ClearToEmpty();
2910 _impl_._has_bits_[0] &= ~0x00000001u;
2913 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2915 return _internal_display_name();
2917template <
typename Arg_,
typename... Args_>
2919 ::google::protobuf::internal::TSanWrite(&
_impl_);
2920 _impl_._has_bits_[0] |= 0x00000001u;
2921 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2925 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2926 ::std::string* _s = _internal_mutable_display_name();
2930inline const ::std::string& Course::_internal_display_name()
const {
2931 ::google::protobuf::internal::TSanRead(&
_impl_);
2932 return _impl_.display_name_.Get();
2934inline void Course::_internal_set_display_name(const ::std::string& value) {
2935 ::google::protobuf::internal::TSanWrite(&
_impl_);
2936 _impl_._has_bits_[0] |= 0x00000001u;
2937 _impl_.display_name_.Set(value, GetArena());
2939inline ::std::string* PROTOBUF_NONNULL Course::_internal_mutable_display_name() {
2940 ::google::protobuf::internal::TSanWrite(&
_impl_);
2941 _impl_._has_bits_[0] |= 0x00000001u;
2942 return _impl_.display_name_.Mutable( GetArena());
2945 ::google::protobuf::internal::TSanWrite(&
_impl_);
2947 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
2950 _impl_._has_bits_[0] &= ~0x00000001u;
2951 auto* released =
_impl_.display_name_.Release();
2952 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2953 _impl_.display_name_.Set(
"", GetArena());
2958 ::google::protobuf::internal::TSanWrite(&
_impl_);
2959 if (value !=
nullptr) {
2962 _impl_._has_bits_[0] &= ~0x00000001u;
2964 _impl_.display_name_.SetAllocated(value, GetArena());
2965 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
2966 _impl_.display_name_.Set(
"", GetArena());
2973 ::google::protobuf::internal::TSanWrite(&
_impl_);
2974 _impl_.meetings_count_ = 0;
2975 _impl_._has_bits_[0] &= ~0x00000002u;
2979 return _internal_meetings_count();
2982 _internal_set_meetings_count(value);
2983 _impl_._has_bits_[0] |= 0x00000002u;
2986inline ::int32_t Course::_internal_meetings_count()
const {
2987 ::google::protobuf::internal::TSanRead(&
_impl_);
2990inline void Course::_internal_set_meetings_count(::int32_t value) {
2991 ::google::protobuf::internal::TSanWrite(&
_impl_);
2992 _impl_.meetings_count_ = value;
2997 ::google::protobuf::internal::TSanWrite(&
_impl_);
2998 _impl_.max_capacity_ = 0;
2999 _impl_._has_bits_[0] &= ~0x00000004u;
3003 return _internal_max_capacity();
3006 _internal_set_max_capacity(value);
3007 _impl_._has_bits_[0] |= 0x00000004u;
3010inline ::int32_t Course::_internal_max_capacity()
const {
3011 ::google::protobuf::internal::TSanRead(&
_impl_);
3014inline void Course::_internal_set_max_capacity(::int32_t value) {
3015 ::google::protobuf::internal::TSanWrite(&
_impl_);
3016 _impl_.max_capacity_ = value;
3021 ::google::protobuf::internal::TSanWrite(&
_impl_);
3022 _impl_.min_capacity_ = 0;
3023 _impl_._has_bits_[0] &= ~0x00000008u;
3027 return _internal_min_capacity();
3030 _internal_set_min_capacity(value);
3031 _impl_._has_bits_[0] |= 0x00000008u;
3034inline ::int32_t Course::_internal_min_capacity()
const {
3035 ::google::protobuf::internal::TSanRead(&
_impl_);
3038inline void Course::_internal_set_min_capacity(::int32_t value) {
3039 ::google::protobuf::internal::TSanWrite(&
_impl_);
3040 _impl_.min_capacity_ = value;
3045 ::google::protobuf::internal::TSanWrite(&
_impl_);
3046 _impl_.consecutive_slots_count_ = 0;
3047 _impl_._has_bits_[0] &= ~0x00000010u;
3051 return _internal_consecutive_slots_count();
3054 _internal_set_consecutive_slots_count(value);
3055 _impl_._has_bits_[0] |= 0x00000010u;
3058inline ::int32_t Course::_internal_consecutive_slots_count()
const {
3059 ::google::protobuf::internal::TSanRead(&
_impl_);
3062inline void Course::_internal_set_consecutive_slots_count(::int32_t value) {
3063 ::google::protobuf::internal::TSanWrite(&
_impl_);
3064 _impl_.consecutive_slots_count_ = value;
3068inline int Course::_internal_teacher_indices_size()
const {
3069 return _internal_teacher_indices().size();
3072 return _internal_teacher_indices_size();
3075 ::google::protobuf::internal::TSanWrite(&
_impl_);
3076 _impl_.teacher_indices_.Clear();
3080 return _internal_teacher_indices().Get(index);
3083 _internal_mutable_teacher_indices()->Set(index, value);
3087 ::google::protobuf::internal::TSanWrite(&
_impl_);
3088 _internal_mutable_teacher_indices()->Add(value);
3092 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3094 return _internal_teacher_indices();
3097 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3099 ::google::protobuf::internal::TSanWrite(&
_impl_);
3100 return _internal_mutable_teacher_indices();
3102inline const ::google::protobuf::RepeatedField<::int32_t>&
3103Course::_internal_teacher_indices()
const {
3104 ::google::protobuf::internal::TSanRead(&
_impl_);
3105 return _impl_.teacher_indices_;
3107inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3108Course::_internal_mutable_teacher_indices() {
3109 ::google::protobuf::internal::TSanRead(&
_impl_);
3110 return &
_impl_.teacher_indices_;
3114inline int Course::_internal_teacher_section_counts_size()
const {
3115 return _internal_teacher_section_counts().size();
3118 return _internal_teacher_section_counts_size();
3121 ::google::protobuf::internal::TSanWrite(&
_impl_);
3122 _impl_.teacher_section_counts_.Clear();
3126 return _internal_teacher_section_counts().Get(index);
3129 _internal_mutable_teacher_section_counts()->Set(index, value);
3133 ::google::protobuf::internal::TSanWrite(&
_impl_);
3134 _internal_mutable_teacher_section_counts()->Add(value);
3138 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3140 return _internal_teacher_section_counts();
3143 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3145 ::google::protobuf::internal::TSanWrite(&
_impl_);
3146 return _internal_mutable_teacher_section_counts();
3148inline const ::google::protobuf::RepeatedField<::int32_t>&
3149Course::_internal_teacher_section_counts()
const {
3150 ::google::protobuf::internal::TSanRead(&
_impl_);
3151 return _impl_.teacher_section_counts_;
3153inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3154Course::_internal_mutable_teacher_section_counts() {
3155 ::google::protobuf::internal::TSanRead(&
_impl_);
3156 return &
_impl_.teacher_section_counts_;
3160inline int Course::_internal_room_indices_size()
const {
3161 return _internal_room_indices().size();
3164 return _internal_room_indices_size();
3167 ::google::protobuf::internal::TSanWrite(&
_impl_);
3168 _impl_.room_indices_.Clear();
3172 return _internal_room_indices().Get(index);
3175 _internal_mutable_room_indices()->Set(index, value);
3179 ::google::protobuf::internal::TSanWrite(&
_impl_);
3180 _internal_mutable_room_indices()->Add(value);
3184 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3186 return _internal_room_indices();
3189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3191 ::google::protobuf::internal::TSanWrite(&
_impl_);
3192 return _internal_mutable_room_indices();
3194inline const ::google::protobuf::RepeatedField<::int32_t>&
3195Course::_internal_room_indices()
const {
3196 ::google::protobuf::internal::TSanRead(&
_impl_);
3197 return _impl_.room_indices_;
3199inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3200Course::_internal_mutable_room_indices() {
3201 ::google::protobuf::internal::TSanRead(&
_impl_);
3202 return &
_impl_.room_indices_;
3211 ::google::protobuf::internal::TSanWrite(&
_impl_);
3212 _impl_.display_name_.ClearToEmpty();
3213 _impl_._has_bits_[0] &= ~0x00000001u;
3216 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3218 return _internal_display_name();
3220template <
typename Arg_,
typename... Args_>
3222 ::google::protobuf::internal::TSanWrite(&
_impl_);
3223 _impl_._has_bits_[0] |= 0x00000001u;
3224 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3228 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3229 ::std::string* _s = _internal_mutable_display_name();
3233inline const ::std::string& Teacher::_internal_display_name()
const {
3234 ::google::protobuf::internal::TSanRead(&
_impl_);
3235 return _impl_.display_name_.Get();
3237inline void Teacher::_internal_set_display_name(const ::std::string& value) {
3238 ::google::protobuf::internal::TSanWrite(&
_impl_);
3239 _impl_._has_bits_[0] |= 0x00000001u;
3240 _impl_.display_name_.Set(value, GetArena());
3242inline ::std::string* PROTOBUF_NONNULL Teacher::_internal_mutable_display_name() {
3243 ::google::protobuf::internal::TSanWrite(&
_impl_);
3245 return _impl_.display_name_.Mutable( GetArena());
3248 ::google::protobuf::internal::TSanWrite(&
_impl_);
3250 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
3253 _impl_._has_bits_[0] &= ~0x00000001u;
3254 auto* released =
_impl_.display_name_.Release();
3255 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3256 _impl_.display_name_.Set(
"", GetArena());
3261 ::google::protobuf::internal::TSanWrite(&
_impl_);
3262 if (value !=
nullptr) {
3263 _impl_._has_bits_[0] |= 0x00000001u;
3265 _impl_._has_bits_[0] &= ~0x00000001u;
3267 _impl_.display_name_.SetAllocated(value, GetArena());
3268 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
3269 _impl_.display_name_.Set(
"", GetArena());
3275inline int Teacher::_internal_restricted_time_slots_size()
const {
3276 return _internal_restricted_time_slots().size();
3279 return _internal_restricted_time_slots_size();
3282 ::google::protobuf::internal::TSanWrite(&
_impl_);
3283 _impl_.restricted_time_slots_.Clear();
3287 return _internal_restricted_time_slots().Get(index);
3290 _internal_mutable_restricted_time_slots()->Set(index, value);
3294 ::google::protobuf::internal::TSanWrite(&
_impl_);
3295 _internal_mutable_restricted_time_slots()->Add(value);
3299 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3301 return _internal_restricted_time_slots();
3304 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3306 ::google::protobuf::internal::TSanWrite(&
_impl_);
3307 return _internal_mutable_restricted_time_slots();
3309inline const ::google::protobuf::RepeatedField<::int32_t>&
3310Teacher::_internal_restricted_time_slots()
const {
3311 ::google::protobuf::internal::TSanRead(&
_impl_);
3312 return _impl_.restricted_time_slots_;
3314inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3315Teacher::_internal_mutable_restricted_time_slots() {
3316 ::google::protobuf::internal::TSanRead(&
_impl_);
3317 return &
_impl_.restricted_time_slots_;
3326 ::google::protobuf::internal::TSanWrite(&
_impl_);
3327 _impl_.display_name_.ClearToEmpty();
3328 _impl_._has_bits_[0] &= ~0x00000001u;
3331 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3333 return _internal_display_name();
3335template <
typename Arg_,
typename... Args_>
3337 ::google::protobuf::internal::TSanWrite(&
_impl_);
3338 _impl_._has_bits_[0] |= 0x00000001u;
3339 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3343 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3344 ::std::string* _s = _internal_mutable_display_name();
3348inline const ::std::string& Student::_internal_display_name()
const {
3349 ::google::protobuf::internal::TSanRead(&
_impl_);
3350 return _impl_.display_name_.Get();
3352inline void Student::_internal_set_display_name(const ::std::string& value) {
3353 ::google::protobuf::internal::TSanWrite(&
_impl_);
3355 _impl_.display_name_.Set(value, GetArena());
3357inline ::std::string* PROTOBUF_NONNULL Student::_internal_mutable_display_name() {
3358 ::google::protobuf::internal::TSanWrite(&
_impl_);
3359 _impl_._has_bits_[0] |= 0x00000001u;
3360 return _impl_.display_name_.Mutable( GetArena());
3363 ::google::protobuf::internal::TSanWrite(&
_impl_);
3365 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
3368 _impl_._has_bits_[0] &= ~0x00000001u;
3369 auto* released =
_impl_.display_name_.Release();
3370 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3371 _impl_.display_name_.Set(
"", GetArena());
3376 ::google::protobuf::internal::TSanWrite(&
_impl_);
3377 if (value !=
nullptr) {
3378 _impl_._has_bits_[0] |= 0x00000001u;
3382 _impl_.display_name_.SetAllocated(value, GetArena());
3383 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
3384 _impl_.display_name_.Set(
"", GetArena());
3390inline int Student::_internal_course_indices_size()
const {
3391 return _internal_course_indices().size();
3394 return _internal_course_indices_size();
3397 ::google::protobuf::internal::TSanWrite(&
_impl_);
3398 _impl_.course_indices_.Clear();
3402 return _internal_course_indices().Get(index);
3405 _internal_mutable_course_indices()->Set(index, value);
3409 ::google::protobuf::internal::TSanWrite(&
_impl_);
3410 _internal_mutable_course_indices()->Add(value);
3414 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3416 return _internal_course_indices();
3419 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3421 ::google::protobuf::internal::TSanWrite(&
_impl_);
3422 return _internal_mutable_course_indices();
3424inline const ::google::protobuf::RepeatedField<::int32_t>&
3425Student::_internal_course_indices()
const {
3426 ::google::protobuf::internal::TSanRead(&
_impl_);
3427 return _impl_.course_indices_;
3429inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3430Student::_internal_mutable_course_indices() {
3431 ::google::protobuf::internal::TSanRead(&
_impl_);
3432 return &
_impl_.course_indices_;
3441 ::google::protobuf::internal::TSanWrite(&
_impl_);
3442 _impl_.display_name_.ClearToEmpty();
3443 _impl_._has_bits_[0] &= ~0x00000001u;
3446 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3448 return _internal_display_name();
3450template <
typename Arg_,
typename... Args_>
3452 ::google::protobuf::internal::TSanWrite(&
_impl_);
3453 _impl_._has_bits_[0] |= 0x00000001u;
3454 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3458 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3459 ::std::string* _s = _internal_mutable_display_name();
3463inline const ::std::string& Room::_internal_display_name()
const {
3464 ::google::protobuf::internal::TSanRead(&
_impl_);
3465 return _impl_.display_name_.Get();
3467inline void Room::_internal_set_display_name(const ::std::string& value) {
3468 ::google::protobuf::internal::TSanWrite(&
_impl_);
3469 _impl_._has_bits_[0] |= 0x00000001u;
3472inline ::std::string* PROTOBUF_NONNULL Room::_internal_mutable_display_name() {
3473 ::google::protobuf::internal::TSanWrite(&
_impl_);
3474 _impl_._has_bits_[0] |= 0x00000001u;
3475 return _impl_.display_name_.Mutable( GetArena());
3478 ::google::protobuf::internal::TSanWrite(&
_impl_);
3480 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
3483 _impl_._has_bits_[0] &= ~0x00000001u;
3484 auto* released =
_impl_.display_name_.Release();
3485 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3486 _impl_.display_name_.Set(
"", GetArena());
3491 ::google::protobuf::internal::TSanWrite(&
_impl_);
3492 if (value !=
nullptr) {
3493 _impl_._has_bits_[0] |= 0x00000001u;
3495 _impl_._has_bits_[0] &= ~0x00000001u;
3497 _impl_.display_name_.SetAllocated(value, GetArena());
3498 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
3499 _impl_.display_name_.Set(
"", GetArena());
3506 ::google::protobuf::internal::TSanWrite(&
_impl_);
3508 _impl_._has_bits_[0] &= ~0x00000002u;
3512 return _internal_capacity();
3515 _internal_set_capacity(value);
3516 _impl_._has_bits_[0] |= 0x00000002u;
3519inline ::int32_t Room::_internal_capacity()
const {
3520 ::google::protobuf::internal::TSanRead(&
_impl_);
3523inline void Room::_internal_set_capacity(::int32_t value) {
3524 ::google::protobuf::internal::TSanWrite(&
_impl_);
3525 _impl_.capacity_ = value;
3529#pragma GCC diagnostic pop
3543 return ::operations_research::CourseSchedulingResultStatus_descriptor();
3551#include "google/protobuf/port_undef.inc"
int time_slots_size() const
repeated int32 time_slots = 3;
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_room_indices()
const ::google::protobuf::RepeatedField<::int32_t > & room_indices() const
void clear_section_number()
int32 section_number = 2;
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ClassAssignment *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static constexpr auto InternalNewImpl_()
::size_t ByteSizeLong() const final
void add_room_indices(::int32_t value)
void set_room_indices(int index, ::int32_t value)
void add_time_slots(::int32_t value)
ClassAssignment & operator=(const ClassAssignment &from)
::google::protobuf::Metadata GetMetadata() const
::int32_t section_number() const
void set_section_number(::int32_t value)
void set_course_index(::int32_t value)
void Swap(ClassAssignment *PROTOBUF_NONNULL other)
::int32_t time_slots(int index) const
::int32_t room_indices(int index) const
int room_indices_size() const
repeated int32 room_indices = 4;
void set_time_slots(int index, ::int32_t value)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_time_slots()
bool IsInitialized() const
static const ClassAssignment & default_instance()
void clear_room_indices()
::int32_t course_index() const
static constexpr int kIndexInFileMessages
@ kSectionNumberFieldNumber
@ kCourseIndexFieldNumber
@ kRoomIndicesFieldNumber
const ::google::protobuf::RepeatedField<::int32_t > & time_slots() const
friend void swap(ClassAssignment &a, ClassAssignment &b)
void clear_course_index()
int32 course_index = 1;
friend class ::google::protobuf::Arena
static constexpr auto InternalGenerateClassData_()
::std::string *PROTOBUF_NULLABLE release_display_name()
void set_daily_time_slot_count(::int32_t value)
::google::protobuf::RepeatedPtrField<::operations_research::Student > *PROTOBUF_NONNULL mutable_students()
const ::operations_research::Teacher & teachers(int index) const
bool IsInitialized() const
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
::std::string *PROTOBUF_NONNULL mutable_display_name()
const ::std::string & display_name() const
const ::operations_research::Course & courses(int index) const
void Swap(CourseSchedulingModel *PROTOBUF_NONNULL other)
void set_allocated_display_name(::std::string *PROTOBUF_NULLABLE value)
static constexpr auto InternalNewImpl_()
::operations_research::Teacher *PROTOBUF_NONNULL mutable_teachers(int index)
int students_size() const
repeated .operations_research.Student students = 6;
int rooms_size() const
repeated .operations_research.Room rooms = 7;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::operations_research::Student & students(int index) const
::int32_t daily_time_slot_count() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::operations_research::Student *PROTOBUF_NONNULL mutable_students(int index)
void set_days_count(::int32_t value)
static const CourseSchedulingModel & default_instance()
void clear_daily_time_slot_count()
int32 daily_time_slot_count = 3;
::google::protobuf::Metadata GetMetadata() const
void clear_display_name()
string display_name = 1;
::int32_t days_count() const
int teachers_size() const
repeated .operations_research.Teacher teachers = 5;
::operations_research::Course *PROTOBUF_NONNULL mutable_courses(int index)
::google::protobuf::RepeatedPtrField<::operations_research::Room > *PROTOBUF_NONNULL mutable_rooms()
const ::google::protobuf::RepeatedPtrField<::operations_research::Room > & rooms() const
void CopyFrom(const CourseSchedulingModel &from)
void UnsafeArenaSwap(CourseSchedulingModel *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedPtrField<::operations_research::Course > & courses() const
const ::google::protobuf::RepeatedPtrField<::operations_research::Student > & students() const
const ::operations_research::Room & rooms(int index) const
CourseSchedulingModel & operator=(const CourseSchedulingModel &from)
const ::google::protobuf::RepeatedPtrField<::operations_research::Teacher > & teachers() const
::operations_research::Room *PROTOBUF_NONNULL mutable_rooms(int index)
::google::protobuf::RepeatedPtrField<::operations_research::Teacher > *PROTOBUF_NONNULL mutable_teachers()
void set_display_name(Arg_ &&arg, Args_... args)
::operations_research::Teacher *PROTOBUF_NONNULL add_teachers()
::operations_research::Student *PROTOBUF_NONNULL add_students()
@ kDailyTimeSlotCountFieldNumber
@ kDisplayNameFieldNumber
int courses_size() const
repeated .operations_research.Course courses = 4;
void clear_days_count()
int32 days_count = 2;
::operations_research::Course *PROTOBUF_NONNULL add_courses()
::google::protobuf::RepeatedPtrField<::operations_research::Course > *PROTOBUF_NONNULL mutable_courses()
::operations_research::Room *PROTOBUF_NONNULL add_rooms()
void clear_message()
string message = 1;
::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment > *PROTOBUF_NONNULL mutable_student_assignments()
const ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment > & class_assignments() const
void set_allocated_message(::std::string *PROTOBUF_NULLABLE value)
const ::operations_research::ClassAssignment & class_assignments(int index) const
bool IsInitialized() const
static constexpr auto InternalNewImpl_()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::std::string & message() const
void Swap(CourseSchedulingResult *PROTOBUF_NONNULL other)
::operations_research::StudentAssignment *PROTOBUF_NONNULL mutable_student_assignments(int index)
::operations_research::ClassAssignment *PROTOBUF_NONNULL add_class_assignments()
void clear_solver_status()
.operations_research.CourseSchedulingResultStatus solver_status = 2;
int student_assignments_size() const
repeated .operations_research.StudentAssignment student_assignments = 4;
::operations_research::ClassAssignment *PROTOBUF_NONNULL mutable_class_assignments(int index)
@ kSolverStatusFieldNumber
@ kStudentAssignmentsFieldNumber
@ kClassAssignmentsFieldNumber
const ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment > & student_assignments() const
static const CourseSchedulingResult & default_instance()
::std::string *PROTOBUF_NONNULL mutable_message()
void set_message(Arg_ &&arg, Args_... args)
void set_solver_status(::operations_research::CourseSchedulingResultStatus value)
void clear_student_assignments()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::operations_research::StudentAssignment & student_assignments(int index) const
::std::string *PROTOBUF_NULLABLE release_message()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void UnsafeArenaSwap(CourseSchedulingResult *PROTOBUF_NONNULL other)
::size_t ByteSizeLong() const final
friend void swap(CourseSchedulingResult &a, CourseSchedulingResult &b)
CourseSchedulingResult *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment > *PROTOBUF_NONNULL mutable_class_assignments()
::google::protobuf::Metadata GetMetadata() const
void clear_class_assignments()
int class_assignments_size() const
repeated .operations_research.ClassAssignment class_assignments = 3;
static constexpr auto InternalGenerateClassData_()
::operations_research::StudentAssignment *PROTOBUF_NONNULL add_student_assignments()
friend class ::google::protobuf::Arena
::operations_research::CourseSchedulingResultStatus solver_status() const
const ::google::protobuf::RepeatedField<::int32_t > & teacher_section_counts() const
const ::google::protobuf::RepeatedField<::int32_t > & room_indices() const
void set_allocated_display_name(::std::string *PROTOBUF_NULLABLE value)
static constexpr auto InternalGenerateClassData_()
::int32_t min_capacity() const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_teacher_indices()
void clear_consecutive_slots_count()
int32 consecutive_slots_count = 5;
::int32_t consecutive_slots_count() const
@ kTeacherIndicesFieldNumber
@ kConsecutiveSlotsCountFieldNumber
@ kDisplayNameFieldNumber
@ kMaxCapacityFieldNumber
@ kTeacherSectionCountsFieldNumber
@ kMinCapacityFieldNumber
@ kRoomIndicesFieldNumber
@ kMeetingsCountFieldNumber
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_meetings_count(::int32_t value)
void clear_room_indices()
::int32_t room_indices(int index) const
static const Course & default_instance()
void set_teacher_section_counts(int index, ::int32_t value)
void clear_teacher_indices()
::size_t ByteSizeLong() const final
void clear_display_name()
string display_name = 1;
Course *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void Swap(Course *PROTOBUF_NONNULL other)
void clear_min_capacity()
int32 min_capacity = 4;
int teacher_indices_size() const
repeated int32 teacher_indices = 6;
::std::string *PROTOBUF_NONNULL mutable_display_name()
::int32_t teacher_indices(int index) const
int room_indices_size() const
repeated int32 room_indices = 8;
void clear_meetings_count()
int32 meetings_count = 2;
void set_consecutive_slots_count(::int32_t value)
::google::protobuf::Metadata GetMetadata() const
void set_teacher_indices(int index, ::int32_t value)
::std::string *PROTOBUF_NULLABLE release_display_name()
void clear_max_capacity()
int32 max_capacity = 3;
void add_room_indices(::int32_t value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void clear_teacher_section_counts()
::int32_t meetings_count() const
static constexpr auto InternalNewImpl_()
void add_teacher_section_counts(::int32_t value)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::RepeatedField<::int32_t > & teacher_indices() const
::int32_t max_capacity() const
void CopyFrom(const Course &from)
::int32_t teacher_section_counts(int index) const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_teacher_section_counts()
void add_teacher_indices(::int32_t value)
void set_min_capacity(::int32_t value)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_room_indices()
const ::std::string & display_name() const
bool IsInitialized() const
void MergeFrom(const Course &from)
int teacher_section_counts_size() const
repeated int32 teacher_section_counts = 7;
void set_room_indices(int index, ::int32_t value)
void set_display_name(Arg_ &&arg, Args_... args)
void set_max_capacity(::int32_t value)
friend class ::google::protobuf::Arena
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Course & operator=(const Course &from)
::int32_t capacity() const
Room *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::google::protobuf::Metadata GetMetadata() const
friend void swap(Room &a, Room &b)
::std::string *PROTOBUF_NULLABLE release_display_name()
void set_allocated_display_name(::std::string *PROTOBUF_NULLABLE value)
::size_t ByteSizeLong() const final
bool IsInitialized() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_capacity()
int32 capacity = 2;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::std::string *PROTOBUF_NONNULL mutable_display_name()
void clear_display_name()
string display_name = 1;
void CopyFrom(const Room &from)
Room & operator=(const Room &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void set_display_name(Arg_ &&arg, Args_... args)
const ::std::string & display_name() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
@ kDisplayNameFieldNumber
void Swap(Room *PROTOBUF_NONNULL other)
void MergeFrom(const Room &from)
friend class ::google::protobuf::Arena
void set_capacity(::int32_t value)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void clear_course_indices()
friend class ::google::protobuf::MessageLite
const ::google::protobuf::RepeatedField<::int32_t > & section_indices() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
int section_indices_size() const
repeated int32 section_indices = 3;
::int32_t student_index() const
void set_section_indices(int index, ::int32_t value)
bool IsInitialized() const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_section_indices()
int course_indices_size() const
repeated int32 course_indices = 2;
StudentAssignment & operator=(const StudentAssignment &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
static const StudentAssignment & default_instance()
void set_student_index(::int32_t value)
PROTOBUF_CONSTEXPR StudentAssignment(::google::protobuf::internal::ConstantInitialized)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_course_indices()
::int32_t course_indices(int index) const
void clear_section_indices()
void clear_student_index()
int32 student_index = 1;
void set_course_indices(int index, ::int32_t value)
::int32_t section_indices(int index) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void add_section_indices(::int32_t value)
void MergeFrom(const StudentAssignment &from)
void add_course_indices(::int32_t value)
void Swap(StudentAssignment *PROTOBUF_NONNULL other)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const StudentAssignment &from)
const ::google::protobuf::RepeatedField<::int32_t > & course_indices() const
void CopyFrom(const Student &from)
friend class ::google::protobuf::MessageLite
::int32_t course_indices(int index) const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_course_indices()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_allocated_display_name(::std::string *PROTOBUF_NULLABLE value)
void MergeFrom(const Student &from)
int course_indices_size() const
repeated int32 course_indices = 2;
friend void swap(Student &a, Student &b)
static constexpr int kIndexInFileMessages
void Swap(Student *PROTOBUF_NONNULL other)
::std::string *PROTOBUF_NULLABLE release_display_name()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedField<::int32_t > & course_indices() const
void clear_course_indices()
Student & operator=(const Student &from)
void set_display_name(Arg_ &&arg, Args_... args)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::size_t ByteSizeLong() const final
static const Student & default_instance()
PROTOBUF_CONSTEXPR Student(::google::protobuf::internal::ConstantInitialized)
::std::string *PROTOBUF_NONNULL mutable_display_name()
void clear_display_name()
string display_name = 1;
const ::std::string & display_name() const
void set_course_indices(int index, ::int32_t value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void add_course_indices(::int32_t value)
bool IsInitialized() const
bool IsInitialized() const
friend class ::google::protobuf::MessageLite
::int32_t restricted_time_slots(int index) const
::std::string *PROTOBUF_NONNULL mutable_display_name()
void set_display_name(Arg_ &&arg, Args_... args)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_restricted_time_slots()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_restricted_time_slots(int index, ::int32_t value)
void clear_display_name()
string display_name = 1;
::std::string *PROTOBUF_NULLABLE release_display_name()
PROTOBUF_CONSTEXPR Teacher(::google::protobuf::internal::ConstantInitialized)
void clear_restricted_time_slots()
void set_allocated_display_name(::std::string *PROTOBUF_NULLABLE value)
Teacher & operator=(const Teacher &from)
Teacher(const Teacher &from)
Teacher(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, Teacher &&from) noexcept
const ::std::string & display_name() const
int restricted_time_slots_size() const
repeated int32 restricted_time_slots = 2;
void CopyFrom(const Teacher &from)
void add_restricted_time_slots(::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & restricted_time_slots() const
void Swap(Teacher *PROTOBUF_NONNULL other)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2fcourse_5fscheduling_2eproto
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::CourseSchedulingResultStatus >()
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDefaultTypeInternal _Room_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TeacherDefaultTypeInternal _Teacher_default_instance_
constexpr int CourseSchedulingResultStatus_ARRAYSIZE
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL CourseSchedulingResultStatus_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StudentDefaultTypeInternal _Student_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CourseSchedulingResult_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ClassAssignment_class_data_
bool CourseSchedulingResultStatus_Parse(::absl::string_view name, CourseSchedulingResultStatus *PROTOBUF_NONNULL value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CourseSchedulingResultDefaultTypeInternal _CourseSchedulingResult_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CourseDefaultTypeInternal _Course_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CourseSchedulingModelDefaultTypeInternal _CourseSchedulingModel_default_instance_
const ::std::string & CourseSchedulingResultStatus_Name(T value)
constexpr CourseSchedulingResultStatus CourseSchedulingResultStatus_MIN
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Student_class_data_
PROTOBUF_CONSTINIT const uint32_t CourseSchedulingResultStatus_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Teacher_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StudentAssignmentDefaultTypeInternal _StudentAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Room_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CourseSchedulingModel_class_data_
constexpr CourseSchedulingResultStatus CourseSchedulingResultStatus_MAX
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ClassAssignmentDefaultTypeInternal _ClassAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Course_class_data_
bool CourseSchedulingResultStatus_IsValid(int value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull StudentAssignment_class_data_
CourseSchedulingResultStatus
@ CourseSchedulingResultStatus_INT_MIN_SENTINEL_DO_NOT_USE_
@ CourseSchedulingResultStatus_INT_MAX_SENTINEL_DO_NOT_USE_
@ COURSE_SCHEDULING_RESULT_STATUS_UNSPECIFIED