Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
jobshop_scheduling.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/scheduling/jobshop_scheduling.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fscheduling_2fjobshop_5fscheduling_2eproto_2epb_2eh
7#define ortools_2fscheduling_2fjobshop_5fscheduling_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
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" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/unknown_field_set.h"
32#include "google/protobuf/wrappers.pb.h"
33// @@protoc_insertion_point(includes)
34
35// Must be included last.
36#include "google/protobuf/port_def.inc"
37
38#define PROTOBUF_INTERNAL_EXPORT_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto OR_PROTO_DLL
39
40namespace google {
41namespace protobuf {
42namespace internal {
43template <typename T>
44::absl::string_view GetAnyMessageName();
45} // namespace internal
46} // namespace protobuf
47} // namespace google
48
49// Internal implementation detail -- do not use these members.
51 static const ::uint32_t offsets[];
52};
53extern "C" {
54OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
55} // extern "C"
56namespace operations_research {
57namespace scheduling {
58namespace jssp {
59class AssignedJob;
62OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AssignedJob_class_data_;
63class AssignedTask;
66OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AssignedTask_class_data_;
67class Job;
70OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Job_class_data_;
71class JobPrecedence;
74OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull JobPrecedence_class_data_;
78OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull JsspInputProblem_class_data_;
82OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull JsspOutputSolution_class_data_;
83class Machine;
86OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Machine_class_data_;
87class Task;
90OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Task_class_data_;
94OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull TransitionTimeMatrix_class_data_;
95} // namespace jssp
96} // namespace scheduling
97} // namespace operations_research
98namespace google {
99namespace protobuf {
100} // namespace protobuf
101} // namespace google
102
103namespace operations_research {
104namespace scheduling {
105namespace jssp {
106
107// ===================================================================
108
109
110// -------------------------------------------------------------------
111
112class OR_PROTO_DLL TransitionTimeMatrix final : public ::google::protobuf::Message
113/* @@protoc_insertion_point(class_definition:operations_research.scheduling.jssp.TransitionTimeMatrix) */ {
114 public:
115 inline TransitionTimeMatrix() : TransitionTimeMatrix(nullptr) {}
116 ~TransitionTimeMatrix() PROTOBUF_FINAL;
118#if defined(PROTOBUF_CUSTOM_VTABLE)
119 void operator delete(TransitionTimeMatrix* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
120 SharedDtor(*msg);
121 ::google::protobuf::internal::SizedDelete(msg, sizeof(TransitionTimeMatrix));
122 }
123#endif
124
125 template <typename = void>
126 explicit PROTOBUF_CONSTEXPR TransitionTimeMatrix(::google::protobuf::internal::ConstantInitialized);
127
128 inline TransitionTimeMatrix(const TransitionTimeMatrix& from) : TransitionTimeMatrix(nullptr, from) {}
129 inline TransitionTimeMatrix(TransitionTimeMatrix&& from) noexcept
130 : TransitionTimeMatrix(nullptr, ::std::move(from)) {}
133 return *this;
134 }
135 inline TransitionTimeMatrix& operator=(TransitionTimeMatrix&& from) noexcept {
136 if (this == &from) return *this;
137 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
138 InternalSwap(&from);
139 } else {
140 CopyFrom(from);
141 }
142 return *this;
143 }
144
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);
148 }
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>();
152 }
153
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;
163 static const TransitionTimeMatrix& default_instance() {
164 return *reinterpret_cast<const TransitionTimeMatrix*>(
166 }
167 static constexpr int kIndexInFileMessages = 2;
168 friend void swap(TransitionTimeMatrix& a, TransitionTimeMatrix& b) { a.Swap(&b); }
169 inline void Swap(TransitionTimeMatrix* PROTOBUF_NONNULL other) {
170 if (other == this) return;
171 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
172 InternalSwap(other);
173 } else {
174 ::google::protobuf::internal::GenericSwap(this, other);
175 }
176 }
177 void UnsafeArenaSwap(TransitionTimeMatrix* PROTOBUF_NONNULL other) {
178 if (other == this) return;
179 ABSL_DCHECK(GetArena() == other->GetArena());
180 InternalSwap(other);
181 }
182
183 // implements Message ----------------------------------------------
184
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;
189 void CopyFrom(const TransitionTimeMatrix& from);
190 using ::google::protobuf::Message::MergeFrom;
191 void MergeFrom(const TransitionTimeMatrix& from) { TransitionTimeMatrix::MergeImpl(*this, from); }
192
193 private:
194 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
195 const ::google::protobuf::MessageLite& from_msg);
196
197 public:
198 bool IsInitialized() const {
199 return true;
201 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
202 #if defined(PROTOBUF_CUSTOM_VTABLE)
203 private:
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);
208
209 public:
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);
215 }
216 #else // PROTOBUF_CUSTOM_VTABLE
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;
221 #endif // PROTOBUF_CUSTOM_VTABLE
222 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
223
224 private:
225 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
226 static void SharedDtor(MessageLite& self);
227 void InternalSwap(TransitionTimeMatrix* PROTOBUF_NONNULL other);
228 private:
229 template <typename T>
230 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
231 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.jssp.TransitionTimeMatrix"; }
232
233 protected:
234 explicit TransitionTimeMatrix(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
235 TransitionTimeMatrix(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TransitionTimeMatrix& from);
237 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TransitionTimeMatrix&& from) noexcept
239 *this = ::std::move(from);
240 }
241 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
242 static void* PROTOBUF_NONNULL PlacementNew_(
243 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
244 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
245 static constexpr auto InternalNewImpl_();
246
247 public:
248 static constexpr auto InternalGenerateClassData_();
249
250 ::google::protobuf::Metadata GetMetadata() const;
251 // nested types ----------------------------------------------------
252
253 // accessors -------------------------------------------------------
254 enum : int {
255 kTransitionTimeFieldNumber = 1,
256 };
257 // repeated int64 transition_time = 1;
258 int transition_time_size() const;
259 private:
260 int _internal_transition_time_size() const;
261
262 public:
263 void clear_transition_time() ;
264 ::int64_t transition_time(int index) const;
265 void set_transition_time(int index, ::int64_t value);
266 void add_transition_time(::int64_t value);
267 const ::google::protobuf::RepeatedField<::int64_t>& transition_time() const;
268 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_transition_time();
269
270 private:
271 const ::google::protobuf::RepeatedField<::int64_t>& _internal_transition_time() const;
272 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_transition_time();
273
274 public:
275 // @@protoc_insertion_point(class_scope:operations_research.scheduling.jssp.TransitionTimeMatrix)
276 private:
277 class _Internal;
278 friend class ::google::protobuf::internal::TcParser;
279 static const ::google::protobuf::internal::TcParseTable<0, 1,
280 0, 0,
281 2>
282 _table_;
283
284 friend class ::google::protobuf::MessageLite;
285 friend class ::google::protobuf::Arena;
286 template <typename T>
287 friend class ::google::protobuf::Arena::InternalHelper;
288 using InternalArenaConstructable_ = void;
289 using DestructorSkippable_ = void;
290 struct Impl_ {
291 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
292 inline explicit Impl_(
293 ::google::protobuf::internal::InternalVisibility visibility,
294 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
295 inline explicit Impl_(
296 ::google::protobuf::internal::InternalVisibility visibility,
297 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
298 const TransitionTimeMatrix& from_msg);
299 ::google::protobuf::RepeatedField<::int64_t> transition_time_;
300 ::google::protobuf::internal::CachedSize _transition_time_cached_byte_size_;
301 ::google::protobuf::internal::CachedSize _cached_size_;
302 PROTOBUF_TSAN_DECLARE_MEMBER
303 };
304 union { Impl_ _impl_; };
305 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
308OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull TransitionTimeMatrix_class_data_;
309// -------------------------------------------------------------------
310
311class OR_PROTO_DLL Task final : public ::google::protobuf::Message
312/* @@protoc_insertion_point(class_definition:operations_research.scheduling.jssp.Task) */ {
313 public:
314 inline Task() : Task(nullptr) {}
315 ~Task() PROTOBUF_FINAL;
316
317#if defined(PROTOBUF_CUSTOM_VTABLE)
318 void operator delete(Task* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
319 SharedDtor(*msg);
320 ::google::protobuf::internal::SizedDelete(msg, sizeof(Task));
321 }
322#endif
323
324 template <typename = void>
325 explicit PROTOBUF_CONSTEXPR Task(::google::protobuf::internal::ConstantInitialized);
326
327 inline Task(const Task& from) : Task(nullptr, from) {}
328 inline Task(Task&& from) noexcept
329 : Task(nullptr, ::std::move(from)) {}
330 inline Task& operator=(const Task& from) {
331 CopyFrom(from);
332 return *this;
334 inline Task& operator=(Task&& from) noexcept {
335 if (this == &from) return *this;
336 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
337 InternalSwap(&from);
338 } else {
339 CopyFrom(from);
340 }
341 return *this;
342 }
343
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>();
352
353 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
354 return GetDescriptor();
355 }
356 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
357 return default_instance().GetMetadata().descriptor;
358 }
359 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
360 return default_instance().GetMetadata().reflection;
361 }
362 static const Task& default_instance() {
363 return *reinterpret_cast<const Task*>(
366 static constexpr int kIndexInFileMessages = 0;
367 friend void swap(Task& a, Task& b) { a.Swap(&b); }
368 inline void Swap(Task* PROTOBUF_NONNULL other) {
369 if (other == this) return;
370 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
371 InternalSwap(other);
372 } else {
373 ::google::protobuf::internal::GenericSwap(this, other);
374 }
375 }
376 void UnsafeArenaSwap(Task* PROTOBUF_NONNULL other) {
377 if (other == this) return;
378 ABSL_DCHECK(GetArena() == other->GetArena());
379 InternalSwap(other);
380 }
381
382 // implements Message ----------------------------------------------
383
384 Task* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
385 return ::google::protobuf::Message::DefaultConstruct<Task>(arena);
386 }
387 using ::google::protobuf::Message::CopyFrom;
388 void CopyFrom(const Task& from);
389 using ::google::protobuf::Message::MergeFrom;
390 void MergeFrom(const Task& from) { Task::MergeImpl(*this, from); }
391
392 private:
393 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
394 const ::google::protobuf::MessageLite& from_msg);
395
396 public:
397 bool IsInitialized() const {
398 return true;
399 }
400 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
401 #if defined(PROTOBUF_CUSTOM_VTABLE)
402 private:
403 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
404 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
405 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
406 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
407
408 public:
409 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
414 }
415 #else // PROTOBUF_CUSTOM_VTABLE
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;
420 #endif // PROTOBUF_CUSTOM_VTABLE
421 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
422
423 private:
424 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
425 static void SharedDtor(MessageLite& self);
426 void InternalSwap(Task* PROTOBUF_NONNULL other);
427 private:
428 template <typename T>
429 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
430 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.jssp.Task"; }
431
432 protected:
433 explicit Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
434 Task(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Task& from);
435 Task(
436 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Task&& from) noexcept
437 : Task(arena) {
438 *this = ::std::move(from);
439 }
440 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
441 static void* PROTOBUF_NONNULL PlacementNew_(
442 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
443 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
444 static constexpr auto InternalNewImpl_();
445
446 public:
447 static constexpr auto InternalGenerateClassData_();
448
449 ::google::protobuf::Metadata GetMetadata() const;
450 // nested types ----------------------------------------------------
451
452 // accessors -------------------------------------------------------
453 enum : int {
454 kMachineFieldNumber = 1,
455 kDurationFieldNumber = 2,
456 kCostFieldNumber = 3,
457 };
458 // repeated int32 machine = 1;
459 int machine_size() const;
460 private:
461 int _internal_machine_size() const;
462
463 public:
464 void clear_machine() ;
465 ::int32_t machine(int index) const;
466 void set_machine(int index, ::int32_t value);
467 void add_machine(::int32_t value);
468 const ::google::protobuf::RepeatedField<::int32_t>& machine() const;
469 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_machine();
470
471 private:
472 const ::google::protobuf::RepeatedField<::int32_t>& _internal_machine() const;
473 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_machine();
474
475 public:
476 // repeated int64 duration = 2;
477 int duration_size() const;
478 private:
479 int _internal_duration_size() const;
480
481 public:
482 void clear_duration() ;
483 ::int64_t duration(int index) const;
484 void set_duration(int index, ::int64_t value);
485 void add_duration(::int64_t value);
486 const ::google::protobuf::RepeatedField<::int64_t>& duration() const;
487 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_duration();
488
489 private:
490 const ::google::protobuf::RepeatedField<::int64_t>& _internal_duration() const;
491 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_duration();
492
493 public:
494 // repeated int64 cost = 3;
495 int cost_size() const;
496 private:
497 int _internal_cost_size() const;
498
499 public:
500 void clear_cost() ;
501 ::int64_t cost(int index) const;
502 void set_cost(int index, ::int64_t value);
503 void add_cost(::int64_t value);
504 const ::google::protobuf::RepeatedField<::int64_t>& cost() const;
505 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_cost();
506
507 private:
508 const ::google::protobuf::RepeatedField<::int64_t>& _internal_cost() const;
509 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_cost();
510
511 public:
512 // @@protoc_insertion_point(class_scope:operations_research.scheduling.jssp.Task)
513 private:
514 class _Internal;
515 friend class ::google::protobuf::internal::TcParser;
516 static const ::google::protobuf::internal::TcParseTable<2, 3,
517 0, 0,
518 2>
519 _table_;
520
521 friend class ::google::protobuf::MessageLite;
522 friend class ::google::protobuf::Arena;
523 template <typename T>
524 friend class ::google::protobuf::Arena::InternalHelper;
525 using InternalArenaConstructable_ = void;
526 using DestructorSkippable_ = void;
527 struct Impl_ {
528 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
529 inline explicit Impl_(
530 ::google::protobuf::internal::InternalVisibility visibility,
531 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
532 inline explicit Impl_(
533 ::google::protobuf::internal::InternalVisibility visibility,
534 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
535 const Task& from_msg);
536 ::google::protobuf::RepeatedField<::int32_t> machine_;
537 ::google::protobuf::internal::CachedSize _machine_cached_byte_size_;
538 ::google::protobuf::RepeatedField<::int64_t> duration_;
539 ::google::protobuf::internal::CachedSize _duration_cached_byte_size_;
540 ::google::protobuf::RepeatedField<::int64_t> cost_;
541 ::google::protobuf::internal::CachedSize _cost_cached_byte_size_;
542 ::google::protobuf::internal::CachedSize _cached_size_;
543 PROTOBUF_TSAN_DECLARE_MEMBER
544 };
545 union { Impl_ _impl_; };
546 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
547};
549OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Task_class_data_;
550// -------------------------------------------------------------------
551
552class OR_PROTO_DLL JobPrecedence final : public ::google::protobuf::Message
553/* @@protoc_insertion_point(class_definition:operations_research.scheduling.jssp.JobPrecedence) */ {
554 public:
555 inline JobPrecedence() : JobPrecedence(nullptr) {}
556 ~JobPrecedence() PROTOBUF_FINAL;
557
558#if defined(PROTOBUF_CUSTOM_VTABLE)
559 void operator delete(JobPrecedence* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
560 SharedDtor(*msg);
561 ::google::protobuf::internal::SizedDelete(msg, sizeof(JobPrecedence));
562 }
563#endif
564
565 template <typename = void>
566 explicit PROTOBUF_CONSTEXPR JobPrecedence(::google::protobuf::internal::ConstantInitialized);
567
568 inline JobPrecedence(const JobPrecedence& from) : JobPrecedence(nullptr, from) {}
569 inline JobPrecedence(JobPrecedence&& from) noexcept
570 : JobPrecedence(nullptr, ::std::move(from)) {}
571 inline JobPrecedence& operator=(const JobPrecedence& from) {
572 CopyFrom(from);
573 return *this;
574 }
575 inline JobPrecedence& operator=(JobPrecedence&& from) noexcept {
576 if (this == &from) return *this;
577 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
578 InternalSwap(&from);
579 } else {
580 CopyFrom(from);
581 }
582 return *this;
583 }
584
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);
588 }
589 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
590 ABSL_ATTRIBUTE_LIFETIME_BOUND {
591 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
592 }
594 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
595 return GetDescriptor();
596 }
597 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
598 return default_instance().GetMetadata().descriptor;
599 }
600 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
601 return default_instance().GetMetadata().reflection;
602 }
603 static const JobPrecedence& default_instance() {
604 return *reinterpret_cast<const JobPrecedence*>(
606 }
607 static constexpr int kIndexInFileMessages = 4;
608 friend void swap(JobPrecedence& a, JobPrecedence& b) { a.Swap(&b); }
609 inline void Swap(JobPrecedence* PROTOBUF_NONNULL other) {
610 if (other == this) return;
611 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
612 InternalSwap(other);
613 } else {
614 ::google::protobuf::internal::GenericSwap(this, other);
615 }
616 }
617 void UnsafeArenaSwap(JobPrecedence* PROTOBUF_NONNULL other) {
618 if (other == this) return;
619 ABSL_DCHECK(GetArena() == other->GetArena());
620 InternalSwap(other);
622
623 // implements Message ----------------------------------------------
624
625 JobPrecedence* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
626 return ::google::protobuf::Message::DefaultConstruct<JobPrecedence>(arena);
627 }
628 using ::google::protobuf::Message::CopyFrom;
629 void CopyFrom(const JobPrecedence& from);
630 using ::google::protobuf::Message::MergeFrom;
631 void MergeFrom(const JobPrecedence& from) { JobPrecedence::MergeImpl(*this, from); }
632
633 private:
634 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
635 const ::google::protobuf::MessageLite& from_msg);
636
637 public:
638 bool IsInitialized() const {
639 return true;
640 }
641 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
642 #if defined(PROTOBUF_CUSTOM_VTABLE)
643 private:
644 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
645 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
646 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
647 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
648
649 public:
650 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
655 }
656 #else // PROTOBUF_CUSTOM_VTABLE
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;
661 #endif // PROTOBUF_CUSTOM_VTABLE
662 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
663
664 private:
665 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
666 static void SharedDtor(MessageLite& self);
667 void InternalSwap(JobPrecedence* PROTOBUF_NONNULL other);
668 private:
669 template <typename T>
670 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
671 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.jssp.JobPrecedence"; }
672
673 protected:
674 explicit JobPrecedence(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
675 JobPrecedence(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JobPrecedence& from);
677 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, JobPrecedence&& from) noexcept
678 : JobPrecedence(arena) {
679 *this = ::std::move(from);
681 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
682 static void* PROTOBUF_NONNULL PlacementNew_(
683 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
684 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
685 static constexpr auto InternalNewImpl_();
686
687 public:
688 static constexpr auto InternalGenerateClassData_();
689
690 ::google::protobuf::Metadata GetMetadata() const;
691 // nested types ----------------------------------------------------
692
693 // accessors -------------------------------------------------------
694 enum : int {
695 kFirstJobIndexFieldNumber = 1,
696 kSecondJobIndexFieldNumber = 2,
697 kMinDelayFieldNumber = 3,
698 };
699 // int32 first_job_index = 1;
701 ::int32_t first_job_index() const;
702 void set_first_job_index(::int32_t value);
703
704 private:
705 ::int32_t _internal_first_job_index() const;
706 void _internal_set_first_job_index(::int32_t value);
707
708 public:
709 // int32 second_job_index = 2;
711 ::int32_t second_job_index() const;
712 void set_second_job_index(::int32_t value);
713
714 private:
715 ::int32_t _internal_second_job_index() const;
716 void _internal_set_second_job_index(::int32_t value);
717
718 public:
719 // int64 min_delay = 3;
720 void clear_min_delay() ;
721 ::int64_t min_delay() const;
722 void set_min_delay(::int64_t value);
723
724 private:
725 ::int64_t _internal_min_delay() const;
726 void _internal_set_min_delay(::int64_t value);
727
728 public:
729 // @@protoc_insertion_point(class_scope:operations_research.scheduling.jssp.JobPrecedence)
730 private:
731 class _Internal;
732 friend class ::google::protobuf::internal::TcParser;
733 static const ::google::protobuf::internal::TcParseTable<2, 3,
734 0, 0,
735 2>
736 _table_;
737
738 friend class ::google::protobuf::MessageLite;
739 friend class ::google::protobuf::Arena;
740 template <typename T>
741 friend class ::google::protobuf::Arena::InternalHelper;
742 using InternalArenaConstructable_ = void;
743 using DestructorSkippable_ = void;
744 struct Impl_ {
745 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
746 inline explicit Impl_(
747 ::google::protobuf::internal::InternalVisibility visibility,
748 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
749 inline explicit Impl_(
750 ::google::protobuf::internal::InternalVisibility visibility,
751 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
752 const JobPrecedence& from_msg);
753 ::google::protobuf::internal::HasBits<1> _has_bits_;
754 ::google::protobuf::internal::CachedSize _cached_size_;
755 ::int32_t first_job_index_;
756 ::int32_t second_job_index_;
757 ::int64_t min_delay_;
758 PROTOBUF_TSAN_DECLARE_MEMBER
759 };
760 union { Impl_ _impl_; };
761 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
762};
763
764OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull JobPrecedence_class_data_;
765// -------------------------------------------------------------------
766
767class OR_PROTO_DLL AssignedTask final : public ::google::protobuf::Message
768/* @@protoc_insertion_point(class_definition:operations_research.scheduling.jssp.AssignedTask) */ {
769 public:
770 inline AssignedTask() : AssignedTask(nullptr) {}
771 ~AssignedTask() PROTOBUF_FINAL;
773#if defined(PROTOBUF_CUSTOM_VTABLE)
774 void operator delete(AssignedTask* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
775 SharedDtor(*msg);
776 ::google::protobuf::internal::SizedDelete(msg, sizeof(AssignedTask));
777 }
778#endif
779
780 template <typename = void>
781 explicit PROTOBUF_CONSTEXPR AssignedTask(::google::protobuf::internal::ConstantInitialized);
782
783 inline AssignedTask(const AssignedTask& from) : AssignedTask(nullptr, from) {}
784 inline AssignedTask(AssignedTask&& from) noexcept
785 : AssignedTask(nullptr, ::std::move(from)) {}
786 inline AssignedTask& operator=(const AssignedTask& from) {
787 CopyFrom(from);
788 return *this;
790 inline AssignedTask& operator=(AssignedTask&& from) noexcept {
791 if (this == &from) return *this;
792 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
793 InternalSwap(&from);
794 } else {
795 CopyFrom(from);
796 }
797 return *this;
798 }
799
800 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
801 ABSL_ATTRIBUTE_LIFETIME_BOUND {
802 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
803 }
804 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
805 ABSL_ATTRIBUTE_LIFETIME_BOUND {
806 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
807 }
808
809 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
810 return GetDescriptor();
811 }
812 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
813 return default_instance().GetMetadata().descriptor;
815 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
816 return default_instance().GetMetadata().reflection;
818 static const AssignedTask& default_instance() {
819 return *reinterpret_cast<const AssignedTask*>(
821 }
822 static constexpr int kIndexInFileMessages = 6;
823 friend void swap(AssignedTask& a, AssignedTask& b) { a.Swap(&b); }
824 inline void Swap(AssignedTask* PROTOBUF_NONNULL other) {
825 if (other == this) return;
826 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
827 InternalSwap(other);
828 } else {
829 ::google::protobuf::internal::GenericSwap(this, other);
830 }
831 }
832 void UnsafeArenaSwap(AssignedTask* PROTOBUF_NONNULL other) {
833 if (other == this) return;
834 ABSL_DCHECK(GetArena() == other->GetArena());
835 InternalSwap(other);
836 }
838 // implements Message ----------------------------------------------
839
840 AssignedTask* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
841 return ::google::protobuf::Message::DefaultConstruct<AssignedTask>(arena);
842 }
843 using ::google::protobuf::Message::CopyFrom;
844 void CopyFrom(const AssignedTask& from);
845 using ::google::protobuf::Message::MergeFrom;
846 void MergeFrom(const AssignedTask& from) { AssignedTask::MergeImpl(*this, from); }
847
848 private:
849 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
850 const ::google::protobuf::MessageLite& from_msg);
852 public:
853 bool IsInitialized() const {
854 return true;
855 }
856 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
857 #if defined(PROTOBUF_CUSTOM_VTABLE)
858 private:
859 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
860 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
861 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
862 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
863
864 public:
865 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
866 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
867 ::uint8_t* PROTOBUF_NONNULL target,
868 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
869 return _InternalSerialize(*this, target, stream);
870 }
871 #else // PROTOBUF_CUSTOM_VTABLE
872 ::size_t ByteSizeLong() const final;
873 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
874 ::uint8_t* PROTOBUF_NONNULL target,
875 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
876 #endif // PROTOBUF_CUSTOM_VTABLE
877 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
878
879 private:
880 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
881 static void SharedDtor(MessageLite& self);
882 void InternalSwap(AssignedTask* PROTOBUF_NONNULL other);
883 private:
884 template <typename T>
885 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
886 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.jssp.AssignedTask"; }
887
888 protected:
889 explicit AssignedTask(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
890 AssignedTask(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AssignedTask& from);
892 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AssignedTask&& from) noexcept
893 : AssignedTask(arena) {
894 *this = ::std::move(from);
895 }
896 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
897 static void* PROTOBUF_NONNULL PlacementNew_(
898 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
899 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
900 static constexpr auto InternalNewImpl_();
901
902 public:
903 static constexpr auto InternalGenerateClassData_();
904
905 ::google::protobuf::Metadata GetMetadata() const;
906 // nested types ----------------------------------------------------
907
908 // accessors -------------------------------------------------------
909 enum : int {
912 };
913 // int64 start_time = 2;
914 void clear_start_time() ;
915 ::int64_t start_time() const;
916 void set_start_time(::int64_t value);
917
918 private:
919 ::int64_t _internal_start_time() const;
920 void _internal_set_start_time(::int64_t value);
921
922 public:
923 // int32 alternative_index = 1;
925 ::int32_t alternative_index() const;
926 void set_alternative_index(::int32_t value);
927
928 private:
929 ::int32_t _internal_alternative_index() const;
930 void _internal_set_alternative_index(::int32_t value);
931
932 public:
933 // @@protoc_insertion_point(class_scope:operations_research.scheduling.jssp.AssignedTask)
934 private:
935 class _Internal;
936 friend class ::google::protobuf::internal::TcParser;
937 static const ::google::protobuf::internal::TcParseTable<1, 2,
938 0, 0,
939 2>
940 _table_;
942 friend class ::google::protobuf::MessageLite;
943 friend class ::google::protobuf::Arena;
944 template <typename T>
945 friend class ::google::protobuf::Arena::InternalHelper;
946 using InternalArenaConstructable_ = void;
947 using DestructorSkippable_ = void;
948 struct Impl_ {
949 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
950 inline explicit Impl_(
951 ::google::protobuf::internal::InternalVisibility visibility,
952 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
953 inline explicit Impl_(
954 ::google::protobuf::internal::InternalVisibility visibility,
955 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
956 const AssignedTask& from_msg);
957 ::google::protobuf::internal::HasBits<1> _has_bits_;
958 ::google::protobuf::internal::CachedSize _cached_size_;
959 ::int64_t start_time_;
960 ::int32_t alternative_index_;
961 PROTOBUF_TSAN_DECLARE_MEMBER
962 };
963 union { Impl_ _impl_; };
964 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
965};
966
967OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AssignedTask_class_data_;
968// -------------------------------------------------------------------
970class OR_PROTO_DLL Machine final : public ::google::protobuf::Message
971/* @@protoc_insertion_point(class_definition:operations_research.scheduling.jssp.Machine) */ {
972 public:
973 inline Machine() : Machine(nullptr) {}
974 ~Machine() PROTOBUF_FINAL;
975
976#if defined(PROTOBUF_CUSTOM_VTABLE)
977 void operator delete(Machine* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
978 SharedDtor(*msg);
979 ::google::protobuf::internal::SizedDelete(msg, sizeof(Machine));
980 }
981#endif
982
983 template <typename = void>
984 explicit PROTOBUF_CONSTEXPR Machine(::google::protobuf::internal::ConstantInitialized);
985
986 inline Machine(const Machine& from) : Machine(nullptr, from) {}
987 inline Machine(Machine&& from) noexcept
988 : Machine(nullptr, ::std::move(from)) {}
989 inline Machine& operator=(const Machine& from) {
990 CopyFrom(from);
991 return *this;
993 inline Machine& operator=(Machine&& from) noexcept {
994 if (this == &from) return *this;
995 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
996 InternalSwap(&from);
997 } else {
998 CopyFrom(from);
1000 return *this;
1001 }
1002
1003 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1004 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1005 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1006 }
1007 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1008 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1009 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1010 }
1011
1012 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1014 }
1015 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1016 return default_instance().GetMetadata().descriptor;
1017 }
1018 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1019 return default_instance().GetMetadata().reflection;
1020 }
1021 static const Machine& default_instance() {
1022 return *reinterpret_cast<const Machine*>(
1025 static constexpr int kIndexInFileMessages = 3;
1026 friend void swap(Machine& a, Machine& b) { a.Swap(&b); }
1027 inline void Swap(Machine* PROTOBUF_NONNULL other) {
1028 if (other == this) return;
1029 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1030 InternalSwap(other);
1031 } else {
1032 ::google::protobuf::internal::GenericSwap(this, other);
1034 }
1035 void UnsafeArenaSwap(Machine* PROTOBUF_NONNULL other) {
1036 if (other == this) return;
1037 ABSL_DCHECK(GetArena() == other->GetArena());
1038 InternalSwap(other);
1039 }
1040
1041 // implements Message ----------------------------------------------
1042
1043 Machine* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1044 return ::google::protobuf::Message::DefaultConstruct<Machine>(arena);
1045 }
1046 using ::google::protobuf::Message::CopyFrom;
1047 void CopyFrom(const Machine& from);
1048 using ::google::protobuf::Message::MergeFrom;
1049 void MergeFrom(const Machine& from) { Machine::MergeImpl(*this, from); }
1050
1051 private:
1052 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1053 const ::google::protobuf::MessageLite& from_msg);
1054
1055 public:
1056 bool IsInitialized() const {
1057 return true;
1058 }
1059 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1060 #if defined(PROTOBUF_CUSTOM_VTABLE)
1061 private:
1062 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1063 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1064 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1065 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1066
1067 public:
1068 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1069 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1070 ::uint8_t* PROTOBUF_NONNULL target,
1071 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1072 return _InternalSerialize(*this, target, stream);
1073 }
1074 #else // PROTOBUF_CUSTOM_VTABLE
1075 ::size_t ByteSizeLong() const final;
1076 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1077 ::uint8_t* PROTOBUF_NONNULL target,
1078 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1079 #endif // PROTOBUF_CUSTOM_VTABLE
1080 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1081
1082 private:
1083 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1084 static void SharedDtor(MessageLite& self);
1085 void InternalSwap(Machine* PROTOBUF_NONNULL other);
1086 private:
1087 template <typename T>
1088 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1089 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.jssp.Machine"; }
1090
1091 protected:
1092 explicit Machine(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1093 Machine(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Machine& from);
1094 Machine(
1095 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Machine&& from) noexcept
1096 : Machine(arena) {
1097 *this = ::std::move(from);
1098 }
1099 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1100 static void* PROTOBUF_NONNULL PlacementNew_(
1101 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1102 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1103 static constexpr auto InternalNewImpl_();
1104
1105 public:
1106 static constexpr auto InternalGenerateClassData_();
1107
1108 ::google::protobuf::Metadata GetMetadata() const;
1109 // nested types ----------------------------------------------------
1110
1111 // accessors -------------------------------------------------------
1112 enum : int {
1113 kNameFieldNumber = 16,
1115 };
1116 // string name = 16;
1117 void clear_name() ;
1118 const ::std::string& name() const;
1119 template <typename Arg_ = const ::std::string&, typename... Args_>
1120 void set_name(Arg_&& arg, Args_... args);
1121 ::std::string* PROTOBUF_NONNULL mutable_name();
1122 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1123 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1124
1125 private:
1126 const ::std::string& _internal_name() const;
1127 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1128 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1129
1130 public:
1131 // .operations_research.scheduling.jssp.TransitionTimeMatrix transition_time_matrix = 1;
1132 bool has_transition_time_matrix() const;
1134 const ::operations_research::scheduling::jssp::TransitionTimeMatrix& transition_time_matrix() const;
1140
1141 private:
1142 const ::operations_research::scheduling::jssp::TransitionTimeMatrix& _internal_transition_time_matrix() const;
1143 ::operations_research::scheduling::jssp::TransitionTimeMatrix* PROTOBUF_NONNULL _internal_mutable_transition_time_matrix();
1144
1145 public:
1146 // @@protoc_insertion_point(class_scope:operations_research.scheduling.jssp.Machine)
1147 private:
1148 class _Internal;
1149 friend class ::google::protobuf::internal::TcParser;
1150 static const ::google::protobuf::internal::TcParseTable<1, 2,
1151 1, 56,
1152 2>
1153 _table_;
1154
1155 friend class ::google::protobuf::MessageLite;
1156 friend class ::google::protobuf::Arena;
1157 template <typename T>
1158 friend class ::google::protobuf::Arena::InternalHelper;
1159 using InternalArenaConstructable_ = void;
1160 using DestructorSkippable_ = void;
1161 struct Impl_ {
1162 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1163 inline explicit Impl_(
1164 ::google::protobuf::internal::InternalVisibility visibility,
1165 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1166 inline explicit Impl_(
1167 ::google::protobuf::internal::InternalVisibility visibility,
1168 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1169 const Machine& from_msg);
1170 ::google::protobuf::internal::HasBits<1> _has_bits_;
1171 ::google::protobuf::internal::CachedSize _cached_size_;
1172 ::google::protobuf::internal::ArenaStringPtr name_;
1173 ::operations_research::scheduling::jssp::TransitionTimeMatrix* PROTOBUF_NULLABLE transition_time_matrix_;
1174 PROTOBUF_TSAN_DECLARE_MEMBER
1175 };
1176 union { Impl_ _impl_; };
1177 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1178};
1179
1180OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Machine_class_data_;
1181// -------------------------------------------------------------------
1183class OR_PROTO_DLL Job final : public ::google::protobuf::Message
1184/* @@protoc_insertion_point(class_definition:operations_research.scheduling.jssp.Job) */ {
1185 public:
1186 inline Job() : Job(nullptr) {}
1187 ~Job() PROTOBUF_FINAL;
1188
1189#if defined(PROTOBUF_CUSTOM_VTABLE)
1190 void operator delete(Job* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1191 SharedDtor(*msg);
1192 ::google::protobuf::internal::SizedDelete(msg, sizeof(Job));
1194#endif
1195
1196 template <typename = void>
1197 explicit PROTOBUF_CONSTEXPR Job(::google::protobuf::internal::ConstantInitialized);
1198
1199 inline Job(const Job& from) : Job(nullptr, from) {}
1200 inline Job(Job&& from) noexcept
1201 : Job(nullptr, ::std::move(from)) {}
1202 inline Job& operator=(const Job& from) {
1203 CopyFrom(from);
1204 return *this;
1205 }
1206 inline Job& operator=(Job&& from) noexcept {
1207 if (this == &from) return *this;
1208 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1209 InternalSwap(&from);
1210 } else {
1211 CopyFrom(from);
1212 }
1213 return *this;
1214 }
1215
1216 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1217 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1218 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1219 }
1220 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1221 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1222 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1224
1225 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1226 return GetDescriptor();
1228 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1229 return default_instance().GetMetadata().descriptor;
1230 }
1231 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1232 return default_instance().GetMetadata().reflection;
1233 }
1234 static const Job& default_instance() {
1235 return *reinterpret_cast<const Job*>(
1237 }
1238 static constexpr int kIndexInFileMessages = 1;
1239 friend void swap(Job& a, Job& b) { a.Swap(&b); }
1240 inline void Swap(Job* PROTOBUF_NONNULL other) {
1241 if (other == this) return;
1242 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1243 InternalSwap(other);
1244 } else {
1245 ::google::protobuf::internal::GenericSwap(this, other);
1248 void UnsafeArenaSwap(Job* PROTOBUF_NONNULL other) {
1249 if (other == this) return;
1250 ABSL_DCHECK(GetArena() == other->GetArena());
1251 InternalSwap(other);
1252 }
1253
1254 // implements Message ----------------------------------------------
1256 Job* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1257 return ::google::protobuf::Message::DefaultConstruct<Job>(arena);
1258 }
1259 using ::google::protobuf::Message::CopyFrom;
1260 void CopyFrom(const Job& from);
1261 using ::google::protobuf::Message::MergeFrom;
1262 void MergeFrom(const Job& from) { Job::MergeImpl(*this, from); }
1264 private:
1265 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1266 const ::google::protobuf::MessageLite& from_msg);
1267
1268 public:
1269 bool IsInitialized() const {
1270 return true;
1271 }
1272 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1273 #if defined(PROTOBUF_CUSTOM_VTABLE)
1274 private:
1275 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1276 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1277 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1278 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1279
1280 public:
1281 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1282 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1283 ::uint8_t* PROTOBUF_NONNULL target,
1284 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1285 return _InternalSerialize(*this, target, stream);
1286 }
1287 #else // PROTOBUF_CUSTOM_VTABLE
1288 ::size_t ByteSizeLong() const final;
1289 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1290 ::uint8_t* PROTOBUF_NONNULL target,
1291 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1292 #endif // PROTOBUF_CUSTOM_VTABLE
1293 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1294
1295 private:
1296 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1297 static void SharedDtor(MessageLite& self);
1298 void InternalSwap(Job* PROTOBUF_NONNULL other);
1299 private:
1300 template <typename T>
1301 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1302 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.jssp.Job"; }
1303
1304 protected:
1305 explicit Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1306 Job(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Job& from);
1307 Job(
1308 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Job&& from) noexcept
1309 : Job(arena) {
1310 *this = ::std::move(from);
1311 }
1312 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1313 static void* PROTOBUF_NONNULL PlacementNew_(
1314 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1315 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1316 static constexpr auto InternalNewImpl_();
1317
1318 public:
1319 static constexpr auto InternalGenerateClassData_();
1320
1321 ::google::protobuf::Metadata GetMetadata() const;
1322 // nested types ----------------------------------------------------
1323
1324 // accessors -------------------------------------------------------
1325 enum : int {
1327 kNameFieldNumber = 16,
1335 // repeated .operations_research.scheduling.jssp.Task tasks = 1;
1336 int tasks_size() const;
1337 private:
1338 int _internal_tasks_size() const;
1340 public:
1341 void clear_tasks() ;
1343 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL mutable_tasks();
1344
1345 private:
1346 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>& _internal_tasks() const;
1347 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL _internal_mutable_tasks();
1348 public:
1349 const ::operations_research::scheduling::jssp::Task& tasks(int index) const;
1351 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>& tasks() const;
1352 // string name = 16;
1353 void clear_name() ;
1354 const ::std::string& name() const;
1355 template <typename Arg_ = const ::std::string&, typename... Args_>
1356 void set_name(Arg_&& arg, Args_... args);
1357 ::std::string* PROTOBUF_NONNULL mutable_name();
1358 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1359 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1360
1361 private:
1362 const ::std::string& _internal_name() const;
1363 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1364 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1365
1366 public:
1367 // .google.protobuf.Int64Value earliest_start = 2;
1368 bool has_earliest_start() const;
1369 void clear_earliest_start() ;
1370 const ::google::protobuf::Int64Value& earliest_start() const;
1371 [[nodiscard]] ::google::protobuf::Int64Value* PROTOBUF_NULLABLE release_earliest_start();
1372 ::google::protobuf::Int64Value* PROTOBUF_NONNULL mutable_earliest_start();
1373 void set_allocated_earliest_start(::google::protobuf::Int64Value* PROTOBUF_NULLABLE value);
1374 void unsafe_arena_set_allocated_earliest_start(::google::protobuf::Int64Value* PROTOBUF_NULLABLE value);
1375 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE unsafe_arena_release_earliest_start();
1376
1377 private:
1378 const ::google::protobuf::Int64Value& _internal_earliest_start() const;
1379 ::google::protobuf::Int64Value* PROTOBUF_NONNULL _internal_mutable_earliest_start();
1380
1381 public:
1382 // .google.protobuf.Int64Value latest_end = 7;
1383 bool has_latest_end() const;
1384 void clear_latest_end() ;
1385 const ::google::protobuf::Int64Value& latest_end() const;
1386 [[nodiscard]] ::google::protobuf::Int64Value* PROTOBUF_NULLABLE release_latest_end();
1387 ::google::protobuf::Int64Value* PROTOBUF_NONNULL mutable_latest_end();
1388 void set_allocated_latest_end(::google::protobuf::Int64Value* PROTOBUF_NULLABLE value);
1389 void unsafe_arena_set_allocated_latest_end(::google::protobuf::Int64Value* PROTOBUF_NULLABLE value);
1390 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE unsafe_arena_release_latest_end();
1391
1392 private:
1393 const ::google::protobuf::Int64Value& _internal_latest_end() const;
1394 ::google::protobuf::Int64Value* PROTOBUF_NONNULL _internal_mutable_latest_end();
1395
1396 public:
1397 // int64 early_due_date = 3;
1398 void clear_early_due_date() ;
1399 ::int64_t early_due_date() const;
1400 void set_early_due_date(::int64_t value);
1401
1402 private:
1403 ::int64_t _internal_early_due_date() const;
1404 void _internal_set_early_due_date(::int64_t value);
1405
1406 public:
1407 // int64 late_due_date = 4;
1408 void clear_late_due_date() ;
1409 ::int64_t late_due_date() const;
1410 void set_late_due_date(::int64_t value);
1411
1412 private:
1413 ::int64_t _internal_late_due_date() const;
1414 void _internal_set_late_due_date(::int64_t value);
1415
1416 public:
1417 // int64 earliness_cost_per_time_unit = 5;
1419 ::int64_t earliness_cost_per_time_unit() const;
1420 void set_earliness_cost_per_time_unit(::int64_t value);
1421
1422 private:
1423 ::int64_t _internal_earliness_cost_per_time_unit() const;
1424 void _internal_set_earliness_cost_per_time_unit(::int64_t value);
1425
1426 public:
1427 // int64 lateness_cost_per_time_unit = 6;
1429 ::int64_t lateness_cost_per_time_unit() const;
1430 void set_lateness_cost_per_time_unit(::int64_t value);
1431
1432 private:
1433 ::int64_t _internal_lateness_cost_per_time_unit() const;
1434 void _internal_set_lateness_cost_per_time_unit(::int64_t value);
1435
1436 public:
1437 // @@protoc_insertion_point(class_scope:operations_research.scheduling.jssp.Job)
1438 private:
1439 class _Internal;
1440 friend class ::google::protobuf::internal::TcParser;
1441 static const ::google::protobuf::internal::TcParseTable<3, 8,
1442 3, 60,
1443 2>
1444 _table_;
1445
1446 friend class ::google::protobuf::MessageLite;
1447 friend class ::google::protobuf::Arena;
1448 template <typename T>
1449 friend class ::google::protobuf::Arena::InternalHelper;
1450 using InternalArenaConstructable_ = void;
1451 using DestructorSkippable_ = void;
1452 struct Impl_ {
1453 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1454 inline explicit Impl_(
1455 ::google::protobuf::internal::InternalVisibility visibility,
1456 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1457 inline explicit Impl_(
1458 ::google::protobuf::internal::InternalVisibility visibility,
1459 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1460 const Job& from_msg);
1461 ::google::protobuf::internal::HasBits<1> _has_bits_;
1462 ::google::protobuf::internal::CachedSize _cached_size_;
1463 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::Task > tasks_;
1464 ::google::protobuf::internal::ArenaStringPtr name_;
1465 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE earliest_start_;
1466 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE latest_end_;
1467 ::int64_t early_due_date_;
1468 ::int64_t late_due_date_;
1469 ::int64_t earliness_cost_per_time_unit_;
1470 ::int64_t lateness_cost_per_time_unit_;
1471 PROTOBUF_TSAN_DECLARE_MEMBER
1472 };
1473 union { Impl_ _impl_; };
1474 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1475};
1476
1477OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Job_class_data_;
1478// -------------------------------------------------------------------
1479
1480class OR_PROTO_DLL AssignedJob final : public ::google::protobuf::Message
1481/* @@protoc_insertion_point(class_definition:operations_research.scheduling.jssp.AssignedJob) */ {
1482 public:
1483 inline AssignedJob() : AssignedJob(nullptr) {}
1484 ~AssignedJob() PROTOBUF_FINAL;
1485
1486#if defined(PROTOBUF_CUSTOM_VTABLE)
1487 void operator delete(AssignedJob* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1488 SharedDtor(*msg);
1489 ::google::protobuf::internal::SizedDelete(msg, sizeof(AssignedJob));
1490 }
1491#endif
1492
1493 template <typename = void>
1494 explicit PROTOBUF_CONSTEXPR AssignedJob(::google::protobuf::internal::ConstantInitialized);
1495
1496 inline AssignedJob(const AssignedJob& from) : AssignedJob(nullptr, from) {}
1497 inline AssignedJob(AssignedJob&& from) noexcept
1498 : AssignedJob(nullptr, ::std::move(from)) {}
1499 inline AssignedJob& operator=(const AssignedJob& from) {
1500 CopyFrom(from);
1501 return *this;
1503 inline AssignedJob& operator=(AssignedJob&& from) noexcept {
1504 if (this == &from) return *this;
1505 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1506 InternalSwap(&from);
1507 } else {
1508 CopyFrom(from);
1509 }
1510 return *this;
1512
1513 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1514 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1515 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1516 }
1517 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1518 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1519 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1520 }
1522 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1523 return GetDescriptor();
1524 }
1525 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1526 return default_instance().GetMetadata().descriptor;
1527 }
1528 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1529 return default_instance().GetMetadata().reflection;
1531 static const AssignedJob& default_instance() {
1532 return *reinterpret_cast<const AssignedJob*>(
1534 }
1535 static constexpr int kIndexInFileMessages = 7;
1536 friend void swap(AssignedJob& a, AssignedJob& b) { a.Swap(&b); }
1537 inline void Swap(AssignedJob* PROTOBUF_NONNULL other) {
1538 if (other == this) return;
1539 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1540 InternalSwap(other);
1541 } else {
1542 ::google::protobuf::internal::GenericSwap(this, other);
1545 void UnsafeArenaSwap(AssignedJob* PROTOBUF_NONNULL other) {
1546 if (other == this) return;
1547 ABSL_DCHECK(GetArena() == other->GetArena());
1548 InternalSwap(other);
1549 }
1550
1551 // implements Message ----------------------------------------------
1552
1553 AssignedJob* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1554 return ::google::protobuf::Message::DefaultConstruct<AssignedJob>(arena);
1555 }
1556 using ::google::protobuf::Message::CopyFrom;
1557 void CopyFrom(const AssignedJob& from);
1558 using ::google::protobuf::Message::MergeFrom;
1559 void MergeFrom(const AssignedJob& from) { AssignedJob::MergeImpl(*this, from); }
1560
1561 private:
1562 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1563 const ::google::protobuf::MessageLite& from_msg);
1564
1565 public:
1566 bool IsInitialized() const {
1567 return true;
1568 }
1569 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1570 #if defined(PROTOBUF_CUSTOM_VTABLE)
1571 private:
1572 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1573 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1574 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1575 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1576
1577 public:
1578 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1579 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1580 ::uint8_t* PROTOBUF_NONNULL target,
1581 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1582 return _InternalSerialize(*this, target, stream);
1583 }
1584 #else // PROTOBUF_CUSTOM_VTABLE
1585 ::size_t ByteSizeLong() const final;
1586 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1587 ::uint8_t* PROTOBUF_NONNULL target,
1588 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1589 #endif // PROTOBUF_CUSTOM_VTABLE
1590 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1591
1592 private:
1593 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1594 static void SharedDtor(MessageLite& self);
1595 void InternalSwap(AssignedJob* PROTOBUF_NONNULL other);
1596 private:
1597 template <typename T>
1599 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.jssp.AssignedJob"; }
1600
1601 protected:
1602 explicit AssignedJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1603 AssignedJob(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AssignedJob& from);
1605 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AssignedJob&& from) noexcept
1606 : AssignedJob(arena) {
1607 *this = ::std::move(from);
1608 }
1609 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1610 static void* PROTOBUF_NONNULL PlacementNew_(
1611 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1612 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1613 static constexpr auto InternalNewImpl_();
1614
1615 public:
1616 static constexpr auto InternalGenerateClassData_();
1617
1618 ::google::protobuf::Metadata GetMetadata() const;
1619 // nested types ----------------------------------------------------
1620
1621 // accessors -------------------------------------------------------
1622 enum : int {
1626 };
1627 // repeated .operations_research.scheduling.jssp.AssignedTask tasks = 1;
1628 int tasks_size() const;
1629 private:
1630 int _internal_tasks_size() const;
1632 public:
1635 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL mutable_tasks();
1636
1637 private:
1638 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>& _internal_tasks() const;
1639 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL _internal_mutable_tasks();
1640 public:
1641 const ::operations_research::scheduling::jssp::AssignedTask& tasks(int index) const;
1643 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>& tasks() const;
1644 // int64 due_date_cost = 2;
1645 void clear_due_date_cost() ;
1646 ::int64_t due_date_cost() const;
1647 void set_due_date_cost(::int64_t value);
1648
1649 private:
1650 ::int64_t _internal_due_date_cost() const;
1651 void _internal_set_due_date_cost(::int64_t value);
1652
1653 public:
1654 // int64 sum_of_task_costs = 3;
1656 ::int64_t sum_of_task_costs() const;
1657 void set_sum_of_task_costs(::int64_t value);
1658
1659 private:
1660 ::int64_t _internal_sum_of_task_costs() const;
1661 void _internal_set_sum_of_task_costs(::int64_t value);
1662
1663 public:
1664 // @@protoc_insertion_point(class_scope:operations_research.scheduling.jssp.AssignedJob)
1665 private:
1666 class _Internal;
1667 friend class ::google::protobuf::internal::TcParser;
1668 static const ::google::protobuf::internal::TcParseTable<2, 3,
1669 1, 0,
1670 2>
1671 _table_;
1672
1673 friend class ::google::protobuf::MessageLite;
1674 friend class ::google::protobuf::Arena;
1675 template <typename T>
1676 friend class ::google::protobuf::Arena::InternalHelper;
1677 using InternalArenaConstructable_ = void;
1678 using DestructorSkippable_ = void;
1679 struct Impl_ {
1680 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1681 inline explicit Impl_(
1682 ::google::protobuf::internal::InternalVisibility visibility,
1683 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1684 inline explicit Impl_(
1685 ::google::protobuf::internal::InternalVisibility visibility,
1686 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1687 const AssignedJob& from_msg);
1688 ::google::protobuf::internal::HasBits<1> _has_bits_;
1689 ::google::protobuf::internal::CachedSize _cached_size_;
1690 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::AssignedTask > tasks_;
1691 ::int64_t due_date_cost_;
1692 ::int64_t sum_of_task_costs_;
1693 PROTOBUF_TSAN_DECLARE_MEMBER
1694 };
1695 union { Impl_ _impl_; };
1696 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1697};
1698
1699OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AssignedJob_class_data_;
1700// -------------------------------------------------------------------
1701
1702class OR_PROTO_DLL JsspOutputSolution final : public ::google::protobuf::Message
1703/* @@protoc_insertion_point(class_definition:operations_research.scheduling.jssp.JsspOutputSolution) */ {
1704 public:
1705 inline JsspOutputSolution() : JsspOutputSolution(nullptr) {}
1706 ~JsspOutputSolution() PROTOBUF_FINAL;
1707
1708#if defined(PROTOBUF_CUSTOM_VTABLE)
1709 void operator delete(JsspOutputSolution* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1710 SharedDtor(*msg);
1711 ::google::protobuf::internal::SizedDelete(msg, sizeof(JsspOutputSolution));
1712 }
1713#endif
1715 template <typename = void>
1716 explicit PROTOBUF_CONSTEXPR JsspOutputSolution(::google::protobuf::internal::ConstantInitialized);
1717
1718 inline JsspOutputSolution(const JsspOutputSolution& from) : JsspOutputSolution(nullptr, from) {}
1719 inline JsspOutputSolution(JsspOutputSolution&& from) noexcept
1720 : JsspOutputSolution(nullptr, ::std::move(from)) {}
1721 inline JsspOutputSolution& operator=(const JsspOutputSolution& from) {
1722 CopyFrom(from);
1723 return *this;
1724 }
1726 if (this == &from) return *this;
1727 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1728 InternalSwap(&from);
1729 } else {
1731 }
1732 return *this;
1733 }
1735 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1736 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1737 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1738 }
1739 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1740 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1741 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1742 }
1743
1744 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1745 return GetDescriptor();
1746 }
1747 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1748 return default_instance().GetMetadata().descriptor;
1749 }
1750 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1751 return default_instance().GetMetadata().reflection;
1752 }
1754 return *reinterpret_cast<const JsspOutputSolution*>(
1757 static constexpr int kIndexInFileMessages = 8;
1758 friend void swap(JsspOutputSolution& a, JsspOutputSolution& b) { a.Swap(&b); }
1759 inline void Swap(JsspOutputSolution* PROTOBUF_NONNULL other) {
1760 if (other == this) return;
1761 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1762 InternalSwap(other);
1763 } else {
1764 ::google::protobuf::internal::GenericSwap(this, other);
1765 }
1767 void UnsafeArenaSwap(JsspOutputSolution* PROTOBUF_NONNULL other) {
1768 if (other == this) return;
1769 ABSL_DCHECK(GetArena() == other->GetArena());
1770 InternalSwap(other);
1771 }
1772
1773 // implements Message ----------------------------------------------
1774
1775 JsspOutputSolution* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1776 return ::google::protobuf::Message::DefaultConstruct<JsspOutputSolution>(arena);
1777 }
1778 using ::google::protobuf::Message::CopyFrom;
1779 void CopyFrom(const JsspOutputSolution& from);
1780 using ::google::protobuf::Message::MergeFrom;
1781 void MergeFrom(const JsspOutputSolution& from) { JsspOutputSolution::MergeImpl(*this, from); }
1782
1783 private:
1784 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1785 const ::google::protobuf::MessageLite& from_msg);
1786
1787 public:
1788 bool IsInitialized() const {
1789 return true;
1791 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1792 #if defined(PROTOBUF_CUSTOM_VTABLE)
1793 private:
1794 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1795 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1796 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1797 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1798
1799 public:
1800 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1801 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1802 ::uint8_t* PROTOBUF_NONNULL target,
1803 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1804 return _InternalSerialize(*this, target, stream);
1805 }
1806 #else // PROTOBUF_CUSTOM_VTABLE
1807 ::size_t ByteSizeLong() const final;
1808 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1809 ::uint8_t* PROTOBUF_NONNULL target,
1810 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1811 #endif // PROTOBUF_CUSTOM_VTABLE
1812 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1813
1814 private:
1815 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1816 static void SharedDtor(MessageLite& self);
1817 void InternalSwap(JsspOutputSolution* PROTOBUF_NONNULL other);
1818 private:
1819 template <typename T>
1820 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1821 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.jssp.JsspOutputSolution"; }
1822
1823 protected:
1824 explicit JsspOutputSolution(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1825 JsspOutputSolution(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JsspOutputSolution& from);
1827 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, JsspOutputSolution&& from) noexcept
1828 : JsspOutputSolution(arena) {
1829 *this = ::std::move(from);
1830 }
1831 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1832 static void* PROTOBUF_NONNULL PlacementNew_(
1833 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1834 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1835 static constexpr auto InternalNewImpl_();
1836
1837 public:
1838 static constexpr auto InternalGenerateClassData_();
1839
1840 ::google::protobuf::Metadata GetMetadata() const;
1841 // nested types ----------------------------------------------------
1842
1843 // accessors -------------------------------------------------------
1844 enum : int {
1845 kJobsFieldNumber = 1,
1848 };
1849 // repeated .operations_research.scheduling.jssp.AssignedJob jobs = 1;
1850 int jobs_size() const;
1851 private:
1852 int _internal_jobs_size() const;
1853
1854 public:
1855 void clear_jobs() ;
1857 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL mutable_jobs();
1858
1859 private:
1860 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>& _internal_jobs() const;
1861 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL _internal_mutable_jobs();
1862 public:
1863 const ::operations_research::scheduling::jssp::AssignedJob& jobs(int index) const;
1865 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>& jobs() const;
1866 // int64 makespan_cost = 2;
1867 void clear_makespan_cost() ;
1868 ::int64_t makespan_cost() const;
1869 void set_makespan_cost(::int64_t value);
1870
1871 private:
1872 ::int64_t _internal_makespan_cost() const;
1873 void _internal_set_makespan_cost(::int64_t value);
1874
1875 public:
1876 // int64 total_cost = 3;
1877 void clear_total_cost() ;
1878 ::int64_t total_cost() const;
1879 void set_total_cost(::int64_t value);
1880
1881 private:
1882 ::int64_t _internal_total_cost() const;
1883 void _internal_set_total_cost(::int64_t value);
1884
1885 public:
1886 // @@protoc_insertion_point(class_scope:operations_research.scheduling.jssp.JsspOutputSolution)
1887 private:
1888 class _Internal;
1889 friend class ::google::protobuf::internal::TcParser;
1890 static const ::google::protobuf::internal::TcParseTable<2, 3,
1891 1, 0,
1892 2>
1893 _table_;
1894
1895 friend class ::google::protobuf::MessageLite;
1896 friend class ::google::protobuf::Arena;
1897 template <typename T>
1898 friend class ::google::protobuf::Arena::InternalHelper;
1899 using InternalArenaConstructable_ = void;
1900 using DestructorSkippable_ = void;
1901 struct Impl_ {
1902 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1903 inline explicit Impl_(
1904 ::google::protobuf::internal::InternalVisibility visibility,
1905 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1906 inline explicit Impl_(
1907 ::google::protobuf::internal::InternalVisibility visibility,
1908 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1909 const JsspOutputSolution& from_msg);
1910 ::google::protobuf::internal::HasBits<1> _has_bits_;
1911 ::google::protobuf::internal::CachedSize _cached_size_;
1912 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::AssignedJob > jobs_;
1913 ::int64_t makespan_cost_;
1914 ::int64_t total_cost_;
1915 PROTOBUF_TSAN_DECLARE_MEMBER
1916 };
1917 union { Impl_ _impl_; };
1918 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
1919};
1920
1921OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull JsspOutputSolution_class_data_;
1922// -------------------------------------------------------------------
1923
1924class OR_PROTO_DLL JsspInputProblem final : public ::google::protobuf::Message
1925/* @@protoc_insertion_point(class_definition:operations_research.scheduling.jssp.JsspInputProblem) */ {
1926 public:
1927 inline JsspInputProblem() : JsspInputProblem(nullptr) {}
1928 ~JsspInputProblem() PROTOBUF_FINAL;
1929
1930#if defined(PROTOBUF_CUSTOM_VTABLE)
1931 void operator delete(JsspInputProblem* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1932 SharedDtor(*msg);
1933 ::google::protobuf::internal::SizedDelete(msg, sizeof(JsspInputProblem));
1935#endif
1936
1937 template <typename = void>
1938 explicit PROTOBUF_CONSTEXPR JsspInputProblem(::google::protobuf::internal::ConstantInitialized);
1939
1940 inline JsspInputProblem(const JsspInputProblem& from) : JsspInputProblem(nullptr, from) {}
1941 inline JsspInputProblem(JsspInputProblem&& from) noexcept
1942 : JsspInputProblem(nullptr, ::std::move(from)) {}
1943 inline JsspInputProblem& operator=(const JsspInputProblem& from) {
1944 CopyFrom(from);
1945 return *this;
1946 }
1947 inline JsspInputProblem& operator=(JsspInputProblem&& from) noexcept {
1948 if (this == &from) return *this;
1949 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1950 InternalSwap(&from);
1951 } else {
1952 CopyFrom(from);
1954 return *this;
1955 }
1956
1957 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1958 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1959 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1960 }
1961 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1962 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1963 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1964 }
1965
1966 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1968 }
1969 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1970 return default_instance().GetMetadata().descriptor;
1972 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1973 return default_instance().GetMetadata().reflection;
1974 }
1975 static const JsspInputProblem& default_instance() {
1976 return *reinterpret_cast<const JsspInputProblem*>(
1978 }
1979 static constexpr int kIndexInFileMessages = 5;
1980 friend void swap(JsspInputProblem& a, JsspInputProblem& b) { a.Swap(&b); }
1981 inline void Swap(JsspInputProblem* PROTOBUF_NONNULL other) {
1982 if (other == this) return;
1983 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1984 InternalSwap(other);
1985 } else {
1986 ::google::protobuf::internal::GenericSwap(this, other);
1987 }
1988 }
1989 void UnsafeArenaSwap(JsspInputProblem* PROTOBUF_NONNULL other) {
1990 if (other == this) return;
1991 ABSL_DCHECK(GetArena() == other->GetArena());
1992 InternalSwap(other);
1993 }
1994
1995 // implements Message ----------------------------------------------
1996
1997 JsspInputProblem* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1998 return ::google::protobuf::Message::DefaultConstruct<JsspInputProblem>(arena);
2000 using ::google::protobuf::Message::CopyFrom;
2001 void CopyFrom(const JsspInputProblem& from);
2002 using ::google::protobuf::Message::MergeFrom;
2003 void MergeFrom(const JsspInputProblem& from) { JsspInputProblem::MergeImpl(*this, from); }
2004
2005 private:
2006 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2007 const ::google::protobuf::MessageLite& from_msg);
2008
2009 public:
2010 bool IsInitialized() const {
2011 return true;
2012 }
2013 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2014 #if defined(PROTOBUF_CUSTOM_VTABLE)
2015 private:
2016 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2017 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2018 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2019 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2021 public:
2022 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
2023 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2024 ::uint8_t* PROTOBUF_NONNULL target,
2025 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2026 return _InternalSerialize(*this, target, stream);
2027 }
2028 #else // PROTOBUF_CUSTOM_VTABLE
2029 ::size_t ByteSizeLong() const final;
2030 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2031 ::uint8_t* PROTOBUF_NONNULL target,
2032 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2033 #endif // PROTOBUF_CUSTOM_VTABLE
2034 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2035
2036 private:
2037 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2038 static void SharedDtor(MessageLite& self);
2039 void InternalSwap(JsspInputProblem* PROTOBUF_NONNULL other);
2040 private:
2041 template <typename T>
2042 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
2043 static ::absl::string_view FullMessageName() { return "operations_research.scheduling.jssp.JsspInputProblem"; }
2045 protected:
2046 explicit JsspInputProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2047 JsspInputProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JsspInputProblem& from);
2049 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, JsspInputProblem&& from) noexcept
2050 : JsspInputProblem(arena) {
2051 *this = ::std::move(from);
2052 }
2053 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2054 static void* PROTOBUF_NONNULL PlacementNew_(
2055 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2056 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2057 static constexpr auto InternalNewImpl_();
2059 public:
2060 static constexpr auto InternalGenerateClassData_();
2061
2062 ::google::protobuf::Metadata GetMetadata() const;
2063 // nested types ----------------------------------------------------
2064
2065 // accessors -------------------------------------------------------
2066 enum : int {
2067 kJobsFieldNumber = 1,
2070 kNameFieldNumber = 16,
2073 kSeedFieldNumber = 24,
2074 };
2075 // repeated .operations_research.scheduling.jssp.Job jobs = 1;
2076 int jobs_size() const;
2077 private:
2078 int _internal_jobs_size() const;
2080 public:
2081 void clear_jobs() ;
2083 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL mutable_jobs();
2084
2085 private:
2086 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>& _internal_jobs() const;
2087 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL _internal_mutable_jobs();
2088 public:
2089 const ::operations_research::scheduling::jssp::Job& jobs(int index) const;
2091 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>& jobs() const;
2092 // repeated .operations_research.scheduling.jssp.Machine machines = 2;
2093 int machines_size() const;
2094 private:
2095 int _internal_machines_size() const;
2096
2097 public:
2098 void clear_machines() ;
2100 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL mutable_machines();
2101
2102 private:
2103 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>& _internal_machines() const;
2104 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL _internal_mutable_machines();
2105 public:
2106 const ::operations_research::scheduling::jssp::Machine& machines(int index) const;
2108 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>& machines() const;
2109 // repeated .operations_research.scheduling.jssp.JobPrecedence precedences = 3;
2110 int precedences_size() const;
2111 private:
2112 int _internal_precedences_size() const;
2113
2114 public:
2115 void clear_precedences() ;
2117 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL mutable_precedences();
2118
2119 private:
2120 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>& _internal_precedences() const;
2121 ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL _internal_mutable_precedences();
2122 public:
2123 const ::operations_research::scheduling::jssp::JobPrecedence& precedences(int index) const;
2125 const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>& precedences() const;
2126 // string name = 16;
2127 void clear_name() ;
2128 const ::std::string& name() const;
2129 template <typename Arg_ = const ::std::string&, typename... Args_>
2130 void set_name(Arg_&& arg, Args_... args);
2131 ::std::string* PROTOBUF_NONNULL mutable_name();
2132 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
2133 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
2134
2135 private:
2136 const ::std::string& _internal_name() const;
2137 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
2138 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
2139
2140 public:
2141 // .google.protobuf.DoubleValue scaling_factor = 5;
2142 bool has_scaling_factor() const;
2143 void clear_scaling_factor() ;
2144 const ::google::protobuf::DoubleValue& scaling_factor() const;
2145 [[nodiscard]] ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE release_scaling_factor();
2146 ::google::protobuf::DoubleValue* PROTOBUF_NONNULL mutable_scaling_factor();
2147 void set_allocated_scaling_factor(::google::protobuf::DoubleValue* PROTOBUF_NULLABLE value);
2148 void unsafe_arena_set_allocated_scaling_factor(::google::protobuf::DoubleValue* PROTOBUF_NULLABLE value);
2149 ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE unsafe_arena_release_scaling_factor();
2150
2151 private:
2152 const ::google::protobuf::DoubleValue& _internal_scaling_factor() const;
2153 ::google::protobuf::DoubleValue* PROTOBUF_NONNULL _internal_mutable_scaling_factor();
2154
2155 public:
2156 // int64 makespan_cost_per_time_unit = 4;
2158 ::int64_t makespan_cost_per_time_unit() const;
2159 void set_makespan_cost_per_time_unit(::int64_t value);
2160
2161 private:
2162 ::int64_t _internal_makespan_cost_per_time_unit() const;
2163 void _internal_set_makespan_cost_per_time_unit(::int64_t value);
2164
2165 public:
2166 // int32 seed = 24;
2167 void clear_seed() ;
2168 ::int32_t seed() const;
2169 void set_seed(::int32_t value);
2170
2171 private:
2172 ::int32_t _internal_seed() const;
2173 void _internal_set_seed(::int32_t value);
2174
2175 public:
2176 // @@protoc_insertion_point(class_scope:operations_research.scheduling.jssp.JsspInputProblem)
2177 private:
2178 class _Internal;
2179 friend class ::google::protobuf::internal::TcParser;
2180 static const ::google::protobuf::internal::TcParseTable<3, 7,
2181 4, 65,
2182 2>
2183 _table_;
2184
2185 friend class ::google::protobuf::MessageLite;
2186 friend class ::google::protobuf::Arena;
2187 template <typename T>
2188 friend class ::google::protobuf::Arena::InternalHelper;
2189 using InternalArenaConstructable_ = void;
2190 using DestructorSkippable_ = void;
2191 struct Impl_ {
2192 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
2193 inline explicit Impl_(
2194 ::google::protobuf::internal::InternalVisibility visibility,
2195 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2196 inline explicit Impl_(
2197 ::google::protobuf::internal::InternalVisibility visibility,
2198 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2199 const JsspInputProblem& from_msg);
2200 ::google::protobuf::internal::HasBits<1> _has_bits_;
2201 ::google::protobuf::internal::CachedSize _cached_size_;
2202 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::Job > jobs_;
2203 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::Machine > machines_;
2204 ::google::protobuf::RepeatedPtrField< ::operations_research::scheduling::jssp::JobPrecedence > precedences_;
2205 ::google::protobuf::internal::ArenaStringPtr name_;
2206 ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE scaling_factor_;
2207 ::int64_t makespan_cost_per_time_unit_;
2208 ::int32_t seed_;
2209 PROTOBUF_TSAN_DECLARE_MEMBER
2210 };
2211 union { Impl_ _impl_; };
2212 friend struct ::TableStruct_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto;
2213};
2214
2215OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull JsspInputProblem_class_data_;
2216
2217// ===================================================================
2218
2219
2220
2222// ===================================================================
2223
2224
2225#ifdef __GNUC__
2226#pragma GCC diagnostic push
2227#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2228#endif // __GNUC__
2229// -------------------------------------------------------------------
2230
2231// Task
2232
2233// repeated int32 machine = 1;
2234inline int Task::_internal_machine_size() const {
2235 return _internal_machine().size();
2236}
2237inline int Task::machine_size() const {
2238 return _internal_machine_size();
2239}
2240inline void Task::clear_machine() {
2241 ::google::protobuf::internal::TSanWrite(&_impl_);
2242 _impl_.machine_.Clear();
2243}
2244inline ::int32_t Task::machine(int index) const {
2245 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Task.machine)
2246 return _internal_machine().Get(index);
2247}
2248inline void Task::set_machine(int index, ::int32_t value) {
2249 _internal_mutable_machine()->Set(index, value);
2250 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.Task.machine)
2251}
2252inline void Task::add_machine(::int32_t value) {
2253 ::google::protobuf::internal::TSanWrite(&_impl_);
2254 _internal_mutable_machine()->Add(value);
2255 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.Task.machine)
2256}
2257inline const ::google::protobuf::RepeatedField<::int32_t>& Task::machine() const
2258 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2259 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.Task.machine)
2260 return _internal_machine();
2262inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL Task::mutable_machine()
2263 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2264 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.Task.machine)
2265 ::google::protobuf::internal::TSanWrite(&_impl_);
2266 return _internal_mutable_machine();
2267}
2268inline const ::google::protobuf::RepeatedField<::int32_t>&
2269Task::_internal_machine() const {
2270 ::google::protobuf::internal::TSanRead(&_impl_);
2271 return _impl_.machine_;
2272}
2273inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
2274Task::_internal_mutable_machine() {
2275 ::google::protobuf::internal::TSanRead(&_impl_);
2276 return &_impl_.machine_;
2277}
2278
2279// repeated int64 duration = 2;
2280inline int Task::_internal_duration_size() const {
2281 return _internal_duration().size();
2282}
2283inline int Task::duration_size() const {
2284 return _internal_duration_size();
2285}
2286inline void Task::clear_duration() {
2287 ::google::protobuf::internal::TSanWrite(&_impl_);
2288 _impl_.duration_.Clear();
2289}
2290inline ::int64_t Task::duration(int index) const {
2291 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Task.duration)
2292 return _internal_duration().Get(index);
2293}
2294inline void Task::set_duration(int index, ::int64_t value) {
2295 _internal_mutable_duration()->Set(index, value);
2296 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.Task.duration)
2297}
2298inline void Task::add_duration(::int64_t value) {
2299 ::google::protobuf::internal::TSanWrite(&_impl_);
2300 _internal_mutable_duration()->Add(value);
2301 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.Task.duration)
2302}
2303inline const ::google::protobuf::RepeatedField<::int64_t>& Task::duration() const
2304 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2305 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.Task.duration)
2306 return _internal_duration();
2308inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL Task::mutable_duration()
2309 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2310 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.Task.duration)
2311 ::google::protobuf::internal::TSanWrite(&_impl_);
2312 return _internal_mutable_duration();
2313}
2314inline const ::google::protobuf::RepeatedField<::int64_t>&
2315Task::_internal_duration() const {
2316 ::google::protobuf::internal::TSanRead(&_impl_);
2317 return _impl_.duration_;
2318}
2319inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2320Task::_internal_mutable_duration() {
2321 ::google::protobuf::internal::TSanRead(&_impl_);
2322 return &_impl_.duration_;
2323}
2324
2325// repeated int64 cost = 3;
2326inline int Task::_internal_cost_size() const {
2327 return _internal_cost().size();
2328}
2329inline int Task::cost_size() const {
2330 return _internal_cost_size();
2331}
2332inline void Task::clear_cost() {
2333 ::google::protobuf::internal::TSanWrite(&_impl_);
2334 _impl_.cost_.Clear();
2335}
2336inline ::int64_t Task::cost(int index) const {
2337 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Task.cost)
2338 return _internal_cost().Get(index);
2339}
2340inline void Task::set_cost(int index, ::int64_t value) {
2341 _internal_mutable_cost()->Set(index, value);
2342 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.Task.cost)
2343}
2344inline void Task::add_cost(::int64_t value) {
2345 ::google::protobuf::internal::TSanWrite(&_impl_);
2346 _internal_mutable_cost()->Add(value);
2347 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.Task.cost)
2348}
2349inline const ::google::protobuf::RepeatedField<::int64_t>& Task::cost() const
2350 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2351 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.Task.cost)
2352 return _internal_cost();
2354inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL Task::mutable_cost()
2355 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2356 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.Task.cost)
2357 ::google::protobuf::internal::TSanWrite(&_impl_);
2358 return _internal_mutable_cost();
2359}
2360inline const ::google::protobuf::RepeatedField<::int64_t>&
2361Task::_internal_cost() const {
2362 ::google::protobuf::internal::TSanRead(&_impl_);
2363 return _impl_.cost_;
2364}
2365inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2366Task::_internal_mutable_cost() {
2367 ::google::protobuf::internal::TSanRead(&_impl_);
2368 return &_impl_.cost_;
2369}
2370
2371// -------------------------------------------------------------------
2372
2373// Job
2374
2375// repeated .operations_research.scheduling.jssp.Task tasks = 1;
2376inline int Job::_internal_tasks_size() const {
2377 return _internal_tasks().size();
2378}
2379inline int Job::tasks_size() const {
2380 return _internal_tasks_size();
2381}
2382inline void Job::clear_tasks() {
2383 ::google::protobuf::internal::TSanWrite(&_impl_);
2384 _impl_.tasks_.Clear();
2385}
2386inline ::operations_research::scheduling::jssp::Task* PROTOBUF_NONNULL Job::mutable_tasks(int index)
2387 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2388 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.Job.tasks)
2389 return _internal_mutable_tasks()->Mutable(index);
2390}
2391inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL Job::mutable_tasks()
2392 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2393 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.Job.tasks)
2394 ::google::protobuf::internal::TSanWrite(&_impl_);
2395 return _internal_mutable_tasks();
2397inline const ::operations_research::scheduling::jssp::Task& Job::tasks(int index) const
2398 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2399 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Job.tasks)
2400 return _internal_tasks().Get(index);
2401}
2402inline ::operations_research::scheduling::jssp::Task* PROTOBUF_NONNULL Job::add_tasks()
2403 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2404 ::google::protobuf::internal::TSanWrite(&_impl_);
2405 ::operations_research::scheduling::jssp::Task* _add = _internal_mutable_tasks()->Add();
2406 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.Job.tasks)
2407 return _add;
2408}
2409inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>& Job::tasks() const
2410 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2411 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.Job.tasks)
2412 return _internal_tasks();
2413}
2414inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>&
2415Job::_internal_tasks() const {
2416 ::google::protobuf::internal::TSanRead(&_impl_);
2417 return _impl_.tasks_;
2418}
2419inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task>* PROTOBUF_NONNULL
2420Job::_internal_mutable_tasks() {
2421 ::google::protobuf::internal::TSanRead(&_impl_);
2422 return &_impl_.tasks_;
2424
2425// .google.protobuf.Int64Value earliest_start = 2;
2426inline bool Job::has_earliest_start() const {
2427 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2428 PROTOBUF_ASSUME(!value || _impl_.earliest_start_ != nullptr);
2429 return value;
2430}
2431inline const ::google::protobuf::Int64Value& Job::_internal_earliest_start() const {
2432 ::google::protobuf::internal::TSanRead(&_impl_);
2433 const ::google::protobuf::Int64Value* p = _impl_.earliest_start_;
2434 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Int64Value&>(::google::protobuf::_Int64Value_default_instance_);
2435}
2436inline const ::google::protobuf::Int64Value& Job::earliest_start() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2437 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Job.earliest_start)
2438 return _internal_earliest_start();
2439}
2441 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE value) {
2442 ::google::protobuf::internal::TSanWrite(&_impl_);
2443 if (GetArena() == nullptr) {
2444 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.earliest_start_);
2445 }
2446 _impl_.earliest_start_ = reinterpret_cast<::google::protobuf::Int64Value*>(value);
2447 if (value != nullptr) {
2448 _impl_._has_bits_[0] |= 0x00000002u;
2449 } else {
2450 _impl_._has_bits_[0] &= ~0x00000002u;
2451 }
2452 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.scheduling.jssp.Job.earliest_start)
2453}
2454inline ::google::protobuf::Int64Value* PROTOBUF_NULLABLE Job::release_earliest_start() {
2455 ::google::protobuf::internal::TSanWrite(&_impl_);
2456
2457 _impl_._has_bits_[0] &= ~0x00000002u;
2458 ::google::protobuf::Int64Value* released = _impl_.earliest_start_;
2459 _impl_.earliest_start_ = nullptr;
2460 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2461 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2462 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2463 if (GetArena() == nullptr) {
2464 delete old;
2465 }
2466 } else {
2467 if (GetArena() != nullptr) {
2468 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2469 }
2470 }
2471 return released;
2472}
2473inline ::google::protobuf::Int64Value* PROTOBUF_NULLABLE Job::unsafe_arena_release_earliest_start() {
2474 ::google::protobuf::internal::TSanWrite(&_impl_);
2475 // @@protoc_insertion_point(field_release:operations_research.scheduling.jssp.Job.earliest_start)
2476
2477 _impl_._has_bits_[0] &= ~0x00000002u;
2478 ::google::protobuf::Int64Value* temp = _impl_.earliest_start_;
2479 _impl_.earliest_start_ = nullptr;
2480 return temp;
2481}
2482inline ::google::protobuf::Int64Value* PROTOBUF_NONNULL Job::_internal_mutable_earliest_start() {
2483 ::google::protobuf::internal::TSanWrite(&_impl_);
2484 if (_impl_.earliest_start_ == nullptr) {
2485 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Int64Value>(GetArena());
2486 _impl_.earliest_start_ = reinterpret_cast<::google::protobuf::Int64Value*>(p);
2488 return _impl_.earliest_start_;
2489}
2490inline ::google::protobuf::Int64Value* PROTOBUF_NONNULL Job::mutable_earliest_start()
2491 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2492 _impl_._has_bits_[0] |= 0x00000002u;
2493 ::google::protobuf::Int64Value* _msg = _internal_mutable_earliest_start();
2494 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.Job.earliest_start)
2495 return _msg;
2496}
2497inline void Job::set_allocated_earliest_start(::google::protobuf::Int64Value* PROTOBUF_NULLABLE value) {
2498 ::google::protobuf::Arena* message_arena = GetArena();
2499 ::google::protobuf::internal::TSanWrite(&_impl_);
2500 if (message_arena == nullptr) {
2501 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.earliest_start_);
2502 }
2503
2504 if (value != nullptr) {
2505 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2506 if (message_arena != submessage_arena) {
2507 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2508 }
2509 _impl_._has_bits_[0] |= 0x00000002u;
2510 } else {
2511 _impl_._has_bits_[0] &= ~0x00000002u;
2512 }
2513
2514 _impl_.earliest_start_ = reinterpret_cast<::google::protobuf::Int64Value*>(value);
2515 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.jssp.Job.earliest_start)
2516}
2517
2518// int64 early_due_date = 3;
2519inline void Job::clear_early_due_date() {
2520 ::google::protobuf::internal::TSanWrite(&_impl_);
2521 _impl_.early_due_date_ = ::int64_t{0};
2522 _impl_._has_bits_[0] &= ~0x00000008u;
2523}
2524inline ::int64_t Job::early_due_date() const {
2525 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Job.early_due_date)
2526 return _internal_early_due_date();
2527}
2528inline void Job::set_early_due_date(::int64_t value) {
2529 _internal_set_early_due_date(value);
2530 _impl_._has_bits_[0] |= 0x00000008u;
2531 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.Job.early_due_date)
2532}
2533inline ::int64_t Job::_internal_early_due_date() const {
2534 ::google::protobuf::internal::TSanRead(&_impl_);
2535 return _impl_.early_due_date_;
2536}
2537inline void Job::_internal_set_early_due_date(::int64_t value) {
2538 ::google::protobuf::internal::TSanWrite(&_impl_);
2539 _impl_.early_due_date_ = value;
2540}
2541
2542// int64 late_due_date = 4;
2543inline void Job::clear_late_due_date() {
2544 ::google::protobuf::internal::TSanWrite(&_impl_);
2545 _impl_.late_due_date_ = ::int64_t{0};
2546 _impl_._has_bits_[0] &= ~0x00000010u;
2547}
2548inline ::int64_t Job::late_due_date() const {
2549 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Job.late_due_date)
2550 return _internal_late_due_date();
2551}
2552inline void Job::set_late_due_date(::int64_t value) {
2553 _internal_set_late_due_date(value);
2554 _impl_._has_bits_[0] |= 0x00000010u;
2555 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.Job.late_due_date)
2556}
2557inline ::int64_t Job::_internal_late_due_date() const {
2558 ::google::protobuf::internal::TSanRead(&_impl_);
2559 return _impl_.late_due_date_;
2560}
2561inline void Job::_internal_set_late_due_date(::int64_t value) {
2562 ::google::protobuf::internal::TSanWrite(&_impl_);
2563 _impl_.late_due_date_ = value;
2564}
2565
2566// int64 earliness_cost_per_time_unit = 5;
2568 ::google::protobuf::internal::TSanWrite(&_impl_);
2569 _impl_.earliness_cost_per_time_unit_ = ::int64_t{0};
2570 _impl_._has_bits_[0] &= ~0x00000020u;
2571}
2572inline ::int64_t Job::earliness_cost_per_time_unit() const {
2573 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Job.earliness_cost_per_time_unit)
2574 return _internal_earliness_cost_per_time_unit();
2575}
2576inline void Job::set_earliness_cost_per_time_unit(::int64_t value) {
2577 _internal_set_earliness_cost_per_time_unit(value);
2578 _impl_._has_bits_[0] |= 0x00000020u;
2579 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.Job.earliness_cost_per_time_unit)
2580}
2581inline ::int64_t Job::_internal_earliness_cost_per_time_unit() const {
2582 ::google::protobuf::internal::TSanRead(&_impl_);
2583 return _impl_.earliness_cost_per_time_unit_;
2584}
2585inline void Job::_internal_set_earliness_cost_per_time_unit(::int64_t value) {
2586 ::google::protobuf::internal::TSanWrite(&_impl_);
2587 _impl_.earliness_cost_per_time_unit_ = value;
2588}
2589
2590// int64 lateness_cost_per_time_unit = 6;
2592 ::google::protobuf::internal::TSanWrite(&_impl_);
2593 _impl_.lateness_cost_per_time_unit_ = ::int64_t{0};
2594 _impl_._has_bits_[0] &= ~0x00000040u;
2595}
2596inline ::int64_t Job::lateness_cost_per_time_unit() const {
2597 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Job.lateness_cost_per_time_unit)
2598 return _internal_lateness_cost_per_time_unit();
2599}
2600inline void Job::set_lateness_cost_per_time_unit(::int64_t value) {
2601 _internal_set_lateness_cost_per_time_unit(value);
2602 _impl_._has_bits_[0] |= 0x00000040u;
2603 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.Job.lateness_cost_per_time_unit)
2604}
2605inline ::int64_t Job::_internal_lateness_cost_per_time_unit() const {
2606 ::google::protobuf::internal::TSanRead(&_impl_);
2607 return _impl_.lateness_cost_per_time_unit_;
2608}
2609inline void Job::_internal_set_lateness_cost_per_time_unit(::int64_t value) {
2610 ::google::protobuf::internal::TSanWrite(&_impl_);
2611 _impl_.lateness_cost_per_time_unit_ = value;
2612}
2613
2614// .google.protobuf.Int64Value latest_end = 7;
2615inline bool Job::has_latest_end() const {
2616 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2617 PROTOBUF_ASSUME(!value || _impl_.latest_end_ != nullptr);
2618 return value;
2619}
2620inline const ::google::protobuf::Int64Value& Job::_internal_latest_end() const {
2621 ::google::protobuf::internal::TSanRead(&_impl_);
2622 const ::google::protobuf::Int64Value* p = _impl_.latest_end_;
2623 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Int64Value&>(::google::protobuf::_Int64Value_default_instance_);
2624}
2625inline const ::google::protobuf::Int64Value& Job::latest_end() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2626 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Job.latest_end)
2627 return _internal_latest_end();
2628}
2630 ::google::protobuf::Int64Value* PROTOBUF_NULLABLE value) {
2631 ::google::protobuf::internal::TSanWrite(&_impl_);
2632 if (GetArena() == nullptr) {
2633 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.latest_end_);
2634 }
2635 _impl_.latest_end_ = reinterpret_cast<::google::protobuf::Int64Value*>(value);
2636 if (value != nullptr) {
2637 _impl_._has_bits_[0] |= 0x00000004u;
2638 } else {
2639 _impl_._has_bits_[0] &= ~0x00000004u;
2640 }
2641 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.scheduling.jssp.Job.latest_end)
2642}
2643inline ::google::protobuf::Int64Value* PROTOBUF_NULLABLE Job::release_latest_end() {
2644 ::google::protobuf::internal::TSanWrite(&_impl_);
2645
2646 _impl_._has_bits_[0] &= ~0x00000004u;
2647 ::google::protobuf::Int64Value* released = _impl_.latest_end_;
2648 _impl_.latest_end_ = nullptr;
2649 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2650 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2651 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2652 if (GetArena() == nullptr) {
2653 delete old;
2654 }
2655 } else {
2656 if (GetArena() != nullptr) {
2657 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2658 }
2659 }
2660 return released;
2661}
2662inline ::google::protobuf::Int64Value* PROTOBUF_NULLABLE Job::unsafe_arena_release_latest_end() {
2663 ::google::protobuf::internal::TSanWrite(&_impl_);
2664 // @@protoc_insertion_point(field_release:operations_research.scheduling.jssp.Job.latest_end)
2665
2666 _impl_._has_bits_[0] &= ~0x00000004u;
2667 ::google::protobuf::Int64Value* temp = _impl_.latest_end_;
2668 _impl_.latest_end_ = nullptr;
2669 return temp;
2670}
2671inline ::google::protobuf::Int64Value* PROTOBUF_NONNULL Job::_internal_mutable_latest_end() {
2672 ::google::protobuf::internal::TSanWrite(&_impl_);
2673 if (_impl_.latest_end_ == nullptr) {
2674 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Int64Value>(GetArena());
2675 _impl_.latest_end_ = reinterpret_cast<::google::protobuf::Int64Value*>(p);
2677 return _impl_.latest_end_;
2678}
2679inline ::google::protobuf::Int64Value* PROTOBUF_NONNULL Job::mutable_latest_end()
2680 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2681 _impl_._has_bits_[0] |= 0x00000004u;
2682 ::google::protobuf::Int64Value* _msg = _internal_mutable_latest_end();
2683 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.Job.latest_end)
2684 return _msg;
2685}
2686inline void Job::set_allocated_latest_end(::google::protobuf::Int64Value* PROTOBUF_NULLABLE value) {
2687 ::google::protobuf::Arena* message_arena = GetArena();
2688 ::google::protobuf::internal::TSanWrite(&_impl_);
2689 if (message_arena == nullptr) {
2690 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.latest_end_);
2691 }
2692
2693 if (value != nullptr) {
2694 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2695 if (message_arena != submessage_arena) {
2696 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2697 }
2698 _impl_._has_bits_[0] |= 0x00000004u;
2699 } else {
2700 _impl_._has_bits_[0] &= ~0x00000004u;
2701 }
2702
2703 _impl_.latest_end_ = reinterpret_cast<::google::protobuf::Int64Value*>(value);
2704 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.jssp.Job.latest_end)
2705}
2706
2707// string name = 16;
2708inline void Job::clear_name() {
2709 ::google::protobuf::internal::TSanWrite(&_impl_);
2710 _impl_.name_.ClearToEmpty();
2711 _impl_._has_bits_[0] &= ~0x00000001u;
2712}
2713inline const ::std::string& Job::name() const
2714 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2715 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Job.name)
2716 return _internal_name();
2717}
2718template <typename Arg_, typename... Args_>
2719PROTOBUF_ALWAYS_INLINE void Job::set_name(Arg_&& arg, Args_... args) {
2720 ::google::protobuf::internal::TSanWrite(&_impl_);
2721 _impl_._has_bits_[0] |= 0x00000001u;
2722 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2723 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.Job.name)
2724}
2725inline ::std::string* PROTOBUF_NONNULL Job::mutable_name()
2726 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2727 ::std::string* _s = _internal_mutable_name();
2728 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.Job.name)
2729 return _s;
2730}
2731inline const ::std::string& Job::_internal_name() const {
2732 ::google::protobuf::internal::TSanRead(&_impl_);
2733 return _impl_.name_.Get();
2734}
2735inline void Job::_internal_set_name(const ::std::string& value) {
2736 ::google::protobuf::internal::TSanWrite(&_impl_);
2737 _impl_._has_bits_[0] |= 0x00000001u;
2738 _impl_.name_.Set(value, GetArena());
2740inline ::std::string* PROTOBUF_NONNULL Job::_internal_mutable_name() {
2741 ::google::protobuf::internal::TSanWrite(&_impl_);
2742 _impl_._has_bits_[0] |= 0x00000001u;
2743 return _impl_.name_.Mutable( GetArena());
2744}
2745inline ::std::string* PROTOBUF_NULLABLE Job::release_name() {
2746 ::google::protobuf::internal::TSanWrite(&_impl_);
2747 // @@protoc_insertion_point(field_release:operations_research.scheduling.jssp.Job.name)
2748 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
2749 return nullptr;
2750 }
2751 _impl_._has_bits_[0] &= ~0x00000001u;
2752 auto* released = _impl_.name_.Release();
2753 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2754 _impl_.name_.Set("", GetArena());
2755 }
2756 return released;
2757}
2758inline void Job::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
2759 ::google::protobuf::internal::TSanWrite(&_impl_);
2760 if (value != nullptr) {
2761 _impl_._has_bits_[0] |= 0x00000001u;
2762 } else {
2763 _impl_._has_bits_[0] &= ~0x00000001u;
2764 }
2765 _impl_.name_.SetAllocated(value, GetArena());
2766 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2767 _impl_.name_.Set("", GetArena());
2768 }
2769 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.jssp.Job.name)
2770}
2771
2772// -------------------------------------------------------------------
2773
2774// TransitionTimeMatrix
2775
2776// repeated int64 transition_time = 1;
2777inline int TransitionTimeMatrix::_internal_transition_time_size() const {
2778 return _internal_transition_time().size();
2779}
2781 return _internal_transition_time_size();
2782}
2784 ::google::protobuf::internal::TSanWrite(&_impl_);
2785 _impl_.transition_time_.Clear();
2786}
2787inline ::int64_t TransitionTimeMatrix::transition_time(int index) const {
2788 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.TransitionTimeMatrix.transition_time)
2789 return _internal_transition_time().Get(index);
2790}
2791inline void TransitionTimeMatrix::set_transition_time(int index, ::int64_t value) {
2792 _internal_mutable_transition_time()->Set(index, value);
2793 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.TransitionTimeMatrix.transition_time)
2794}
2795inline void TransitionTimeMatrix::add_transition_time(::int64_t value) {
2796 ::google::protobuf::internal::TSanWrite(&_impl_);
2797 _internal_mutable_transition_time()->Add(value);
2798 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.TransitionTimeMatrix.transition_time)
2799}
2800inline const ::google::protobuf::RepeatedField<::int64_t>& TransitionTimeMatrix::transition_time() const
2801 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2802 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.TransitionTimeMatrix.transition_time)
2803 return _internal_transition_time();
2804}
2805inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL TransitionTimeMatrix::mutable_transition_time()
2806 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2807 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.TransitionTimeMatrix.transition_time)
2808 ::google::protobuf::internal::TSanWrite(&_impl_);
2809 return _internal_mutable_transition_time();
2811inline const ::google::protobuf::RepeatedField<::int64_t>&
2812TransitionTimeMatrix::_internal_transition_time() const {
2813 ::google::protobuf::internal::TSanRead(&_impl_);
2814 return _impl_.transition_time_;
2816inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2817TransitionTimeMatrix::_internal_mutable_transition_time() {
2818 ::google::protobuf::internal::TSanRead(&_impl_);
2819 return &_impl_.transition_time_;
2821
2822// -------------------------------------------------------------------
2823
2824// Machine
2825
2826// .operations_research.scheduling.jssp.TransitionTimeMatrix transition_time_matrix = 1;
2827inline bool Machine::has_transition_time_matrix() const {
2828 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2829 PROTOBUF_ASSUME(!value || _impl_.transition_time_matrix_ != nullptr);
2830 return value;
2831}
2833 ::google::protobuf::internal::TSanWrite(&_impl_);
2834 if (_impl_.transition_time_matrix_ != nullptr) _impl_.transition_time_matrix_->Clear();
2835 _impl_._has_bits_[0] &= ~0x00000002u;
2836}
2837inline const ::operations_research::scheduling::jssp::TransitionTimeMatrix& Machine::_internal_transition_time_matrix() const {
2838 ::google::protobuf::internal::TSanRead(&_impl_);
2839 const ::operations_research::scheduling::jssp::TransitionTimeMatrix* p = _impl_.transition_time_matrix_;
2841}
2842inline const ::operations_research::scheduling::jssp::TransitionTimeMatrix& Machine::transition_time_matrix() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2843 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Machine.transition_time_matrix)
2844 return _internal_transition_time_matrix();
2845}
2848 ::google::protobuf::internal::TSanWrite(&_impl_);
2849 if (GetArena() == nullptr) {
2850 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.transition_time_matrix_);
2851 }
2852 _impl_.transition_time_matrix_ = reinterpret_cast<::operations_research::scheduling::jssp::TransitionTimeMatrix*>(value);
2853 if (value != nullptr) {
2854 _impl_._has_bits_[0] |= 0x00000002u;
2855 } else {
2856 _impl_._has_bits_[0] &= ~0x00000002u;
2857 }
2858 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.scheduling.jssp.Machine.transition_time_matrix)
2859}
2860inline ::operations_research::scheduling::jssp::TransitionTimeMatrix* PROTOBUF_NULLABLE Machine::release_transition_time_matrix() {
2861 ::google::protobuf::internal::TSanWrite(&_impl_);
2863 _impl_._has_bits_[0] &= ~0x00000002u;
2865 _impl_.transition_time_matrix_ = nullptr;
2866 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2867 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2868 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2869 if (GetArena() == nullptr) {
2870 delete old;
2871 }
2872 } else {
2873 if (GetArena() != nullptr) {
2874 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2875 }
2877 return released;
2878}
2879inline ::operations_research::scheduling::jssp::TransitionTimeMatrix* PROTOBUF_NULLABLE Machine::unsafe_arena_release_transition_time_matrix() {
2880 ::google::protobuf::internal::TSanWrite(&_impl_);
2881 // @@protoc_insertion_point(field_release:operations_research.scheduling.jssp.Machine.transition_time_matrix)
2882
2883 _impl_._has_bits_[0] &= ~0x00000002u;
2885 _impl_.transition_time_matrix_ = nullptr;
2886 return temp;
2887}
2888inline ::operations_research::scheduling::jssp::TransitionTimeMatrix* PROTOBUF_NONNULL Machine::_internal_mutable_transition_time_matrix() {
2889 ::google::protobuf::internal::TSanWrite(&_impl_);
2890 if (_impl_.transition_time_matrix_ == nullptr) {
2891 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::scheduling::jssp::TransitionTimeMatrix>(GetArena());
2892 _impl_.transition_time_matrix_ = reinterpret_cast<::operations_research::scheduling::jssp::TransitionTimeMatrix*>(p);
2893 }
2894 return _impl_.transition_time_matrix_;
2896inline ::operations_research::scheduling::jssp::TransitionTimeMatrix* PROTOBUF_NONNULL Machine::mutable_transition_time_matrix()
2897 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2898 _impl_._has_bits_[0] |= 0x00000002u;
2899 ::operations_research::scheduling::jssp::TransitionTimeMatrix* _msg = _internal_mutable_transition_time_matrix();
2900 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.Machine.transition_time_matrix)
2901 return _msg;
2902}
2904 ::google::protobuf::Arena* message_arena = GetArena();
2905 ::google::protobuf::internal::TSanWrite(&_impl_);
2906 if (message_arena == nullptr) {
2907 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.transition_time_matrix_);
2908 }
2909
2910 if (value != nullptr) {
2911 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2912 if (message_arena != submessage_arena) {
2913 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2914 }
2915 _impl_._has_bits_[0] |= 0x00000002u;
2916 } else {
2917 _impl_._has_bits_[0] &= ~0x00000002u;
2918 }
2920 _impl_.transition_time_matrix_ = reinterpret_cast<::operations_research::scheduling::jssp::TransitionTimeMatrix*>(value);
2921 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.jssp.Machine.transition_time_matrix)
2922}
2923
2924// string name = 16;
2925inline void Machine::clear_name() {
2926 ::google::protobuf::internal::TSanWrite(&_impl_);
2927 _impl_.name_.ClearToEmpty();
2928 _impl_._has_bits_[0] &= ~0x00000001u;
2929}
2930inline const ::std::string& Machine::name() const
2931 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2932 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.Machine.name)
2933 return _internal_name();
2934}
2935template <typename Arg_, typename... Args_>
2936PROTOBUF_ALWAYS_INLINE void Machine::set_name(Arg_&& arg, Args_... args) {
2937 ::google::protobuf::internal::TSanWrite(&_impl_);
2938 _impl_._has_bits_[0] |= 0x00000001u;
2939 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2940 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.Machine.name)
2942inline ::std::string* PROTOBUF_NONNULL Machine::mutable_name()
2943 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2944 ::std::string* _s = _internal_mutable_name();
2945 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.Machine.name)
2946 return _s;
2947}
2948inline const ::std::string& Machine::_internal_name() const {
2949 ::google::protobuf::internal::TSanRead(&_impl_);
2950 return _impl_.name_.Get();
2951}
2952inline void Machine::_internal_set_name(const ::std::string& value) {
2953 ::google::protobuf::internal::TSanWrite(&_impl_);
2954 _impl_._has_bits_[0] |= 0x00000001u;
2955 _impl_.name_.Set(value, GetArena());
2956}
2957inline ::std::string* PROTOBUF_NONNULL Machine::_internal_mutable_name() {
2958 ::google::protobuf::internal::TSanWrite(&_impl_);
2959 _impl_._has_bits_[0] |= 0x00000001u;
2960 return _impl_.name_.Mutable( GetArena());
2961}
2962inline ::std::string* PROTOBUF_NULLABLE Machine::release_name() {
2963 ::google::protobuf::internal::TSanWrite(&_impl_);
2964 // @@protoc_insertion_point(field_release:operations_research.scheduling.jssp.Machine.name)
2965 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
2966 return nullptr;
2967 }
2968 _impl_._has_bits_[0] &= ~0x00000001u;
2969 auto* released = _impl_.name_.Release();
2970 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2971 _impl_.name_.Set("", GetArena());
2972 }
2973 return released;
2974}
2975inline void Machine::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
2976 ::google::protobuf::internal::TSanWrite(&_impl_);
2977 if (value != nullptr) {
2978 _impl_._has_bits_[0] |= 0x00000001u;
2979 } else {
2980 _impl_._has_bits_[0] &= ~0x00000001u;
2981 }
2982 _impl_.name_.SetAllocated(value, GetArena());
2983 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2984 _impl_.name_.Set("", GetArena());
2985 }
2986 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.jssp.Machine.name)
2987}
2988
2989// -------------------------------------------------------------------
2990
2991// JobPrecedence
2992
2993// int32 first_job_index = 1;
2995 ::google::protobuf::internal::TSanWrite(&_impl_);
2996 _impl_.first_job_index_ = 0;
2997 _impl_._has_bits_[0] &= ~0x00000001u;
2998}
2999inline ::int32_t JobPrecedence::first_job_index() const {
3000 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JobPrecedence.first_job_index)
3001 return _internal_first_job_index();
3002}
3003inline void JobPrecedence::set_first_job_index(::int32_t value) {
3004 _internal_set_first_job_index(value);
3005 _impl_._has_bits_[0] |= 0x00000001u;
3006 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.JobPrecedence.first_job_index)
3007}
3008inline ::int32_t JobPrecedence::_internal_first_job_index() const {
3009 ::google::protobuf::internal::TSanRead(&_impl_);
3010 return _impl_.first_job_index_;
3012inline void JobPrecedence::_internal_set_first_job_index(::int32_t value) {
3013 ::google::protobuf::internal::TSanWrite(&_impl_);
3014 _impl_.first_job_index_ = value;
3015}
3017// int32 second_job_index = 2;
3019 ::google::protobuf::internal::TSanWrite(&_impl_);
3020 _impl_.second_job_index_ = 0;
3021 _impl_._has_bits_[0] &= ~0x00000002u;
3022}
3023inline ::int32_t JobPrecedence::second_job_index() const {
3024 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JobPrecedence.second_job_index)
3025 return _internal_second_job_index();
3026}
3027inline void JobPrecedence::set_second_job_index(::int32_t value) {
3028 _internal_set_second_job_index(value);
3029 _impl_._has_bits_[0] |= 0x00000002u;
3030 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.JobPrecedence.second_job_index)
3031}
3032inline ::int32_t JobPrecedence::_internal_second_job_index() const {
3033 ::google::protobuf::internal::TSanRead(&_impl_);
3034 return _impl_.second_job_index_;
3036inline void JobPrecedence::_internal_set_second_job_index(::int32_t value) {
3037 ::google::protobuf::internal::TSanWrite(&_impl_);
3038 _impl_.second_job_index_ = value;
3039}
3041// int64 min_delay = 3;
3042inline void JobPrecedence::clear_min_delay() {
3043 ::google::protobuf::internal::TSanWrite(&_impl_);
3044 _impl_.min_delay_ = ::int64_t{0};
3045 _impl_._has_bits_[0] &= ~0x00000004u;
3046}
3047inline ::int64_t JobPrecedence::min_delay() const {
3048 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JobPrecedence.min_delay)
3049 return _internal_min_delay();
3050}
3051inline void JobPrecedence::set_min_delay(::int64_t value) {
3052 _internal_set_min_delay(value);
3053 _impl_._has_bits_[0] |= 0x00000004u;
3054 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.JobPrecedence.min_delay)
3055}
3056inline ::int64_t JobPrecedence::_internal_min_delay() const {
3057 ::google::protobuf::internal::TSanRead(&_impl_);
3058 return _impl_.min_delay_;
3060inline void JobPrecedence::_internal_set_min_delay(::int64_t value) {
3061 ::google::protobuf::internal::TSanWrite(&_impl_);
3062 _impl_.min_delay_ = value;
3063}
3065// -------------------------------------------------------------------
3066
3067// JsspInputProblem
3069// repeated .operations_research.scheduling.jssp.Job jobs = 1;
3070inline int JsspInputProblem::_internal_jobs_size() const {
3071 return _internal_jobs().size();
3072}
3073inline int JsspInputProblem::jobs_size() const {
3074 return _internal_jobs_size();
3075}
3076inline void JsspInputProblem::clear_jobs() {
3077 ::google::protobuf::internal::TSanWrite(&_impl_);
3078 _impl_.jobs_.Clear();
3079}
3080inline ::operations_research::scheduling::jssp::Job* PROTOBUF_NONNULL JsspInputProblem::mutable_jobs(int index)
3081 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3082 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.JsspInputProblem.jobs)
3083 return _internal_mutable_jobs()->Mutable(index);
3084}
3085inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL JsspInputProblem::mutable_jobs()
3086 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3087 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.JsspInputProblem.jobs)
3088 ::google::protobuf::internal::TSanWrite(&_impl_);
3089 return _internal_mutable_jobs();
3090}
3091inline const ::operations_research::scheduling::jssp::Job& JsspInputProblem::jobs(int index) const
3092 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3093 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspInputProblem.jobs)
3094 return _internal_jobs().Get(index);
3095}
3096inline ::operations_research::scheduling::jssp::Job* PROTOBUF_NONNULL JsspInputProblem::add_jobs()
3097 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3098 ::google::protobuf::internal::TSanWrite(&_impl_);
3099 ::operations_research::scheduling::jssp::Job* _add = _internal_mutable_jobs()->Add();
3100 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.JsspInputProblem.jobs)
3101 return _add;
3102}
3103inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>& JsspInputProblem::jobs() const
3104 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3105 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.JsspInputProblem.jobs)
3106 return _internal_jobs();
3107}
3108inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>&
3109JsspInputProblem::_internal_jobs() const {
3110 ::google::protobuf::internal::TSanRead(&_impl_);
3111 return _impl_.jobs_;
3112}
3113inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job>* PROTOBUF_NONNULL
3114JsspInputProblem::_internal_mutable_jobs() {
3115 ::google::protobuf::internal::TSanRead(&_impl_);
3116 return &_impl_.jobs_;
3117}
3118
3119// repeated .operations_research.scheduling.jssp.Machine machines = 2;
3120inline int JsspInputProblem::_internal_machines_size() const {
3121 return _internal_machines().size();
3122}
3123inline int JsspInputProblem::machines_size() const {
3124 return _internal_machines_size();
3125}
3127 ::google::protobuf::internal::TSanWrite(&_impl_);
3128 _impl_.machines_.Clear();
3129}
3130inline ::operations_research::scheduling::jssp::Machine* PROTOBUF_NONNULL JsspInputProblem::mutable_machines(int index)
3131 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3132 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.JsspInputProblem.machines)
3133 return _internal_mutable_machines()->Mutable(index);
3134}
3135inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL JsspInputProblem::mutable_machines()
3136 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3137 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.JsspInputProblem.machines)
3138 ::google::protobuf::internal::TSanWrite(&_impl_);
3139 return _internal_mutable_machines();
3140}
3141inline const ::operations_research::scheduling::jssp::Machine& JsspInputProblem::machines(int index) const
3142 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3143 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspInputProblem.machines)
3144 return _internal_machines().Get(index);
3145}
3146inline ::operations_research::scheduling::jssp::Machine* PROTOBUF_NONNULL JsspInputProblem::add_machines()
3147 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3148 ::google::protobuf::internal::TSanWrite(&_impl_);
3149 ::operations_research::scheduling::jssp::Machine* _add = _internal_mutable_machines()->Add();
3150 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.JsspInputProblem.machines)
3151 return _add;
3152}
3153inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>& JsspInputProblem::machines() const
3154 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3155 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.JsspInputProblem.machines)
3156 return _internal_machines();
3157}
3158inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>&
3159JsspInputProblem::_internal_machines() const {
3160 ::google::protobuf::internal::TSanRead(&_impl_);
3161 return _impl_.machines_;
3162}
3163inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine>* PROTOBUF_NONNULL
3164JsspInputProblem::_internal_mutable_machines() {
3165 ::google::protobuf::internal::TSanRead(&_impl_);
3166 return &_impl_.machines_;
3167}
3168
3169// repeated .operations_research.scheduling.jssp.JobPrecedence precedences = 3;
3170inline int JsspInputProblem::_internal_precedences_size() const {
3171 return _internal_precedences().size();
3172}
3173inline int JsspInputProblem::precedences_size() const {
3174 return _internal_precedences_size();
3175}
3177 ::google::protobuf::internal::TSanWrite(&_impl_);
3178 _impl_.precedences_.Clear();
3179}
3180inline ::operations_research::scheduling::jssp::JobPrecedence* PROTOBUF_NONNULL JsspInputProblem::mutable_precedences(int index)
3181 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3182 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.JsspInputProblem.precedences)
3183 return _internal_mutable_precedences()->Mutable(index);
3184}
3185inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL JsspInputProblem::mutable_precedences()
3186 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3187 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.JsspInputProblem.precedences)
3188 ::google::protobuf::internal::TSanWrite(&_impl_);
3189 return _internal_mutable_precedences();
3190}
3191inline const ::operations_research::scheduling::jssp::JobPrecedence& JsspInputProblem::precedences(int index) const
3192 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3193 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspInputProblem.precedences)
3194 return _internal_precedences().Get(index);
3195}
3196inline ::operations_research::scheduling::jssp::JobPrecedence* PROTOBUF_NONNULL JsspInputProblem::add_precedences()
3197 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3198 ::google::protobuf::internal::TSanWrite(&_impl_);
3199 ::operations_research::scheduling::jssp::JobPrecedence* _add = _internal_mutable_precedences()->Add();
3200 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.JsspInputProblem.precedences)
3201 return _add;
3202}
3203inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>& JsspInputProblem::precedences() const
3204 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3205 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.JsspInputProblem.precedences)
3206 return _internal_precedences();
3207}
3208inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>&
3209JsspInputProblem::_internal_precedences() const {
3210 ::google::protobuf::internal::TSanRead(&_impl_);
3211 return _impl_.precedences_;
3212}
3213inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence>* PROTOBUF_NONNULL
3214JsspInputProblem::_internal_mutable_precedences() {
3215 ::google::protobuf::internal::TSanRead(&_impl_);
3216 return &_impl_.precedences_;
3217}
3218
3219// int64 makespan_cost_per_time_unit = 4;
3221 ::google::protobuf::internal::TSanWrite(&_impl_);
3222 _impl_.makespan_cost_per_time_unit_ = ::int64_t{0};
3223 _impl_._has_bits_[0] &= ~0x00000004u;
3224}
3225inline ::int64_t JsspInputProblem::makespan_cost_per_time_unit() const {
3226 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspInputProblem.makespan_cost_per_time_unit)
3227 return _internal_makespan_cost_per_time_unit();
3228}
3229inline void JsspInputProblem::set_makespan_cost_per_time_unit(::int64_t value) {
3230 _internal_set_makespan_cost_per_time_unit(value);
3231 _impl_._has_bits_[0] |= 0x00000004u;
3232 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.JsspInputProblem.makespan_cost_per_time_unit)
3233}
3234inline ::int64_t JsspInputProblem::_internal_makespan_cost_per_time_unit() const {
3235 ::google::protobuf::internal::TSanRead(&_impl_);
3236 return _impl_.makespan_cost_per_time_unit_;
3237}
3238inline void JsspInputProblem::_internal_set_makespan_cost_per_time_unit(::int64_t value) {
3239 ::google::protobuf::internal::TSanWrite(&_impl_);
3240 _impl_.makespan_cost_per_time_unit_ = value;
3241}
3242
3243// .google.protobuf.DoubleValue scaling_factor = 5;
3244inline bool JsspInputProblem::has_scaling_factor() const {
3245 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3246 PROTOBUF_ASSUME(!value || _impl_.scaling_factor_ != nullptr);
3247 return value;
3248}
3249inline const ::google::protobuf::DoubleValue& JsspInputProblem::_internal_scaling_factor() const {
3250 ::google::protobuf::internal::TSanRead(&_impl_);
3251 const ::google::protobuf::DoubleValue* p = _impl_.scaling_factor_;
3252 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::DoubleValue&>(::google::protobuf::_DoubleValue_default_instance_);
3253}
3254inline const ::google::protobuf::DoubleValue& JsspInputProblem::scaling_factor() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3255 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspInputProblem.scaling_factor)
3256 return _internal_scaling_factor();
3257}
3259 ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE value) {
3260 ::google::protobuf::internal::TSanWrite(&_impl_);
3261 if (GetArena() == nullptr) {
3262 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scaling_factor_);
3263 }
3264 _impl_.scaling_factor_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value);
3265 if (value != nullptr) {
3266 _impl_._has_bits_[0] |= 0x00000002u;
3267 } else {
3268 _impl_._has_bits_[0] &= ~0x00000002u;
3269 }
3270 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.scheduling.jssp.JsspInputProblem.scaling_factor)
3271}
3272inline ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE JsspInputProblem::release_scaling_factor() {
3273 ::google::protobuf::internal::TSanWrite(&_impl_);
3274
3275 _impl_._has_bits_[0] &= ~0x00000002u;
3276 ::google::protobuf::DoubleValue* released = _impl_.scaling_factor_;
3277 _impl_.scaling_factor_ = nullptr;
3278 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3279 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3280 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3281 if (GetArena() == nullptr) {
3282 delete old;
3283 }
3284 } else {
3285 if (GetArena() != nullptr) {
3286 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3287 }
3288 }
3289 return released;
3291inline ::google::protobuf::DoubleValue* PROTOBUF_NULLABLE JsspInputProblem::unsafe_arena_release_scaling_factor() {
3292 ::google::protobuf::internal::TSanWrite(&_impl_);
3293 // @@protoc_insertion_point(field_release:operations_research.scheduling.jssp.JsspInputProblem.scaling_factor)
3294
3295 _impl_._has_bits_[0] &= ~0x00000002u;
3296 ::google::protobuf::DoubleValue* temp = _impl_.scaling_factor_;
3297 _impl_.scaling_factor_ = nullptr;
3298 return temp;
3299}
3300inline ::google::protobuf::DoubleValue* PROTOBUF_NONNULL JsspInputProblem::_internal_mutable_scaling_factor() {
3301 ::google::protobuf::internal::TSanWrite(&_impl_);
3302 if (_impl_.scaling_factor_ == nullptr) {
3303 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::DoubleValue>(GetArena());
3304 _impl_.scaling_factor_ = reinterpret_cast<::google::protobuf::DoubleValue*>(p);
3305 }
3306 return _impl_.scaling_factor_;
3307}
3308inline ::google::protobuf::DoubleValue* PROTOBUF_NONNULL JsspInputProblem::mutable_scaling_factor()
3309 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3310 _impl_._has_bits_[0] |= 0x00000002u;
3311 ::google::protobuf::DoubleValue* _msg = _internal_mutable_scaling_factor();
3312 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.JsspInputProblem.scaling_factor)
3313 return _msg;
3314}
3315inline void JsspInputProblem::set_allocated_scaling_factor(::google::protobuf::DoubleValue* PROTOBUF_NULLABLE value) {
3316 ::google::protobuf::Arena* message_arena = GetArena();
3317 ::google::protobuf::internal::TSanWrite(&_impl_);
3318 if (message_arena == nullptr) {
3319 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scaling_factor_);
3320 }
3321
3322 if (value != nullptr) {
3323 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3324 if (message_arena != submessage_arena) {
3325 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3327 _impl_._has_bits_[0] |= 0x00000002u;
3328 } else {
3329 _impl_._has_bits_[0] &= ~0x00000002u;
3330 }
3331
3332 _impl_.scaling_factor_ = reinterpret_cast<::google::protobuf::DoubleValue*>(value);
3333 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.jssp.JsspInputProblem.scaling_factor)
3334}
3335
3336// int32 seed = 24;
3337inline void JsspInputProblem::clear_seed() {
3338 ::google::protobuf::internal::TSanWrite(&_impl_);
3339 _impl_.seed_ = 0;
3340 _impl_._has_bits_[0] &= ~0x00000008u;
3341}
3342inline ::int32_t JsspInputProblem::seed() const {
3343 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspInputProblem.seed)
3344 return _internal_seed();
3345}
3346inline void JsspInputProblem::set_seed(::int32_t value) {
3347 _internal_set_seed(value);
3348 _impl_._has_bits_[0] |= 0x00000008u;
3349 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.JsspInputProblem.seed)
3350}
3351inline ::int32_t JsspInputProblem::_internal_seed() const {
3352 ::google::protobuf::internal::TSanRead(&_impl_);
3353 return _impl_.seed_;
3354}
3355inline void JsspInputProblem::_internal_set_seed(::int32_t value) {
3356 ::google::protobuf::internal::TSanWrite(&_impl_);
3357 _impl_.seed_ = value;
3358}
3359
3360// string name = 16;
3361inline void JsspInputProblem::clear_name() {
3362 ::google::protobuf::internal::TSanWrite(&_impl_);
3363 _impl_.name_.ClearToEmpty();
3364 _impl_._has_bits_[0] &= ~0x00000001u;
3365}
3366inline const ::std::string& JsspInputProblem::name() const
3367 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3368 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspInputProblem.name)
3369 return _internal_name();
3370}
3371template <typename Arg_, typename... Args_>
3372PROTOBUF_ALWAYS_INLINE void JsspInputProblem::set_name(Arg_&& arg, Args_... args) {
3373 ::google::protobuf::internal::TSanWrite(&_impl_);
3374 _impl_._has_bits_[0] |= 0x00000001u;
3375 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
3376 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.JsspInputProblem.name)
3377}
3378inline ::std::string* PROTOBUF_NONNULL JsspInputProblem::mutable_name()
3379 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3380 ::std::string* _s = _internal_mutable_name();
3381 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.JsspInputProblem.name)
3382 return _s;
3383}
3384inline const ::std::string& JsspInputProblem::_internal_name() const {
3385 ::google::protobuf::internal::TSanRead(&_impl_);
3386 return _impl_.name_.Get();
3387}
3388inline void JsspInputProblem::_internal_set_name(const ::std::string& value) {
3389 ::google::protobuf::internal::TSanWrite(&_impl_);
3390 _impl_._has_bits_[0] |= 0x00000001u;
3391 _impl_.name_.Set(value, GetArena());
3392}
3393inline ::std::string* PROTOBUF_NONNULL JsspInputProblem::_internal_mutable_name() {
3394 ::google::protobuf::internal::TSanWrite(&_impl_);
3395 _impl_._has_bits_[0] |= 0x00000001u;
3396 return _impl_.name_.Mutable( GetArena());
3397}
3398inline ::std::string* PROTOBUF_NULLABLE JsspInputProblem::release_name() {
3399 ::google::protobuf::internal::TSanWrite(&_impl_);
3400 // @@protoc_insertion_point(field_release:operations_research.scheduling.jssp.JsspInputProblem.name)
3401 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
3402 return nullptr;
3403 }
3404 _impl_._has_bits_[0] &= ~0x00000001u;
3405 auto* released = _impl_.name_.Release();
3406 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3407 _impl_.name_.Set("", GetArena());
3408 }
3409 return released;
3410}
3411inline void JsspInputProblem::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
3412 ::google::protobuf::internal::TSanWrite(&_impl_);
3413 if (value != nullptr) {
3414 _impl_._has_bits_[0] |= 0x00000001u;
3415 } else {
3416 _impl_._has_bits_[0] &= ~0x00000001u;
3417 }
3418 _impl_.name_.SetAllocated(value, GetArena());
3419 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3420 _impl_.name_.Set("", GetArena());
3421 }
3422 // @@protoc_insertion_point(field_set_allocated:operations_research.scheduling.jssp.JsspInputProblem.name)
3423}
3424
3425// -------------------------------------------------------------------
3426
3427// AssignedTask
3428
3429// int32 alternative_index = 1;
3431 ::google::protobuf::internal::TSanWrite(&_impl_);
3432 _impl_.alternative_index_ = 0;
3433 _impl_._has_bits_[0] &= ~0x00000002u;
3434}
3435inline ::int32_t AssignedTask::alternative_index() const {
3436 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.AssignedTask.alternative_index)
3437 return _internal_alternative_index();
3438}
3439inline void AssignedTask::set_alternative_index(::int32_t value) {
3440 _internal_set_alternative_index(value);
3441 _impl_._has_bits_[0] |= 0x00000002u;
3442 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.AssignedTask.alternative_index)
3443}
3444inline ::int32_t AssignedTask::_internal_alternative_index() const {
3445 ::google::protobuf::internal::TSanRead(&_impl_);
3446 return _impl_.alternative_index_;
3447}
3448inline void AssignedTask::_internal_set_alternative_index(::int32_t value) {
3449 ::google::protobuf::internal::TSanWrite(&_impl_);
3450 _impl_.alternative_index_ = value;
3451}
3452
3453// int64 start_time = 2;
3455 ::google::protobuf::internal::TSanWrite(&_impl_);
3456 _impl_.start_time_ = ::int64_t{0};
3457 _impl_._has_bits_[0] &= ~0x00000001u;
3459inline ::int64_t AssignedTask::start_time() const {
3460 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.AssignedTask.start_time)
3461 return _internal_start_time();
3462}
3463inline void AssignedTask::set_start_time(::int64_t value) {
3464 _internal_set_start_time(value);
3465 _impl_._has_bits_[0] |= 0x00000001u;
3466 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.AssignedTask.start_time)
3467}
3468inline ::int64_t AssignedTask::_internal_start_time() const {
3469 ::google::protobuf::internal::TSanRead(&_impl_);
3470 return _impl_.start_time_;
3471}
3472inline void AssignedTask::_internal_set_start_time(::int64_t value) {
3473 ::google::protobuf::internal::TSanWrite(&_impl_);
3474 _impl_.start_time_ = value;
3475}
3476
3477// -------------------------------------------------------------------
3479// AssignedJob
3480
3481// repeated .operations_research.scheduling.jssp.AssignedTask tasks = 1;
3482inline int AssignedJob::_internal_tasks_size() const {
3483 return _internal_tasks().size();
3484}
3485inline int AssignedJob::tasks_size() const {
3486 return _internal_tasks_size();
3487}
3488inline void AssignedJob::clear_tasks() {
3489 ::google::protobuf::internal::TSanWrite(&_impl_);
3490 _impl_.tasks_.Clear();
3491}
3492inline ::operations_research::scheduling::jssp::AssignedTask* PROTOBUF_NONNULL AssignedJob::mutable_tasks(int index)
3493 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3494 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.AssignedJob.tasks)
3495 return _internal_mutable_tasks()->Mutable(index);
3496}
3497inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL AssignedJob::mutable_tasks()
3498 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3499 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.AssignedJob.tasks)
3500 ::google::protobuf::internal::TSanWrite(&_impl_);
3501 return _internal_mutable_tasks();
3502}
3503inline const ::operations_research::scheduling::jssp::AssignedTask& AssignedJob::tasks(int index) const
3504 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3505 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.AssignedJob.tasks)
3506 return _internal_tasks().Get(index);
3507}
3508inline ::operations_research::scheduling::jssp::AssignedTask* PROTOBUF_NONNULL AssignedJob::add_tasks()
3509 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3510 ::google::protobuf::internal::TSanWrite(&_impl_);
3511 ::operations_research::scheduling::jssp::AssignedTask* _add = _internal_mutable_tasks()->Add();
3512 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.AssignedJob.tasks)
3513 return _add;
3514}
3515inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>& AssignedJob::tasks() const
3516 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3517 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.AssignedJob.tasks)
3518 return _internal_tasks();
3519}
3520inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>&
3521AssignedJob::_internal_tasks() const {
3522 ::google::protobuf::internal::TSanRead(&_impl_);
3523 return _impl_.tasks_;
3524}
3525inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask>* PROTOBUF_NONNULL
3526AssignedJob::_internal_mutable_tasks() {
3527 ::google::protobuf::internal::TSanRead(&_impl_);
3528 return &_impl_.tasks_;
3529}
3530
3531// int64 due_date_cost = 2;
3533 ::google::protobuf::internal::TSanWrite(&_impl_);
3534 _impl_.due_date_cost_ = ::int64_t{0};
3535 _impl_._has_bits_[0] &= ~0x00000001u;
3536}
3537inline ::int64_t AssignedJob::due_date_cost() const {
3538 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.AssignedJob.due_date_cost)
3539 return _internal_due_date_cost();
3540}
3541inline void AssignedJob::set_due_date_cost(::int64_t value) {
3542 _internal_set_due_date_cost(value);
3543 _impl_._has_bits_[0] |= 0x00000001u;
3544 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.AssignedJob.due_date_cost)
3545}
3546inline ::int64_t AssignedJob::_internal_due_date_cost() const {
3547 ::google::protobuf::internal::TSanRead(&_impl_);
3548 return _impl_.due_date_cost_;
3549}
3550inline void AssignedJob::_internal_set_due_date_cost(::int64_t value) {
3551 ::google::protobuf::internal::TSanWrite(&_impl_);
3552 _impl_.due_date_cost_ = value;
3553}
3554
3555// int64 sum_of_task_costs = 3;
3557 ::google::protobuf::internal::TSanWrite(&_impl_);
3558 _impl_.sum_of_task_costs_ = ::int64_t{0};
3559 _impl_._has_bits_[0] &= ~0x00000002u;
3560}
3561inline ::int64_t AssignedJob::sum_of_task_costs() const {
3562 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.AssignedJob.sum_of_task_costs)
3563 return _internal_sum_of_task_costs();
3564}
3565inline void AssignedJob::set_sum_of_task_costs(::int64_t value) {
3566 _internal_set_sum_of_task_costs(value);
3567 _impl_._has_bits_[0] |= 0x00000002u;
3568 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.AssignedJob.sum_of_task_costs)
3569}
3570inline ::int64_t AssignedJob::_internal_sum_of_task_costs() const {
3571 ::google::protobuf::internal::TSanRead(&_impl_);
3572 return _impl_.sum_of_task_costs_;
3573}
3574inline void AssignedJob::_internal_set_sum_of_task_costs(::int64_t value) {
3575 ::google::protobuf::internal::TSanWrite(&_impl_);
3576 _impl_.sum_of_task_costs_ = value;
3577}
3578
3579// -------------------------------------------------------------------
3580
3581// JsspOutputSolution
3582
3583// repeated .operations_research.scheduling.jssp.AssignedJob jobs = 1;
3584inline int JsspOutputSolution::_internal_jobs_size() const {
3585 return _internal_jobs().size();
3586}
3587inline int JsspOutputSolution::jobs_size() const {
3588 return _internal_jobs_size();
3589}
3590inline void JsspOutputSolution::clear_jobs() {
3591 ::google::protobuf::internal::TSanWrite(&_impl_);
3592 _impl_.jobs_.Clear();
3593}
3594inline ::operations_research::scheduling::jssp::AssignedJob* PROTOBUF_NONNULL JsspOutputSolution::mutable_jobs(int index)
3595 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3596 // @@protoc_insertion_point(field_mutable:operations_research.scheduling.jssp.JsspOutputSolution.jobs)
3597 return _internal_mutable_jobs()->Mutable(index);
3598}
3599inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL JsspOutputSolution::mutable_jobs()
3600 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3601 // @@protoc_insertion_point(field_mutable_list:operations_research.scheduling.jssp.JsspOutputSolution.jobs)
3602 ::google::protobuf::internal::TSanWrite(&_impl_);
3603 return _internal_mutable_jobs();
3604}
3605inline const ::operations_research::scheduling::jssp::AssignedJob& JsspOutputSolution::jobs(int index) const
3606 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3607 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspOutputSolution.jobs)
3608 return _internal_jobs().Get(index);
3609}
3610inline ::operations_research::scheduling::jssp::AssignedJob* PROTOBUF_NONNULL JsspOutputSolution::add_jobs()
3611 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3612 ::google::protobuf::internal::TSanWrite(&_impl_);
3613 ::operations_research::scheduling::jssp::AssignedJob* _add = _internal_mutable_jobs()->Add();
3614 // @@protoc_insertion_point(field_add:operations_research.scheduling.jssp.JsspOutputSolution.jobs)
3615 return _add;
3616}
3617inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>& JsspOutputSolution::jobs() const
3618 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3619 // @@protoc_insertion_point(field_list:operations_research.scheduling.jssp.JsspOutputSolution.jobs)
3620 return _internal_jobs();
3621}
3622inline const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>&
3623JsspOutputSolution::_internal_jobs() const {
3624 ::google::protobuf::internal::TSanRead(&_impl_);
3625 return _impl_.jobs_;
3627inline ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedJob>* PROTOBUF_NONNULL
3628JsspOutputSolution::_internal_mutable_jobs() {
3629 ::google::protobuf::internal::TSanRead(&_impl_);
3630 return &_impl_.jobs_;
3632
3633// int64 makespan_cost = 2;
3635 ::google::protobuf::internal::TSanWrite(&_impl_);
3636 _impl_.makespan_cost_ = ::int64_t{0};
3637 _impl_._has_bits_[0] &= ~0x00000001u;
3639inline ::int64_t JsspOutputSolution::makespan_cost() const {
3640 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspOutputSolution.makespan_cost)
3641 return _internal_makespan_cost();
3642}
3643inline void JsspOutputSolution::set_makespan_cost(::int64_t value) {
3644 _internal_set_makespan_cost(value);
3645 _impl_._has_bits_[0] |= 0x00000001u;
3646 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.JsspOutputSolution.makespan_cost)
3647}
3648inline ::int64_t JsspOutputSolution::_internal_makespan_cost() const {
3649 ::google::protobuf::internal::TSanRead(&_impl_);
3650 return _impl_.makespan_cost_;
3651}
3652inline void JsspOutputSolution::_internal_set_makespan_cost(::int64_t value) {
3653 ::google::protobuf::internal::TSanWrite(&_impl_);
3654 _impl_.makespan_cost_ = value;
3656
3657// int64 total_cost = 3;
3659 ::google::protobuf::internal::TSanWrite(&_impl_);
3660 _impl_.total_cost_ = ::int64_t{0};
3661 _impl_._has_bits_[0] &= ~0x00000002u;
3662}
3663inline ::int64_t JsspOutputSolution::total_cost() const {
3664 // @@protoc_insertion_point(field_get:operations_research.scheduling.jssp.JsspOutputSolution.total_cost)
3665 return _internal_total_cost();
3666}
3667inline void JsspOutputSolution::set_total_cost(::int64_t value) {
3668 _internal_set_total_cost(value);
3669 _impl_._has_bits_[0] |= 0x00000002u;
3670 // @@protoc_insertion_point(field_set:operations_research.scheduling.jssp.JsspOutputSolution.total_cost)
3671}
3672inline ::int64_t JsspOutputSolution::_internal_total_cost() const {
3673 ::google::protobuf::internal::TSanRead(&_impl_);
3674 return _impl_.total_cost_;
3675}
3676inline void JsspOutputSolution::_internal_set_total_cost(::int64_t value) {
3677 ::google::protobuf::internal::TSanWrite(&_impl_);
3678 _impl_.total_cost_ = value;
3680
3681#ifdef __GNUC__
3682#pragma GCC diagnostic pop
3683#endif // __GNUC__
3685// @@protoc_insertion_point(namespace_scope)
3686} // namespace jssp
3687} // namespace scheduling
3688} // namespace operations_research
3689
3690
3691// @@protoc_insertion_point(global_scope)
3692
3693#include "google/protobuf/port_undef.inc"
3694
3695#endif // ortools_2fscheduling_2fjobshop_5fscheduling_2eproto_2epb_2eh
void UnsafeArenaSwap(AssignedJob *PROTOBUF_NONNULL other)
AssignedJob *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask > & tasks() const
::operations_research::scheduling::jssp::AssignedTask *PROTOBUF_NONNULL mutable_tasks(int index)
int tasks_size() const
repeated .operations_research.scheduling.jssp.AssignedTask tasks = 1;
friend void swap(AssignedJob &a, AssignedJob &b)
const ::operations_research::scheduling::jssp::AssignedTask & tasks(int index) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_sum_of_task_costs()
int64 sum_of_task_costs = 3;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void Swap(AssignedJob *PROTOBUF_NONNULL other)
::operations_research::scheduling::jssp::AssignedTask *PROTOBUF_NONNULL add_tasks()
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::AssignedTask > *PROTOBUF_NONNULL mutable_tasks()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
AssignedTask *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void Swap(AssignedTask *PROTOBUF_NONNULL other)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(AssignedTask &a, AssignedTask &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
AssignedTask & operator=(const AssignedTask &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
friend void swap(JobPrecedence &a, JobPrecedence &b)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
PROTOBUF_CONSTEXPR JobPrecedence(::google::protobuf::internal::ConstantInitialized)
JobPrecedence & operator=(const JobPrecedence &from)
void Swap(JobPrecedence *PROTOBUF_NONNULL other)
void clear_earliness_cost_per_time_unit()
int64 earliness_cost_per_time_unit = 5;
Job *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::operations_research::scheduling::jssp::Task *PROTOBUF_NONNULL add_tasks()
::operations_research::scheduling::jssp::Task *PROTOBUF_NONNULL mutable_tasks(int index)
bool has_earliest_start() const
.google.protobuf.Int64Value earliest_start = 2;
bool has_latest_end() const
.google.protobuf.Int64Value latest_end = 7;
const ::google::protobuf::Int64Value & earliest_start() const
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 clear_lateness_cost_per_time_unit()
int64 lateness_cost_per_time_unit = 6;
void unsafe_arena_set_allocated_earliest_start(::google::protobuf::Int64Value *PROTOBUF_NULLABLE value)
const ::operations_research::scheduling::jssp::Task & tasks(int index) const
void set_allocated_earliest_start(::google::protobuf::Int64Value *PROTOBUF_NULLABLE value)
::std::string *PROTOBUF_NONNULL mutable_name()
::google::protobuf::Int64Value *PROTOBUF_NULLABLE unsafe_arena_release_earliest_start()
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Task > *PROTOBUF_NONNULL mutable_tasks()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int tasks_size() const
repeated .operations_research.scheduling.jssp.Task tasks = 1;
void set_allocated_latest_end(::google::protobuf::Int64Value *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_latest_end(::google::protobuf::Int64Value *PROTOBUF_NULLABLE value)
::google::protobuf::Int64Value *PROTOBUF_NONNULL mutable_latest_end()
::google::protobuf::Int64Value *PROTOBUF_NULLABLE release_latest_end()
void clear_late_due_date()
int64 late_due_date = 4;
const ::google::protobuf::Int64Value & latest_end() const
void clear_early_due_date()
int64 early_due_date = 3;
::std::string *PROTOBUF_NULLABLE release_name()
::google::protobuf::Int64Value *PROTOBUF_NULLABLE unsafe_arena_release_latest_end()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::Int64Value *PROTOBUF_NONNULL mutable_earliest_start()
const ::operations_research::scheduling::jssp::Machine & machines(int index) const
int jobs_size() const
repeated .operations_research.scheduling.jssp.Job jobs = 1;
::operations_research::scheduling::jssp::JobPrecedence *PROTOBUF_NONNULL mutable_precedences(int index)
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence > & precedences() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::operations_research::scheduling::jssp::JobPrecedence & precedences(int index) const
void set_allocated_scaling_factor(::google::protobuf::DoubleValue *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::operations_research::scheduling::jssp::Machine *PROTOBUF_NONNULL add_machines()
::google::protobuf::DoubleValue *PROTOBUF_NONNULL mutable_scaling_factor()
::operations_research::scheduling::jssp::JobPrecedence *PROTOBUF_NONNULL add_precedences()
int precedences_size() const
repeated .operations_research.scheduling.jssp.JobPrecedence precedences = 3;
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
void UnsafeArenaSwap(JsspInputProblem *PROTOBUF_NONNULL other)
::google::protobuf::DoubleValue *PROTOBUF_NULLABLE unsafe_arena_release_scaling_factor()
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job > *PROTOBUF_NONNULL mutable_jobs()
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine > *PROTOBUF_NONNULL mutable_machines()
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Job > & jobs() const
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::Machine > & machines() const
::operations_research::scheduling::jssp::Job *PROTOBUF_NONNULL add_jobs()
::operations_research::scheduling::jssp::Job *PROTOBUF_NONNULL mutable_jobs(int index)
bool has_scaling_factor() const
.google.protobuf.DoubleValue scaling_factor = 5;
const ::operations_research::scheduling::jssp::Job & jobs(int index) const
int machines_size() const
repeated .operations_research.scheduling.jssp.Machine machines = 2;
::google::protobuf::DoubleValue *PROTOBUF_NULLABLE release_scaling_factor()
void clear_makespan_cost_per_time_unit()
int64 makespan_cost_per_time_unit = 4;
friend void swap(JsspInputProblem &a, JsspInputProblem &b)
void unsafe_arena_set_allocated_scaling_factor(::google::protobuf::DoubleValue *PROTOBUF_NULLABLE value)
::operations_research::scheduling::jssp::Machine *PROTOBUF_NONNULL mutable_machines(int index)
void Swap(JsspInputProblem *PROTOBUF_NONNULL other)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::jssp::JobPrecedence > *PROTOBUF_NONNULL mutable_precedences()
const ::google::protobuf::DoubleValue & scaling_factor() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::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)
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
int jobs_size() const
repeated .operations_research.scheduling.jssp.AssignedJob jobs = 1;
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
void UnsafeArenaSwap(JsspOutputSolution *PROTOBUF_NONNULL other)
::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NONNULL mutable_transition_time_matrix()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NULLABLE unsafe_arena_release_transition_time_matrix()
void set_name(Arg_ &&arg, Args_... args)
::google::protobuf::Metadata GetMetadata() const
::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NULLABLE release_transition_time_matrix()
void set_allocated_transition_time_matrix(::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NULLABLE value)
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
const ::operations_research::scheduling::jssp::TransitionTimeMatrix & transition_time_matrix() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_transition_time_matrix() const
.operations_research.scheduling.jssp.TransitionTimeMatrix transition_time_matrix = 1;
void unsafe_arena_set_allocated_transition_time_matrix(::operations_research::scheduling::jssp::TransitionTimeMatrix *PROTOBUF_NULLABLE value)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Machine *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
int cost_size() const
repeated int64 cost = 3;
const ::google::protobuf::RepeatedField<::int64_t > & duration() const
PROTOBUF_CONSTEXPR Task(::google::protobuf::internal::ConstantInitialized)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_cost()
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_duration()
int duration_size() const
repeated int64 duration = 2;
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
const ::google::protobuf::RepeatedField<::int32_t > & machine() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_machine()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
int machine_size() const
repeated int32 machine = 1;
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
TransitionTimeMatrix(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, TransitionTimeMatrix &&from) noexcept
PROTOBUF_CONSTEXPR TransitionTimeMatrix(::google::protobuf::internal::ConstantInitialized)
void Swap(TransitionTimeMatrix *PROTOBUF_NONNULL other)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_transition_time()
const ::google::protobuf::RepeatedField<::int64_t > & transition_time() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
int transition_time_size() const
repeated int64 transition_time = 1;
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
TransitionTimeMatrix & operator=(const TransitionTimeMatrix &from)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fscheduling_2fjobshop_5fscheduling_2eproto
::absl::string_view GetAnyMessageName()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull JsspInputProblem_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull JobPrecedence_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MachineDefaultTypeInternal _Machine_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull TransitionTimeMatrix_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobPrecedenceDefaultTypeInternal _JobPrecedence_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TransitionTimeMatrixDefaultTypeInternal _TransitionTimeMatrix_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Job_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AssignedJob_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JsspInputProblemDefaultTypeInternal _JsspInputProblem_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Machine_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TaskDefaultTypeInternal _Task_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Task_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignedJobDefaultTypeInternal _AssignedJob_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobDefaultTypeInternal _Job_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull JsspOutputSolution_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JsspOutputSolutionDefaultTypeInternal _JsspOutputSolution_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignedTaskDefaultTypeInternal _AssignedTask_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AssignedTask_class_data_
In SWIG mode, we don't want anything besides these top-level includes.
Internal implementation detail – do not use these members.