Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
search_stats.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/search_stats.proto
4// Protobuf C++ Version: 6.33.1
5
6#ifndef ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2fsearch_5fstats_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_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// @@protoc_insertion_point(includes)
33
34// Must be included last.
35#include "google/protobuf/port_def.inc"
36
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto OR_PROTO_DLL
38
39namespace google {
40namespace protobuf {
41namespace internal {
42template <typename T>
43::absl::string_view GetAnyMessageName();
44} // namespace internal
45} // namespace protobuf
46} // namespace google
47
48// Internal implementation detail -- do not use these members.
50 static const ::uint32_t offsets[];
51};
52extern "C" {
53OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
54} // extern "C"
55namespace operations_research {
59OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ConstraintSolverStatistics_class_data_;
63OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_class_data_;
67OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_FirstSolutionStatistics_class_data_;
71OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchFilterStatistics_class_data_;
75OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_;
79OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SearchStatistics_class_data_;
83OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SubSolverStatistics_class_data_;
84} // namespace operations_research
85namespace google {
86namespace protobuf {
87} // namespace protobuf
88} // namespace google
89
90namespace operations_research {
91
92// ===================================================================
93
94
95// -------------------------------------------------------------------
96
97class OR_PROTO_DLL SubSolverStatistics final : public ::google::protobuf::Message
98/* @@protoc_insertion_point(class_definition:operations_research.SubSolverStatistics) */ {
99 public:
100 inline SubSolverStatistics() : SubSolverStatistics(nullptr) {}
101 ~SubSolverStatistics() PROTOBUF_FINAL;
103#if defined(PROTOBUF_CUSTOM_VTABLE)
104 void operator delete(SubSolverStatistics* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
105 SharedDtor(*msg);
106 ::google::protobuf::internal::SizedDelete(msg, sizeof(SubSolverStatistics));
107 }
108#endif
109
110 template <typename = void>
111 explicit PROTOBUF_CONSTEXPR SubSolverStatistics(::google::protobuf::internal::ConstantInitialized);
112
113 inline SubSolverStatistics(const SubSolverStatistics& from) : SubSolverStatistics(nullptr, from) {}
114 inline SubSolverStatistics(SubSolverStatistics&& from) noexcept
115 : SubSolverStatistics(nullptr, ::std::move(from)) {}
118 return *this;
119 }
120 inline SubSolverStatistics& operator=(SubSolverStatistics&& from) noexcept {
121 if (this == &from) return *this;
122 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
123 InternalSwap(&from);
124 } else {
125 CopyFrom(from);
126 }
127 return *this;
128 }
129
130 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
131 ABSL_ATTRIBUTE_LIFETIME_BOUND {
132 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
133 }
134 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
135 ABSL_ATTRIBUTE_LIFETIME_BOUND {
136 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
137 }
138
139 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
140 return GetDescriptor();
142 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
143 return default_instance().GetMetadata().descriptor;
145 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
146 return default_instance().GetMetadata().reflection;
148 static const SubSolverStatistics& default_instance() {
149 return *reinterpret_cast<const SubSolverStatistics*>(
151 }
152 static constexpr int kIndexInFileMessages = 5;
153 friend void swap(SubSolverStatistics& a, SubSolverStatistics& b) { a.Swap(&b); }
154 inline void Swap(SubSolverStatistics* PROTOBUF_NONNULL other) {
155 if (other == this) return;
156 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
157 InternalSwap(other);
158 } else {
159 ::google::protobuf::internal::GenericSwap(this, other);
160 }
161 }
162 void UnsafeArenaSwap(SubSolverStatistics* PROTOBUF_NONNULL other) {
163 if (other == this) return;
164 ABSL_DCHECK(GetArena() == other->GetArena());
165 InternalSwap(other);
166 }
167
168 // implements Message ----------------------------------------------
169
170 SubSolverStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
171 return ::google::protobuf::Message::DefaultConstruct<SubSolverStatistics>(arena);
173 using ::google::protobuf::Message::CopyFrom;
174 void CopyFrom(const SubSolverStatistics& from);
175 using ::google::protobuf::Message::MergeFrom;
176 void MergeFrom(const SubSolverStatistics& from) { SubSolverStatistics::MergeImpl(*this, from); }
177
178 private:
179 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
180 const ::google::protobuf::MessageLite& from_msg);
181
182 public:
183 bool IsInitialized() const {
184 return true;
186 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
187 #if defined(PROTOBUF_CUSTOM_VTABLE)
188 private:
189 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
190 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
191 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
192 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
193
194 public:
195 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
196 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
197 ::uint8_t* PROTOBUF_NONNULL target,
198 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
199 return _InternalSerialize(*this, target, stream);
200 }
201 #else // PROTOBUF_CUSTOM_VTABLE
202 ::size_t ByteSizeLong() const final;
203 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
204 ::uint8_t* PROTOBUF_NONNULL target,
205 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
206 #endif // PROTOBUF_CUSTOM_VTABLE
207 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
208
209 private:
210 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
211 static void SharedDtor(MessageLite& self);
212 void InternalSwap(SubSolverStatistics* PROTOBUF_NONNULL other);
213 private:
214 template <typename T>
215 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
216 static ::absl::string_view FullMessageName() { return "operations_research.SubSolverStatistics"; }
217
218 explicit SubSolverStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
219 SubSolverStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SubSolverStatistics& from);
221 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SubSolverStatistics&& from) noexcept
222 : SubSolverStatistics(arena) {
223 *this = ::std::move(from);
224 }
225 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
226 static void* PROTOBUF_NONNULL PlacementNew_(
227 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
228 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
229 static constexpr auto InternalNewImpl_();
230
231 public:
232 static constexpr auto InternalGenerateClassData_();
233
234 ::google::protobuf::Metadata GetMetadata() const;
235 // nested types ----------------------------------------------------
236
237 // accessors -------------------------------------------------------
238 enum : int {
239 kNumGlopCallsInLpSchedulingFieldNumber = 1,
240 kNumCpSatCallsInLpSchedulingFieldNumber = 2,
242 };
243 // int64 num_glop_calls_in_lp_scheduling = 1;
245 ::int64_t num_glop_calls_in_lp_scheduling() const;
246 void set_num_glop_calls_in_lp_scheduling(::int64_t value);
247
248 private:
249 ::int64_t _internal_num_glop_calls_in_lp_scheduling() const;
250 void _internal_set_num_glop_calls_in_lp_scheduling(::int64_t value);
251
252 public:
253 // int64 num_cp_sat_calls_in_lp_scheduling = 2;
255 ::int64_t num_cp_sat_calls_in_lp_scheduling() const;
256 void set_num_cp_sat_calls_in_lp_scheduling(::int64_t value);
257
258 private:
259 ::int64_t _internal_num_cp_sat_calls_in_lp_scheduling() const;
260 void _internal_set_num_cp_sat_calls_in_lp_scheduling(::int64_t value);
261
262 public:
263 // int64 num_min_cost_flow_calls = 3;
265 ::int64_t num_min_cost_flow_calls() const;
266 void set_num_min_cost_flow_calls(::int64_t value);
267
268 private:
269 ::int64_t _internal_num_min_cost_flow_calls() const;
270 void _internal_set_num_min_cost_flow_calls(::int64_t value);
271
272 public:
273 // @@protoc_insertion_point(class_scope:operations_research.SubSolverStatistics)
274 private:
275 class _Internal;
276 friend class ::google::protobuf::internal::TcParser;
277 static const ::google::protobuf::internal::TcParseTable<2, 3,
278 0, 0,
279 2>
280 _table_;
281
282 friend class ::google::protobuf::MessageLite;
283 friend class ::google::protobuf::Arena;
284 template <typename T>
285 friend class ::google::protobuf::Arena::InternalHelper;
286 using InternalArenaConstructable_ = void;
287 using DestructorSkippable_ = void;
288 struct Impl_ {
289 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
290 inline explicit Impl_(
291 ::google::protobuf::internal::InternalVisibility visibility,
292 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
293 inline explicit Impl_(
294 ::google::protobuf::internal::InternalVisibility visibility,
295 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
296 const SubSolverStatistics& from_msg);
297 ::google::protobuf::internal::HasBits<1> _has_bits_;
298 ::google::protobuf::internal::CachedSize _cached_size_;
299 ::int64_t num_glop_calls_in_lp_scheduling_;
300 ::int64_t num_cp_sat_calls_in_lp_scheduling_;
301 ::int64_t num_min_cost_flow_calls_;
302 PROTOBUF_TSAN_DECLARE_MEMBER
303 };
304 union { Impl_ _impl_; };
305 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
308OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SubSolverStatistics_class_data_;
309// -------------------------------------------------------------------
310
311class OR_PROTO_DLL LocalSearchStatistics_LocalSearchOperatorStatistics final : public ::google::protobuf::Message
312/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics) */ {
313 public:
316
317#if defined(PROTOBUF_CUSTOM_VTABLE)
318 void operator delete(LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
319 SharedDtor(*msg);
320 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchStatistics_LocalSearchOperatorStatistics));
321 }
322#endif
323
324 template <typename = void>
325 explicit PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::internal::ConstantInitialized);
326
329 : LocalSearchStatistics_LocalSearchOperatorStatistics(nullptr, ::std::move(from)) {}
331 CopyFrom(from);
332 return *this;
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 }
366 static constexpr int kIndexInFileMessages = 1;
368 inline void Swap(LocalSearchStatistics_LocalSearchOperatorStatistics* 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(LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL other) {
377 if (other == this) return;
378 ABSL_DCHECK(GetArena() == other->GetArena());
379 InternalSwap(other);
380 }
381
382 // implements Message ----------------------------------------------
383
384 LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
385 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics_LocalSearchOperatorStatistics>(arena);
386 }
387 using ::google::protobuf::Message::CopyFrom;
389 using ::google::protobuf::Message::MergeFrom;
390 void MergeFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics& from) { LocalSearchStatistics_LocalSearchOperatorStatistics::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(LocalSearchStatistics_LocalSearchOperatorStatistics* 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.LocalSearchStatistics.LocalSearchOperatorStatistics"; }
431
432 explicit LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
433 LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchStatistics_LocalSearchOperatorStatistics& from);
435 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchStatistics_LocalSearchOperatorStatistics&& from) noexcept
437 *this = ::std::move(from);
438 }
439 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
440 static void* PROTOBUF_NONNULL PlacementNew_(
441 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
442 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
443 static constexpr auto InternalNewImpl_();
444
445 public:
446 static constexpr auto InternalGenerateClassData_();
447
448 ::google::protobuf::Metadata GetMetadata() const;
449 // nested types ----------------------------------------------------
450
451 // accessors -------------------------------------------------------
452 enum : int {
453 kLocalSearchOperatorFieldNumber = 1,
454 kNumNeighborsFieldNumber = 2,
455 kNumFilteredNeighborsFieldNumber = 3,
460 };
461 // string local_search_operator = 1;
463 const ::std::string& local_search_operator() const;
464 template <typename Arg_ = const ::std::string&, typename... Args_>
465 void set_local_search_operator(Arg_&& arg, Args_... args);
466 ::std::string* PROTOBUF_NONNULL mutable_local_search_operator();
467 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_local_search_operator();
468 void set_allocated_local_search_operator(::std::string* PROTOBUF_NULLABLE value);
469
470 private:
471 const ::std::string& _internal_local_search_operator() const;
472 PROTOBUF_ALWAYS_INLINE void _internal_set_local_search_operator(const ::std::string& value);
473 ::std::string* PROTOBUF_NONNULL _internal_mutable_local_search_operator();
474
475 public:
476 // int64 num_neighbors = 2;
477 void clear_num_neighbors() ;
478 ::int64_t num_neighbors() const;
479 void set_num_neighbors(::int64_t value);
480
481 private:
482 ::int64_t _internal_num_neighbors() const;
483 void _internal_set_num_neighbors(::int64_t value);
484
485 public:
486 // int64 num_filtered_neighbors = 3;
488 ::int64_t num_filtered_neighbors() const;
489 void set_num_filtered_neighbors(::int64_t value);
490
491 private:
492 ::int64_t _internal_num_filtered_neighbors() const;
493 void _internal_set_num_filtered_neighbors(::int64_t value);
494
495 public:
496 // int64 num_accepted_neighbors = 4;
498 ::int64_t num_accepted_neighbors() const;
499 void set_num_accepted_neighbors(::int64_t value);
500
501 private:
502 ::int64_t _internal_num_accepted_neighbors() const;
503 void _internal_set_num_accepted_neighbors(::int64_t value);
504
505 public:
506 // double duration_seconds = 5;
508 double duration_seconds() const;
509 void set_duration_seconds(double value);
510
511 private:
512 double _internal_duration_seconds() const;
513 void _internal_set_duration_seconds(double value);
514
515 public:
516 // double make_next_neighbor_duration_seconds = 6;
520
521 private:
522 double _internal_make_next_neighbor_duration_seconds() const;
523 void _internal_set_make_next_neighbor_duration_seconds(double value);
524
525 public:
526 // double accept_neighbor_duration_seconds = 7;
529 void set_accept_neighbor_duration_seconds(double value);
530
531 private:
532 double _internal_accept_neighbor_duration_seconds() const;
533 void _internal_set_accept_neighbor_duration_seconds(double value);
534
535 public:
536 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
537 private:
538 class _Internal;
539 friend class ::google::protobuf::internal::TcParser;
540 static const ::google::protobuf::internal::TcParseTable<3, 7,
541 0, 101,
542 2>
543 _table_;
544
545 friend class ::google::protobuf::MessageLite;
546 friend class ::google::protobuf::Arena;
547 template <typename T>
548 friend class ::google::protobuf::Arena::InternalHelper;
549 using InternalArenaConstructable_ = void;
550 using DestructorSkippable_ = void;
551 struct Impl_ {
552 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
553 inline explicit Impl_(
554 ::google::protobuf::internal::InternalVisibility visibility,
555 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
556 inline explicit Impl_(
557 ::google::protobuf::internal::InternalVisibility visibility,
558 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
560 ::google::protobuf::internal::HasBits<1> _has_bits_;
561 ::google::protobuf::internal::CachedSize _cached_size_;
562 ::google::protobuf::internal::ArenaStringPtr local_search_operator_;
563 ::int64_t num_neighbors_;
564 ::int64_t num_filtered_neighbors_;
565 ::int64_t num_accepted_neighbors_;
566 double duration_seconds_;
567 double make_next_neighbor_duration_seconds_;
568 double accept_neighbor_duration_seconds_;
569 PROTOBUF_TSAN_DECLARE_MEMBER
570 };
571 union { Impl_ _impl_; };
572 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
573};
575OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_;
576// -------------------------------------------------------------------
577
578class OR_PROTO_DLL LocalSearchStatistics_LocalSearchFilterStatistics final : public ::google::protobuf::Message
579/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics) */ {
580 public:
583
584#if defined(PROTOBUF_CUSTOM_VTABLE)
585 void operator delete(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
586 SharedDtor(*msg);
587 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchStatistics_LocalSearchFilterStatistics));
588 }
589#endif
590
591 template <typename = void>
592 explicit PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchFilterStatistics(::google::protobuf::internal::ConstantInitialized);
593
595 inline LocalSearchStatistics_LocalSearchFilterStatistics(LocalSearchStatistics_LocalSearchFilterStatistics&& from) noexcept
598 CopyFrom(from);
599 return *this;
600 }
602 if (this == &from) return *this;
603 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
604 InternalSwap(&from);
605 } else {
606 CopyFrom(from);
607 }
608 return *this;
609 }
610
611 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
612 ABSL_ATTRIBUTE_LIFETIME_BOUND {
613 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
614 }
615 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
616 ABSL_ATTRIBUTE_LIFETIME_BOUND {
617 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
618 }
620 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
621 return GetDescriptor();
622 }
623 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
624 return default_instance().GetMetadata().descriptor;
625 }
626 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
627 return default_instance().GetMetadata().reflection;
628 }
629 static const LocalSearchStatistics_LocalSearchFilterStatistics& default_instance() {
633 static constexpr int kIndexInFileMessages = 2;
635 inline void Swap(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL other) {
636 if (other == this) return;
637 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
638 InternalSwap(other);
639 } else {
640 ::google::protobuf::internal::GenericSwap(this, other);
641 }
642 }
643 void UnsafeArenaSwap(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL other) {
644 if (other == this) return;
645 ABSL_DCHECK(GetArena() == other->GetArena());
646 InternalSwap(other);
648
649 // implements Message ----------------------------------------------
650
651 LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
652 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics_LocalSearchFilterStatistics>(arena);
653 }
654 using ::google::protobuf::Message::CopyFrom;
656 using ::google::protobuf::Message::MergeFrom;
657 void MergeFrom(const LocalSearchStatistics_LocalSearchFilterStatistics& from) { LocalSearchStatistics_LocalSearchFilterStatistics::MergeImpl(*this, from); }
658
659 private:
660 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
661 const ::google::protobuf::MessageLite& from_msg);
662
663 public:
664 bool IsInitialized() const {
665 return true;
666 }
667 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
668 #if defined(PROTOBUF_CUSTOM_VTABLE)
669 private:
670 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
671 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
672 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
673 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
674
675 public:
676 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
677 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
678 ::uint8_t* PROTOBUF_NONNULL target,
679 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
680 return _InternalSerialize(*this, target, stream);
681 }
682 #else // PROTOBUF_CUSTOM_VTABLE
683 ::size_t ByteSizeLong() const final;
684 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
685 ::uint8_t* PROTOBUF_NONNULL target,
686 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
687 #endif // PROTOBUF_CUSTOM_VTABLE
688 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
689
690 private:
691 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
692 static void SharedDtor(MessageLite& self);
693 void InternalSwap(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL other);
694 private:
695 template <typename T>
696 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
697 static ::absl::string_view FullMessageName() { return "operations_research.LocalSearchStatistics.LocalSearchFilterStatistics"; }
698
699 explicit LocalSearchStatistics_LocalSearchFilterStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
700 LocalSearchStatistics_LocalSearchFilterStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchStatistics_LocalSearchFilterStatistics& from);
702 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchStatistics_LocalSearchFilterStatistics&& from) noexcept
704 *this = ::std::move(from);
705 }
706 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
707 static void* PROTOBUF_NONNULL PlacementNew_(
708 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
709 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
710 static constexpr auto InternalNewImpl_();
711
712 public:
713 static constexpr auto InternalGenerateClassData_();
714
715 ::google::protobuf::Metadata GetMetadata() const;
716 // nested types ----------------------------------------------------
717
718 // accessors -------------------------------------------------------
719 enum : int {
720 kLocalSearchFilterFieldNumber = 1,
721 kContextFieldNumber = 6,
722 kNumCallsFieldNumber = 2,
723 kNumRejectsFieldNumber = 3,
726 };
727 // string local_search_filter = 1;
729 const ::std::string& local_search_filter() const;
730 template <typename Arg_ = const ::std::string&, typename... Args_>
731 void set_local_search_filter(Arg_&& arg, Args_... args);
732 ::std::string* PROTOBUF_NONNULL mutable_local_search_filter();
733 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_local_search_filter();
734 void set_allocated_local_search_filter(::std::string* PROTOBUF_NULLABLE value);
736 private:
737 const ::std::string& _internal_local_search_filter() const;
738 PROTOBUF_ALWAYS_INLINE void _internal_set_local_search_filter(const ::std::string& value);
739 ::std::string* PROTOBUF_NONNULL _internal_mutable_local_search_filter();
740
741 public:
742 // string context = 6;
743 void clear_context() ;
744 const ::std::string& context() const;
745 template <typename Arg_ = const ::std::string&, typename... Args_>
746 void set_context(Arg_&& arg, Args_... args);
747 ::std::string* PROTOBUF_NONNULL mutable_context();
748 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_context();
749 void set_allocated_context(::std::string* PROTOBUF_NULLABLE value);
751 private:
752 const ::std::string& _internal_context() const;
753 PROTOBUF_ALWAYS_INLINE void _internal_set_context(const ::std::string& value);
754 ::std::string* PROTOBUF_NONNULL _internal_mutable_context();
755
756 public:
757 // int64 num_calls = 2;
758 void clear_num_calls() ;
759 ::int64_t num_calls() const;
760 void set_num_calls(::int64_t value);
761
762 private:
763 ::int64_t _internal_num_calls() const;
764 void _internal_set_num_calls(::int64_t value);
765
766 public:
767 // int64 num_rejects = 3;
768 void clear_num_rejects() ;
769 ::int64_t num_rejects() const;
770 void set_num_rejects(::int64_t value);
771
772 private:
773 ::int64_t _internal_num_rejects() const;
774 void _internal_set_num_rejects(::int64_t value);
775
776 public:
777 // double duration_seconds = 4;
779 double duration_seconds() const;
780 void set_duration_seconds(double value);
781
782 private:
783 double _internal_duration_seconds() const;
784 void _internal_set_duration_seconds(double value);
785
786 public:
787 // double num_rejects_per_second = 5;
789 double num_rejects_per_second() const;
790 void set_num_rejects_per_second(double value);
791
792 private:
793 double _internal_num_rejects_per_second() const;
794 void _internal_set_num_rejects_per_second(double value);
795
796 public:
797 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
798 private:
799 class _Internal;
800 friend class ::google::protobuf::internal::TcParser;
801 static const ::google::protobuf::internal::TcParseTable<3, 6,
802 0, 104,
803 2>
804 _table_;
805
806 friend class ::google::protobuf::MessageLite;
807 friend class ::google::protobuf::Arena;
808 template <typename T>
809 friend class ::google::protobuf::Arena::InternalHelper;
810 using InternalArenaConstructable_ = void;
811 using DestructorSkippable_ = void;
812 struct Impl_ {
813 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
814 inline explicit Impl_(
815 ::google::protobuf::internal::InternalVisibility visibility,
816 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
817 inline explicit Impl_(
818 ::google::protobuf::internal::InternalVisibility visibility,
819 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
821 ::google::protobuf::internal::HasBits<1> _has_bits_;
822 ::google::protobuf::internal::CachedSize _cached_size_;
823 ::google::protobuf::internal::ArenaStringPtr local_search_filter_;
824 ::google::protobuf::internal::ArenaStringPtr context_;
825 ::int64_t num_calls_;
826 ::int64_t num_rejects_;
827 double duration_seconds_;
828 double num_rejects_per_second_;
829 PROTOBUF_TSAN_DECLARE_MEMBER
830 };
831 union { Impl_ _impl_; };
832 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
833};
834
835OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchFilterStatistics_class_data_;
836// -------------------------------------------------------------------
837
838class OR_PROTO_DLL LocalSearchStatistics_FirstSolutionStatistics final : public ::google::protobuf::Message
839/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics.FirstSolutionStatistics) */ {
840 public:
844#if defined(PROTOBUF_CUSTOM_VTABLE)
845 void operator delete(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
846 SharedDtor(*msg);
847 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchStatistics_FirstSolutionStatistics));
848 }
849#endif
850
851 template <typename = void>
852 explicit PROTOBUF_CONSTEXPR LocalSearchStatistics_FirstSolutionStatistics(::google::protobuf::internal::ConstantInitialized);
853
855 inline LocalSearchStatistics_FirstSolutionStatistics(LocalSearchStatistics_FirstSolutionStatistics&& from) noexcept
856 : LocalSearchStatistics_FirstSolutionStatistics(nullptr, ::std::move(from)) {}
858 CopyFrom(from);
859 return *this;
862 if (this == &from) return *this;
863 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
864 InternalSwap(&from);
865 } else {
866 CopyFrom(from);
867 }
868 return *this;
869 }
870
871 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
872 ABSL_ATTRIBUTE_LIFETIME_BOUND {
873 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
874 }
875 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
876 ABSL_ATTRIBUTE_LIFETIME_BOUND {
877 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
878 }
879
880 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
881 return GetDescriptor();
882 }
883 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
884 return default_instance().GetMetadata().descriptor;
886 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
887 return default_instance().GetMetadata().reflection;
889 static const LocalSearchStatistics_FirstSolutionStatistics& default_instance() {
890 return *reinterpret_cast<const LocalSearchStatistics_FirstSolutionStatistics*>(
892 }
893 static constexpr int kIndexInFileMessages = 0;
895 inline void Swap(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL other) {
896 if (other == this) return;
897 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
898 InternalSwap(other);
899 } else {
900 ::google::protobuf::internal::GenericSwap(this, other);
901 }
902 }
903 void UnsafeArenaSwap(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL other) {
904 if (other == this) return;
905 ABSL_DCHECK(GetArena() == other->GetArena());
906 InternalSwap(other);
907 }
909 // implements Message ----------------------------------------------
910
911 LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
912 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics_FirstSolutionStatistics>(arena);
913 }
914 using ::google::protobuf::Message::CopyFrom;
915 void CopyFrom(const LocalSearchStatistics_FirstSolutionStatistics& from);
916 using ::google::protobuf::Message::MergeFrom;
917 void MergeFrom(const LocalSearchStatistics_FirstSolutionStatistics& from) { LocalSearchStatistics_FirstSolutionStatistics::MergeImpl(*this, from); }
918
919 private:
920 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
921 const ::google::protobuf::MessageLite& from_msg);
923 public:
924 bool IsInitialized() const {
925 return true;
926 }
927 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
928 #if defined(PROTOBUF_CUSTOM_VTABLE)
929 private:
930 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
931 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
932 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
933 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
934
935 public:
936 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
937 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
938 ::uint8_t* PROTOBUF_NONNULL target,
939 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
940 return _InternalSerialize(*this, target, stream);
941 }
942 #else // PROTOBUF_CUSTOM_VTABLE
943 ::size_t ByteSizeLong() const final;
944 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
945 ::uint8_t* PROTOBUF_NONNULL target,
946 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
947 #endif // PROTOBUF_CUSTOM_VTABLE
948 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
949
950 private:
951 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
952 static void SharedDtor(MessageLite& self);
953 void InternalSwap(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL other);
954 private:
955 template <typename T>
956 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
957 static ::absl::string_view FullMessageName() { return "operations_research.LocalSearchStatistics.FirstSolutionStatistics"; }
958
959 explicit LocalSearchStatistics_FirstSolutionStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
960 LocalSearchStatistics_FirstSolutionStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchStatistics_FirstSolutionStatistics& from);
962 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchStatistics_FirstSolutionStatistics&& from) noexcept
964 *this = ::std::move(from);
965 }
966 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
967 static void* PROTOBUF_NONNULL PlacementNew_(
968 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
969 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
970 static constexpr auto InternalNewImpl_();
971
972 public:
973 static constexpr auto InternalGenerateClassData_();
974
975 ::google::protobuf::Metadata GetMetadata() const;
976 // nested types ----------------------------------------------------
977
978 // accessors -------------------------------------------------------
979 enum : int {
980 kStrategyFieldNumber = 1,
981 kDurationSecondsFieldNumber = 2,
982 };
983 // string strategy = 1;
984 void clear_strategy() ;
985 const ::std::string& strategy() const;
986 template <typename Arg_ = const ::std::string&, typename... Args_>
987 void set_strategy(Arg_&& arg, Args_... args);
988 ::std::string* PROTOBUF_NONNULL mutable_strategy();
989 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_strategy();
990 void set_allocated_strategy(::std::string* PROTOBUF_NULLABLE value);
991
992 private:
993 const ::std::string& _internal_strategy() const;
994 PROTOBUF_ALWAYS_INLINE void _internal_set_strategy(const ::std::string& value);
995 ::std::string* PROTOBUF_NONNULL _internal_mutable_strategy();
996
997 public:
998 // double duration_seconds = 2;
1000 double duration_seconds() const;
1001 void set_duration_seconds(double value);
1002
1003 private:
1004 double _internal_duration_seconds() const;
1005 void _internal_set_duration_seconds(double value);
1006
1007 public:
1008 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
1009 private:
1010 class _Internal;
1011 friend class ::google::protobuf::internal::TcParser;
1012 static const ::google::protobuf::internal::TcParseTable<1, 2,
1013 0, 82,
1014 2>
1015 _table_;
1017 friend class ::google::protobuf::MessageLite;
1018 friend class ::google::protobuf::Arena;
1019 template <typename T>
1020 friend class ::google::protobuf::Arena::InternalHelper;
1021 using InternalArenaConstructable_ = void;
1022 using DestructorSkippable_ = void;
1023 struct Impl_ {
1024 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1025 inline explicit Impl_(
1026 ::google::protobuf::internal::InternalVisibility visibility,
1027 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1028 inline explicit Impl_(
1029 ::google::protobuf::internal::InternalVisibility visibility,
1030 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1032 ::google::protobuf::internal::HasBits<1> _has_bits_;
1033 ::google::protobuf::internal::CachedSize _cached_size_;
1034 ::google::protobuf::internal::ArenaStringPtr strategy_;
1035 double duration_seconds_;
1036 PROTOBUF_TSAN_DECLARE_MEMBER
1037 };
1038 union { Impl_ _impl_; };
1039 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1040};
1041
1042OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_FirstSolutionStatistics_class_data_;
1043// -------------------------------------------------------------------
1045class OR_PROTO_DLL ConstraintSolverStatistics final : public ::google::protobuf::Message
1046/* @@protoc_insertion_point(class_definition:operations_research.ConstraintSolverStatistics) */ {
1047 public:
1049 ~ConstraintSolverStatistics() PROTOBUF_FINAL;
1050
1051#if defined(PROTOBUF_CUSTOM_VTABLE)
1052 void operator delete(ConstraintSolverStatistics* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1053 SharedDtor(*msg);
1054 ::google::protobuf::internal::SizedDelete(msg, sizeof(ConstraintSolverStatistics));
1055 }
1056#endif
1057
1058 template <typename = void>
1059 explicit PROTOBUF_CONSTEXPR ConstraintSolverStatistics(::google::protobuf::internal::ConstantInitialized);
1060
1062 inline ConstraintSolverStatistics(ConstraintSolverStatistics&& from) noexcept
1063 : ConstraintSolverStatistics(nullptr, ::std::move(from)) {}
1064 inline ConstraintSolverStatistics& operator=(const ConstraintSolverStatistics& from) {
1066 return *this;
1069 if (this == &from) return *this;
1070 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1071 InternalSwap(&from);
1072 } else {
1073 CopyFrom(from);
1075 return *this;
1076 }
1077
1078 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1079 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1080 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1081 }
1082 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1083 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1084 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1085 }
1086
1087 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1089 }
1090 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1091 return default_instance().GetMetadata().descriptor;
1092 }
1093 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1094 return default_instance().GetMetadata().reflection;
1095 }
1100 static constexpr int kIndexInFileMessages = 4;
1101 friend void swap(ConstraintSolverStatistics& a, ConstraintSolverStatistics& b) { a.Swap(&b); }
1102 inline void Swap(ConstraintSolverStatistics* PROTOBUF_NONNULL other) {
1103 if (other == this) return;
1104 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1105 InternalSwap(other);
1106 } else {
1107 ::google::protobuf::internal::GenericSwap(this, other);
1109 }
1110 void UnsafeArenaSwap(ConstraintSolverStatistics* PROTOBUF_NONNULL other) {
1111 if (other == this) return;
1112 ABSL_DCHECK(GetArena() == other->GetArena());
1113 InternalSwap(other);
1114 }
1115
1116 // implements Message ----------------------------------------------
1117
1118 ConstraintSolverStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1119 return ::google::protobuf::Message::DefaultConstruct<ConstraintSolverStatistics>(arena);
1120 }
1121 using ::google::protobuf::Message::CopyFrom;
1122 void CopyFrom(const ConstraintSolverStatistics& from);
1123 using ::google::protobuf::Message::MergeFrom;
1124 void MergeFrom(const ConstraintSolverStatistics& from) { ConstraintSolverStatistics::MergeImpl(*this, from); }
1125
1126 private:
1127 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1128 const ::google::protobuf::MessageLite& from_msg);
1129
1130 public:
1131 bool IsInitialized() const {
1132 return true;
1133 }
1134 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1135 #if defined(PROTOBUF_CUSTOM_VTABLE)
1136 private:
1137 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1138 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1139 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1140 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1141
1142 public:
1143 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1144 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1145 ::uint8_t* PROTOBUF_NONNULL target,
1146 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1147 return _InternalSerialize(*this, target, stream);
1148 }
1149 #else // PROTOBUF_CUSTOM_VTABLE
1150 ::size_t ByteSizeLong() const final;
1151 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1152 ::uint8_t* PROTOBUF_NONNULL target,
1153 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1154 #endif // PROTOBUF_CUSTOM_VTABLE
1155 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1156
1157 private:
1158 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1159 static void SharedDtor(MessageLite& self);
1160 void InternalSwap(ConstraintSolverStatistics* PROTOBUF_NONNULL other);
1161 private:
1162 template <typename T>
1163 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1164 static ::absl::string_view FullMessageName() { return "operations_research.ConstraintSolverStatistics"; }
1165
1166 explicit ConstraintSolverStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1167 ConstraintSolverStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ConstraintSolverStatistics& from);
1169 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ConstraintSolverStatistics&& from) noexcept
1171 *this = ::std::move(from);
1172 }
1173 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1174 static void* PROTOBUF_NONNULL PlacementNew_(
1175 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1176 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1177 static constexpr auto InternalNewImpl_();
1178
1179 public:
1180 static constexpr auto InternalGenerateClassData_();
1181
1182 ::google::protobuf::Metadata GetMetadata() const;
1183 // nested types ----------------------------------------------------
1184
1185 // accessors -------------------------------------------------------
1186 enum : int {
1187 kNumBranchesFieldNumber = 1,
1188 kNumFailuresFieldNumber = 2,
1189 kNumSolutionsFieldNumber = 3,
1190 kBytesUsedFieldNumber = 4,
1191 kDurationSecondsFieldNumber = 5,
1192 };
1193 // int64 num_branches = 1;
1195 ::int64_t num_branches() const;
1196 void set_num_branches(::int64_t value);
1198 private:
1199 ::int64_t _internal_num_branches() const;
1200 void _internal_set_num_branches(::int64_t value);
1201
1202 public:
1203 // int64 num_failures = 2;
1204 void clear_num_failures() ;
1205 ::int64_t num_failures() const;
1206 void set_num_failures(::int64_t value);
1207
1208 private:
1209 ::int64_t _internal_num_failures() const;
1210 void _internal_set_num_failures(::int64_t value);
1211
1212 public:
1213 // int64 num_solutions = 3;
1214 void clear_num_solutions() ;
1215 ::int64_t num_solutions() const;
1216 void set_num_solutions(::int64_t value);
1217
1218 private:
1219 ::int64_t _internal_num_solutions() const;
1220 void _internal_set_num_solutions(::int64_t value);
1221
1222 public:
1223 // int64 bytes_used = 4;
1224 void clear_bytes_used() ;
1225 ::int64_t bytes_used() const;
1226 void set_bytes_used(::int64_t value);
1227
1228 private:
1229 ::int64_t _internal_bytes_used() const;
1230 void _internal_set_bytes_used(::int64_t value);
1231
1232 public:
1233 // double duration_seconds = 5;
1234 void clear_duration_seconds() ;
1235 double duration_seconds() const;
1236 void set_duration_seconds(double value);
1237
1238 private:
1239 double _internal_duration_seconds() const;
1240 void _internal_set_duration_seconds(double value);
1241
1242 public:
1243 // @@protoc_insertion_point(class_scope:operations_research.ConstraintSolverStatistics)
1244 private:
1245 class _Internal;
1246 friend class ::google::protobuf::internal::TcParser;
1247 static const ::google::protobuf::internal::TcParseTable<3, 5,
1248 0, 0,
1249 2>
1250 _table_;
1251
1252 friend class ::google::protobuf::MessageLite;
1253 friend class ::google::protobuf::Arena;
1254 template <typename T>
1255 friend class ::google::protobuf::Arena::InternalHelper;
1256 using InternalArenaConstructable_ = void;
1257 using DestructorSkippable_ = void;
1258 struct Impl_ {
1259 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1260 inline explicit Impl_(
1261 ::google::protobuf::internal::InternalVisibility visibility,
1262 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1263 inline explicit Impl_(
1264 ::google::protobuf::internal::InternalVisibility visibility,
1265 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1266 const ConstraintSolverStatistics& from_msg);
1267 ::google::protobuf::internal::HasBits<1> _has_bits_;
1268 ::google::protobuf::internal::CachedSize _cached_size_;
1269 ::int64_t num_branches_;
1270 ::int64_t num_failures_;
1271 ::int64_t num_solutions_;
1272 ::int64_t bytes_used_;
1273 double duration_seconds_;
1274 PROTOBUF_TSAN_DECLARE_MEMBER
1275 };
1276 union { Impl_ _impl_; };
1277 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1278};
1279
1280OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ConstraintSolverStatistics_class_data_;
1281// -------------------------------------------------------------------
1283class OR_PROTO_DLL LocalSearchStatistics final : public ::google::protobuf::Message
1284/* @@protoc_insertion_point(class_definition:operations_research.LocalSearchStatistics) */ {
1285 public:
1286 inline LocalSearchStatistics() : LocalSearchStatistics(nullptr) {}
1287 ~LocalSearchStatistics() PROTOBUF_FINAL;
1288
1289#if defined(PROTOBUF_CUSTOM_VTABLE)
1290 void operator delete(LocalSearchStatistics* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1291 SharedDtor(*msg);
1292 ::google::protobuf::internal::SizedDelete(msg, sizeof(LocalSearchStatistics));
1294#endif
1295
1296 template <typename = void>
1297 explicit PROTOBUF_CONSTEXPR LocalSearchStatistics(::google::protobuf::internal::ConstantInitialized);
1298
1299 inline LocalSearchStatistics(const LocalSearchStatistics& from) : LocalSearchStatistics(nullptr, from) {}
1300 inline LocalSearchStatistics(LocalSearchStatistics&& from) noexcept
1301 : LocalSearchStatistics(nullptr, ::std::move(from)) {}
1302 inline LocalSearchStatistics& operator=(const LocalSearchStatistics& from) {
1303 CopyFrom(from);
1304 return *this;
1305 }
1307 if (this == &from) return *this;
1308 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1309 InternalSwap(&from);
1310 } else {
1311 CopyFrom(from);
1312 }
1313 return *this;
1314 }
1315
1316 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1317 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1318 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1319 }
1320 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1321 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1322 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1324
1325 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1326 return GetDescriptor();
1328 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1329 return default_instance().GetMetadata().descriptor;
1330 }
1331 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1332 return default_instance().GetMetadata().reflection;
1333 }
1334 static const LocalSearchStatistics& default_instance() {
1335 return *reinterpret_cast<const LocalSearchStatistics*>(
1337 }
1338 static constexpr int kIndexInFileMessages = 3;
1339 friend void swap(LocalSearchStatistics& a, LocalSearchStatistics& b) { a.Swap(&b); }
1340 inline void Swap(LocalSearchStatistics* PROTOBUF_NONNULL other) {
1341 if (other == this) return;
1342 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1343 InternalSwap(other);
1344 } else {
1345 ::google::protobuf::internal::GenericSwap(this, other);
1348 void UnsafeArenaSwap(LocalSearchStatistics* PROTOBUF_NONNULL other) {
1349 if (other == this) return;
1350 ABSL_DCHECK(GetArena() == other->GetArena());
1351 InternalSwap(other);
1352 }
1353
1354 // implements Message ----------------------------------------------
1356 LocalSearchStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1357 return ::google::protobuf::Message::DefaultConstruct<LocalSearchStatistics>(arena);
1358 }
1359 using ::google::protobuf::Message::CopyFrom;
1360 void CopyFrom(const LocalSearchStatistics& from);
1361 using ::google::protobuf::Message::MergeFrom;
1362 void MergeFrom(const LocalSearchStatistics& from) { LocalSearchStatistics::MergeImpl(*this, from); }
1364 private:
1365 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1366 const ::google::protobuf::MessageLite& from_msg);
1367
1368 public:
1369 bool IsInitialized() const {
1370 return true;
1371 }
1372 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1373 #if defined(PROTOBUF_CUSTOM_VTABLE)
1374 private:
1375 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1376 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1377 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1378 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1379
1380 public:
1381 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1382 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1383 ::uint8_t* PROTOBUF_NONNULL target,
1384 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1385 return _InternalSerialize(*this, target, stream);
1386 }
1387 #else // PROTOBUF_CUSTOM_VTABLE
1388 ::size_t ByteSizeLong() const final;
1389 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1390 ::uint8_t* PROTOBUF_NONNULL target,
1391 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1392 #endif // PROTOBUF_CUSTOM_VTABLE
1393 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1394
1395 private:
1396 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1397 static void SharedDtor(MessageLite& self);
1398 void InternalSwap(LocalSearchStatistics* PROTOBUF_NONNULL other);
1399 private:
1400 template <typename T>
1401 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1402 static ::absl::string_view FullMessageName() { return "operations_research.LocalSearchStatistics"; }
1403
1404 explicit LocalSearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1405 LocalSearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LocalSearchStatistics& from);
1407 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LocalSearchStatistics&& from) noexcept
1408 : LocalSearchStatistics(arena) {
1409 *this = ::std::move(from);
1410 }
1411 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1412 static void* PROTOBUF_NONNULL PlacementNew_(
1413 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1414 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1415 static constexpr auto InternalNewImpl_();
1416
1417 public:
1418 static constexpr auto InternalGenerateClassData_();
1419
1420 ::google::protobuf::Metadata GetMetadata() const;
1421 // nested types ----------------------------------------------------
1422 using FirstSolutionStatistics = LocalSearchStatistics_FirstSolutionStatistics;
1423 using LocalSearchOperatorStatistics = LocalSearchStatistics_LocalSearchOperatorStatistics;
1424 using LocalSearchFilterStatistics = LocalSearchStatistics_LocalSearchFilterStatistics;
1425
1426 // accessors -------------------------------------------------------
1427 enum : int {
1428 kLocalSearchOperatorStatisticsFieldNumber = 1,
1434 };
1435 // repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
1437 private:
1438 int _internal_local_search_operator_statistics_size() const;
1440 public:
1443 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>* PROTOBUF_NONNULL mutable_local_search_operator_statistics();
1444
1445 private:
1446 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>& _internal_local_search_operator_statistics() const;
1447 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>* PROTOBUF_NONNULL _internal_mutable_local_search_operator_statistics();
1448 public:
1449 const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics& local_search_operator_statistics(int index) const;
1451 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>& local_search_operator_statistics() const;
1452 // repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
1454 private:
1455 int _internal_local_search_filter_statistics_size() const;
1456
1457 public:
1460 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>* PROTOBUF_NONNULL mutable_local_search_filter_statistics();
1461
1462 private:
1463 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>& _internal_local_search_filter_statistics() const;
1464 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>* PROTOBUF_NONNULL _internal_mutable_local_search_filter_statistics();
1465 public:
1466 const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics& local_search_filter_statistics(int index) const;
1468 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>& local_search_filter_statistics() const;
1469 // repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
1471 private:
1472 int _internal_first_solution_statistics_size() const;
1473
1474 public:
1477 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL mutable_first_solution_statistics();
1478
1479 private:
1480 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>& _internal_first_solution_statistics() const;
1481 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL _internal_mutable_first_solution_statistics();
1482 public:
1483 const ::operations_research::LocalSearchStatistics_FirstSolutionStatistics& first_solution_statistics(int index) const;
1485 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>& first_solution_statistics() const;
1486 // int64 total_num_neighbors = 3;
1488 ::int64_t total_num_neighbors() const;
1489 void set_total_num_neighbors(::int64_t value);
1490
1491 private:
1492 ::int64_t _internal_total_num_neighbors() const;
1493 void _internal_set_total_num_neighbors(::int64_t value);
1494
1495 public:
1496 // int64 total_num_filtered_neighbors = 4;
1498 ::int64_t total_num_filtered_neighbors() const;
1499 void set_total_num_filtered_neighbors(::int64_t value);
1500
1501 private:
1502 ::int64_t _internal_total_num_filtered_neighbors() const;
1503 void _internal_set_total_num_filtered_neighbors(::int64_t value);
1504
1505 public:
1506 // int64 total_num_accepted_neighbors = 5;
1508 ::int64_t total_num_accepted_neighbors() const;
1509 void set_total_num_accepted_neighbors(::int64_t value);
1510
1511 private:
1512 ::int64_t _internal_total_num_accepted_neighbors() const;
1513 void _internal_set_total_num_accepted_neighbors(::int64_t value);
1514
1515 public:
1516 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics)
1517 private:
1518 class _Internal;
1519 friend class ::google::protobuf::internal::TcParser;
1520 static const ::google::protobuf::internal::TcParseTable<3, 6,
1521 3, 0,
1522 2>
1523 _table_;
1524
1525 friend class ::google::protobuf::MessageLite;
1526 friend class ::google::protobuf::Arena;
1527 template <typename T>
1528 friend class ::google::protobuf::Arena::InternalHelper;
1529 using InternalArenaConstructable_ = void;
1530 using DestructorSkippable_ = void;
1531 struct Impl_ {
1532 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1533 inline explicit Impl_(
1534 ::google::protobuf::internal::InternalVisibility visibility,
1535 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1536 inline explicit Impl_(
1537 ::google::protobuf::internal::InternalVisibility visibility,
1538 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1539 const LocalSearchStatistics& from_msg);
1540 ::google::protobuf::internal::HasBits<1> _has_bits_;
1541 ::google::protobuf::internal::CachedSize _cached_size_;
1542 ::google::protobuf::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics > local_search_operator_statistics_;
1543 ::google::protobuf::RepeatedPtrField< ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > local_search_filter_statistics_;
1544 ::google::protobuf::RepeatedPtrField< ::operations_research::LocalSearchStatistics_FirstSolutionStatistics > first_solution_statistics_;
1545 ::int64_t total_num_neighbors_;
1546 ::int64_t total_num_filtered_neighbors_;
1547 ::int64_t total_num_accepted_neighbors_;
1548 PROTOBUF_TSAN_DECLARE_MEMBER
1549 };
1550 union { Impl_ _impl_; };
1551 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1552};
1553
1554OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_class_data_;
1555// -------------------------------------------------------------------
1556
1557class OR_PROTO_DLL SearchStatistics final : public ::google::protobuf::Message
1558/* @@protoc_insertion_point(class_definition:operations_research.SearchStatistics) */ {
1559 public:
1560 inline SearchStatistics() : SearchStatistics(nullptr) {}
1561 ~SearchStatistics() PROTOBUF_FINAL;
1562
1563#if defined(PROTOBUF_CUSTOM_VTABLE)
1564 void operator delete(SearchStatistics* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1565 SharedDtor(*msg);
1566 ::google::protobuf::internal::SizedDelete(msg, sizeof(SearchStatistics));
1567 }
1568#endif
1569
1570 template <typename = void>
1571 explicit PROTOBUF_CONSTEXPR SearchStatistics(::google::protobuf::internal::ConstantInitialized);
1572
1573 inline SearchStatistics(const SearchStatistics& from) : SearchStatistics(nullptr, from) {}
1574 inline SearchStatistics(SearchStatistics&& from) noexcept
1575 : SearchStatistics(nullptr, ::std::move(from)) {}
1576 inline SearchStatistics& operator=(const SearchStatistics& from) {
1577 CopyFrom(from);
1578 return *this;
1580 inline SearchStatistics& operator=(SearchStatistics&& from) noexcept {
1581 if (this == &from) return *this;
1582 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1583 InternalSwap(&from);
1584 } else {
1585 CopyFrom(from);
1586 }
1587 return *this;
1589
1590 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1591 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1592 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1593 }
1594 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1595 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1596 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1597 }
1599 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1600 return GetDescriptor();
1601 }
1602 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1603 return default_instance().GetMetadata().descriptor;
1604 }
1605 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1606 return default_instance().GetMetadata().reflection;
1608 static const SearchStatistics& default_instance() {
1609 return *reinterpret_cast<const SearchStatistics*>(
1611 }
1612 static constexpr int kIndexInFileMessages = 6;
1613 friend void swap(SearchStatistics& a, SearchStatistics& b) { a.Swap(&b); }
1614 inline void Swap(SearchStatistics* PROTOBUF_NONNULL other) {
1615 if (other == this) return;
1616 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1617 InternalSwap(other);
1618 } else {
1619 ::google::protobuf::internal::GenericSwap(this, other);
1622 void UnsafeArenaSwap(SearchStatistics* PROTOBUF_NONNULL other) {
1623 if (other == this) return;
1624 ABSL_DCHECK(GetArena() == other->GetArena());
1625 InternalSwap(other);
1626 }
1627
1628 // implements Message ----------------------------------------------
1629
1630 SearchStatistics* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1631 return ::google::protobuf::Message::DefaultConstruct<SearchStatistics>(arena);
1632 }
1633 using ::google::protobuf::Message::CopyFrom;
1634 void CopyFrom(const SearchStatistics& from);
1635 using ::google::protobuf::Message::MergeFrom;
1636 void MergeFrom(const SearchStatistics& from) { SearchStatistics::MergeImpl(*this, from); }
1637
1638 private:
1639 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1640 const ::google::protobuf::MessageLite& from_msg);
1641
1642 public:
1643 bool IsInitialized() const {
1644 return true;
1645 }
1646 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1647 #if defined(PROTOBUF_CUSTOM_VTABLE)
1648 private:
1649 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1650 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1651 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1652 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1653
1654 public:
1655 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1656 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1657 ::uint8_t* PROTOBUF_NONNULL target,
1658 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1659 return _InternalSerialize(*this, target, stream);
1660 }
1661 #else // PROTOBUF_CUSTOM_VTABLE
1662 ::size_t ByteSizeLong() const final;
1663 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1664 ::uint8_t* PROTOBUF_NONNULL target,
1665 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1666 #endif // PROTOBUF_CUSTOM_VTABLE
1667 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1668
1669 private:
1670 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1671 static void SharedDtor(MessageLite& self);
1672 void InternalSwap(SearchStatistics* PROTOBUF_NONNULL other);
1673 private:
1674 template <typename T>
1676 static ::absl::string_view FullMessageName() { return "operations_research.SearchStatistics"; }
1677
1678 explicit SearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1679 SearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SearchStatistics& from);
1681 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SearchStatistics&& from) noexcept
1682 : SearchStatistics(arena) {
1683 *this = ::std::move(from);
1684 }
1685 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1686 static void* PROTOBUF_NONNULL PlacementNew_(
1687 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1688 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1689 static constexpr auto InternalNewImpl_();
1690
1691 public:
1692 static constexpr auto InternalGenerateClassData_();
1693
1694 ::google::protobuf::Metadata GetMetadata() const;
1695 // nested types ----------------------------------------------------
1696
1697 // accessors -------------------------------------------------------
1698 enum : int {
1699 kLocalSearchStatisticsFieldNumber = 1,
1700 kConstraintSolverStatisticsFieldNumber = 2,
1701 kSubSolverStatisticsFieldNumber = 3,
1702 };
1703 // repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
1704 int local_search_statistics_size() const;
1705 private:
1706 int _internal_local_search_statistics_size() const;
1708 public:
1711 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>* PROTOBUF_NONNULL mutable_local_search_statistics();
1712
1713 private:
1714 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>& _internal_local_search_statistics() const;
1715 ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>* PROTOBUF_NONNULL _internal_mutable_local_search_statistics();
1716 public:
1717 const ::operations_research::LocalSearchStatistics& local_search_statistics(int index) const;
1719 const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>& local_search_statistics() const;
1720 // repeated .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
1722 private:
1723 int _internal_constraint_solver_statistics_size() const;
1724
1725 public:
1728 ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>* PROTOBUF_NONNULL mutable_constraint_solver_statistics();
1729
1730 private:
1731 const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>& _internal_constraint_solver_statistics() const;
1732 ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>* PROTOBUF_NONNULL _internal_mutable_constraint_solver_statistics();
1733 public:
1734 const ::operations_research::ConstraintSolverStatistics& constraint_solver_statistics(int index) const;
1736 const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>& constraint_solver_statistics() const;
1737 // repeated .operations_research.SubSolverStatistics sub_solver_statistics = 3;
1738 int sub_solver_statistics_size() const;
1739 private:
1740 int _internal_sub_solver_statistics_size() const;
1741
1742 public:
1745 ::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics>* PROTOBUF_NONNULL mutable_sub_solver_statistics();
1746
1747 private:
1748 const ::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics>& _internal_sub_solver_statistics() const;
1749 ::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics>* PROTOBUF_NONNULL _internal_mutable_sub_solver_statistics();
1750 public:
1751 const ::operations_research::SubSolverStatistics& sub_solver_statistics(int index) const;
1753 const ::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics>& sub_solver_statistics() const;
1754 // @@protoc_insertion_point(class_scope:operations_research.SearchStatistics)
1755 private:
1756 class _Internal;
1757 friend class ::google::protobuf::internal::TcParser;
1758 static const ::google::protobuf::internal::TcParseTable<2, 3,
1759 3, 0,
1760 2>
1761 _table_;
1762
1763 friend class ::google::protobuf::MessageLite;
1764 friend class ::google::protobuf::Arena;
1765 template <typename T>
1766 friend class ::google::protobuf::Arena::InternalHelper;
1767 using InternalArenaConstructable_ = void;
1768 using DestructorSkippable_ = void;
1769 struct Impl_ {
1770 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1771 inline explicit Impl_(
1772 ::google::protobuf::internal::InternalVisibility visibility,
1773 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1774 inline explicit Impl_(
1775 ::google::protobuf::internal::InternalVisibility visibility,
1776 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1777 const SearchStatistics& from_msg);
1778 ::google::protobuf::internal::HasBits<1> _has_bits_;
1779 ::google::protobuf::internal::CachedSize _cached_size_;
1780 ::google::protobuf::RepeatedPtrField< ::operations_research::LocalSearchStatistics > local_search_statistics_;
1781 ::google::protobuf::RepeatedPtrField< ::operations_research::ConstraintSolverStatistics > constraint_solver_statistics_;
1782 ::google::protobuf::RepeatedPtrField< ::operations_research::SubSolverStatistics > sub_solver_statistics_;
1783 PROTOBUF_TSAN_DECLARE_MEMBER
1784 };
1785 union { Impl_ _impl_; };
1786 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto;
1787};
1788
1789OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SearchStatistics_class_data_;
1790
1791// ===================================================================
1792
1795
1796// ===================================================================
1797
1798
1799#ifdef __GNUC__
1800#pragma GCC diagnostic push
1801#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1802#endif // __GNUC__
1803// -------------------------------------------------------------------
1804
1805// LocalSearchStatistics_FirstSolutionStatistics
1806
1807// string strategy = 1;
1809 ::google::protobuf::internal::TSanWrite(&_impl_);
1810 _impl_.strategy_.ClearToEmpty();
1811 ClearHasBit(_impl_._has_bits_[0],
1812 0x00000001U);
1813}
1814inline const ::std::string& LocalSearchStatistics_FirstSolutionStatistics::strategy() const
1815 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1816 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1817 return _internal_strategy();
1818}
1819template <typename Arg_, typename... Args_>
1820PROTOBUF_ALWAYS_INLINE void LocalSearchStatistics_FirstSolutionStatistics::set_strategy(Arg_&& arg, Args_... args) {
1821 ::google::protobuf::internal::TSanWrite(&_impl_);
1822 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1823 _impl_.strategy_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1824 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1826inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_FirstSolutionStatistics::mutable_strategy()
1827 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1828 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1829 ::std::string* _s = _internal_mutable_strategy();
1830 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1831 return _s;
1832}
1833inline const ::std::string& LocalSearchStatistics_FirstSolutionStatistics::_internal_strategy() const {
1834 ::google::protobuf::internal::TSanRead(&_impl_);
1835 return _impl_.strategy_.Get();
1836}
1837inline void LocalSearchStatistics_FirstSolutionStatistics::_internal_set_strategy(const ::std::string& value) {
1838 ::google::protobuf::internal::TSanWrite(&_impl_);
1839 _impl_.strategy_.Set(value, GetArena());
1840}
1841inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_FirstSolutionStatistics::_internal_mutable_strategy() {
1842 ::google::protobuf::internal::TSanWrite(&_impl_);
1843 return _impl_.strategy_.Mutable( GetArena());
1844}
1845inline ::std::string* PROTOBUF_NULLABLE LocalSearchStatistics_FirstSolutionStatistics::release_strategy() {
1846 ::google::protobuf::internal::TSanWrite(&_impl_);
1847 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1848 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
1849 return nullptr;
1850 }
1851 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1852 auto* released = _impl_.strategy_.Release();
1853 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1854 _impl_.strategy_.Set("", GetArena());
1855 }
1856 return released;
1857}
1858inline void LocalSearchStatistics_FirstSolutionStatistics::set_allocated_strategy(::std::string* PROTOBUF_NULLABLE value) {
1859 ::google::protobuf::internal::TSanWrite(&_impl_);
1860 if (value != nullptr) {
1861 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1862 } else {
1863 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1864 }
1865 _impl_.strategy_.SetAllocated(value, GetArena());
1866 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.strategy_.IsDefault()) {
1867 _impl_.strategy_.Set("", GetArena());
1868 }
1869 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy)
1870}
1871
1872// double duration_seconds = 2;
1874 ::google::protobuf::internal::TSanWrite(&_impl_);
1875 _impl_.duration_seconds_ = 0;
1876 ClearHasBit(_impl_._has_bits_[0],
1877 0x00000002U);
1878}
1880 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.FirstSolutionStatistics.duration_seconds)
1881 return _internal_duration_seconds();
1882}
1884 _internal_set_duration_seconds(value);
1885 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1886 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.FirstSolutionStatistics.duration_seconds)
1887}
1888inline double LocalSearchStatistics_FirstSolutionStatistics::_internal_duration_seconds() const {
1889 ::google::protobuf::internal::TSanRead(&_impl_);
1890 return _impl_.duration_seconds_;
1891}
1892inline void LocalSearchStatistics_FirstSolutionStatistics::_internal_set_duration_seconds(double value) {
1893 ::google::protobuf::internal::TSanWrite(&_impl_);
1894 _impl_.duration_seconds_ = value;
1895}
1896
1897// -------------------------------------------------------------------
1898
1899// LocalSearchStatistics_LocalSearchOperatorStatistics
1900
1901// string local_search_operator = 1;
1903 ::google::protobuf::internal::TSanWrite(&_impl_);
1904 _impl_.local_search_operator_.ClearToEmpty();
1905 ClearHasBit(_impl_._has_bits_[0],
1906 0x00000001U);
1907}
1909 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1910 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1911 return _internal_local_search_operator();
1912}
1913template <typename Arg_, typename... Args_>
1914PROTOBUF_ALWAYS_INLINE void LocalSearchStatistics_LocalSearchOperatorStatistics::set_local_search_operator(Arg_&& arg, Args_... args) {
1915 ::google::protobuf::internal::TSanWrite(&_impl_);
1916 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1917 _impl_.local_search_operator_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1918 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1919}
1921 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1922 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1923 ::std::string* _s = _internal_mutable_local_search_operator();
1924 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1925 return _s;
1927inline const ::std::string& LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_local_search_operator() const {
1928 ::google::protobuf::internal::TSanRead(&_impl_);
1929 return _impl_.local_search_operator_.Get();
1930}
1931inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_local_search_operator(const ::std::string& value) {
1932 ::google::protobuf::internal::TSanWrite(&_impl_);
1933 _impl_.local_search_operator_.Set(value, GetArena());
1934}
1935inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_mutable_local_search_operator() {
1936 ::google::protobuf::internal::TSanWrite(&_impl_);
1937 return _impl_.local_search_operator_.Mutable( GetArena());
1938}
1940 ::google::protobuf::internal::TSanWrite(&_impl_);
1941 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1942 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
1943 return nullptr;
1944 }
1945 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1946 auto* released = _impl_.local_search_operator_.Release();
1947 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1948 _impl_.local_search_operator_.Set("", GetArena());
1949 }
1950 return released;
1952inline void LocalSearchStatistics_LocalSearchOperatorStatistics::set_allocated_local_search_operator(::std::string* PROTOBUF_NULLABLE value) {
1953 ::google::protobuf::internal::TSanWrite(&_impl_);
1954 if (value != nullptr) {
1955 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1956 } else {
1957 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1958 }
1959 _impl_.local_search_operator_.SetAllocated(value, GetArena());
1960 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.local_search_operator_.IsDefault()) {
1961 _impl_.local_search_operator_.Set("", GetArena());
1962 }
1963 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator)
1965
1966// int64 num_neighbors = 2;
1968 ::google::protobuf::internal::TSanWrite(&_impl_);
1969 _impl_.num_neighbors_ = ::int64_t{0};
1970 ClearHasBit(_impl_._has_bits_[0],
1971 0x00000002U);
1972}
1974 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_neighbors)
1975 return _internal_num_neighbors();
1976}
1978 _internal_set_num_neighbors(value);
1979 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1980 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_neighbors)
1981}
1982inline ::int64_t LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_neighbors() const {
1983 ::google::protobuf::internal::TSanRead(&_impl_);
1984 return _impl_.num_neighbors_;
1986inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_neighbors(::int64_t value) {
1987 ::google::protobuf::internal::TSanWrite(&_impl_);
1988 _impl_.num_neighbors_ = value;
1990
1991// int64 num_filtered_neighbors = 3;
1993 ::google::protobuf::internal::TSanWrite(&_impl_);
1994 _impl_.num_filtered_neighbors_ = ::int64_t{0};
1995 ClearHasBit(_impl_._has_bits_[0],
1996 0x00000004U);
1997}
1999 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_filtered_neighbors)
2000 return _internal_num_filtered_neighbors();
2001}
2003 _internal_set_num_filtered_neighbors(value);
2004 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2005 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_filtered_neighbors)
2006}
2007inline ::int64_t LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_filtered_neighbors() const {
2008 ::google::protobuf::internal::TSanRead(&_impl_);
2009 return _impl_.num_filtered_neighbors_;
2011inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_filtered_neighbors(::int64_t value) {
2012 ::google::protobuf::internal::TSanWrite(&_impl_);
2013 _impl_.num_filtered_neighbors_ = value;
2015
2016// int64 num_accepted_neighbors = 4;
2018 ::google::protobuf::internal::TSanWrite(&_impl_);
2019 _impl_.num_accepted_neighbors_ = ::int64_t{0};
2020 ClearHasBit(_impl_._has_bits_[0],
2021 0x00000008U);
2022}
2024 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_accepted_neighbors)
2025 return _internal_num_accepted_neighbors();
2026}
2028 _internal_set_num_accepted_neighbors(value);
2029 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2030 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.num_accepted_neighbors)
2031}
2032inline ::int64_t LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_num_accepted_neighbors() const {
2033 ::google::protobuf::internal::TSanRead(&_impl_);
2034 return _impl_.num_accepted_neighbors_;
2036inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_num_accepted_neighbors(::int64_t value) {
2037 ::google::protobuf::internal::TSanWrite(&_impl_);
2038 _impl_.num_accepted_neighbors_ = value;
2040
2041// double duration_seconds = 5;
2043 ::google::protobuf::internal::TSanWrite(&_impl_);
2044 _impl_.duration_seconds_ = 0;
2045 ClearHasBit(_impl_._has_bits_[0],
2046 0x00000010U);
2047}
2049 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.duration_seconds)
2050 return _internal_duration_seconds();
2051}
2053 _internal_set_duration_seconds(value);
2054 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2055 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.duration_seconds)
2056}
2057inline double LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_duration_seconds() const {
2058 ::google::protobuf::internal::TSanRead(&_impl_);
2059 return _impl_.duration_seconds_;
2061inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_duration_seconds(double value) {
2062 ::google::protobuf::internal::TSanWrite(&_impl_);
2063 _impl_.duration_seconds_ = value;
2065
2066// double make_next_neighbor_duration_seconds = 6;
2068 ::google::protobuf::internal::TSanWrite(&_impl_);
2069 _impl_.make_next_neighbor_duration_seconds_ = 0;
2070 ClearHasBit(_impl_._has_bits_[0],
2071 0x00000020U);
2072}
2074 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.make_next_neighbor_duration_seconds)
2075 return _internal_make_next_neighbor_duration_seconds();
2076}
2078 _internal_set_make_next_neighbor_duration_seconds(value);
2079 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2080 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.make_next_neighbor_duration_seconds)
2081}
2082inline double LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_make_next_neighbor_duration_seconds() const {
2083 ::google::protobuf::internal::TSanRead(&_impl_);
2084 return _impl_.make_next_neighbor_duration_seconds_;
2086inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_make_next_neighbor_duration_seconds(double value) {
2087 ::google::protobuf::internal::TSanWrite(&_impl_);
2088 _impl_.make_next_neighbor_duration_seconds_ = value;
2090
2091// double accept_neighbor_duration_seconds = 7;
2093 ::google::protobuf::internal::TSanWrite(&_impl_);
2094 _impl_.accept_neighbor_duration_seconds_ = 0;
2095 ClearHasBit(_impl_._has_bits_[0],
2096 0x00000040U);
2097}
2099 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.accept_neighbor_duration_seconds)
2100 return _internal_accept_neighbor_duration_seconds();
2101}
2103 _internal_set_accept_neighbor_duration_seconds(value);
2104 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2105 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.accept_neighbor_duration_seconds)
2106}
2107inline double LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_accept_neighbor_duration_seconds() const {
2108 ::google::protobuf::internal::TSanRead(&_impl_);
2109 return _impl_.accept_neighbor_duration_seconds_;
2111inline void LocalSearchStatistics_LocalSearchOperatorStatistics::_internal_set_accept_neighbor_duration_seconds(double value) {
2112 ::google::protobuf::internal::TSanWrite(&_impl_);
2113 _impl_.accept_neighbor_duration_seconds_ = value;
2115
2116// -------------------------------------------------------------------
2117
2118// LocalSearchStatistics_LocalSearchFilterStatistics
2119
2120// string local_search_filter = 1;
2122 ::google::protobuf::internal::TSanWrite(&_impl_);
2123 _impl_.local_search_filter_.ClearToEmpty();
2124 ClearHasBit(_impl_._has_bits_[0],
2125 0x00000001U);
2126}
2128 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2129 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
2130 return _internal_local_search_filter();
2131}
2132template <typename Arg_, typename... Args_>
2133PROTOBUF_ALWAYS_INLINE void LocalSearchStatistics_LocalSearchFilterStatistics::set_local_search_filter(Arg_&& arg, Args_... args) {
2134 ::google::protobuf::internal::TSanWrite(&_impl_);
2135 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2136 _impl_.local_search_filter_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2137 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
2138}
2140 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2141 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2142 ::std::string* _s = _internal_mutable_local_search_filter();
2143 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
2144 return _s;
2145}
2146inline const ::std::string& LocalSearchStatistics_LocalSearchFilterStatistics::_internal_local_search_filter() const {
2147 ::google::protobuf::internal::TSanRead(&_impl_);
2148 return _impl_.local_search_filter_.Get();
2149}
2150inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_local_search_filter(const ::std::string& value) {
2151 ::google::protobuf::internal::TSanWrite(&_impl_);
2152 _impl_.local_search_filter_.Set(value, GetArena());
2153}
2154inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_LocalSearchFilterStatistics::_internal_mutable_local_search_filter() {
2155 ::google::protobuf::internal::TSanWrite(&_impl_);
2156 return _impl_.local_search_filter_.Mutable( GetArena());
2157}
2159 ::google::protobuf::internal::TSanWrite(&_impl_);
2160 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
2161 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
2162 return nullptr;
2163 }
2164 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2165 auto* released = _impl_.local_search_filter_.Release();
2166 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2167 _impl_.local_search_filter_.Set("", GetArena());
2168 }
2169 return released;
2170}
2172 ::google::protobuf::internal::TSanWrite(&_impl_);
2173 if (value != nullptr) {
2174 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2175 } else {
2176 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2177 }
2178 _impl_.local_search_filter_.SetAllocated(value, GetArena());
2179 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.local_search_filter_.IsDefault()) {
2180 _impl_.local_search_filter_.Set("", GetArena());
2181 }
2182 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter)
2183}
2185// int64 num_calls = 2;
2187 ::google::protobuf::internal::TSanWrite(&_impl_);
2188 _impl_.num_calls_ = ::int64_t{0};
2189 ClearHasBit(_impl_._has_bits_[0],
2190 0x00000004U);
2191}
2193 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_calls)
2194 return _internal_num_calls();
2195}
2197 _internal_set_num_calls(value);
2198 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2199 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_calls)
2200}
2201inline ::int64_t LocalSearchStatistics_LocalSearchFilterStatistics::_internal_num_calls() const {
2202 ::google::protobuf::internal::TSanRead(&_impl_);
2203 return _impl_.num_calls_;
2204}
2205inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_num_calls(::int64_t value) {
2206 ::google::protobuf::internal::TSanWrite(&_impl_);
2207 _impl_.num_calls_ = value;
2208}
2210// int64 num_rejects = 3;
2212 ::google::protobuf::internal::TSanWrite(&_impl_);
2213 _impl_.num_rejects_ = ::int64_t{0};
2214 ClearHasBit(_impl_._has_bits_[0],
2215 0x00000008U);
2216}
2218 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects)
2219 return _internal_num_rejects();
2220}
2222 _internal_set_num_rejects(value);
2223 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2224 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects)
2225}
2226inline ::int64_t LocalSearchStatistics_LocalSearchFilterStatistics::_internal_num_rejects() const {
2227 ::google::protobuf::internal::TSanRead(&_impl_);
2228 return _impl_.num_rejects_;
2229}
2230inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_num_rejects(::int64_t value) {
2231 ::google::protobuf::internal::TSanWrite(&_impl_);
2232 _impl_.num_rejects_ = value;
2233}
2235// double duration_seconds = 4;
2237 ::google::protobuf::internal::TSanWrite(&_impl_);
2238 _impl_.duration_seconds_ = 0;
2239 ClearHasBit(_impl_._has_bits_[0],
2240 0x00000010U);
2241}
2243 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.duration_seconds)
2244 return _internal_duration_seconds();
2245}
2247 _internal_set_duration_seconds(value);
2248 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2249 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.duration_seconds)
2250}
2251inline double LocalSearchStatistics_LocalSearchFilterStatistics::_internal_duration_seconds() const {
2252 ::google::protobuf::internal::TSanRead(&_impl_);
2253 return _impl_.duration_seconds_;
2254}
2255inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_duration_seconds(double value) {
2256 ::google::protobuf::internal::TSanWrite(&_impl_);
2257 _impl_.duration_seconds_ = value;
2258}
2260// double num_rejects_per_second = 5;
2262 ::google::protobuf::internal::TSanWrite(&_impl_);
2263 _impl_.num_rejects_per_second_ = 0;
2264 ClearHasBit(_impl_._has_bits_[0],
2265 0x00000020U);
2266}
2268 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects_per_second)
2269 return _internal_num_rejects_per_second();
2270}
2272 _internal_set_num_rejects_per_second(value);
2273 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2274 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.num_rejects_per_second)
2275}
2276inline double LocalSearchStatistics_LocalSearchFilterStatistics::_internal_num_rejects_per_second() const {
2277 ::google::protobuf::internal::TSanRead(&_impl_);
2278 return _impl_.num_rejects_per_second_;
2279}
2280inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_num_rejects_per_second(double value) {
2281 ::google::protobuf::internal::TSanWrite(&_impl_);
2282 _impl_.num_rejects_per_second_ = value;
2283}
2285// string context = 6;
2287 ::google::protobuf::internal::TSanWrite(&_impl_);
2288 _impl_.context_.ClearToEmpty();
2289 ClearHasBit(_impl_._has_bits_[0],
2290 0x00000002U);
2291}
2292inline const ::std::string& LocalSearchStatistics_LocalSearchFilterStatistics::context() const
2293 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2294 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2295 return _internal_context();
2296}
2297template <typename Arg_, typename... Args_>
2298PROTOBUF_ALWAYS_INLINE void LocalSearchStatistics_LocalSearchFilterStatistics::set_context(Arg_&& arg, Args_... args) {
2299 ::google::protobuf::internal::TSanWrite(&_impl_);
2300 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2301 _impl_.context_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2302 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2303}
2304inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_LocalSearchFilterStatistics::mutable_context()
2305 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2306 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2307 ::std::string* _s = _internal_mutable_context();
2308 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2309 return _s;
2310}
2311inline const ::std::string& LocalSearchStatistics_LocalSearchFilterStatistics::_internal_context() const {
2312 ::google::protobuf::internal::TSanRead(&_impl_);
2313 return _impl_.context_.Get();
2314}
2315inline void LocalSearchStatistics_LocalSearchFilterStatistics::_internal_set_context(const ::std::string& value) {
2316 ::google::protobuf::internal::TSanWrite(&_impl_);
2317 _impl_.context_.Set(value, GetArena());
2318}
2319inline ::std::string* PROTOBUF_NONNULL LocalSearchStatistics_LocalSearchFilterStatistics::_internal_mutable_context() {
2320 ::google::protobuf::internal::TSanWrite(&_impl_);
2321 return _impl_.context_.Mutable( GetArena());
2322}
2323inline ::std::string* PROTOBUF_NULLABLE LocalSearchStatistics_LocalSearchFilterStatistics::release_context() {
2324 ::google::protobuf::internal::TSanWrite(&_impl_);
2325 // @@protoc_insertion_point(field_release:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2326 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
2327 return nullptr;
2328 }
2329 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2330 auto* released = _impl_.context_.Release();
2331 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2332 _impl_.context_.Set("", GetArena());
2333 }
2334 return released;
2335}
2336inline void LocalSearchStatistics_LocalSearchFilterStatistics::set_allocated_context(::std::string* PROTOBUF_NULLABLE value) {
2337 ::google::protobuf::internal::TSanWrite(&_impl_);
2338 if (value != nullptr) {
2339 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2340 } else {
2341 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2342 }
2343 _impl_.context_.SetAllocated(value, GetArena());
2344 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.context_.IsDefault()) {
2345 _impl_.context_.Set("", GetArena());
2346 }
2347 // @@protoc_insertion_point(field_set_allocated:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context)
2348}
2350// -------------------------------------------------------------------
2351
2352// LocalSearchStatistics
2353
2354// repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
2355inline int LocalSearchStatistics::_internal_first_solution_statistics_size() const {
2356 return _internal_first_solution_statistics().size();
2357}
2359 return _internal_first_solution_statistics_size();
2360}
2362 ::google::protobuf::internal::TSanWrite(&_impl_);
2363 _impl_.first_solution_statistics_.Clear();
2364 ClearHasBitForRepeated(_impl_._has_bits_[0],
2365 0x00000004U);
2366}
2367inline ::operations_research::LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL LocalSearchStatistics::mutable_first_solution_statistics(int index)
2368 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2369 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.first_solution_statistics)
2370 return _internal_mutable_first_solution_statistics()->Mutable(index);
2371}
2372inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL LocalSearchStatistics::mutable_first_solution_statistics()
2373 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2374 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2375 // @@protoc_insertion_point(field_mutable_list:operations_research.LocalSearchStatistics.first_solution_statistics)
2376 ::google::protobuf::internal::TSanWrite(&_impl_);
2377 return _internal_mutable_first_solution_statistics();
2378}
2379inline const ::operations_research::LocalSearchStatistics_FirstSolutionStatistics& LocalSearchStatistics::first_solution_statistics(int index) const
2380 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2381 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.first_solution_statistics)
2382 return _internal_first_solution_statistics().Get(index);
2383}
2384inline ::operations_research::LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_NONNULL LocalSearchStatistics::add_first_solution_statistics()
2385 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2386 ::google::protobuf::internal::TSanWrite(&_impl_);
2388 _internal_mutable_first_solution_statistics()->InternalAddWithArena(
2389 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2390 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2391 // @@protoc_insertion_point(field_add:operations_research.LocalSearchStatistics.first_solution_statistics)
2392 return _add;
2394inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>& LocalSearchStatistics::first_solution_statistics() const
2395 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2396 // @@protoc_insertion_point(field_list:operations_research.LocalSearchStatistics.first_solution_statistics)
2397 return _internal_first_solution_statistics();
2399inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>&
2400LocalSearchStatistics::_internal_first_solution_statistics() const {
2401 ::google::protobuf::internal::TSanRead(&_impl_);
2402 return _impl_.first_solution_statistics_;
2403}
2404inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>* PROTOBUF_NONNULL
2405LocalSearchStatistics::_internal_mutable_first_solution_statistics() {
2406 ::google::protobuf::internal::TSanRead(&_impl_);
2407 return &_impl_.first_solution_statistics_;
2409
2410// repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
2411inline int LocalSearchStatistics::_internal_local_search_operator_statistics_size() const {
2412 return _internal_local_search_operator_statistics().size();
2413}
2415 return _internal_local_search_operator_statistics_size();
2416}
2418 ::google::protobuf::internal::TSanWrite(&_impl_);
2419 _impl_.local_search_operator_statistics_.Clear();
2420 ClearHasBitForRepeated(_impl_._has_bits_[0],
2421 0x00000001U);
2422}
2423inline ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL LocalSearchStatistics::mutable_local_search_operator_statistics(int index)
2424 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2425 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2426 return _internal_mutable_local_search_operator_statistics()->Mutable(index);
2427}
2428inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>* PROTOBUF_NONNULL LocalSearchStatistics::mutable_local_search_operator_statistics()
2429 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2430 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2431 // @@protoc_insertion_point(field_mutable_list:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2432 ::google::protobuf::internal::TSanWrite(&_impl_);
2433 return _internal_mutable_local_search_operator_statistics();
2434}
2435inline const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics& LocalSearchStatistics::local_search_operator_statistics(int index) const
2436 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2437 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2438 return _internal_local_search_operator_statistics().Get(index);
2439}
2440inline ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_NONNULL LocalSearchStatistics::add_local_search_operator_statistics()
2441 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2442 ::google::protobuf::internal::TSanWrite(&_impl_);
2444 _internal_mutable_local_search_operator_statistics()->InternalAddWithArena(
2445 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2446 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2447 // @@protoc_insertion_point(field_add:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2448 return _add;
2450inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>& LocalSearchStatistics::local_search_operator_statistics() const
2451 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2452 // @@protoc_insertion_point(field_list:operations_research.LocalSearchStatistics.local_search_operator_statistics)
2453 return _internal_local_search_operator_statistics();
2455inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>&
2456LocalSearchStatistics::_internal_local_search_operator_statistics() const {
2457 ::google::protobuf::internal::TSanRead(&_impl_);
2458 return _impl_.local_search_operator_statistics_;
2459}
2460inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>* PROTOBUF_NONNULL
2461LocalSearchStatistics::_internal_mutable_local_search_operator_statistics() {
2462 ::google::protobuf::internal::TSanRead(&_impl_);
2463 return &_impl_.local_search_operator_statistics_;
2465
2466// int64 total_num_neighbors = 3;
2468 ::google::protobuf::internal::TSanWrite(&_impl_);
2469 _impl_.total_num_neighbors_ = ::int64_t{0};
2470 ClearHasBit(_impl_._has_bits_[0],
2471 0x00000008U);
2472}
2473inline ::int64_t LocalSearchStatistics::total_num_neighbors() const {
2474 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.total_num_neighbors)
2475 return _internal_total_num_neighbors();
2476}
2477inline void LocalSearchStatistics::set_total_num_neighbors(::int64_t value) {
2478 _internal_set_total_num_neighbors(value);
2479 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2480 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.total_num_neighbors)
2482inline ::int64_t LocalSearchStatistics::_internal_total_num_neighbors() const {
2483 ::google::protobuf::internal::TSanRead(&_impl_);
2484 return _impl_.total_num_neighbors_;
2485}
2486inline void LocalSearchStatistics::_internal_set_total_num_neighbors(::int64_t value) {
2487 ::google::protobuf::internal::TSanWrite(&_impl_);
2488 _impl_.total_num_neighbors_ = value;
2489}
2490
2491// int64 total_num_filtered_neighbors = 4;
2493 ::google::protobuf::internal::TSanWrite(&_impl_);
2494 _impl_.total_num_filtered_neighbors_ = ::int64_t{0};
2495 ClearHasBit(_impl_._has_bits_[0],
2496 0x00000010U);
2497}
2499 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.total_num_filtered_neighbors)
2500 return _internal_total_num_filtered_neighbors();
2501}
2503 _internal_set_total_num_filtered_neighbors(value);
2504 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2505 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.total_num_filtered_neighbors)
2507inline ::int64_t LocalSearchStatistics::_internal_total_num_filtered_neighbors() const {
2508 ::google::protobuf::internal::TSanRead(&_impl_);
2509 return _impl_.total_num_filtered_neighbors_;
2510}
2511inline void LocalSearchStatistics::_internal_set_total_num_filtered_neighbors(::int64_t value) {
2512 ::google::protobuf::internal::TSanWrite(&_impl_);
2513 _impl_.total_num_filtered_neighbors_ = value;
2514}
2515
2516// int64 total_num_accepted_neighbors = 5;
2518 ::google::protobuf::internal::TSanWrite(&_impl_);
2519 _impl_.total_num_accepted_neighbors_ = ::int64_t{0};
2520 ClearHasBit(_impl_._has_bits_[0],
2521 0x00000020U);
2522}
2524 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.total_num_accepted_neighbors)
2525 return _internal_total_num_accepted_neighbors();
2526}
2528 _internal_set_total_num_accepted_neighbors(value);
2529 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2530 // @@protoc_insertion_point(field_set:operations_research.LocalSearchStatistics.total_num_accepted_neighbors)
2532inline ::int64_t LocalSearchStatistics::_internal_total_num_accepted_neighbors() const {
2533 ::google::protobuf::internal::TSanRead(&_impl_);
2534 return _impl_.total_num_accepted_neighbors_;
2535}
2536inline void LocalSearchStatistics::_internal_set_total_num_accepted_neighbors(::int64_t value) {
2537 ::google::protobuf::internal::TSanWrite(&_impl_);
2538 _impl_.total_num_accepted_neighbors_ = value;
2539}
2540
2541// repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
2542inline int LocalSearchStatistics::_internal_local_search_filter_statistics_size() const {
2543 return _internal_local_search_filter_statistics().size();
2544}
2546 return _internal_local_search_filter_statistics_size();
2547}
2549 ::google::protobuf::internal::TSanWrite(&_impl_);
2550 _impl_.local_search_filter_statistics_.Clear();
2551 ClearHasBitForRepeated(_impl_._has_bits_[0],
2552 0x00000002U);
2553}
2554inline ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL LocalSearchStatistics::mutable_local_search_filter_statistics(int index)
2555 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2556 // @@protoc_insertion_point(field_mutable:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2557 return _internal_mutable_local_search_filter_statistics()->Mutable(index);
2558}
2559inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>* PROTOBUF_NONNULL LocalSearchStatistics::mutable_local_search_filter_statistics()
2560 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2561 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2562 // @@protoc_insertion_point(field_mutable_list:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2563 ::google::protobuf::internal::TSanWrite(&_impl_);
2564 return _internal_mutable_local_search_filter_statistics();
2565}
2566inline const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics& LocalSearchStatistics::local_search_filter_statistics(int index) const
2567 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2568 // @@protoc_insertion_point(field_get:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2569 return _internal_local_search_filter_statistics().Get(index);
2570}
2571inline ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_NONNULL LocalSearchStatistics::add_local_search_filter_statistics()
2572 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2573 ::google::protobuf::internal::TSanWrite(&_impl_);
2575 _internal_mutable_local_search_filter_statistics()->InternalAddWithArena(
2576 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2577 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2578 // @@protoc_insertion_point(field_add:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2579 return _add;
2581inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>& LocalSearchStatistics::local_search_filter_statistics() const
2582 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2583 // @@protoc_insertion_point(field_list:operations_research.LocalSearchStatistics.local_search_filter_statistics)
2584 return _internal_local_search_filter_statistics();
2586inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>&
2587LocalSearchStatistics::_internal_local_search_filter_statistics() const {
2588 ::google::protobuf::internal::TSanRead(&_impl_);
2589 return _impl_.local_search_filter_statistics_;
2590}
2591inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>* PROTOBUF_NONNULL
2592LocalSearchStatistics::_internal_mutable_local_search_filter_statistics() {
2593 ::google::protobuf::internal::TSanRead(&_impl_);
2594 return &_impl_.local_search_filter_statistics_;
2596
2597// -------------------------------------------------------------------
2598
2599// ConstraintSolverStatistics
2600
2601// int64 num_branches = 1;
2603 ::google::protobuf::internal::TSanWrite(&_impl_);
2604 _impl_.num_branches_ = ::int64_t{0};
2605 ClearHasBit(_impl_._has_bits_[0],
2606 0x00000001U);
2607}
2608inline ::int64_t ConstraintSolverStatistics::num_branches() const {
2609 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.num_branches)
2610 return _internal_num_branches();
2611}
2612inline void ConstraintSolverStatistics::set_num_branches(::int64_t value) {
2613 _internal_set_num_branches(value);
2614 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2615 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.num_branches)
2616}
2617inline ::int64_t ConstraintSolverStatistics::_internal_num_branches() const {
2618 ::google::protobuf::internal::TSanRead(&_impl_);
2619 return _impl_.num_branches_;
2620}
2621inline void ConstraintSolverStatistics::_internal_set_num_branches(::int64_t value) {
2622 ::google::protobuf::internal::TSanWrite(&_impl_);
2623 _impl_.num_branches_ = value;
2624}
2625
2626// int64 num_failures = 2;
2628 ::google::protobuf::internal::TSanWrite(&_impl_);
2629 _impl_.num_failures_ = ::int64_t{0};
2630 ClearHasBit(_impl_._has_bits_[0],
2631 0x00000002U);
2632}
2633inline ::int64_t ConstraintSolverStatistics::num_failures() const {
2634 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.num_failures)
2635 return _internal_num_failures();
2636}
2637inline void ConstraintSolverStatistics::set_num_failures(::int64_t value) {
2638 _internal_set_num_failures(value);
2639 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2640 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.num_failures)
2641}
2642inline ::int64_t ConstraintSolverStatistics::_internal_num_failures() const {
2643 ::google::protobuf::internal::TSanRead(&_impl_);
2644 return _impl_.num_failures_;
2645}
2646inline void ConstraintSolverStatistics::_internal_set_num_failures(::int64_t value) {
2647 ::google::protobuf::internal::TSanWrite(&_impl_);
2648 _impl_.num_failures_ = value;
2649}
2650
2651// int64 num_solutions = 3;
2653 ::google::protobuf::internal::TSanWrite(&_impl_);
2654 _impl_.num_solutions_ = ::int64_t{0};
2655 ClearHasBit(_impl_._has_bits_[0],
2656 0x00000004U);
2657}
2658inline ::int64_t ConstraintSolverStatistics::num_solutions() const {
2659 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.num_solutions)
2660 return _internal_num_solutions();
2661}
2662inline void ConstraintSolverStatistics::set_num_solutions(::int64_t value) {
2663 _internal_set_num_solutions(value);
2664 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2665 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.num_solutions)
2666}
2667inline ::int64_t ConstraintSolverStatistics::_internal_num_solutions() const {
2668 ::google::protobuf::internal::TSanRead(&_impl_);
2669 return _impl_.num_solutions_;
2670}
2671inline void ConstraintSolverStatistics::_internal_set_num_solutions(::int64_t value) {
2672 ::google::protobuf::internal::TSanWrite(&_impl_);
2673 _impl_.num_solutions_ = value;
2674}
2675
2676// int64 bytes_used = 4;
2678 ::google::protobuf::internal::TSanWrite(&_impl_);
2679 _impl_.bytes_used_ = ::int64_t{0};
2680 ClearHasBit(_impl_._has_bits_[0],
2681 0x00000008U);
2682}
2683inline ::int64_t ConstraintSolverStatistics::bytes_used() const {
2684 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.bytes_used)
2685 return _internal_bytes_used();
2686}
2687inline void ConstraintSolverStatistics::set_bytes_used(::int64_t value) {
2688 _internal_set_bytes_used(value);
2689 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2690 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.bytes_used)
2691}
2692inline ::int64_t ConstraintSolverStatistics::_internal_bytes_used() const {
2693 ::google::protobuf::internal::TSanRead(&_impl_);
2694 return _impl_.bytes_used_;
2695}
2696inline void ConstraintSolverStatistics::_internal_set_bytes_used(::int64_t value) {
2697 ::google::protobuf::internal::TSanWrite(&_impl_);
2698 _impl_.bytes_used_ = value;
2699}
2700
2701// double duration_seconds = 5;
2703 ::google::protobuf::internal::TSanWrite(&_impl_);
2704 _impl_.duration_seconds_ = 0;
2705 ClearHasBit(_impl_._has_bits_[0],
2706 0x00000010U);
2707}
2709 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverStatistics.duration_seconds)
2710 return _internal_duration_seconds();
2711}
2712inline void ConstraintSolverStatistics::set_duration_seconds(double value) {
2713 _internal_set_duration_seconds(value);
2714 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2715 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverStatistics.duration_seconds)
2716}
2717inline double ConstraintSolverStatistics::_internal_duration_seconds() const {
2718 ::google::protobuf::internal::TSanRead(&_impl_);
2719 return _impl_.duration_seconds_;
2720}
2721inline void ConstraintSolverStatistics::_internal_set_duration_seconds(double value) {
2722 ::google::protobuf::internal::TSanWrite(&_impl_);
2723 _impl_.duration_seconds_ = value;
2724}
2725
2726// -------------------------------------------------------------------
2728// SubSolverStatistics
2729
2730// int64 num_glop_calls_in_lp_scheduling = 1;
2732 ::google::protobuf::internal::TSanWrite(&_impl_);
2733 _impl_.num_glop_calls_in_lp_scheduling_ = ::int64_t{0};
2734 ClearHasBit(_impl_._has_bits_[0],
2735 0x00000001U);
2736}
2738 // @@protoc_insertion_point(field_get:operations_research.SubSolverStatistics.num_glop_calls_in_lp_scheduling)
2739 return _internal_num_glop_calls_in_lp_scheduling();
2740}
2742 _internal_set_num_glop_calls_in_lp_scheduling(value);
2743 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2744 // @@protoc_insertion_point(field_set:operations_research.SubSolverStatistics.num_glop_calls_in_lp_scheduling)
2745}
2746inline ::int64_t SubSolverStatistics::_internal_num_glop_calls_in_lp_scheduling() const {
2747 ::google::protobuf::internal::TSanRead(&_impl_);
2748 return _impl_.num_glop_calls_in_lp_scheduling_;
2749}
2750inline void SubSolverStatistics::_internal_set_num_glop_calls_in_lp_scheduling(::int64_t value) {
2751 ::google::protobuf::internal::TSanWrite(&_impl_);
2752 _impl_.num_glop_calls_in_lp_scheduling_ = value;
2754
2755// int64 num_cp_sat_calls_in_lp_scheduling = 2;
2757 ::google::protobuf::internal::TSanWrite(&_impl_);
2758 _impl_.num_cp_sat_calls_in_lp_scheduling_ = ::int64_t{0};
2759 ClearHasBit(_impl_._has_bits_[0],
2760 0x00000002U);
2761}
2763 // @@protoc_insertion_point(field_get:operations_research.SubSolverStatistics.num_cp_sat_calls_in_lp_scheduling)
2764 return _internal_num_cp_sat_calls_in_lp_scheduling();
2765}
2767 _internal_set_num_cp_sat_calls_in_lp_scheduling(value);
2768 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2769 // @@protoc_insertion_point(field_set:operations_research.SubSolverStatistics.num_cp_sat_calls_in_lp_scheduling)
2770}
2771inline ::int64_t SubSolverStatistics::_internal_num_cp_sat_calls_in_lp_scheduling() const {
2772 ::google::protobuf::internal::TSanRead(&_impl_);
2773 return _impl_.num_cp_sat_calls_in_lp_scheduling_;
2774}
2775inline void SubSolverStatistics::_internal_set_num_cp_sat_calls_in_lp_scheduling(::int64_t value) {
2776 ::google::protobuf::internal::TSanWrite(&_impl_);
2777 _impl_.num_cp_sat_calls_in_lp_scheduling_ = value;
2779
2780// int64 num_min_cost_flow_calls = 3;
2782 ::google::protobuf::internal::TSanWrite(&_impl_);
2783 _impl_.num_min_cost_flow_calls_ = ::int64_t{0};
2784 ClearHasBit(_impl_._has_bits_[0],
2785 0x00000004U);
2786}
2787inline ::int64_t SubSolverStatistics::num_min_cost_flow_calls() const {
2788 // @@protoc_insertion_point(field_get:operations_research.SubSolverStatistics.num_min_cost_flow_calls)
2789 return _internal_num_min_cost_flow_calls();
2790}
2791inline void SubSolverStatistics::set_num_min_cost_flow_calls(::int64_t value) {
2792 _internal_set_num_min_cost_flow_calls(value);
2793 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2794 // @@protoc_insertion_point(field_set:operations_research.SubSolverStatistics.num_min_cost_flow_calls)
2795}
2796inline ::int64_t SubSolverStatistics::_internal_num_min_cost_flow_calls() const {
2797 ::google::protobuf::internal::TSanRead(&_impl_);
2798 return _impl_.num_min_cost_flow_calls_;
2799}
2800inline void SubSolverStatistics::_internal_set_num_min_cost_flow_calls(::int64_t value) {
2801 ::google::protobuf::internal::TSanWrite(&_impl_);
2802 _impl_.num_min_cost_flow_calls_ = value;
2804
2805// -------------------------------------------------------------------
2806
2807// SearchStatistics
2808
2809// repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
2810inline int SearchStatistics::_internal_local_search_statistics_size() const {
2811 return _internal_local_search_statistics().size();
2812}
2814 return _internal_local_search_statistics_size();
2815}
2817 ::google::protobuf::internal::TSanWrite(&_impl_);
2818 _impl_.local_search_statistics_.Clear();
2819 ClearHasBitForRepeated(_impl_._has_bits_[0],
2820 0x00000001U);
2821}
2822inline ::operations_research::LocalSearchStatistics* PROTOBUF_NONNULL SearchStatistics::mutable_local_search_statistics(int index)
2823 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2824 // @@protoc_insertion_point(field_mutable:operations_research.SearchStatistics.local_search_statistics)
2825 return _internal_mutable_local_search_statistics()->Mutable(index);
2826}
2827inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>* PROTOBUF_NONNULL SearchStatistics::mutable_local_search_statistics()
2828 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2829 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2830 // @@protoc_insertion_point(field_mutable_list:operations_research.SearchStatistics.local_search_statistics)
2831 ::google::protobuf::internal::TSanWrite(&_impl_);
2832 return _internal_mutable_local_search_statistics();
2834inline const ::operations_research::LocalSearchStatistics& SearchStatistics::local_search_statistics(int index) const
2835 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2836 // @@protoc_insertion_point(field_get:operations_research.SearchStatistics.local_search_statistics)
2837 return _internal_local_search_statistics().Get(index);
2838}
2839inline ::operations_research::LocalSearchStatistics* PROTOBUF_NONNULL SearchStatistics::add_local_search_statistics()
2840 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2841 ::google::protobuf::internal::TSanWrite(&_impl_);
2843 _internal_mutable_local_search_statistics()->InternalAddWithArena(
2844 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2845 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2846 // @@protoc_insertion_point(field_add:operations_research.SearchStatistics.local_search_statistics)
2847 return _add;
2848}
2849inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>& SearchStatistics::local_search_statistics() const
2850 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2851 // @@protoc_insertion_point(field_list:operations_research.SearchStatistics.local_search_statistics)
2852 return _internal_local_search_statistics();
2853}
2854inline const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>&
2855SearchStatistics::_internal_local_search_statistics() const {
2856 ::google::protobuf::internal::TSanRead(&_impl_);
2857 return _impl_.local_search_statistics_;
2858}
2859inline ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics>* PROTOBUF_NONNULL
2860SearchStatistics::_internal_mutable_local_search_statistics() {
2861 ::google::protobuf::internal::TSanRead(&_impl_);
2862 return &_impl_.local_search_statistics_;
2863}
2864
2865// repeated .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
2866inline int SearchStatistics::_internal_constraint_solver_statistics_size() const {
2867 return _internal_constraint_solver_statistics().size();
2868}
2870 return _internal_constraint_solver_statistics_size();
2871}
2873 ::google::protobuf::internal::TSanWrite(&_impl_);
2874 _impl_.constraint_solver_statistics_.Clear();
2875 ClearHasBitForRepeated(_impl_._has_bits_[0],
2876 0x00000002U);
2877}
2878inline ::operations_research::ConstraintSolverStatistics* PROTOBUF_NONNULL SearchStatistics::mutable_constraint_solver_statistics(int index)
2879 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2880 // @@protoc_insertion_point(field_mutable:operations_research.SearchStatistics.constraint_solver_statistics)
2881 return _internal_mutable_constraint_solver_statistics()->Mutable(index);
2882}
2883inline ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>* PROTOBUF_NONNULL SearchStatistics::mutable_constraint_solver_statistics()
2884 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2885 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2886 // @@protoc_insertion_point(field_mutable_list:operations_research.SearchStatistics.constraint_solver_statistics)
2887 ::google::protobuf::internal::TSanWrite(&_impl_);
2888 return _internal_mutable_constraint_solver_statistics();
2890inline const ::operations_research::ConstraintSolverStatistics& SearchStatistics::constraint_solver_statistics(int index) const
2891 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2892 // @@protoc_insertion_point(field_get:operations_research.SearchStatistics.constraint_solver_statistics)
2893 return _internal_constraint_solver_statistics().Get(index);
2894}
2895inline ::operations_research::ConstraintSolverStatistics* PROTOBUF_NONNULL SearchStatistics::add_constraint_solver_statistics()
2896 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2897 ::google::protobuf::internal::TSanWrite(&_impl_);
2899 _internal_mutable_constraint_solver_statistics()->InternalAddWithArena(
2900 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2901 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2902 // @@protoc_insertion_point(field_add:operations_research.SearchStatistics.constraint_solver_statistics)
2903 return _add;
2904}
2905inline const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>& SearchStatistics::constraint_solver_statistics() const
2906 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2907 // @@protoc_insertion_point(field_list:operations_research.SearchStatistics.constraint_solver_statistics)
2908 return _internal_constraint_solver_statistics();
2909}
2910inline const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>&
2911SearchStatistics::_internal_constraint_solver_statistics() const {
2912 ::google::protobuf::internal::TSanRead(&_impl_);
2913 return _impl_.constraint_solver_statistics_;
2914}
2915inline ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics>* PROTOBUF_NONNULL
2916SearchStatistics::_internal_mutable_constraint_solver_statistics() {
2917 ::google::protobuf::internal::TSanRead(&_impl_);
2918 return &_impl_.constraint_solver_statistics_;
2919}
2920
2921// repeated .operations_research.SubSolverStatistics sub_solver_statistics = 3;
2922inline int SearchStatistics::_internal_sub_solver_statistics_size() const {
2923 return _internal_sub_solver_statistics().size();
2924}
2926 return _internal_sub_solver_statistics_size();
2927}
2929 ::google::protobuf::internal::TSanWrite(&_impl_);
2930 _impl_.sub_solver_statistics_.Clear();
2931 ClearHasBitForRepeated(_impl_._has_bits_[0],
2932 0x00000004U);
2933}
2934inline ::operations_research::SubSolverStatistics* PROTOBUF_NONNULL SearchStatistics::mutable_sub_solver_statistics(int index)
2935 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2936 // @@protoc_insertion_point(field_mutable:operations_research.SearchStatistics.sub_solver_statistics)
2937 return _internal_mutable_sub_solver_statistics()->Mutable(index);
2938}
2939inline ::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics>* PROTOBUF_NONNULL SearchStatistics::mutable_sub_solver_statistics()
2940 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2941 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2942 // @@protoc_insertion_point(field_mutable_list:operations_research.SearchStatistics.sub_solver_statistics)
2943 ::google::protobuf::internal::TSanWrite(&_impl_);
2944 return _internal_mutable_sub_solver_statistics();
2946inline const ::operations_research::SubSolverStatistics& SearchStatistics::sub_solver_statistics(int index) const
2947 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2948 // @@protoc_insertion_point(field_get:operations_research.SearchStatistics.sub_solver_statistics)
2949 return _internal_sub_solver_statistics().Get(index);
2950}
2951inline ::operations_research::SubSolverStatistics* PROTOBUF_NONNULL SearchStatistics::add_sub_solver_statistics()
2952 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2953 ::google::protobuf::internal::TSanWrite(&_impl_);
2955 _internal_mutable_sub_solver_statistics()->InternalAddWithArena(
2956 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2957 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2958 // @@protoc_insertion_point(field_add:operations_research.SearchStatistics.sub_solver_statistics)
2959 return _add;
2960}
2961inline const ::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics>& SearchStatistics::sub_solver_statistics() const
2962 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2963 // @@protoc_insertion_point(field_list:operations_research.SearchStatistics.sub_solver_statistics)
2964 return _internal_sub_solver_statistics();
2965}
2966inline const ::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics>&
2967SearchStatistics::_internal_sub_solver_statistics() const {
2968 ::google::protobuf::internal::TSanRead(&_impl_);
2969 return _impl_.sub_solver_statistics_;
2970}
2971inline ::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics>* PROTOBUF_NONNULL
2972SearchStatistics::_internal_mutable_sub_solver_statistics() {
2973 ::google::protobuf::internal::TSanRead(&_impl_);
2974 return &_impl_.sub_solver_statistics_;
2975}
2976
2977#ifdef __GNUC__
2978#pragma GCC diagnostic pop
2979#endif // __GNUC__
2980
2981// @@protoc_insertion_point(namespace_scope)
2982} // namespace operations_research
2983
2984
2985// @@protoc_insertion_point(global_scope)
2986
2987#include "google/protobuf/port_undef.inc"
2988
2989#endif // ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto_2epb_2eh
static const ConstraintSolverStatistics & default_instance()
ConstraintSolverStatistics *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom(const ConstraintSolverStatistics &from)
void MergeFrom(const ConstraintSolverStatistics &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ConstraintSolverStatistics & operator=(const ConstraintSolverStatistics &from)
void Swap(ConstraintSolverStatistics *PROTOBUF_NONNULL other)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
friend void swap(LocalSearchStatistics_FirstSolutionStatistics &a, LocalSearchStatistics_FirstSolutionStatistics &b)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const LocalSearchStatistics_FirstSolutionStatistics &from)
LocalSearchStatistics_FirstSolutionStatistics & operator=(const LocalSearchStatistics_FirstSolutionStatistics &from)
LocalSearchStatistics_FirstSolutionStatistics *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_allocated_strategy(::std::string *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void Swap(LocalSearchStatistics_FirstSolutionStatistics *PROTOBUF_NONNULL other)
void CopyFrom(const LocalSearchStatistics_FirstSolutionStatistics &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
LocalSearchStatistics_LocalSearchFilterStatistics & operator=(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
friend void swap(LocalSearchStatistics_LocalSearchFilterStatistics &a, LocalSearchStatistics_LocalSearchFilterStatistics &b)
void set_allocated_local_search_filter(::std::string *PROTOBUF_NULLABLE value)
static const LocalSearchStatistics_LocalSearchFilterStatistics & default_instance()
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap(LocalSearchStatistics_LocalSearchFilterStatistics *PROTOBUF_NONNULL other)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_allocated_context(::std::string *PROTOBUF_NULLABLE value)
PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchFilterStatistics(::google::protobuf::internal::ConstantInitialized)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_allocated_local_search_operator(::std::string *PROTOBUF_NULLABLE value)
static const LocalSearchStatistics_LocalSearchOperatorStatistics & default_instance()
void Swap(LocalSearchStatistics_LocalSearchOperatorStatistics *PROTOBUF_NONNULL other)
void CopyFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
PROTOBUF_CONSTEXPR LocalSearchStatistics_LocalSearchOperatorStatistics(::google::protobuf::internal::ConstantInitialized)
LocalSearchStatistics_LocalSearchOperatorStatistics & operator=(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics > & first_solution_statistics() const
::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics > *PROTOBUF_NONNULL mutable_local_search_operator_statistics()
const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > & local_search_filter_statistics() const
const ::operations_research::LocalSearchStatistics_FirstSolutionStatistics & first_solution_statistics(int index) const
::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics *PROTOBUF_NONNULL add_local_search_operator_statistics()
const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics & local_search_operator_statistics(int index) const
const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics & local_search_filter_statistics(int index) const
LocalSearchStatistics *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
LocalSearchStatistics & operator=(const LocalSearchStatistics &from)
::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics > *PROTOBUF_NONNULL mutable_local_search_filter_statistics()
::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics *PROTOBUF_NONNULL add_local_search_filter_statistics()
::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics *PROTOBUF_NONNULL mutable_local_search_operator_statistics(int index)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::operations_research::LocalSearchStatistics_FirstSolutionStatistics *PROTOBUF_NONNULL mutable_first_solution_statistics(int index)
const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics > & local_search_operator_statistics() const
void Swap(LocalSearchStatistics *PROTOBUF_NONNULL other)
friend void swap(LocalSearchStatistics &a, LocalSearchStatistics &b)
static const LocalSearchStatistics & default_instance()
::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics_FirstSolutionStatistics > *PROTOBUF_NONNULL mutable_first_solution_statistics()
::operations_research::LocalSearchStatistics_FirstSolutionStatistics *PROTOBUF_NONNULL add_first_solution_statistics()
::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics *PROTOBUF_NONNULL mutable_local_search_filter_statistics(int index)
const ::operations_research::LocalSearchStatistics & local_search_statistics(int index) const
const ::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics > & constraint_solver_statistics() const
void UnsafeArenaSwap(SearchStatistics *PROTOBUF_NONNULL other)
const ::operations_research::ConstraintSolverStatistics & constraint_solver_statistics(int index) const
::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics > *PROTOBUF_NONNULL mutable_sub_solver_statistics()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::operations_research::LocalSearchStatistics *PROTOBUF_NONNULL add_local_search_statistics()
::operations_research::LocalSearchStatistics *PROTOBUF_NONNULL mutable_local_search_statistics(int index)
void Swap(SearchStatistics *PROTOBUF_NONNULL other)
::operations_research::SubSolverStatistics *PROTOBUF_NONNULL mutable_sub_solver_statistics(int index)
::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics > *PROTOBUF_NONNULL mutable_local_search_statistics()
const ::operations_research::SubSolverStatistics & sub_solver_statistics(int index) const
::operations_research::ConstraintSolverStatistics *PROTOBUF_NONNULL mutable_constraint_solver_statistics(int index)
::google::protobuf::RepeatedPtrField<::operations_research::ConstraintSolverStatistics > *PROTOBUF_NONNULL mutable_constraint_solver_statistics()
::operations_research::SubSolverStatistics *PROTOBUF_NONNULL add_sub_solver_statistics()
static const SearchStatistics & default_instance()
const ::google::protobuf::RepeatedPtrField<::operations_research::SubSolverStatistics > & sub_solver_statistics() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::RepeatedPtrField<::operations_research::LocalSearchStatistics > & local_search_statistics() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
SearchStatistics *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::operations_research::ConstraintSolverStatistics *PROTOBUF_NONNULL add_constraint_solver_statistics()
friend void swap(SearchStatistics &a, SearchStatistics &b)
friend class ::google::protobuf::MessageLite
void Swap(SubSolverStatistics *PROTOBUF_NONNULL other)
void set_num_cp_sat_calls_in_lp_scheduling(::int64_t value)
void CopyFrom(const SubSolverStatistics &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
SubSolverStatistics(const SubSolverStatistics &from)
PROTOBUF_CONSTEXPR SubSolverStatistics(::google::protobuf::internal::ConstantInitialized)
SubSolverStatistics & operator=(const SubSolverStatistics &from)
void set_num_glop_calls_in_lp_scheduling(::int64_t value)
::absl::string_view GetAnyMessageName()
OR-Tools root namespace.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubSolverStatisticsDefaultTypeInternal _SubSolverStatistics_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SearchStatistics_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SubSolverStatistics_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchStatistics_LocalSearchFilterStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchFilterStatistics_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchStatistics_FirstSolutionStatisticsDefaultTypeInternal _LocalSearchStatistics_FirstSolutionStatistics_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchStatistics_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchStatisticsDefaultTypeInternal _SearchStatistics_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchStatisticsDefaultTypeInternal _LocalSearchStatistics_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchStatistics_FirstSolutionStatistics_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchFilterStatistics_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstraintSolverStatisticsDefaultTypeInternal _ConstraintSolverStatistics_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ConstraintSolverStatistics_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchStatistics_LocalSearchOperatorStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchOperatorStatistics_default_instance_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto