Google OR-Tools v9.15
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.33.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 != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
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 explicit RoutingSearchStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
327 RoutingSearchStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoutingSearchStatus& from);
328 RoutingSearchStatus(
329 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoutingSearchStatus&& from) noexcept
330 : RoutingSearchStatus(arena) {
331 *this = ::std::move(from);
332 }
333 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
334 static void* PROTOBUF_NONNULL PlacementNew_(
335 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
336 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
337 static constexpr auto InternalNewImpl_();
338
339 public:
340 static constexpr auto InternalGenerateClassData_();
341
342 ::google::protobuf::Metadata GetMetadata() const;
343 // nested types ----------------------------------------------------
344 using Value = RoutingSearchStatus_Value;
345 static constexpr Value ROUTING_NOT_SOLVED = RoutingSearchStatus_Value_ROUTING_NOT_SOLVED;
353 static inline bool Value_IsValid(int value) {
356 static constexpr Value Value_MIN = RoutingSearchStatus_Value_Value_MIN;
357 static constexpr Value Value_MAX = RoutingSearchStatus_Value_Value_MAX;
359 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Value_descriptor() {
362 template <typename T>
363 static inline const ::std::string& Value_Name(T value) {
364 return RoutingSearchStatus_Value_Name(value);
366 static inline bool Value_Parse(
367 ::absl::string_view name, Value* PROTOBUF_NONNULL value) {
369 }
370
371 // accessors -------------------------------------------------------
372 // @@protoc_insertion_point(class_scope:operations_research.RoutingSearchStatus)
373 private:
374 class _Internal;
375 friend class ::google::protobuf::internal::TcParser;
376 static const ::google::protobuf::internal::TcParseTable<0, 0,
377 0, 0,
378 2>
379 _table_;
380
381 friend class ::google::protobuf::MessageLite;
382 friend class ::google::protobuf::Arena;
383 template <typename T>
384 friend class ::google::protobuf::Arena::InternalHelper;
385 using InternalArenaConstructable_ = void;
386 using DestructorSkippable_ = void;
387 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto;
388};
390OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RoutingSearchStatus_class_data_;
391// -------------------------------------------------------------------
392
393class OR_PROTO_DLL LocalSearchMetaheuristic final : public ::google::protobuf::internal::ZeroFieldsBase
394/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchMetaheuristic) */ {
395 public:
397
398#if defined(PROTOBUF_CUSTOM_VTABLE)
399 void operator delete(LocalSearchMetaheuristic* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
400 SharedDtor(*msg);
401 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchMetaheuristic));
402 }
403#endif
404
405 template <typename = void>
406 explicit PROTOBUF_CONSTEXPR LocalSearchMetaheuristic(::google::protobuf::internal::ConstantInitialized);
407
410 : LocalSearchMetaheuristic(nullptr, ::std::move(from)) {}
412 CopyFrom(from);
413 return *this;
415 inline LocalSearchMetaheuristic& operator=(LocalSearchMetaheuristic&& from) noexcept {
416 if (this == &from) return *this;
417 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
418 InternalSwap(&from);
419 } else {
420 CopyFrom(from);
421 }
422 return *this;
423 }
424
425 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
426 ABSL_ATTRIBUTE_LIFETIME_BOUND {
427 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
429 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
430 ABSL_ATTRIBUTE_LIFETIME_BOUND {
431 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
433
434 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
435 return GetDescriptor();
436 }
437 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
438 return default_instance().GetMetadata().descriptor;
439 }
440 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
441 return default_instance().GetMetadata().reflection;
442 }
447 static constexpr int kIndexInFileMessages = 1;
448 friend void swap(LocalSearchMetaheuristic& a, LocalSearchMetaheuristic& b) { a.Swap(&b); }
449 inline void Swap(LocalSearchMetaheuristic* PROTOBUF_NONNULL other) {
450 if (other == this) return;
451 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
452 InternalSwap(other);
453 } else {
454 ::google::protobuf::internal::GenericSwap(this, other);
455 }
456 }
457 void UnsafeArenaSwap(LocalSearchMetaheuristic* PROTOBUF_NONNULL other) {
458 if (other == this) return;
459 ABSL_DCHECK(GetArena() == other->GetArena());
460 InternalSwap(other);
461 }
462
463 // implements Message ----------------------------------------------
464
465 LocalSearchMetaheuristic* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
466 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<LocalSearchMetaheuristic>(arena);
467 }
468 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
469 inline void CopyFrom(const LocalSearchMetaheuristic& from) {
470 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
471 }
472 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
473 void MergeFrom(const LocalSearchMetaheuristic& from) {
474 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
475 }
477 public:
478 bool IsInitialized() const {
479 return true;
480 }
481 private:
482 template <typename T>
483 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
484 static ::absl::string_view FullMessageName() { return "operations_research.LocalSearchMetaheuristic"; }
485
486 explicit LocalSearchMetaheuristic(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
487 LocalSearchMetaheuristic(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchMetaheuristic& from);
489 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchMetaheuristic&& from) noexcept
490 : LocalSearchMetaheuristic(arena) {
491 *this = ::std::move(from);
492 }
493 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
494 static void* PROTOBUF_NONNULL PlacementNew_(
495 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
496 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
497 static constexpr auto InternalNewImpl_();
498
499 public:
500 static constexpr auto InternalGenerateClassData_();
501
502 ::google::protobuf::Metadata GetMetadata() const;
503 // nested types ----------------------------------------------------
504 using Value = LocalSearchMetaheuristic_Value;
505 static constexpr Value UNSET = LocalSearchMetaheuristic_Value_UNSET;
506 static constexpr Value AUTOMATIC = LocalSearchMetaheuristic_Value_AUTOMATIC;
512 static inline bool Value_IsValid(int value) {
518 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Value_descriptor() {
521 template <typename T>
522 static inline const ::std::string& Value_Name(T value) {
524 }
525 static inline bool Value_Parse(
526 ::absl::string_view name, Value* PROTOBUF_NONNULL value) {
527 return LocalSearchMetaheuristic_Value_Parse(name, value);
529
530 // accessors -------------------------------------------------------
531 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchMetaheuristic)
532 private:
533 class _Internal;
534 friend class ::google::protobuf::internal::TcParser;
535 static const ::google::protobuf::internal::TcParseTable<0, 0,
536 0, 0,
537 2>
538 _table_;
539
540 friend class ::google::protobuf::MessageLite;
541 friend class ::google::protobuf::Arena;
542 template <typename T>
543 friend class ::google::protobuf::Arena::InternalHelper;
544 using InternalArenaConstructable_ = void;
545 using DestructorSkippable_ = void;
546 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto;
547};
548
549OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchMetaheuristic_class_data_;
550// -------------------------------------------------------------------
551
552class OR_PROTO_DLL FirstSolutionStrategy final : public ::google::protobuf::internal::ZeroFieldsBase
553/* @@protoc_insertion_point(class_definition:operations_research.FirstSolutionStrategy) */ {
554 public:
555 inline FirstSolutionStrategy() : FirstSolutionStrategy(nullptr) {}
557#if defined(PROTOBUF_CUSTOM_VTABLE)
558 void operator delete(FirstSolutionStrategy* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
559 SharedDtor(*msg);
560 ::google::protobuf::internal::SizedDelete(msg, sizeof(FirstSolutionStrategy));
561 }
562#endif
563
564 template <typename = void>
565 explicit PROTOBUF_CONSTEXPR FirstSolutionStrategy(::google::protobuf::internal::ConstantInitialized);
566
567 inline FirstSolutionStrategy(const FirstSolutionStrategy& from) : FirstSolutionStrategy(nullptr, from) {}
568 inline FirstSolutionStrategy(FirstSolutionStrategy&& from) noexcept
569 : FirstSolutionStrategy(nullptr, ::std::move(from)) {}
570 inline FirstSolutionStrategy& operator=(const FirstSolutionStrategy& from) {
571 CopyFrom(from);
572 return *this;
573 }
575 if (this == &from) return *this;
576 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
577 InternalSwap(&from);
578 } else {
579 CopyFrom(from);
580 }
581 return *this;
582 }
583
584 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
585 ABSL_ATTRIBUTE_LIFETIME_BOUND {
586 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
587 }
588 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
589 ABSL_ATTRIBUTE_LIFETIME_BOUND {
590 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
591 }
593 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
594 return GetDescriptor();
595 }
596 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
597 return default_instance().GetMetadata().descriptor;
598 }
599 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
600 return default_instance().GetMetadata().reflection;
601 }
602 static const FirstSolutionStrategy& default_instance() {
603 return *reinterpret_cast<const FirstSolutionStrategy*>(
605 }
606 static constexpr int kIndexInFileMessages = 0;
607 friend void swap(FirstSolutionStrategy& a, FirstSolutionStrategy& b) { a.Swap(&b); }
608 inline void Swap(FirstSolutionStrategy* PROTOBUF_NONNULL other) {
609 if (other == this) return;
610 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
611 InternalSwap(other);
612 } else {
613 ::google::protobuf::internal::GenericSwap(this, other);
614 }
615 }
616 void UnsafeArenaSwap(FirstSolutionStrategy* PROTOBUF_NONNULL other) {
617 if (other == this) return;
618 ABSL_DCHECK(GetArena() == other->GetArena());
619 InternalSwap(other);
621
622 // implements Message ----------------------------------------------
623
624 FirstSolutionStrategy* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
625 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<FirstSolutionStrategy>(arena);
626 }
627 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
628 inline void CopyFrom(const FirstSolutionStrategy& from) {
629 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
630 }
631 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
633 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
634 }
635
636 public:
637 bool IsInitialized() const {
638 return true;
639 }
640 private:
641 template <typename T>
642 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
643 static ::absl::string_view FullMessageName() { return "operations_research.FirstSolutionStrategy"; }
644
645 explicit FirstSolutionStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
646 FirstSolutionStrategy(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FirstSolutionStrategy& from);
648 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FirstSolutionStrategy&& from) noexcept
649 : FirstSolutionStrategy(arena) {
650 *this = ::std::move(from);
651 }
652 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
653 static void* PROTOBUF_NONNULL PlacementNew_(
654 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
655 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
656 static constexpr auto InternalNewImpl_();
657
658 public:
659 static constexpr auto InternalGenerateClassData_();
660
661 ::google::protobuf::Metadata GetMetadata() const;
662 // nested types ----------------------------------------------------
663 using Value = FirstSolutionStrategy_Value;
664 static constexpr Value UNSET = FirstSolutionStrategy_Value_UNSET;
665 static constexpr Value AUTOMATIC = FirstSolutionStrategy_Value_AUTOMATIC;
666 static constexpr Value PATH_CHEAPEST_ARC = FirstSolutionStrategy_Value_PATH_CHEAPEST_ARC;
682 static inline bool Value_IsValid(int value) {
688 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Value_descriptor() {
691 template <typename T>
692 static inline const ::std::string& Value_Name(T value) {
694 }
695 static inline bool Value_Parse(
696 ::absl::string_view name, Value* PROTOBUF_NONNULL value) {
697 return FirstSolutionStrategy_Value_Parse(name, value);
698 }
700 // accessors -------------------------------------------------------
701 // @@protoc_insertion_point(class_scope:operations_research.FirstSolutionStrategy)
702 private:
703 class _Internal;
704 friend class ::google::protobuf::internal::TcParser;
705 static const ::google::protobuf::internal::TcParseTable<0, 0,
706 0, 0,
707 2>
708 _table_;
709
710 friend class ::google::protobuf::MessageLite;
711 friend class ::google::protobuf::Arena;
712 template <typename T>
713 friend class ::google::protobuf::Arena::InternalHelper;
714 using InternalArenaConstructable_ = void;
715 using DestructorSkippable_ = void;
716 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto;
718
719OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull FirstSolutionStrategy_class_data_;
721// ===================================================================
722
723
724
725
726// ===================================================================
727
728
729#ifdef __GNUC__
730#pragma GCC diagnostic push
731#pragma GCC diagnostic ignored "-Wstrict-aliasing"
732#endif // __GNUC__
733// -------------------------------------------------------------------
734
735// FirstSolutionStrategy
736
737// -------------------------------------------------------------------
738
739// LocalSearchMetaheuristic
740
741// -------------------------------------------------------------------
742
743// RoutingSearchStatus
744
745#ifdef __GNUC__
746#pragma GCC diagnostic pop
747#endif // __GNUC__
748
749// @@protoc_insertion_point(namespace_scope)
750} // namespace operations_research
751
752
753namespace google {
754namespace protobuf {
755
756template <>
757struct is_proto_enum<::operations_research::FirstSolutionStrategy_Value> : std::true_type {};
758template <>
759inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::FirstSolutionStrategy_Value>() {
760 return ::operations_research::FirstSolutionStrategy_Value_descriptor();
761}
762template <>
763struct is_proto_enum<::operations_research::LocalSearchMetaheuristic_Value> : std::true_type {};
764template <>
765inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::LocalSearchMetaheuristic_Value>() {
766 return ::operations_research::LocalSearchMetaheuristic_Value_descriptor();
767}
768template <>
769struct is_proto_enum<::operations_research::RoutingSearchStatus_Value> : std::true_type {};
770template <>
771inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::RoutingSearchStatus_Value>() {
772 return ::operations_research::RoutingSearchStatus_Value_descriptor();
773}
775} // namespace protobuf
776} // namespace google
777
778// @@protoc_insertion_point(global_scope)
779
780#include "google/protobuf/port_undef.inc"
781
782#endif // ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto_2epb_2eh
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)
void MergeFrom(const LocalSearchMetaheuristic &from)
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
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 >()
OR-Tools root namespace.
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