10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
29inline constexpr Teacher::Impl_::Impl_(
30 ::_pbi::ConstantInitialized) noexcept
32 restricted_time_slots_{},
33 _restricted_time_slots_cached_byte_size_{0},
35 &::google::protobuf::internal::fixed_address_empty_string,
36 ::_pbi::ConstantInitialized()) {}
40#if defined(PROTOBUF_CUSTOM_VTABLE)
43 : ::google::protobuf::Message(),
45 _impl_(::_pbi::ConstantInitialized()) {
55PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
58inline constexpr StudentAssignment::Impl_::Impl_(
59 ::_pbi::ConstantInitialized) noexcept
62 _course_indices_cached_byte_size_{0},
64 _section_indices_cached_byte_size_{0},
69#if defined(PROTOBUF_CUSTOM_VTABLE)
72 : ::google::protobuf::Message(),
74 _impl_(::_pbi::ConstantInitialized()) {
84PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
87inline constexpr Student::Impl_::Impl_(
88 ::_pbi::ConstantInitialized) noexcept
91 _course_indices_cached_byte_size_{0},
93 &::google::protobuf::internal::fixed_address_empty_string,
94 ::_pbi::ConstantInitialized()) {}
98#if defined(PROTOBUF_CUSTOM_VTABLE)
101 : ::google::protobuf::Message(),
103 _impl_(::_pbi::ConstantInitialized()) {
113PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
116inline constexpr Room::Impl_::Impl_(
117 ::_pbi::ConstantInitialized) noexcept
120 &::google::protobuf::internal::fixed_address_empty_string,
121 ::_pbi::ConstantInitialized()),
126#if defined(PROTOBUF_CUSTOM_VTABLE)
129 : ::google::protobuf::Message(),
131 _impl_(::_pbi::ConstantInitialized()) {
141PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
144inline constexpr Course::Impl_::Impl_(
145 ::_pbi::ConstantInitialized) noexcept
148 _teacher_indices_cached_byte_size_{0},
149 teacher_section_counts_{},
150 _teacher_section_counts_cached_byte_size_{0},
152 _room_indices_cached_byte_size_{0},
154 &::google::protobuf::internal::fixed_address_empty_string,
155 ::_pbi::ConstantInitialized()),
159 consecutive_slots_count_{0} {}
163#if defined(PROTOBUF_CUSTOM_VTABLE)
166 : ::google::protobuf::Message(),
168 _impl_(::_pbi::ConstantInitialized()) {
178PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
181inline constexpr ClassAssignment::Impl_::Impl_(
182 ::_pbi::ConstantInitialized) noexcept
185 _time_slots_cached_byte_size_{0},
187 _room_indices_cached_byte_size_{0},
189 section_number_{0} {}
193#if defined(PROTOBUF_CUSTOM_VTABLE)
196 : ::google::protobuf::Message(),
198 _impl_(::_pbi::ConstantInitialized()) {
208PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
211inline constexpr CourseSchedulingResult::Impl_::Impl_(
212 ::_pbi::ConstantInitialized) noexcept
214 class_assignments_{},
215 student_assignments_{},
217 &::google::protobuf::internal::fixed_address_empty_string,
218 ::_pbi::ConstantInitialized()),
223#if defined(PROTOBUF_CUSTOM_VTABLE)
226 : ::google::protobuf::Message(),
228 _impl_(::_pbi::ConstantInitialized()) {
238PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
241inline constexpr CourseSchedulingModel::Impl_::Impl_(
242 ::_pbi::ConstantInitialized) noexcept
249 &::google::protobuf::internal::fixed_address_empty_string,
250 ::_pbi::ConstantInitialized()),
252 daily_time_slot_count_{0} {}
256#if defined(PROTOBUF_CUSTOM_VTABLE)
259 : ::google::protobuf::Message(),
261 _impl_(::_pbi::ConstantInitialized()) {
271PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
274static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
276static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
371static const ::_pbi::MigrationSchema
394 "\n*ortools/scheduling/course_scheduling.p"
395 "roto\022\023operations_research\"\230\002\n\025CourseSche"
396 "dulingModel\022\024\n\014display_name\030\001 \001(\t\022\022\n\nday"
397 "s_count\030\002 \001(\005\022\035\n\025daily_time_slot_count\030\003"
398 " \001(\005\022,\n\007courses\030\004 \003(\0132\033.operations_resea"
399 "rch.Course\022.\n\010teachers\030\005 \003(\0132\034.operation"
400 "s_research.Teacher\022.\n\010students\030\006 \003(\0132\034.o"
401 "perations_research.Student\022(\n\005rooms\030\007 \003("
402 "\0132\031.operations_research.Room\"\371\001\n\026CourseS"
403 "chedulingResult\022\017\n\007message\030\001 \001(\t\022H\n\rsolv"
404 "er_status\030\002 \001(\01621.operations_research.Co"
405 "urseSchedulingResultStatus\022\?\n\021class_assi"
406 "gnments\030\003 \003(\0132$.operations_research.Clas"
407 "sAssignment\022C\n\023student_assignments\030\004 \003(\013"
408 "2&.operations_research.StudentAssignment"
409 "\"i\n\017ClassAssignment\022\024\n\014course_index\030\001 \001("
410 "\005\022\026\n\016section_number\030\002 \001(\005\022\022\n\ntime_slots\030"
411 "\003 \003(\005\022\024\n\014room_indices\030\004 \003(\005\"[\n\021StudentAs"
412 "signment\022\025\n\rstudent_index\030\001 \001(\005\022\026\n\016cours"
413 "e_indices\030\002 \003(\005\022\027\n\017section_indices\030\003 \003(\005"
414 "\"\322\001\n\006Course\022\024\n\014display_name\030\001 \001(\t\022\026\n\016mee"
415 "tings_count\030\002 \001(\005\022\024\n\014max_capacity\030\003 \001(\005\022"
416 "\024\n\014min_capacity\030\004 \001(\005\022\037\n\027consecutive_slo"
417 "ts_count\030\005 \001(\005\022\027\n\017teacher_indices\030\006 \003(\005\022"
418 "\036\n\026teacher_section_counts\030\007 \003(\005\022\024\n\014room_"
419 "indices\030\010 \003(\005\">\n\007Teacher\022\024\n\014display_name"
420 "\030\001 \001(\t\022\035\n\025restricted_time_slots\030\002 \003(\005\"7\n"
421 "\007Student\022\024\n\014display_name\030\001 \001(\t\022\026\n\016course"
422 "_indices\030\002 \003(\005\".\n\004Room\022\024\n\014display_name\030\001"
423 " \001(\t\022\020\n\010capacity\030\002 \001(\005*\316\001\n\034CourseSchedul"
424 "ingResultStatus\022/\n+COURSE_SCHEDULING_RES"
425 "ULT_STATUS_UNSPECIFIED\020\000\022\023\n\017SOLVER_FEASI"
426 "BLE\020\001\022\022\n\016SOLVER_OPTIMAL\020\002\022\025\n\021SOLVER_INFE"
427 "ASIBLE\020\003\022\030\n\024SOLVER_MODEL_INVALID\020\004\022\025\n\021SO"
428 "LVER_NOT_SOLVED\020\005\022\014\n\010ABNORMAL\020\006b\006proto3"
435 descriptor_table_protodef_ortools_2fscheduling_2fcourse_5fscheduling_2eproto,
436 "ortools/scheduling/course_scheduling.proto",
456class CourseSchedulingModel::_Internal {
459 decltype(::std::declval<CourseSchedulingModel>()._impl_._has_bits_);
465#if defined(PROTOBUF_CUSTOM_VTABLE)
468 : ::google::protobuf::Message(arena) {
473PROTOBUF_NDEBUG_INLINE CourseSchedulingModel::Impl_::Impl_(
474 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
475 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
476 [[maybe_unused]] const ::operations_research::CourseSchedulingModel& from_msg)
477 : _has_bits_{from._has_bits_},
479 courses_{visibility, arena, from.courses_},
480 teachers_{visibility, arena, from.teachers_},
481 students_{visibility, arena, from.students_},
482 rooms_{visibility, arena, from.rooms_},
483 display_name_(arena, from.display_name_) {}
486 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
488#if defined(PROTOBUF_CUSTOM_VTABLE)
491 : ::google::protobuf::Message(arena) {
495 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
496 from._internal_metadata_);
497 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
498 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
499 offsetof(Impl_, days_count_),
500 reinterpret_cast<const char*
>(&from._impl_) +
501 offsetof(Impl_, days_count_),
502 offsetof(Impl_, daily_time_slot_count_) -
503 offsetof(Impl_, days_count_) +
504 sizeof(Impl_::daily_time_slot_count_));
508PROTOBUF_NDEBUG_INLINE CourseSchedulingModel::Impl_::Impl_(
509 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
510 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
512 courses_{visibility, arena},
513 teachers_{visibility, arena},
514 students_{visibility, arena},
515 rooms_{visibility, arena},
516 display_name_(arena) {}
518inline void CourseSchedulingModel::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
519 new (&
_impl_) Impl_(internal_visibility(), arena);
520 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
521 offsetof(Impl_, days_count_),
523 offsetof(Impl_, daily_time_slot_count_) -
524 offsetof(Impl_, days_count_) +
525 sizeof(Impl_::daily_time_slot_count_));
531inline void CourseSchedulingModel::SharedDtor(
MessageLite& self) {
533 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
534 this_.CheckHasBitConsistency();
536 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
537 ABSL_DCHECK(this_.GetArena() ==
nullptr);
538 this_.
_impl_.display_name_.Destroy();
542inline void* PROTOBUF_NONNULL CourseSchedulingModel::PlacementNew_(
543 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
544 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
547constexpr auto CourseSchedulingModel::InternalNewImpl_() {
548 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
551 InternalGetArenaOffset(
552 ::google::protobuf::Message::internal_visibility()),
555 InternalGetArenaOffset(
556 ::google::protobuf::Message::internal_visibility()),
559 InternalGetArenaOffset(
560 ::google::protobuf::Message::internal_visibility()),
563 InternalGetArenaOffset(
564 ::google::protobuf::Message::internal_visibility()),
566 if (arena_bits.has_value()) {
567 return ::google::protobuf::internal::MessageCreator::CopyInit(
568 sizeof(CourseSchedulingModel), alignof(CourseSchedulingModel), *arena_bits);
570 return ::google::protobuf::internal::MessageCreator(&CourseSchedulingModel::PlacementNew_,
571 sizeof(CourseSchedulingModel),
572 alignof(CourseSchedulingModel));
576 return ::google::protobuf::internal::ClassDataFull{
577 ::google::protobuf::internal::ClassData{
582 &CourseSchedulingModel::MergeImpl,
583 ::google::protobuf::Message::GetNewImpl<CourseSchedulingModel>(),
584#if defined(PROTOBUF_CUSTOM_VTABLE)
585 &CourseSchedulingModel::SharedDtor,
592 &CourseSchedulingModel::kDescriptorMethods,
598PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
602PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
603CourseSchedulingModel::GetClassData()
const {
608PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
609const ::_pbi::TcParseTable<3, 7, 4, 62, 2>
610CourseSchedulingModel::_table_ = {
615 offsetof(
decltype(_table_), field_lookup_table),
617 offsetof(
decltype(_table_), field_entries),
620 offsetof(
decltype(_table_), aux_entries),
623 ::_pbi::TcParser::GenericFallback,
624 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
625 ::_pbi::TcParser::GetTable<::operations_research::CourseSchedulingModel>(),
628 {::_pbi::TcParser::MiniParse, {}},
630 {::_pbi::TcParser::FastUS1,
642 {::_pbi::TcParser::FastMtR1,
646 {::_pbi::TcParser::FastMtR1,
650 {::_pbi::TcParser::FastMtR1,
654 {::_pbi::TcParser::FastMtR1,
676 {::_pbi::TcParser::GetTable<::operations_research::Course>()},
677 {::_pbi::TcParser::GetTable<::operations_research::Teacher>()},
678 {::_pbi::TcParser::GetTable<::operations_research::Student>()},
679 {::_pbi::TcParser::GetTable<::operations_research::Room>()},
683 "operations_research.CourseSchedulingModel"
689 ::google::protobuf::internal::TSanWrite(&
_impl_);
690 ::uint32_t cached_has_bits = 0;
692 (void) cached_has_bits;
694 cached_has_bits =
_impl_._has_bits_[0];
695 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
696 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
699 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
702 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
705 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
708 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
709 _impl_.display_name_.ClearNonDefaultToEmpty();
712 if (BatchCheckHasBit(cached_has_bits, 0x00000060U)) {
713 ::memset(&
_impl_.days_count_, 0,
static_cast<::
size_t>(
714 reinterpret_cast<char*
>(&
_impl_.daily_time_slot_count_) -
715 reinterpret_cast<char*
>(&
_impl_.days_count_)) +
sizeof(
_impl_.daily_time_slot_count_));
717 _impl_._has_bits_.Clear();
718 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
721#if defined(PROTOBUF_CUSTOM_VTABLE)
723 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
724 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
728 ::uint8_t* PROTOBUF_NONNULL target,
729 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
732 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
733 this_.CheckHasBitConsistency();
736 ::uint32_t cached_has_bits = 0;
737 (void)cached_has_bits;
739 cached_has_bits = this_.
_impl_._has_bits_[0];
741 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
742 if (!this_._internal_display_name().empty()) {
743 const ::std::string& _s = this_._internal_display_name();
744 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
745 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.CourseSchedulingModel.display_name");
746 target = stream->WriteStringMaybeAliased(1, _s, target);
751 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
752 if (this_._internal_days_count() != 0) {
754 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
755 stream, this_._internal_days_count(), target);
760 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
761 if (this_._internal_daily_time_slot_count() != 0) {
763 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
764 stream, this_._internal_daily_time_slot_count(), target);
769 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
770 for (
unsigned i = 0, n =
static_cast<unsigned>(
771 this_._internal_courses_size());
773 const auto& repfield = this_._internal_courses().Get(i);
775 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
776 4, repfield, repfield.GetCachedSize(),
782 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
783 for (
unsigned i = 0, n =
static_cast<unsigned>(
784 this_._internal_teachers_size());
786 const auto& repfield = this_._internal_teachers().Get(i);
788 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
789 5, repfield, repfield.GetCachedSize(),
795 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
796 for (
unsigned i = 0, n =
static_cast<unsigned>(
797 this_._internal_students_size());
799 const auto& repfield = this_._internal_students().Get(i);
801 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
802 6, repfield, repfield.GetCachedSize(),
808 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
809 for (
unsigned i = 0, n =
static_cast<unsigned>(
810 this_._internal_rooms_size());
812 const auto& repfield = this_._internal_rooms().Get(i);
814 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
815 7, repfield, repfield.GetCachedSize(),
820 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
822 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
823 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
829#if defined(PROTOBUF_CUSTOM_VTABLE)
837 ::size_t total_size = 0;
839 ::uint32_t cached_has_bits = 0;
841 (void)cached_has_bits;
843 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
844 cached_has_bits = this_.
_impl_._has_bits_[0];
845 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
847 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
848 total_size += 1UL * this_._internal_courses_size();
849 for (
const auto& msg : this_._internal_courses()) {
850 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
854 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
855 total_size += 1UL * this_._internal_teachers_size();
856 for (
const auto& msg : this_._internal_teachers()) {
857 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
861 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
862 total_size += 1UL * this_._internal_students_size();
863 for (
const auto& msg : this_._internal_students()) {
864 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
868 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
869 total_size += 1UL * this_._internal_rooms_size();
870 for (
const auto& msg : this_._internal_rooms()) {
871 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
875 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
876 if (!this_._internal_display_name().empty()) {
877 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
878 this_._internal_display_name());
882 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
883 if (this_._internal_days_count() != 0) {
884 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
885 this_._internal_days_count());
889 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
890 if (this_._internal_daily_time_slot_count() != 0) {
891 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
892 this_._internal_daily_time_slot_count());
896 return this_.MaybeComputeUnknownFieldsSize(total_size,
897 &this_.
_impl_._cached_size_);
900void CourseSchedulingModel::MergeImpl(::google::protobuf::MessageLite& to_msg,
901 const ::google::protobuf::MessageLite& from_msg) {
905 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
906 from.CheckHasBitConsistency();
910 ABSL_DCHECK_NE(&from, _this);
911 ::uint32_t cached_has_bits = 0;
912 (void)cached_has_bits;
914 cached_has_bits = from._impl_._has_bits_[0];
915 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
916 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
917 _this->_internal_mutable_courses()->InternalMergeFromWithArena(
918 ::google::protobuf::MessageLite::internal_visibility(), arena,
919 from._internal_courses());
921 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
922 _this->_internal_mutable_teachers()->InternalMergeFromWithArena(
923 ::google::protobuf::MessageLite::internal_visibility(), arena,
924 from._internal_teachers());
926 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
927 _this->_internal_mutable_students()->InternalMergeFromWithArena(
928 ::google::protobuf::MessageLite::internal_visibility(), arena,
929 from._internal_students());
931 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
932 _this->_internal_mutable_rooms()->InternalMergeFromWithArena(
933 ::google::protobuf::MessageLite::internal_visibility(), arena,
934 from._internal_rooms());
936 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
937 if (!from._internal_display_name().empty()) {
938 _this->_internal_set_display_name(from._internal_display_name());
940 if (_this->_impl_.display_name_.IsDefault()) {
941 _this->_internal_set_display_name(
"");
945 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
946 if (from._internal_days_count() != 0) {
947 _this->_impl_.days_count_ = from._impl_.days_count_;
950 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
951 if (from._internal_daily_time_slot_count() != 0) {
952 _this->_impl_.daily_time_slot_count_ = from._impl_.daily_time_slot_count_;
956 _this->_impl_._has_bits_[0] |= cached_has_bits;
957 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
958 from._internal_metadata_);
963 if (&from ==
this)
return;
969void CourseSchedulingModel::InternalSwap(
CourseSchedulingModel* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
971 auto* arena = GetArena();
972 ABSL_DCHECK_EQ(arena, other->GetArena());
973 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
974 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
975 _impl_.courses_.InternalSwap(&other->_impl_.courses_);
976 _impl_.teachers_.InternalSwap(&other->_impl_.teachers_);
977 _impl_.students_.InternalSwap(&other->_impl_.students_);
978 _impl_.rooms_.InternalSwap(&other->_impl_.rooms_);
979 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.display_name_, &other->_impl_.display_name_, arena);
980 ::google::protobuf::internal::memswap<
984 reinterpret_cast<char*
>(&
_impl_.days_count_),
985 reinterpret_cast<char*
>(&other->_impl_.days_count_));
989 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
996 decltype(::std::declval<CourseSchedulingResult>()._impl_._has_bits_);
1002#if defined(PROTOBUF_CUSTOM_VTABLE)
1005 : ::google::protobuf::Message(arena) {
1010PROTOBUF_NDEBUG_INLINE CourseSchedulingResult::Impl_::Impl_(
1011 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1012 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1013 [[maybe_unused]] const ::operations_research::CourseSchedulingResult& from_msg)
1014 : _has_bits_{from._has_bits_},
1016 class_assignments_{visibility, arena, from.class_assignments_},
1017 student_assignments_{visibility, arena, from.student_assignments_},
1018 message_(arena, from.message_) {}
1021 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1023#if defined(PROTOBUF_CUSTOM_VTABLE)
1026 : ::google::protobuf::Message(arena) {
1030 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1031 from._internal_metadata_);
1032 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1033 _impl_.solver_status_ = from._impl_.solver_status_;
1037PROTOBUF_NDEBUG_INLINE CourseSchedulingResult::Impl_::Impl_(
1038 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1039 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1041 class_assignments_{visibility, arena},
1042 student_assignments_{visibility, arena},
1045inline void CourseSchedulingResult::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1046 new (&
_impl_) Impl_(internal_visibility(), arena);
1047 _impl_.solver_status_ = {};
1053inline void CourseSchedulingResult::SharedDtor(
MessageLite& self) {
1055 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1056 this_.CheckHasBitConsistency();
1058 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1059 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1060 this_.
_impl_.message_.Destroy();
1064inline void* PROTOBUF_NONNULL CourseSchedulingResult::PlacementNew_(
1065 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1066 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1069constexpr auto CourseSchedulingResult::InternalNewImpl_() {
1070 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1073 InternalGetArenaOffset(
1074 ::google::protobuf::Message::internal_visibility()),
1077 InternalGetArenaOffset(
1078 ::google::protobuf::Message::internal_visibility()),
1080 if (arena_bits.has_value()) {
1081 return ::google::protobuf::internal::MessageCreator::CopyInit(
1082 sizeof(CourseSchedulingResult), alignof(CourseSchedulingResult), *arena_bits);
1084 return ::google::protobuf::internal::MessageCreator(&CourseSchedulingResult::PlacementNew_,
1085 sizeof(CourseSchedulingResult),
1086 alignof(CourseSchedulingResult));
1090 return ::google::protobuf::internal::ClassDataFull{
1091 ::google::protobuf::internal::ClassData{
1096 &CourseSchedulingResult::MergeImpl,
1097 ::google::protobuf::Message::GetNewImpl<CourseSchedulingResult>(),
1098#if defined(PROTOBUF_CUSTOM_VTABLE)
1099 &CourseSchedulingResult::SharedDtor,
1106 &CourseSchedulingResult::kDescriptorMethods,
1112PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1116PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1117CourseSchedulingResult::GetClassData()
const {
1122PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1123const ::_pbi::TcParseTable<2, 4, 2, 58, 2>
1124CourseSchedulingResult::_table_ = {
1129 offsetof(
decltype(_table_), field_lookup_table),
1131 offsetof(
decltype(_table_), field_entries),
1134 offsetof(
decltype(_table_), aux_entries),
1137 ::_pbi::TcParser::GenericFallback,
1138 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1139 ::_pbi::TcParser::GetTable<::operations_research::CourseSchedulingResult>(),
1143 {::_pbi::TcParser::FastMtR1,
1147 {::_pbi::TcParser::FastUS1,
1155 {::_pbi::TcParser::FastMtR1,
1171 {::_pbi::TcParser::GetTable<::operations_research::ClassAssignment>()},
1172 {::_pbi::TcParser::GetTable<::operations_research::StudentAssignment>()},
1176 "operations_research.CourseSchedulingResult"
1182 ::google::protobuf::internal::TSanWrite(&
_impl_);
1183 ::uint32_t cached_has_bits = 0;
1185 (void) cached_has_bits;
1187 cached_has_bits =
_impl_._has_bits_[0];
1188 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1189 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1190 _impl_.class_assignments_.Clear();
1192 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1193 _impl_.student_assignments_.Clear();
1195 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1196 _impl_.message_.ClearNonDefaultToEmpty();
1199 _impl_.solver_status_ = 0;
1200 _impl_._has_bits_.Clear();
1201 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1204#if defined(PROTOBUF_CUSTOM_VTABLE)
1206 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1207 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1211 ::uint8_t* PROTOBUF_NONNULL target,
1212 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1215 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1216 this_.CheckHasBitConsistency();
1219 ::uint32_t cached_has_bits = 0;
1220 (void)cached_has_bits;
1222 cached_has_bits = this_.
_impl_._has_bits_[0];
1224 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1225 if (!this_._internal_message().empty()) {
1226 const ::std::string& _s = this_._internal_message();
1227 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1228 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.CourseSchedulingResult.message");
1229 target = stream->WriteStringMaybeAliased(1, _s, target);
1234 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1235 if (this_._internal_solver_status() != 0) {
1236 target = stream->EnsureSpace(target);
1237 target = ::_pbi::WireFormatLite::WriteEnumToArray(
1238 2, this_._internal_solver_status(), target);
1243 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1244 for (
unsigned i = 0, n =
static_cast<unsigned>(
1245 this_._internal_class_assignments_size());
1247 const auto& repfield = this_._internal_class_assignments().Get(i);
1249 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1250 3, repfield, repfield.GetCachedSize(),
1256 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1257 for (
unsigned i = 0, n =
static_cast<unsigned>(
1258 this_._internal_student_assignments_size());
1260 const auto& repfield = this_._internal_student_assignments().Get(i);
1262 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1263 4, repfield, repfield.GetCachedSize(),
1268 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1270 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1271 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1277#if defined(PROTOBUF_CUSTOM_VTABLE)
1285 ::size_t total_size = 0;
1287 ::uint32_t cached_has_bits = 0;
1289 (void)cached_has_bits;
1291 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1292 cached_has_bits = this_.
_impl_._has_bits_[0];
1293 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1295 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1296 total_size += 1UL * this_._internal_class_assignments_size();
1297 for (
const auto& msg : this_._internal_class_assignments()) {
1298 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1302 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1303 total_size += 1UL * this_._internal_student_assignments_size();
1304 for (
const auto& msg : this_._internal_student_assignments()) {
1305 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1309 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1310 if (!this_._internal_message().empty()) {
1311 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1312 this_._internal_message());
1316 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1317 if (this_._internal_solver_status() != 0) {
1319 ::_pbi::WireFormatLite::EnumSize(this_._internal_solver_status());
1323 return this_.MaybeComputeUnknownFieldsSize(total_size,
1324 &this_.
_impl_._cached_size_);
1327void CourseSchedulingResult::MergeImpl(::google::protobuf::MessageLite& to_msg,
1328 const ::google::protobuf::MessageLite& from_msg) {
1332 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1333 from.CheckHasBitConsistency();
1337 ABSL_DCHECK_NE(&from, _this);
1338 ::uint32_t cached_has_bits = 0;
1339 (void)cached_has_bits;
1341 cached_has_bits = from._impl_._has_bits_[0];
1342 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1343 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1344 _this->_internal_mutable_class_assignments()->InternalMergeFromWithArena(
1345 ::google::protobuf::MessageLite::internal_visibility(), arena,
1346 from._internal_class_assignments());
1348 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1349 _this->_internal_mutable_student_assignments()->InternalMergeFromWithArena(
1350 ::google::protobuf::MessageLite::internal_visibility(), arena,
1351 from._internal_student_assignments());
1353 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1354 if (!from._internal_message().empty()) {
1355 _this->_internal_set_message(from._internal_message());
1357 if (_this->_impl_.message_.IsDefault()) {
1358 _this->_internal_set_message(
"");
1362 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1363 if (from._internal_solver_status() != 0) {
1364 _this->_impl_.solver_status_ = from._impl_.solver_status_;
1368 _this->_impl_._has_bits_[0] |= cached_has_bits;
1369 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1370 from._internal_metadata_);
1375 if (&from ==
this)
return;
1381void CourseSchedulingResult::InternalSwap(
CourseSchedulingResult* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1383 auto* arena = GetArena();
1384 ABSL_DCHECK_EQ(arena, other->GetArena());
1385 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1386 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1387 _impl_.class_assignments_.InternalSwap(&other->_impl_.class_assignments_);
1388 _impl_.student_assignments_.InternalSwap(&other->_impl_.student_assignments_);
1389 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.message_, &other->_impl_.message_, arena);
1390 swap(
_impl_.solver_status_, other->_impl_.solver_status_);
1394 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1401 decltype(::std::declval<ClassAssignment>()._impl_._has_bits_);
1407#if defined(PROTOBUF_CUSTOM_VTABLE)
1410 : ::google::protobuf::Message(arena) {
1415PROTOBUF_NDEBUG_INLINE ClassAssignment::Impl_::Impl_(
1416 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1417 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1418 [[maybe_unused]] const ::operations_research::ClassAssignment& from_msg)
1419 : _has_bits_{from._has_bits_},
1421 time_slots_{visibility, arena, from.time_slots_},
1422 _time_slots_cached_byte_size_{0},
1423 room_indices_{visibility, arena, from.room_indices_},
1424 _room_indices_cached_byte_size_{0} {}
1427 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1429#if defined(PROTOBUF_CUSTOM_VTABLE)
1432 : ::google::protobuf::Message(arena) {
1436 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1437 from._internal_metadata_);
1438 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1439 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
1440 offsetof(Impl_, course_index_),
1441 reinterpret_cast<const char*
>(&from._impl_) +
1442 offsetof(Impl_, course_index_),
1443 offsetof(Impl_, section_number_) -
1444 offsetof(Impl_, course_index_) +
1445 sizeof(Impl_::section_number_));
1449PROTOBUF_NDEBUG_INLINE ClassAssignment::Impl_::Impl_(
1450 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1451 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1453 time_slots_{visibility, arena},
1454 _time_slots_cached_byte_size_{0},
1455 room_indices_{visibility, arena},
1456 _room_indices_cached_byte_size_{0} {}
1458inline void ClassAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1459 new (&
_impl_) Impl_(internal_visibility(), arena);
1460 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
1461 offsetof(Impl_, course_index_),
1463 offsetof(Impl_, section_number_) -
1464 offsetof(Impl_, course_index_) +
1465 sizeof(Impl_::section_number_));
1471inline void ClassAssignment::SharedDtor(
MessageLite& self) {
1473 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1474 this_.CheckHasBitConsistency();
1476 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1477 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1481inline void* PROTOBUF_NONNULL ClassAssignment::PlacementNew_(
1482 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1483 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1484 return ::new (mem) ClassAssignment(arena);
1486constexpr auto ClassAssignment::InternalNewImpl_() {
1487 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1488 PROTOBUF_FIELD_OFFSET(ClassAssignment,
_impl_.time_slots_) +
1490 InternalGetArenaOffset(
1491 ::google::protobuf::Message::internal_visibility()),
1492 PROTOBUF_FIELD_OFFSET(ClassAssignment,
_impl_.room_indices_) +
1493 decltype(ClassAssignment::
_impl_.room_indices_)::
1494 InternalGetArenaOffset(
1495 ::google::protobuf::Message::internal_visibility()),
1497 if (arena_bits.has_value()) {
1498 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1499 sizeof(ClassAssignment), alignof(ClassAssignment), *arena_bits);
1501 return ::google::protobuf::internal::MessageCreator(&ClassAssignment::PlacementNew_,
1502 sizeof(ClassAssignment),
1503 alignof(ClassAssignment));
1507 return ::google::protobuf::internal::ClassDataFull{
1508 ::google::protobuf::internal::ClassData{
1513 &ClassAssignment::MergeImpl,
1514 ::google::protobuf::Message::GetNewImpl<ClassAssignment>(),
1515#if defined(PROTOBUF_CUSTOM_VTABLE)
1516 &ClassAssignment::SharedDtor,
1523 &ClassAssignment::kDescriptorMethods,
1529PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1533PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1534ClassAssignment::GetClassData()
const {
1539PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1540const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
1541ClassAssignment::_table_ = {
1543 PROTOBUF_FIELD_OFFSET(ClassAssignment,
_impl_._has_bits_),
1546 offsetof(
decltype(_table_), field_lookup_table),
1548 offsetof(
decltype(_table_), field_entries),
1551 offsetof(
decltype(_table_), field_names),
1554 ::_pbi::TcParser::GenericFallback,
1555 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1556 ::_pbi::TcParser::GetTable<::operations_research::ClassAssignment>(),
1560 {::_pbi::TcParser::FastV32P1,
1562 PROTOBUF_FIELD_OFFSET(ClassAssignment,
_impl_.room_indices_)}},
1564 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ClassAssignment,
_impl_.course_index_), 2>(),
1566 PROTOBUF_FIELD_OFFSET(ClassAssignment,
_impl_.course_index_)}},
1568 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ClassAssignment,
_impl_.section_number_), 3>(),
1570 PROTOBUF_FIELD_OFFSET(ClassAssignment,
_impl_.section_number_)}},
1572 {::_pbi::TcParser::FastV32P1,
1574 PROTOBUF_FIELD_OFFSET(ClassAssignment,
_impl_.time_slots_)}},
1593 ::google::protobuf::internal::TSanWrite(&
_impl_);
1594 ::uint32_t cached_has_bits = 0;
1596 (void) cached_has_bits;
1598 cached_has_bits =
_impl_._has_bits_[0];
1599 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1600 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1601 _impl_.time_slots_.Clear();
1603 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1604 _impl_.room_indices_.Clear();
1607 if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
1608 ::memset(&
_impl_.course_index_, 0,
static_cast<::
size_t>(
1609 reinterpret_cast<char*
>(&
_impl_.section_number_) -
1610 reinterpret_cast<char*
>(&
_impl_.course_index_)) +
sizeof(
_impl_.section_number_));
1612 _impl_._has_bits_.Clear();
1613 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1616#if defined(PROTOBUF_CUSTOM_VTABLE)
1618 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1619 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1620 const ClassAssignment& this_ =
static_cast<const ClassAssignment&
>(base);
1623 ::uint8_t* PROTOBUF_NONNULL target,
1624 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1627 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1628 this_.CheckHasBitConsistency();
1631 ::uint32_t cached_has_bits = 0;
1632 (void)cached_has_bits;
1634 cached_has_bits = this_.
_impl_._has_bits_[0];
1636 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1637 if (this_._internal_course_index() != 0) {
1639 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
1640 stream, this_._internal_course_index(), target);
1645 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1646 if (this_._internal_section_number() != 0) {
1648 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
1649 stream, this_._internal_section_number(), target);
1654 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1656 int byte_size = this_.
_impl_._time_slots_cached_byte_size_.Get();
1657 if (byte_size > 0) {
1658 target = stream->WriteInt32Packed(
1659 3, this_._internal_time_slots(), byte_size, target);
1665 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1667 int byte_size = this_.
_impl_._room_indices_cached_byte_size_.Get();
1668 if (byte_size > 0) {
1669 target = stream->WriteInt32Packed(
1670 4, this_._internal_room_indices(), byte_size, target);
1675 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1677 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1678 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1684#if defined(PROTOBUF_CUSTOM_VTABLE)
1686 const ClassAssignment& this_ =
static_cast<const ClassAssignment&
>(base);
1689 const ClassAssignment& this_ = *
this;
1692 ::size_t total_size = 0;
1694 ::uint32_t cached_has_bits = 0;
1696 (void)cached_has_bits;
1698 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1699 cached_has_bits = this_._impl_._has_bits_[0];
1700 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1702 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1704 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1705 this_._internal_time_slots(), 1,
1706 this_._impl_._time_slots_cached_byte_size_);
1709 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1711 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1712 this_._internal_room_indices(), 1,
1713 this_._impl_._room_indices_cached_byte_size_);
1716 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1717 if (this_._internal_course_index() != 0) {
1718 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1719 this_._internal_course_index());
1723 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1724 if (this_._internal_section_number() != 0) {
1725 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1726 this_._internal_section_number());
1730 return this_.MaybeComputeUnknownFieldsSize(total_size,
1731 &this_._impl_._cached_size_);
1734void ClassAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg,
1735 const ::google::protobuf::MessageLite& from_msg) {
1737 static_cast<ClassAssignment*
>(&to_msg);
1738 auto& from =
static_cast<const ClassAssignment&
>(from_msg);
1739 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1740 from.CheckHasBitConsistency();
1743 ABSL_DCHECK_NE(&from, _this);
1744 ::uint32_t cached_has_bits = 0;
1745 (void)cached_has_bits;
1747 cached_has_bits = from._impl_._has_bits_[0];
1748 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1749 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1750 _this->_internal_mutable_time_slots()->MergeFrom(from._internal_time_slots());
1752 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1753 _this->_internal_mutable_room_indices()->MergeFrom(from._internal_room_indices());
1755 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1756 if (from._internal_course_index() != 0) {
1757 _this->_impl_.course_index_ = from._impl_.course_index_;
1760 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1761 if (from._internal_section_number() != 0) {
1762 _this->_impl_.section_number_ = from._impl_.section_number_;
1766 _this->_impl_._has_bits_[0] |= cached_has_bits;
1767 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1768 from._internal_metadata_);
1773 if (&from ==
this)
return;
1779void ClassAssignment::InternalSwap(
ClassAssignment* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1781 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1782 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1783 _impl_.time_slots_.InternalSwap(&other->_impl_.time_slots_);
1784 _impl_.room_indices_.InternalSwap(&other->_impl_.room_indices_);
1785 ::google::protobuf::internal::memswap<
1789 reinterpret_cast<char*
>(&
_impl_.course_index_),
1790 reinterpret_cast<char*
>(&other->_impl_.course_index_));
1794 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1801 decltype(::std::declval<StudentAssignment>()._impl_._has_bits_);
1807#if defined(PROTOBUF_CUSTOM_VTABLE)
1810 : ::google::protobuf::Message(arena) {
1815PROTOBUF_NDEBUG_INLINE StudentAssignment::Impl_::Impl_(
1816 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1817 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1818 [[maybe_unused]] const ::operations_research::StudentAssignment& from_msg)
1819 : _has_bits_{from._has_bits_},
1821 course_indices_{visibility, arena, from.course_indices_},
1822 _course_indices_cached_byte_size_{0},
1823 section_indices_{visibility, arena, from.section_indices_},
1824 _section_indices_cached_byte_size_{0} {}
1827 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1829#if defined(PROTOBUF_CUSTOM_VTABLE)
1832 : ::google::protobuf::Message(arena) {
1836 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1837 from._internal_metadata_);
1838 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1839 _impl_.student_index_ = from._impl_.student_index_;
1843PROTOBUF_NDEBUG_INLINE StudentAssignment::Impl_::Impl_(
1844 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1845 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1847 course_indices_{visibility, arena},
1848 _course_indices_cached_byte_size_{0},
1849 section_indices_{visibility, arena},
1850 _section_indices_cached_byte_size_{0} {}
1852inline void StudentAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1853 new (&
_impl_) Impl_(internal_visibility(), arena);
1854 _impl_.student_index_ = {};
1862 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1863 this_.CheckHasBitConsistency();
1865 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1866 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1870inline void* PROTOBUF_NONNULL StudentAssignment::PlacementNew_(
1871 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1872 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1875constexpr auto StudentAssignment::InternalNewImpl_() {
1876 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1877 PROTOBUF_FIELD_OFFSET(StudentAssignment,
_impl_.course_indices_) +
1879 InternalGetArenaOffset(
1880 ::
google::protobuf::Message::internal_visibility()),
1881 PROTOBUF_FIELD_OFFSET(StudentAssignment,
_impl_.section_indices_) +
1882 decltype(StudentAssignment::
_impl_.section_indices_)::
1883 InternalGetArenaOffset(
1884 ::
google::protobuf::Message::internal_visibility()),
1886 if (arena_bits.has_value()) {
1887 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1888 sizeof(StudentAssignment), alignof(StudentAssignment), *arena_bits);
1890 return ::google::protobuf::internal::MessageCreator(&StudentAssignment::PlacementNew_,
1891 sizeof(StudentAssignment),
1892 alignof(StudentAssignment));
1896 return ::google::protobuf::internal::ClassDataFull{
1897 ::google::protobuf::internal::ClassData{
1902 &StudentAssignment::MergeImpl,
1903 ::google::protobuf::Message::GetNewImpl<StudentAssignment>(),
1904#if defined(PROTOBUF_CUSTOM_VTABLE)
1905 &StudentAssignment::SharedDtor,
1912 &StudentAssignment::kDescriptorMethods,
1918PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1922PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1923StudentAssignment::GetClassData()
const {
1928PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1929const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
1930StudentAssignment::_table_ = {
1932 PROTOBUF_FIELD_OFFSET(StudentAssignment,
_impl_._has_bits_),
1935 offsetof(
decltype(_table_), field_lookup_table),
1937 offsetof(
decltype(_table_), field_entries),
1940 offsetof(
decltype(_table_), field_names),
1943 ::_pbi::TcParser::GenericFallback,
1944 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1945 ::_pbi::TcParser::GetTable<::operations_research::StudentAssignment>(),
1948 {::_pbi::TcParser::MiniParse, {}},
1950 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StudentAssignment,
_impl_.student_index_), 2>(),
1952 PROTOBUF_FIELD_OFFSET(StudentAssignment,
_impl_.student_index_)}},
1954 {::_pbi::TcParser::FastV32P1,
1956 PROTOBUF_FIELD_OFFSET(StudentAssignment,
_impl_.course_indices_)}},
1958 {::_pbi::TcParser::FastV32P1,
1960 PROTOBUF_FIELD_OFFSET(StudentAssignment,
_impl_.section_indices_)}},
1969 {PROTOBUF_FIELD_OFFSET(StudentAssignment,
_impl_.section_indices_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1977 ::google::protobuf::internal::TSanWrite(&
_impl_);
1978 ::uint32_t cached_has_bits = 0;
1980 (void) cached_has_bits;
1982 cached_has_bits =
_impl_._has_bits_[0];
1983 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1984 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1985 _impl_.course_indices_.Clear();
1987 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1988 _impl_.section_indices_.Clear();
1991 _impl_.student_index_ = 0;
1992 _impl_._has_bits_.Clear();
1993 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1996#if defined(PROTOBUF_CUSTOM_VTABLE)
1998 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1999 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2000 const StudentAssignment& this_ =
static_cast<const StudentAssignment&
>(base);
2003 ::uint8_t* PROTOBUF_NONNULL target,
2004 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2005 const StudentAssignment& this_ = *
this;
2007 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2008 this_.CheckHasBitConsistency();
2011 ::uint32_t cached_has_bits = 0;
2012 (void)cached_has_bits;
2014 cached_has_bits = this_._impl_._has_bits_[0];
2016 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2017 if (this_._internal_student_index() != 0) {
2019 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
2020 stream, this_._internal_student_index(), target);
2025 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2027 int byte_size = this_._impl_._course_indices_cached_byte_size_.Get();
2028 if (byte_size > 0) {
2029 target = stream->WriteInt32Packed(
2030 2, this_._internal_course_indices(), byte_size, target);
2036 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2038 int byte_size = this_._impl_._section_indices_cached_byte_size_.Get();
2039 if (byte_size > 0) {
2040 target = stream->WriteInt32Packed(
2041 3, this_._internal_section_indices(), byte_size, target);
2046 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2048 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2049 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2055#if defined(PROTOBUF_CUSTOM_VTABLE)
2057 const StudentAssignment& this_ =
static_cast<const StudentAssignment&
>(base);
2060 const StudentAssignment& this_ = *
this;
2063 ::size_t total_size = 0;
2065 ::uint32_t cached_has_bits = 0;
2067 (void)cached_has_bits;
2069 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2070 cached_has_bits = this_._impl_._has_bits_[0];
2071 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2073 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2075 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2076 this_._internal_course_indices(), 1,
2077 this_._impl_._course_indices_cached_byte_size_);
2080 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2082 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2083 this_._internal_section_indices(), 1,
2084 this_._impl_._section_indices_cached_byte_size_);
2087 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2088 if (this_._internal_student_index() != 0) {
2089 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2090 this_._internal_student_index());
2094 return this_.MaybeComputeUnknownFieldsSize(total_size,
2095 &this_._impl_._cached_size_);
2098void StudentAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg,
2099 const ::google::protobuf::MessageLite& from_msg) {
2101 static_cast<StudentAssignment*
>(&to_msg);
2102 auto& from =
static_cast<const StudentAssignment&
>(from_msg);
2103 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2104 from.CheckHasBitConsistency();
2107 ABSL_DCHECK_NE(&from, _this);
2108 ::uint32_t cached_has_bits = 0;
2109 (void)cached_has_bits;
2111 cached_has_bits = from._impl_._has_bits_[0];
2112 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2113 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2114 _this->_internal_mutable_course_indices()->MergeFrom(from._internal_course_indices());
2116 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2117 _this->_internal_mutable_section_indices()->MergeFrom(from._internal_section_indices());
2119 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2120 if (from._internal_student_index() != 0) {
2121 _this->_impl_.student_index_ = from._impl_.student_index_;
2125 _this->_impl_._has_bits_[0] |= cached_has_bits;
2126 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2127 from._internal_metadata_);
2132 if (&from ==
this)
return;
2138void StudentAssignment::InternalSwap(
StudentAssignment* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2140 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2141 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2142 _impl_.course_indices_.InternalSwap(&other->_impl_.course_indices_);
2143 _impl_.section_indices_.InternalSwap(&other->_impl_.section_indices_);
2144 swap(
_impl_.student_index_, other->_impl_.student_index_);
2148 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2155 decltype(::std::declval<Course>()._impl_._has_bits_);
2156 static constexpr ::int32_t kHasBitsOffset =
2160Course::Course(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2161#if defined(PROTOBUF_CUSTOM_VTABLE)
2164 : ::google::protobuf::Message(arena) {
2169PROTOBUF_NDEBUG_INLINE Course::Impl_::Impl_(
2170 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2171 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2172 [[maybe_unused]] const ::operations_research::Course& from_msg)
2173 : _has_bits_{from._has_bits_},
2175 teacher_indices_{visibility, arena, from.teacher_indices_},
2176 _teacher_indices_cached_byte_size_{0},
2177 teacher_section_counts_{visibility, arena, from.teacher_section_counts_},
2178 _teacher_section_counts_cached_byte_size_{0},
2179 room_indices_{visibility, arena, from.room_indices_},
2180 _room_indices_cached_byte_size_{0},
2181 display_name_(arena, from.display_name_) {}
2184 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2186#if defined(PROTOBUF_CUSTOM_VTABLE)
2189 : ::google::protobuf::Message(arena) {
2191 Course*
const _this =
this;
2193 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2194 from._internal_metadata_);
2195 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2196 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
2197 offsetof(Impl_, meetings_count_),
2198 reinterpret_cast<const char*
>(&from._impl_) +
2199 offsetof(Impl_, meetings_count_),
2200 offsetof(Impl_, consecutive_slots_count_) -
2201 offsetof(Impl_, meetings_count_) +
2202 sizeof(Impl_::consecutive_slots_count_));
2206PROTOBUF_NDEBUG_INLINE Course::Impl_::Impl_(
2207 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2208 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2210 teacher_indices_{visibility, arena},
2211 _teacher_indices_cached_byte_size_{0},
2212 teacher_section_counts_{visibility, arena},
2213 _teacher_section_counts_cached_byte_size_{0},
2214 room_indices_{visibility, arena},
2215 _room_indices_cached_byte_size_{0},
2216 display_name_(arena) {}
2218inline void Course::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2219 new (&
_impl_) Impl_(internal_visibility(), arena);
2220 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
2221 offsetof(Impl_, meetings_count_),
2223 offsetof(Impl_, consecutive_slots_count_) -
2224 offsetof(Impl_, meetings_count_) +
2225 sizeof(Impl_::consecutive_slots_count_));
2231inline void Course::SharedDtor(
MessageLite& self) {
2233 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2234 this_.CheckHasBitConsistency();
2236 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2237 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2238 this_.
_impl_.display_name_.Destroy();
2242inline void* PROTOBUF_NONNULL Course::PlacementNew_(
2243 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2244 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2245 return ::new (mem) Course(arena);
2247constexpr auto Course::InternalNewImpl_() {
2248 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2249 PROTOBUF_FIELD_OFFSET(Course,
_impl_.teacher_indices_) +
2251 InternalGetArenaOffset(
2252 ::google::protobuf::Message::internal_visibility()),
2253 PROTOBUF_FIELD_OFFSET(Course,
_impl_.teacher_section_counts_) +
2254 decltype(Course::
_impl_.teacher_section_counts_)::
2255 InternalGetArenaOffset(
2256 ::google::protobuf::Message::internal_visibility()),
2257 PROTOBUF_FIELD_OFFSET(Course,
_impl_.room_indices_) +
2258 decltype(Course::
_impl_.room_indices_)::
2259 InternalGetArenaOffset(
2260 ::google::protobuf::Message::internal_visibility()),
2262 if (arena_bits.has_value()) {
2263 return ::google::protobuf::internal::MessageCreator::CopyInit(
2264 sizeof(Course), alignof(Course), *arena_bits);
2266 return ::google::protobuf::internal::MessageCreator(&Course::PlacementNew_,
2272 return ::google::protobuf::internal::ClassDataFull{
2273 ::google::protobuf::internal::ClassData{
2279 ::google::protobuf::Message::GetNewImpl<Course>(),
2280#if defined(PROTOBUF_CUSTOM_VTABLE)
2281 &Course::SharedDtor,
2288 &Course::kDescriptorMethods,
2294PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2298PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2299Course::GetClassData()
const {
2304PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2305const ::_pbi::TcParseTable<3, 8, 0, 55, 2>
2308 PROTOBUF_FIELD_OFFSET(Course,
_impl_._has_bits_),
2311 offsetof(
decltype(_table_), field_lookup_table),
2313 offsetof(
decltype(_table_), field_entries),
2316 offsetof(
decltype(_table_), field_names),
2319 ::_pbi::TcParser::GenericFallback,
2320 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2321 ::_pbi::TcParser::GetTable<::operations_research::Course>(),
2325 {::_pbi::TcParser::FastV32P1,
2327 PROTOBUF_FIELD_OFFSET(Course,
_impl_.room_indices_)}},
2329 {::_pbi::TcParser::FastUS1,
2331 PROTOBUF_FIELD_OFFSET(Course,
_impl_.display_name_)}},
2333 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Course,
_impl_.meetings_count_), 4>(),
2335 PROTOBUF_FIELD_OFFSET(Course,
_impl_.meetings_count_)}},
2337 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Course,
_impl_.max_capacity_), 5>(),
2339 PROTOBUF_FIELD_OFFSET(Course,
_impl_.max_capacity_)}},
2341 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Course,
_impl_.min_capacity_), 6>(),
2343 PROTOBUF_FIELD_OFFSET(Course,
_impl_.min_capacity_)}},
2345 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Course,
_impl_.consecutive_slots_count_), 7>(),
2347 PROTOBUF_FIELD_OFFSET(Course,
_impl_.consecutive_slots_count_)}},
2349 {::_pbi::TcParser::FastV32P1,
2351 PROTOBUF_FIELD_OFFSET(Course,
_impl_.teacher_indices_)}},
2353 {::_pbi::TcParser::FastV32P1,
2355 PROTOBUF_FIELD_OFFSET(Course,
_impl_.teacher_section_counts_)}},
2360 {PROTOBUF_FIELD_OFFSET(Course,
_impl_.display_name_),
_Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2378 "\32\14\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
2379 "operations_research.Course"
2385 ::google::protobuf::internal::TSanWrite(&
_impl_);
2386 ::uint32_t cached_has_bits = 0;
2388 (void) cached_has_bits;
2390 cached_has_bits =
_impl_._has_bits_[0];
2391 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
2392 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2393 _impl_.teacher_indices_.Clear();
2395 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2396 _impl_.teacher_section_counts_.Clear();
2398 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2399 _impl_.room_indices_.Clear();
2401 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2402 _impl_.display_name_.ClearNonDefaultToEmpty();
2405 if (BatchCheckHasBit(cached_has_bits, 0x000000f0U)) {
2406 ::memset(&
_impl_.meetings_count_, 0,
static_cast<::
size_t>(
2407 reinterpret_cast<char*
>(&
_impl_.consecutive_slots_count_) -
2408 reinterpret_cast<char*
>(&
_impl_.meetings_count_)) +
sizeof(
_impl_.consecutive_slots_count_));
2410 _impl_._has_bits_.Clear();
2411 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2414#if defined(PROTOBUF_CUSTOM_VTABLE)
2416 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2417 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2418 const Course& this_ =
static_cast<const Course&
>(base);
2421 ::uint8_t* PROTOBUF_NONNULL target,
2422 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2423 const Course& this_ = *
this;
2425 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2426 this_.CheckHasBitConsistency();
2429 ::uint32_t cached_has_bits = 0;
2430 (void)cached_has_bits;
2432 cached_has_bits = this_.
_impl_._has_bits_[0];
2434 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2435 if (!this_._internal_display_name().empty()) {
2436 const ::std::string& _s = this_._internal_display_name();
2437 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2438 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.Course.display_name");
2439 target = stream->WriteStringMaybeAliased(1, _s, target);
2444 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2445 if (this_._internal_meetings_count() != 0) {
2447 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
2448 stream, this_._internal_meetings_count(), target);
2453 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2454 if (this_._internal_max_capacity() != 0) {
2456 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
2457 stream, this_._internal_max_capacity(), target);
2462 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2463 if (this_._internal_min_capacity() != 0) {
2465 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
2466 stream, this_._internal_min_capacity(), target);
2471 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
2472 if (this_._internal_consecutive_slots_count() != 0) {
2474 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
2475 stream, this_._internal_consecutive_slots_count(), target);
2480 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2482 int byte_size = this_._impl_._teacher_indices_cached_byte_size_.Get();
2483 if (byte_size > 0) {
2484 target = stream->WriteInt32Packed(
2485 6, this_._internal_teacher_indices(), byte_size, target);
2491 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2493 int byte_size = this_._impl_._teacher_section_counts_cached_byte_size_.Get();
2494 if (byte_size > 0) {
2495 target = stream->WriteInt32Packed(
2496 7, this_._internal_teacher_section_counts(), byte_size, target);
2502 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2504 int byte_size = this_._impl_._room_indices_cached_byte_size_.Get();
2505 if (byte_size > 0) {
2506 target = stream->WriteInt32Packed(
2507 8, this_._internal_room_indices(), byte_size, target);
2512 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2514 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2515 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2521#if defined(PROTOBUF_CUSTOM_VTABLE)
2523 const Course& this_ =
static_cast<const Course&
>(base);
2526 const Course& this_ = *
this;
2529 ::size_t total_size = 0;
2531 ::uint32_t cached_has_bits = 0;
2533 (void)cached_has_bits;
2535 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2536 cached_has_bits = this_._impl_._has_bits_[0];
2537 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
2539 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2541 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2542 this_._internal_teacher_indices(), 1,
2543 this_._impl_._teacher_indices_cached_byte_size_);
2546 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2548 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2549 this_._internal_teacher_section_counts(), 1,
2550 this_._impl_._teacher_section_counts_cached_byte_size_);
2553 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2555 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2556 this_._internal_room_indices(), 1,
2557 this_._impl_._room_indices_cached_byte_size_);
2560 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2561 if (!this_._internal_display_name().empty()) {
2562 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2563 this_._internal_display_name());
2567 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2568 if (this_._internal_meetings_count() != 0) {
2569 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2570 this_._internal_meetings_count());
2574 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2575 if (this_._internal_max_capacity() != 0) {
2576 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2577 this_._internal_max_capacity());
2581 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2582 if (this_._internal_min_capacity() != 0) {
2583 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2584 this_._internal_min_capacity());
2588 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
2589 if (this_._internal_consecutive_slots_count() != 0) {
2590 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2591 this_._internal_consecutive_slots_count());
2595 return this_.MaybeComputeUnknownFieldsSize(total_size,
2596 &this_._impl_._cached_size_);
2599void Course::MergeImpl(::google::protobuf::MessageLite& to_msg,
2600 const ::google::protobuf::MessageLite& from_msg) {
2602 static_cast<Course*
>(&to_msg);
2603 auto& from =
static_cast<const Course&
>(from_msg);
2604 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2605 from.CheckHasBitConsistency();
2608 ABSL_DCHECK_NE(&from, _this);
2609 ::uint32_t cached_has_bits = 0;
2610 (void)cached_has_bits;
2612 cached_has_bits = from._impl_._has_bits_[0];
2613 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
2614 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2615 _this->_internal_mutable_teacher_indices()->MergeFrom(from._internal_teacher_indices());
2617 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2618 _this->_internal_mutable_teacher_section_counts()->MergeFrom(from._internal_teacher_section_counts());
2620 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2621 _this->_internal_mutable_room_indices()->MergeFrom(from._internal_room_indices());
2623 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2624 if (!from._internal_display_name().empty()) {
2625 _this->_internal_set_display_name(from._internal_display_name());
2627 if (_this->_impl_.display_name_.IsDefault()) {
2628 _this->_internal_set_display_name(
"");
2632 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2633 if (from._internal_meetings_count() != 0) {
2634 _this->_impl_.meetings_count_ = from._impl_.meetings_count_;
2637 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2638 if (from._internal_max_capacity() != 0) {
2639 _this->_impl_.max_capacity_ = from._impl_.max_capacity_;
2642 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2643 if (from._internal_min_capacity() != 0) {
2644 _this->_impl_.min_capacity_ = from._impl_.min_capacity_;
2647 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
2648 if (from._internal_consecutive_slots_count() != 0) {
2649 _this->_impl_.consecutive_slots_count_ = from._impl_.consecutive_slots_count_;
2653 _this->_impl_._has_bits_[0] |= cached_has_bits;
2654 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2655 from._internal_metadata_);
2660 if (&from ==
this)
return;
2666void Course::InternalSwap(
Course* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2668 auto* arena = GetArena();
2669 ABSL_DCHECK_EQ(arena, other->GetArena());
2670 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2671 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2672 _impl_.teacher_indices_.InternalSwap(&other->_impl_.teacher_indices_);
2673 _impl_.teacher_section_counts_.InternalSwap(&other->_impl_.teacher_section_counts_);
2674 _impl_.room_indices_.InternalSwap(&other->_impl_.room_indices_);
2675 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.display_name_, &other->_impl_.display_name_, arena);
2676 ::google::protobuf::internal::memswap<
2677 PROTOBUF_FIELD_OFFSET(
Course,
_impl_.consecutive_slots_count_)
2679 - PROTOBUF_FIELD_OFFSET(
Course,
_impl_.meetings_count_)>(
2680 reinterpret_cast<char*
>(&
_impl_.meetings_count_),
2681 reinterpret_cast<char*
>(&other->_impl_.meetings_count_));
2685 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2692 decltype(::std::declval<Teacher>()._impl_._has_bits_);
2693 static constexpr ::int32_t kHasBitsOffset =
2698#if defined(PROTOBUF_CUSTOM_VTABLE)
2701 : ::google::protobuf::Message(arena) {
2706PROTOBUF_NDEBUG_INLINE Teacher::Impl_::Impl_(
2707 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2708 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2709 [[maybe_unused]] const ::operations_research::Teacher& from_msg)
2710 : _has_bits_{from._has_bits_},
2712 restricted_time_slots_{visibility, arena, from.restricted_time_slots_},
2713 _restricted_time_slots_cached_byte_size_{0},
2714 display_name_(arena, from.display_name_) {}
2717 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2719#if defined(PROTOBUF_CUSTOM_VTABLE)
2722 : ::google::protobuf::Message(arena) {
2726 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2727 from._internal_metadata_);
2728 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2732PROTOBUF_NDEBUG_INLINE Teacher::Impl_::Impl_(
2733 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2734 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2736 restricted_time_slots_{visibility, arena},
2737 _restricted_time_slots_cached_byte_size_{0},
2738 display_name_(arena) {}
2740inline void Teacher::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2741 new (&
_impl_) Impl_(internal_visibility(), arena);
2747inline void Teacher::SharedDtor(
MessageLite& self) {
2749 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2750 this_.CheckHasBitConsistency();
2752 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2753 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2754 this_.
_impl_.display_name_.Destroy();
2758inline void* PROTOBUF_NONNULL Teacher::PlacementNew_(
2759 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2760 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2761 return ::new (mem) Teacher(arena);
2763constexpr auto Teacher::InternalNewImpl_() {
2764 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2765 PROTOBUF_FIELD_OFFSET(Teacher,
_impl_.restricted_time_slots_) +
2767 InternalGetArenaOffset(
2768 ::google::protobuf::Message::internal_visibility()),
2770 if (arena_bits.has_value()) {
2771 return ::google::protobuf::internal::MessageCreator::CopyInit(
2772 sizeof(Teacher), alignof(Teacher), *arena_bits);
2774 return ::google::protobuf::internal::MessageCreator(&Teacher::PlacementNew_,
2780 return ::google::protobuf::internal::ClassDataFull{
2781 ::google::protobuf::internal::ClassData{
2786 &Teacher::MergeImpl,
2787 ::google::protobuf::Message::GetNewImpl<Teacher>(),
2788#if defined(PROTOBUF_CUSTOM_VTABLE)
2789 &Teacher::SharedDtor,
2796 &Teacher::kDescriptorMethods,
2802PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2806PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2807Teacher::GetClassData()
const {
2812PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2813const ::_pbi::TcParseTable<1, 2, 0, 48, 2>
2816 PROTOBUF_FIELD_OFFSET(Teacher,
_impl_._has_bits_),
2819 offsetof(
decltype(_table_), field_lookup_table),
2821 offsetof(
decltype(_table_), field_entries),
2824 offsetof(
decltype(_table_), field_names),
2827 ::_pbi::TcParser::GenericFallback,
2828 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2829 ::_pbi::TcParser::GetTable<::operations_research::Teacher>(),
2833 {::_pbi::TcParser::FastV32P1,
2835 PROTOBUF_FIELD_OFFSET(Teacher,
_impl_.restricted_time_slots_)}},
2837 {::_pbi::TcParser::FastUS1,
2839 PROTOBUF_FIELD_OFFSET(Teacher,
_impl_.display_name_)}},
2844 {PROTOBUF_FIELD_OFFSET(Teacher,
_impl_.display_name_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2850 "\33\14\0\0\0\0\0\0"
2851 "operations_research.Teacher"
2857 ::google::protobuf::internal::TSanWrite(&
_impl_);
2858 ::uint32_t cached_has_bits = 0;
2860 (void) cached_has_bits;
2862 cached_has_bits =
_impl_._has_bits_[0];
2863 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2864 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2865 _impl_.restricted_time_slots_.Clear();
2867 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2868 _impl_.display_name_.ClearNonDefaultToEmpty();
2871 _impl_._has_bits_.Clear();
2872 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2875#if defined(PROTOBUF_CUSTOM_VTABLE)
2877 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2878 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2879 const Teacher& this_ =
static_cast<const Teacher&
>(base);
2882 ::uint8_t* PROTOBUF_NONNULL target,
2883 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2884 const Teacher& this_ = *
this;
2886 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2887 this_.CheckHasBitConsistency();
2890 ::uint32_t cached_has_bits = 0;
2891 (void)cached_has_bits;
2893 cached_has_bits = this_.
_impl_._has_bits_[0];
2895 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2896 if (!this_._internal_display_name().empty()) {
2897 const ::std::string& _s = this_._internal_display_name();
2898 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2899 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.Teacher.display_name");
2900 target = stream->WriteStringMaybeAliased(1, _s, target);
2905 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2907 int byte_size = this_._impl_._restricted_time_slots_cached_byte_size_.Get();
2908 if (byte_size > 0) {
2909 target = stream->WriteInt32Packed(
2910 2, this_._internal_restricted_time_slots(), byte_size, target);
2915 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2917 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2918 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2924#if defined(PROTOBUF_CUSTOM_VTABLE)
2926 const Teacher& this_ =
static_cast<const Teacher&
>(base);
2929 const Teacher& this_ = *
this;
2932 ::size_t total_size = 0;
2934 ::uint32_t cached_has_bits = 0;
2936 (void)cached_has_bits;
2938 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2939 cached_has_bits = this_._impl_._has_bits_[0];
2940 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2942 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2944 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
2945 this_._internal_restricted_time_slots(), 1,
2946 this_._impl_._restricted_time_slots_cached_byte_size_);
2949 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2950 if (!this_._internal_display_name().empty()) {
2951 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2952 this_._internal_display_name());
2956 return this_.MaybeComputeUnknownFieldsSize(total_size,
2957 &this_._impl_._cached_size_);
2960void Teacher::MergeImpl(::google::protobuf::MessageLite& to_msg,
2961 const ::google::protobuf::MessageLite& from_msg) {
2963 static_cast<Teacher*
>(&to_msg);
2964 auto& from =
static_cast<const Teacher&
>(from_msg);
2965 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2966 from.CheckHasBitConsistency();
2969 ABSL_DCHECK_NE(&from, _this);
2970 ::uint32_t cached_has_bits = 0;
2971 (void)cached_has_bits;
2973 cached_has_bits = from._impl_._has_bits_[0];
2974 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2975 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2976 _this->_internal_mutable_restricted_time_slots()->MergeFrom(from._internal_restricted_time_slots());
2978 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2979 if (!from._internal_display_name().empty()) {
2980 _this->_internal_set_display_name(from._internal_display_name());
2982 if (_this->_impl_.display_name_.IsDefault()) {
2983 _this->_internal_set_display_name(
"");
2988 _this->_impl_._has_bits_[0] |= cached_has_bits;
2989 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2990 from._internal_metadata_);
2995 if (&from ==
this)
return;
3001void Teacher::InternalSwap(
Teacher* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3003 auto* arena = GetArena();
3004 ABSL_DCHECK_EQ(arena, other->GetArena());
3005 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3006 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3007 _impl_.restricted_time_slots_.InternalSwap(&other->_impl_.restricted_time_slots_);
3008 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.display_name_, &other->_impl_.display_name_, arena);
3012 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3016class Student::_Internal {
3019 decltype(::std::declval<Student>()._impl_._has_bits_);
3020 static constexpr ::int32_t kHasBitsOffset =
3025#if defined(PROTOBUF_CUSTOM_VTABLE)
3028 : ::google::protobuf::Message(arena) {
3033PROTOBUF_NDEBUG_INLINE Student::Impl_::Impl_(
3034 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3035 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3036 [[maybe_unused]] const ::operations_research::Student& from_msg)
3037 : _has_bits_{from._has_bits_},
3039 course_indices_{visibility, arena, from.course_indices_},
3040 _course_indices_cached_byte_size_{0},
3041 display_name_(arena, from.display_name_) {}
3044 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3046#if defined(PROTOBUF_CUSTOM_VTABLE)
3049 : ::google::protobuf::Message(arena) {
3053 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3054 from._internal_metadata_);
3055 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
3059PROTOBUF_NDEBUG_INLINE Student::Impl_::Impl_(
3060 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3061 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3063 course_indices_{visibility, arena},
3064 _course_indices_cached_byte_size_{0},
3065 display_name_(arena) {}
3067inline void Student::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3068 new (&
_impl_) Impl_(internal_visibility(), arena);
3074inline void Student::SharedDtor(
MessageLite& self) {
3076 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3077 this_.CheckHasBitConsistency();
3079 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3080 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3081 this_._impl_.display_name_.Destroy();
3082 this_._impl_.~Impl_();
3085inline void* PROTOBUF_NONNULL Student::PlacementNew_(
3086 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3087 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3088 return ::new (mem)
Student(arena);
3090constexpr auto Student::InternalNewImpl_() {
3091 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3094 InternalGetArenaOffset(
3095 ::google::protobuf::Message::internal_visibility()),
3097 if (arena_bits.has_value()) {
3098 return ::google::protobuf::internal::MessageCreator::CopyInit(
3099 sizeof(Student), alignof(Student), *arena_bits);
3101 return ::google::protobuf::internal::MessageCreator(&Student::PlacementNew_,
3107 return ::google::protobuf::internal::ClassDataFull{
3108 ::google::protobuf::internal::ClassData{
3113 &Student::MergeImpl,
3114 ::google::protobuf::Message::GetNewImpl<Student>(),
3115#if defined(PROTOBUF_CUSTOM_VTABLE)
3116 &Student::SharedDtor,
3123 &Student::kDescriptorMethods,
3129PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3133PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3134Student::GetClassData()
const {
3139PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3140const ::_pbi::TcParseTable<1, 2, 0, 48, 2>
3146 offsetof(
decltype(_table_), field_lookup_table),
3148 offsetof(
decltype(_table_), field_entries),
3151 offsetof(
decltype(_table_), field_names),
3154 ::_pbi::TcParser::GenericFallback,
3155 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3156 ::_pbi::TcParser::GetTable<::operations_research::Student>(),
3160 {::_pbi::TcParser::FastV32P1,
3164 {::_pbi::TcParser::FastUS1,
3177 "\33\14\0\0\0\0\0\0"
3178 "operations_research.Student"
3184 ::google::protobuf::internal::TSanWrite(&
_impl_);
3185 ::uint32_t cached_has_bits = 0;
3187 (void) cached_has_bits;
3190 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3191 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3192 _impl_.course_indices_.Clear();
3194 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3195 _impl_.display_name_.ClearNonDefaultToEmpty();
3198 _impl_._has_bits_.Clear();
3199 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3202#if defined(PROTOBUF_CUSTOM_VTABLE)
3204 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
3205 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3209 ::uint8_t* PROTOBUF_NONNULL target,
3210 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3213 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3214 this_.CheckHasBitConsistency();
3217 ::uint32_t cached_has_bits = 0;
3218 (void)cached_has_bits;
3220 cached_has_bits = this_._impl_._has_bits_[0];
3222 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3223 if (!this_._internal_display_name().empty()) {
3224 const ::std::string& _s = this_._internal_display_name();
3225 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3226 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.Student.display_name");
3227 target = stream->WriteStringMaybeAliased(1, _s, target);
3232 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3234 int byte_size = this_._impl_._course_indices_cached_byte_size_.Get();
3235 if (byte_size > 0) {
3236 target = stream->WriteInt32Packed(
3237 2, this_._internal_course_indices(), byte_size, target);
3242 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3244 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3245 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3251#if defined(PROTOBUF_CUSTOM_VTABLE)
3259 ::size_t total_size = 0;
3261 ::uint32_t cached_has_bits = 0;
3263 (void)cached_has_bits;
3265 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3266 cached_has_bits = this_._impl_._has_bits_[0];
3267 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3269 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3271 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
3272 this_._internal_course_indices(), 1,
3273 this_._impl_._course_indices_cached_byte_size_);
3276 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3277 if (!this_._internal_display_name().empty()) {
3278 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3279 this_._internal_display_name());
3283 return this_.MaybeComputeUnknownFieldsSize(total_size,
3284 &this_._impl_._cached_size_);
3287void Student::MergeImpl(::google::protobuf::MessageLite& to_msg,
3288 const ::google::protobuf::MessageLite& from_msg) {
3290 static_cast<Student*
>(&to_msg);
3291 auto& from =
static_cast<const Student&
>(from_msg);
3292 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3293 from.CheckHasBitConsistency();
3296 ABSL_DCHECK_NE(&from, _this);
3297 ::uint32_t cached_has_bits = 0;
3298 (void)cached_has_bits;
3300 cached_has_bits = from.
_impl_._has_bits_[0];
3301 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3302 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3303 _this->_internal_mutable_course_indices()->MergeFrom(from._internal_course_indices());
3305 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3306 if (!from._internal_display_name().empty()) {
3307 _this->_internal_set_display_name(from._internal_display_name());
3309 if (_this->
_impl_.display_name_.IsDefault()) {
3310 _this->_internal_set_display_name(
"");
3315 _this->
_impl_._has_bits_[0] |= cached_has_bits;
3316 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3317 from._internal_metadata_);
3322 if (&from ==
this)
return;
3328void Student::InternalSwap(
Student* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3330 auto* arena = GetArena();
3331 ABSL_DCHECK_EQ(arena, other->GetArena());
3332 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3333 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3334 _impl_.course_indices_.InternalSwap(&other->_impl_.course_indices_);
3335 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.display_name_, &other->_impl_.display_name_, arena);
3339 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3343class Room::_Internal {
3346 decltype(::std::declval<Room>()._impl_._has_bits_);
3347 static constexpr ::int32_t kHasBitsOffset =
3348 8 * PROTOBUF_FIELD_OFFSET(
Room,
_impl_._has_bits_);
3352#if defined(PROTOBUF_CUSTOM_VTABLE)
3355 : ::google::protobuf::Message(arena) {
3360PROTOBUF_NDEBUG_INLINE Room::Impl_::Impl_(
3361 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3362 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3363 [[maybe_unused]] const ::operations_research::Room& from_msg)
3364 : _has_bits_{from._has_bits_},
3366 display_name_(arena, from.display_name_) {}
3369 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3371#if defined(PROTOBUF_CUSTOM_VTABLE)
3374 : ::google::protobuf::Message(arena) {
3376 Room*
const _this =
this;
3378 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3379 from._internal_metadata_);
3380 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
3385PROTOBUF_NDEBUG_INLINE Room::Impl_::Impl_(
3386 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3387 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3389 display_name_(arena) {}
3391inline void Room::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3392 new (&
_impl_) Impl_(internal_visibility(), arena);
3400 Room& this_ =
static_cast<Room&
>(self);
3401 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3402 this_.CheckHasBitConsistency();
3404 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3405 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3406 this_._impl_.display_name_.Destroy();
3407 this_._impl_.~Impl_();
3410inline void* PROTOBUF_NONNULL Room::PlacementNew_(
3411 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3412 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3413 return ::new (mem)
Room(arena);
3415constexpr auto Room::InternalNewImpl_() {
3416 return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(
Room),
3420 return ::google::protobuf::internal::ClassDataFull{
3421 ::google::protobuf::internal::ClassData{
3427 ::google::protobuf::Message::GetNewImpl<Room>(),
3428#if defined(PROTOBUF_CUSTOM_VTABLE)
3433 PROTOBUF_FIELD_OFFSET(
Room,
_impl_._cached_size_),
3436 &Room::kDescriptorMethods,
3442PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3446PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3447Room::GetClassData()
const {
3449 ::google::protobuf::internal::PrefetchToLocalCache(
Room_class_data_.tc_table);
3452PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3453const ::_pbi::TcParseTable<1, 2, 0, 45, 2>
3456 PROTOBUF_FIELD_OFFSET(
Room,
_impl_._has_bits_),
3459 offsetof(
decltype(_table_), field_lookup_table),
3461 offsetof(
decltype(_table_), field_entries),
3464 offsetof(
decltype(_table_), field_names),
3467 ::_pbi::TcParser::GenericFallback,
3468 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3469 ::_pbi::TcParser::GetTable<::operations_research::Room>(),
3473 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
Room,
_impl_.capacity_), 1>(),
3475 PROTOBUF_FIELD_OFFSET(
Room,
_impl_.capacity_)}},
3477 {::_pbi::TcParser::FastUS1,
3479 PROTOBUF_FIELD_OFFSET(
Room,
_impl_.display_name_)}},
3490 "\30\14\0\0\0\0\0\0"
3491 "operations_research.Room"
3497 ::google::protobuf::internal::TSanWrite(&
_impl_);
3498 ::uint32_t cached_has_bits = 0;
3500 (void) cached_has_bits;
3502 cached_has_bits =
_impl_._has_bits_[0];
3503 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3504 _impl_.display_name_.ClearNonDefaultToEmpty();
3507 _impl_._has_bits_.Clear();
3508 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3511#if defined(PROTOBUF_CUSTOM_VTABLE)
3513 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
3514 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3515 const Room& this_ =
static_cast<const Room&
>(base);
3518 ::uint8_t* PROTOBUF_NONNULL target,
3519 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3520 const Room& this_ = *
this;
3522 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3523 this_.CheckHasBitConsistency();
3526 ::uint32_t cached_has_bits = 0;
3527 (void)cached_has_bits;
3529 cached_has_bits = this_._impl_._has_bits_[0];
3531 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3532 if (!this_._internal_display_name().empty()) {
3533 const ::std::string& _s = this_._internal_display_name();
3534 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3535 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.Room.display_name");
3536 target = stream->WriteStringMaybeAliased(1, _s, target);
3541 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3542 if (this_._internal_capacity() != 0) {
3544 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
3545 stream, this_._internal_capacity(), target);
3549 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3551 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3552 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3558#if defined(PROTOBUF_CUSTOM_VTABLE)
3560 const Room& this_ =
static_cast<const Room&
>(base);
3563 const Room& this_ = *
this;
3566 ::size_t total_size = 0;
3568 ::uint32_t cached_has_bits = 0;
3570 (void)cached_has_bits;
3572 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3573 cached_has_bits = this_._impl_._has_bits_[0];
3574 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3576 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3577 if (!this_._internal_display_name().empty()) {
3578 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3579 this_._internal_display_name());
3583 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3584 if (this_._internal_capacity() != 0) {
3585 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3586 this_._internal_capacity());
3590 return this_.MaybeComputeUnknownFieldsSize(total_size,
3591 &this_._impl_._cached_size_);
3594void Room::MergeImpl(::google::protobuf::MessageLite& to_msg,
3595 const ::google::protobuf::MessageLite& from_msg) {
3597 static_cast<Room*
>(&to_msg);
3598 auto& from =
static_cast<const Room&
>(from_msg);
3599 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3600 from.CheckHasBitConsistency();
3603 ABSL_DCHECK_NE(&from, _this);
3604 ::uint32_t cached_has_bits = 0;
3605 (void)cached_has_bits;
3607 cached_has_bits = from.
_impl_._has_bits_[0];
3608 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3609 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3610 if (!from._internal_display_name().empty()) {
3611 _this->_internal_set_display_name(from._internal_display_name());
3613 if (_this->
_impl_.display_name_.IsDefault()) {
3614 _this->_internal_set_display_name(
"");
3618 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3619 if (from._internal_capacity() != 0) {
3624 _this->
_impl_._has_bits_[0] |= cached_has_bits;
3625 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3626 from._internal_metadata_);
3631 if (&from ==
this)
return;
3637void Room::InternalSwap(
Room* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3639 auto* arena = GetArena();
3640 ABSL_DCHECK_EQ(arena, other->GetArena());
3641 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3642 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3643 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.display_name_, &other->_impl_.display_name_, arena);
3644 swap(
_impl_.capacity_, other->_impl_.capacity_);
3648 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3657PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
3660 ::std::false_type{});
3661#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
static constexpr ::int32_t kHasBitsOffset
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const ClassAssignment &from)
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
~ClassAssignment() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const ClassAssignment &from)
static constexpr auto InternalGenerateClassData_()
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< CourseSchedulingModel >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const CourseSchedulingModel &from)
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
friend void swap(CourseSchedulingModel &a, CourseSchedulingModel &b)
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const CourseSchedulingModel &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
~CourseSchedulingModel() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
decltype(::std::declval< CourseSchedulingResult >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
~CourseSchedulingResult() PROTOBUF_FINAL
void MergeFrom(const CourseSchedulingResult &from)
void CopyFrom(const CourseSchedulingResult &from)
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(CourseSchedulingResult &a, CourseSchedulingResult &b)
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::Arena
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const Course &from)
void MergeFrom(const Course &from)
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
friend void swap(Room &a, Room &b)
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const Room &from)
void MergeFrom(const Room &from)
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
~StudentAssignment() PROTOBUF_FINAL
void MergeFrom(const StudentAssignment &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const StudentAssignment &from)
static constexpr auto InternalGenerateClassData_()
static constexpr ::int32_t kHasBitsOffset
void CopyFrom(const Student &from)
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const Student &from)
friend void swap(Student &a, Student &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~Student() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const Teacher &from)
void CopyFrom(const Teacher &from)
~Teacher() PROTOBUF_FINAL
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fscheduling_2fcourse_5fscheduling_2eproto[1]
::absl::once_flag descriptor_table_ortools_2fscheduling_2fcourse_5fscheduling_2eproto_once
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2fcourse_5fscheduling_2eproto
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fscheduling_2fcourse_5fscheduling_2eproto
const ::uint32_t TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
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_
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_
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_
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_
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_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull StudentAssignment_class_data_
CourseSchedulingResultStatus
PROTOBUF_CONSTEXPR ClassAssignmentDefaultTypeInternal()
~ClassAssignmentDefaultTypeInternal()
ClassAssignment _instance
~CourseDefaultTypeInternal()
PROTOBUF_CONSTEXPR CourseDefaultTypeInternal()
~CourseSchedulingModelDefaultTypeInternal()
CourseSchedulingModel _instance
PROTOBUF_CONSTEXPR CourseSchedulingModelDefaultTypeInternal()
CourseSchedulingResult _instance
PROTOBUF_CONSTEXPR CourseSchedulingResultDefaultTypeInternal()
~CourseSchedulingResultDefaultTypeInternal()
PROTOBUF_CONSTEXPR RoomDefaultTypeInternal()
~RoomDefaultTypeInternal()
PROTOBUF_CONSTEXPR StudentAssignmentDefaultTypeInternal()
StudentAssignment _instance
~StudentAssignmentDefaultTypeInternal()
PROTOBUF_CONSTEXPR StudentDefaultTypeInternal()
~StudentDefaultTypeInternal()
~TeacherDefaultTypeInternal()
PROTOBUF_CONSTEXPR TeacherDefaultTypeInternal()