Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
routing_enums.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/constraint_solver/routing_enums.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2frouting_5fenums_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_bases.h"
24#include "google/protobuf/generated_message_tctable_decl.h"
25#include "google/protobuf/generated_message_util.h"
26#include "google/protobuf/metadata_lite.h"
27#include "google/protobuf/generated_message_reflection.h"
28#include "google/protobuf/message.h"
29#include "google/protobuf/message_lite.h"
30#include "google/protobuf/repeated_field.h" // IWYU pragma: export
31#include "google/protobuf/extension_set.h" // IWYU pragma: export
32#include "google/protobuf/generated_enum_reflection.h"
33#include "google/protobuf/unknown_field_set.h"
34// @@protoc_insertion_point(includes)
35
36// Must be included last.
37#include "google/protobuf/port_def.inc"
38
39#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto OR_PROTO_DLL
40
41namespace google {
42namespace protobuf {
43namespace internal {
44template <typename T>
45::absl::string_view GetAnyMessageName();
46} // namespace internal
47} // namespace protobuf
48} // namespace google
49
50// Internal implementation detail -- do not use these members.
52 static const ::uint32_t offsets[];
53};
54extern "C" {
55OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto;
56} // extern "C"
57namespace operations_research {
59OR_PROTO_DLL extern const uint32_t FirstSolutionStrategy_Value_internal_data_[];
61OR_PROTO_DLL extern const uint32_t LocalSearchMetaheuristic_Value_internal_data_[];
63OR_PROTO_DLL extern const uint32_t RoutingSearchStatus_Value_internal_data_[];
67OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull FirstSolutionStrategy_class_data_;
71OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchMetaheuristic_class_data_;
75OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RoutingSearchStatus_class_data_;
76} // namespace operations_research
77namespace google {
78namespace protobuf {
79template <>
80internal::EnumTraitsT<::operations_research::FirstSolutionStrategy_Value_internal_data_>
81 internal::EnumTraitsImpl::value<::operations_research::FirstSolutionStrategy_Value>;
82template <>
83internal::EnumTraitsT<::operations_research::LocalSearchMetaheuristic_Value_internal_data_>
84 internal::EnumTraitsImpl::value<::operations_research::LocalSearchMetaheuristic_Value>;
85template <>
86internal::EnumTraitsT<::operations_research::RoutingSearchStatus_Value_internal_data_>
87 internal::EnumTraitsImpl::value<::operations_research::RoutingSearchStatus_Value>;
88} // namespace protobuf
89} // namespace google
90
91namespace operations_research {
116
117OR_PROTO_DLL extern const uint32_t FirstSolutionStrategy_Value_internal_data_[];
119 static_cast<FirstSolutionStrategy_Value>(0);
121 static_cast<FirstSolutionStrategy_Value>(17);
123 return 0 <= value && value <= 17;
124}
126OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL FirstSolutionStrategy_Value_descriptor();
127template <typename T>
128const ::std::string& FirstSolutionStrategy_Value_Name(T value) {
129 static_assert(::std::is_same<T, FirstSolutionStrategy_Value>::value ||
130 ::std::is_integral<T>::value,
131 "Incorrect type passed to Value_Name().");
133}
134template <>
136 return ::google::protobuf::internal::NameOfDenseEnum<FirstSolutionStrategy_Value_descriptor, 0, 17>(
137 static_cast<int>(value));
138}
140 ::absl::string_view name, FirstSolutionStrategy_Value* PROTOBUF_NONNULL value) {
141 return ::google::protobuf::internal::ParseNamedEnum<FirstSolutionStrategy_Value>(FirstSolutionStrategy_Value_descriptor(), name,
142 value);
143}
157
158OR_PROTO_DLL extern const uint32_t LocalSearchMetaheuristic_Value_internal_data_[];
160 static_cast<LocalSearchMetaheuristic_Value>(0);
162 static_cast<LocalSearchMetaheuristic_Value>(6);
164 return 0 <= value && value <= 6;
165}
167OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL LocalSearchMetaheuristic_Value_descriptor();
168template <typename T>
169const ::std::string& LocalSearchMetaheuristic_Value_Name(T value) {
170 static_assert(::std::is_same<T, LocalSearchMetaheuristic_Value>::value ||
171 ::std::is_integral<T>::value,
172 "Incorrect type passed to Value_Name().");
174}
175template <>
177 return ::google::protobuf::internal::NameOfDenseEnum<LocalSearchMetaheuristic_Value_descriptor, 0, 6>(
178 static_cast<int>(value));
179}
181 ::absl::string_view name, LocalSearchMetaheuristic_Value* PROTOBUF_NONNULL value) {
182 return ::google::protobuf::internal::ParseNamedEnum<LocalSearchMetaheuristic_Value>(LocalSearchMetaheuristic_Value_descriptor(), name,
183 value);
184}
199
200OR_PROTO_DLL extern const uint32_t RoutingSearchStatus_Value_internal_data_[];
202 static_cast<RoutingSearchStatus_Value>(0);
204 static_cast<RoutingSearchStatus_Value>(7);
205inline bool RoutingSearchStatus_Value_IsValid(int value) {
206 return 0 <= value && value <= 7;
207}
208inline constexpr int RoutingSearchStatus_Value_Value_ARRAYSIZE = 7 + 1;
209OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL RoutingSearchStatus_Value_descriptor();
210template <typename T>
211const ::std::string& RoutingSearchStatus_Value_Name(T value) {
212 static_assert(::std::is_same<T, RoutingSearchStatus_Value>::value ||
213 ::std::is_integral<T>::value,
214 "Incorrect type passed to Value_Name().");
216}
217template <>
219 return ::google::protobuf::internal::NameOfDenseEnum<RoutingSearchStatus_Value_descriptor, 0, 7>(
220 static_cast<int>(value));
221}
223 ::absl::string_view name, RoutingSearchStatus_Value* PROTOBUF_NONNULL value) {
224 return ::google::protobuf::internal::ParseNamedEnum<RoutingSearchStatus_Value>(RoutingSearchStatus_Value_descriptor(), name,
225 value);
226}
227
228// ===================================================================
229
230
231// -------------------------------------------------------------------
232
233class OR_PROTO_DLL RoutingSearchStatus final : public ::google::protobuf::internal::ZeroFieldsBase
234/* @@protoc_insertion_point(class_definition:operations_research.RoutingSearchStatus) */ {
235 public:
236 inline RoutingSearchStatus() : RoutingSearchStatus(nullptr) {}
237
238#if defined(PROTOBUF_CUSTOM_VTABLE)
239 void operator delete(RoutingSearchStatus* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
240 SharedDtor(*msg);
241 ::google::protobuf::internal::SizedDelete(msg, sizeof(RoutingSearchStatus));
242 }
243#endif
244
245 template <typename = void>
246 explicit PROTOBUF_CONSTEXPR RoutingSearchStatus(::google::protobuf::internal::ConstantInitialized);
247
248 inline RoutingSearchStatus(const RoutingSearchStatus& from) : RoutingSearchStatus(nullptr, from) {}
249 inline RoutingSearchStatus(RoutingSearchStatus&& from) noexcept
250 : RoutingSearchStatus(nullptr, ::std::move(from)) {}
253 return *this;
254 }
255 inline RoutingSearchStatus& operator=(RoutingSearchStatus&& from) noexcept {
256 if (this == &from) return *this;
257 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
258 InternalSwap(&from);
259 } else {
260 CopyFrom(from);
261 }
262 return *this;
263 }
264
265 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
266 ABSL_ATTRIBUTE_LIFETIME_BOUND {
267 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
268 }
269 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
270 ABSL_ATTRIBUTE_LIFETIME_BOUND {
271 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
272 }
273
274 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
275 return GetDescriptor();
277 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
278 return default_instance().GetMetadata().descriptor;
280 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
281 return default_instance().GetMetadata().reflection;
283 static const RoutingSearchStatus& default_instance() {
284 return *reinterpret_cast<const RoutingSearchStatus*>(
286 }
287 static constexpr int kIndexInFileMessages = 2;
288 friend void swap(RoutingSearchStatus& a, RoutingSearchStatus& b) { a.Swap(&b); }
289 inline void Swap(RoutingSearchStatus* PROTOBUF_NONNULL other) {
290 if (other == this) return;
291 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
292 InternalSwap(other);
293 } else {
294 ::google::protobuf::internal::GenericSwap(this, other);
295 }
296 }
297 void UnsafeArenaSwap(RoutingSearchStatus* PROTOBUF_NONNULL other) {
298 if (other == this) return;
299 ABSL_DCHECK(GetArena() == other->GetArena());
300 InternalSwap(other);
301 }
302
303 // implements Message ----------------------------------------------
304
305 RoutingSearchStatus* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
306 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<RoutingSearchStatus>(arena);
308 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
309 inline void CopyFrom(const RoutingSearchStatus& from) {
310 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
312 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
313 void MergeFrom(const RoutingSearchStatus& from) {
314 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
316
317 public:
318 bool IsInitialized() const {
319 return true;
321 private:
322 template <typename T>
323 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
324 static ::absl::string_view FullMessageName() { return "operations_research.RoutingSearchStatus"; }
325
326 protected:
327 explicit RoutingSearchStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
328 RoutingSearchStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoutingSearchStatus& from);
329 RoutingSearchStatus(
330 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoutingSearchStatus&& from) noexcept
332 *this = ::std::move(from);
333 }
334 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
335 static void* PROTOBUF_NONNULL PlacementNew_(
336 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
337 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
338 static constexpr auto InternalNewImpl_();
339
340 public:
341 static constexpr auto InternalGenerateClassData_();
342
343 ::google::protobuf::Metadata GetMetadata() const;
344 // nested types ----------------------------------------------------
345 using Value = RoutingSearchStatus_Value;
346 static constexpr Value ROUTING_NOT_SOLVED = RoutingSearchStatus_Value_ROUTING_NOT_SOLVED;
354 static inline bool Value_IsValid(int value) {
357 static constexpr Value Value_MIN = RoutingSearchStatus_Value_Value_MIN;
358 static constexpr Value Value_MAX = RoutingSearchStatus_Value_Value_MAX;
360 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Value_descriptor() {
363 template <typename T>
364 static inline const ::std::string& Value_Name(T value) {
365 return RoutingSearchStatus_Value_Name(value);
367 static inline bool Value_Parse(
368 ::absl::string_view name, Value* PROTOBUF_NONNULL value) {
370 }
371
372 // accessors -------------------------------------------------------
373 // @@protoc_insertion_point(class_scope:operations_research.RoutingSearchStatus)
374 private:
375 class _Internal;
376 friend class ::google::protobuf::internal::TcParser;
377 static const ::google::protobuf::internal::TcParseTable<0, 0,
378 0, 0,
379 2>
380 _table_;
381
382 friend class ::google::protobuf::MessageLite;
383 friend class ::google::protobuf::Arena;
384 template <typename T>
385 friend class ::google::protobuf::Arena::InternalHelper;
386 using InternalArenaConstructable_ = void;
387 using DestructorSkippable_ = void;
388 struct Impl_ {
389 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
390 inline explicit Impl_(
391 ::google::protobuf::internal::InternalVisibility visibility,
392 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
393 inline explicit Impl_(
394 ::google::protobuf::internal::InternalVisibility visibility,
395 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
396 const RoutingSearchStatus& from_msg);
397 PROTOBUF_TSAN_DECLARE_MEMBER
398 };
399 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto;
400};
402OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RoutingSearchStatus_class_data_;
403// -------------------------------------------------------------------
404
405class OR_PROTO_DLL LocalSearchMetaheuristic final : public ::google::protobuf::internal::ZeroFieldsBase
406/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchMetaheuristic) */ {
407 public:
409
410#if defined(PROTOBUF_CUSTOM_VTABLE)
411 void operator delete(LocalSearchMetaheuristic* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
412 SharedDtor(*msg);
413 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchMetaheuristic));
414 }
415#endif
416
417 template <typename = void>
418 explicit PROTOBUF_CONSTEXPR LocalSearchMetaheuristic(::google::protobuf::internal::ConstantInitialized);
419
422 : LocalSearchMetaheuristic(nullptr, ::std::move(from)) {}
424 CopyFrom(from);
425 return *this;
427 inline LocalSearchMetaheuristic& operator=(LocalSearchMetaheuristic&& from) noexcept {
428 if (this == &from) return *this;
429 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
430 InternalSwap(&from);
431 } else {
432 CopyFrom(from);
433 }
434 return *this;
435 }
436
437 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
438 ABSL_ATTRIBUTE_LIFETIME_BOUND {
439 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
441 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
442 ABSL_ATTRIBUTE_LIFETIME_BOUND {
443 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
445
446 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
447 return GetDescriptor();
448 }
449 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
450 return default_instance().GetMetadata().descriptor;
451 }
452 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
453 return default_instance().GetMetadata().reflection;
454 }
459 static constexpr int kIndexInFileMessages = 1;
460 friend void swap(LocalSearchMetaheuristic& a, LocalSearchMetaheuristic& b) { a.Swap(&b); }
461 inline void Swap(LocalSearchMetaheuristic* PROTOBUF_NONNULL other) {
462 if (other == this) return;
463 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
464 InternalSwap(other);
465 } else {
466 ::google::protobuf::internal::GenericSwap(this, other);
467 }
468 }
469 void UnsafeArenaSwap(LocalSearchMetaheuristic* PROTOBUF_NONNULL other) {
470 if (other == this) return;
471 ABSL_DCHECK(GetArena() == other->GetArena());
472 InternalSwap(other);
473 }
474
475 // implements Message ----------------------------------------------
476
477 LocalSearchMetaheuristic* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
478 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<LocalSearchMetaheuristic>(arena);
479 }
480 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
481 inline void CopyFrom(const LocalSearchMetaheuristic& from) {
482 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
483 }
484 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
485 void MergeFrom(const LocalSearchMetaheuristic& from) {
486 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
487 }
489 public:
490 bool IsInitialized() const {
491 return true;
492 }
493 private:
494 template <typename T>
495 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
496 static ::absl::string_view FullMessageName() { return "operations_research.LocalSearchMetaheuristic"; }
497
498 protected:
499 explicit LocalSearchMetaheuristic(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
500 LocalSearchMetaheuristic(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchMetaheuristic& from);
502 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchMetaheuristic&& from) noexcept
503 : LocalSearchMetaheuristic(arena) {
504 *this = ::std::move(from);
505 }
506 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
507 static void* PROTOBUF_NONNULL PlacementNew_(
508 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
509 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
510 static constexpr auto InternalNewImpl_();
511
512 public:
513 static constexpr auto InternalGenerateClassData_();
514
515 ::google::protobuf::Metadata GetMetadata() const;
516 // nested types ----------------------------------------------------
517 using Value = LocalSearchMetaheuristic_Value;
518 static constexpr Value UNSET = LocalSearchMetaheuristic_Value_UNSET;
519 static constexpr Value AUTOMATIC = LocalSearchMetaheuristic_Value_AUTOMATIC;
525 static inline bool Value_IsValid(int value) {
531 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Value_descriptor() {
534 template <typename T>
535 static inline const ::std::string& Value_Name(T value) {
537 }
538 static inline bool Value_Parse(
539 ::absl::string_view name, Value* PROTOBUF_NONNULL value) {
540 return LocalSearchMetaheuristic_Value_Parse(name, value);
542
543 // accessors -------------------------------------------------------
544 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchMetaheuristic)
545 private:
546 class _Internal;
547 friend class ::google::protobuf::internal::TcParser;
548 static const ::google::protobuf::internal::TcParseTable<0, 0,
549 0, 0,
550 2>
551 _table_;
552
553 friend class ::google::protobuf::MessageLite;
554 friend class ::google::protobuf::Arena;
555 template <typename T>
556 friend class ::google::protobuf::Arena::InternalHelper;
557 using InternalArenaConstructable_ = void;
558 using DestructorSkippable_ = void;
559 struct Impl_ {
560 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
561 inline explicit Impl_(
562 ::google::protobuf::internal::InternalVisibility visibility,
563 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
564 inline explicit Impl_(
565 ::google::protobuf::internal::InternalVisibility visibility,
566 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
567 const LocalSearchMetaheuristic& from_msg);
568 PROTOBUF_TSAN_DECLARE_MEMBER
569 };
570 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto;
571};
572
573OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchMetaheuristic_class_data_;
574// -------------------------------------------------------------------
575
576class OR_PROTO_DLL FirstSolutionStrategy final : public ::google::protobuf::internal::ZeroFieldsBase
577/* @@protoc_insertion_point(class_definition:operations_research.FirstSolutionStrategy) */ {
578 public:
579 inline FirstSolutionStrategy() : FirstSolutionStrategy(nullptr) {}
581#if defined(PROTOBUF_CUSTOM_VTABLE)
582 void operator delete(FirstSolutionStrategy* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
583 SharedDtor(*msg);
584 ::google::protobuf::internal::SizedDelete(msg, sizeof(FirstSolutionStrategy));
585 }
586#endif
587
588 template <typename = void>
589 explicit PROTOBUF_CONSTEXPR FirstSolutionStrategy(::google::protobuf::internal::ConstantInitialized);
590
591 inline FirstSolutionStrategy(const FirstSolutionStrategy& from) : FirstSolutionStrategy(nullptr, from) {}
592 inline FirstSolutionStrategy(FirstSolutionStrategy&& from) noexcept
593 : FirstSolutionStrategy(nullptr, ::std::move(from)) {}
594 inline FirstSolutionStrategy& operator=(const FirstSolutionStrategy& from) {
595 CopyFrom(from);
596 return *this;
597 }
599 if (this == &from) return *this;
600 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
601 InternalSwap(&from);
602 } else {
603 CopyFrom(from);
604 }
605 return *this;
606 }
607
608 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
609 ABSL_ATTRIBUTE_LIFETIME_BOUND {
610 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
611 }
612 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
613 ABSL_ATTRIBUTE_LIFETIME_BOUND {
614 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
615 }
617 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
618 return GetDescriptor();
619 }
620 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
621 return default_instance().GetMetadata().descriptor;
622 }
623 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
624 return default_instance().GetMetadata().reflection;
625 }
626 static const FirstSolutionStrategy& default_instance() {
627 return *reinterpret_cast<const FirstSolutionStrategy*>(
629 }
630 static constexpr int kIndexInFileMessages = 0;
631 friend void swap(FirstSolutionStrategy& a, FirstSolutionStrategy& b) { a.Swap(&b); }
632 inline void Swap(FirstSolutionStrategy* PROTOBUF_NONNULL other) {
633 if (other == this) return;
634 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
635 InternalSwap(other);
636 } else {
637 ::google::protobuf::internal::GenericSwap(this, other);
638 }
639 }
640 void UnsafeArenaSwap(FirstSolutionStrategy* PROTOBUF_NONNULL other) {
641 if (other == this) return;
642 ABSL_DCHECK(GetArena() == other->GetArena());
643 InternalSwap(other);
645
646 // implements Message ----------------------------------------------
647
648 FirstSolutionStrategy* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
649 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<FirstSolutionStrategy>(arena);
650 }
651 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
652 inline void CopyFrom(const FirstSolutionStrategy& from) {
653 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
654 }
655 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
657 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
658 }
659
660 public:
661 bool IsInitialized() const {
662 return true;
663 }
664 private:
665 template <typename T>
666 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
667 static ::absl::string_view FullMessageName() { return "operations_research.FirstSolutionStrategy"; }
668
669 protected:
670 explicit FirstSolutionStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
671 FirstSolutionStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FirstSolutionStrategy& from);
673 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FirstSolutionStrategy&& from) noexcept
674 : FirstSolutionStrategy(arena) {
675 *this = ::std::move(from);
677 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
678 static void* PROTOBUF_NONNULL PlacementNew_(
679 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
680 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
681 static constexpr auto InternalNewImpl_();
682
683 public:
684 static constexpr auto InternalGenerateClassData_();
685
686 ::google::protobuf::Metadata GetMetadata() const;
687 // nested types ----------------------------------------------------
688 using Value = FirstSolutionStrategy_Value;
689 static constexpr Value UNSET = FirstSolutionStrategy_Value_UNSET;
690 static constexpr Value AUTOMATIC = FirstSolutionStrategy_Value_AUTOMATIC;
691 static constexpr Value PATH_CHEAPEST_ARC = FirstSolutionStrategy_Value_PATH_CHEAPEST_ARC;
707 static inline bool Value_IsValid(int value) {
713 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Value_descriptor() {
716 template <typename T>
717 static inline const ::std::string& Value_Name(T value) {
719 }
720 static inline bool Value_Parse(
721 ::absl::string_view name, Value* PROTOBUF_NONNULL value) {
722 return FirstSolutionStrategy_Value_Parse(name, value);
723 }
725 // accessors -------------------------------------------------------
726 // @@protoc_insertion_point(class_scope:operations_research.FirstSolutionStrategy)
727 private:
728 class _Internal;
729 friend class ::google::protobuf::internal::TcParser;
730 static const ::google::protobuf::internal::TcParseTable<0, 0,
731 0, 0,
732 2>
733 _table_;
734
735 friend class ::google::protobuf::MessageLite;
736 friend class ::google::protobuf::Arena;
737 template <typename T>
738 friend class ::google::protobuf::Arena::InternalHelper;
739 using InternalArenaConstructable_ = void;
740 using DestructorSkippable_ = void;
741 struct Impl_ {
742 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
743 inline explicit Impl_(
744 ::google::protobuf::internal::InternalVisibility visibility,
745 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
746 inline explicit Impl_(
747 ::google::protobuf::internal::InternalVisibility visibility,
748 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
749 const FirstSolutionStrategy& from_msg);
750 PROTOBUF_TSAN_DECLARE_MEMBER
751 };
752 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto;
753};
754
755OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull FirstSolutionStrategy_class_data_;
757// ===================================================================
758
759
760
761
762// ===================================================================
763
764
765#ifdef __GNUC__
766#pragma GCC diagnostic push
767#pragma GCC diagnostic ignored "-Wstrict-aliasing"
768#endif // __GNUC__
769// -------------------------------------------------------------------
770
771// FirstSolutionStrategy
772
773// -------------------------------------------------------------------
774
775// LocalSearchMetaheuristic
776
777// -------------------------------------------------------------------
778
779// RoutingSearchStatus
780
781#ifdef __GNUC__
782#pragma GCC diagnostic pop
783#endif // __GNUC__
784
785// @@protoc_insertion_point(namespace_scope)
786} // namespace operations_research
787
788
789namespace google {
790namespace protobuf {
791
792template <>
793struct is_proto_enum<::operations_research::FirstSolutionStrategy_Value> : std::true_type {};
794template <>
795inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::FirstSolutionStrategy_Value>() {
796 return ::operations_research::FirstSolutionStrategy_Value_descriptor();
797}
798template <>
799struct is_proto_enum<::operations_research::LocalSearchMetaheuristic_Value> : std::true_type {};
800template <>
801inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::LocalSearchMetaheuristic_Value>() {
802 return ::operations_research::LocalSearchMetaheuristic_Value_descriptor();
803}
804template <>
805struct is_proto_enum<::operations_research::RoutingSearchStatus_Value> : std::true_type {};
806template <>
807inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::RoutingSearchStatus_Value>() {
808 return ::operations_research::RoutingSearchStatus_Value_descriptor();
809}
811} // namespace protobuf
812} // namespace google
813
814// @@protoc_insertion_point(global_scope)
815
816#include "google/protobuf/port_undef.inc"
817
818#endif // ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto_2epb_2eh
FirstSolutionStrategy_Value Value
nested types -------------------------------------------------—
void MergeFrom(const FirstSolutionStrategy &from)
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL Value_descriptor()
static const ::std::string & Value_Name(T value)
void Swap(FirstSolutionStrategy *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const FirstSolutionStrategy &from)
static const FirstSolutionStrategy & default_instance()
FirstSolutionStrategy & operator=(const FirstSolutionStrategy &from)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(FirstSolutionStrategy &a, FirstSolutionStrategy &b)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
PROTOBUF_CONSTEXPR FirstSolutionStrategy(::google::protobuf::internal::ConstantInitialized)
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL Value_descriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const ::std::string & Value_Name(T value)
void CopyFrom(const LocalSearchMetaheuristic &from)
static bool Value_Parse(::absl::string_view name, Value *PROTOBUF_NONNULL value)
PROTOBUF_CONSTEXPR LocalSearchMetaheuristic(::google::protobuf::internal::ConstantInitialized)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
static const LocalSearchMetaheuristic & default_instance()
void Swap(LocalSearchMetaheuristic *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
LocalSearchMetaheuristic & operator=(const LocalSearchMetaheuristic &from)
LocalSearchMetaheuristic_Value Value
nested types -------------------------------------------------—
void MergeFrom(const LocalSearchMetaheuristic &from)
RoutingSearchStatus_Value Value
nested types -------------------------------------------------—
PROTOBUF_CONSTEXPR RoutingSearchStatus(::google::protobuf::internal::ConstantInitialized)
RoutingSearchStatus(const RoutingSearchStatus &from)
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL Value_descriptor()
static constexpr Value ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED
RoutingSearchStatus(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, RoutingSearchStatus &&from) noexcept
void CopyFrom(const RoutingSearchStatus &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
RoutingSearchStatus & operator=(const RoutingSearchStatus &from)
void Swap(RoutingSearchStatus *PROTOBUF_NONNULL other)
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::RoutingSearchStatus_Value >()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::FirstSolutionStrategy_Value >()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::LocalSearchMetaheuristic_Value >()
In SWIG mode, we don't want anything besides these top-level includes.
bool FirstSolutionStrategy_Value_Parse(::absl::string_view name, FirstSolutionStrategy_Value *PROTOBUF_NONNULL value)
constexpr FirstSolutionStrategy_Value FirstSolutionStrategy_Value_Value_MAX
constexpr int RoutingSearchStatus_Value_Value_ARRAYSIZE
@ RoutingSearchStatus_Value_ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED
@ RoutingSearchStatus_Value_RoutingSearchStatus_Value_INT_MIN_SENTINEL_DO_NOT_USE_
@ RoutingSearchStatus_Value_RoutingSearchStatus_Value_INT_MAX_SENTINEL_DO_NOT_USE_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RoutingSearchStatus_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchMetaheuristicDefaultTypeInternal _LocalSearchMetaheuristic_default_instance_
constexpr FirstSolutionStrategy_Value FirstSolutionStrategy_Value_Value_MIN
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull FirstSolutionStrategy_class_data_
PROTOBUF_CONSTINIT const uint32_t FirstSolutionStrategy_Value_internal_data_[]
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL RoutingSearchStatus_Value_descriptor()
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LocalSearchMetaheuristic_Value_descriptor()
bool LocalSearchMetaheuristic_Value_Parse(::absl::string_view name, LocalSearchMetaheuristic_Value *PROTOBUF_NONNULL value)
bool RoutingSearchStatus_Value_IsValid(int value)
const ::std::string & RoutingSearchStatus_Value_Name(T value)
constexpr RoutingSearchStatus_Value RoutingSearchStatus_Value_Value_MAX
@ LocalSearchMetaheuristic_Value_LocalSearchMetaheuristic_Value_INT_MIN_SENTINEL_DO_NOT_USE_
@ LocalSearchMetaheuristic_Value_SIMULATED_ANNEALING
@ LocalSearchMetaheuristic_Value_GUIDED_LOCAL_SEARCH
@ LocalSearchMetaheuristic_Value_GENERIC_TABU_SEARCH
@ LocalSearchMetaheuristic_Value_LocalSearchMetaheuristic_Value_INT_MAX_SENTINEL_DO_NOT_USE_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FirstSolutionStrategyDefaultTypeInternal _FirstSolutionStrategy_default_instance_
constexpr LocalSearchMetaheuristic_Value LocalSearchMetaheuristic_Value_Value_MAX
PROTOBUF_CONSTINIT const uint32_t LocalSearchMetaheuristic_Value_internal_data_[]
constexpr RoutingSearchStatus_Value RoutingSearchStatus_Value_Value_MIN
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchMetaheuristic_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL FirstSolutionStrategy_Value_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoutingSearchStatusDefaultTypeInternal _RoutingSearchStatus_default_instance_
constexpr int FirstSolutionStrategy_Value_Value_ARRAYSIZE
const ::std::string & LocalSearchMetaheuristic_Value_Name(T value)
const ::std::string & FirstSolutionStrategy_Value_Name(T value)
constexpr int LocalSearchMetaheuristic_Value_Value_ARRAYSIZE
bool FirstSolutionStrategy_Value_IsValid(int value)
PROTOBUF_CONSTINIT const uint32_t RoutingSearchStatus_Value_internal_data_[]
bool RoutingSearchStatus_Value_Parse(::absl::string_view name, RoutingSearchStatus_Value *PROTOBUF_NONNULL value)
bool LocalSearchMetaheuristic_Value_IsValid(int value)
constexpr LocalSearchMetaheuristic_Value LocalSearchMetaheuristic_Value_Value_MIN
@ FirstSolutionStrategy_Value_LOCAL_CHEAPEST_INSERTION
@ FirstSolutionStrategy_Value_PATH_CHEAPEST_ARC
@ FirstSolutionStrategy_Value_EVALUATOR_STRATEGY
@ FirstSolutionStrategy_Value_SEQUENTIAL_CHEAPEST_INSERTION
@ FirstSolutionStrategy_Value_FirstSolutionStrategy_Value_INT_MIN_SENTINEL_DO_NOT_USE_
@ FirstSolutionStrategy_Value_GLOBAL_CHEAPEST_ARC
@ FirstSolutionStrategy_Value_FIRST_UNBOUND_MIN_VALUE
@ FirstSolutionStrategy_Value_PARALLEL_CHEAPEST_INSERTION
@ FirstSolutionStrategy_Value_LOCAL_CHEAPEST_COST_INSERTION
@ FirstSolutionStrategy_Value_PATH_MOST_CONSTRAINED_ARC
@ FirstSolutionStrategy_Value_FirstSolutionStrategy_Value_INT_MAX_SENTINEL_DO_NOT_USE_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto
Internal implementation detail – do not use these members.