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 != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/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"; }
269 explicit Teacher(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
270 Teacher(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Teacher& from);
272 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Teacher&& from) noexcept
274 *
this = ::std::move(from);
276 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
277 static
void* PROTOBUF_NONNULL PlacementNew_(
278 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
279 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
280 static constexpr auto InternalNewImpl_();
283 static constexpr auto InternalGenerateClassData_();
285 ::
google::protobuf::Metadata GetMetadata() const;
290 kRestrictedTimeSlotsFieldNumber = 2,
291 kDisplayNameFieldNumber = 1,
296 int _internal_restricted_time_slots_size()
const;
307 const ::google::protobuf::RepeatedField<::int32_t>& _internal_restricted_time_slots()
const;
308 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_restricted_time_slots();
314 template <
typename Arg_ = const ::std::string&,
typename... Args_>
321 const ::std::string& _internal_display_name()
const;
322 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
323 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
329 friend class ::google::protobuf::internal::TcParser;
330 static const ::google::protobuf::internal::TcParseTable<1, 2,
335 friend class ::google::protobuf::MessageLite;
336 friend class ::google::protobuf::Arena;
337 template <
typename T>
338 friend class ::google::protobuf::Arena::InternalHelper;
339 using InternalArenaConstructable_ = void;
340 using DestructorSkippable_ = void;
342 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
343 inline explicit Impl_(
344 ::google::protobuf::internal::InternalVisibility visibility,
345 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
346 inline explicit Impl_(
347 ::google::protobuf::internal::InternalVisibility visibility,
348 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
350 ::google::protobuf::internal::HasBits<1> _has_bits_;
351 ::google::protobuf::internal::CachedSize _cached_size_;
352 ::google::protobuf::RepeatedField<::int32_t> restricted_time_slots_;
353 ::google::protobuf::internal::CachedSize _restricted_time_slots_cached_byte_size_;
354 ::google::protobuf::internal::ArenaStringPtr display_name_;
355 PROTOBUF_TSAN_DECLARE_MEMBER
357 union { Impl_ _impl_; };
358 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
370#if defined(PROTOBUF_CUSTOM_VTABLE)
371 void operator delete(
StudentAssignment* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
377 template <
typename =
void>
378 explicit PROTOBUF_CONSTEXPR
StudentAssignment(::google::protobuf::internal::ConstantInitialized);
388 if (
this == &from)
return *
this;
389 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
397 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
398 ABSL_ATTRIBUTE_LIFETIME_BOUND {
399 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
401 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
402 ABSL_ATTRIBUTE_LIFETIME_BOUND {
403 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
406 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
407 return GetDescriptor();
409 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
412 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
419 static constexpr int kIndexInFileMessages = 3;
421 inline void Swap(StudentAssignment* PROTOBUF_NONNULL other) {
422 if (other ==
this)
return;
423 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
426 ::google::protobuf::internal::GenericSwap(
this, other);
429 void UnsafeArenaSwap(StudentAssignment* PROTOBUF_NONNULL other) {
430 if (other ==
this)
return;
431 ABSL_DCHECK(GetArena() == other->GetArena());
437 StudentAssignment* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
438 return ::google::protobuf::Message::DefaultConstruct<StudentAssignment>(arena);
440 using ::google::protobuf::Message::CopyFrom;
442 using ::google::protobuf::Message::MergeFrom;
446 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
447 const ::google::protobuf::MessageLite& from_msg);
453 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
454 #if defined(PROTOBUF_CUSTOM_VTABLE)
456 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
458 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
459 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
463 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
464 ::uint8_t* PROTOBUF_NONNULL target,
465 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
466 return _InternalSerialize(*
this, target, stream);
469 ::size_t ByteSizeLong() const final;
470 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
471 ::uint8_t* PROTOBUF_NONNULL target,
472 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
474 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
477 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
481 template <
typename T>
483 static ::absl::string_view FullMessageName() {
return "operations_research.StudentAssignment"; }
488 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
StudentAssignment&& from) noexcept
490 *
this = ::std::move(from);
492 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
493 static
void* PROTOBUF_NONNULL PlacementNew_(
494 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
495 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
496 static constexpr auto InternalNewImpl_();
499 static constexpr auto InternalGenerateClassData_();
501 ::
google::protobuf::Metadata GetMetadata() const;
506 kCourseIndicesFieldNumber = 2,
507 kSectionIndicesFieldNumber = 3,
508 kStudentIndexFieldNumber = 1,
513 int _internal_course_indices_size()
const;
520 const ::google::protobuf::RepeatedField<::int32_t>&
course_indices()
const;
524 const ::google::protobuf::RepeatedField<::int32_t>& _internal_course_indices()
const;
525 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_course_indices();
531 int _internal_section_indices_size()
const;
538 const ::google::protobuf::RepeatedField<::int32_t>&
section_indices()
const;
542 const ::google::protobuf::RepeatedField<::int32_t>& _internal_section_indices()
const;
543 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_section_indices();
552 ::int32_t _internal_student_index()
const;
553 void _internal_set_student_index(::int32_t value);
559 friend class ::google::protobuf::internal::TcParser;
560 static const ::google::protobuf::internal::TcParseTable<2, 3,
565 friend class ::google::protobuf::MessageLite;
566 friend class ::google::protobuf::Arena;
567 template <
typename T>
568 friend class ::google::protobuf::Arena::InternalHelper;
569 using InternalArenaConstructable_ = void;
570 using DestructorSkippable_ = void;
572 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
573 inline explicit Impl_(
574 ::google::protobuf::internal::InternalVisibility visibility,
575 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
576 inline explicit Impl_(
577 ::google::protobuf::internal::InternalVisibility visibility,
578 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
580 ::google::protobuf::internal::HasBits<1> _has_bits_;
581 ::google::protobuf::internal::CachedSize _cached_size_;
582 ::google::protobuf::RepeatedField<::int32_t> course_indices_;
583 ::google::protobuf::internal::CachedSize _course_indices_cached_byte_size_;
584 ::google::protobuf::RepeatedField<::int32_t> section_indices_;
585 ::google::protobuf::internal::CachedSize _section_indices_cached_byte_size_;
586 ::int32_t student_index_;
587 PROTOBUF_TSAN_DECLARE_MEMBER
589 union { Impl_ _impl_; };
590 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
596class OR_PROTO_DLL
Student final :
public ::google::protobuf::Message
602#if defined(PROTOBUF_CUSTOM_VTABLE)
603 void operator delete(
Student* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
605 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Student));
609 template <
typename =
void>
610 explicit PROTOBUF_CONSTEXPR
Student(::google::protobuf::internal::ConstantInitialized);
613 inline Student(Student&& from) noexcept
620 if (
this == &from)
return *
this;
621 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
629 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
630 ABSL_ATTRIBUTE_LIFETIME_BOUND {
631 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
634 ABSL_ATTRIBUTE_LIFETIME_BOUND {
635 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
638 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
641 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
644 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
647 static const Student& default_instance() {
653 inline void Swap(
Student* PROTOBUF_NONNULL other) {
654 if (other ==
this)
return;
655 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
658 ::google::protobuf::internal::GenericSwap(
this, other);
661 void UnsafeArenaSwap(Student* PROTOBUF_NONNULL other) {
662 if (other ==
this)
return;
663 ABSL_DCHECK(GetArena() == other->GetArena());
669 Student* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
670 return ::google::protobuf::Message::DefaultConstruct<Student>(arena);
672 using ::google::protobuf::Message::CopyFrom;
674 using ::google::protobuf::Message::MergeFrom;
678 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
679 const ::google::protobuf::MessageLite& from_msg);
685 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
686 #if defined(PROTOBUF_CUSTOM_VTABLE)
688 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
690 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
691 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
695 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
696 ::uint8_t* PROTOBUF_NONNULL target,
697 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
698 return _InternalSerialize(*
this, target, stream);
701 ::size_t ByteSizeLong() const final;
702 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
703 ::uint8_t* PROTOBUF_NONNULL target,
704 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
706 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
709 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
711 void InternalSwap(
Student* PROTOBUF_NONNULL other);
713 template <
typename T>
715 static ::absl::string_view FullMessageName() {
return "operations_research.Student"; }
717 explicit Student(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
718 Student(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Student& from);
720 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Student&& from) noexcept
722 *
this = ::std::move(from);
724 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
725 static
void* PROTOBUF_NONNULL PlacementNew_(
726 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
727 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
728 static constexpr auto InternalNewImpl_();
731 static constexpr auto InternalGenerateClassData_();
733 ::
google::protobuf::Metadata GetMetadata() const;
738 kCourseIndicesFieldNumber = 2,
739 kDisplayNameFieldNumber = 1,
744 int _internal_course_indices_size()
const;
751 const ::google::protobuf::RepeatedField<::int32_t>&
course_indices()
const;
755 const ::google::protobuf::RepeatedField<::int32_t>& _internal_course_indices()
const;
756 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_course_indices();
762 template <
typename Arg_ = const ::std::string&,
typename... Args_>
769 const ::std::string& _internal_display_name()
const;
770 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
771 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
777 friend class ::google::protobuf::internal::TcParser;
778 static const ::google::protobuf::internal::TcParseTable<1, 2,
783 friend class ::google::protobuf::MessageLite;
784 friend class ::google::protobuf::Arena;
785 template <
typename T>
786 friend class ::google::protobuf::Arena::InternalHelper;
787 using InternalArenaConstructable_ = void;
788 using DestructorSkippable_ = void;
790 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
791 inline explicit Impl_(
792 ::google::protobuf::internal::InternalVisibility visibility,
793 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
794 inline explicit Impl_(
795 ::google::protobuf::internal::InternalVisibility visibility,
796 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
798 ::google::protobuf::internal::HasBits<1> _has_bits_;
799 ::google::protobuf::internal::CachedSize _cached_size_;
800 ::google::protobuf::RepeatedField<::int32_t> course_indices_;
801 ::google::protobuf::internal::CachedSize _course_indices_cached_byte_size_;
802 ::google::protobuf::internal::ArenaStringPtr display_name_;
803 PROTOBUF_TSAN_DECLARE_MEMBER
805 union { Impl_ _impl_; };
806 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
812class OR_PROTO_DLL
Room final :
public ::google::protobuf::Message
816 ~Room() PROTOBUF_FINAL;
818#if defined(PROTOBUF_CUSTOM_VTABLE)
819 void operator delete(
Room* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
821 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Room));
825 template <
typename =
void>
826 explicit PROTOBUF_CONSTEXPR
Room(::google::protobuf::internal::ConstantInitialized);
829 inline Room(Room&& from) noexcept
830 : Room(
nullptr, ::std::move(from)) {}
835 inline Room& operator=(
Room&& from)
noexcept {
836 if (
this == &from)
return *
this;
837 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
845 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
846 ABSL_ATTRIBUTE_LIFETIME_BOUND {
847 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
849 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
850 ABSL_ATTRIBUTE_LIFETIME_BOUND {
851 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
854 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
857 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
858 return default_instance().GetMetadata().descriptor;
860 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
861 return default_instance().GetMetadata().reflection;
863 static const Room& default_instance() {
864 return *
reinterpret_cast<const Room*
>(
867 static constexpr int kIndexInFileMessages = 7;
869 inline void Swap(
Room* PROTOBUF_NONNULL other) {
870 if (other ==
this)
return;
871 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
874 ::google::protobuf::internal::GenericSwap(
this, other);
877 void UnsafeArenaSwap(Room* PROTOBUF_NONNULL other) {
878 if (other ==
this)
return;
879 ABSL_DCHECK(GetArena() == other->GetArena());
885 Room* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
886 return ::google::protobuf::Message::DefaultConstruct<Room>(arena);
888 using ::google::protobuf::Message::CopyFrom;
889 void CopyFrom(
const Room& from);
890 using ::google::protobuf::Message::MergeFrom;
891 void MergeFrom(
const Room& from) { Room::MergeImpl(*
this, from); }
894 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
895 const ::google::protobuf::MessageLite& from_msg);
901 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
902 #if defined(PROTOBUF_CUSTOM_VTABLE)
904 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
906 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
907 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
911 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
912 ::uint8_t* PROTOBUF_NONNULL target,
913 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
914 return _InternalSerialize(*
this, target, stream);
917 ::size_t ByteSizeLong() const final;
918 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
919 ::uint8_t* PROTOBUF_NONNULL target,
920 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
922 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
925 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
926 static void SharedDtor(MessageLite& self);
927 void InternalSwap(
Room* PROTOBUF_NONNULL other);
929 template <
typename T>
931 static ::absl::string_view FullMessageName() {
return "operations_research.Room"; }
933 explicit Room(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
934 Room(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Room& from);
936 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Room&& from) noexcept
938 *
this = ::std::move(from);
940 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
941 static
void* PROTOBUF_NONNULL PlacementNew_(
942 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
943 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
944 static constexpr auto InternalNewImpl_();
947 static constexpr auto InternalGenerateClassData_();
949 ::
google::protobuf::Metadata GetMetadata() const;
954 kDisplayNameFieldNumber = 1,
955 kCapacityFieldNumber = 2,
958 void clear_display_name() ;
960 template <
typename Arg_ = const ::std::string&,
typename... Args_>
967 const ::std::string& _internal_display_name()
const;
968 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
969 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
978 ::int32_t _internal_capacity()
const;
979 void _internal_set_capacity(::int32_t value);
985 friend class ::google::protobuf::internal::TcParser;
986 static const ::google::protobuf::internal::TcParseTable<1, 2,
991 friend class ::google::protobuf::MessageLite;
992 friend class ::google::protobuf::Arena;
993 template <
typename T>
994 friend class ::google::protobuf::Arena::InternalHelper;
995 using InternalArenaConstructable_ = void;
996 using DestructorSkippable_ = void;
998 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
999 inline explicit Impl_(
1000 ::google::protobuf::internal::InternalVisibility visibility,
1001 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1002 inline explicit Impl_(
1003 ::google::protobuf::internal::InternalVisibility visibility,
1004 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1005 const Room& from_msg);
1006 ::google::protobuf::internal::HasBits<1> _has_bits_;
1007 ::google::protobuf::internal::CachedSize _cached_size_;
1008 ::google::protobuf::internal::ArenaStringPtr display_name_;
1009 ::int32_t capacity_;
1010 PROTOBUF_TSAN_DECLARE_MEMBER
1012 union { Impl_ _impl_; };
1013 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
1016OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Room_class_data_;
1019class OR_PROTO_DLL
Course final :
public ::google::protobuf::Message
1025#if defined(PROTOBUF_CUSTOM_VTABLE)
1026 void operator delete(
Course* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1028 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Course));
1032 template <
typename =
void>
1033 explicit PROTOBUF_CONSTEXPR
Course(::google::protobuf::internal::ConstantInitialized);
1036 inline Course(Course&& from) noexcept
1037 : Course(
nullptr, ::std::move(from)) {}
1038 inline Course& operator=(
const Course& from) {
1043 if (
this == &from)
return *
this;
1044 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1045 InternalSwap(&from);
1052 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1053 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1054 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1056 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1057 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1058 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1061 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1064 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1065 return default_instance().GetMetadata().descriptor;
1071 return *
reinterpret_cast<const Course*
>(
1074 static constexpr int kIndexInFileMessages = 4;
1077 if (other ==
this)
return;
1078 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1079 InternalSwap(other);
1081 ::google::protobuf::internal::GenericSwap(
this, other);
1084 void UnsafeArenaSwap(Course* PROTOBUF_NONNULL other) {
1085 if (other ==
this)
return;
1086 ABSL_DCHECK(GetArena() == other->GetArena());
1087 InternalSwap(other);
1092 Course* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1093 return ::google::protobuf::Message::DefaultConstruct<Course>(arena);
1095 using ::google::protobuf::Message::CopyFrom;
1096 void CopyFrom(
const Course& from);
1097 using ::google::protobuf::Message::MergeFrom;
1101 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1102 const ::google::protobuf::MessageLite& from_msg);
1108 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1109 #if defined(PROTOBUF_CUSTOM_VTABLE)
1113 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1114 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1118 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1119 ::uint8_t* PROTOBUF_NONNULL target,
1120 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1121 return _InternalSerialize(*
this, target, stream);
1124 ::size_t ByteSizeLong() const final;
1125 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1126 ::uint8_t* PROTOBUF_NONNULL target,
1127 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1129 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1132 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1133 static void SharedDtor(MessageLite& self);
1134 void InternalSwap(Course* PROTOBUF_NONNULL other);
1136 template <
typename T>
1138 static ::absl::string_view FullMessageName() {
return "operations_research.Course"; }
1140 explicit Course(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1141 Course(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Course& from);
1143 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Course&& from) noexcept
1145 *
this = ::std::move(from);
1147 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1148 static
void* PROTOBUF_NONNULL PlacementNew_(
1149 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1150 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1151 static constexpr auto InternalNewImpl_();
1154 static constexpr auto InternalGenerateClassData_();
1156 ::
google::protobuf::Metadata GetMetadata() const;
1161 kTeacherIndicesFieldNumber = 6,
1162 kTeacherSectionCountsFieldNumber = 7,
1163 kRoomIndicesFieldNumber = 8,
1164 kDisplayNameFieldNumber = 1,
1165 kMeetingsCountFieldNumber = 2,
1166 kMaxCapacityFieldNumber = 3,
1173 int _internal_teacher_indices_size()
const;
1180 const ::google::protobuf::RepeatedField<::int32_t>&
teacher_indices()
const;
1184 const ::google::protobuf::RepeatedField<::int32_t>& _internal_teacher_indices()
const;
1185 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_teacher_indices();
1191 int _internal_teacher_section_counts_size()
const;
1202 const ::google::protobuf::RepeatedField<::int32_t>& _internal_teacher_section_counts()
const;
1203 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_teacher_section_counts();
1209 int _internal_room_indices_size()
const;
1216 const ::google::protobuf::RepeatedField<::int32_t>&
room_indices()
const;
1220 const ::google::protobuf::RepeatedField<::int32_t>& _internal_room_indices()
const;
1221 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_room_indices();
1227 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1234 const ::std::string& _internal_display_name()
const;
1235 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
1236 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
1245 ::int32_t _internal_meetings_count()
const;
1246 void _internal_set_meetings_count(::int32_t value);
1255 ::int32_t _internal_max_capacity()
const;
1256 void _internal_set_max_capacity(::int32_t value);
1265 ::int32_t _internal_min_capacity()
const;
1266 void _internal_set_min_capacity(::int32_t value);
1275 ::int32_t _internal_consecutive_slots_count()
const;
1276 void _internal_set_consecutive_slots_count(::int32_t value);
1282 friend class ::google::protobuf::internal::TcParser;
1283 static const ::google::protobuf::internal::TcParseTable<3, 8,
1288 friend class ::google::protobuf::MessageLite;
1289 friend class ::google::protobuf::Arena;
1290 template <
typename T>
1291 friend class ::google::protobuf::Arena::InternalHelper;
1292 using InternalArenaConstructable_ = void;
1293 using DestructorSkippable_ = void;
1295 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1296 inline explicit Impl_(
1297 ::google::protobuf::internal::InternalVisibility visibility,
1298 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1299 inline explicit Impl_(
1300 ::google::protobuf::internal::InternalVisibility visibility,
1301 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1303 ::google::protobuf::internal::HasBits<1> _has_bits_;
1304 ::google::protobuf::internal::CachedSize _cached_size_;
1305 ::google::protobuf::RepeatedField<::int32_t> teacher_indices_;
1306 ::google::protobuf::internal::CachedSize _teacher_indices_cached_byte_size_;
1307 ::google::protobuf::RepeatedField<::int32_t> teacher_section_counts_;
1308 ::google::protobuf::internal::CachedSize _teacher_section_counts_cached_byte_size_;
1309 ::google::protobuf::RepeatedField<::int32_t> room_indices_;
1310 ::google::protobuf::internal::CachedSize _room_indices_cached_byte_size_;
1311 ::google::protobuf::internal::ArenaStringPtr display_name_;
1312 ::int32_t meetings_count_;
1313 ::int32_t max_capacity_;
1314 ::int32_t min_capacity_;
1315 ::int32_t consecutive_slots_count_;
1316 PROTOBUF_TSAN_DECLARE_MEMBER
1318 union { Impl_ _impl_; };
1319 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
1322OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Course_class_data_;
1331#if defined(PROTOBUF_CUSTOM_VTABLE)
1334 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
ClassAssignment));
1338 template <
typename =
void>
1339 explicit PROTOBUF_CONSTEXPR
ClassAssignment(::google::protobuf::internal::ConstantInitialized);
1342 inline ClassAssignment(ClassAssignment&& from) noexcept
1343 : ClassAssignment(
nullptr, ::std::move(from)) {}
1344 inline ClassAssignment& operator=(
const ClassAssignment& from) {
1349 if (
this == &from)
return *
this;
1350 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1351 InternalSwap(&from);
1358 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1359 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1360 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1362 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1363 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1364 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1367 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1368 return GetDescriptor();
1370 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1371 return default_instance().GetMetadata().descriptor;
1373 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1383 if (other ==
this)
return;
1384 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1385 InternalSwap(other);
1387 ::google::protobuf::internal::GenericSwap(
this, other);
1391 if (other ==
this)
return;
1392 ABSL_DCHECK(GetArena() == other->GetArena());
1393 InternalSwap(other);
1398 ClassAssignment* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1399 return ::google::protobuf::Message::DefaultConstruct<ClassAssignment>(arena);
1401 using ::google::protobuf::Message::CopyFrom;
1403 using ::google::protobuf::Message::MergeFrom;
1404 void MergeFrom(
const ClassAssignment& from) { ClassAssignment::MergeImpl(*
this, from); }
1407 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1408 const ::google::protobuf::MessageLite& from_msg);
1414 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1415 #if defined(PROTOBUF_CUSTOM_VTABLE)
1417 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1419 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1420 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1424 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1425 ::uint8_t* PROTOBUF_NONNULL target,
1426 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1427 return _InternalSerialize(*
this, target, stream);
1430 ::size_t ByteSizeLong() const final;
1431 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1432 ::uint8_t* PROTOBUF_NONNULL target,
1433 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1435 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1438 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1439 static void SharedDtor(MessageLite& self);
1440 void InternalSwap(ClassAssignment* PROTOBUF_NONNULL other);
1442 template <
typename T>
1444 static ::absl::string_view FullMessageName() {
return "operations_research.ClassAssignment"; }
1446 explicit ClassAssignment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1449 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
ClassAssignment&& from) noexcept
1451 *
this = ::std::move(from);
1453 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1454 static
void* PROTOBUF_NONNULL PlacementNew_(
1455 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1456 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1457 static constexpr auto InternalNewImpl_();
1460 static constexpr auto InternalGenerateClassData_();
1462 ::
google::protobuf::Metadata GetMetadata() const;
1467 kTimeSlotsFieldNumber = 3,
1468 kRoomIndicesFieldNumber = 4,
1469 kCourseIndexFieldNumber = 1,
1470 kSectionNumberFieldNumber = 2,
1473 int time_slots_size()
const;
1475 int _internal_time_slots_size()
const;
1482 const ::google::protobuf::RepeatedField<::int32_t>&
time_slots()
const;
1486 const ::google::protobuf::RepeatedField<::int32_t>& _internal_time_slots()
const;
1487 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_time_slots();
1493 int _internal_room_indices_size()
const;
1500 const ::google::protobuf::RepeatedField<::int32_t>&
room_indices()
const;
1504 const ::google::protobuf::RepeatedField<::int32_t>& _internal_room_indices()
const;
1505 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_room_indices();
1514 ::int32_t _internal_course_index()
const;
1515 void _internal_set_course_index(::int32_t value);
1524 ::int32_t _internal_section_number()
const;
1525 void _internal_set_section_number(::int32_t value);
1531 friend class ::google::protobuf::internal::TcParser;
1532 static const ::google::protobuf::internal::TcParseTable<2, 4,
1537 friend class ::google::protobuf::MessageLite;
1538 friend class ::google::protobuf::Arena;
1539 template <
typename T>
1540 friend class ::google::protobuf::Arena::InternalHelper;
1541 using InternalArenaConstructable_ = void;
1542 using DestructorSkippable_ = void;
1544 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1545 inline explicit Impl_(
1546 ::google::protobuf::internal::InternalVisibility visibility,
1547 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1548 inline explicit Impl_(
1549 ::google::protobuf::internal::InternalVisibility visibility,
1550 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1552 ::google::protobuf::internal::HasBits<1> _has_bits_;
1553 ::google::protobuf::internal::CachedSize _cached_size_;
1554 ::google::protobuf::RepeatedField<::int32_t> time_slots_;
1555 ::google::protobuf::internal::CachedSize _time_slots_cached_byte_size_;
1556 ::google::protobuf::RepeatedField<::int32_t> room_indices_;
1557 ::google::protobuf::internal::CachedSize _room_indices_cached_byte_size_;
1558 ::int32_t course_index_;
1559 ::int32_t section_number_;
1560 PROTOBUF_TSAN_DECLARE_MEMBER
1562 union { Impl_ _impl_; };
1563 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
1575#if defined(PROTOBUF_CUSTOM_VTABLE)
1582 template <
typename =
void>
1588 inline CourseSchedulingResult& operator=(
const CourseSchedulingResult& from) {
1593 if (
this == &from)
return *
this;
1594 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1595 InternalSwap(&from);
1602 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1603 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1604 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1606 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1607 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1608 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1611 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1617 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1618 return default_instance().GetMetadata().reflection;
1624 static constexpr int kIndexInFileMessages = 1;
1627 if (other ==
this)
return;
1628 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1629 InternalSwap(other);
1631 ::google::protobuf::internal::GenericSwap(
this, other);
1635 if (other ==
this)
return;
1636 ABSL_DCHECK(GetArena() == other->GetArena());
1637 InternalSwap(other);
1643 return ::google::protobuf::Message::DefaultConstruct<CourseSchedulingResult>(arena);
1645 using ::google::protobuf::Message::CopyFrom;
1647 using ::google::protobuf::Message::MergeFrom;
1651 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1652 const ::google::protobuf::MessageLite& from_msg);
1658 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1659 #if defined(PROTOBUF_CUSTOM_VTABLE)
1661 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1662 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1663 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1664 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1668 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1669 ::uint8_t* PROTOBUF_NONNULL target,
1670 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1671 return _InternalSerialize(*
this, target, stream);
1674 ::size_t ByteSizeLong() const final;
1675 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1676 ::uint8_t* PROTOBUF_NONNULL target,
1677 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1679 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1682 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1683 static void SharedDtor(MessageLite& self);
1684 void InternalSwap(CourseSchedulingResult* PROTOBUF_NONNULL other);
1686 template <
typename T>
1688 static ::absl::string_view FullMessageName() {
return "operations_research.CourseSchedulingResult"; }
1695 *
this = ::std::move(from);
1697 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1698 static
void* PROTOBUF_NONNULL PlacementNew_(
1699 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1700 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1701 static constexpr auto InternalNewImpl_();
1704 static constexpr auto InternalGenerateClassData_();
1706 ::
google::protobuf::Metadata GetMetadata() const;
1711 kClassAssignmentsFieldNumber = 3,
1712 kStudentAssignmentsFieldNumber = 4,
1713 kMessageFieldNumber = 1,
1714 kSolverStatusFieldNumber = 2,
1717 int class_assignments_size()
const;
1719 int _internal_class_assignments_size()
const;
1724 ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>* PROTOBUF_NONNULL
mutable_class_assignments();
1727 const ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>& _internal_class_assignments()
const;
1728 ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>* PROTOBUF_NONNULL _internal_mutable_class_assignments();
1730 const ::operations_research::ClassAssignment&
class_assignments(
int index)
const;
1732 const ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>&
class_assignments()
const;
1736 int _internal_student_assignments_size()
const;
1744 const ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>& _internal_student_assignments()
const;
1745 ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>* PROTOBUF_NONNULL _internal_mutable_student_assignments();
1749 const ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>&
student_assignments()
const;
1752 const ::std::string&
message()
const;
1753 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1760 const ::std::string& _internal_message()
const;
1761 PROTOBUF_ALWAYS_INLINE
void _internal_set_message(const ::std::string& value);
1762 ::std::string* PROTOBUF_NONNULL _internal_mutable_message();
1778 friend class ::google::protobuf::internal::TcParser;
1779 static const ::google::protobuf::internal::TcParseTable<2, 4,
1784 friend class ::google::protobuf::MessageLite;
1785 friend class ::google::protobuf::Arena;
1786 template <
typename T>
1787 friend class ::google::protobuf::Arena::InternalHelper;
1788 using InternalArenaConstructable_ = void;
1789 using DestructorSkippable_ = void;
1791 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1792 inline explicit Impl_(
1793 ::google::protobuf::internal::InternalVisibility visibility,
1794 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1795 inline explicit Impl_(
1796 ::google::protobuf::internal::InternalVisibility visibility,
1797 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1799 ::google::protobuf::internal::HasBits<1> _has_bits_;
1800 ::google::protobuf::internal::CachedSize _cached_size_;
1801 ::google::protobuf::RepeatedPtrField< ::operations_research::ClassAssignment > class_assignments_;
1802 ::google::protobuf::RepeatedPtrField< ::operations_research::StudentAssignment > student_assignments_;
1803 ::google::protobuf::internal::ArenaStringPtr message_;
1805 PROTOBUF_TSAN_DECLARE_MEMBER
1807 union { Impl_ _impl_; };
1808 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
1820#if defined(PROTOBUF_CUSTOM_VTABLE)
1827 template <
typename =
void>
1828 explicit PROTOBUF_CONSTEXPR
CourseSchedulingModel(::google::protobuf::internal::ConstantInitialized);
1833 inline CourseSchedulingModel& operator=(
const CourseSchedulingModel& from) {
1838 if (
this == &from)
return *
this;
1839 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1840 InternalSwap(&from);
1847 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
1848 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1849 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1851 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1852 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1853 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1856 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1859 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1862 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1863 return default_instance().GetMetadata().reflection;
1869 static constexpr int kIndexInFileMessages = 0;
1872 if (other ==
this)
return;
1873 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1874 InternalSwap(other);
1876 ::google::protobuf::internal::GenericSwap(
this, other);
1880 if (other ==
this)
return;
1881 ABSL_DCHECK(GetArena() == other->GetArena());
1882 InternalSwap(other);
1887 CourseSchedulingModel* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1888 return ::google::protobuf::Message::DefaultConstruct<CourseSchedulingModel>(arena);
1890 using ::google::protobuf::Message::CopyFrom;
1892 using ::google::protobuf::Message::MergeFrom;
1893 void MergeFrom(
const CourseSchedulingModel& from) { CourseSchedulingModel::MergeImpl(*
this, from); }
1896 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1897 const ::google::protobuf::MessageLite& from_msg);
1903 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1904 #if defined(PROTOBUF_CUSTOM_VTABLE)
1906 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1907 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1908 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1909 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1913 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1914 ::uint8_t* PROTOBUF_NONNULL target,
1915 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1916 return _InternalSerialize(*
this, target, stream);
1919 ::size_t ByteSizeLong() const final;
1920 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1921 ::uint8_t* PROTOBUF_NONNULL target,
1922 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1924 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1927 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1928 static void SharedDtor(MessageLite& self);
1929 void InternalSwap(CourseSchedulingModel* PROTOBUF_NONNULL other);
1931 template <
typename T>
1933 static ::absl::string_view FullMessageName() {
return "operations_research.CourseSchedulingModel"; }
1940 *
this = ::std::move(from);
1942 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1943 static
void* PROTOBUF_NONNULL PlacementNew_(
1944 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1945 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1946 static constexpr auto InternalNewImpl_();
1949 static constexpr auto InternalGenerateClassData_();
1951 ::
google::protobuf::Metadata GetMetadata() const;
1956 kCoursesFieldNumber = 4,
1957 kTeachersFieldNumber = 5,
1958 kStudentsFieldNumber = 6,
1959 kRoomsFieldNumber = 7,
1960 kDisplayNameFieldNumber = 1,
1961 kDaysCountFieldNumber = 2,
1962 kDailyTimeSlotCountFieldNumber = 3,
1967 int _internal_courses_size()
const;
1972 ::google::protobuf::RepeatedPtrField<::operations_research::Course>* PROTOBUF_NONNULL
mutable_courses();
1975 const ::google::protobuf::RepeatedPtrField<::operations_research::Course>& _internal_courses()
const;
1976 ::google::protobuf::RepeatedPtrField<::operations_research::Course>* PROTOBUF_NONNULL _internal_mutable_courses();
1978 const ::operations_research::Course&
courses(
int index)
const;
1980 const ::google::protobuf::RepeatedPtrField<::operations_research::Course>&
courses()
const;
1984 int _internal_teachers_size()
const;
1989 ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>* PROTOBUF_NONNULL
mutable_teachers();
1992 const ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>& _internal_teachers()
const;
1993 ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>* PROTOBUF_NONNULL _internal_mutable_teachers();
1995 const ::operations_research::Teacher&
teachers(
int index)
const;
1997 const ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>&
teachers()
const;
2001 int _internal_students_size()
const;
2006 ::google::protobuf::RepeatedPtrField<::operations_research::Student>* PROTOBUF_NONNULL
mutable_students();
2009 const ::google::protobuf::RepeatedPtrField<::operations_research::Student>& _internal_students()
const;
2010 ::google::protobuf::RepeatedPtrField<::operations_research::Student>* PROTOBUF_NONNULL _internal_mutable_students();
2012 const ::operations_research::Student&
students(
int index)
const;
2014 const ::google::protobuf::RepeatedPtrField<::operations_research::Student>&
students()
const;
2018 int _internal_rooms_size()
const;
2023 ::google::protobuf::RepeatedPtrField<::operations_research::Room>* PROTOBUF_NONNULL
mutable_rooms();
2026 const ::google::protobuf::RepeatedPtrField<::operations_research::Room>& _internal_rooms()
const;
2027 ::google::protobuf::RepeatedPtrField<::operations_research::Room>* PROTOBUF_NONNULL _internal_mutable_rooms();
2029 const ::operations_research::Room&
rooms(
int index)
const;
2031 const ::google::protobuf::RepeatedPtrField<::operations_research::Room>&
rooms()
const;
2035 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2042 const ::std::string& _internal_display_name()
const;
2043 PROTOBUF_ALWAYS_INLINE
void _internal_set_display_name(const ::std::string& value);
2044 ::std::string* PROTOBUF_NONNULL _internal_mutable_display_name();
2053 ::int32_t _internal_days_count()
const;
2054 void _internal_set_days_count(::int32_t value);
2063 ::int32_t _internal_daily_time_slot_count()
const;
2064 void _internal_set_daily_time_slot_count(::int32_t value);
2070 friend class ::google::protobuf::internal::TcParser;
2071 static const ::google::protobuf::internal::TcParseTable<3, 7,
2076 friend class ::google::protobuf::MessageLite;
2077 friend class ::google::protobuf::Arena;
2078 template <
typename T>
2079 friend class ::google::protobuf::Arena::InternalHelper;
2080 using InternalArenaConstructable_ = void;
2081 using DestructorSkippable_ = void;
2083 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2084 inline explicit Impl_(
2085 ::google::protobuf::internal::InternalVisibility visibility,
2086 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2087 inline explicit Impl_(
2088 ::google::protobuf::internal::InternalVisibility visibility,
2089 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2091 ::google::protobuf::internal::HasBits<1> _has_bits_;
2092 ::google::protobuf::internal::CachedSize _cached_size_;
2093 ::google::protobuf::RepeatedPtrField< ::operations_research::Course > courses_;
2094 ::google::protobuf::RepeatedPtrField< ::operations_research::Teacher > teachers_;
2095 ::google::protobuf::RepeatedPtrField< ::operations_research::Student > students_;
2096 ::google::protobuf::RepeatedPtrField< ::operations_research::Room > rooms_;
2097 ::google::protobuf::internal::ArenaStringPtr display_name_;
2098 ::int32_t days_count_;
2099 ::int32_t daily_time_slot_count_;
2100 PROTOBUF_TSAN_DECLARE_MEMBER
2102 union { Impl_ _impl_; };
2103 friend struct ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto;
2117#pragma GCC diagnostic push
2118#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2126 ::google::protobuf::internal::TSanWrite(&
_impl_);
2127 _impl_.display_name_.ClearToEmpty();
2128 ClearHasBit(
_impl_._has_bits_[0],
2132 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2134 return _internal_display_name();
2136template <
typename Arg_,
typename... Args_>
2138 ::google::protobuf::internal::TSanWrite(&
_impl_);
2139 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2140 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2144 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2145 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2146 ::std::string* _s = _internal_mutable_display_name();
2150inline const ::std::string& CourseSchedulingModel::_internal_display_name()
const {
2151 ::google::protobuf::internal::TSanRead(&
_impl_);
2152 return _impl_.display_name_.Get();
2154inline void CourseSchedulingModel::_internal_set_display_name(const ::std::string& value) {
2155 ::google::protobuf::internal::TSanWrite(&
_impl_);
2156 _impl_.display_name_.Set(value, GetArena());
2158inline ::std::string* PROTOBUF_NONNULL CourseSchedulingModel::_internal_mutable_display_name() {
2159 ::google::protobuf::internal::TSanWrite(&
_impl_);
2160 return _impl_.display_name_.Mutable( GetArena());
2163 ::google::protobuf::internal::TSanWrite(&
_impl_);
2165 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000010U)) {
2168 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
2169 auto* released =
_impl_.display_name_.Release();
2170 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2171 _impl_.display_name_.Set(
"", GetArena());
2176 ::google::protobuf::internal::TSanWrite(&
_impl_);
2177 if (value !=
nullptr) {
2178 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2180 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
2182 _impl_.display_name_.SetAllocated(value, GetArena());
2183 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
2184 _impl_.display_name_.Set(
"", GetArena());
2191 ::google::protobuf::internal::TSanWrite(&
_impl_);
2193 ClearHasBit(
_impl_._has_bits_[0],
2198 return _internal_days_count();
2201 _internal_set_days_count(value);
2202 SetHasBit(
_impl_._has_bits_[0], 0x00000020U);
2205inline ::int32_t CourseSchedulingModel::_internal_days_count()
const {
2206 ::google::protobuf::internal::TSanRead(&
_impl_);
2207 return _impl_.days_count_;
2209inline void CourseSchedulingModel::_internal_set_days_count(::int32_t value) {
2210 ::google::protobuf::internal::TSanWrite(&
_impl_);
2211 _impl_.days_count_ = value;
2216 ::google::protobuf::internal::TSanWrite(&
_impl_);
2217 _impl_.daily_time_slot_count_ = 0;
2218 ClearHasBit(
_impl_._has_bits_[0],
2223 return _internal_daily_time_slot_count();
2226 _internal_set_daily_time_slot_count(value);
2227 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
2230inline ::int32_t CourseSchedulingModel::_internal_daily_time_slot_count()
const {
2231 ::google::protobuf::internal::TSanRead(&
_impl_);
2232 return _impl_.daily_time_slot_count_;
2234inline void CourseSchedulingModel::_internal_set_daily_time_slot_count(::int32_t value) {
2235 ::google::protobuf::internal::TSanWrite(&
_impl_);
2236 _impl_.daily_time_slot_count_ = value;
2240inline int CourseSchedulingModel::_internal_courses_size()
const {
2241 return _internal_courses().size();
2244 return _internal_courses_size();
2247 ::google::protobuf::internal::TSanWrite(&
_impl_);
2249 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2253 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2255 return _internal_mutable_courses()->Mutable(index);
2258 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2259 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2261 ::google::protobuf::internal::TSanWrite(&
_impl_);
2262 return _internal_mutable_courses();
2265 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2267 return _internal_courses().Get(index);
2270 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2271 ::google::protobuf::internal::TSanWrite(&
_impl_);
2273 _internal_mutable_courses()->InternalAddWithArena(
2274 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2275 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
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();
2305 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2309 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2311 return _internal_mutable_teachers()->Mutable(index);
2314 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2315 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2317 ::google::protobuf::internal::TSanWrite(&
_impl_);
2318 return _internal_mutable_teachers();
2321 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2323 return _internal_teachers().Get(index);
2326 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2327 ::google::protobuf::internal::TSanWrite(&
_impl_);
2329 _internal_mutable_teachers()->InternalAddWithArena(
2330 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2331 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2336 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2338 return _internal_teachers();
2340inline const ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>&
2341CourseSchedulingModel::_internal_teachers()
const {
2342 ::google::protobuf::internal::TSanRead(&
_impl_);
2345inline ::google::protobuf::RepeatedPtrField<::operations_research::Teacher>* PROTOBUF_NONNULL
2346CourseSchedulingModel::_internal_mutable_teachers() {
2347 ::google::protobuf::internal::TSanRead(&
_impl_);
2348 return &
_impl_.teachers_;
2352inline int CourseSchedulingModel::_internal_students_size()
const {
2353 return _internal_students().size();
2356 return _internal_students_size();
2359 ::google::protobuf::internal::TSanWrite(&
_impl_);
2360 _impl_.students_.Clear();
2361 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2365 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2367 return _internal_mutable_students()->Mutable(index);
2370 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2371 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2373 ::google::protobuf::internal::TSanWrite(&
_impl_);
2374 return _internal_mutable_students();
2377 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2379 return _internal_students().Get(index);
2382 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2383 ::google::protobuf::internal::TSanWrite(&
_impl_);
2385 _internal_mutable_students()->InternalAddWithArena(
2386 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2387 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2392 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2394 return _internal_students();
2396inline const ::google::protobuf::RepeatedPtrField<::operations_research::Student>&
2397CourseSchedulingModel::_internal_students()
const {
2398 ::google::protobuf::internal::TSanRead(&
_impl_);
2401inline ::google::protobuf::RepeatedPtrField<::operations_research::Student>* PROTOBUF_NONNULL
2402CourseSchedulingModel::_internal_mutable_students() {
2403 ::google::protobuf::internal::TSanRead(&
_impl_);
2404 return &
_impl_.students_;
2408inline int CourseSchedulingModel::_internal_rooms_size()
const {
2409 return _internal_rooms().size();
2412 return _internal_rooms_size();
2415 ::google::protobuf::internal::TSanWrite(&
_impl_);
2417 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2421 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2423 return _internal_mutable_rooms()->Mutable(index);
2426 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2427 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000008U);
2429 ::google::protobuf::internal::TSanWrite(&
_impl_);
2430 return _internal_mutable_rooms();
2433 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2435 return _internal_rooms().Get(index);
2438 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2439 ::google::protobuf::internal::TSanWrite(&
_impl_);
2441 _internal_mutable_rooms()->InternalAddWithArena(
2442 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2443 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000008U);
2448 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2450 return _internal_rooms();
2452inline const ::google::protobuf::RepeatedPtrField<::operations_research::Room>&
2453CourseSchedulingModel::_internal_rooms()
const {
2454 ::google::protobuf::internal::TSanRead(&
_impl_);
2457inline ::google::protobuf::RepeatedPtrField<::operations_research::Room>* PROTOBUF_NONNULL
2458CourseSchedulingModel::_internal_mutable_rooms() {
2459 ::google::protobuf::internal::TSanRead(&
_impl_);
2469 ::google::protobuf::internal::TSanWrite(&
_impl_);
2470 _impl_.message_.ClearToEmpty();
2471 ClearHasBit(
_impl_._has_bits_[0],
2475 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2477 return _internal_message();
2479template <
typename Arg_,
typename... Args_>
2481 ::google::protobuf::internal::TSanWrite(&
_impl_);
2482 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2483 _impl_.message_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2487 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2488 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2489 ::std::string* _s = _internal_mutable_message();
2493inline const ::std::string& CourseSchedulingResult::_internal_message()
const {
2494 ::google::protobuf::internal::TSanRead(&
_impl_);
2495 return _impl_.message_.Get();
2497inline void CourseSchedulingResult::_internal_set_message(const ::std::string& value) {
2498 ::google::protobuf::internal::TSanWrite(&
_impl_);
2501inline ::std::string* PROTOBUF_NONNULL CourseSchedulingResult::_internal_mutable_message() {
2502 ::google::protobuf::internal::TSanWrite(&
_impl_);
2503 return _impl_.message_.Mutable( GetArena());
2506 ::google::protobuf::internal::TSanWrite(&
_impl_);
2508 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000004U)) {
2511 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2512 auto* released =
_impl_.message_.Release();
2513 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2514 _impl_.message_.Set(
"", GetArena());
2519 ::google::protobuf::internal::TSanWrite(&
_impl_);
2520 if (value !=
nullptr) {
2521 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2523 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2525 _impl_.message_.SetAllocated(value, GetArena());
2526 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.message_.IsDefault()) {
2527 _impl_.message_.Set(
"", GetArena());
2534 ::google::protobuf::internal::TSanWrite(&
_impl_);
2535 _impl_.solver_status_ = 0;
2536 ClearHasBit(
_impl_._has_bits_[0],
2541 return _internal_solver_status();
2544 _internal_set_solver_status(value);
2545 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2548inline ::operations_research::CourseSchedulingResultStatus CourseSchedulingResult::_internal_solver_status()
const {
2549 ::google::protobuf::internal::TSanRead(&
_impl_);
2553 ::google::protobuf::internal::TSanWrite(&
_impl_);
2554 _impl_.solver_status_ = value;
2558inline int CourseSchedulingResult::_internal_class_assignments_size()
const {
2559 return _internal_class_assignments().size();
2562 return _internal_class_assignments_size();
2565 ::google::protobuf::internal::TSanWrite(&
_impl_);
2566 _impl_.class_assignments_.Clear();
2567 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2571 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2573 return _internal_mutable_class_assignments()->Mutable(index);
2576 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2577 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2579 ::google::protobuf::internal::TSanWrite(&
_impl_);
2580 return _internal_mutable_class_assignments();
2583 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2585 return _internal_class_assignments().Get(index);
2588 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2589 ::google::protobuf::internal::TSanWrite(&
_impl_);
2591 _internal_mutable_class_assignments()->InternalAddWithArena(
2592 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2593 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2598 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2600 return _internal_class_assignments();
2602inline const ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>&
2603CourseSchedulingResult::_internal_class_assignments()
const {
2604 ::google::protobuf::internal::TSanRead(&
_impl_);
2605 return _impl_.class_assignments_;
2607inline ::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment>* PROTOBUF_NONNULL
2608CourseSchedulingResult::_internal_mutable_class_assignments() {
2609 ::google::protobuf::internal::TSanRead(&
_impl_);
2614inline int CourseSchedulingResult::_internal_student_assignments_size()
const {
2615 return _internal_student_assignments().size();
2618 return _internal_student_assignments_size();
2621 ::google::protobuf::internal::TSanWrite(&
_impl_);
2622 _impl_.student_assignments_.Clear();
2623 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2627 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2629 return _internal_mutable_student_assignments()->Mutable(index);
2632 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2633 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2635 ::google::protobuf::internal::TSanWrite(&
_impl_);
2636 return _internal_mutable_student_assignments();
2639 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2641 return _internal_student_assignments().Get(index);
2644 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2645 ::google::protobuf::internal::TSanWrite(&
_impl_);
2647 _internal_mutable_student_assignments()->InternalAddWithArena(
2648 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2649 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2654 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2656 return _internal_student_assignments();
2658inline const ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>&
2659CourseSchedulingResult::_internal_student_assignments()
const {
2660 ::google::protobuf::internal::TSanRead(&
_impl_);
2661 return _impl_.student_assignments_;
2663inline ::google::protobuf::RepeatedPtrField<::operations_research::StudentAssignment>* PROTOBUF_NONNULL
2664CourseSchedulingResult::_internal_mutable_student_assignments() {
2665 ::google::protobuf::internal::TSanRead(&
_impl_);
2675 ::google::protobuf::internal::TSanWrite(&
_impl_);
2676 _impl_.course_index_ = 0;
2677 ClearHasBit(
_impl_._has_bits_[0],
2682 return _internal_course_index();
2685 _internal_set_course_index(value);
2686 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2689inline ::int32_t ClassAssignment::_internal_course_index()
const {
2690 ::google::protobuf::internal::TSanRead(&
_impl_);
2691 return _impl_.course_index_;
2693inline void ClassAssignment::_internal_set_course_index(::int32_t value) {
2694 ::google::protobuf::internal::TSanWrite(&
_impl_);
2695 _impl_.course_index_ = value;
2700 ::google::protobuf::internal::TSanWrite(&
_impl_);
2701 _impl_.section_number_ = 0;
2702 ClearHasBit(
_impl_._has_bits_[0],
2707 return _internal_section_number();
2710 _internal_set_section_number(value);
2711 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2714inline ::int32_t ClassAssignment::_internal_section_number()
const {
2715 ::google::protobuf::internal::TSanRead(&
_impl_);
2716 return _impl_.section_number_;
2718inline void ClassAssignment::_internal_set_section_number(::int32_t value) {
2719 ::google::protobuf::internal::TSanWrite(&
_impl_);
2720 _impl_.section_number_ = value;
2724inline int ClassAssignment::_internal_time_slots_size()
const {
2725 return _internal_time_slots().size();
2728 return _internal_time_slots_size();
2731 ::google::protobuf::internal::TSanWrite(&
_impl_);
2732 _impl_.time_slots_.Clear();
2733 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2738 return _internal_time_slots().Get(index);
2741 _internal_mutable_time_slots()->Set(index, value);
2745 ::google::protobuf::internal::TSanWrite(&
_impl_);
2746 _internal_mutable_time_slots()->Add(value);
2747 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2751 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2753 return _internal_time_slots();
2756 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2757 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2759 ::google::protobuf::internal::TSanWrite(&
_impl_);
2760 return _internal_mutable_time_slots();
2762inline const ::google::protobuf::RepeatedField<::int32_t>&
2763ClassAssignment::_internal_time_slots()
const {
2764 ::google::protobuf::internal::TSanRead(&
_impl_);
2765 return _impl_.time_slots_;
2767inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2768ClassAssignment::_internal_mutable_time_slots() {
2769 ::google::protobuf::internal::TSanRead(&
_impl_);
2770 return &
_impl_.time_slots_;
2774inline int ClassAssignment::_internal_room_indices_size()
const {
2775 return _internal_room_indices().size();
2778 return _internal_room_indices_size();
2781 ::google::protobuf::internal::TSanWrite(&
_impl_);
2782 _impl_.room_indices_.Clear();
2783 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2788 return _internal_room_indices().Get(index);
2791 _internal_mutable_room_indices()->Set(index, value);
2795 ::google::protobuf::internal::TSanWrite(&
_impl_);
2796 _internal_mutable_room_indices()->Add(value);
2797 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2801 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2803 return _internal_room_indices();
2806 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2807 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2809 ::google::protobuf::internal::TSanWrite(&
_impl_);
2810 return _internal_mutable_room_indices();
2812inline const ::google::protobuf::RepeatedField<::int32_t>&
2813ClassAssignment::_internal_room_indices()
const {
2814 ::google::protobuf::internal::TSanRead(&
_impl_);
2815 return _impl_.room_indices_;
2817inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2818ClassAssignment::_internal_mutable_room_indices() {
2819 ::google::protobuf::internal::TSanRead(&
_impl_);
2820 return &
_impl_.room_indices_;
2829 ::google::protobuf::internal::TSanWrite(&
_impl_);
2830 _impl_.student_index_ = 0;
2831 ClearHasBit(
_impl_._has_bits_[0],
2836 return _internal_student_index();
2839 _internal_set_student_index(value);
2840 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2843inline ::int32_t StudentAssignment::_internal_student_index()
const {
2844 ::google::protobuf::internal::TSanRead(&
_impl_);
2845 return _impl_.student_index_;
2847inline void StudentAssignment::_internal_set_student_index(::int32_t value) {
2848 ::google::protobuf::internal::TSanWrite(&
_impl_);
2853inline int StudentAssignment::_internal_course_indices_size()
const {
2854 return _internal_course_indices().size();
2857 return _internal_course_indices_size();
2860 ::google::protobuf::internal::TSanWrite(&
_impl_);
2861 _impl_.course_indices_.Clear();
2862 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2867 return _internal_course_indices().Get(index);
2870 _internal_mutable_course_indices()->Set(index, value);
2874 ::google::protobuf::internal::TSanWrite(&
_impl_);
2875 _internal_mutable_course_indices()->Add(value);
2876 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2880 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2882 return _internal_course_indices();
2885 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2886 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2888 ::google::protobuf::internal::TSanWrite(&
_impl_);
2889 return _internal_mutable_course_indices();
2891inline const ::google::protobuf::RepeatedField<::int32_t>&
2892StudentAssignment::_internal_course_indices()
const {
2893 ::google::protobuf::internal::TSanRead(&
_impl_);
2896inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2897StudentAssignment::_internal_mutable_course_indices() {
2898 ::google::protobuf::internal::TSanRead(&
_impl_);
2903inline int StudentAssignment::_internal_section_indices_size()
const {
2904 return _internal_section_indices().size();
2907 return _internal_section_indices_size();
2910 ::google::protobuf::internal::TSanWrite(&
_impl_);
2911 _impl_.section_indices_.Clear();
2912 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2917 return _internal_section_indices().Get(index);
2920 _internal_mutable_section_indices()->Set(index, value);
2924 ::google::protobuf::internal::TSanWrite(&
_impl_);
2925 _internal_mutable_section_indices()->Add(value);
2926 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2930 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2932 return _internal_section_indices();
2935 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2936 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2938 ::google::protobuf::internal::TSanWrite(&
_impl_);
2939 return _internal_mutable_section_indices();
2941inline const ::google::protobuf::RepeatedField<::int32_t>&
2942StudentAssignment::_internal_section_indices()
const {
2943 ::google::protobuf::internal::TSanRead(&
_impl_);
2946inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2947StudentAssignment::_internal_mutable_section_indices() {
2948 ::google::protobuf::internal::TSanRead(&
_impl_);
2958 ::google::protobuf::internal::TSanWrite(&
_impl_);
2959 _impl_.display_name_.ClearToEmpty();
2960 ClearHasBit(
_impl_._has_bits_[0],
2964 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2966 return _internal_display_name();
2968template <
typename Arg_,
typename... Args_>
2970 ::google::protobuf::internal::TSanWrite(&
_impl_);
2971 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2972 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2976 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2977 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2978 ::std::string* _s = _internal_mutable_display_name();
2982inline const ::std::string& Course::_internal_display_name()
const {
2983 ::google::protobuf::internal::TSanRead(&
_impl_);
2984 return _impl_.display_name_.Get();
2986inline void Course::_internal_set_display_name(const ::std::string& value) {
2987 ::google::protobuf::internal::TSanWrite(&
_impl_);
2988 _impl_.display_name_.Set(value, GetArena());
2990inline ::std::string* PROTOBUF_NONNULL Course::_internal_mutable_display_name() {
2991 ::google::protobuf::internal::TSanWrite(&
_impl_);
2992 return _impl_.display_name_.Mutable( GetArena());
2995 ::google::protobuf::internal::TSanWrite(&
_impl_);
2997 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000008U)) {
3000 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
3001 auto* released =
_impl_.display_name_.Release();
3002 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3003 _impl_.display_name_.Set(
"", GetArena());
3008 ::google::protobuf::internal::TSanWrite(&
_impl_);
3009 if (value !=
nullptr) {
3010 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
3012 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
3014 _impl_.display_name_.SetAllocated(value, GetArena());
3015 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
3016 _impl_.display_name_.Set(
"", GetArena());
3023 ::google::protobuf::internal::TSanWrite(&
_impl_);
3024 _impl_.meetings_count_ = 0;
3025 ClearHasBit(
_impl_._has_bits_[0],
3030 return _internal_meetings_count();
3033 _internal_set_meetings_count(value);
3034 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
3037inline ::int32_t Course::_internal_meetings_count()
const {
3038 ::google::protobuf::internal::TSanRead(&
_impl_);
3039 return _impl_.meetings_count_;
3041inline void Course::_internal_set_meetings_count(::int32_t value) {
3042 ::google::protobuf::internal::TSanWrite(&
_impl_);
3043 _impl_.meetings_count_ = value;
3048 ::google::protobuf::internal::TSanWrite(&
_impl_);
3049 _impl_.max_capacity_ = 0;
3050 ClearHasBit(
_impl_._has_bits_[0],
3055 return _internal_max_capacity();
3058 _internal_set_max_capacity(value);
3059 SetHasBit(
_impl_._has_bits_[0], 0x00000020U);
3062inline ::int32_t Course::_internal_max_capacity()
const {
3063 ::google::protobuf::internal::TSanRead(&
_impl_);
3064 return _impl_.max_capacity_;
3066inline void Course::_internal_set_max_capacity(::int32_t value) {
3067 ::google::protobuf::internal::TSanWrite(&
_impl_);
3068 _impl_.max_capacity_ = value;
3073 ::google::protobuf::internal::TSanWrite(&
_impl_);
3074 _impl_.min_capacity_ = 0;
3075 ClearHasBit(
_impl_._has_bits_[0],
3080 return _internal_min_capacity();
3083 _internal_set_min_capacity(value);
3084 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
3087inline ::int32_t Course::_internal_min_capacity()
const {
3088 ::google::protobuf::internal::TSanRead(&
_impl_);
3089 return _impl_.min_capacity_;
3091inline void Course::_internal_set_min_capacity(::int32_t value) {
3092 ::google::protobuf::internal::TSanWrite(&
_impl_);
3093 _impl_.min_capacity_ = value;
3098 ::google::protobuf::internal::TSanWrite(&
_impl_);
3099 _impl_.consecutive_slots_count_ = 0;
3100 ClearHasBit(
_impl_._has_bits_[0],
3105 return _internal_consecutive_slots_count();
3108 _internal_set_consecutive_slots_count(value);
3109 SetHasBit(
_impl_._has_bits_[0], 0x00000080U);
3112inline ::int32_t Course::_internal_consecutive_slots_count()
const {
3113 ::google::protobuf::internal::TSanRead(&
_impl_);
3114 return _impl_.consecutive_slots_count_;
3116inline void Course::_internal_set_consecutive_slots_count(::int32_t value) {
3117 ::google::protobuf::internal::TSanWrite(&
_impl_);
3118 _impl_.consecutive_slots_count_ = value;
3122inline int Course::_internal_teacher_indices_size()
const {
3123 return _internal_teacher_indices().size();
3126 return _internal_teacher_indices_size();
3129 ::google::protobuf::internal::TSanWrite(&
_impl_);
3130 _impl_.teacher_indices_.Clear();
3131 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3136 return _internal_teacher_indices().Get(index);
3139 _internal_mutable_teacher_indices()->Set(index, value);
3143 ::google::protobuf::internal::TSanWrite(&
_impl_);
3144 _internal_mutable_teacher_indices()->Add(value);
3145 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3149 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3151 return _internal_teacher_indices();
3154 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3155 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3157 ::google::protobuf::internal::TSanWrite(&
_impl_);
3158 return _internal_mutable_teacher_indices();
3160inline const ::google::protobuf::RepeatedField<::int32_t>&
3161Course::_internal_teacher_indices()
const {
3162 ::google::protobuf::internal::TSanRead(&
_impl_);
3163 return _impl_.teacher_indices_;
3165inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3166Course::_internal_mutable_teacher_indices() {
3167 ::google::protobuf::internal::TSanRead(&
_impl_);
3168 return &
_impl_.teacher_indices_;
3172inline int Course::_internal_teacher_section_counts_size()
const {
3173 return _internal_teacher_section_counts().size();
3176 return _internal_teacher_section_counts_size();
3179 ::google::protobuf::internal::TSanWrite(&
_impl_);
3180 _impl_.teacher_section_counts_.Clear();
3181 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3186 return _internal_teacher_section_counts().Get(index);
3189 _internal_mutable_teacher_section_counts()->Set(index, value);
3193 ::google::protobuf::internal::TSanWrite(&
_impl_);
3194 _internal_mutable_teacher_section_counts()->Add(value);
3195 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
3199 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3201 return _internal_teacher_section_counts();
3204 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3205 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
3207 ::google::protobuf::internal::TSanWrite(&
_impl_);
3208 return _internal_mutable_teacher_section_counts();
3210inline const ::google::protobuf::RepeatedField<::int32_t>&
3211Course::_internal_teacher_section_counts()
const {
3212 ::google::protobuf::internal::TSanRead(&
_impl_);
3213 return _impl_.teacher_section_counts_;
3215inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3216Course::_internal_mutable_teacher_section_counts() {
3217 ::google::protobuf::internal::TSanRead(&
_impl_);
3218 return &
_impl_.teacher_section_counts_;
3222inline int Course::_internal_room_indices_size()
const {
3223 return _internal_room_indices().size();
3226 return _internal_room_indices_size();
3229 ::google::protobuf::internal::TSanWrite(&
_impl_);
3230 _impl_.room_indices_.Clear();
3231 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3236 return _internal_room_indices().Get(index);
3239 _internal_mutable_room_indices()->Set(index, value);
3243 ::google::protobuf::internal::TSanWrite(&
_impl_);
3244 _internal_mutable_room_indices()->Add(value);
3245 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
3249 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3251 return _internal_room_indices();
3254 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3255 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
3257 ::google::protobuf::internal::TSanWrite(&
_impl_);
3258 return _internal_mutable_room_indices();
3260inline const ::google::protobuf::RepeatedField<::int32_t>&
3261Course::_internal_room_indices()
const {
3262 ::google::protobuf::internal::TSanRead(&
_impl_);
3263 return _impl_.room_indices_;
3265inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3266Course::_internal_mutable_room_indices() {
3267 ::google::protobuf::internal::TSanRead(&
_impl_);
3268 return &
_impl_.room_indices_;
3277 ::google::protobuf::internal::TSanWrite(&
_impl_);
3278 _impl_.display_name_.ClearToEmpty();
3279 ClearHasBit(
_impl_._has_bits_[0],
3283 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3285 return _internal_display_name();
3287template <
typename Arg_,
typename... Args_>
3289 ::google::protobuf::internal::TSanWrite(&
_impl_);
3290 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3291 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3295 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3296 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3297 ::std::string* _s = _internal_mutable_display_name();
3301inline const ::std::string& Teacher::_internal_display_name()
const {
3302 ::google::protobuf::internal::TSanRead(&
_impl_);
3303 return _impl_.display_name_.Get();
3305inline void Teacher::_internal_set_display_name(const ::std::string& value) {
3306 ::google::protobuf::internal::TSanWrite(&
_impl_);
3307 _impl_.display_name_.Set(value, GetArena());
3309inline ::std::string* PROTOBUF_NONNULL Teacher::_internal_mutable_display_name() {
3310 ::google::protobuf::internal::TSanWrite(&
_impl_);
3311 return _impl_.display_name_.Mutable( GetArena());
3314 ::google::protobuf::internal::TSanWrite(&
_impl_);
3316 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000002U)) {
3319 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
3320 auto* released =
_impl_.display_name_.Release();
3321 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3322 _impl_.display_name_.Set(
"", GetArena());
3327 ::google::protobuf::internal::TSanWrite(&
_impl_);
3328 if (value !=
nullptr) {
3329 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3331 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
3333 _impl_.display_name_.SetAllocated(value, GetArena());
3334 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
3335 _impl_.display_name_.Set(
"", GetArena());
3341inline int Teacher::_internal_restricted_time_slots_size()
const {
3342 return _internal_restricted_time_slots().size();
3345 return _internal_restricted_time_slots_size();
3348 ::google::protobuf::internal::TSanWrite(&
_impl_);
3349 _impl_.restricted_time_slots_.Clear();
3350 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3355 return _internal_restricted_time_slots().Get(index);
3358 _internal_mutable_restricted_time_slots()->Set(index, value);
3362 ::google::protobuf::internal::TSanWrite(&
_impl_);
3363 _internal_mutable_restricted_time_slots()->Add(value);
3364 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3368 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3370 return _internal_restricted_time_slots();
3373 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3374 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3376 ::google::protobuf::internal::TSanWrite(&
_impl_);
3377 return _internal_mutable_restricted_time_slots();
3379inline const ::google::protobuf::RepeatedField<::int32_t>&
3380Teacher::_internal_restricted_time_slots()
const {
3381 ::google::protobuf::internal::TSanRead(&
_impl_);
3382 return _impl_.restricted_time_slots_;
3384inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3385Teacher::_internal_mutable_restricted_time_slots() {
3386 ::google::protobuf::internal::TSanRead(&
_impl_);
3387 return &
_impl_.restricted_time_slots_;
3396 ::google::protobuf::internal::TSanWrite(&
_impl_);
3397 _impl_.display_name_.ClearToEmpty();
3398 ClearHasBit(
_impl_._has_bits_[0],
3402 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3404 return _internal_display_name();
3406template <
typename Arg_,
typename... Args_>
3408 ::google::protobuf::internal::TSanWrite(&
_impl_);
3409 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3410 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3414 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3415 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3416 ::std::string* _s = _internal_mutable_display_name();
3420inline const ::std::string& Student::_internal_display_name()
const {
3421 ::google::protobuf::internal::TSanRead(&
_impl_);
3422 return _impl_.display_name_.Get();
3424inline void Student::_internal_set_display_name(const ::std::string& value) {
3425 ::google::protobuf::internal::TSanWrite(&
_impl_);
3426 _impl_.display_name_.Set(value, GetArena());
3428inline ::std::string* PROTOBUF_NONNULL Student::_internal_mutable_display_name() {
3429 ::google::protobuf::internal::TSanWrite(&
_impl_);
3430 return _impl_.display_name_.Mutable( GetArena());
3433 ::google::protobuf::internal::TSanWrite(&
_impl_);
3435 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000002U)) {
3438 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
3439 auto* released =
_impl_.display_name_.Release();
3440 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3441 _impl_.display_name_.Set(
"", GetArena());
3446 ::google::protobuf::internal::TSanWrite(&
_impl_);
3447 if (value !=
nullptr) {
3448 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3450 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
3452 _impl_.display_name_.SetAllocated(value, GetArena());
3453 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
3454 _impl_.display_name_.Set(
"", GetArena());
3460inline int Student::_internal_course_indices_size()
const {
3461 return _internal_course_indices().size();
3464 return _internal_course_indices_size();
3467 ::google::protobuf::internal::TSanWrite(&
_impl_);
3468 _impl_.course_indices_.Clear();
3469 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3474 return _internal_course_indices().Get(index);
3477 _internal_mutable_course_indices()->Set(index, value);
3481 ::google::protobuf::internal::TSanWrite(&
_impl_);
3482 _internal_mutable_course_indices()->Add(value);
3483 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3487 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3489 return _internal_course_indices();
3492 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3493 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3495 ::google::protobuf::internal::TSanWrite(&
_impl_);
3496 return _internal_mutable_course_indices();
3498inline const ::google::protobuf::RepeatedField<::int32_t>&
3499Student::_internal_course_indices()
const {
3500 ::google::protobuf::internal::TSanRead(&
_impl_);
3501 return _impl_.course_indices_;
3503inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
3504Student::_internal_mutable_course_indices() {
3505 ::google::protobuf::internal::TSanRead(&
_impl_);
3506 return &
_impl_.course_indices_;
3515 ::google::protobuf::internal::TSanWrite(&
_impl_);
3516 _impl_.display_name_.ClearToEmpty();
3517 ClearHasBit(
_impl_._has_bits_[0],
3521 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3523 return _internal_display_name();
3525template <
typename Arg_,
typename... Args_>
3527 ::google::protobuf::internal::TSanWrite(&
_impl_);
3528 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
3529 _impl_.display_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3533 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3534 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
3535 ::std::string* _s = _internal_mutable_display_name();
3539inline const ::std::string& Room::_internal_display_name()
const {
3540 ::google::protobuf::internal::TSanRead(&
_impl_);
3541 return _impl_.display_name_.Get();
3543inline void Room::_internal_set_display_name(const ::std::string& value) {
3544 ::google::protobuf::internal::TSanWrite(&
_impl_);
3547inline ::std::string* PROTOBUF_NONNULL Room::_internal_mutable_display_name() {
3548 ::google::protobuf::internal::TSanWrite(&
_impl_);
3549 return _impl_.display_name_.Mutable( GetArena());
3552 ::google::protobuf::internal::TSanWrite(&
_impl_);
3554 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
3557 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
3558 auto* released =
_impl_.display_name_.Release();
3559 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3560 _impl_.display_name_.Set(
"", GetArena());
3565 ::google::protobuf::internal::TSanWrite(&
_impl_);
3566 if (value !=
nullptr) {
3567 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
3569 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
3571 _impl_.display_name_.SetAllocated(value, GetArena());
3572 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.display_name_.IsDefault()) {
3573 _impl_.display_name_.Set(
"", GetArena());
3580 ::google::protobuf::internal::TSanWrite(&
_impl_);
3582 ClearHasBit(
_impl_._has_bits_[0],
3587 return _internal_capacity();
3590 _internal_set_capacity(value);
3591 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3594inline ::int32_t Room::_internal_capacity()
const {
3595 ::google::protobuf::internal::TSanRead(&
_impl_);
3598inline void Room::_internal_set_capacity(::int32_t value) {
3599 ::google::protobuf::internal::TSanWrite(&
_impl_);
3600 _impl_.capacity_ = value;
3604#pragma GCC diagnostic pop
3618 return ::operations_research::CourseSchedulingResultStatus_descriptor();
3626#include "google/protobuf/port_undef.inc"
int time_slots_size() const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_room_indices()
const ::google::protobuf::RepeatedField<::int32_t > & room_indices() const
void clear_section_number()
::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
::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)
::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
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
const ::google::protobuf::RepeatedField<::int32_t > & time_slots() const
friend void swap(ClassAssignment &a, ClassAssignment &b)
void clear_course_index()
::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
::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)
::operations_research::Teacher *PROTOBUF_NONNULL mutable_teachers(int index)
int students_size() const
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()
void clear_display_name()
::int32_t days_count() const
int teachers_size() const
::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()
::operations_research::Course *PROTOBUF_NONNULL add_courses()
::google::protobuf::RepeatedPtrField<::operations_research::Course > *PROTOBUF_NONNULL mutable_courses()
::operations_research::Room *PROTOBUF_NONNULL add_rooms()
::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
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()
int student_assignments_size() const
::operations_research::ClassAssignment *PROTOBUF_NONNULL mutable_class_assignments(int index)
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
::google::protobuf::RepeatedPtrField<::operations_research::ClassAssignment > *PROTOBUF_NONNULL mutable_class_assignments()
void clear_class_assignments()
int class_assignments_size() const
::operations_research::StudentAssignment *PROTOBUF_NONNULL add_student_assignments()
::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)
::int32_t min_capacity() const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_teacher_indices()
void clear_consecutive_slots_count()
::int32_t consecutive_slots_count() const
@ kConsecutiveSlotsCountFieldNumber
@ kMinCapacityFieldNumber
::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()
Course *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void Swap(Course *PROTOBUF_NONNULL other)
void clear_min_capacity()
int teacher_indices_size() const
::std::string *PROTOBUF_NONNULL mutable_display_name()
::int32_t teacher_indices(int index) const
int room_indices_size() const
void clear_meetings_count()
void set_consecutive_slots_count(::int32_t value)
void set_teacher_indices(int index, ::int32_t value)
::std::string *PROTOBUF_NULLABLE release_display_name()
void clear_max_capacity()
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
void add_teacher_section_counts(::int32_t value)
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
void set_room_indices(int index, ::int32_t value)
void set_display_name(Arg_ &&arg, Args_... args)
void set_max_capacity(::int32_t value)
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
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
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
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::std::string *PROTOBUF_NONNULL mutable_display_name()
void clear_display_name()
void CopyFrom(const Room &from)
Room & operator=(const Room &from)
void set_display_name(Arg_ &&arg, Args_... args)
const ::std::string & display_name() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void Swap(Room *PROTOBUF_NONNULL other)
void MergeFrom(const Room &from)
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
::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
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()
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
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()
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()
::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)
const ::std::string & display_name() const
int restricted_time_slots_size() const
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 >()
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