6#ifndef ortools_2fscheduling_2fjobshop_5fscheduling_2eproto_2epb_2eh
7#define ortools_2fscheduling_2fjobshop_5fscheduling_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/unknown_field_set.h"
32#include "google/protobuf/wrappers.pb.h"
36#include "google/protobuf/port_def.inc"
38#define PROTOBUF_INTERNAL_EXPORT_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto OR_PROTO_DLL
70OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Job_class_data_;
90OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Task_class_data_;
118#if defined(PROTOBUF_CUSTOM_VTABLE)
125 template <
typename =
void>
126 explicit PROTOBUF_CONSTEXPR
TransitionTimeMatrix(::google::protobuf::internal::ConstantInitialized);
136 if (
this == &from)
return *
this;
137 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
145 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
146 ABSL_ATTRIBUTE_LIFETIME_BOUND {
147 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
149 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
150 ABSL_ATTRIBUTE_LIFETIME_BOUND {
151 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
154 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
155 return GetDescriptor();
157 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
158 return default_instance().GetMetadata().descriptor;
160 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
161 return default_instance().GetMetadata().reflection;
167 static constexpr int kIndexInFileMessages = 2;
170 if (other ==
this)
return;
171 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
174 ::google::protobuf::internal::GenericSwap(
this, other);
177 void UnsafeArenaSwap(TransitionTimeMatrix* PROTOBUF_NONNULL other) {
178 if (other ==
this)
return;
179 ABSL_DCHECK(GetArena() == other->GetArena());
185 TransitionTimeMatrix* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
186 return ::google::protobuf::Message::DefaultConstruct<TransitionTimeMatrix>(arena);
188 using ::google::protobuf::Message::CopyFrom;
190 using ::google::protobuf::Message::MergeFrom;
191 void MergeFrom(
const TransitionTimeMatrix& from) { TransitionTimeMatrix::MergeImpl(*
this, from); }
194 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
195 const ::google::protobuf::MessageLite& from_msg);
201 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
202 #if defined(PROTOBUF_CUSTOM_VTABLE)
204 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
205 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
206 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
207 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
210 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
211 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
212 ::uint8_t* PROTOBUF_NONNULL target,
213 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
214 return _InternalSerialize(*
this, target, stream);
217 ::size_t ByteSizeLong() const final;
218 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
219 ::uint8_t* PROTOBUF_NONNULL target,
220 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
222 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
225 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
229 template <
typename T>
231 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.TransitionTimeMatrix"; }
239 *
this = ::std::move(from);
241 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
242 static
void* PROTOBUF_NONNULL PlacementNew_(
243 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
244 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
245 static constexpr auto InternalNewImpl_();
248 static constexpr auto InternalGenerateClassData_();
250 ::
google::protobuf::Metadata GetMetadata() const;
255 kTransitionTimeFieldNumber = 1,
260 int _internal_transition_time_size()
const;
267 const ::google::protobuf::RepeatedField<::int64_t>&
transition_time()
const;
271 const ::google::protobuf::RepeatedField<::int64_t>& _internal_transition_time()
const;
272 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_transition_time();
278 friend class ::google::protobuf::internal::TcParser;
279 static const ::google::protobuf::internal::TcParseTable<0, 1,
284 friend class ::google::protobuf::MessageLite;
285 friend class ::google::protobuf::Arena;
286 template <
typename T>
287 friend class ::google::protobuf::Arena::InternalHelper;
288 using InternalArenaConstructable_ = void;
289 using DestructorSkippable_ = void;
291 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
292 inline explicit Impl_(
293 ::google::protobuf::internal::InternalVisibility visibility,
294 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
295 inline explicit Impl_(
296 ::google::protobuf::internal::InternalVisibility visibility,
297 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
299 ::google::protobuf::RepeatedField<::int64_t> transition_time_;
300 ::google::protobuf::internal::CachedSize _transition_time_cached_byte_size_;
301 ::google::protobuf::internal::CachedSize _cached_size_;
302 PROTOBUF_TSAN_DECLARE_MEMBER
304 union { Impl_ _impl_; };
305 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
311class OR_PROTO_DLL
Task final :
public ::google::protobuf::Message
315 ~Task() PROTOBUF_FINAL;
317#if defined(PROTOBUF_CUSTOM_VTABLE)
318 void operator delete(
Task* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
320 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Task));
324 template <
typename =
void>
325 explicit PROTOBUF_CONSTEXPR
Task(::google::protobuf::internal::ConstantInitialized);
329 :
Task(
nullptr, ::std::move(from)) {}
334 inline Task& operator=(
Task&& from)
noexcept {
335 if (
this == &from)
return *
this;
336 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
344 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
345 ABSL_ATTRIBUTE_LIFETIME_BOUND {
346 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
348 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
349 ABSL_ATTRIBUTE_LIFETIME_BOUND {
350 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
353 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
354 return GetDescriptor();
356 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
359 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
363 return *
reinterpret_cast<const Task*
>(
366 static constexpr int kIndexInFileMessages = 0;
368 inline void Swap(Task* PROTOBUF_NONNULL other) {
369 if (other ==
this)
return;
370 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
373 ::google::protobuf::internal::GenericSwap(
this, other);
376 void UnsafeArenaSwap(Task* PROTOBUF_NONNULL other) {
377 if (other ==
this)
return;
378 ABSL_DCHECK(GetArena() == other->GetArena());
384 Task* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
385 return ::google::protobuf::Message::DefaultConstruct<Task>(arena);
387 using ::google::protobuf::Message::CopyFrom;
389 using ::google::protobuf::Message::MergeFrom;
390 void MergeFrom(
const Task& from) { Task::MergeImpl(*
this, from); }
393 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
394 const ::google::protobuf::MessageLite& from_msg);
400 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
401 #if defined(PROTOBUF_CUSTOM_VTABLE)
403 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
405 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
406 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
410 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
411 ::uint8_t* PROTOBUF_NONNULL target,
412 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
413 return _InternalSerialize(*
this, target, stream);
416 ::size_t ByteSizeLong() const final;
417 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
418 ::uint8_t* PROTOBUF_NONNULL target,
419 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
421 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
424 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
426 void InternalSwap(
Task* PROTOBUF_NONNULL other);
428 template <
typename T>
430 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.Task"; }
433 explicit Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
434 Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Task& from);
436 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Task&& from) noexcept
438 *
this = ::std::move(from);
440 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
441 static
void* PROTOBUF_NONNULL PlacementNew_(
442 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
443 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
444 static constexpr auto InternalNewImpl_();
447 static constexpr auto InternalGenerateClassData_();
449 ::
google::protobuf::Metadata GetMetadata() const;
454 kMachineFieldNumber = 1,
455 kDurationFieldNumber = 2,
456 kCostFieldNumber = 3,
461 int _internal_machine_size()
const;
465 ::int32_t
machine(
int index)
const;
468 const ::google::protobuf::RepeatedField<::int32_t>&
machine()
const;
469 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_machine();
472 const ::google::protobuf::RepeatedField<::int32_t>& _internal_machine()
const;
473 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_machine();
479 int _internal_duration_size()
const;
483 ::int64_t
duration(
int index)
const;
486 const ::google::protobuf::RepeatedField<::int64_t>&
duration()
const;
487 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_duration();
490 const ::google::protobuf::RepeatedField<::int64_t>& _internal_duration()
const;
491 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_duration();
497 int _internal_cost_size()
const;
501 ::int64_t
cost(
int index)
const;
502 void set_cost(
int index, ::int64_t value);
504 const ::google::protobuf::RepeatedField<::int64_t>&
cost()
const;
505 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_cost();
508 const ::google::protobuf::RepeatedField<::int64_t>& _internal_cost()
const;
509 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_cost();
515 friend class ::google::protobuf::internal::TcParser;
516 static const ::google::protobuf::internal::TcParseTable<2, 3,
521 friend class ::google::protobuf::MessageLite;
522 friend class ::google::protobuf::Arena;
523 template <
typename T>
524 friend class ::google::protobuf::Arena::InternalHelper;
525 using InternalArenaConstructable_ = void;
526 using DestructorSkippable_ = void;
528 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
529 inline explicit Impl_(
530 ::google::protobuf::internal::InternalVisibility visibility,
531 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
532 inline explicit Impl_(
533 ::google::protobuf::internal::InternalVisibility visibility,
534 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
535 const Task& from_msg);
536 ::google::protobuf::RepeatedField<::int32_t> machine_;
537 ::google::protobuf::internal::CachedSize _machine_cached_byte_size_;
538 ::google::protobuf::RepeatedField<::int64_t> duration_;
539 ::google::protobuf::internal::CachedSize _duration_cached_byte_size_;
540 ::google::protobuf::RepeatedField<::int64_t> cost_;
541 ::google::protobuf::internal::CachedSize _cost_cached_byte_size_;
542 ::google::protobuf::internal::CachedSize _cached_size_;
543 PROTOBUF_TSAN_DECLARE_MEMBER
545 union { Impl_ _impl_; };
546 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
552class OR_PROTO_DLL
JobPrecedence final :
public ::google::protobuf::Message
558#if defined(PROTOBUF_CUSTOM_VTABLE)
559 void operator delete(
JobPrecedence* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
561 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
JobPrecedence));
565 template <
typename =
void>
566 explicit PROTOBUF_CONSTEXPR
JobPrecedence(::google::protobuf::internal::ConstantInitialized);
569 inline JobPrecedence(JobPrecedence&& from) noexcept
576 if (
this == &from)
return *
this;
577 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
585 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
586 ABSL_ATTRIBUTE_LIFETIME_BOUND {
587 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
590 ABSL_ATTRIBUTE_LIFETIME_BOUND {
591 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
594 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
597 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
600 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
610 if (other ==
this)
return;
611 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
614 ::google::protobuf::internal::GenericSwap(
this, other);
617 void UnsafeArenaSwap(JobPrecedence* PROTOBUF_NONNULL other) {
618 if (other ==
this)
return;
619 ABSL_DCHECK(GetArena() == other->GetArena());
625 JobPrecedence* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
626 return ::google::protobuf::Message::DefaultConstruct<JobPrecedence>(arena);
628 using ::google::protobuf::Message::CopyFrom;
630 using ::google::protobuf::Message::MergeFrom;
634 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
635 const ::google::protobuf::MessageLite& from_msg);
641 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
642 #if defined(PROTOBUF_CUSTOM_VTABLE)
644 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
646 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
647 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
651 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
652 ::uint8_t* PROTOBUF_NONNULL target,
653 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
654 return _InternalSerialize(*
this, target, stream);
657 ::size_t ByteSizeLong() const final;
658 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
659 ::uint8_t* PROTOBUF_NONNULL target,
660 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
662 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
665 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
669 template <
typename T>
671 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.JobPrecedence"; }
674 explicit JobPrecedence(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
677 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
JobPrecedence&& from) noexcept
679 *
this = ::std::move(from);
681 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
682 static
void* PROTOBUF_NONNULL PlacementNew_(
683 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
684 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
685 static constexpr auto InternalNewImpl_();
688 static constexpr auto InternalGenerateClassData_();
690 ::
google::protobuf::Metadata GetMetadata() const;
695 kFirstJobIndexFieldNumber = 1,
696 kSecondJobIndexFieldNumber = 2,
697 kMinDelayFieldNumber = 3,
705 ::int32_t _internal_first_job_index()
const;
706 void _internal_set_first_job_index(::int32_t value);
715 ::int32_t _internal_second_job_index()
const;
716 void _internal_set_second_job_index(::int32_t value);
725 ::int64_t _internal_min_delay()
const;
726 void _internal_set_min_delay(::int64_t value);
732 friend class ::google::protobuf::internal::TcParser;
733 static const ::google::protobuf::internal::TcParseTable<2, 3,
738 friend class ::google::protobuf::MessageLite;
739 friend class ::google::protobuf::Arena;
740 template <
typename T>
741 friend class ::google::protobuf::Arena::InternalHelper;
742 using InternalArenaConstructable_ = void;
743 using DestructorSkippable_ = void;
745 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
746 inline explicit Impl_(
747 ::google::protobuf::internal::InternalVisibility visibility,
748 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
749 inline explicit Impl_(
750 ::google::protobuf::internal::InternalVisibility visibility,
751 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
753 ::google::protobuf::internal::HasBits<1> _has_bits_;
754 ::google::protobuf::internal::CachedSize _cached_size_;
755 ::int32_t first_job_index_;
756 ::int32_t second_job_index_;
757 ::int64_t min_delay_;
758 PROTOBUF_TSAN_DECLARE_MEMBER
760 union { Impl_ _impl_; };
761 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
767class OR_PROTO_DLL
AssignedTask final :
public ::google::protobuf::Message
773#if defined(PROTOBUF_CUSTOM_VTABLE)
774 void operator delete(
AssignedTask* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
776 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
AssignedTask));
780 template <
typename =
void>
781 explicit PROTOBUF_CONSTEXPR
AssignedTask(::google::protobuf::internal::ConstantInitialized);
784 inline AssignedTask(AssignedTask&& from) noexcept
785 : AssignedTask(
nullptr, ::std::move(from)) {}
791 if (
this == &from)
return *
this;
792 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
800 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
801 ABSL_ATTRIBUTE_LIFETIME_BOUND {
802 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
804 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
805 ABSL_ATTRIBUTE_LIFETIME_BOUND {
806 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
809 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
812 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
813 return default_instance().GetMetadata().descriptor;
815 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
816 return default_instance().GetMetadata().reflection;
822 static constexpr int kIndexInFileMessages = 6;
824 inline void Swap(
AssignedTask* PROTOBUF_NONNULL other) {
825 if (other ==
this)
return;
826 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
829 ::google::protobuf::internal::GenericSwap(
this, other);
832 void UnsafeArenaSwap(AssignedTask* PROTOBUF_NONNULL other) {
833 if (other ==
this)
return;
834 ABSL_DCHECK(GetArena() == other->GetArena());
840 AssignedTask* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
841 return ::google::protobuf::Message::DefaultConstruct<AssignedTask>(arena);
843 using ::google::protobuf::Message::CopyFrom;
845 using ::google::protobuf::Message::MergeFrom;
849 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
850 const ::google::protobuf::MessageLite& from_msg);
856 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
857 #if defined(PROTOBUF_CUSTOM_VTABLE)
859 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
861 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
862 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
866 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
867 ::uint8_t* PROTOBUF_NONNULL target,
868 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
869 return _InternalSerialize(*
this, target, stream);
872 ::size_t ByteSizeLong() const final;
873 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
874 ::uint8_t* PROTOBUF_NONNULL target,
875 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
877 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
880 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
881 static void SharedDtor(MessageLite& self);
884 template <
typename T>
886 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.AssignedTask"; }
889 explicit AssignedTask(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
892 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
AssignedTask&& from) noexcept
894 *
this = ::std::move(from);
896 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
898 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
899 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
914 void clear_start_time() ;
919 ::int64_t _internal_start_time()
const;
920 void _internal_set_start_time(::int64_t value);
929 ::int32_t _internal_alternative_index()
const;
930 void _internal_set_alternative_index(::int32_t value);
936 friend class ::google::protobuf::internal::TcParser;
937 static const ::google::protobuf::internal::TcParseTable<1, 2,
942 friend class ::google::protobuf::MessageLite;
943 friend class ::google::protobuf::Arena;
944 template <
typename T>
945 friend class ::google::protobuf::Arena::InternalHelper;
946 using InternalArenaConstructable_ = void;
947 using DestructorSkippable_ = void;
949 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
950 inline explicit Impl_(
951 ::google::protobuf::internal::InternalVisibility visibility,
952 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
953 inline explicit Impl_(
954 ::google::protobuf::internal::InternalVisibility visibility,
955 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
957 ::google::protobuf::internal::HasBits<1> _has_bits_;
958 ::google::protobuf::internal::CachedSize _cached_size_;
959 ::int64_t start_time_;
960 ::int32_t alternative_index_;
961 PROTOBUF_TSAN_DECLARE_MEMBER
963 union { Impl_ _impl_; };
964 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
970class OR_PROTO_DLL
Machine final :
public ::google::protobuf::Message
976#if defined(PROTOBUF_CUSTOM_VTABLE)
977 void operator delete(
Machine* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
979 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Machine));
983 template <
typename =
void>
984 explicit PROTOBUF_CONSTEXPR
Machine(::google::protobuf::internal::ConstantInitialized);
987 inline Machine(Machine&& from) noexcept
988 : Machine(
nullptr, ::std::move(from)) {}
989 inline Machine& operator=(
const Machine& from) {
994 if (
this == &from)
return *
this;
995 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1003 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1004 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1005 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1007 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1008 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1009 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1012 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1015 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1016 return default_instance().GetMetadata().descriptor;
1022 return *
reinterpret_cast<const Machine*
>(
1025 static constexpr int kIndexInFileMessages = 3;
1028 if (other ==
this)
return;
1029 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1030 InternalSwap(other);
1032 ::google::protobuf::internal::GenericSwap(
this, other);
1035 void UnsafeArenaSwap(Machine* PROTOBUF_NONNULL other) {
1036 if (other ==
this)
return;
1037 ABSL_DCHECK(GetArena() == other->GetArena());
1038 InternalSwap(other);
1043 Machine* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1044 return ::google::protobuf::Message::DefaultConstruct<Machine>(arena);
1046 using ::google::protobuf::Message::CopyFrom;
1047 void CopyFrom(
const Machine& from);
1048 using ::google::protobuf::Message::MergeFrom;
1052 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1053 const ::google::protobuf::MessageLite& from_msg);
1059 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1060 #if defined(PROTOBUF_CUSTOM_VTABLE)
1064 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1065 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1069 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1070 ::uint8_t* PROTOBUF_NONNULL target,
1071 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1072 return _InternalSerialize(*
this, target, stream);
1075 ::size_t ByteSizeLong() const final;
1076 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1077 ::uint8_t* PROTOBUF_NONNULL target,
1078 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1080 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1083 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1084 static void SharedDtor(MessageLite& self);
1085 void InternalSwap(Machine* PROTOBUF_NONNULL other);
1087 template <
typename T>
1089 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.Machine"; }
1092 explicit Machine(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1093 Machine(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Machine& from);
1095 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Machine&& from) noexcept
1097 *
this = ::std::move(from);
1099 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1101 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1102 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1118 const ::std::string& name()
const;
1119 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1122 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1126 const ::std::string& _internal_name()
const;
1127 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1128 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1142 const ::operations_research::scheduling::jssp::TransitionTimeMatrix& _internal_transition_time_matrix()
const;
1149 friend class ::google::protobuf::internal::TcParser;
1150 static const ::google::protobuf::internal::TcParseTable<1, 2,
1155 friend class ::google::protobuf::MessageLite;
1156 friend class ::google::protobuf::Arena;
1157 template <
typename T>
1158 friend class ::google::protobuf::Arena::InternalHelper;
1159 using InternalArenaConstructable_ = void;
1160 using DestructorSkippable_ = void;
1162 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1163 inline explicit Impl_(
1164 ::google::protobuf::internal::InternalVisibility visibility,
1165 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1166 inline explicit Impl_(
1167 ::google::protobuf::internal::InternalVisibility visibility,
1168 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1170 ::google::protobuf::internal::HasBits<1> _has_bits_;
1171 ::google::protobuf::internal::CachedSize _cached_size_;
1172 ::google::protobuf::internal::ArenaStringPtr name_;
1174 PROTOBUF_TSAN_DECLARE_MEMBER
1176 union { Impl_ _impl_; };
1177 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1183class OR_PROTO_DLL
Job final :
public ::google::protobuf::Message
1186 inline Job() :
Job(
nullptr) {}
1187 ~Job() PROTOBUF_FINAL;
1189#if defined(PROTOBUF_CUSTOM_VTABLE)
1190 void operator delete(
Job* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1192 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Job));
1196 template <
typename =
void>
1197 explicit PROTOBUF_CONSTEXPR
Job(::google::protobuf::internal::ConstantInitialized);
1199 inline Job(
const Job& from) :
Job(nullptr, from) {}
1200 inline Job(Job&& from) noexcept
1201 : Job(
nullptr, ::std::move(from)) {}
1202 inline Job& operator=(
const Job& from) {
1207 if (
this == &from)
return *
this;
1208 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1209 InternalSwap(&from);
1216 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1217 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1218 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1220 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1221 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1222 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1225 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1226 return GetDescriptor();
1228 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1229 return default_instance().GetMetadata().descriptor;
1231 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1234 static const Job& default_instance() {
1235 return *
reinterpret_cast<const Job*
>(
1240 inline void Swap(
Job* PROTOBUF_NONNULL other) {
1241 if (other ==
this)
return;
1242 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1243 InternalSwap(other);
1245 ::google::protobuf::internal::GenericSwap(
this, other);
1248 void UnsafeArenaSwap(
Job* PROTOBUF_NONNULL other) {
1249 if (other ==
this)
return;
1250 ABSL_DCHECK(GetArena() == other->GetArena());
1251 InternalSwap(other);
1256 Job* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1257 return ::google::protobuf::Message::DefaultConstruct<Job>(arena);
1259 using ::google::protobuf::Message::CopyFrom;
1260 void CopyFrom(
const Job& from);
1261 using ::google::protobuf::Message::MergeFrom;
1262 void MergeFrom(
const Job& from) { Job::MergeImpl(*
this, from); }
1265 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1266 const ::google::protobuf::MessageLite& from_msg);
1272 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1273 #if defined(PROTOBUF_CUSTOM_VTABLE)
1275 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1277 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1278 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1282 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1283 ::uint8_t* PROTOBUF_NONNULL target,
1284 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1285 return _InternalSerialize(*
this, target, stream);
1288 ::size_t ByteSizeLong() const final;
1289 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1290 ::uint8_t* PROTOBUF_NONNULL target,
1291 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1293 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1296 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1297 static void SharedDtor(MessageLite& self);
1298 void InternalSwap(Job* PROTOBUF_NONNULL other);
1300 template <
typename T>
1302 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.Job"; }
1305 explicit Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1306 Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Job& from);
1308 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Job&& from) noexcept
1310 *
this = ::std::move(from);
1312 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1313 static
void* PROTOBUF_NONNULL PlacementNew_(
1314 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1315 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1338 int _internal_tasks_size()
const;
1343 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL
mutable_tasks();
1346 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>& _internal_tasks()
const;
1347 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL _internal_mutable_tasks();
1349 const ::operations_research::scheduling::jssp::Task&
tasks(
int index)
const;
1351 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>&
tasks()
const;
1354 const ::std::string&
name()
const;
1355 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1356 void set_name(Arg_&& arg, Args_... args);
1358 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1362 const ::std::string& _internal_name()
const;
1363 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1364 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1378 const ::google::protobuf::Int64Value& _internal_earliest_start()
const;
1379 ::google::protobuf::Int64Value* PROTOBUF_NONNULL _internal_mutable_earliest_start();
1385 const ::google::protobuf::Int64Value&
latest_end()
const;
1386 [[nodiscard]] ::google::protobuf::Int64Value* PROTOBUF_NULLABLE
release_latest_end();
1393 const ::google::protobuf::Int64Value& _internal_latest_end()
const;
1394 ::google::protobuf::Int64Value* PROTOBUF_NONNULL _internal_mutable_latest_end();
1403 ::int64_t _internal_early_due_date()
const;
1404 void _internal_set_early_due_date(::int64_t value);
1413 ::int64_t _internal_late_due_date()
const;
1414 void _internal_set_late_due_date(::int64_t value);
1423 ::int64_t _internal_earliness_cost_per_time_unit()
const;
1424 void _internal_set_earliness_cost_per_time_unit(::int64_t value);
1433 ::int64_t _internal_lateness_cost_per_time_unit()
const;
1434 void _internal_set_lateness_cost_per_time_unit(::int64_t value);
1440 friend class ::google::protobuf::internal::TcParser;
1441 static const ::google::protobuf::internal::TcParseTable<3, 8,
1446 friend class ::google::protobuf::MessageLite;
1447 friend class ::google::protobuf::Arena;
1448 template <
typename T>
1449 friend class ::google::protobuf::Arena::InternalHelper;
1450 using InternalArenaConstructable_ = void;
1451 using DestructorSkippable_ = void;
1453 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1454 inline explicit Impl_(
1455 ::google::protobuf::internal::InternalVisibility visibility,
1456 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1457 inline explicit Impl_(
1458 ::google::protobuf::internal::InternalVisibility visibility,
1459 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1460 const Job& from_msg);
1461 ::google::protobuf::internal::HasBits<1> _has_bits_;
1462 ::google::protobuf::internal::CachedSize _cached_size_;
1463 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::Task > tasks_;
1464 ::google::protobuf::internal::ArenaStringPtr name_;
1465 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE earliest_start_;
1466 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE latest_end_;
1467 ::int64_t early_due_date_;
1468 ::int64_t late_due_date_;
1469 ::int64_t earliness_cost_per_time_unit_;
1470 ::int64_t lateness_cost_per_time_unit_;
1471 PROTOBUF_TSAN_DECLARE_MEMBER
1473 union { Impl_ _impl_; };
1474 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1477OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Job_class_data_;
1480class OR_PROTO_DLL
AssignedJob final :
public ::google::protobuf::Message
1486#if defined(PROTOBUF_CUSTOM_VTABLE)
1487 void operator delete(
AssignedJob* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1489 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
AssignedJob));
1493 template <
typename =
void>
1494 explicit PROTOBUF_CONSTEXPR
AssignedJob(::google::protobuf::internal::ConstantInitialized);
1499 inline AssignedJob& operator=(
const AssignedJob& from) {
1504 if (
this == &from)
return *
this;
1505 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1506 InternalSwap(&from);
1513 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1514 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1515 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1517 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1518 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1519 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1522 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1528 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1529 return default_instance().GetMetadata().reflection;
1535 static constexpr int kIndexInFileMessages = 7;
1537 inline void Swap(
AssignedJob* PROTOBUF_NONNULL other) {
1538 if (other ==
this)
return;
1539 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1540 InternalSwap(other);
1542 ::google::protobuf::internal::GenericSwap(
this, other);
1546 if (other ==
this)
return;
1547 ABSL_DCHECK(GetArena() == other->GetArena());
1548 InternalSwap(other);
1553 AssignedJob* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1554 return ::google::protobuf::Message::DefaultConstruct<AssignedJob>(arena);
1556 using ::google::protobuf::Message::CopyFrom;
1558 using ::google::protobuf::Message::MergeFrom;
1559 void MergeFrom(
const AssignedJob& from) { AssignedJob::MergeImpl(*
this, from); }
1562 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1563 const ::google::protobuf::MessageLite& from_msg);
1569 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1570 #if defined(PROTOBUF_CUSTOM_VTABLE)
1572 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1573 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1574 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1575 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1579 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1580 ::uint8_t* PROTOBUF_NONNULL target,
1581 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1582 return _InternalSerialize(*
this, target, stream);
1585 ::size_t ByteSizeLong() const final;
1586 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1587 ::uint8_t* PROTOBUF_NONNULL target,
1588 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1590 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1593 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1594 static void SharedDtor(MessageLite& self);
1595 void InternalSwap(AssignedJob* PROTOBUF_NONNULL other);
1597 template <
typename T>
1599 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.AssignedJob"; }
1602 explicit AssignedJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1605 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
AssignedJob&& from) noexcept
1607 *
this = ::std::move(from);
1609 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1610 static
void* PROTOBUF_NONNULL PlacementNew_(
1611 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1628 int tasks_size()
const;
1630 int _internal_tasks_size()
const;
1635 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL
mutable_tasks();
1638 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>& _internal_tasks()
const;
1639 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL _internal_mutable_tasks();
1641 const ::operations_research::scheduling::jssp::AssignedTask&
tasks(
int index)
const;
1643 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>&
tasks()
const;
1650 ::int64_t _internal_due_date_cost()
const;
1651 void _internal_set_due_date_cost(::int64_t value);
1660 ::int64_t _internal_sum_of_task_costs()
const;
1661 void _internal_set_sum_of_task_costs(::int64_t value);
1667 friend class ::google::protobuf::internal::TcParser;
1668 static const ::google::protobuf::internal::TcParseTable<2, 3,
1673 friend class ::google::protobuf::MessageLite;
1674 friend class ::google::protobuf::Arena;
1675 template <
typename T>
1676 friend class ::google::protobuf::Arena::InternalHelper;
1677 using InternalArenaConstructable_ = void;
1678 using DestructorSkippable_ = void;
1680 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1681 inline explicit Impl_(
1682 ::google::protobuf::internal::InternalVisibility visibility,
1683 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1684 inline explicit Impl_(
1685 ::google::protobuf::internal::InternalVisibility visibility,
1686 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1688 ::google::protobuf::internal::HasBits<1> _has_bits_;
1689 ::google::protobuf::internal::CachedSize _cached_size_;
1690 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::AssignedTask > tasks_;
1691 ::int64_t due_date_cost_;
1692 ::int64_t sum_of_task_costs_;
1693 PROTOBUF_TSAN_DECLARE_MEMBER
1695 union { Impl_ _impl_; };
1696 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1702class OR_PROTO_DLL JsspOutputSolution final :
public ::google::protobuf::Message
1708#if defined(PROTOBUF_CUSTOM_VTABLE)
1709 void operator delete(
JsspOutputSolution* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1715 template <
typename =
void>
1716 explicit PROTOBUF_CONSTEXPR
JsspOutputSolution(::google::protobuf::internal::ConstantInitialized);
1721 inline JsspOutputSolution& operator=(
const JsspOutputSolution& from) {
1726 if (
this == &from)
return *
this;
1727 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1728 InternalSwap(&from);
1735 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
1736 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1737 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1739 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1740 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1741 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1744 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1747 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1750 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1751 return default_instance().GetMetadata().reflection;
1757 static constexpr int kIndexInFileMessages = 8;
1760 if (other ==
this)
return;
1761 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1762 InternalSwap(other);
1764 ::google::protobuf::internal::GenericSwap(
this, other);
1768 if (other ==
this)
return;
1769 ABSL_DCHECK(GetArena() == other->GetArena());
1770 InternalSwap(other);
1775 JsspOutputSolution* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1776 return ::google::protobuf::Message::DefaultConstruct<JsspOutputSolution>(arena);
1778 using ::google::protobuf::Message::CopyFrom;
1780 using ::google::protobuf::Message::MergeFrom;
1781 void MergeFrom(
const JsspOutputSolution& from) { JsspOutputSolution::MergeImpl(*
this, from); }
1784 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1785 const ::google::protobuf::MessageLite& from_msg);
1791 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1792 #if defined(PROTOBUF_CUSTOM_VTABLE)
1794 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1795 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1796 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1797 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1801 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1802 ::uint8_t* PROTOBUF_NONNULL target,
1803 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1804 return _InternalSerialize(*
this, target, stream);
1807 ::size_t ByteSizeLong() const final;
1808 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1809 ::uint8_t* PROTOBUF_NONNULL target,
1810 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1812 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1815 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1816 static void SharedDtor(MessageLite& self);
1817 void InternalSwap(JsspOutputSolution* PROTOBUF_NONNULL other);
1819 template <
typename T>
1821 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.JsspOutputSolution"; }
1827 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
JsspOutputSolution&& from) noexcept
1829 *
this = ::std::move(from);
1831 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1832 static
void* PROTOBUF_NONNULL PlacementNew_(
1833 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1834 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1850 int jobs_size()
const;
1852 int _internal_jobs_size()
const;
1857 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL
mutable_jobs();
1860 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>& _internal_jobs()
const;
1861 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL _internal_mutable_jobs();
1863 const ::operations_research::scheduling::jssp::AssignedJob&
jobs(
int index)
const;
1865 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>&
jobs()
const;
1872 ::int64_t _internal_makespan_cost()
const;
1873 void _internal_set_makespan_cost(::int64_t value);
1882 ::int64_t _internal_total_cost()
const;
1883 void _internal_set_total_cost(::int64_t value);
1889 friend class ::google::protobuf::internal::TcParser;
1890 static const ::google::protobuf::internal::TcParseTable<2, 3,
1895 friend class ::google::protobuf::MessageLite;
1896 friend class ::google::protobuf::Arena;
1897 template <
typename T>
1898 friend class ::google::protobuf::Arena::InternalHelper;
1899 using InternalArenaConstructable_ = void;
1900 using DestructorSkippable_ = void;
1902 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1903 inline explicit Impl_(
1904 ::google::protobuf::internal::InternalVisibility visibility,
1905 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1906 inline explicit Impl_(
1907 ::google::protobuf::internal::InternalVisibility visibility,
1908 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1910 ::google::protobuf::internal::HasBits<1> _has_bits_;
1911 ::google::protobuf::internal::CachedSize _cached_size_;
1912 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::AssignedJob > jobs_;
1913 ::int64_t makespan_cost_;
1914 ::int64_t total_cost_;
1915 PROTOBUF_TSAN_DECLARE_MEMBER
1917 union { Impl_ _impl_; };
1918 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1924class OR_PROTO_DLL JsspInputProblem final :
public ::google::protobuf::Message
1930#if defined(PROTOBUF_CUSTOM_VTABLE)
1931 void operator delete(
JsspInputProblem* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1937 template <
typename =
void>
1938 explicit PROTOBUF_CONSTEXPR
JsspInputProblem(::google::protobuf::internal::ConstantInitialized);
1943 inline JsspInputProblem& operator=(
const JsspInputProblem& from) {
1947 inline JsspInputProblem& operator=(JsspInputProblem&& from)
noexcept {
1948 if (
this == &from)
return *
this;
1949 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1950 InternalSwap(&from);
1958 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1959 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1961 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1962 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1963 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1966 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1969 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1970 return default_instance().GetMetadata().descriptor;
1972 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1973 return default_instance().GetMetadata().reflection;
1975 static const JsspInputProblem& default_instance() {
1982 if (other ==
this)
return;
1983 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1984 InternalSwap(other);
1986 ::google::protobuf::internal::GenericSwap(
this, other);
1990 if (other ==
this)
return;
1991 ABSL_DCHECK(GetArena() == other->GetArena());
1992 InternalSwap(other);
1997 JsspInputProblem* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1998 return ::google::protobuf::Message::DefaultConstruct<JsspInputProblem>(arena);
2000 using ::google::protobuf::Message::CopyFrom;
2002 using ::google::protobuf::Message::MergeFrom;
2003 void MergeFrom(
const JsspInputProblem& from) { JsspInputProblem::MergeImpl(*
this, from); }
2006 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2007 const ::google::protobuf::MessageLite& from_msg);
2013 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2014 #if defined(PROTOBUF_CUSTOM_VTABLE)
2016 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2018 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2019 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2023 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2024 ::uint8_t* PROTOBUF_NONNULL target,
2025 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2026 return _InternalSerialize(*
this, target, stream);
2029 ::size_t ByteSizeLong() const final;
2030 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2031 ::uint8_t* PROTOBUF_NONNULL target,
2032 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2034 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2037 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2038 static void SharedDtor(MessageLite& self);
2039 void InternalSwap(JsspInputProblem* PROTOBUF_NONNULL other);
2041 template <
typename T>
2043 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.JsspInputProblem"; }
2046 explicit JsspInputProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2049 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
JsspInputProblem&& from) noexcept
2051 *
this = ::std::move(from);
2053 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2054 static
void* PROTOBUF_NONNULL PlacementNew_(
2055 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2056 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2057 static constexpr auto InternalNewImpl_();
2076 int jobs_size()
const;
2078 int _internal_jobs_size()
const;
2083 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL
mutable_jobs();
2086 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>& _internal_jobs()
const;
2087 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL _internal_mutable_jobs();
2089 const ::operations_research::scheduling::jssp::Job&
jobs(
int index)
const;
2091 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>&
jobs()
const;
2095 int _internal_machines_size()
const;
2100 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL
mutable_machines();
2103 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>& _internal_machines()
const;
2104 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL _internal_mutable_machines();
2106 const ::operations_research::scheduling::jssp::Machine&
machines(
int index)
const;
2108 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>&
machines()
const;
2112 int _internal_precedences_size()
const;
2117 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL
mutable_precedences();
2120 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>& _internal_precedences()
const;
2121 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL _internal_mutable_precedences();
2123 const ::operations_research::scheduling::jssp::JobPrecedence&
precedences(
int index)
const;
2125 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>&
precedences()
const;
2128 const ::std::string&
name()
const;
2129 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2130 void set_name(Arg_&& arg, Args_... args);
2132 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
2136 const ::std::string& _internal_name()
const;
2137 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
2138 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
2152 const ::google::protobuf::DoubleValue& _internal_scaling_factor()
const;
2153 ::google::protobuf::DoubleValue* PROTOBUF_NONNULL _internal_mutable_scaling_factor();
2162 ::int64_t _internal_makespan_cost_per_time_unit()
const;
2163 void _internal_set_makespan_cost_per_time_unit(::int64_t value);
2168 ::int32_t
seed()
const;
2172 ::int32_t _internal_seed()
const;
2173 void _internal_set_seed(::int32_t value);
2179 friend class ::google::protobuf::internal::TcParser;
2180 static const ::google::protobuf::internal::TcParseTable<3, 7,
2185 friend class ::google::protobuf::MessageLite;
2186 friend class ::google::protobuf::Arena;
2187 template <
typename T>
2188 friend class ::google::protobuf::Arena::InternalHelper;
2189 using InternalArenaConstructable_ = void;
2190 using DestructorSkippable_ = void;
2192 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2193 inline explicit Impl_(
2194 ::google::protobuf::internal::InternalVisibility visibility,
2195 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2196 inline explicit Impl_(
2197 ::google::protobuf::internal::InternalVisibility visibility,
2198 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2200 ::google::protobuf::internal::HasBits<1> _has_bits_;
2201 ::google::protobuf::internal::CachedSize _cached_size_;
2202 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::Job > jobs_;
2203 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::Machine > machines_;
2204 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::JobPrecedence > precedences_;
2205 ::google::protobuf::internal::ArenaStringPtr name_;
2206 ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE scaling_factor_;
2207 ::int64_t makespan_cost_per_time_unit_;
2209 PROTOBUF_TSAN_DECLARE_MEMBER
2211 union { Impl_ _impl_; };
2212 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
2226#pragma GCC diagnostic push
2227#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2234inline int Task::_internal_machine_size()
const {
2235 return _internal_machine().size();
2238 return _internal_machine_size();
2241 ::google::protobuf::internal::TSanWrite(&
_impl_);
2246 return _internal_machine().Get(index);
2249 _internal_mutable_machine()->Set(index, value);
2253 ::google::protobuf::internal::TSanWrite(&
_impl_);
2254 _internal_mutable_machine()->Add(value);
2258 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2260 return _internal_machine();
2263 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2265 ::google::protobuf::internal::TSanWrite(&
_impl_);
2266 return _internal_mutable_machine();
2268inline const ::google::protobuf::RepeatedField<::int32_t>&
2269Task::_internal_machine()
const {
2270 ::google::protobuf::internal::TSanRead(&
_impl_);
2273inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2274Task::_internal_mutable_machine() {
2275 ::google::protobuf::internal::TSanRead(&
_impl_);
2280inline int Task::_internal_duration_size()
const {
2281 return _internal_duration().size();
2284 return _internal_duration_size();
2287 ::google::protobuf::internal::TSanWrite(&
_impl_);
2288 _impl_.duration_.Clear();
2292 return _internal_duration().Get(index);
2295 _internal_mutable_duration()->Set(index, value);
2299 ::google::protobuf::internal::TSanWrite(&
_impl_);
2300 _internal_mutable_duration()->Add(value);
2304 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2306 return _internal_duration();
2309 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2311 ::google::protobuf::internal::TSanWrite(&
_impl_);
2312 return _internal_mutable_duration();
2314inline const ::google::protobuf::RepeatedField<::int64_t>&
2315Task::_internal_duration()
const {
2316 ::google::protobuf::internal::TSanRead(&
_impl_);
2319inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2320Task::_internal_mutable_duration() {
2321 ::google::protobuf::internal::TSanRead(&
_impl_);
2322 return &
_impl_.duration_;
2326inline int Task::_internal_cost_size()
const {
2327 return _internal_cost().size();
2330 return _internal_cost_size();
2333 ::google::protobuf::internal::TSanWrite(&
_impl_);
2336inline ::int64_t
Task::cost(
int index)
const {
2338 return _internal_cost().Get(index);
2341 _internal_mutable_cost()->Set(index, value);
2345 ::google::protobuf::internal::TSanWrite(&
_impl_);
2346 _internal_mutable_cost()->Add(value);
2349inline const ::google::protobuf::RepeatedField<::int64_t>&
Task::cost() const
2350 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2352 return _internal_cost();
2354inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
Task::mutable_cost()
2355 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2357 ::google::protobuf::internal::TSanWrite(&
_impl_);
2358 return _internal_mutable_cost();
2360inline const ::google::protobuf::RepeatedField<::int64_t>&
2361Task::_internal_cost()
const {
2362 ::google::protobuf::internal::TSanRead(&
_impl_);
2365inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2366Task::_internal_mutable_cost() {
2367 ::google::protobuf::internal::TSanRead(&
_impl_);
2376inline int Job::_internal_tasks_size()
const {
2377 return _internal_tasks().size();
2380 return _internal_tasks_size();
2383 ::google::protobuf::internal::TSanWrite(&
_impl_);
2386inline ::operations_research::scheduling::jssp::Task* PROTOBUF_NONNULL
Job::mutable_tasks(
int index)
2387 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2389 return _internal_mutable_tasks()->Mutable(index);
2391inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL
Job::mutable_tasks()
2392 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2394 ::google::protobuf::internal::TSanWrite(&
_impl_);
2395 return _internal_mutable_tasks();
2397inline const ::operations_research::scheduling::jssp::Task&
Job::tasks(
int index)
const
2398 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2400 return _internal_tasks().Get(index);
2402inline ::operations_research::scheduling::jssp::Task* PROTOBUF_NONNULL
Job::add_tasks()
2403 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2404 ::google::protobuf::internal::TSanWrite(&
_impl_);
2409inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>&
Job::tasks() const
2410 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2412 return _internal_tasks();
2414inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>&
2415Job::_internal_tasks()
const {
2416 ::google::protobuf::internal::TSanRead(&
_impl_);
2419inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL
2420Job::_internal_mutable_tasks() {
2421 ::google::protobuf::internal::TSanRead(&
_impl_);
2427 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2428 PROTOBUF_ASSUME(!value ||
_impl_.earliest_start_ !=
nullptr);
2431inline const ::google::protobuf::Int64Value& Job::_internal_earliest_start()
const {
2432 ::google::protobuf::internal::TSanRead(&
_impl_);
2433 const ::google::protobuf::Int64Value* p =
_impl_.earliest_start_;
2434 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::Int64Value&
>(::google::protobuf::_Int64Value_default_instance_);
2436inline const ::google::protobuf::Int64Value&
Job::earliest_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2438 return _internal_earliest_start();
2441 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE value) {
2442 ::google::protobuf::internal::TSanWrite(&
_impl_);
2443 if (GetArena() ==
nullptr) {
2444 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.earliest_start_);
2446 _impl_.earliest_start_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(value);
2447 if (value !=
nullptr) {
2448 _impl_._has_bits_[0] |= 0x00000002u;
2455 ::google::protobuf::internal::TSanWrite(&
_impl_);
2457 _impl_._has_bits_[0] &= ~0x00000002u;
2458 ::google::protobuf::Int64Value* released =
_impl_.earliest_start_;
2459 _impl_.earliest_start_ =
nullptr;
2460 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2461 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2462 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2463 if (GetArena() ==
nullptr) {
2467 if (GetArena() !=
nullptr) {
2468 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2474 ::google::protobuf::internal::TSanWrite(&
_impl_);
2477 _impl_._has_bits_[0] &= ~0x00000002u;
2478 ::google::protobuf::Int64Value* temp =
_impl_.earliest_start_;
2479 _impl_.earliest_start_ =
nullptr;
2482inline ::google::protobuf::Int64Value* PROTOBUF_NONNULL Job::_internal_mutable_earliest_start() {
2483 ::google::protobuf::internal::TSanWrite(&
_impl_);
2484 if (
_impl_.earliest_start_ ==
nullptr) {
2485 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Int64Value>(GetArena());
2486 _impl_.earliest_start_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(p);
2488 return _impl_.earliest_start_;
2491 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2492 _impl_._has_bits_[0] |= 0x00000002u;
2493 ::google::protobuf::Int64Value* _msg = _internal_mutable_earliest_start();
2498 ::google::protobuf::Arena* message_arena = GetArena();
2499 ::google::protobuf::internal::TSanWrite(&
_impl_);
2500 if (message_arena ==
nullptr) {
2501 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.earliest_start_);
2504 if (value !=
nullptr) {
2506 if (message_arena != submessage_arena) {
2507 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2509 _impl_._has_bits_[0] |= 0x00000002u;
2514 _impl_.earliest_start_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(value);
2520 ::google::protobuf::internal::TSanWrite(&
_impl_);
2521 _impl_.early_due_date_ = ::int64_t{0};
2522 _impl_._has_bits_[0] &= ~0x00000008u;
2526 return _internal_early_due_date();
2529 _internal_set_early_due_date(value);
2530 _impl_._has_bits_[0] |= 0x00000008u;
2533inline ::int64_t Job::_internal_early_due_date()
const {
2534 ::google::protobuf::internal::TSanRead(&
_impl_);
2535 return _impl_.early_due_date_;
2537inline void Job::_internal_set_early_due_date(::int64_t value) {
2538 ::google::protobuf::internal::TSanWrite(&
_impl_);
2539 _impl_.early_due_date_ = value;
2544 ::google::protobuf::internal::TSanWrite(&
_impl_);
2545 _impl_.late_due_date_ = ::int64_t{0};
2546 _impl_._has_bits_[0] &= ~0x00000010u;
2550 return _internal_late_due_date();
2553 _internal_set_late_due_date(value);
2554 _impl_._has_bits_[0] |= 0x00000010u;
2557inline ::int64_t Job::_internal_late_due_date()
const {
2558 ::google::protobuf::internal::TSanRead(&
_impl_);
2559 return _impl_.late_due_date_;
2561inline void Job::_internal_set_late_due_date(::int64_t value) {
2562 ::google::protobuf::internal::TSanWrite(&
_impl_);
2563 _impl_.late_due_date_ = value;
2568 ::google::protobuf::internal::TSanWrite(&
_impl_);
2569 _impl_.earliness_cost_per_time_unit_ = ::int64_t{0};
2570 _impl_._has_bits_[0] &= ~0x00000020u;
2574 return _internal_earliness_cost_per_time_unit();
2577 _internal_set_earliness_cost_per_time_unit(value);
2578 _impl_._has_bits_[0] |= 0x00000020u;
2581inline ::int64_t Job::_internal_earliness_cost_per_time_unit()
const {
2582 ::google::protobuf::internal::TSanRead(&
_impl_);
2583 return _impl_.earliness_cost_per_time_unit_;
2585inline void Job::_internal_set_earliness_cost_per_time_unit(::int64_t value) {
2586 ::google::protobuf::internal::TSanWrite(&
_impl_);
2587 _impl_.earliness_cost_per_time_unit_ = value;
2592 ::google::protobuf::internal::TSanWrite(&
_impl_);
2593 _impl_.lateness_cost_per_time_unit_ = ::int64_t{0};
2594 _impl_._has_bits_[0] &= ~0x00000040u;
2598 return _internal_lateness_cost_per_time_unit();
2601 _internal_set_lateness_cost_per_time_unit(value);
2602 _impl_._has_bits_[0] |= 0x00000040u;
2605inline ::int64_t Job::_internal_lateness_cost_per_time_unit()
const {
2606 ::google::protobuf::internal::TSanRead(&
_impl_);
2607 return _impl_.lateness_cost_per_time_unit_;
2609inline void Job::_internal_set_lateness_cost_per_time_unit(::int64_t value) {
2610 ::google::protobuf::internal::TSanWrite(&
_impl_);
2611 _impl_.lateness_cost_per_time_unit_ = value;
2616 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
2617 PROTOBUF_ASSUME(!value ||
_impl_.latest_end_ !=
nullptr);
2620inline const ::google::protobuf::Int64Value& Job::_internal_latest_end()
const {
2621 ::google::protobuf::internal::TSanRead(&
_impl_);
2622 const ::google::protobuf::Int64Value* p =
_impl_.latest_end_;
2623 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::Int64Value&
>(::google::protobuf::_Int64Value_default_instance_);
2625inline const ::google::protobuf::Int64Value&
Job::latest_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2627 return _internal_latest_end();
2630 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE value) {
2631 ::google::protobuf::internal::TSanWrite(&
_impl_);
2632 if (GetArena() ==
nullptr) {
2633 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.latest_end_);
2635 _impl_.latest_end_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(value);
2636 if (value !=
nullptr) {
2637 _impl_._has_bits_[0] |= 0x00000004u;
2644 ::google::protobuf::internal::TSanWrite(&
_impl_);
2646 _impl_._has_bits_[0] &= ~0x00000004u;
2647 ::google::protobuf::Int64Value* released =
_impl_.latest_end_;
2648 _impl_.latest_end_ =
nullptr;
2649 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2650 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2651 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2652 if (GetArena() ==
nullptr) {
2656 if (GetArena() !=
nullptr) {
2657 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2663 ::google::protobuf::internal::TSanWrite(&
_impl_);
2666 _impl_._has_bits_[0] &= ~0x00000004u;
2667 ::google::protobuf::Int64Value* temp =
_impl_.latest_end_;
2668 _impl_.latest_end_ =
nullptr;
2671inline ::google::protobuf::Int64Value* PROTOBUF_NONNULL Job::_internal_mutable_latest_end() {
2672 ::google::protobuf::internal::TSanWrite(&
_impl_);
2673 if (
_impl_.latest_end_ ==
nullptr) {
2674 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Int64Value>(GetArena());
2675 _impl_.latest_end_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(p);
2677 return _impl_.latest_end_;
2680 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2681 _impl_._has_bits_[0] |= 0x00000004u;
2682 ::google::protobuf::Int64Value* _msg = _internal_mutable_latest_end();
2687 ::google::protobuf::Arena* message_arena = GetArena();
2688 ::google::protobuf::internal::TSanWrite(&
_impl_);
2689 if (message_arena ==
nullptr) {
2690 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.latest_end_);
2693 if (value !=
nullptr) {
2695 if (message_arena != submessage_arena) {
2696 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2698 _impl_._has_bits_[0] |= 0x00000004u;
2703 _impl_.latest_end_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(value);
2709 ::google::protobuf::internal::TSanWrite(&
_impl_);
2710 _impl_.name_.ClearToEmpty();
2711 _impl_._has_bits_[0] &= ~0x00000001u;
2713inline const ::std::string&
Job::name() const
2714 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2716 return _internal_name();
2718template <
typename Arg_,
typename... Args_>
2719PROTOBUF_ALWAYS_INLINE
void Job::set_name(Arg_&& arg, Args_... args) {
2720 ::google::protobuf::internal::TSanWrite(&
_impl_);
2721 _impl_._has_bits_[0] |= 0x00000001u;
2722 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2726 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2727 ::std::string* _s = _internal_mutable_name();
2731inline const ::std::string& Job::_internal_name()
const {
2732 ::google::protobuf::internal::TSanRead(&
_impl_);
2735inline void Job::_internal_set_name(const ::std::string& value) {
2736 ::google::protobuf::internal::TSanWrite(&
_impl_);
2737 _impl_._has_bits_[0] |= 0x00000001u;
2738 _impl_.name_.Set(value, GetArena());
2740inline ::std::string* PROTOBUF_NONNULL Job::_internal_mutable_name() {
2741 ::google::protobuf::internal::TSanWrite(&
_impl_);
2742 _impl_._has_bits_[0] |= 0x00000001u;
2743 return _impl_.name_.Mutable( GetArena());
2746 ::google::protobuf::internal::TSanWrite(&
_impl_);
2748 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
2751 _impl_._has_bits_[0] &= ~0x00000001u;
2752 auto* released =
_impl_.name_.Release();
2753 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2754 _impl_.name_.Set(
"", GetArena());
2759 ::google::protobuf::internal::TSanWrite(&
_impl_);
2760 if (value !=
nullptr) {
2761 _impl_._has_bits_[0] |= 0x00000001u;
2763 _impl_._has_bits_[0] &= ~0x00000001u;
2765 _impl_.name_.SetAllocated(value, GetArena());
2766 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
2767 _impl_.name_.Set(
"", GetArena());
2777inline int TransitionTimeMatrix::_internal_transition_time_size()
const {
2778 return _internal_transition_time().size();
2781 return _internal_transition_time_size();
2784 ::google::protobuf::internal::TSanWrite(&
_impl_);
2785 _impl_.transition_time_.Clear();
2789 return _internal_transition_time().Get(index);
2792 _internal_mutable_transition_time()->Set(index, value);
2796 ::google::protobuf::internal::TSanWrite(&
_impl_);
2797 _internal_mutable_transition_time()->Add(value);
2801 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2803 return _internal_transition_time();
2806 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2808 ::google::protobuf::internal::TSanWrite(&
_impl_);
2809 return _internal_mutable_transition_time();
2811inline const ::google::protobuf::RepeatedField<::int64_t>&
2812TransitionTimeMatrix::_internal_transition_time()
const {
2813 ::google::protobuf::internal::TSanRead(&
_impl_);
2814 return _impl_.transition_time_;
2816inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2817TransitionTimeMatrix::_internal_mutable_transition_time() {
2818 ::google::protobuf::internal::TSanRead(&
_impl_);
2819 return &
_impl_.transition_time_;
2828 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2829 PROTOBUF_ASSUME(!value ||
_impl_.transition_time_matrix_ !=
nullptr);
2833 ::google::protobuf::internal::TSanWrite(&
_impl_);
2834 if (
_impl_.transition_time_matrix_ !=
nullptr)
_impl_.transition_time_matrix_->
Clear();
2835 _impl_._has_bits_[0] &= ~0x00000002u;
2837inline const ::operations_research::scheduling::jssp::TransitionTimeMatrix& Machine::_internal_transition_time_matrix()
const {
2838 ::google::protobuf::internal::TSanRead(&
_impl_);
2839 const ::operations_research::scheduling::jssp::TransitionTimeMatrix* p =
_impl_.transition_time_matrix_;
2844 return _internal_transition_time_matrix();
2848 ::google::protobuf::internal::TSanWrite(&
_impl_);
2849 if (GetArena() ==
nullptr) {
2850 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.transition_time_matrix_);
2853 if (value !=
nullptr) {
2854 _impl_._has_bits_[0] |= 0x00000002u;
2856 _impl_._has_bits_[0] &= ~0x00000002u;
2861 ::google::protobuf::internal::TSanWrite(&
_impl_);
2863 _impl_._has_bits_[0] &= ~0x00000002u;
2865 _impl_.transition_time_matrix_ =
nullptr;
2866 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2867 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2868 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2869 if (GetArena() ==
nullptr) {
2873 if (GetArena() !=
nullptr) {
2874 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2880 ::google::protobuf::internal::TSanWrite(&
_impl_);
2883 _impl_._has_bits_[0] &= ~0x00000002u;
2885 _impl_.transition_time_matrix_ =
nullptr;
2888inline ::operations_research::scheduling::jssp::TransitionTimeMatrix* PROTOBUF_NONNULL Machine::_internal_mutable_transition_time_matrix() {
2889 ::google::protobuf::internal::TSanWrite(&
_impl_);
2890 if (
_impl_.transition_time_matrix_ ==
nullptr) {
2891 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::scheduling::jssp::TransitionTimeMatrix>(GetArena());
2894 return _impl_.transition_time_matrix_;
2897 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2898 _impl_._has_bits_[0] |= 0x00000002u;
2904 ::google::protobuf::Arena* message_arena = GetArena();
2905 ::google::protobuf::internal::TSanWrite(&
_impl_);
2906 if (message_arena ==
nullptr) {
2907 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.transition_time_matrix_);
2910 if (value !=
nullptr) {
2911 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2912 if (message_arena != submessage_arena) {
2913 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2915 _impl_._has_bits_[0] |= 0x00000002u;
2917 _impl_._has_bits_[0] &= ~0x00000002u;
2926 ::google::protobuf::internal::TSanWrite(&
_impl_);
2927 _impl_.name_.ClearToEmpty();
2928 _impl_._has_bits_[0] &= ~0x00000001u;
2931 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2933 return _internal_name();
2935template <
typename Arg_,
typename... Args_>
2937 ::google::protobuf::internal::TSanWrite(&
_impl_);
2938 _impl_._has_bits_[0] |= 0x00000001u;
2939 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2943 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2944 ::std::string* _s = _internal_mutable_name();
2948inline const ::std::string& Machine::_internal_name()
const {
2949 ::google::protobuf::internal::TSanRead(&
_impl_);
2950 return _impl_.name_.Get();
2952inline void Machine::_internal_set_name(const ::std::string& value) {
2953 ::google::protobuf::internal::TSanWrite(&
_impl_);
2954 _impl_._has_bits_[0] |= 0x00000001u;
2955 _impl_.name_.Set(value, GetArena());
2957inline ::std::string* PROTOBUF_NONNULL Machine::_internal_mutable_name() {
2958 ::google::protobuf::internal::TSanWrite(&
_impl_);
2959 _impl_._has_bits_[0] |= 0x00000001u;
2960 return _impl_.name_.Mutable( GetArena());
2963 ::google::protobuf::internal::TSanWrite(&
_impl_);
2965 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
2968 _impl_._has_bits_[0] &= ~0x00000001u;
2969 auto* released =
_impl_.name_.Release();
2970 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2971 _impl_.name_.Set(
"", GetArena());
2976 ::google::protobuf::internal::TSanWrite(&
_impl_);
2977 if (value !=
nullptr) {
2980 _impl_._has_bits_[0] &= ~0x00000001u;
2982 _impl_.name_.SetAllocated(value, GetArena());
2983 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
2984 _impl_.name_.Set(
"", GetArena());
2995 ::google::protobuf::internal::TSanWrite(&
_impl_);
2996 _impl_.first_job_index_ = 0;
2997 _impl_._has_bits_[0] &= ~0x00000001u;
3001 return _internal_first_job_index();
3004 _internal_set_first_job_index(value);
3005 _impl_._has_bits_[0] |= 0x00000001u;
3008inline ::int32_t JobPrecedence::_internal_first_job_index()
const {
3009 ::google::protobuf::internal::TSanRead(&
_impl_);
3010 return _impl_.first_job_index_;
3012inline void JobPrecedence::_internal_set_first_job_index(::int32_t value) {
3013 ::google::protobuf::internal::TSanWrite(&
_impl_);
3014 _impl_.first_job_index_ = value;
3019 ::google::protobuf::internal::TSanWrite(&
_impl_);
3021 _impl_._has_bits_[0] &= ~0x00000002u;
3025 return _internal_second_job_index();
3028 _internal_set_second_job_index(value);
3029 _impl_._has_bits_[0] |= 0x00000002u;
3032inline ::int32_t JobPrecedence::_internal_second_job_index()
const {
3033 ::google::protobuf::internal::TSanRead(&
_impl_);
3034 return _impl_.second_job_index_;
3036inline void JobPrecedence::_internal_set_second_job_index(::int32_t value) {
3037 ::google::protobuf::internal::TSanWrite(&
_impl_);
3038 _impl_.second_job_index_ = value;
3043 ::google::protobuf::internal::TSanWrite(&
_impl_);
3045 _impl_._has_bits_[0] &= ~0x00000004u;
3049 return _internal_min_delay();
3052 _internal_set_min_delay(value);
3053 _impl_._has_bits_[0] |= 0x00000004u;
3056inline ::int64_t JobPrecedence::_internal_min_delay()
const {
3057 ::google::protobuf::internal::TSanRead(&
_impl_);
3058 return _impl_.min_delay_;
3060inline void JobPrecedence::_internal_set_min_delay(::int64_t value) {
3061 ::google::protobuf::internal::TSanWrite(&
_impl_);
3062 _impl_.min_delay_ = value;
3070inline int JsspInputProblem::_internal_jobs_size()
const {
3071 return _internal_jobs().size();
3074 return _internal_jobs_size();
3077 ::google::protobuf::internal::TSanWrite(&
_impl_);
3081 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3083 return _internal_mutable_jobs()->Mutable(index);
3086 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3088 ::google::protobuf::internal::TSanWrite(&
_impl_);
3089 return _internal_mutable_jobs();
3092 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3094 return _internal_jobs().Get(index);
3097 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3098 ::google::protobuf::internal::TSanWrite(&
_impl_);
3103inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>&
JsspInputProblem::jobs() const
3104 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3106 return _internal_jobs();
3108inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>&
3109JsspInputProblem::_internal_jobs()
const {
3110 ::google::protobuf::internal::TSanRead(&
_impl_);
3113inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL
3114JsspInputProblem::_internal_mutable_jobs() {
3115 ::google::protobuf::internal::TSanRead(&
_impl_);
3120inline int JsspInputProblem::_internal_machines_size()
const {
3121 return _internal_machines().size();
3124 return _internal_machines_size();
3127 ::google::protobuf::internal::TSanWrite(&
_impl_);
3128 _impl_.machines_.Clear();
3131 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3133 return _internal_mutable_machines()->Mutable(index);
3136 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3138 ::google::protobuf::internal::TSanWrite(&
_impl_);
3139 return _internal_mutable_machines();
3142 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3144 return _internal_machines().Get(index);
3147 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3148 ::google::protobuf::internal::TSanWrite(&
_impl_);
3154 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3156 return _internal_machines();
3158inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>&
3159JsspInputProblem::_internal_machines()
const {
3160 ::google::protobuf::internal::TSanRead(&
_impl_);
3163inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL
3164JsspInputProblem::_internal_mutable_machines() {
3165 ::google::protobuf::internal::TSanRead(&
_impl_);
3166 return &
_impl_.machines_;
3170inline int JsspInputProblem::_internal_precedences_size()
const {
3171 return _internal_precedences().size();
3174 return _internal_precedences_size();
3177 ::google::protobuf::internal::TSanWrite(&
_impl_);
3178 _impl_.precedences_.Clear();
3181 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3183 return _internal_mutable_precedences()->Mutable(index);
3186 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3188 ::google::protobuf::internal::TSanWrite(&
_impl_);
3189 return _internal_mutable_precedences();
3192 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3194 return _internal_precedences().Get(index);
3197 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3198 ::google::protobuf::internal::TSanWrite(&
_impl_);
3204 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3206 return _internal_precedences();
3208inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>&
3209JsspInputProblem::_internal_precedences()
const {
3210 ::google::protobuf::internal::TSanRead(&
_impl_);
3211 return _impl_.precedences_;
3213inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL
3214JsspInputProblem::_internal_mutable_precedences() {
3215 ::google::protobuf::internal::TSanRead(&
_impl_);
3216 return &
_impl_.precedences_;
3221 ::google::protobuf::internal::TSanWrite(&
_impl_);
3222 _impl_.makespan_cost_per_time_unit_ = ::int64_t{0};
3223 _impl_._has_bits_[0] &= ~0x00000004u;
3227 return _internal_makespan_cost_per_time_unit();
3230 _internal_set_makespan_cost_per_time_unit(value);
3231 _impl_._has_bits_[0] |= 0x00000004u;
3234inline ::int64_t JsspInputProblem::_internal_makespan_cost_per_time_unit()
const {
3235 ::google::protobuf::internal::TSanRead(&
_impl_);
3236 return _impl_.makespan_cost_per_time_unit_;
3238inline void JsspInputProblem::_internal_set_makespan_cost_per_time_unit(::int64_t value) {
3239 ::google::protobuf::internal::TSanWrite(&
_impl_);
3240 _impl_.makespan_cost_per_time_unit_ = value;
3245 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
3246 PROTOBUF_ASSUME(!value ||
_impl_.scaling_factor_ !=
nullptr);
3249inline const ::google::protobuf::DoubleValue& JsspInputProblem::_internal_scaling_factor()
const {
3250 ::google::protobuf::internal::TSanRead(&
_impl_);
3251 const ::google::protobuf::DoubleValue* p =
_impl_.scaling_factor_;
3252 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::DoubleValue&
>(::google::protobuf::_DoubleValue_default_instance_);
3256 return _internal_scaling_factor();
3259 ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE value) {
3260 ::google::protobuf::internal::TSanWrite(&
_impl_);
3261 if (GetArena() ==
nullptr) {
3262 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.scaling_factor_);
3264 _impl_.scaling_factor_ =
reinterpret_cast<::google::protobuf::DoubleValue*
>(value);
3265 if (value !=
nullptr) {
3266 _impl_._has_bits_[0] |= 0x00000002u;
3268 _impl_._has_bits_[0] &= ~0x00000002u;
3273 ::google::protobuf::internal::TSanWrite(&
_impl_);
3275 _impl_._has_bits_[0] &= ~0x00000002u;
3276 ::google::protobuf::DoubleValue* released =
_impl_.scaling_factor_;
3277 _impl_.scaling_factor_ =
nullptr;
3278 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3279 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3280 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3281 if (GetArena() ==
nullptr) {
3285 if (GetArena() !=
nullptr) {
3286 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3292 ::google::protobuf::internal::TSanWrite(&
_impl_);
3295 _impl_._has_bits_[0] &= ~0x00000002u;
3296 ::google::protobuf::DoubleValue* temp =
_impl_.scaling_factor_;
3297 _impl_.scaling_factor_ =
nullptr;
3300inline ::google::protobuf::DoubleValue* PROTOBUF_NONNULL JsspInputProblem::_internal_mutable_scaling_factor() {
3301 ::google::protobuf::internal::TSanWrite(&
_impl_);
3302 if (
_impl_.scaling_factor_ ==
nullptr) {
3303 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena());
3304 _impl_.scaling_factor_ =
reinterpret_cast<::google::protobuf::DoubleValue*
>(p);
3306 return _impl_.scaling_factor_;
3309 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3310 _impl_._has_bits_[0] |= 0x00000002u;
3311 ::google::protobuf::DoubleValue* _msg = _internal_mutable_scaling_factor();
3316 ::google::protobuf::Arena* message_arena = GetArena();
3317 ::google::protobuf::internal::TSanWrite(&
_impl_);
3318 if (message_arena ==
nullptr) {
3319 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.scaling_factor_);
3322 if (value !=
nullptr) {
3323 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3324 if (message_arena != submessage_arena) {
3325 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3327 _impl_._has_bits_[0] |= 0x00000002u;
3329 _impl_._has_bits_[0] &= ~0x00000002u;
3332 _impl_.scaling_factor_ =
reinterpret_cast<::google::protobuf::DoubleValue*
>(value);
3338 ::google::protobuf::internal::TSanWrite(&
_impl_);
3340 _impl_._has_bits_[0] &= ~0x00000008u;
3344 return _internal_seed();
3347 _internal_set_seed(value);
3348 _impl_._has_bits_[0] |= 0x00000008u;
3351inline ::int32_t JsspInputProblem::_internal_seed()
const {
3352 ::google::protobuf::internal::TSanRead(&
_impl_);
3355inline void JsspInputProblem::_internal_set_seed(::int32_t value) {
3356 ::google::protobuf::internal::TSanWrite(&
_impl_);
3362 ::google::protobuf::internal::TSanWrite(&
_impl_);
3363 _impl_.name_.ClearToEmpty();
3367 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3369 return _internal_name();
3371template <
typename Arg_,
typename... Args_>
3373 ::google::protobuf::internal::TSanWrite(&
_impl_);
3374 _impl_._has_bits_[0] |= 0x00000001u;
3375 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3379 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3380 ::std::string* _s = _internal_mutable_name();
3384inline const ::std::string& JsspInputProblem::_internal_name()
const {
3385 ::google::protobuf::internal::TSanRead(&
_impl_);
3386 return _impl_.name_.Get();
3388inline void JsspInputProblem::_internal_set_name(const ::std::string& value) {
3389 ::google::protobuf::internal::TSanWrite(&
_impl_);
3391 _impl_.name_.Set(value, GetArena());
3393inline ::std::string* PROTOBUF_NONNULL JsspInputProblem::_internal_mutable_name() {
3394 ::google::protobuf::internal::TSanWrite(&
_impl_);
3395 _impl_._has_bits_[0] |= 0x00000001u;
3399 ::google::protobuf::internal::TSanWrite(&
_impl_);
3401 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
3404 _impl_._has_bits_[0] &= ~0x00000001u;
3405 auto* released =
_impl_.name_.Release();
3406 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3407 _impl_.name_.Set(
"", GetArena());
3412 ::google::protobuf::internal::TSanWrite(&
_impl_);
3413 if (value !=
nullptr) {
3414 _impl_._has_bits_[0] |= 0x00000001u;
3418 _impl_.name_.SetAllocated(value, GetArena());
3419 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
3420 _impl_.name_.Set(
"", GetArena());
3431 ::google::protobuf::internal::TSanWrite(&
_impl_);
3432 _impl_.alternative_index_ = 0;
3433 _impl_._has_bits_[0] &= ~0x00000002u;
3437 return _internal_alternative_index();
3440 _internal_set_alternative_index(value);
3441 _impl_._has_bits_[0] |= 0x00000002u;
3444inline ::int32_t AssignedTask::_internal_alternative_index()
const {
3445 ::google::protobuf::internal::TSanRead(&
_impl_);
3446 return _impl_.alternative_index_;
3448inline void AssignedTask::_internal_set_alternative_index(::int32_t value) {
3449 ::google::protobuf::internal::TSanWrite(&
_impl_);
3450 _impl_.alternative_index_ = value;
3455 ::google::protobuf::internal::TSanWrite(&
_impl_);
3456 _impl_.start_time_ = ::int64_t{0};
3457 _impl_._has_bits_[0] &= ~0x00000001u;
3461 return _internal_start_time();
3464 _internal_set_start_time(value);
3465 _impl_._has_bits_[0] |= 0x00000001u;
3468inline ::int64_t AssignedTask::_internal_start_time()
const {
3469 ::google::protobuf::internal::TSanRead(&
_impl_);
3470 return _impl_.start_time_;
3472inline void AssignedTask::_internal_set_start_time(::int64_t value) {
3473 ::google::protobuf::internal::TSanWrite(&
_impl_);
3474 _impl_.start_time_ = value;
3482inline int AssignedJob::_internal_tasks_size()
const {
3483 return _internal_tasks().size();
3486 return _internal_tasks_size();
3489 ::google::protobuf::internal::TSanWrite(&
_impl_);
3493 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3495 return _internal_mutable_tasks()->Mutable(index);
3497inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL
AssignedJob::mutable_tasks()
3498 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3500 ::google::protobuf::internal::TSanWrite(&
_impl_);
3501 return _internal_mutable_tasks();
3503inline const ::operations_research::scheduling::jssp::AssignedTask&
AssignedJob::tasks(
int index)
const
3504 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3506 return _internal_tasks().Get(index);
3509 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3510 ::google::protobuf::internal::TSanWrite(&
_impl_);
3515inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>&
AssignedJob::tasks() const
3516 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3518 return _internal_tasks();
3520inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>&
3521AssignedJob::_internal_tasks()
const {
3522 ::google::protobuf::internal::TSanRead(&
_impl_);
3525inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL
3526AssignedJob::_internal_mutable_tasks() {
3527 ::google::protobuf::internal::TSanRead(&
_impl_);
3533 ::google::protobuf::internal::TSanWrite(&
_impl_);
3534 _impl_.due_date_cost_ = ::int64_t{0};
3539 return _internal_due_date_cost();
3542 _internal_set_due_date_cost(value);
3543 _impl_._has_bits_[0] |= 0x00000001u;
3546inline ::int64_t AssignedJob::_internal_due_date_cost()
const {
3547 ::google::protobuf::internal::TSanRead(&
_impl_);
3548 return _impl_.due_date_cost_;
3550inline void AssignedJob::_internal_set_due_date_cost(::int64_t value) {
3551 ::google::protobuf::internal::TSanWrite(&
_impl_);
3557 ::google::protobuf::internal::TSanWrite(&
_impl_);
3558 _impl_.sum_of_task_costs_ = ::int64_t{0};
3559 _impl_._has_bits_[0] &= ~0x00000002u;
3563 return _internal_sum_of_task_costs();
3566 _internal_set_sum_of_task_costs(value);
3567 _impl_._has_bits_[0] |= 0x00000002u;
3570inline ::int64_t AssignedJob::_internal_sum_of_task_costs()
const {
3571 ::google::protobuf::internal::TSanRead(&
_impl_);
3572 return _impl_.sum_of_task_costs_;
3574inline void AssignedJob::_internal_set_sum_of_task_costs(::int64_t value) {
3575 ::google::protobuf::internal::TSanWrite(&
_impl_);
3584inline int JsspOutputSolution::_internal_jobs_size()
const {
3585 return _internal_jobs().size();
3588 return _internal_jobs_size();
3591 ::google::protobuf::internal::TSanWrite(&
_impl_);
3595 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3597 return _internal_mutable_jobs()->Mutable(index);
3600 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3602 ::google::protobuf::internal::TSanWrite(&
_impl_);
3603 return _internal_mutable_jobs();
3606 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3608 return _internal_jobs().Get(index);
3611 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3612 ::google::protobuf::internal::TSanWrite(&
_impl_);
3617inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>&
JsspOutputSolution::jobs() const
3618 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3620 return _internal_jobs();
3622inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>&
3623JsspOutputSolution::_internal_jobs()
const {
3624 ::google::protobuf::internal::TSanRead(&
_impl_);
3627inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL
3628JsspOutputSolution::_internal_mutable_jobs() {
3629 ::google::protobuf::internal::TSanRead(&
_impl_);
3635 ::google::protobuf::internal::TSanWrite(&
_impl_);
3636 _impl_.makespan_cost_ = ::int64_t{0};
3637 _impl_._has_bits_[0] &= ~0x00000001u;
3641 return _internal_makespan_cost();
3644 _internal_set_makespan_cost(value);
3645 _impl_._has_bits_[0] |= 0x00000001u;
3648inline ::int64_t JsspOutputSolution::_internal_makespan_cost()
const {
3649 ::google::protobuf::internal::TSanRead(&
_impl_);
3650 return _impl_.makespan_cost_;
3652inline void JsspOutputSolution::_internal_set_makespan_cost(::int64_t value) {
3653 ::google::protobuf::internal::TSanWrite(&
_impl_);
3654 _impl_.makespan_cost_ = value;
3659 ::google::protobuf::internal::TSanWrite(&
_impl_);
3661 _impl_._has_bits_[0] &= ~0x00000002u;
3665 return _internal_total_cost();
3668 _internal_set_total_cost(value);
3669 _impl_._has_bits_[0] |= 0x00000002u;
3672inline ::int64_t JsspOutputSolution::_internal_total_cost()
const {
3673 ::google::protobuf::internal::TSanRead(&
_impl_);
3674 return _impl_.total_cost_;
3676inline void JsspOutputSolution::_internal_set_total_cost(::int64_t value) {
3677 ::google::protobuf::internal::TSanWrite(&
_impl_);
3678 _impl_.total_cost_ = value;
3682#pragma GCC diagnostic pop
3693#include "google/protobuf/port_undef.inc"
static const AssignedJob & default_instance()
void UnsafeArenaSwap(AssignedJob *PROTOBUF_NONNULL other)
static constexpr auto InternalNewImpl_()
::int64_t sum_of_task_costs() const
AssignedJob *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void set_sum_of_task_costs(::int64_t value)
bool IsInitialized() const
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask > & tasks() const
::int64_t due_date_cost() const
::operations_research::scheduling::jssp::AssignedTask *PROTOBUF_NONNULL mutable_tasks(int index)
::size_t ByteSizeLong() const final
int tasks_size() const
repeated .operations_research.scheduling.jssp.AssignedTask tasks = 1;
friend void swap(AssignedJob &a, AssignedJob &b)
const ::operations_research::scheduling::jssp::AssignedTask & tasks(int index) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_sum_of_task_costs()
int64 sum_of_task_costs = 3;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void Swap(AssignedJob *PROTOBUF_NONNULL other)
::operations_research::scheduling::jssp::AssignedTask *PROTOBUF_NONNULL add_tasks()
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask > *PROTOBUF_NONNULL mutable_tasks()
void clear_due_date_cost()
int64 due_date_cost = 2;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_due_date_cost(::int64_t value)
@ kDueDateCostFieldNumber
@ kSumOfTaskCostsFieldNumber
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::Arena
AssignedTask *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void clear_alternative_index()
int32 alternative_index = 1;
bool IsInitialized() const
void CopyFrom(const AssignedTask &from)
static constexpr auto InternalNewImpl_()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void clear_start_time()
int64 start_time = 2;
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const AssignedTask &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::int32_t alternative_index() const
@ kAlternativeIndexFieldNumber
void Swap(AssignedTask *PROTOBUF_NONNULL other)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void set_start_time(::int64_t value)
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
friend void swap(AssignedTask &a, AssignedTask &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::int64_t start_time() const
void set_alternative_index(::int32_t value)
AssignedTask & operator=(const AssignedTask &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
friend class ::google::protobuf::Arena
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
friend void swap(JobPrecedence &a, JobPrecedence &b)
void MergeFrom(const JobPrecedence &from)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_second_job_index()
int32 second_job_index = 2;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_second_job_index(::int32_t value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_min_delay()
int64 min_delay = 3;
static const JobPrecedence & default_instance()
::int32_t first_job_index() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::int32_t second_job_index() const
PROTOBUF_CONSTEXPR JobPrecedence(::google::protobuf::internal::ConstantInitialized)
static constexpr int kIndexInFileMessages
void set_min_delay(::int64_t value)
JobPrecedence & operator=(const JobPrecedence &from)
void set_first_job_index(::int32_t value)
bool IsInitialized() const
void Swap(JobPrecedence *PROTOBUF_NONNULL other)
void CopyFrom(const JobPrecedence &from)
void clear_first_job_index()
int32 first_job_index = 1;
::int64_t min_delay() const
void clear_earliness_cost_per_time_unit()
int64 earliness_cost_per_time_unit = 5;
Job *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::operations_research::scheduling::jssp::Task *PROTOBUF_NONNULL add_tasks()
::operations_research::scheduling::jssp::Task *PROTOBUF_NONNULL mutable_tasks(int index)
bool has_earliest_start() const
.google.protobuf.Int64Value earliest_start = 2;
void Swap(Job *PROTOBUF_NONNULL other)
void set_lateness_cost_per_time_unit(::int64_t value)
::int64_t early_due_date() const
bool has_latest_end() const
.google.protobuf.Int64Value latest_end = 7;
const ::google::protobuf::Int64Value & earliest_start() const
static constexpr int kIndexInFileMessages
::int64_t late_due_date() const
::int64_t lateness_cost_per_time_unit() const
Job & operator=(const Job &from)
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task > & tasks() const
void set_name(Arg_ &&arg, Args_... args)
::google::protobuf::Int64Value *PROTOBUF_NULLABLE release_earliest_start()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
void set_early_due_date(::int64_t value)
void clear_lateness_cost_per_time_unit()
int64 lateness_cost_per_time_unit = 6;
void unsafe_arena_set_allocated_earliest_start(::google::protobuf::Int64Value *PROTOBUF_NULLABLE value)
const ::operations_research::scheduling::jssp::Task & tasks(int index) const
void set_allocated_earliest_start(::google::protobuf::Int64Value *PROTOBUF_NULLABLE value)
::std::string *PROTOBUF_NONNULL mutable_name()
::google::protobuf::Int64Value *PROTOBUF_NULLABLE unsafe_arena_release_earliest_start()
static const Job & default_instance()
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task > *PROTOBUF_NONNULL mutable_tasks()
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int tasks_size() const
repeated .operations_research.scheduling.jssp.Task tasks = 1;
void set_allocated_latest_end(::google::protobuf::Int64Value *PROTOBUF_NULLABLE value)
void set_earliness_cost_per_time_unit(::int64_t value)
void clear_name()
string name = 16;
friend void swap(Job &a, Job &b)
void unsafe_arena_set_allocated_latest_end(::google::protobuf::Int64Value *PROTOBUF_NULLABLE value)
void clear_earliest_start()
const ::std::string & name() const
::google::protobuf::Int64Value *PROTOBUF_NONNULL mutable_latest_end()
::google::protobuf::Int64Value *PROTOBUF_NULLABLE release_latest_end()
void clear_late_due_date()
int64 late_due_date = 4;
void set_late_due_date(::int64_t value)
const ::google::protobuf::Int64Value & latest_end() const
static constexpr auto InternalGenerateClassData_()
bool IsInitialized() const
void clear_early_due_date()
int64 early_due_date = 3;
::int64_t earliness_cost_per_time_unit() const
::std::string *PROTOBUF_NULLABLE release_name()
::google::protobuf::Int64Value *PROTOBUF_NULLABLE unsafe_arena_release_latest_end()
::google::protobuf::Metadata GetMetadata() const
@ kLateDueDateFieldNumber
@ kEarliestStartFieldNumber
@ kEarlyDueDateFieldNumber
@ kEarlinessCostPerTimeUnitFieldNumber
@ kLatenessCostPerTimeUnitFieldNumber
static constexpr auto InternalNewImpl_()
friend class ::google::protobuf::Arena
::google::protobuf::Int64Value *PROTOBUF_NONNULL mutable_earliest_start()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void clear_total_cost()
int64 total_cost = 3;
void clear_makespan_cost()
int64 makespan_cost = 2;
void set_total_cost(::int64_t value)
::operations_research::scheduling::jssp::AssignedJob *PROTOBUF_NONNULL add_jobs()
void Swap(JsspOutputSolution *PROTOBUF_NONNULL other)
::operations_research::scheduling::jssp::AssignedJob *PROTOBUF_NONNULL mutable_jobs(int index)
static const JsspOutputSolution & default_instance()
JsspOutputSolution & operator=(const JsspOutputSolution &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob > & jobs() const
::int64_t makespan_cost() const
int jobs_size() const
repeated .operations_research.scheduling.jssp.AssignedJob jobs = 1;
::int64_t total_cost() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob > *PROTOBUF_NONNULL mutable_jobs()
const ::operations_research::scheduling::jssp::AssignedJob & jobs(int index) const
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
bool IsInitialized() const
void UnsafeArenaSwap(JsspOutputSolution *PROTOBUF_NONNULL other)
void CopyFrom(const JsspOutputSolution &from)
void set_makespan_cost(::int64_t value)
@ kMakespanCostFieldNumber
static constexpr auto InternalNewImpl_()
::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NONNULL mutable_transition_time_matrix()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void Swap(Machine *PROTOBUF_NONNULL other)
::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NULLABLE unsafe_arena_release_transition_time_matrix()
::size_t ByteSizeLong() const final
void MergeFrom(const Machine &from)
void set_name(Arg_ &&arg, Args_... args)
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NULLABLE release_transition_time_matrix()
static const Machine & default_instance()
void set_allocated_transition_time_matrix(::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NULLABLE value)
::std::string *PROTOBUF_NULLABLE release_name()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
const ::operations_research::scheduling::jssp::TransitionTimeMatrix & transition_time_matrix() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_transition_time_matrix() const
.operations_research.scheduling.jssp.TransitionTimeMatrix transition_time_matrix = 1;
::std::string *PROTOBUF_NONNULL mutable_name()
void CopyFrom(const Machine &from)
const ::std::string & name() const
bool IsInitialized() const
void clear_transition_time_matrix()
@ kTransitionTimeMatrixFieldNumber
static constexpr auto InternalNewImpl_()
void unsafe_arena_set_allocated_transition_time_matrix(::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NULLABLE value)
void clear_name()
string name = 16;
Machine & operator=(const Machine &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
friend class ::google::protobuf::Arena
Machine *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void set_cost(int index, ::int64_t value)
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
int cost_size() const
repeated int64 cost = 3;
static const Task & default_instance()
::int64_t cost(int index) const
::size_t ByteSizeLong() const final
const ::google::protobuf::RepeatedField<::int64_t > & duration() const
PROTOBUF_CONSTEXPR Task(::google::protobuf::internal::ConstantInitialized)
void add_cost(::int64_t value)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_cost()
Task & operator=(const Task &from)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_duration()
void MergeFrom(const Task &from)
int duration_size() const
repeated int64 duration = 2;
void set_machine(int index, ::int32_t value)
const ::google::protobuf::RepeatedField<::int64_t > & cost() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const Task &from)
::int32_t machine(int index) const
const ::google::protobuf::RepeatedField<::int32_t > & machine() const
void add_duration(::int64_t value)
void add_machine(::int32_t value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_machine()
bool IsInitialized() const
void set_duration(int index, ::int64_t value)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void Swap(Task *PROTOBUF_NONNULL other)
::int64_t duration(int index) const
int machine_size() const
repeated int32 machine = 1;
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
TransitionTimeMatrix(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, TransitionTimeMatrix &&from) noexcept
PROTOBUF_CONSTEXPR TransitionTimeMatrix(::google::protobuf::internal::ConstantInitialized)
friend class ::google::protobuf::MessageLite
void Swap(TransitionTimeMatrix *PROTOBUF_NONNULL other)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_transition_time()
void add_transition_time(::int64_t value)
bool IsInitialized() const
const ::google::protobuf::RepeatedField<::int64_t > & transition_time() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_transition_time()
int transition_time_size() const
repeated int64 transition_time = 1;
void set_transition_time(int index, ::int64_t value)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::int64_t transition_time(int index) const
TransitionTimeMatrix(const TransitionTimeMatrix &from)
TransitionTimeMatrix & operator=(const TransitionTimeMatrix &from)
void CopyFrom(const TransitionTimeMatrix &from)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto
::absl::string_view GetAnyMessageName()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull JsspInputProblem_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull JobPrecedence_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MachineDefaultTypeInternal _Machine_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull TransitionTimeMatrix_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobPrecedenceDefaultTypeInternal _JobPrecedence_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TransitionTimeMatrixDefaultTypeInternal _TransitionTimeMatrix_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Job_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AssignedJob_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JsspInputProblemDefaultTypeInternal _JsspInputProblem_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Machine_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TaskDefaultTypeInternal _Task_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Task_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignedJobDefaultTypeInternal _AssignedJob_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobDefaultTypeInternal _Job_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull JsspOutputSolution_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JsspOutputSolutionDefaultTypeInternal _JsspOutputSolution_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignedTaskDefaultTypeInternal _AssignedTask_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AssignedTask_class_data_
In SWIG mode, we don't want anything besides these top-level includes.