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 != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/unknown_field_set.h"
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"; }
238 *
this = ::std::move(from);
240 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
241 static
void* PROTOBUF_NONNULL PlacementNew_(
242 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
243 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
244 static constexpr auto InternalNewImpl_();
247 static constexpr auto InternalGenerateClassData_();
249 ::
google::protobuf::Metadata GetMetadata() const;
254 kTransitionTimeFieldNumber = 1,
259 int _internal_transition_time_size()
const;
266 const ::google::protobuf::RepeatedField<::int64_t>&
transition_time()
const;
270 const ::google::protobuf::RepeatedField<::int64_t>& _internal_transition_time()
const;
271 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_transition_time();
277 friend class ::google::protobuf::internal::TcParser;
278 static const ::google::protobuf::internal::TcParseTable<0, 1,
283 friend class ::google::protobuf::MessageLite;
284 friend class ::google::protobuf::Arena;
285 template <
typename T>
286 friend class ::google::protobuf::Arena::InternalHelper;
287 using InternalArenaConstructable_ = void;
288 using DestructorSkippable_ = void;
290 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
291 inline explicit Impl_(
292 ::google::protobuf::internal::InternalVisibility visibility,
293 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
294 inline explicit Impl_(
295 ::google::protobuf::internal::InternalVisibility visibility,
296 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
298 ::google::protobuf::internal::HasBits<1> _has_bits_;
299 ::google::protobuf::internal::CachedSize _cached_size_;
300 ::google::protobuf::RepeatedField<::int64_t> transition_time_;
301 ::google::protobuf::internal::CachedSize _transition_time_cached_byte_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"; }
432 explicit Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
433 Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Task& from);
435 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Task&& from) noexcept
437 *
this = ::std::move(from);
439 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
440 static
void* PROTOBUF_NONNULL PlacementNew_(
441 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
442 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
443 static constexpr auto InternalNewImpl_();
446 static constexpr auto InternalGenerateClassData_();
448 ::
google::protobuf::Metadata GetMetadata() const;
453 kMachineFieldNumber = 1,
454 kDurationFieldNumber = 2,
455 kCostFieldNumber = 3,
460 int _internal_machine_size()
const;
464 ::int32_t
machine(
int index)
const;
467 const ::google::protobuf::RepeatedField<::int32_t>&
machine()
const;
468 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_machine();
471 const ::google::protobuf::RepeatedField<::int32_t>& _internal_machine()
const;
472 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_machine();
478 int _internal_duration_size()
const;
482 ::int64_t
duration(
int index)
const;
485 const ::google::protobuf::RepeatedField<::int64_t>&
duration()
const;
486 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_duration();
489 const ::google::protobuf::RepeatedField<::int64_t>& _internal_duration()
const;
490 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_duration();
496 int _internal_cost_size()
const;
500 ::int64_t
cost(
int index)
const;
501 void set_cost(
int index, ::int64_t value);
503 const ::google::protobuf::RepeatedField<::int64_t>&
cost()
const;
504 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_cost();
507 const ::google::protobuf::RepeatedField<::int64_t>& _internal_cost()
const;
508 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_cost();
514 friend class ::google::protobuf::internal::TcParser;
515 static const ::google::protobuf::internal::TcParseTable<2, 3,
520 friend class ::google::protobuf::MessageLite;
521 friend class ::google::protobuf::Arena;
522 template <
typename T>
523 friend class ::google::protobuf::Arena::InternalHelper;
524 using InternalArenaConstructable_ = void;
525 using DestructorSkippable_ = void;
527 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
528 inline explicit Impl_(
529 ::google::protobuf::internal::InternalVisibility visibility,
530 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
531 inline explicit Impl_(
532 ::google::protobuf::internal::InternalVisibility visibility,
533 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
534 const Task& from_msg);
535 ::google::protobuf::internal::HasBits<1> _has_bits_;
536 ::google::protobuf::internal::CachedSize _cached_size_;
537 ::google::protobuf::RepeatedField<::int32_t> machine_;
538 ::google::protobuf::internal::CachedSize _machine_cached_byte_size_;
539 ::google::protobuf::RepeatedField<::int64_t> duration_;
540 ::google::protobuf::internal::CachedSize _duration_cached_byte_size_;
541 ::google::protobuf::RepeatedField<::int64_t> cost_;
542 ::google::protobuf::internal::CachedSize _cost_cached_byte_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"; }
673 explicit JobPrecedence(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
676 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
JobPrecedence&& from) noexcept
678 *
this = ::std::move(from);
680 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
681 static
void* PROTOBUF_NONNULL PlacementNew_(
682 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
683 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
684 static constexpr auto InternalNewImpl_();
687 static constexpr auto InternalGenerateClassData_();
689 ::
google::protobuf::Metadata GetMetadata() const;
694 kFirstJobIndexFieldNumber = 1,
695 kSecondJobIndexFieldNumber = 2,
696 kMinDelayFieldNumber = 3,
704 ::int32_t _internal_first_job_index()
const;
705 void _internal_set_first_job_index(::int32_t value);
714 ::int32_t _internal_second_job_index()
const;
715 void _internal_set_second_job_index(::int32_t value);
724 ::int64_t _internal_min_delay()
const;
725 void _internal_set_min_delay(::int64_t value);
731 friend class ::google::protobuf::internal::TcParser;
732 static const ::google::protobuf::internal::TcParseTable<2, 3,
737 friend class ::google::protobuf::MessageLite;
738 friend class ::google::protobuf::Arena;
739 template <
typename T>
740 friend class ::google::protobuf::Arena::InternalHelper;
741 using InternalArenaConstructable_ = void;
742 using DestructorSkippable_ = void;
744 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
745 inline explicit Impl_(
746 ::google::protobuf::internal::InternalVisibility visibility,
747 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
748 inline explicit Impl_(
749 ::google::protobuf::internal::InternalVisibility visibility,
750 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
752 ::google::protobuf::internal::HasBits<1> _has_bits_;
753 ::google::protobuf::internal::CachedSize _cached_size_;
754 ::int32_t first_job_index_;
755 ::int32_t second_job_index_;
756 ::int64_t min_delay_;
757 PROTOBUF_TSAN_DECLARE_MEMBER
759 union { Impl_ _impl_; };
760 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
766class OR_PROTO_DLL
AssignedTask final :
public ::google::protobuf::Message
772#if defined(PROTOBUF_CUSTOM_VTABLE)
773 void operator delete(
AssignedTask* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
775 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
AssignedTask));
779 template <
typename =
void>
780 explicit PROTOBUF_CONSTEXPR
AssignedTask(::google::protobuf::internal::ConstantInitialized);
783 inline AssignedTask(AssignedTask&& from) noexcept
784 : AssignedTask(
nullptr, ::std::move(from)) {}
790 if (
this == &from)
return *
this;
791 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
799 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
800 ABSL_ATTRIBUTE_LIFETIME_BOUND {
801 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
803 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
804 ABSL_ATTRIBUTE_LIFETIME_BOUND {
805 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
808 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
811 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
812 return default_instance().GetMetadata().descriptor;
814 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
815 return default_instance().GetMetadata().reflection;
821 static constexpr int kIndexInFileMessages = 6;
823 inline void Swap(
AssignedTask* PROTOBUF_NONNULL other) {
824 if (other ==
this)
return;
825 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
828 ::google::protobuf::internal::GenericSwap(
this, other);
831 void UnsafeArenaSwap(AssignedTask* PROTOBUF_NONNULL other) {
832 if (other ==
this)
return;
833 ABSL_DCHECK(GetArena() == other->GetArena());
839 AssignedTask* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
840 return ::google::protobuf::Message::DefaultConstruct<AssignedTask>(arena);
842 using ::google::protobuf::Message::CopyFrom;
844 using ::google::protobuf::Message::MergeFrom;
848 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
849 const ::google::protobuf::MessageLite& from_msg);
855 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
856 #if defined(PROTOBUF_CUSTOM_VTABLE)
858 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
860 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
861 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
865 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
866 ::uint8_t* PROTOBUF_NONNULL target,
867 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
868 return _InternalSerialize(*
this, target, stream);
871 ::size_t ByteSizeLong() const final;
872 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
873 ::uint8_t* PROTOBUF_NONNULL target,
874 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
876 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
879 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
880 static void SharedDtor(MessageLite& self);
883 template <
typename T>
885 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.AssignedTask"; }
887 explicit AssignedTask(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
890 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
AssignedTask&& from) noexcept
892 *
this = ::std::move(from);
894 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
895 static
void* PROTOBUF_NONNULL PlacementNew_(
896 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
897 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
898 static constexpr auto InternalNewImpl_();
901 static constexpr auto InternalGenerateClassData_();
903 ::
google::protobuf::Metadata GetMetadata() const;
908 kStartTimeFieldNumber = 2,
909 kAlternativeIndexFieldNumber = 1,
912 void clear_start_time() ;
917 ::int64_t _internal_start_time()
const;
918 void _internal_set_start_time(::int64_t value);
927 ::int32_t _internal_alternative_index()
const;
928 void _internal_set_alternative_index(::int32_t value);
934 friend class ::google::protobuf::internal::TcParser;
935 static const ::google::protobuf::internal::TcParseTable<1, 2,
940 friend class ::google::protobuf::MessageLite;
941 friend class ::google::protobuf::Arena;
942 template <
typename T>
943 friend class ::google::protobuf::Arena::InternalHelper;
944 using InternalArenaConstructable_ = void;
945 using DestructorSkippable_ = void;
947 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
948 inline explicit Impl_(
949 ::google::protobuf::internal::InternalVisibility visibility,
950 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
951 inline explicit Impl_(
952 ::google::protobuf::internal::InternalVisibility visibility,
953 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
955 ::google::protobuf::internal::HasBits<1> _has_bits_;
956 ::google::protobuf::internal::CachedSize _cached_size_;
957 ::int64_t start_time_;
958 ::int32_t alternative_index_;
959 PROTOBUF_TSAN_DECLARE_MEMBER
961 union { Impl_ _impl_; };
962 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
968class OR_PROTO_DLL
Machine final :
public ::google::protobuf::Message
974#if defined(PROTOBUF_CUSTOM_VTABLE)
975 void operator delete(
Machine* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
977 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Machine));
981 template <
typename =
void>
982 explicit PROTOBUF_CONSTEXPR
Machine(::google::protobuf::internal::ConstantInitialized);
985 inline Machine(Machine&& from) noexcept
986 : Machine(
nullptr, ::std::move(from)) {}
987 inline Machine& operator=(
const Machine& from) {
992 if (
this == &from)
return *
this;
993 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1001 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1002 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1003 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1005 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1006 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1007 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1010 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1013 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1014 return default_instance().GetMetadata().descriptor;
1020 return *
reinterpret_cast<const Machine*
>(
1023 static constexpr int kIndexInFileMessages = 3;
1026 if (other ==
this)
return;
1027 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1028 InternalSwap(other);
1030 ::google::protobuf::internal::GenericSwap(
this, other);
1033 void UnsafeArenaSwap(Machine* PROTOBUF_NONNULL other) {
1034 if (other ==
this)
return;
1035 ABSL_DCHECK(GetArena() == other->GetArena());
1036 InternalSwap(other);
1041 Machine* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1042 return ::google::protobuf::Message::DefaultConstruct<Machine>(arena);
1044 using ::google::protobuf::Message::CopyFrom;
1045 void CopyFrom(
const Machine& from);
1046 using ::google::protobuf::Message::MergeFrom;
1050 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1051 const ::google::protobuf::MessageLite& from_msg);
1057 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1058 #if defined(PROTOBUF_CUSTOM_VTABLE)
1062 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1063 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1067 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1068 ::uint8_t* PROTOBUF_NONNULL target,
1069 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1070 return _InternalSerialize(*
this, target, stream);
1073 ::size_t ByteSizeLong() const final;
1074 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1075 ::uint8_t* PROTOBUF_NONNULL target,
1076 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1078 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1081 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1082 static void SharedDtor(MessageLite& self);
1083 void InternalSwap(Machine* PROTOBUF_NONNULL other);
1085 template <
typename T>
1087 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.Machine"; }
1089 explicit Machine(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1090 Machine(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Machine& from);
1092 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Machine&& from) noexcept
1094 *
this = ::std::move(from);
1096 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1097 static
void* PROTOBUF_NONNULL PlacementNew_(
1098 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1099 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1100 static constexpr auto InternalNewImpl_();
1103 static constexpr auto InternalGenerateClassData_();
1105 ::
google::protobuf::Metadata GetMetadata() const;
1110 kNameFieldNumber = 16,
1111 kTransitionTimeMatrixFieldNumber = 1,
1115 const ::std::string& name()
const;
1116 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1119 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1123 const ::std::string& _internal_name()
const;
1124 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1125 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1139 const ::operations_research::scheduling::jssp::TransitionTimeMatrix& _internal_transition_time_matrix()
const;
1146 friend class ::google::protobuf::internal::TcParser;
1147 static const ::google::protobuf::internal::TcParseTable<1, 2,
1152 friend class ::google::protobuf::MessageLite;
1153 friend class ::google::protobuf::Arena;
1154 template <
typename T>
1155 friend class ::google::protobuf::Arena::InternalHelper;
1156 using InternalArenaConstructable_ = void;
1157 using DestructorSkippable_ = void;
1159 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1160 inline explicit Impl_(
1161 ::google::protobuf::internal::InternalVisibility visibility,
1162 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1163 inline explicit Impl_(
1164 ::google::protobuf::internal::InternalVisibility visibility,
1165 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1167 ::google::protobuf::internal::HasBits<1> _has_bits_;
1168 ::google::protobuf::internal::CachedSize _cached_size_;
1169 ::google::protobuf::internal::ArenaStringPtr name_;
1171 PROTOBUF_TSAN_DECLARE_MEMBER
1173 union { Impl_ _impl_; };
1174 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1180class OR_PROTO_DLL
Job final :
public ::google::protobuf::Message
1183 inline Job() :
Job(
nullptr) {}
1184 ~Job() PROTOBUF_FINAL;
1186#if defined(PROTOBUF_CUSTOM_VTABLE)
1187 void operator delete(
Job* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1189 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
Job));
1193 template <
typename =
void>
1194 explicit PROTOBUF_CONSTEXPR
Job(::google::protobuf::internal::ConstantInitialized);
1196 inline Job(
const Job& from) :
Job(nullptr, from) {}
1197 inline Job(Job&& from) noexcept
1198 : Job(
nullptr, ::std::move(from)) {}
1199 inline Job& operator=(
const Job& from) {
1204 if (
this == &from)
return *
this;
1205 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1206 InternalSwap(&from);
1213 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1214 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1215 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1217 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1218 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1219 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1222 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1223 return GetDescriptor();
1225 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1226 return default_instance().GetMetadata().descriptor;
1228 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1231 static const Job& default_instance() {
1232 return *
reinterpret_cast<const Job*
>(
1237 inline void Swap(
Job* PROTOBUF_NONNULL other) {
1238 if (other ==
this)
return;
1239 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1240 InternalSwap(other);
1242 ::google::protobuf::internal::GenericSwap(
this, other);
1245 void UnsafeArenaSwap(
Job* PROTOBUF_NONNULL other) {
1246 if (other ==
this)
return;
1247 ABSL_DCHECK(GetArena() == other->GetArena());
1248 InternalSwap(other);
1253 Job* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1254 return ::google::protobuf::Message::DefaultConstruct<Job>(arena);
1256 using ::google::protobuf::Message::CopyFrom;
1257 void CopyFrom(
const Job& from);
1258 using ::google::protobuf::Message::MergeFrom;
1259 void MergeFrom(
const Job& from) { Job::MergeImpl(*
this, from); }
1262 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1263 const ::google::protobuf::MessageLite& from_msg);
1269 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1270 #if defined(PROTOBUF_CUSTOM_VTABLE)
1272 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1274 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1275 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1279 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1280 ::uint8_t* PROTOBUF_NONNULL target,
1281 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1282 return _InternalSerialize(*
this, target, stream);
1285 ::size_t ByteSizeLong() const final;
1286 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1287 ::uint8_t* PROTOBUF_NONNULL target,
1288 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1290 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1293 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1294 static void SharedDtor(MessageLite& self);
1295 void InternalSwap(Job* PROTOBUF_NONNULL other);
1297 template <
typename T>
1299 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.Job"; }
1301 explicit Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1302 Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Job& from);
1304 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
Job&& from) noexcept
1306 *
this = ::std::move(from);
1308 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1309 static
void* PROTOBUF_NONNULL PlacementNew_(
1310 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1311 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1312 static constexpr auto InternalNewImpl_();
1315 static constexpr auto InternalGenerateClassData_();
1317 ::
google::protobuf::Metadata GetMetadata() const;
1322 kTasksFieldNumber = 1,
1323 kNameFieldNumber = 16,
1324 kEarliestStartFieldNumber = 2,
1325 kLatestEndFieldNumber = 7,
1326 kEarlyDueDateFieldNumber = 3,
1327 kLateDueDateFieldNumber = 4,
1328 kEarlinessCostPerTimeUnitFieldNumber = 5,
1334 int _internal_tasks_size()
const;
1339 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL
mutable_tasks();
1342 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>& _internal_tasks()
const;
1343 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL _internal_mutable_tasks();
1345 const ::operations_research::scheduling::jssp::Task&
tasks(
int index)
const;
1347 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>&
tasks()
const;
1350 const ::std::string&
name()
const;
1351 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1352 void set_name(Arg_&& arg, Args_... args);
1354 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1358 const ::std::string& _internal_name()
const;
1359 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1360 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1374 const ::google::protobuf::Int64Value& _internal_earliest_start()
const;
1375 ::google::protobuf::Int64Value* PROTOBUF_NONNULL _internal_mutable_earliest_start();
1381 const ::google::protobuf::Int64Value&
latest_end()
const;
1382 [[nodiscard]] ::google::protobuf::Int64Value* PROTOBUF_NULLABLE
release_latest_end();
1389 const ::google::protobuf::Int64Value& _internal_latest_end()
const;
1390 ::google::protobuf::Int64Value* PROTOBUF_NONNULL _internal_mutable_latest_end();
1399 ::int64_t _internal_early_due_date()
const;
1400 void _internal_set_early_due_date(::int64_t value);
1409 ::int64_t _internal_late_due_date()
const;
1410 void _internal_set_late_due_date(::int64_t value);
1419 ::int64_t _internal_earliness_cost_per_time_unit()
const;
1420 void _internal_set_earliness_cost_per_time_unit(::int64_t value);
1429 ::int64_t _internal_lateness_cost_per_time_unit()
const;
1430 void _internal_set_lateness_cost_per_time_unit(::int64_t value);
1436 friend class ::google::protobuf::internal::TcParser;
1437 static const ::google::protobuf::internal::TcParseTable<3, 8,
1442 friend class ::google::protobuf::MessageLite;
1443 friend class ::google::protobuf::Arena;
1444 template <
typename T>
1445 friend class ::google::protobuf::Arena::InternalHelper;
1446 using InternalArenaConstructable_ = void;
1447 using DestructorSkippable_ = void;
1449 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1450 inline explicit Impl_(
1451 ::google::protobuf::internal::InternalVisibility visibility,
1452 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1453 inline explicit Impl_(
1454 ::google::protobuf::internal::InternalVisibility visibility,
1455 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1456 const Job& from_msg);
1457 ::google::protobuf::internal::HasBits<1> _has_bits_;
1458 ::google::protobuf::internal::CachedSize _cached_size_;
1459 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::Task > tasks_;
1460 ::google::protobuf::internal::ArenaStringPtr name_;
1461 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE earliest_start_;
1462 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE latest_end_;
1463 ::int64_t early_due_date_;
1464 ::int64_t late_due_date_;
1465 ::int64_t earliness_cost_per_time_unit_;
1466 ::int64_t lateness_cost_per_time_unit_;
1467 PROTOBUF_TSAN_DECLARE_MEMBER
1469 union { Impl_ _impl_; };
1470 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1473OR_PROTO_DLL
extern const ::google::protobuf::internal::ClassDataFull
Job_class_data_;
1476class OR_PROTO_DLL
AssignedJob final :
public ::google::protobuf::Message
1482#if defined(PROTOBUF_CUSTOM_VTABLE)
1483 void operator delete(
AssignedJob* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1485 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
AssignedJob));
1489 template <
typename =
void>
1490 explicit PROTOBUF_CONSTEXPR
AssignedJob(::google::protobuf::internal::ConstantInitialized);
1495 inline AssignedJob& operator=(
const AssignedJob& from) {
1500 if (
this == &from)
return *
this;
1501 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1502 InternalSwap(&from);
1509 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1510 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1511 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1513 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1514 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1515 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1518 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1524 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1525 return default_instance().GetMetadata().reflection;
1531 static constexpr int kIndexInFileMessages = 7;
1533 inline void Swap(
AssignedJob* PROTOBUF_NONNULL other) {
1534 if (other ==
this)
return;
1535 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1536 InternalSwap(other);
1538 ::google::protobuf::internal::GenericSwap(
this, other);
1542 if (other ==
this)
return;
1543 ABSL_DCHECK(GetArena() == other->GetArena());
1544 InternalSwap(other);
1549 AssignedJob* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1550 return ::google::protobuf::Message::DefaultConstruct<AssignedJob>(arena);
1552 using ::google::protobuf::Message::CopyFrom;
1554 using ::google::protobuf::Message::MergeFrom;
1555 void MergeFrom(
const AssignedJob& from) { AssignedJob::MergeImpl(*
this, from); }
1558 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1559 const ::google::protobuf::MessageLite& from_msg);
1565 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1566 #if defined(PROTOBUF_CUSTOM_VTABLE)
1568 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1569 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1570 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1571 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1575 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1576 ::uint8_t* PROTOBUF_NONNULL target,
1577 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1578 return _InternalSerialize(*
this, target, stream);
1581 ::size_t ByteSizeLong() const final;
1582 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1583 ::uint8_t* PROTOBUF_NONNULL target,
1584 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1586 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1589 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1590 static void SharedDtor(MessageLite& self);
1591 void InternalSwap(AssignedJob* PROTOBUF_NONNULL other);
1593 template <
typename T>
1595 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.AssignedJob"; }
1597 explicit AssignedJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1600 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
AssignedJob&& from) noexcept
1602 *
this = ::std::move(from);
1604 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1605 static
void* PROTOBUF_NONNULL PlacementNew_(
1606 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1607 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1608 static constexpr auto InternalNewImpl_();
1611 static constexpr auto InternalGenerateClassData_();
1613 ::
google::protobuf::Metadata GetMetadata() const;
1618 kTasksFieldNumber = 1,
1619 kDueDateCostFieldNumber = 2,
1620 kSumOfTaskCostsFieldNumber = 3,
1623 int tasks_size()
const;
1625 int _internal_tasks_size()
const;
1630 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL
mutable_tasks();
1633 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>& _internal_tasks()
const;
1634 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL _internal_mutable_tasks();
1636 const ::operations_research::scheduling::jssp::AssignedTask&
tasks(
int index)
const;
1638 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>&
tasks()
const;
1645 ::int64_t _internal_due_date_cost()
const;
1646 void _internal_set_due_date_cost(::int64_t value);
1655 ::int64_t _internal_sum_of_task_costs()
const;
1656 void _internal_set_sum_of_task_costs(::int64_t value);
1662 friend class ::google::protobuf::internal::TcParser;
1663 static const ::google::protobuf::internal::TcParseTable<2, 3,
1668 friend class ::google::protobuf::MessageLite;
1669 friend class ::google::protobuf::Arena;
1670 template <
typename T>
1671 friend class ::google::protobuf::Arena::InternalHelper;
1672 using InternalArenaConstructable_ = void;
1673 using DestructorSkippable_ = void;
1675 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1676 inline explicit Impl_(
1677 ::google::protobuf::internal::InternalVisibility visibility,
1678 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1679 inline explicit Impl_(
1680 ::google::protobuf::internal::InternalVisibility visibility,
1681 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1683 ::google::protobuf::internal::HasBits<1> _has_bits_;
1684 ::google::protobuf::internal::CachedSize _cached_size_;
1685 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::AssignedTask > tasks_;
1686 ::int64_t due_date_cost_;
1687 ::int64_t sum_of_task_costs_;
1688 PROTOBUF_TSAN_DECLARE_MEMBER
1690 union { Impl_ _impl_; };
1691 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1697class OR_PROTO_DLL JsspOutputSolution final :
public ::google::protobuf::Message
1703#if defined(PROTOBUF_CUSTOM_VTABLE)
1704 void operator delete(
JsspOutputSolution* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1710 template <
typename =
void>
1711 explicit PROTOBUF_CONSTEXPR
JsspOutputSolution(::google::protobuf::internal::ConstantInitialized);
1716 inline JsspOutputSolution& operator=(
const JsspOutputSolution& from) {
1721 if (
this == &from)
return *
this;
1722 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1723 InternalSwap(&from);
1730 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
1731 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1732 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1734 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1735 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1736 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1739 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1742 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1745 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1746 return default_instance().GetMetadata().reflection;
1752 static constexpr int kIndexInFileMessages = 8;
1755 if (other ==
this)
return;
1756 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1757 InternalSwap(other);
1759 ::google::protobuf::internal::GenericSwap(
this, other);
1763 if (other ==
this)
return;
1764 ABSL_DCHECK(GetArena() == other->GetArena());
1765 InternalSwap(other);
1770 JsspOutputSolution* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1771 return ::google::protobuf::Message::DefaultConstruct<JsspOutputSolution>(arena);
1773 using ::google::protobuf::Message::CopyFrom;
1775 using ::google::protobuf::Message::MergeFrom;
1776 void MergeFrom(
const JsspOutputSolution& from) { JsspOutputSolution::MergeImpl(*
this, from); }
1779 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1780 const ::google::protobuf::MessageLite& from_msg);
1786 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1787 #if defined(PROTOBUF_CUSTOM_VTABLE)
1789 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1790 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1791 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1792 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1796 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1797 ::uint8_t* PROTOBUF_NONNULL target,
1798 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1799 return _InternalSerialize(*
this, target, stream);
1802 ::size_t ByteSizeLong() const final;
1803 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1804 ::uint8_t* PROTOBUF_NONNULL target,
1805 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1807 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1810 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1811 static void SharedDtor(MessageLite& self);
1812 void InternalSwap(JsspOutputSolution* PROTOBUF_NONNULL other);
1814 template <
typename T>
1816 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.JsspOutputSolution"; }
1821 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
JsspOutputSolution&& from) noexcept
1823 *
this = ::std::move(from);
1825 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1826 static
void* PROTOBUF_NONNULL PlacementNew_(
1827 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1828 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1829 static constexpr auto InternalNewImpl_();
1832 static constexpr auto InternalGenerateClassData_();
1834 ::
google::protobuf::Metadata GetMetadata() const;
1839 kJobsFieldNumber = 1,
1840 kMakespanCostFieldNumber = 2,
1841 kTotalCostFieldNumber = 3,
1844 int jobs_size()
const;
1846 int _internal_jobs_size()
const;
1851 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL
mutable_jobs();
1854 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>& _internal_jobs()
const;
1855 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL _internal_mutable_jobs();
1857 const ::operations_research::scheduling::jssp::AssignedJob&
jobs(
int index)
const;
1859 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>&
jobs()
const;
1866 ::int64_t _internal_makespan_cost()
const;
1867 void _internal_set_makespan_cost(::int64_t value);
1876 ::int64_t _internal_total_cost()
const;
1877 void _internal_set_total_cost(::int64_t value);
1883 friend class ::google::protobuf::internal::TcParser;
1884 static const ::google::protobuf::internal::TcParseTable<2, 3,
1889 friend class ::google::protobuf::MessageLite;
1890 friend class ::google::protobuf::Arena;
1891 template <
typename T>
1892 friend class ::google::protobuf::Arena::InternalHelper;
1893 using InternalArenaConstructable_ = void;
1894 using DestructorSkippable_ = void;
1896 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1897 inline explicit Impl_(
1898 ::google::protobuf::internal::InternalVisibility visibility,
1899 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1900 inline explicit Impl_(
1901 ::google::protobuf::internal::InternalVisibility visibility,
1902 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1904 ::google::protobuf::internal::HasBits<1> _has_bits_;
1905 ::google::protobuf::internal::CachedSize _cached_size_;
1906 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::AssignedJob > jobs_;
1907 ::int64_t makespan_cost_;
1908 ::int64_t total_cost_;
1909 PROTOBUF_TSAN_DECLARE_MEMBER
1911 union { Impl_ _impl_; };
1912 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1918class OR_PROTO_DLL JsspInputProblem final :
public ::google::protobuf::Message
1924#if defined(PROTOBUF_CUSTOM_VTABLE)
1925 void operator delete(
JsspInputProblem* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1931 template <
typename =
void>
1932 explicit PROTOBUF_CONSTEXPR
JsspInputProblem(::google::protobuf::internal::ConstantInitialized);
1937 inline JsspInputProblem& operator=(
const JsspInputProblem& from) {
1941 inline JsspInputProblem& operator=(JsspInputProblem&& from)
noexcept {
1942 if (
this == &from)
return *
this;
1943 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1944 InternalSwap(&from);
1952 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1953 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1955 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1957 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1960 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1963 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1964 return default_instance().GetMetadata().descriptor;
1966 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1967 return default_instance().GetMetadata().reflection;
1969 static const JsspInputProblem& default_instance() {
1976 if (other ==
this)
return;
1977 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1978 InternalSwap(other);
1980 ::google::protobuf::internal::GenericSwap(
this, other);
1984 if (other ==
this)
return;
1985 ABSL_DCHECK(GetArena() == other->GetArena());
1986 InternalSwap(other);
1991 JsspInputProblem* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1992 return ::google::protobuf::Message::DefaultConstruct<JsspInputProblem>(arena);
1994 using ::google::protobuf::Message::CopyFrom;
1996 using ::google::protobuf::Message::MergeFrom;
1997 void MergeFrom(
const JsspInputProblem& from) { JsspInputProblem::MergeImpl(*
this, from); }
2000 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2001 const ::google::protobuf::MessageLite& from_msg);
2007 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2008 #if defined(PROTOBUF_CUSTOM_VTABLE)
2010 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2012 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2013 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2017 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2018 ::uint8_t* PROTOBUF_NONNULL target,
2019 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2020 return _InternalSerialize(*
this, target, stream);
2023 ::size_t ByteSizeLong() const final;
2024 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2025 ::uint8_t* PROTOBUF_NONNULL target,
2026 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2028 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2031 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2032 static void SharedDtor(MessageLite& self);
2033 void InternalSwap(JsspInputProblem* PROTOBUF_NONNULL other);
2035 template <
typename T>
2037 static ::absl::string_view FullMessageName() {
return "operations_research.scheduling.jssp.JsspInputProblem"; }
2039 explicit JsspInputProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2042 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
JsspInputProblem&& from) noexcept
2044 *
this = ::std::move(from);
2046 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2047 static
void* PROTOBUF_NONNULL PlacementNew_(
2048 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2049 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2050 static constexpr auto InternalNewImpl_();
2053 static constexpr auto InternalGenerateClassData_();
2055 ::
google::protobuf::Metadata GetMetadata() const;
2060 kJobsFieldNumber = 1,
2061 kMachinesFieldNumber = 2,
2062 kPrecedencesFieldNumber = 3,
2063 kNameFieldNumber = 16,
2064 kScalingFactorFieldNumber = 5,
2065 kMakespanCostPerTimeUnitFieldNumber = 4,
2066 kSeedFieldNumber = 24,
2069 int jobs_size()
const;
2071 int _internal_jobs_size()
const;
2076 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL
mutable_jobs();
2079 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>& _internal_jobs()
const;
2080 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL _internal_mutable_jobs();
2082 const ::operations_research::scheduling::jssp::Job&
jobs(
int index)
const;
2084 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>&
jobs()
const;
2088 int _internal_machines_size()
const;
2093 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL
mutable_machines();
2096 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>& _internal_machines()
const;
2097 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL _internal_mutable_machines();
2099 const ::operations_research::scheduling::jssp::Machine&
machines(
int index)
const;
2101 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>&
machines()
const;
2105 int _internal_precedences_size()
const;
2110 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL
mutable_precedences();
2113 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>& _internal_precedences()
const;
2114 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL _internal_mutable_precedences();
2116 const ::operations_research::scheduling::jssp::JobPrecedence&
precedences(
int index)
const;
2118 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>&
precedences()
const;
2121 const ::std::string&
name()
const;
2122 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2123 void set_name(Arg_&& arg, Args_... args);
2125 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
2129 const ::std::string& _internal_name()
const;
2130 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
2131 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
2145 const ::google::protobuf::DoubleValue& _internal_scaling_factor()
const;
2146 ::google::protobuf::DoubleValue* PROTOBUF_NONNULL _internal_mutable_scaling_factor();
2155 ::int64_t _internal_makespan_cost_per_time_unit()
const;
2156 void _internal_set_makespan_cost_per_time_unit(::int64_t value);
2161 ::int32_t
seed()
const;
2165 ::int32_t _internal_seed()
const;
2166 void _internal_set_seed(::int32_t value);
2172 friend class ::google::protobuf::internal::TcParser;
2173 static const ::google::protobuf::internal::TcParseTable<3, 7,
2178 friend class ::google::protobuf::MessageLite;
2179 friend class ::google::protobuf::Arena;
2180 template <
typename T>
2181 friend class ::google::protobuf::Arena::InternalHelper;
2182 using InternalArenaConstructable_ = void;
2183 using DestructorSkippable_ = void;
2185 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2186 inline explicit Impl_(
2187 ::google::protobuf::internal::InternalVisibility visibility,
2188 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2189 inline explicit Impl_(
2190 ::google::protobuf::internal::InternalVisibility visibility,
2191 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2193 ::google::protobuf::internal::HasBits<1> _has_bits_;
2194 ::google::protobuf::internal::CachedSize _cached_size_;
2195 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::Job > jobs_;
2196 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::Machine > machines_;
2197 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::JobPrecedence > precedences_;
2198 ::google::protobuf::internal::ArenaStringPtr name_;
2199 ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE scaling_factor_;
2200 ::int64_t makespan_cost_per_time_unit_;
2202 PROTOBUF_TSAN_DECLARE_MEMBER
2204 union { Impl_ _impl_; };
2205 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
2219#pragma GCC diagnostic push
2220#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2227inline int Task::_internal_machine_size()
const {
2228 return _internal_machine().size();
2231 return _internal_machine_size();
2234 ::google::protobuf::internal::TSanWrite(&
_impl_);
2236 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2241 return _internal_machine().Get(index);
2244 _internal_mutable_machine()->Set(index, value);
2248 ::google::protobuf::internal::TSanWrite(&
_impl_);
2249 _internal_mutable_machine()->Add(value);
2250 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2253inline const ::google::protobuf::RepeatedField<::int32_t>&
Task::machine() const
2254 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2256 return _internal_machine();
2259 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2260 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2262 ::google::protobuf::internal::TSanWrite(&
_impl_);
2263 return _internal_mutable_machine();
2265inline const ::google::protobuf::RepeatedField<::int32_t>&
2266Task::_internal_machine()
const {
2267 ::google::protobuf::internal::TSanRead(&
_impl_);
2270inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2271Task::_internal_mutable_machine() {
2272 ::google::protobuf::internal::TSanRead(&
_impl_);
2277inline int Task::_internal_duration_size()
const {
2278 return _internal_duration().size();
2281 return _internal_duration_size();
2284 ::google::protobuf::internal::TSanWrite(&
_impl_);
2285 _impl_.duration_.Clear();
2286 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2291 return _internal_duration().Get(index);
2294 _internal_mutable_duration()->Set(index, value);
2298 ::google::protobuf::internal::TSanWrite(&
_impl_);
2299 _internal_mutable_duration()->Add(value);
2300 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2303inline const ::google::protobuf::RepeatedField<::int64_t>&
Task::duration() const
2304 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2306 return _internal_duration();
2309 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2310 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2312 ::google::protobuf::internal::TSanWrite(&
_impl_);
2313 return _internal_mutable_duration();
2315inline const ::google::protobuf::RepeatedField<::int64_t>&
2316Task::_internal_duration()
const {
2317 ::google::protobuf::internal::TSanRead(&
_impl_);
2320inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2321Task::_internal_mutable_duration() {
2322 ::google::protobuf::internal::TSanRead(&
_impl_);
2323 return &
_impl_.duration_;
2327inline int Task::_internal_cost_size()
const {
2328 return _internal_cost().size();
2331 return _internal_cost_size();
2334 ::google::protobuf::internal::TSanWrite(&
_impl_);
2336 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2339inline ::int64_t
Task::cost(
int index)
const {
2341 return _internal_cost().Get(index);
2344 _internal_mutable_cost()->Set(index, value);
2348 ::google::protobuf::internal::TSanWrite(&
_impl_);
2349 _internal_mutable_cost()->Add(value);
2350 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2353inline const ::google::protobuf::RepeatedField<::int64_t>&
Task::cost() const
2354 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2356 return _internal_cost();
2358inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
Task::mutable_cost()
2359 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2360 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2362 ::google::protobuf::internal::TSanWrite(&
_impl_);
2363 return _internal_mutable_cost();
2365inline const ::google::protobuf::RepeatedField<::int64_t>&
2366Task::_internal_cost()
const {
2367 ::google::protobuf::internal::TSanRead(&
_impl_);
2370inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2371Task::_internal_mutable_cost() {
2372 ::google::protobuf::internal::TSanRead(&
_impl_);
2381inline int Job::_internal_tasks_size()
const {
2382 return _internal_tasks().size();
2385 return _internal_tasks_size();
2388 ::google::protobuf::internal::TSanWrite(&
_impl_);
2390 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2393inline ::operations_research::scheduling::jssp::Task* PROTOBUF_NONNULL
Job::mutable_tasks(
int index)
2394 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2396 return _internal_mutable_tasks()->Mutable(index);
2398inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL
Job::mutable_tasks()
2399 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2400 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2402 ::google::protobuf::internal::TSanWrite(&
_impl_);
2403 return _internal_mutable_tasks();
2405inline const ::operations_research::scheduling::jssp::Task&
Job::tasks(
int index)
const
2406 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2408 return _internal_tasks().Get(index);
2410inline ::operations_research::scheduling::jssp::Task* PROTOBUF_NONNULL
Job::add_tasks()
2411 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2412 ::google::protobuf::internal::TSanWrite(&
_impl_);
2414 _internal_mutable_tasks()->InternalAddWithArena(
2415 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2416 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2420inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>&
Job::tasks() const
2421 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2423 return _internal_tasks();
2425inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>&
2426Job::_internal_tasks()
const {
2427 ::google::protobuf::internal::TSanRead(&
_impl_);
2430inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL
2431Job::_internal_mutable_tasks() {
2432 ::google::protobuf::internal::TSanRead(&
_impl_);
2438 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000004U);
2439 PROTOBUF_ASSUME(!value ||
_impl_.earliest_start_ !=
nullptr);
2442inline const ::google::protobuf::Int64Value& Job::_internal_earliest_start()
const {
2443 ::google::protobuf::internal::TSanRead(&
_impl_);
2444 const ::google::protobuf::Int64Value* p =
_impl_.earliest_start_;
2445 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::Int64Value&
>(::google::protobuf::_Int64Value_default_instance_);
2447inline const ::google::protobuf::Int64Value&
Job::earliest_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2449 return _internal_earliest_start();
2452 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE value) {
2453 ::google::protobuf::internal::TSanWrite(&
_impl_);
2454 if (GetArena() ==
nullptr) {
2455 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.earliest_start_);
2457 _impl_.earliest_start_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(value);
2458 if (value !=
nullptr) {
2459 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2461 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2466 ::google::protobuf::internal::TSanWrite(&
_impl_);
2468 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2469 ::google::protobuf::Int64Value* released =
_impl_.earliest_start_;
2470 _impl_.earliest_start_ =
nullptr;
2471 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2472 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2473 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2474 if (GetArena() ==
nullptr) {
2478 if (GetArena() !=
nullptr) {
2479 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2485 ::google::protobuf::internal::TSanWrite(&
_impl_);
2488 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2489 ::google::protobuf::Int64Value* temp =
_impl_.earliest_start_;
2490 _impl_.earliest_start_ =
nullptr;
2493inline ::google::protobuf::Int64Value* PROTOBUF_NONNULL Job::_internal_mutable_earliest_start() {
2494 ::google::protobuf::internal::TSanWrite(&
_impl_);
2495 if (
_impl_.earliest_start_ ==
nullptr) {
2496 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Int64Value>(GetArena());
2497 _impl_.earliest_start_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(p);
2499 return _impl_.earliest_start_;
2502 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2503 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2504 ::google::protobuf::Int64Value* _msg = _internal_mutable_earliest_start();
2509 ::google::protobuf::Arena* message_arena = GetArena();
2510 ::google::protobuf::internal::TSanWrite(&
_impl_);
2511 if (message_arena ==
nullptr) {
2512 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.earliest_start_);
2515 if (value !=
nullptr) {
2517 if (message_arena != submessage_arena) {
2518 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2520 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2522 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2525 _impl_.earliest_start_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(value);
2531 ::google::protobuf::internal::TSanWrite(&
_impl_);
2532 _impl_.early_due_date_ = ::int64_t{0};
2533 ClearHasBit(
_impl_._has_bits_[0],
2538 return _internal_early_due_date();
2541 _internal_set_early_due_date(value);
2542 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2545inline ::int64_t Job::_internal_early_due_date()
const {
2546 ::google::protobuf::internal::TSanRead(&
_impl_);
2547 return _impl_.early_due_date_;
2549inline void Job::_internal_set_early_due_date(::int64_t value) {
2550 ::google::protobuf::internal::TSanWrite(&
_impl_);
2551 _impl_.early_due_date_ = value;
2556 ::google::protobuf::internal::TSanWrite(&
_impl_);
2557 _impl_.late_due_date_ = ::int64_t{0};
2558 ClearHasBit(
_impl_._has_bits_[0],
2563 return _internal_late_due_date();
2566 _internal_set_late_due_date(value);
2567 SetHasBit(
_impl_._has_bits_[0], 0x00000020U);
2570inline ::int64_t Job::_internal_late_due_date()
const {
2571 ::google::protobuf::internal::TSanRead(&
_impl_);
2572 return _impl_.late_due_date_;
2574inline void Job::_internal_set_late_due_date(::int64_t value) {
2575 ::google::protobuf::internal::TSanWrite(&
_impl_);
2576 _impl_.late_due_date_ = value;
2581 ::google::protobuf::internal::TSanWrite(&
_impl_);
2582 _impl_.earliness_cost_per_time_unit_ = ::int64_t{0};
2583 ClearHasBit(
_impl_._has_bits_[0],
2588 return _internal_earliness_cost_per_time_unit();
2591 _internal_set_earliness_cost_per_time_unit(value);
2592 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
2595inline ::int64_t Job::_internal_earliness_cost_per_time_unit()
const {
2596 ::google::protobuf::internal::TSanRead(&
_impl_);
2597 return _impl_.earliness_cost_per_time_unit_;
2599inline void Job::_internal_set_earliness_cost_per_time_unit(::int64_t value) {
2600 ::google::protobuf::internal::TSanWrite(&
_impl_);
2601 _impl_.earliness_cost_per_time_unit_ = value;
2606 ::google::protobuf::internal::TSanWrite(&
_impl_);
2607 _impl_.lateness_cost_per_time_unit_ = ::int64_t{0};
2608 ClearHasBit(
_impl_._has_bits_[0],
2613 return _internal_lateness_cost_per_time_unit();
2616 _internal_set_lateness_cost_per_time_unit(value);
2617 SetHasBit(
_impl_._has_bits_[0], 0x00000080U);
2620inline ::int64_t Job::_internal_lateness_cost_per_time_unit()
const {
2621 ::google::protobuf::internal::TSanRead(&
_impl_);
2622 return _impl_.lateness_cost_per_time_unit_;
2624inline void Job::_internal_set_lateness_cost_per_time_unit(::int64_t value) {
2625 ::google::protobuf::internal::TSanWrite(&
_impl_);
2626 _impl_.lateness_cost_per_time_unit_ = value;
2631 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000008U);
2632 PROTOBUF_ASSUME(!value ||
_impl_.latest_end_ !=
nullptr);
2635inline const ::google::protobuf::Int64Value& Job::_internal_latest_end()
const {
2636 ::google::protobuf::internal::TSanRead(&
_impl_);
2637 const ::google::protobuf::Int64Value* p =
_impl_.latest_end_;
2638 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::Int64Value&
>(::google::protobuf::_Int64Value_default_instance_);
2640inline const ::google::protobuf::Int64Value&
Job::latest_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2642 return _internal_latest_end();
2645 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE value) {
2646 ::google::protobuf::internal::TSanWrite(&
_impl_);
2647 if (GetArena() ==
nullptr) {
2648 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.latest_end_);
2650 _impl_.latest_end_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(value);
2651 if (value !=
nullptr) {
2652 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2654 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2659 ::google::protobuf::internal::TSanWrite(&
_impl_);
2661 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2662 ::google::protobuf::Int64Value* released =
_impl_.latest_end_;
2663 _impl_.latest_end_ =
nullptr;
2664 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2665 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2666 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2667 if (GetArena() ==
nullptr) {
2671 if (GetArena() !=
nullptr) {
2672 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2678 ::google::protobuf::internal::TSanWrite(&
_impl_);
2681 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2682 ::google::protobuf::Int64Value* temp =
_impl_.latest_end_;
2683 _impl_.latest_end_ =
nullptr;
2686inline ::google::protobuf::Int64Value* PROTOBUF_NONNULL Job::_internal_mutable_latest_end() {
2687 ::google::protobuf::internal::TSanWrite(&
_impl_);
2688 if (
_impl_.latest_end_ ==
nullptr) {
2689 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Int64Value>(GetArena());
2690 _impl_.latest_end_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(p);
2692 return _impl_.latest_end_;
2695 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2696 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2697 ::google::protobuf::Int64Value* _msg = _internal_mutable_latest_end();
2702 ::google::protobuf::Arena* message_arena = GetArena();
2703 ::google::protobuf::internal::TSanWrite(&
_impl_);
2704 if (message_arena ==
nullptr) {
2705 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.latest_end_);
2708 if (value !=
nullptr) {
2710 if (message_arena != submessage_arena) {
2711 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2713 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2715 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2718 _impl_.latest_end_ =
reinterpret_cast<::google::protobuf::Int64Value*
>(value);
2724 ::google::protobuf::internal::TSanWrite(&
_impl_);
2725 _impl_.name_.ClearToEmpty();
2726 ClearHasBit(
_impl_._has_bits_[0],
2729inline const ::std::string&
Job::name() const
2730 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2732 return _internal_name();
2734template <
typename Arg_,
typename... Args_>
2735PROTOBUF_ALWAYS_INLINE
void Job::set_name(Arg_&& arg, Args_... args) {
2736 ::google::protobuf::internal::TSanWrite(&
_impl_);
2737 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2738 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2742 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2743 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2744 ::std::string* _s = _internal_mutable_name();
2748inline const ::std::string& Job::_internal_name()
const {
2749 ::google::protobuf::internal::TSanRead(&
_impl_);
2750 return _impl_.name_.Get();
2752inline void Job::_internal_set_name(const ::std::string& value) {
2753 ::google::protobuf::internal::TSanWrite(&
_impl_);
2754 _impl_.name_.Set(value, GetArena());
2756inline ::std::string* PROTOBUF_NONNULL Job::_internal_mutable_name() {
2757 ::google::protobuf::internal::TSanWrite(&
_impl_);
2758 return _impl_.name_.Mutable( GetArena());
2761 ::google::protobuf::internal::TSanWrite(&
_impl_);
2763 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000002U)) {
2766 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2767 auto* released =
_impl_.name_.Release();
2768 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2769 _impl_.name_.Set(
"", GetArena());
2774 ::google::protobuf::internal::TSanWrite(&
_impl_);
2775 if (value !=
nullptr) {
2776 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2778 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2780 _impl_.name_.SetAllocated(value, GetArena());
2781 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
2782 _impl_.name_.Set(
"", GetArena());
2792inline int TransitionTimeMatrix::_internal_transition_time_size()
const {
2793 return _internal_transition_time().size();
2796 return _internal_transition_time_size();
2799 ::google::protobuf::internal::TSanWrite(&
_impl_);
2800 _impl_.transition_time_.Clear();
2801 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2806 return _internal_transition_time().Get(index);
2809 _internal_mutable_transition_time()->Set(index, value);
2813 ::google::protobuf::internal::TSanWrite(&
_impl_);
2814 _internal_mutable_transition_time()->Add(value);
2815 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2819 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2821 return _internal_transition_time();
2824 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2825 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2827 ::google::protobuf::internal::TSanWrite(&
_impl_);
2828 return _internal_mutable_transition_time();
2830inline const ::google::protobuf::RepeatedField<::int64_t>&
2831TransitionTimeMatrix::_internal_transition_time()
const {
2832 ::google::protobuf::internal::TSanRead(&
_impl_);
2835inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2836TransitionTimeMatrix::_internal_mutable_transition_time() {
2837 ::google::protobuf::internal::TSanRead(&
_impl_);
2847 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
2848 PROTOBUF_ASSUME(!value ||
_impl_.transition_time_matrix_ !=
nullptr);
2852 ::google::protobuf::internal::TSanWrite(&
_impl_);
2853 if (
_impl_.transition_time_matrix_ !=
nullptr)
_impl_.transition_time_matrix_->
Clear();
2854 ClearHasBit(
_impl_._has_bits_[0],
2857inline const ::operations_research::scheduling::jssp::TransitionTimeMatrix& Machine::_internal_transition_time_matrix()
const {
2858 ::google::protobuf::internal::TSanRead(&
_impl_);
2859 const ::operations_research::scheduling::jssp::TransitionTimeMatrix* p =
_impl_.transition_time_matrix_;
2864 return _internal_transition_time_matrix();
2868 ::google::protobuf::internal::TSanWrite(&
_impl_);
2869 if (GetArena() ==
nullptr) {
2870 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.transition_time_matrix_);
2873 if (value !=
nullptr) {
2874 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2876 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2881 ::google::protobuf::internal::TSanWrite(&
_impl_);
2883 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2885 _impl_.transition_time_matrix_ =
nullptr;
2886 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2887 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2888 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2889 if (GetArena() ==
nullptr) {
2893 if (GetArena() !=
nullptr) {
2894 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2900 ::google::protobuf::internal::TSanWrite(&
_impl_);
2903 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2905 _impl_.transition_time_matrix_ =
nullptr;
2908inline ::operations_research::scheduling::jssp::TransitionTimeMatrix* PROTOBUF_NONNULL Machine::_internal_mutable_transition_time_matrix() {
2909 ::google::protobuf::internal::TSanWrite(&
_impl_);
2910 if (
_impl_.transition_time_matrix_ ==
nullptr) {
2911 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::scheduling::jssp::TransitionTimeMatrix>(GetArena());
2914 return _impl_.transition_time_matrix_;
2917 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2918 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2924 ::google::protobuf::Arena* message_arena = GetArena();
2925 ::google::protobuf::internal::TSanWrite(&
_impl_);
2926 if (message_arena ==
nullptr) {
2927 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.transition_time_matrix_);
2930 if (value !=
nullptr) {
2931 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2932 if (message_arena != submessage_arena) {
2933 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2935 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2937 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2946 ::google::protobuf::internal::TSanWrite(&
_impl_);
2947 _impl_.name_.ClearToEmpty();
2948 ClearHasBit(
_impl_._has_bits_[0],
2952 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2954 return _internal_name();
2956template <
typename Arg_,
typename... Args_>
2958 ::google::protobuf::internal::TSanWrite(&
_impl_);
2959 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
2960 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2964 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2965 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
2966 ::std::string* _s = _internal_mutable_name();
2970inline const ::std::string& Machine::_internal_name()
const {
2971 ::google::protobuf::internal::TSanRead(&
_impl_);
2972 return _impl_.name_.Get();
2974inline void Machine::_internal_set_name(const ::std::string& value) {
2975 ::google::protobuf::internal::TSanWrite(&
_impl_);
2976 _impl_.name_.Set(value, GetArena());
2978inline ::std::string* PROTOBUF_NONNULL Machine::_internal_mutable_name() {
2979 ::google::protobuf::internal::TSanWrite(&
_impl_);
2980 return _impl_.name_.Mutable( GetArena());
2983 ::google::protobuf::internal::TSanWrite(&
_impl_);
2985 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
2988 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
2989 auto* released =
_impl_.name_.Release();
2990 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2991 _impl_.name_.Set(
"", GetArena());
2996 ::google::protobuf::internal::TSanWrite(&
_impl_);
2997 if (value !=
nullptr) {
2998 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
3000 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
3002 _impl_.name_.SetAllocated(value, GetArena());
3003 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
3004 _impl_.name_.Set(
"", GetArena());
3015 ::google::protobuf::internal::TSanWrite(&
_impl_);
3016 _impl_.first_job_index_ = 0;
3017 ClearHasBit(
_impl_._has_bits_[0],
3022 return _internal_first_job_index();
3025 _internal_set_first_job_index(value);
3026 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
3029inline ::int32_t JobPrecedence::_internal_first_job_index()
const {
3030 ::google::protobuf::internal::TSanRead(&
_impl_);
3033inline void JobPrecedence::_internal_set_first_job_index(::int32_t value) {
3034 ::google::protobuf::internal::TSanWrite(&
_impl_);
3035 _impl_.first_job_index_ = value;
3040 ::google::protobuf::internal::TSanWrite(&
_impl_);
3042 ClearHasBit(
_impl_._has_bits_[0],
3047 return _internal_second_job_index();
3050 _internal_set_second_job_index(value);
3051 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3054inline ::int32_t JobPrecedence::_internal_second_job_index()
const {
3055 ::google::protobuf::internal::TSanRead(&
_impl_);
3058inline void JobPrecedence::_internal_set_second_job_index(::int32_t value) {
3059 ::google::protobuf::internal::TSanWrite(&
_impl_);
3060 _impl_.second_job_index_ = value;
3065 ::google::protobuf::internal::TSanWrite(&
_impl_);
3067 ClearHasBit(
_impl_._has_bits_[0],
3072 return _internal_min_delay();
3075 _internal_set_min_delay(value);
3076 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
3079inline ::int64_t JobPrecedence::_internal_min_delay()
const {
3080 ::google::protobuf::internal::TSanRead(&
_impl_);
3083inline void JobPrecedence::_internal_set_min_delay(::int64_t value) {
3084 ::google::protobuf::internal::TSanWrite(&
_impl_);
3085 _impl_.min_delay_ = value;
3093inline int JsspInputProblem::_internal_jobs_size()
const {
3094 return _internal_jobs().size();
3097 return _internal_jobs_size();
3100 ::google::protobuf::internal::TSanWrite(&
_impl_);
3102 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3106 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3108 return _internal_mutable_jobs()->Mutable(index);
3111 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3112 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3114 ::google::protobuf::internal::TSanWrite(&
_impl_);
3115 return _internal_mutable_jobs();
3118 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3120 return _internal_jobs().Get(index);
3123 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3124 ::google::protobuf::internal::TSanWrite(&
_impl_);
3126 _internal_mutable_jobs()->InternalAddWithArena(
3127 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3128 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3132inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>&
JsspInputProblem::jobs() const
3133 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3135 return _internal_jobs();
3137inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>&
3138JsspInputProblem::_internal_jobs()
const {
3139 ::google::protobuf::internal::TSanRead(&
_impl_);
3142inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL
3143JsspInputProblem::_internal_mutable_jobs() {
3144 ::google::protobuf::internal::TSanRead(&
_impl_);
3149inline int JsspInputProblem::_internal_machines_size()
const {
3150 return _internal_machines().size();
3153 return _internal_machines_size();
3156 ::google::protobuf::internal::TSanWrite(&
_impl_);
3157 _impl_.machines_.Clear();
3158 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3162 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3164 return _internal_mutable_machines()->Mutable(index);
3167 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3168 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
3170 ::google::protobuf::internal::TSanWrite(&
_impl_);
3171 return _internal_mutable_machines();
3174 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3176 return _internal_machines().Get(index);
3179 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3180 ::google::protobuf::internal::TSanWrite(&
_impl_);
3182 _internal_mutable_machines()->InternalAddWithArena(
3183 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3184 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
3188inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>&
JsspInputProblem::machines() const
3189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3191 return _internal_machines();
3193inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>&
3194JsspInputProblem::_internal_machines()
const {
3195 ::google::protobuf::internal::TSanRead(&
_impl_);
3198inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL
3199JsspInputProblem::_internal_mutable_machines() {
3200 ::google::protobuf::internal::TSanRead(&
_impl_);
3201 return &
_impl_.machines_;
3205inline int JsspInputProblem::_internal_precedences_size()
const {
3206 return _internal_precedences().size();
3209 return _internal_precedences_size();
3212 ::google::protobuf::internal::TSanWrite(&
_impl_);
3213 _impl_.precedences_.Clear();
3214 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3218 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3220 return _internal_mutable_precedences()->Mutable(index);
3223 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3224 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
3226 ::google::protobuf::internal::TSanWrite(&
_impl_);
3227 return _internal_mutable_precedences();
3230 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3232 return _internal_precedences().Get(index);
3235 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3236 ::google::protobuf::internal::TSanWrite(&
_impl_);
3238 _internal_mutable_precedences()->InternalAddWithArena(
3239 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3240 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
3244inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>&
JsspInputProblem::precedences() const
3245 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3247 return _internal_precedences();
3249inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>&
3250JsspInputProblem::_internal_precedences()
const {
3251 ::google::protobuf::internal::TSanRead(&
_impl_);
3254inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL
3255JsspInputProblem::_internal_mutable_precedences() {
3256 ::google::protobuf::internal::TSanRead(&
_impl_);
3257 return &
_impl_.precedences_;
3262 ::google::protobuf::internal::TSanWrite(&
_impl_);
3263 _impl_.makespan_cost_per_time_unit_ = ::int64_t{0};
3264 ClearHasBit(
_impl_._has_bits_[0],
3269 return _internal_makespan_cost_per_time_unit();
3272 _internal_set_makespan_cost_per_time_unit(value);
3273 SetHasBit(
_impl_._has_bits_[0], 0x00000020U);
3276inline ::int64_t JsspInputProblem::_internal_makespan_cost_per_time_unit()
const {
3277 ::google::protobuf::internal::TSanRead(&
_impl_);
3278 return _impl_.makespan_cost_per_time_unit_;
3280inline void JsspInputProblem::_internal_set_makespan_cost_per_time_unit(::int64_t value) {
3281 ::google::protobuf::internal::TSanWrite(&
_impl_);
3282 _impl_.makespan_cost_per_time_unit_ = value;
3287 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000010U);
3288 PROTOBUF_ASSUME(!value ||
_impl_.scaling_factor_ !=
nullptr);
3291inline const ::google::protobuf::DoubleValue& JsspInputProblem::_internal_scaling_factor()
const {
3292 ::google::protobuf::internal::TSanRead(&
_impl_);
3293 const ::google::protobuf::DoubleValue* p =
_impl_.scaling_factor_;
3294 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::DoubleValue&
>(::google::protobuf::_DoubleValue_default_instance_);
3298 return _internal_scaling_factor();
3301 ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE value) {
3302 ::google::protobuf::internal::TSanWrite(&
_impl_);
3303 if (GetArena() ==
nullptr) {
3304 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.scaling_factor_);
3306 _impl_.scaling_factor_ =
reinterpret_cast<::google::protobuf::DoubleValue*
>(value);
3307 if (value !=
nullptr) {
3308 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
3310 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
3315 ::google::protobuf::internal::TSanWrite(&
_impl_);
3317 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
3318 ::google::protobuf::DoubleValue* released =
_impl_.scaling_factor_;
3319 _impl_.scaling_factor_ =
nullptr;
3320 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3321 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3322 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3323 if (GetArena() ==
nullptr) {
3327 if (GetArena() !=
nullptr) {
3328 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3334 ::google::protobuf::internal::TSanWrite(&
_impl_);
3337 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
3338 ::google::protobuf::DoubleValue* temp =
_impl_.scaling_factor_;
3339 _impl_.scaling_factor_ =
nullptr;
3342inline ::google::protobuf::DoubleValue* PROTOBUF_NONNULL JsspInputProblem::_internal_mutable_scaling_factor() {
3343 ::google::protobuf::internal::TSanWrite(&
_impl_);
3344 if (
_impl_.scaling_factor_ ==
nullptr) {
3345 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena());
3346 _impl_.scaling_factor_ =
reinterpret_cast<::google::protobuf::DoubleValue*
>(p);
3348 return _impl_.scaling_factor_;
3351 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3352 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
3353 ::google::protobuf::DoubleValue* _msg = _internal_mutable_scaling_factor();
3358 ::google::protobuf::Arena* message_arena = GetArena();
3359 ::google::protobuf::internal::TSanWrite(&
_impl_);
3360 if (message_arena ==
nullptr) {
3361 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.scaling_factor_);
3364 if (value !=
nullptr) {
3365 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3366 if (message_arena != submessage_arena) {
3367 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3369 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
3371 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
3374 _impl_.scaling_factor_ =
reinterpret_cast<::google::protobuf::DoubleValue*
>(value);
3380 ::google::protobuf::internal::TSanWrite(&
_impl_);
3382 ClearHasBit(
_impl_._has_bits_[0],
3387 return _internal_seed();
3390 _internal_set_seed(value);
3391 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
3394inline ::int32_t JsspInputProblem::_internal_seed()
const {
3395 ::google::protobuf::internal::TSanRead(&
_impl_);
3398inline void JsspInputProblem::_internal_set_seed(::int32_t value) {
3399 ::google::protobuf::internal::TSanWrite(&
_impl_);
3405 ::google::protobuf::internal::TSanWrite(&
_impl_);
3406 _impl_.name_.ClearToEmpty();
3411 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3413 return _internal_name();
3415template <
typename Arg_,
typename... Args_>
3417 ::google::protobuf::internal::TSanWrite(&
_impl_);
3418 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
3419 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3423 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3424 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
3425 ::std::string* _s = _internal_mutable_name();
3429inline const ::std::string& JsspInputProblem::_internal_name()
const {
3430 ::google::protobuf::internal::TSanRead(&
_impl_);
3431 return _impl_.name_.Get();
3433inline void JsspInputProblem::_internal_set_name(const ::std::string& value) {
3434 ::google::protobuf::internal::TSanWrite(&
_impl_);
3435 _impl_.name_.Set(value, GetArena());
3437inline ::std::string* PROTOBUF_NONNULL JsspInputProblem::_internal_mutable_name() {
3438 ::google::protobuf::internal::TSanWrite(&
_impl_);
3439 return _impl_.name_.Mutable( GetArena());
3442 ::google::protobuf::internal::TSanWrite(&
_impl_);
3444 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000008U)) {
3447 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
3448 auto* released =
_impl_.name_.Release();
3449 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3450 _impl_.name_.Set(
"", GetArena());
3455 ::google::protobuf::internal::TSanWrite(&
_impl_);
3456 if (value !=
nullptr) {
3457 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
3459 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
3461 _impl_.name_.SetAllocated(value, GetArena());
3462 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
3463 _impl_.name_.Set(
"", GetArena());
3474 ::google::protobuf::internal::TSanWrite(&
_impl_);
3475 _impl_.alternative_index_ = 0;
3476 ClearHasBit(
_impl_._has_bits_[0],
3481 return _internal_alternative_index();
3484 _internal_set_alternative_index(value);
3485 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3488inline ::int32_t AssignedTask::_internal_alternative_index()
const {
3489 ::google::protobuf::internal::TSanRead(&
_impl_);
3490 return _impl_.alternative_index_;
3492inline void AssignedTask::_internal_set_alternative_index(::int32_t value) {
3493 ::google::protobuf::internal::TSanWrite(&
_impl_);
3494 _impl_.alternative_index_ = value;
3499 ::google::protobuf::internal::TSanWrite(&
_impl_);
3500 _impl_.start_time_ = ::int64_t{0};
3501 ClearHasBit(
_impl_._has_bits_[0],
3506 return _internal_start_time();
3509 _internal_set_start_time(value);
3510 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
3513inline ::int64_t AssignedTask::_internal_start_time()
const {
3514 ::google::protobuf::internal::TSanRead(&
_impl_);
3515 return _impl_.start_time_;
3517inline void AssignedTask::_internal_set_start_time(::int64_t value) {
3518 ::google::protobuf::internal::TSanWrite(&
_impl_);
3519 _impl_.start_time_ = value;
3527inline int AssignedJob::_internal_tasks_size()
const {
3528 return _internal_tasks().size();
3531 return _internal_tasks_size();
3534 ::google::protobuf::internal::TSanWrite(&
_impl_);
3536 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3540 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3542 return _internal_mutable_tasks()->Mutable(index);
3544inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL
AssignedJob::mutable_tasks()
3545 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3546 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3548 ::google::protobuf::internal::TSanWrite(&
_impl_);
3549 return _internal_mutable_tasks();
3551inline const ::operations_research::scheduling::jssp::AssignedTask&
AssignedJob::tasks(
int index)
const
3552 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3554 return _internal_tasks().Get(index);
3557 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3558 ::google::protobuf::internal::TSanWrite(&
_impl_);
3560 _internal_mutable_tasks()->InternalAddWithArena(
3561 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3562 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3566inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>&
AssignedJob::tasks() const
3567 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3569 return _internal_tasks();
3571inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>&
3572AssignedJob::_internal_tasks()
const {
3573 ::google::protobuf::internal::TSanRead(&
_impl_);
3576inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL
3577AssignedJob::_internal_mutable_tasks() {
3578 ::google::protobuf::internal::TSanRead(&
_impl_);
3584 ::google::protobuf::internal::TSanWrite(&
_impl_);
3585 _impl_.due_date_cost_ = ::int64_t{0};
3591 return _internal_due_date_cost();
3594 _internal_set_due_date_cost(value);
3595 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3598inline ::int64_t AssignedJob::_internal_due_date_cost()
const {
3599 ::google::protobuf::internal::TSanRead(&
_impl_);
3600 return _impl_.due_date_cost_;
3602inline void AssignedJob::_internal_set_due_date_cost(::int64_t value) {
3603 ::google::protobuf::internal::TSanWrite(&
_impl_);
3604 _impl_.due_date_cost_ = value;
3609 ::google::protobuf::internal::TSanWrite(&
_impl_);
3610 _impl_.sum_of_task_costs_ = ::int64_t{0};
3611 ClearHasBit(
_impl_._has_bits_[0],
3616 return _internal_sum_of_task_costs();
3619 _internal_set_sum_of_task_costs(value);
3620 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
3623inline ::int64_t AssignedJob::_internal_sum_of_task_costs()
const {
3624 ::google::protobuf::internal::TSanRead(&
_impl_);
3625 return _impl_.sum_of_task_costs_;
3627inline void AssignedJob::_internal_set_sum_of_task_costs(::int64_t value) {
3628 ::google::protobuf::internal::TSanWrite(&
_impl_);
3629 _impl_.sum_of_task_costs_ = value;
3637inline int JsspOutputSolution::_internal_jobs_size()
const {
3638 return _internal_jobs().size();
3641 return _internal_jobs_size();
3644 ::google::protobuf::internal::TSanWrite(&
_impl_);
3646 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3650 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3652 return _internal_mutable_jobs()->Mutable(index);
3655 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3656 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3658 ::google::protobuf::internal::TSanWrite(&
_impl_);
3659 return _internal_mutable_jobs();
3662 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3664 return _internal_jobs().Get(index);
3667 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3668 ::google::protobuf::internal::TSanWrite(&
_impl_);
3670 _internal_mutable_jobs()->InternalAddWithArena(
3671 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3672 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3676inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>&
JsspOutputSolution::jobs() const
3677 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3679 return _internal_jobs();
3681inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>&
3682JsspOutputSolution::_internal_jobs()
const {
3683 ::google::protobuf::internal::TSanRead(&
_impl_);
3686inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL
3687JsspOutputSolution::_internal_mutable_jobs() {
3688 ::google::protobuf::internal::TSanRead(&
_impl_);
3694 ::google::protobuf::internal::TSanWrite(&
_impl_);
3695 _impl_.makespan_cost_ = ::int64_t{0};
3696 ClearHasBit(
_impl_._has_bits_[0],
3701 return _internal_makespan_cost();
3704 _internal_set_makespan_cost(value);
3705 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3708inline ::int64_t JsspOutputSolution::_internal_makespan_cost()
const {
3709 ::google::protobuf::internal::TSanRead(&
_impl_);
3710 return _impl_.makespan_cost_;
3712inline void JsspOutputSolution::_internal_set_makespan_cost(::int64_t value) {
3713 ::google::protobuf::internal::TSanWrite(&
_impl_);
3719 ::google::protobuf::internal::TSanWrite(&
_impl_);
3721 ClearHasBit(
_impl_._has_bits_[0],
3726 return _internal_total_cost();
3729 _internal_set_total_cost(value);
3730 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
3733inline ::int64_t JsspOutputSolution::_internal_total_cost()
const {
3734 ::google::protobuf::internal::TSanRead(&
_impl_);
3735 return _impl_.total_cost_;
3737inline void JsspOutputSolution::_internal_set_total_cost(::int64_t value) {
3738 ::google::protobuf::internal::TSanWrite(&
_impl_);
3743#pragma GCC diagnostic pop
3754#include "google/protobuf/port_undef.inc"
static const AssignedJob & default_instance()
void UnsafeArenaSwap(AssignedJob *PROTOBUF_NONNULL other)
::int64_t sum_of_task_costs() const
AssignedJob *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void set_sum_of_task_costs(::int64_t value)
bool IsInitialized() const
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
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()
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()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_due_date_cost(::int64_t value)
AssignedTask *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void clear_alternative_index()
bool IsInitialized() const
void CopyFrom(const AssignedTask &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
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
void Swap(AssignedTask *PROTOBUF_NONNULL other)
void set_start_time(::int64_t value)
::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::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()
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
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()
::int64_t min_delay() const
void clear_earliness_cost_per_time_unit()
Job *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::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
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
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()
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
void set_allocated_latest_end(::google::protobuf::Int64Value *PROTOBUF_NULLABLE value)
void set_earliness_cost_per_time_unit(::int64_t value)
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()
void set_late_due_date(::int64_t value)
const ::google::protobuf::Int64Value & latest_end() const
bool IsInitialized() const
void clear_early_due_date()
::int64_t earliness_cost_per_time_unit() const
::std::string *PROTOBUF_NULLABLE release_name()
::google::protobuf::Int64Value *PROTOBUF_NULLABLE unsafe_arena_release_latest_end()
@ kLatenessCostPerTimeUnitFieldNumber
friend class ::google::protobuf::Arena
::google::protobuf::Int64Value *PROTOBUF_NONNULL mutable_earliest_start()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void clear_makespan_cost()
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
::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
::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)
::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)
::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
::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
::std::string *PROTOBUF_NONNULL mutable_name()
void CopyFrom(const Machine &from)
const ::std::string & name() const
bool IsInitialized() const
void clear_transition_time_matrix()
void unsafe_arena_set_allocated_transition_time_matrix(::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NULLABLE value)
Machine & operator=(const Machine &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Machine *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void set_cost(int index, ::int64_t value)
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
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
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
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
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
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_