Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
search_stats.pb.cc
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.31.1
5
7
8#include <algorithm>
9#include <type_traits>
10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
19// @@protoc_insertion_point(includes)
20
21// Must be included last.
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
24namespace _pb = ::google::protobuf;
26namespace _fl = ::google::protobuf::internal::field_layout;
27namespace operations_research {
28
29inline constexpr LocalSearchStatistics_LocalSearchOperatorStatistics::Impl_::Impl_(
30 ::_pbi::ConstantInitialized) noexcept
31 : _cached_size_{0},
32 local_search_operator_(
33 &::google::protobuf::internal::fixed_address_empty_string,
34 ::_pbi::ConstantInitialized()),
35 num_neighbors_{::int64_t{0}},
36 num_filtered_neighbors_{::int64_t{0}},
37 num_accepted_neighbors_{::int64_t{0}},
38 duration_seconds_{0},
39 make_next_neighbor_duration_seconds_{0},
40 accept_neighbor_duration_seconds_{0} {}
41
42template <typename>
44#if defined(PROTOBUF_CUSTOM_VTABLE)
45 : ::google::protobuf::Message(LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_.base()),
46#else // PROTOBUF_CUSTOM_VTABLE
47 : ::google::protobuf::Message(),
48#endif // PROTOBUF_CUSTOM_VTABLE
49 _impl_(::_pbi::ConstantInitialized()) {
50}
58
59PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
61
62inline constexpr LocalSearchStatistics_LocalSearchFilterStatistics::Impl_::Impl_(
63 ::_pbi::ConstantInitialized) noexcept
64 : _cached_size_{0},
65 local_search_filter_(
66 &::google::protobuf::internal::fixed_address_empty_string,
67 ::_pbi::ConstantInitialized()),
68 context_(
69 &::google::protobuf::internal::fixed_address_empty_string,
70 ::_pbi::ConstantInitialized()),
71 num_calls_{::int64_t{0}},
72 num_rejects_{::int64_t{0}},
73 duration_seconds_{0},
74 num_rejects_per_second_{0} {}
75
76template <typename>
78#if defined(PROTOBUF_CUSTOM_VTABLE)
79 : ::google::protobuf::Message(LocalSearchStatistics_LocalSearchFilterStatistics_class_data_.base()),
80#else // PROTOBUF_CUSTOM_VTABLE
81 : ::google::protobuf::Message(),
82#endif // PROTOBUF_CUSTOM_VTABLE
83 _impl_(::_pbi::ConstantInitialized()) {
84}
92
93PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
95
96inline constexpr LocalSearchStatistics_FirstSolutionStatistics::Impl_::Impl_(
97 ::_pbi::ConstantInitialized) noexcept
98 : _cached_size_{0},
99 strategy_(
100 &::google::protobuf::internal::fixed_address_empty_string,
101 ::_pbi::ConstantInitialized()),
102 duration_seconds_{0} {}
103
104template <typename>
106#if defined(PROTOBUF_CUSTOM_VTABLE)
107 : ::google::protobuf::Message(LocalSearchStatistics_FirstSolutionStatistics_class_data_.base()),
108#else // PROTOBUF_CUSTOM_VTABLE
109 : ::google::protobuf::Message(),
110#endif // PROTOBUF_CUSTOM_VTABLE
111 _impl_(::_pbi::ConstantInitialized()) {
112}
120
121PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
123
124inline constexpr ConstraintSolverStatistics::Impl_::Impl_(
125 ::_pbi::ConstantInitialized) noexcept
126 : _cached_size_{0},
127 num_branches_{::int64_t{0}},
128 num_failures_{::int64_t{0}},
129 num_solutions_{::int64_t{0}},
130 bytes_used_{::int64_t{0}},
131 duration_seconds_{0} {}
132
133template <typename>
134PROTOBUF_CONSTEXPR ConstraintSolverStatistics::ConstraintSolverStatistics(::_pbi::ConstantInitialized)
135#if defined(PROTOBUF_CUSTOM_VTABLE)
136 : ::google::protobuf::Message(ConstraintSolverStatistics_class_data_.base()),
137#else // PROTOBUF_CUSTOM_VTABLE
138 : ::google::protobuf::Message(),
139#endif // PROTOBUF_CUSTOM_VTABLE
140 _impl_(::_pbi::ConstantInitialized()) {
141}
149
150PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
152
153inline constexpr LocalSearchStatistics::Impl_::Impl_(
154 ::_pbi::ConstantInitialized) noexcept
155 : _cached_size_{0},
156 local_search_operator_statistics_{},
157 local_search_filter_statistics_{},
158 first_solution_statistics_{},
159 total_num_neighbors_{::int64_t{0}},
160 total_num_filtered_neighbors_{::int64_t{0}},
161 total_num_accepted_neighbors_{::int64_t{0}} {}
162
163template <typename>
164PROTOBUF_CONSTEXPR LocalSearchStatistics::LocalSearchStatistics(::_pbi::ConstantInitialized)
165#if defined(PROTOBUF_CUSTOM_VTABLE)
166 : ::google::protobuf::Message(LocalSearchStatistics_class_data_.base()),
167#else // PROTOBUF_CUSTOM_VTABLE
168 : ::google::protobuf::Message(),
169#endif // PROTOBUF_CUSTOM_VTABLE
170 _impl_(::_pbi::ConstantInitialized()) {
171}
179
180PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
182
183inline constexpr SearchStatistics::Impl_::Impl_(
184 ::_pbi::ConstantInitialized) noexcept
185 : local_search_statistics_{},
186 constraint_solver_statistics_{},
187 _cached_size_{0} {}
188
189template <typename>
190PROTOBUF_CONSTEXPR SearchStatistics::SearchStatistics(::_pbi::ConstantInitialized)
191#if defined(PROTOBUF_CUSTOM_VTABLE)
192 : ::google::protobuf::Message(SearchStatistics_class_data_.base()),
193#else // PROTOBUF_CUSTOM_VTABLE
194 : ::google::protobuf::Message(),
195#endif // PROTOBUF_CUSTOM_VTABLE
196 _impl_(::_pbi::ConstantInitialized()) {
197}
205
206PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
208} // namespace operations_research
209static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
211static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
213const ::uint32_t
215 protodesc_cold) = {
216 0x081, // bitmap
217 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_FirstSolutionStatistics, _impl_._has_bits_),
218 5, // hasbit index offset
219 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_FirstSolutionStatistics, _impl_.strategy_),
220 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_FirstSolutionStatistics, _impl_.duration_seconds_),
221 0,
222 1,
223 0x081, // bitmap
225 10, // hasbit index offset
226 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.local_search_operator_),
227 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_neighbors_),
228 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_filtered_neighbors_),
229 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_accepted_neighbors_),
230 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.duration_seconds_),
231 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.make_next_neighbor_duration_seconds_),
232 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.accept_neighbor_duration_seconds_),
233 0,
234 1,
235 2,
236 3,
237 4,
238 5,
239 6,
240 0x081, // bitmap
241 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics, _impl_._has_bits_),
242 9, // hasbit index offset
243 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.local_search_filter_),
244 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_calls_),
245 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_rejects_),
246 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.duration_seconds_),
247 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_rejects_per_second_),
249 0,
250 2,
251 3,
252 4,
253 5,
254 1,
255 0x081, // bitmap
256 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics, _impl_._has_bits_),
257 9, // hasbit index offset
258 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics, _impl_.first_solution_statistics_),
259 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics, _impl_.local_search_operator_statistics_),
260 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics, _impl_.total_num_neighbors_),
261 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics, _impl_.total_num_filtered_neighbors_),
262 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics, _impl_.total_num_accepted_neighbors_),
263 PROTOBUF_FIELD_OFFSET(::operations_research::LocalSearchStatistics, _impl_.local_search_filter_statistics_),
264 ~0u,
265 ~0u,
266 0,
267 1,
268 2,
269 ~0u,
270 0x081, // bitmap
271 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverStatistics, _impl_._has_bits_),
272 8, // hasbit index offset
273 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverStatistics, _impl_.num_branches_),
274 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverStatistics, _impl_.num_failures_),
275 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverStatistics, _impl_.num_solutions_),
276 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverStatistics, _impl_.bytes_used_),
277 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverStatistics, _impl_.duration_seconds_),
278 0,
279 1,
280 2,
281 3,
282 4,
283 0x000, // bitmap
284 PROTOBUF_FIELD_OFFSET(::operations_research::SearchStatistics, _impl_.local_search_statistics_),
285 PROTOBUF_FIELD_OFFSET(::operations_research::SearchStatistics, _impl_.constraint_solver_statistics_),
286};
287
288static const ::_pbi::MigrationSchema
289 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
296};
305const char descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
306 protodesc_cold) = {
307 "\n,ortools/constraint_solver/search_stats"
308 ".proto\022\023operations_research\"\313\007\n\025LocalSea"
309 "rchStatistics\022e\n\031first_solution_statisti"
310 "cs\030\006 \003(\0132B.operations_research.LocalSear"
311 "chStatistics.FirstSolutionStatistics\022r\n "
312 "local_search_operator_statistics\030\001 \003(\0132H"
313 ".operations_research.LocalSearchStatisti"
314 "cs.LocalSearchOperatorStatistics\022\033\n\023tota"
315 "l_num_neighbors\030\003 \001(\003\022$\n\034total_num_filte"
316 "red_neighbors\030\004 \001(\003\022$\n\034total_num_accepte"
317 "d_neighbors\030\005 \001(\003\022n\n\036local_search_filter"
318 "_statistics\030\002 \003(\0132F.operations_research."
319 "LocalSearchStatistics.LocalSearchFilterS"
320 "tatistics\032E\n\027FirstSolutionStatistics\022\020\n\010"
321 "strategy\030\001 \001(\t\022\030\n\020duration_seconds\030\002 \001(\001"
322 "\032\206\002\n\035LocalSearchOperatorStatistics\022\035\n\025lo"
323 "cal_search_operator\030\001 \001(\t\022\025\n\rnum_neighbo"
324 "rs\030\002 \001(\003\022\036\n\026num_filtered_neighbors\030\003 \001(\003"
325 "\022\036\n\026num_accepted_neighbors\030\004 \001(\003\022\030\n\020dura"
326 "tion_seconds\030\005 \001(\001\022+\n#make_next_neighbor"
327 "_duration_seconds\030\006 \001(\001\022(\n accept_neighb"
328 "or_duration_seconds\030\007 \001(\001\032\255\001\n\033LocalSearc"
329 "hFilterStatistics\022\033\n\023local_search_filter"
330 "\030\001 \001(\t\022\021\n\tnum_calls\030\002 \001(\003\022\023\n\013num_rejects"
331 "\030\003 \001(\003\022\030\n\020duration_seconds\030\004 \001(\001\022\036\n\026num_"
332 "rejects_per_second\030\005 \001(\001\022\017\n\007context\030\006 \001("
333 "\t\"\215\001\n\032ConstraintSolverStatistics\022\024\n\014num_"
334 "branches\030\001 \001(\003\022\024\n\014num_failures\030\002 \001(\003\022\025\n\r"
335 "num_solutions\030\003 \001(\003\022\022\n\nbytes_used\030\004 \001(\003\022"
336 "\030\n\020duration_seconds\030\005 \001(\001\"\266\001\n\020SearchStat"
337 "istics\022K\n\027local_search_statistics\030\001 \003(\0132"
338 "*.operations_research.LocalSearchStatist"
339 "ics\022U\n\034constraint_solver_statistics\030\002 \003("
340 "\0132/.operations_research.ConstraintSolver"
341 "StatisticsBI\n#com.google.ortools.constra"
342 "intsolverP\001\252\002\037Google.OrTools.ConstraintS"
343 "olverb\006proto3"
344};
346PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto = {
347 false,
348 false,
349 1453,
350 descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto,
351 "ortools/constraint_solver/search_stats.proto",
353 nullptr,
354 0,
355 6,
356 schemas,
361};
362namespace operations_research {
363// ===================================================================
364
366 public:
367 using HasBits =
368 decltype(::std::declval<LocalSearchStatistics_FirstSolutionStatistics>()._impl_._has_bits_);
369 static constexpr ::int32_t kHasBitsOffset =
370 8 * PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_FirstSolutionStatistics, _impl_._has_bits_);
371};
372
374#if defined(PROTOBUF_CUSTOM_VTABLE)
375 : ::google::protobuf::Message(arena, LocalSearchStatistics_FirstSolutionStatistics_class_data_.base()) {
376#else // PROTOBUF_CUSTOM_VTABLE
377 : ::google::protobuf::Message(arena) {
378#endif // PROTOBUF_CUSTOM_VTABLE
379 SharedCtor(arena);
380 // @@protoc_insertion_point(arena_constructor:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
381}
382PROTOBUF_NDEBUG_INLINE LocalSearchStatistics_FirstSolutionStatistics::Impl_::Impl_(
383 ::google::protobuf::internal::InternalVisibility visibility,
384 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
385 const ::operations_research::LocalSearchStatistics_FirstSolutionStatistics& from_msg)
386 : _has_bits_{from._has_bits_},
387 _cached_size_{0},
388 strategy_(arena, from.strategy_) {}
389
391 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
393#if defined(PROTOBUF_CUSTOM_VTABLE)
394 : ::google::protobuf::Message(arena, LocalSearchStatistics_FirstSolutionStatistics_class_data_.base()) {
395#else // PROTOBUF_CUSTOM_VTABLE
396 : ::google::protobuf::Message(arena) {
397#endif // PROTOBUF_CUSTOM_VTABLE
399 (void)_this;
400 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
401 from._internal_metadata_);
402 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
403 _impl_.duration_seconds_ = from._impl_.duration_seconds_;
404
405 // @@protoc_insertion_point(copy_constructor:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
406}
407PROTOBUF_NDEBUG_INLINE LocalSearchStatistics_FirstSolutionStatistics::Impl_::Impl_(
408 ::google::protobuf::internal::InternalVisibility visibility,
409 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
410 : _cached_size_{0},
411 strategy_(arena) {}
412
413inline void LocalSearchStatistics_FirstSolutionStatistics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
414 new (&_impl_) Impl_(internal_visibility(), arena);
415 _impl_.duration_seconds_ = {};
416}
418 // @@protoc_insertion_point(destructor:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
419 SharedDtor(*this);
420}
421inline void LocalSearchStatistics_FirstSolutionStatistics::SharedDtor(MessageLite& self) {
423 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
424 ABSL_DCHECK(this_.GetArena() == nullptr);
425 this_._impl_.strategy_.Destroy();
426 this_._impl_.~Impl_();
427}
428
430 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
431 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
432 return ::new (mem) LocalSearchStatistics_FirstSolutionStatistics(arena);
433}
435 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(LocalSearchStatistics_FirstSolutionStatistics),
437}
439 return ::google::protobuf::internal::ClassDataFull{
440 ::google::protobuf::internal::ClassData{
442 &_table_.header,
443 nullptr, // OnDemandRegisterArenaDtor
444 nullptr, // IsInitialized
445 &LocalSearchStatistics_FirstSolutionStatistics::MergeImpl,
446 ::google::protobuf::Message::GetNewImpl<LocalSearchStatistics_FirstSolutionStatistics>(),
447#if defined(PROTOBUF_CUSTOM_VTABLE)
448 &LocalSearchStatistics_FirstSolutionStatistics::SharedDtor,
449 ::google::protobuf::Message::GetClearImpl<LocalSearchStatistics_FirstSolutionStatistics>(), &LocalSearchStatistics_FirstSolutionStatistics::ByteSizeLong,
451#endif // PROTOBUF_CUSTOM_VTABLE
452 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_FirstSolutionStatistics, _impl_._cached_size_),
453 false,
454 },
455 &LocalSearchStatistics_FirstSolutionStatistics::kDescriptorMethods,
457 nullptr, // tracker
458 };
459}
460
461PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
462 ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_FirstSolutionStatistics_class_data_ =
464
465PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
467 ::google::protobuf::internal::PrefetchToLocalCache(&LocalSearchStatistics_FirstSolutionStatistics_class_data_);
468 ::google::protobuf::internal::PrefetchToLocalCache(LocalSearchStatistics_FirstSolutionStatistics_class_data_.tc_table);
470}
471PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
472const ::_pbi::TcParseTable<1, 2, 0, 82, 2>
473LocalSearchStatistics_FirstSolutionStatistics::_table_ = {
474 {
475 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_FirstSolutionStatistics, _impl_._has_bits_),
476 0, // no _extensions_
477 2, 8, // max_field_number, fast_idx_mask
478 offsetof(decltype(_table_), field_lookup_table),
479 4294967292, // skipmap
480 offsetof(decltype(_table_), field_entries),
481 2, // num_field_entries
482 0, // num_aux_entries
483 offsetof(decltype(_table_), field_names), // no aux_entries
485 nullptr, // post_loop_handler
486 ::_pbi::TcParser::GenericFallback, // fallback
487 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
488 ::_pbi::TcParser::GetTable<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>(), // to_prefetch
489 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
490 }, {{
491 // double duration_seconds = 2;
492 {::_pbi::TcParser::FastF64S1,
493 {17, 1, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_FirstSolutionStatistics, _impl_.duration_seconds_)}},
494 // string strategy = 1;
495 {::_pbi::TcParser::FastUS1,
496 {10, 0, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_FirstSolutionStatistics, _impl_.strategy_)}},
497 }}, {{
498 65535, 65535
499 }}, {{
500 // string strategy = 1;
501 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_FirstSolutionStatistics, _impl_.strategy_), _Internal::kHasBitsOffset + 0, 0,
502 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
503 // double duration_seconds = 2;
504 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_FirstSolutionStatistics, _impl_.duration_seconds_), _Internal::kHasBitsOffset + 1, 0,
505 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
506 }},
507 // no aux_entries
508 {{
509 "\101\10\0\0\0\0\0\0"
510 "operations_research.LocalSearchStatistics.FirstSolutionStatistics"
511 "strategy"
512 }},
513};
515// @@protoc_insertion_point(message_clear_start:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
516 ::google::protobuf::internal::TSanWrite(&_impl_);
517 ::uint32_t cached_has_bits = 0;
518 // Prevent compiler warnings about cached_has_bits being unused
519 (void) cached_has_bits;
520
521 cached_has_bits = _impl_._has_bits_[0];
522 if ((cached_has_bits & 0x00000001u) != 0) {
523 _impl_.strategy_.ClearNonDefaultToEmpty();
524 }
525 _impl_.duration_seconds_ = 0;
526 _impl_._has_bits_.Clear();
527 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
528}
529
530#if defined(PROTOBUF_CUSTOM_VTABLE)
532 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
533 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
535#else // PROTOBUF_CUSTOM_VTABLE
537 ::uint8_t* PROTOBUF_NONNULL target,
538 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
540#endif // PROTOBUF_CUSTOM_VTABLE
541 // @@protoc_insertion_point(serialize_to_array_start:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
542 ::uint32_t cached_has_bits = 0;
543 (void)cached_has_bits;
544
545 // string strategy = 1;
546 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
547 if (!this_._internal_strategy().empty()) {
548 const ::std::string& _s = this_._internal_strategy();
549 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
550 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.LocalSearchStatistics.FirstSolutionStatistics.strategy");
551 target = stream->WriteStringMaybeAliased(1, _s, target);
552 }
553 }
554
555 // double duration_seconds = 2;
556 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
557 if (::absl::bit_cast<::uint64_t>(this_._internal_duration_seconds()) != 0) {
558 target = stream->EnsureSpace(target);
559 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
560 2, this_._internal_duration_seconds(), target);
561 }
562 }
563
564 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
565 target =
566 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
567 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
568 }
569 // @@protoc_insertion_point(serialize_to_array_end:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
570 return target;
571}
572
573#if defined(PROTOBUF_CUSTOM_VTABLE)
576#else // PROTOBUF_CUSTOM_VTABLE
579#endif // PROTOBUF_CUSTOM_VTABLE
580 // @@protoc_insertion_point(message_byte_size_start:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
581 ::size_t total_size = 0;
582
583 ::uint32_t cached_has_bits = 0;
584 // Prevent compiler warnings about cached_has_bits being unused
585 (void)cached_has_bits;
586
587 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
588 cached_has_bits = this_._impl_._has_bits_[0];
589 if ((cached_has_bits & 0x00000003u) != 0) {
590 // string strategy = 1;
591 if ((cached_has_bits & 0x00000001u) != 0) {
592 if (!this_._internal_strategy().empty()) {
593 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
594 this_._internal_strategy());
595 }
596 }
597 // double duration_seconds = 2;
598 if ((cached_has_bits & 0x00000002u) != 0) {
599 if (::absl::bit_cast<::uint64_t>(this_._internal_duration_seconds()) != 0) {
600 total_size += 9;
601 }
602 }
603 }
604 return this_.MaybeComputeUnknownFieldsSize(total_size,
605 &this_._impl_._cached_size_);
606}
607
608void LocalSearchStatistics_FirstSolutionStatistics::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
609 auto* const _this = static_cast<LocalSearchStatistics_FirstSolutionStatistics*>(&to_msg);
610 auto& from = static_cast<const LocalSearchStatistics_FirstSolutionStatistics&>(from_msg);
611 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
612 ABSL_DCHECK_NE(&from, _this);
613 ::uint32_t cached_has_bits = 0;
614 (void) cached_has_bits;
615
616 cached_has_bits = from._impl_._has_bits_[0];
617 if ((cached_has_bits & 0x00000003u) != 0) {
618 if ((cached_has_bits & 0x00000001u) != 0) {
619 if (!from._internal_strategy().empty()) {
620 _this->_internal_set_strategy(from._internal_strategy());
621 } else {
622 if (_this->_impl_.strategy_.IsDefault()) {
623 _this->_internal_set_strategy("");
624 }
625 }
626 }
627 if ((cached_has_bits & 0x00000002u) != 0) {
628 if (::absl::bit_cast<::uint64_t>(from._internal_duration_seconds()) != 0) {
629 _this->_impl_.duration_seconds_ = from._impl_.duration_seconds_;
630 }
631 }
632 }
633 _this->_impl_._has_bits_[0] |= cached_has_bits;
634 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
635}
636
638// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
639 if (&from == this) return;
640 Clear();
641 MergeFrom(from);
642}
643
644
645void LocalSearchStatistics_FirstSolutionStatistics::InternalSwap(LocalSearchStatistics_FirstSolutionStatistics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
646 using ::std::swap;
647 auto* arena = GetArena();
648 ABSL_DCHECK_EQ(arena, other->GetArena());
649 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
650 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
651 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.strategy_, &other->_impl_.strategy_, arena);
652 swap(_impl_.duration_seconds_, other->_impl_.duration_seconds_);
653}
654
655::google::protobuf::Metadata LocalSearchStatistics_FirstSolutionStatistics::GetMetadata() const {
656 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
657}
658// ===================================================================
659
661 public:
662 using HasBits =
663 decltype(::std::declval<LocalSearchStatistics_LocalSearchOperatorStatistics>()._impl_._has_bits_);
664 static constexpr ::int32_t kHasBitsOffset =
665 8 * PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_._has_bits_);
667
669#if defined(PROTOBUF_CUSTOM_VTABLE)
670 : ::google::protobuf::Message(arena, LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_.base()) {
671#else // PROTOBUF_CUSTOM_VTABLE
672 : ::google::protobuf::Message(arena) {
673#endif // PROTOBUF_CUSTOM_VTABLE
674 SharedCtor(arena);
675 // @@protoc_insertion_point(arena_constructor:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
676}
677PROTOBUF_NDEBUG_INLINE LocalSearchStatistics_LocalSearchOperatorStatistics::Impl_::Impl_(
678 ::google::protobuf::internal::InternalVisibility visibility,
679 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
680 const ::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics& from_msg)
681 : _has_bits_{from._has_bits_},
682 _cached_size_{0},
683 local_search_operator_(arena, from.local_search_operator_) {}
684
686 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
688#if defined(PROTOBUF_CUSTOM_VTABLE)
689 : ::google::protobuf::Message(arena, LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_.base()) {
690#else // PROTOBUF_CUSTOM_VTABLE
691 : ::google::protobuf::Message(arena) {
692#endif // PROTOBUF_CUSTOM_VTABLE
694 (void)_this;
695 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
696 from._internal_metadata_);
697 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
698 ::memcpy(reinterpret_cast<char *>(&_impl_) +
699 offsetof(Impl_, num_neighbors_),
700 reinterpret_cast<const char *>(&from._impl_) +
701 offsetof(Impl_, num_neighbors_),
702 offsetof(Impl_, accept_neighbor_duration_seconds_) -
703 offsetof(Impl_, num_neighbors_) +
704 sizeof(Impl_::accept_neighbor_duration_seconds_));
705
706 // @@protoc_insertion_point(copy_constructor:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
707}
708PROTOBUF_NDEBUG_INLINE LocalSearchStatistics_LocalSearchOperatorStatistics::Impl_::Impl_(
709 ::google::protobuf::internal::InternalVisibility visibility,
710 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
711 : _cached_size_{0},
712 local_search_operator_(arena) {}
713
714inline void LocalSearchStatistics_LocalSearchOperatorStatistics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
715 new (&_impl_) Impl_(internal_visibility(), arena);
716 ::memset(reinterpret_cast<char *>(&_impl_) +
717 offsetof(Impl_, num_neighbors_),
718 0,
719 offsetof(Impl_, accept_neighbor_duration_seconds_) -
720 offsetof(Impl_, num_neighbors_) +
721 sizeof(Impl_::accept_neighbor_duration_seconds_));
722}
724 // @@protoc_insertion_point(destructor:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
725 SharedDtor(*this);
726}
727inline void LocalSearchStatistics_LocalSearchOperatorStatistics::SharedDtor(MessageLite& self) {
729 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
730 ABSL_DCHECK(this_.GetArena() == nullptr);
731 this_._impl_.local_search_operator_.Destroy();
732 this_._impl_.~Impl_();
733}
734
736 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
737 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
739}
741 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(LocalSearchStatistics_LocalSearchOperatorStatistics),
743}
745 return ::google::protobuf::internal::ClassDataFull{
746 ::google::protobuf::internal::ClassData{
748 &_table_.header,
749 nullptr, // OnDemandRegisterArenaDtor
750 nullptr, // IsInitialized
751 &LocalSearchStatistics_LocalSearchOperatorStatistics::MergeImpl,
752 ::google::protobuf::Message::GetNewImpl<LocalSearchStatistics_LocalSearchOperatorStatistics>(),
753#if defined(PROTOBUF_CUSTOM_VTABLE)
754 &LocalSearchStatistics_LocalSearchOperatorStatistics::SharedDtor,
755 ::google::protobuf::Message::GetClearImpl<LocalSearchStatistics_LocalSearchOperatorStatistics>(), &LocalSearchStatistics_LocalSearchOperatorStatistics::ByteSizeLong,
757#endif // PROTOBUF_CUSTOM_VTABLE
758 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_._cached_size_),
759 false,
760 },
761 &LocalSearchStatistics_LocalSearchOperatorStatistics::kDescriptorMethods,
763 nullptr, // tracker
764 };
765}
766
767PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
768 ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_ =
771PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
773 ::google::protobuf::internal::PrefetchToLocalCache(&LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_);
774 ::google::protobuf::internal::PrefetchToLocalCache(LocalSearchStatistics_LocalSearchOperatorStatistics_class_data_.tc_table);
776}
777PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
778const ::_pbi::TcParseTable<3, 7, 0, 101, 2>
779LocalSearchStatistics_LocalSearchOperatorStatistics::_table_ = {
780 {
781 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_._has_bits_),
782 0, // no _extensions_
783 7, 56, // max_field_number, fast_idx_mask
784 offsetof(decltype(_table_), field_lookup_table),
785 4294967168, // skipmap
786 offsetof(decltype(_table_), field_entries),
787 7, // num_field_entries
788 0, // num_aux_entries
789 offsetof(decltype(_table_), field_names), // no aux_entries
791 nullptr, // post_loop_handler
792 ::_pbi::TcParser::GenericFallback, // fallback
793 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
794 ::_pbi::TcParser::GetTable<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>(), // to_prefetch
795 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
796 }, {{
797 {::_pbi::TcParser::MiniParse, {}},
798 // string local_search_operator = 1;
799 {::_pbi::TcParser::FastUS1,
800 {10, 0, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.local_search_operator_)}},
801 // int64 num_neighbors = 2;
802 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_neighbors_), 1>(),
803 {16, 1, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_neighbors_)}},
804 // int64 num_filtered_neighbors = 3;
805 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_filtered_neighbors_), 2>(),
806 {24, 2, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_filtered_neighbors_)}},
807 // int64 num_accepted_neighbors = 4;
808 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_accepted_neighbors_), 3>(),
809 {32, 3, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_accepted_neighbors_)}},
810 // double duration_seconds = 5;
811 {::_pbi::TcParser::FastF64S1,
812 {41, 4, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.duration_seconds_)}},
813 // double make_next_neighbor_duration_seconds = 6;
814 {::_pbi::TcParser::FastF64S1,
815 {49, 5, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.make_next_neighbor_duration_seconds_)}},
816 // double accept_neighbor_duration_seconds = 7;
817 {::_pbi::TcParser::FastF64S1,
818 {57, 6, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.accept_neighbor_duration_seconds_)}},
819 }}, {{
820 65535, 65535
821 }}, {{
822 // string local_search_operator = 1;
823 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.local_search_operator_), _Internal::kHasBitsOffset + 0, 0,
824 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
825 // int64 num_neighbors = 2;
826 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_neighbors_), _Internal::kHasBitsOffset + 1, 0,
827 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
828 // int64 num_filtered_neighbors = 3;
829 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_filtered_neighbors_), _Internal::kHasBitsOffset + 2, 0,
830 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
831 // int64 num_accepted_neighbors = 4;
832 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_accepted_neighbors_), _Internal::kHasBitsOffset + 3, 0,
833 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
834 // double duration_seconds = 5;
835 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.duration_seconds_), _Internal::kHasBitsOffset + 4, 0,
836 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
837 // double make_next_neighbor_duration_seconds = 6;
838 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.make_next_neighbor_duration_seconds_), _Internal::kHasBitsOffset + 5, 0,
839 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
840 // double accept_neighbor_duration_seconds = 7;
841 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.accept_neighbor_duration_seconds_), _Internal::kHasBitsOffset + 6, 0,
842 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
843 }},
844 // no aux_entries
845 {{
846 "\107\25\0\0\0\0\0\0"
847 "operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics"
848 "local_search_operator"
849 }},
850};
852// @@protoc_insertion_point(message_clear_start:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
853 ::google::protobuf::internal::TSanWrite(&_impl_);
854 ::uint32_t cached_has_bits = 0;
855 // Prevent compiler warnings about cached_has_bits being unused
856 (void) cached_has_bits;
857
858 cached_has_bits = _impl_._has_bits_[0];
859 if ((cached_has_bits & 0x00000001u) != 0) {
860 _impl_.local_search_operator_.ClearNonDefaultToEmpty();
861 }
862 if ((cached_has_bits & 0x0000007eu) != 0) {
863 ::memset(&_impl_.num_neighbors_, 0, static_cast<::size_t>(
864 reinterpret_cast<char*>(&_impl_.accept_neighbor_duration_seconds_) -
865 reinterpret_cast<char*>(&_impl_.num_neighbors_)) + sizeof(_impl_.accept_neighbor_duration_seconds_));
866 }
867 _impl_._has_bits_.Clear();
868 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
869}
870
871#if defined(PROTOBUF_CUSTOM_VTABLE)
873 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
874 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
875 const LocalSearchStatistics_LocalSearchOperatorStatistics& this_ = static_cast<const LocalSearchStatistics_LocalSearchOperatorStatistics&>(base);
876#else // PROTOBUF_CUSTOM_VTABLE
878 ::uint8_t* PROTOBUF_NONNULL target,
879 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
881#endif // PROTOBUF_CUSTOM_VTABLE
882 // @@protoc_insertion_point(serialize_to_array_start:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
883 ::uint32_t cached_has_bits = 0;
884 (void)cached_has_bits;
885
886 // string local_search_operator = 1;
887 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
888 if (!this_._internal_local_search_operator().empty()) {
889 const ::std::string& _s = this_._internal_local_search_operator();
890 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
891 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics.local_search_operator");
892 target = stream->WriteStringMaybeAliased(1, _s, target);
893 }
894 }
895
896 // int64 num_neighbors = 2;
897 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
898 if (this_._internal_num_neighbors() != 0) {
899 target =
900 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
901 stream, this_._internal_num_neighbors(), target);
902 }
903 }
904
905 // int64 num_filtered_neighbors = 3;
906 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
907 if (this_._internal_num_filtered_neighbors() != 0) {
908 target =
909 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
910 stream, this_._internal_num_filtered_neighbors(), target);
911 }
912 }
913
914 // int64 num_accepted_neighbors = 4;
915 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) {
916 if (this_._internal_num_accepted_neighbors() != 0) {
917 target =
918 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
919 stream, this_._internal_num_accepted_neighbors(), target);
920 }
921 }
922
923 // double duration_seconds = 5;
924 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) {
925 if (::absl::bit_cast<::uint64_t>(this_._internal_duration_seconds()) != 0) {
926 target = stream->EnsureSpace(target);
927 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
928 5, this_._internal_duration_seconds(), target);
929 }
930 }
931
932 // double make_next_neighbor_duration_seconds = 6;
933 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) {
934 if (::absl::bit_cast<::uint64_t>(this_._internal_make_next_neighbor_duration_seconds()) != 0) {
935 target = stream->EnsureSpace(target);
936 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
937 6, this_._internal_make_next_neighbor_duration_seconds(), target);
938 }
939 }
940
941 // double accept_neighbor_duration_seconds = 7;
942 if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) {
943 if (::absl::bit_cast<::uint64_t>(this_._internal_accept_neighbor_duration_seconds()) != 0) {
944 target = stream->EnsureSpace(target);
945 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
946 7, this_._internal_accept_neighbor_duration_seconds(), target);
947 }
948 }
949
950 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
951 target =
952 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
953 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
954 }
955 // @@protoc_insertion_point(serialize_to_array_end:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
956 return target;
957}
958
959#if defined(PROTOBUF_CUSTOM_VTABLE)
962#else // PROTOBUF_CUSTOM_VTABLE
965#endif // PROTOBUF_CUSTOM_VTABLE
966 // @@protoc_insertion_point(message_byte_size_start:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
967 ::size_t total_size = 0;
968
969 ::uint32_t cached_has_bits = 0;
970 // Prevent compiler warnings about cached_has_bits being unused
971 (void)cached_has_bits;
972
973 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
974 cached_has_bits = this_._impl_._has_bits_[0];
975 if ((cached_has_bits & 0x0000007fu) != 0) {
976 // string local_search_operator = 1;
977 if ((cached_has_bits & 0x00000001u) != 0) {
978 if (!this_._internal_local_search_operator().empty()) {
979 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
980 this_._internal_local_search_operator());
981 }
982 }
983 // int64 num_neighbors = 2;
984 if ((cached_has_bits & 0x00000002u) != 0) {
985 if (this_._internal_num_neighbors() != 0) {
986 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
987 this_._internal_num_neighbors());
988 }
989 }
990 // int64 num_filtered_neighbors = 3;
991 if ((cached_has_bits & 0x00000004u) != 0) {
992 if (this_._internal_num_filtered_neighbors() != 0) {
993 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
994 this_._internal_num_filtered_neighbors());
995 }
996 }
997 // int64 num_accepted_neighbors = 4;
998 if ((cached_has_bits & 0x00000008u) != 0) {
999 if (this_._internal_num_accepted_neighbors() != 0) {
1000 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1001 this_._internal_num_accepted_neighbors());
1002 }
1003 }
1004 // double duration_seconds = 5;
1005 if ((cached_has_bits & 0x00000010u) != 0) {
1006 if (::absl::bit_cast<::uint64_t>(this_._internal_duration_seconds()) != 0) {
1007 total_size += 9;
1008 }
1009 }
1010 // double make_next_neighbor_duration_seconds = 6;
1011 if ((cached_has_bits & 0x00000020u) != 0) {
1012 if (::absl::bit_cast<::uint64_t>(this_._internal_make_next_neighbor_duration_seconds()) != 0) {
1013 total_size += 9;
1014 }
1015 }
1016 // double accept_neighbor_duration_seconds = 7;
1017 if ((cached_has_bits & 0x00000040u) != 0) {
1018 if (::absl::bit_cast<::uint64_t>(this_._internal_accept_neighbor_duration_seconds()) != 0) {
1019 total_size += 9;
1020 }
1021 }
1022 }
1023 return this_.MaybeComputeUnknownFieldsSize(total_size,
1024 &this_._impl_._cached_size_);
1025}
1026
1027void LocalSearchStatistics_LocalSearchOperatorStatistics::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1028 auto* const _this = static_cast<LocalSearchStatistics_LocalSearchOperatorStatistics*>(&to_msg);
1029 auto& from = static_cast<const LocalSearchStatistics_LocalSearchOperatorStatistics&>(from_msg);
1030 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
1031 ABSL_DCHECK_NE(&from, _this);
1032 ::uint32_t cached_has_bits = 0;
1033 (void) cached_has_bits;
1034
1035 cached_has_bits = from._impl_._has_bits_[0];
1036 if ((cached_has_bits & 0x0000007fu) != 0) {
1037 if ((cached_has_bits & 0x00000001u) != 0) {
1038 if (!from._internal_local_search_operator().empty()) {
1039 _this->_internal_set_local_search_operator(from._internal_local_search_operator());
1040 } else {
1041 if (_this->_impl_.local_search_operator_.IsDefault()) {
1042 _this->_internal_set_local_search_operator("");
1043 }
1044 }
1045 }
1046 if ((cached_has_bits & 0x00000002u) != 0) {
1047 if (from._internal_num_neighbors() != 0) {
1048 _this->_impl_.num_neighbors_ = from._impl_.num_neighbors_;
1049 }
1050 }
1051 if ((cached_has_bits & 0x00000004u) != 0) {
1052 if (from._internal_num_filtered_neighbors() != 0) {
1053 _this->_impl_.num_filtered_neighbors_ = from._impl_.num_filtered_neighbors_;
1054 }
1055 }
1056 if ((cached_has_bits & 0x00000008u) != 0) {
1057 if (from._internal_num_accepted_neighbors() != 0) {
1058 _this->_impl_.num_accepted_neighbors_ = from._impl_.num_accepted_neighbors_;
1059 }
1060 }
1061 if ((cached_has_bits & 0x00000010u) != 0) {
1062 if (::absl::bit_cast<::uint64_t>(from._internal_duration_seconds()) != 0) {
1063 _this->_impl_.duration_seconds_ = from._impl_.duration_seconds_;
1064 }
1065 }
1066 if ((cached_has_bits & 0x00000020u) != 0) {
1067 if (::absl::bit_cast<::uint64_t>(from._internal_make_next_neighbor_duration_seconds()) != 0) {
1068 _this->_impl_.make_next_neighbor_duration_seconds_ = from._impl_.make_next_neighbor_duration_seconds_;
1069 }
1070 }
1071 if ((cached_has_bits & 0x00000040u) != 0) {
1072 if (::absl::bit_cast<::uint64_t>(from._internal_accept_neighbor_duration_seconds()) != 0) {
1073 _this->_impl_.accept_neighbor_duration_seconds_ = from._impl_.accept_neighbor_duration_seconds_;
1074 }
1075 }
1076 }
1077 _this->_impl_._has_bits_[0] |= cached_has_bits;
1078 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1079}
1080
1081void LocalSearchStatistics_LocalSearchOperatorStatistics::CopyFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics& from) {
1082// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
1083 if (&from == this) return;
1084 Clear();
1085 MergeFrom(from);
1086}
1087
1088
1089void LocalSearchStatistics_LocalSearchOperatorStatistics::InternalSwap(LocalSearchStatistics_LocalSearchOperatorStatistics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1090 using ::std::swap;
1091 auto* arena = GetArena();
1092 ABSL_DCHECK_EQ(arena, other->GetArena());
1093 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1094 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1095 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.local_search_operator_, &other->_impl_.local_search_operator_, arena);
1096 ::google::protobuf::internal::memswap<
1097 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.accept_neighbor_duration_seconds_)
1098 + sizeof(LocalSearchStatistics_LocalSearchOperatorStatistics::_impl_.accept_neighbor_duration_seconds_)
1099 - PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchOperatorStatistics, _impl_.num_neighbors_)>(
1100 reinterpret_cast<char*>(&_impl_.num_neighbors_),
1101 reinterpret_cast<char*>(&other->_impl_.num_neighbors_));
1102}
1103
1104::google::protobuf::Metadata LocalSearchStatistics_LocalSearchOperatorStatistics::GetMetadata() const {
1105 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1107// ===================================================================
1108
1110 public:
1111 using HasBits =
1112 decltype(::std::declval<LocalSearchStatistics_LocalSearchFilterStatistics>()._impl_._has_bits_);
1113 static constexpr ::int32_t kHasBitsOffset =
1114 8 * PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_._has_bits_);
1115};
1118#if defined(PROTOBUF_CUSTOM_VTABLE)
1119 : ::google::protobuf::Message(arena, LocalSearchStatistics_LocalSearchFilterStatistics_class_data_.base()) {
1120#else // PROTOBUF_CUSTOM_VTABLE
1121 : ::google::protobuf::Message(arena) {
1122#endif // PROTOBUF_CUSTOM_VTABLE
1123 SharedCtor(arena);
1124 // @@protoc_insertion_point(arena_constructor:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1125}
1126PROTOBUF_NDEBUG_INLINE LocalSearchStatistics_LocalSearchFilterStatistics::Impl_::Impl_(
1127 ::google::protobuf::internal::InternalVisibility visibility,
1128 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1129 const ::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics& from_msg)
1130 : _has_bits_{from._has_bits_},
1131 _cached_size_{0},
1132 local_search_filter_(arena, from.local_search_filter_),
1133 context_(arena, from.context_) {}
1134
1136 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1137 const LocalSearchStatistics_LocalSearchFilterStatistics& from)
1138#if defined(PROTOBUF_CUSTOM_VTABLE)
1139 : ::google::protobuf::Message(arena, LocalSearchStatistics_LocalSearchFilterStatistics_class_data_.base()) {
1140#else // PROTOBUF_CUSTOM_VTABLE
1141 : ::google::protobuf::Message(arena) {
1142#endif // PROTOBUF_CUSTOM_VTABLE
1144 (void)_this;
1145 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1146 from._internal_metadata_);
1147 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1148 ::memcpy(reinterpret_cast<char *>(&_impl_) +
1149 offsetof(Impl_, num_calls_),
1150 reinterpret_cast<const char *>(&from._impl_) +
1151 offsetof(Impl_, num_calls_),
1152 offsetof(Impl_, num_rejects_per_second_) -
1153 offsetof(Impl_, num_calls_) +
1154 sizeof(Impl_::num_rejects_per_second_));
1155
1156 // @@protoc_insertion_point(copy_constructor:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1157}
1158PROTOBUF_NDEBUG_INLINE LocalSearchStatistics_LocalSearchFilterStatistics::Impl_::Impl_(
1159 ::google::protobuf::internal::InternalVisibility visibility,
1160 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1161 : _cached_size_{0},
1162 local_search_filter_(arena),
1163 context_(arena) {}
1164
1165inline void LocalSearchStatistics_LocalSearchFilterStatistics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1166 new (&_impl_) Impl_(internal_visibility(), arena);
1167 ::memset(reinterpret_cast<char *>(&_impl_) +
1168 offsetof(Impl_, num_calls_),
1169 0,
1170 offsetof(Impl_, num_rejects_per_second_) -
1171 offsetof(Impl_, num_calls_) +
1172 sizeof(Impl_::num_rejects_per_second_));
1173}
1175 // @@protoc_insertion_point(destructor:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1176 SharedDtor(*this);
1178inline void LocalSearchStatistics_LocalSearchFilterStatistics::SharedDtor(MessageLite& self) {
1180 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1181 ABSL_DCHECK(this_.GetArena() == nullptr);
1182 this_._impl_.local_search_filter_.Destroy();
1183 this_._impl_.context_.Destroy();
1184 this_._impl_.~Impl_();
1185}
1186
1188 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1189 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1191}
1193 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(LocalSearchStatistics_LocalSearchFilterStatistics),
1197 return ::google::protobuf::internal::ClassDataFull{
1198 ::google::protobuf::internal::ClassData{
1200 &_table_.header,
1201 nullptr, // OnDemandRegisterArenaDtor
1202 nullptr, // IsInitialized
1203 &LocalSearchStatistics_LocalSearchFilterStatistics::MergeImpl,
1204 ::google::protobuf::Message::GetNewImpl<LocalSearchStatistics_LocalSearchFilterStatistics>(),
1205#if defined(PROTOBUF_CUSTOM_VTABLE)
1206 &LocalSearchStatistics_LocalSearchFilterStatistics::SharedDtor,
1207 ::google::protobuf::Message::GetClearImpl<LocalSearchStatistics_LocalSearchFilterStatistics>(), &LocalSearchStatistics_LocalSearchFilterStatistics::ByteSizeLong,
1209#endif // PROTOBUF_CUSTOM_VTABLE
1210 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_._cached_size_),
1211 false,
1212 },
1213 &LocalSearchStatistics_LocalSearchFilterStatistics::kDescriptorMethods,
1215 nullptr, // tracker
1216 };
1217}
1218
1219PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1220 ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_LocalSearchFilterStatistics_class_data_ =
1222
1223PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1225 ::google::protobuf::internal::PrefetchToLocalCache(&LocalSearchStatistics_LocalSearchFilterStatistics_class_data_);
1226 ::google::protobuf::internal::PrefetchToLocalCache(LocalSearchStatistics_LocalSearchFilterStatistics_class_data_.tc_table);
1228}
1229PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1230const ::_pbi::TcParseTable<3, 6, 0, 104, 2>
1231LocalSearchStatistics_LocalSearchFilterStatistics::_table_ = {
1232 {
1233 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_._has_bits_),
1234 0, // no _extensions_
1235 6, 56, // max_field_number, fast_idx_mask
1236 offsetof(decltype(_table_), field_lookup_table),
1237 4294967232, // skipmap
1238 offsetof(decltype(_table_), field_entries),
1239 6, // num_field_entries
1240 0, // num_aux_entries
1241 offsetof(decltype(_table_), field_names), // no aux_entries
1243 nullptr, // post_loop_handler
1244 ::_pbi::TcParser::GenericFallback, // fallback
1245 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1246 ::_pbi::TcParser::GetTable<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>(), // to_prefetch
1247 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1248 }, {{
1249 {::_pbi::TcParser::MiniParse, {}},
1250 // string local_search_filter = 1;
1251 {::_pbi::TcParser::FastUS1,
1252 {10, 0, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.local_search_filter_)}},
1253 // int64 num_calls = 2;
1254 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_calls_), 2>(),
1255 {16, 2, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_calls_)}},
1256 // int64 num_rejects = 3;
1257 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_rejects_), 3>(),
1258 {24, 3, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_rejects_)}},
1259 // double duration_seconds = 4;
1260 {::_pbi::TcParser::FastF64S1,
1261 {33, 4, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.duration_seconds_)}},
1262 // double num_rejects_per_second = 5;
1263 {::_pbi::TcParser::FastF64S1,
1264 {41, 5, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_rejects_per_second_)}},
1265 // string context = 6;
1266 {::_pbi::TcParser::FastUS1,
1267 {50, 1, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.context_)}},
1268 {::_pbi::TcParser::MiniParse, {}},
1269 }}, {{
1270 65535, 65535
1271 }}, {{
1272 // string local_search_filter = 1;
1273 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.local_search_filter_), _Internal::kHasBitsOffset + 0, 0,
1274 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1275 // int64 num_calls = 2;
1276 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_calls_), _Internal::kHasBitsOffset + 2, 0,
1277 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1278 // int64 num_rejects = 3;
1279 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_rejects_), _Internal::kHasBitsOffset + 3, 0,
1280 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1281 // double duration_seconds = 4;
1282 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.duration_seconds_), _Internal::kHasBitsOffset + 4, 0,
1283 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1284 // double num_rejects_per_second = 5;
1285 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_rejects_per_second_), _Internal::kHasBitsOffset + 5, 0,
1286 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1287 // string context = 6;
1288 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.context_), _Internal::kHasBitsOffset + 1, 0,
1289 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1290 }},
1291 // no aux_entries
1292 {{
1293 "\105\23\0\0\0\0\7\0"
1294 "operations_research.LocalSearchStatistics.LocalSearchFilterStatistics"
1295 "local_search_filter"
1296 "context"
1297 }},
1298};
1300// @@protoc_insertion_point(message_clear_start:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1301 ::google::protobuf::internal::TSanWrite(&_impl_);
1302 ::uint32_t cached_has_bits = 0;
1303 // Prevent compiler warnings about cached_has_bits being unused
1304 (void) cached_has_bits;
1305
1306 cached_has_bits = _impl_._has_bits_[0];
1307 if ((cached_has_bits & 0x00000003u) != 0) {
1308 if ((cached_has_bits & 0x00000001u) != 0) {
1309 _impl_.local_search_filter_.ClearNonDefaultToEmpty();
1310 }
1311 if ((cached_has_bits & 0x00000002u) != 0) {
1312 _impl_.context_.ClearNonDefaultToEmpty();
1313 }
1314 }
1315 if ((cached_has_bits & 0x0000003cu) != 0) {
1316 ::memset(&_impl_.num_calls_, 0, static_cast<::size_t>(
1317 reinterpret_cast<char*>(&_impl_.num_rejects_per_second_) -
1318 reinterpret_cast<char*>(&_impl_.num_calls_)) + sizeof(_impl_.num_rejects_per_second_));
1319 }
1320 _impl_._has_bits_.Clear();
1321 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1322}
1323
1324#if defined(PROTOBUF_CUSTOM_VTABLE)
1326 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1327 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1329#else // PROTOBUF_CUSTOM_VTABLE
1331 ::uint8_t* PROTOBUF_NONNULL target,
1332 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1334#endif // PROTOBUF_CUSTOM_VTABLE
1335 // @@protoc_insertion_point(serialize_to_array_start:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1336 ::uint32_t cached_has_bits = 0;
1337 (void)cached_has_bits;
1338
1339 // string local_search_filter = 1;
1340 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
1341 if (!this_._internal_local_search_filter().empty()) {
1342 const ::std::string& _s = this_._internal_local_search_filter();
1343 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1344 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.local_search_filter");
1345 target = stream->WriteStringMaybeAliased(1, _s, target);
1346 }
1347 }
1348
1349 // int64 num_calls = 2;
1350 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
1351 if (this_._internal_num_calls() != 0) {
1352 target =
1353 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
1354 stream, this_._internal_num_calls(), target);
1355 }
1356 }
1357
1358 // int64 num_rejects = 3;
1359 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) {
1360 if (this_._internal_num_rejects() != 0) {
1361 target =
1362 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
1363 stream, this_._internal_num_rejects(), target);
1364 }
1365 }
1366
1367 // double duration_seconds = 4;
1368 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) {
1369 if (::absl::bit_cast<::uint64_t>(this_._internal_duration_seconds()) != 0) {
1370 target = stream->EnsureSpace(target);
1371 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1372 4, this_._internal_duration_seconds(), target);
1373 }
1374 }
1375
1376 // double num_rejects_per_second = 5;
1377 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) {
1378 if (::absl::bit_cast<::uint64_t>(this_._internal_num_rejects_per_second()) != 0) {
1379 target = stream->EnsureSpace(target);
1380 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1381 5, this_._internal_num_rejects_per_second(), target);
1382 }
1383 }
1384
1385 // string context = 6;
1386 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
1387 if (!this_._internal_context().empty()) {
1388 const ::std::string& _s = this_._internal_context();
1389 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1390 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.LocalSearchStatistics.LocalSearchFilterStatistics.context");
1391 target = stream->WriteStringMaybeAliased(6, _s, target);
1392 }
1393 }
1394
1395 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1396 target =
1397 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1398 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1399 }
1400 // @@protoc_insertion_point(serialize_to_array_end:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1401 return target;
1402}
1403
1404#if defined(PROTOBUF_CUSTOM_VTABLE)
1407#else // PROTOBUF_CUSTOM_VTABLE
1410#endif // PROTOBUF_CUSTOM_VTABLE
1411 // @@protoc_insertion_point(message_byte_size_start:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1412 ::size_t total_size = 0;
1413
1414 ::uint32_t cached_has_bits = 0;
1415 // Prevent compiler warnings about cached_has_bits being unused
1416 (void)cached_has_bits;
1417
1418 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1419 cached_has_bits = this_._impl_._has_bits_[0];
1420 if ((cached_has_bits & 0x0000003fu) != 0) {
1421 // string local_search_filter = 1;
1422 if ((cached_has_bits & 0x00000001u) != 0) {
1423 if (!this_._internal_local_search_filter().empty()) {
1424 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1425 this_._internal_local_search_filter());
1426 }
1427 }
1428 // string context = 6;
1429 if ((cached_has_bits & 0x00000002u) != 0) {
1430 if (!this_._internal_context().empty()) {
1431 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1432 this_._internal_context());
1433 }
1434 }
1435 // int64 num_calls = 2;
1436 if ((cached_has_bits & 0x00000004u) != 0) {
1437 if (this_._internal_num_calls() != 0) {
1438 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1439 this_._internal_num_calls());
1440 }
1441 }
1442 // int64 num_rejects = 3;
1443 if ((cached_has_bits & 0x00000008u) != 0) {
1444 if (this_._internal_num_rejects() != 0) {
1445 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1446 this_._internal_num_rejects());
1447 }
1448 }
1449 // double duration_seconds = 4;
1450 if ((cached_has_bits & 0x00000010u) != 0) {
1451 if (::absl::bit_cast<::uint64_t>(this_._internal_duration_seconds()) != 0) {
1452 total_size += 9;
1453 }
1454 }
1455 // double num_rejects_per_second = 5;
1456 if ((cached_has_bits & 0x00000020u) != 0) {
1457 if (::absl::bit_cast<::uint64_t>(this_._internal_num_rejects_per_second()) != 0) {
1458 total_size += 9;
1459 }
1460 }
1461 }
1462 return this_.MaybeComputeUnknownFieldsSize(total_size,
1463 &this_._impl_._cached_size_);
1464}
1465
1466void LocalSearchStatistics_LocalSearchFilterStatistics::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1467 auto* const _this = static_cast<LocalSearchStatistics_LocalSearchFilterStatistics*>(&to_msg);
1468 auto& from = static_cast<const LocalSearchStatistics_LocalSearchFilterStatistics&>(from_msg);
1469 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1470 ABSL_DCHECK_NE(&from, _this);
1471 ::uint32_t cached_has_bits = 0;
1472 (void) cached_has_bits;
1473
1474 cached_has_bits = from._impl_._has_bits_[0];
1475 if ((cached_has_bits & 0x0000003fu) != 0) {
1476 if ((cached_has_bits & 0x00000001u) != 0) {
1477 if (!from._internal_local_search_filter().empty()) {
1478 _this->_internal_set_local_search_filter(from._internal_local_search_filter());
1479 } else {
1480 if (_this->_impl_.local_search_filter_.IsDefault()) {
1481 _this->_internal_set_local_search_filter("");
1482 }
1483 }
1484 }
1485 if ((cached_has_bits & 0x00000002u) != 0) {
1486 if (!from._internal_context().empty()) {
1487 _this->_internal_set_context(from._internal_context());
1488 } else {
1489 if (_this->_impl_.context_.IsDefault()) {
1490 _this->_internal_set_context("");
1491 }
1492 }
1493 }
1494 if ((cached_has_bits & 0x00000004u) != 0) {
1495 if (from._internal_num_calls() != 0) {
1496 _this->_impl_.num_calls_ = from._impl_.num_calls_;
1497 }
1498 }
1499 if ((cached_has_bits & 0x00000008u) != 0) {
1500 if (from._internal_num_rejects() != 0) {
1501 _this->_impl_.num_rejects_ = from._impl_.num_rejects_;
1502 }
1503 }
1504 if ((cached_has_bits & 0x00000010u) != 0) {
1505 if (::absl::bit_cast<::uint64_t>(from._internal_duration_seconds()) != 0) {
1506 _this->_impl_.duration_seconds_ = from._impl_.duration_seconds_;
1507 }
1508 }
1509 if ((cached_has_bits & 0x00000020u) != 0) {
1510 if (::absl::bit_cast<::uint64_t>(from._internal_num_rejects_per_second()) != 0) {
1511 _this->_impl_.num_rejects_per_second_ = from._impl_.num_rejects_per_second_;
1512 }
1513 }
1514 }
1515 _this->_impl_._has_bits_[0] |= cached_has_bits;
1516 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1517}
1518
1520// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1521 if (&from == this) return;
1523 MergeFrom(from);
1524}
1525
1526
1527void LocalSearchStatistics_LocalSearchFilterStatistics::InternalSwap(LocalSearchStatistics_LocalSearchFilterStatistics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1528 using ::std::swap;
1529 auto* arena = GetArena();
1530 ABSL_DCHECK_EQ(arena, other->GetArena());
1531 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1532 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1533 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.local_search_filter_, &other->_impl_.local_search_filter_, arena);
1534 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.context_, &other->_impl_.context_, arena);
1535 ::google::protobuf::internal::memswap<
1536 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_rejects_per_second_)
1537 + sizeof(LocalSearchStatistics_LocalSearchFilterStatistics::_impl_.num_rejects_per_second_)
1538 - PROTOBUF_FIELD_OFFSET(LocalSearchStatistics_LocalSearchFilterStatistics, _impl_.num_calls_)>(
1539 reinterpret_cast<char*>(&_impl_.num_calls_),
1540 reinterpret_cast<char*>(&other->_impl_.num_calls_));
1541}
1542
1543::google::protobuf::Metadata LocalSearchStatistics_LocalSearchFilterStatistics::GetMetadata() const {
1544 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1545}
1546// ===================================================================
1547
1549 public:
1550 using HasBits =
1551 decltype(::std::declval<LocalSearchStatistics>()._impl_._has_bits_);
1552 static constexpr ::int32_t kHasBitsOffset =
1553 8 * PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_._has_bits_);
1555
1556LocalSearchStatistics::LocalSearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1557#if defined(PROTOBUF_CUSTOM_VTABLE)
1558 : ::google::protobuf::Message(arena, LocalSearchStatistics_class_data_.base()) {
1559#else // PROTOBUF_CUSTOM_VTABLE
1560 : ::google::protobuf::Message(arena) {
1561#endif // PROTOBUF_CUSTOM_VTABLE
1562 SharedCtor(arena);
1563 // @@protoc_insertion_point(arena_constructor:operations_research.LocalSearchStatistics)
1564}
1565PROTOBUF_NDEBUG_INLINE LocalSearchStatistics::Impl_::Impl_(
1566 ::google::protobuf::internal::InternalVisibility visibility,
1567 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1568 const ::operations_research::LocalSearchStatistics& from_msg)
1569 : _has_bits_{from._has_bits_},
1570 _cached_size_{0},
1571 local_search_operator_statistics_{visibility, arena, from.local_search_operator_statistics_},
1572 local_search_filter_statistics_{visibility, arena, from.local_search_filter_statistics_},
1573 first_solution_statistics_{visibility, arena, from.first_solution_statistics_} {}
1574
1576 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1577 const LocalSearchStatistics& from)
1578#if defined(PROTOBUF_CUSTOM_VTABLE)
1579 : ::google::protobuf::Message(arena, LocalSearchStatistics_class_data_.base()) {
1580#else // PROTOBUF_CUSTOM_VTABLE
1581 : ::google::protobuf::Message(arena) {
1582#endif // PROTOBUF_CUSTOM_VTABLE
1583 LocalSearchStatistics* const _this = this;
1584 (void)_this;
1585 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1586 from._internal_metadata_);
1587 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1588 ::memcpy(reinterpret_cast<char *>(&_impl_) +
1589 offsetof(Impl_, total_num_neighbors_),
1590 reinterpret_cast<const char *>(&from._impl_) +
1591 offsetof(Impl_, total_num_neighbors_),
1592 offsetof(Impl_, total_num_accepted_neighbors_) -
1593 offsetof(Impl_, total_num_neighbors_) +
1594 sizeof(Impl_::total_num_accepted_neighbors_));
1595
1596 // @@protoc_insertion_point(copy_constructor:operations_research.LocalSearchStatistics)
1597}
1598PROTOBUF_NDEBUG_INLINE LocalSearchStatistics::Impl_::Impl_(
1599 ::google::protobuf::internal::InternalVisibility visibility,
1600 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1601 : _cached_size_{0},
1602 local_search_operator_statistics_{visibility, arena},
1603 local_search_filter_statistics_{visibility, arena},
1604 first_solution_statistics_{visibility, arena} {}
1605
1606inline void LocalSearchStatistics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1607 new (&_impl_) Impl_(internal_visibility(), arena);
1608 ::memset(reinterpret_cast<char *>(&_impl_) +
1609 offsetof(Impl_, total_num_neighbors_),
1610 0,
1611 offsetof(Impl_, total_num_accepted_neighbors_) -
1612 offsetof(Impl_, total_num_neighbors_) +
1613 sizeof(Impl_::total_num_accepted_neighbors_));
1614}
1616 // @@protoc_insertion_point(destructor:operations_research.LocalSearchStatistics)
1617 SharedDtor(*this);
1618}
1619inline void LocalSearchStatistics::SharedDtor(MessageLite& self) {
1620 LocalSearchStatistics& this_ = static_cast<LocalSearchStatistics&>(self);
1621 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1622 ABSL_DCHECK(this_.GetArena() == nullptr);
1623 this_._impl_.~Impl_();
1624}
1625
1626inline void* PROTOBUF_NONNULL LocalSearchStatistics::PlacementNew_(
1627 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1628 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1629 return ::new (mem) LocalSearchStatistics(arena);
1632 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1633 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.first_solution_statistics_) +
1634 decltype(LocalSearchStatistics::_impl_.first_solution_statistics_)::
1635 InternalGetArenaOffset(
1636 ::google::protobuf::Message::internal_visibility()),
1637 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.local_search_operator_statistics_) +
1638 decltype(LocalSearchStatistics::_impl_.local_search_operator_statistics_)::
1639 InternalGetArenaOffset(
1640 ::google::protobuf::Message::internal_visibility()),
1641 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.local_search_filter_statistics_) +
1642 decltype(LocalSearchStatistics::_impl_.local_search_filter_statistics_)::
1643 InternalGetArenaOffset(
1644 ::google::protobuf::Message::internal_visibility()),
1645 });
1646 if (arena_bits.has_value()) {
1647 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1648 sizeof(LocalSearchStatistics), alignof(LocalSearchStatistics), *arena_bits);
1649 } else {
1650 return ::google::protobuf::internal::MessageCreator(&LocalSearchStatistics::PlacementNew_,
1651 sizeof(LocalSearchStatistics),
1652 alignof(LocalSearchStatistics));
1653 }
1654}
1656 return ::google::protobuf::internal::ClassDataFull{
1657 ::google::protobuf::internal::ClassData{
1659 &_table_.header,
1660 nullptr, // OnDemandRegisterArenaDtor
1661 nullptr, // IsInitialized
1662 &LocalSearchStatistics::MergeImpl,
1663 ::google::protobuf::Message::GetNewImpl<LocalSearchStatistics>(),
1664#if defined(PROTOBUF_CUSTOM_VTABLE)
1665 &LocalSearchStatistics::SharedDtor,
1666 ::google::protobuf::Message::GetClearImpl<LocalSearchStatistics>(), &LocalSearchStatistics::ByteSizeLong,
1668#endif // PROTOBUF_CUSTOM_VTABLE
1669 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_._cached_size_),
1670 false,
1671 },
1672 &LocalSearchStatistics::kDescriptorMethods,
1674 nullptr, // tracker
1675 };
1676}
1677
1678PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1679 ::google::protobuf::internal::ClassDataFull LocalSearchStatistics_class_data_ =
1681
1682PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1684 ::google::protobuf::internal::PrefetchToLocalCache(&LocalSearchStatistics_class_data_);
1685 ::google::protobuf::internal::PrefetchToLocalCache(LocalSearchStatistics_class_data_.tc_table);
1688PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1689const ::_pbi::TcParseTable<3, 6, 3, 0, 2>
1690LocalSearchStatistics::_table_ = {
1691 {
1692 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_._has_bits_),
1693 0, // no _extensions_
1694 6, 56, // max_field_number, fast_idx_mask
1695 offsetof(decltype(_table_), field_lookup_table),
1696 4294967232, // skipmap
1697 offsetof(decltype(_table_), field_entries),
1698 6, // num_field_entries
1699 3, // num_aux_entries
1700 offsetof(decltype(_table_), aux_entries),
1702 nullptr, // post_loop_handler
1703 ::_pbi::TcParser::GenericFallback, // fallback
1704 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1705 ::_pbi::TcParser::GetTable<::operations_research::LocalSearchStatistics>(), // to_prefetch
1706 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1707 }, {{
1708 {::_pbi::TcParser::MiniParse, {}},
1709 // repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
1710 {::_pbi::TcParser::FastMtR1,
1711 {10, 63, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.local_search_operator_statistics_)}},
1712 // repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
1713 {::_pbi::TcParser::FastMtR1,
1714 {18, 63, 1, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.local_search_filter_statistics_)}},
1715 // int64 total_num_neighbors = 3;
1716 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(LocalSearchStatistics, _impl_.total_num_neighbors_), 0>(),
1717 {24, 0, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.total_num_neighbors_)}},
1718 // int64 total_num_filtered_neighbors = 4;
1719 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(LocalSearchStatistics, _impl_.total_num_filtered_neighbors_), 1>(),
1720 {32, 1, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.total_num_filtered_neighbors_)}},
1721 // int64 total_num_accepted_neighbors = 5;
1722 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(LocalSearchStatistics, _impl_.total_num_accepted_neighbors_), 2>(),
1723 {40, 2, 0, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.total_num_accepted_neighbors_)}},
1724 // repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
1725 {::_pbi::TcParser::FastMtR1,
1726 {50, 63, 2, PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.first_solution_statistics_)}},
1727 {::_pbi::TcParser::MiniParse, {}},
1728 }}, {{
1729 65535, 65535
1730 }}, {{
1731 // repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
1732 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.local_search_operator_statistics_), -1, 0,
1733 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1734 // repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
1735 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.local_search_filter_statistics_), -1, 1,
1736 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1737 // int64 total_num_neighbors = 3;
1738 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.total_num_neighbors_), _Internal::kHasBitsOffset + 0, 0,
1739 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1740 // int64 total_num_filtered_neighbors = 4;
1741 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.total_num_filtered_neighbors_), _Internal::kHasBitsOffset + 1, 0,
1742 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1743 // int64 total_num_accepted_neighbors = 5;
1744 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.total_num_accepted_neighbors_), _Internal::kHasBitsOffset + 2, 0,
1745 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1746 // repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
1747 {PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.first_solution_statistics_), -1, 2,
1748 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1749 }},
1750 {{
1751 {::_pbi::TcParser::GetTable<::operations_research::LocalSearchStatistics_LocalSearchOperatorStatistics>()},
1752 {::_pbi::TcParser::GetTable<::operations_research::LocalSearchStatistics_LocalSearchFilterStatistics>()},
1753 {::_pbi::TcParser::GetTable<::operations_research::LocalSearchStatistics_FirstSolutionStatistics>()},
1754 }},
1755 {{
1756 }},
1757};
1758PROTOBUF_NOINLINE void LocalSearchStatistics::Clear() {
1759// @@protoc_insertion_point(message_clear_start:operations_research.LocalSearchStatistics)
1760 ::google::protobuf::internal::TSanWrite(&_impl_);
1761 ::uint32_t cached_has_bits = 0;
1762 // Prevent compiler warnings about cached_has_bits being unused
1763 (void) cached_has_bits;
1764
1765 _impl_.local_search_operator_statistics_.Clear();
1766 _impl_.local_search_filter_statistics_.Clear();
1767 _impl_.first_solution_statistics_.Clear();
1768 cached_has_bits = _impl_._has_bits_[0];
1769 if ((cached_has_bits & 0x00000007u) != 0) {
1770 ::memset(&_impl_.total_num_neighbors_, 0, static_cast<::size_t>(
1771 reinterpret_cast<char*>(&_impl_.total_num_accepted_neighbors_) -
1772 reinterpret_cast<char*>(&_impl_.total_num_neighbors_)) + sizeof(_impl_.total_num_accepted_neighbors_));
1773 }
1774 _impl_._has_bits_.Clear();
1775 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1776}
1777
1778#if defined(PROTOBUF_CUSTOM_VTABLE)
1779::uint8_t* PROTOBUF_NONNULL LocalSearchStatistics::_InternalSerialize(
1780 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1781 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1782 const LocalSearchStatistics& this_ = static_cast<const LocalSearchStatistics&>(base);
1783#else // PROTOBUF_CUSTOM_VTABLE
1784::uint8_t* PROTOBUF_NONNULL LocalSearchStatistics::_InternalSerialize(
1785 ::uint8_t* PROTOBUF_NONNULL target,
1786 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1787 const LocalSearchStatistics& this_ = *this;
1788#endif // PROTOBUF_CUSTOM_VTABLE
1789 // @@protoc_insertion_point(serialize_to_array_start:operations_research.LocalSearchStatistics)
1790 ::uint32_t cached_has_bits = 0;
1791 (void)cached_has_bits;
1792
1793 // repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
1794 for (unsigned i = 0, n = static_cast<unsigned>(
1795 this_._internal_local_search_operator_statistics_size());
1796 i < n; i++) {
1797 const auto& repfield = this_._internal_local_search_operator_statistics().Get(i);
1798 target =
1799 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1800 1, repfield, repfield.GetCachedSize(),
1801 target, stream);
1802 }
1803
1804 // repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
1805 for (unsigned i = 0, n = static_cast<unsigned>(
1806 this_._internal_local_search_filter_statistics_size());
1807 i < n; i++) {
1808 const auto& repfield = this_._internal_local_search_filter_statistics().Get(i);
1809 target =
1810 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1811 2, repfield, repfield.GetCachedSize(),
1812 target, stream);
1813 }
1814
1815 // int64 total_num_neighbors = 3;
1816 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
1817 if (this_._internal_total_num_neighbors() != 0) {
1818 target =
1819 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
1820 stream, this_._internal_total_num_neighbors(), target);
1821 }
1822 }
1823
1824 // int64 total_num_filtered_neighbors = 4;
1825 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
1826 if (this_._internal_total_num_filtered_neighbors() != 0) {
1827 target =
1828 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
1829 stream, this_._internal_total_num_filtered_neighbors(), target);
1830 }
1831 }
1832
1833 // int64 total_num_accepted_neighbors = 5;
1834 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
1835 if (this_._internal_total_num_accepted_neighbors() != 0) {
1836 target =
1837 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
1838 stream, this_._internal_total_num_accepted_neighbors(), target);
1839 }
1840 }
1841
1842 // repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
1843 for (unsigned i = 0, n = static_cast<unsigned>(
1844 this_._internal_first_solution_statistics_size());
1845 i < n; i++) {
1846 const auto& repfield = this_._internal_first_solution_statistics().Get(i);
1847 target =
1848 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1849 6, repfield, repfield.GetCachedSize(),
1850 target, stream);
1851 }
1852
1853 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1854 target =
1855 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1856 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1857 }
1858 // @@protoc_insertion_point(serialize_to_array_end:operations_research.LocalSearchStatistics)
1859 return target;
1860}
1861
1862#if defined(PROTOBUF_CUSTOM_VTABLE)
1864 const LocalSearchStatistics& this_ = static_cast<const LocalSearchStatistics&>(base);
1865#else // PROTOBUF_CUSTOM_VTABLE
1866::size_t LocalSearchStatistics::ByteSizeLong() const {
1867 const LocalSearchStatistics& this_ = *this;
1868#endif // PROTOBUF_CUSTOM_VTABLE
1869 // @@protoc_insertion_point(message_byte_size_start:operations_research.LocalSearchStatistics)
1870 ::size_t total_size = 0;
1871
1872 ::uint32_t cached_has_bits = 0;
1873 // Prevent compiler warnings about cached_has_bits being unused
1874 (void)cached_has_bits;
1875
1876 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1877 {
1878 // repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
1879 {
1880 total_size += 1UL * this_._internal_local_search_operator_statistics_size();
1881 for (const auto& msg : this_._internal_local_search_operator_statistics()) {
1882 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1883 }
1884 }
1885 // repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
1886 {
1887 total_size += 1UL * this_._internal_local_search_filter_statistics_size();
1888 for (const auto& msg : this_._internal_local_search_filter_statistics()) {
1889 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1890 }
1891 }
1892 // repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
1893 {
1894 total_size += 1UL * this_._internal_first_solution_statistics_size();
1895 for (const auto& msg : this_._internal_first_solution_statistics()) {
1896 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1897 }
1898 }
1899 }
1900 cached_has_bits = this_._impl_._has_bits_[0];
1901 if ((cached_has_bits & 0x00000007u) != 0) {
1902 // int64 total_num_neighbors = 3;
1903 if ((cached_has_bits & 0x00000001u) != 0) {
1904 if (this_._internal_total_num_neighbors() != 0) {
1905 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1906 this_._internal_total_num_neighbors());
1907 }
1908 }
1909 // int64 total_num_filtered_neighbors = 4;
1910 if ((cached_has_bits & 0x00000002u) != 0) {
1911 if (this_._internal_total_num_filtered_neighbors() != 0) {
1912 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1913 this_._internal_total_num_filtered_neighbors());
1914 }
1915 }
1916 // int64 total_num_accepted_neighbors = 5;
1917 if ((cached_has_bits & 0x00000004u) != 0) {
1918 if (this_._internal_total_num_accepted_neighbors() != 0) {
1919 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1920 this_._internal_total_num_accepted_neighbors());
1921 }
1922 }
1923 }
1924 return this_.MaybeComputeUnknownFieldsSize(total_size,
1925 &this_._impl_._cached_size_);
1926}
1927
1928void LocalSearchStatistics::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1929 auto* const _this = static_cast<LocalSearchStatistics*>(&to_msg);
1930 auto& from = static_cast<const LocalSearchStatistics&>(from_msg);
1931 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.LocalSearchStatistics)
1932 ABSL_DCHECK_NE(&from, _this);
1933 ::uint32_t cached_has_bits = 0;
1934 (void) cached_has_bits;
1935
1936 _this->_internal_mutable_local_search_operator_statistics()->MergeFrom(
1937 from._internal_local_search_operator_statistics());
1938 _this->_internal_mutable_local_search_filter_statistics()->MergeFrom(
1939 from._internal_local_search_filter_statistics());
1940 _this->_internal_mutable_first_solution_statistics()->MergeFrom(
1941 from._internal_first_solution_statistics());
1942 cached_has_bits = from._impl_._has_bits_[0];
1943 if ((cached_has_bits & 0x00000007u) != 0) {
1944 if ((cached_has_bits & 0x00000001u) != 0) {
1945 if (from._internal_total_num_neighbors() != 0) {
1946 _this->_impl_.total_num_neighbors_ = from._impl_.total_num_neighbors_;
1947 }
1948 }
1949 if ((cached_has_bits & 0x00000002u) != 0) {
1950 if (from._internal_total_num_filtered_neighbors() != 0) {
1951 _this->_impl_.total_num_filtered_neighbors_ = from._impl_.total_num_filtered_neighbors_;
1952 }
1953 }
1954 if ((cached_has_bits & 0x00000004u) != 0) {
1955 if (from._internal_total_num_accepted_neighbors() != 0) {
1956 _this->_impl_.total_num_accepted_neighbors_ = from._impl_.total_num_accepted_neighbors_;
1957 }
1958 }
1959 }
1960 _this->_impl_._has_bits_[0] |= cached_has_bits;
1961 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1962}
1963
1965// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.LocalSearchStatistics)
1966 if (&from == this) return;
1967 Clear();
1969}
1970
1971
1972void LocalSearchStatistics::InternalSwap(LocalSearchStatistics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1973 using ::std::swap;
1974 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1975 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1976 _impl_.local_search_operator_statistics_.InternalSwap(&other->_impl_.local_search_operator_statistics_);
1977 _impl_.local_search_filter_statistics_.InternalSwap(&other->_impl_.local_search_filter_statistics_);
1978 _impl_.first_solution_statistics_.InternalSwap(&other->_impl_.first_solution_statistics_);
1979 ::google::protobuf::internal::memswap<
1980 PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.total_num_accepted_neighbors_)
1981 + sizeof(LocalSearchStatistics::_impl_.total_num_accepted_neighbors_)
1982 - PROTOBUF_FIELD_OFFSET(LocalSearchStatistics, _impl_.total_num_neighbors_)>(
1983 reinterpret_cast<char*>(&_impl_.total_num_neighbors_),
1984 reinterpret_cast<char*>(&other->_impl_.total_num_neighbors_));
1985}
1986
1987::google::protobuf::Metadata LocalSearchStatistics::GetMetadata() const {
1988 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1989}
1990// ===================================================================
1994 using HasBits =
1995 decltype(::std::declval<ConstraintSolverStatistics>()._impl_._has_bits_);
1996 static constexpr ::int32_t kHasBitsOffset =
1997 8 * PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_._has_bits_);
1998};
2000ConstraintSolverStatistics::ConstraintSolverStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2001#if defined(PROTOBUF_CUSTOM_VTABLE)
2002 : ::google::protobuf::Message(arena, ConstraintSolverStatistics_class_data_.base()) {
2003#else // PROTOBUF_CUSTOM_VTABLE
2004 : ::google::protobuf::Message(arena) {
2005#endif // PROTOBUF_CUSTOM_VTABLE
2006 SharedCtor(arena);
2007 // @@protoc_insertion_point(arena_constructor:operations_research.ConstraintSolverStatistics)
2008}
2010 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ConstraintSolverStatistics& from)
2011#if defined(PROTOBUF_CUSTOM_VTABLE)
2012 : ::google::protobuf::Message(arena, ConstraintSolverStatistics_class_data_.base()),
2013#else // PROTOBUF_CUSTOM_VTABLE
2014 : ::google::protobuf::Message(arena),
2015#endif // PROTOBUF_CUSTOM_VTABLE
2016 _impl_(from._impl_) {
2017 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2018 from._internal_metadata_);
2019}
2020PROTOBUF_NDEBUG_INLINE ConstraintSolverStatistics::Impl_::Impl_(
2021 ::google::protobuf::internal::InternalVisibility visibility,
2022 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2023 : _cached_size_{0} {}
2024
2025inline void ConstraintSolverStatistics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2026 new (&_impl_) Impl_(internal_visibility(), arena);
2027 ::memset(reinterpret_cast<char *>(&_impl_) +
2028 offsetof(Impl_, num_branches_),
2029 0,
2030 offsetof(Impl_, duration_seconds_) -
2031 offsetof(Impl_, num_branches_) +
2032 sizeof(Impl_::duration_seconds_));
2033}
2035 // @@protoc_insertion_point(destructor:operations_research.ConstraintSolverStatistics)
2036 SharedDtor(*this);
2037}
2038inline void ConstraintSolverStatistics::SharedDtor(MessageLite& self) {
2040 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2041 ABSL_DCHECK(this_.GetArena() == nullptr);
2042 this_._impl_.~Impl_();
2043}
2044
2045inline void* PROTOBUF_NONNULL ConstraintSolverStatistics::PlacementNew_(
2046 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2047 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2048 return ::new (mem) ConstraintSolverStatistics(arena);
2049}
2051 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ConstraintSolverStatistics),
2053}
2055 return ::google::protobuf::internal::ClassDataFull{
2056 ::google::protobuf::internal::ClassData{
2058 &_table_.header,
2059 nullptr, // OnDemandRegisterArenaDtor
2060 nullptr, // IsInitialized
2061 &ConstraintSolverStatistics::MergeImpl,
2062 ::google::protobuf::Message::GetNewImpl<ConstraintSolverStatistics>(),
2063#if defined(PROTOBUF_CUSTOM_VTABLE)
2064 &ConstraintSolverStatistics::SharedDtor,
2065 ::google::protobuf::Message::GetClearImpl<ConstraintSolverStatistics>(), &ConstraintSolverStatistics::ByteSizeLong,
2067#endif // PROTOBUF_CUSTOM_VTABLE
2068 PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_._cached_size_),
2069 false,
2070 },
2071 &ConstraintSolverStatistics::kDescriptorMethods,
2073 nullptr, // tracker
2074 };
2075}
2076
2077PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2078 ::google::protobuf::internal::ClassDataFull ConstraintSolverStatistics_class_data_ =
2080
2081PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2083 ::google::protobuf::internal::PrefetchToLocalCache(&ConstraintSolverStatistics_class_data_);
2084 ::google::protobuf::internal::PrefetchToLocalCache(ConstraintSolverStatistics_class_data_.tc_table);
2086}
2087PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2088const ::_pbi::TcParseTable<3, 5, 0, 0, 2>
2089ConstraintSolverStatistics::_table_ = {
2090 {
2091 PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_._has_bits_),
2092 0, // no _extensions_
2093 5, 56, // max_field_number, fast_idx_mask
2094 offsetof(decltype(_table_), field_lookup_table),
2095 4294967264, // skipmap
2096 offsetof(decltype(_table_), field_entries),
2097 5, // num_field_entries
2098 0, // num_aux_entries
2099 offsetof(decltype(_table_), field_names), // no aux_entries
2101 nullptr, // post_loop_handler
2102 ::_pbi::TcParser::GenericFallback, // fallback
2103 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2104 ::_pbi::TcParser::GetTable<::operations_research::ConstraintSolverStatistics>(), // to_prefetch
2105 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2106 }, {{
2107 {::_pbi::TcParser::MiniParse, {}},
2108 // int64 num_branches = 1;
2109 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConstraintSolverStatistics, _impl_.num_branches_), 0>(),
2110 {8, 0, 0, PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.num_branches_)}},
2111 // int64 num_failures = 2;
2112 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConstraintSolverStatistics, _impl_.num_failures_), 1>(),
2113 {16, 1, 0, PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.num_failures_)}},
2114 // int64 num_solutions = 3;
2115 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConstraintSolverStatistics, _impl_.num_solutions_), 2>(),
2116 {24, 2, 0, PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.num_solutions_)}},
2117 // int64 bytes_used = 4;
2118 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConstraintSolverStatistics, _impl_.bytes_used_), 3>(),
2119 {32, 3, 0, PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.bytes_used_)}},
2120 // double duration_seconds = 5;
2121 {::_pbi::TcParser::FastF64S1,
2122 {41, 4, 0, PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.duration_seconds_)}},
2123 {::_pbi::TcParser::MiniParse, {}},
2124 {::_pbi::TcParser::MiniParse, {}},
2125 }}, {{
2126 65535, 65535
2127 }}, {{
2128 // int64 num_branches = 1;
2129 {PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.num_branches_), _Internal::kHasBitsOffset + 0, 0,
2130 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2131 // int64 num_failures = 2;
2132 {PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.num_failures_), _Internal::kHasBitsOffset + 1, 0,
2133 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2134 // int64 num_solutions = 3;
2135 {PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.num_solutions_), _Internal::kHasBitsOffset + 2, 0,
2136 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2137 // int64 bytes_used = 4;
2138 {PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.bytes_used_), _Internal::kHasBitsOffset + 3, 0,
2139 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2140 // double duration_seconds = 5;
2141 {PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.duration_seconds_), _Internal::kHasBitsOffset + 4, 0,
2142 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2143 }},
2144 // no aux_entries
2145 {{
2146 }},
2147};
2148PROTOBUF_NOINLINE void ConstraintSolverStatistics::Clear() {
2149// @@protoc_insertion_point(message_clear_start:operations_research.ConstraintSolverStatistics)
2150 ::google::protobuf::internal::TSanWrite(&_impl_);
2151 ::uint32_t cached_has_bits = 0;
2152 // Prevent compiler warnings about cached_has_bits being unused
2153 (void) cached_has_bits;
2154
2155 cached_has_bits = _impl_._has_bits_[0];
2156 if ((cached_has_bits & 0x0000001fu) != 0) {
2157 ::memset(&_impl_.num_branches_, 0, static_cast<::size_t>(
2158 reinterpret_cast<char*>(&_impl_.duration_seconds_) -
2159 reinterpret_cast<char*>(&_impl_.num_branches_)) + sizeof(_impl_.duration_seconds_));
2160 }
2161 _impl_._has_bits_.Clear();
2162 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2163}
2164
2165#if defined(PROTOBUF_CUSTOM_VTABLE)
2166::uint8_t* PROTOBUF_NONNULL ConstraintSolverStatistics::_InternalSerialize(
2167 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2168 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2169 const ConstraintSolverStatistics& this_ = static_cast<const ConstraintSolverStatistics&>(base);
2170#else // PROTOBUF_CUSTOM_VTABLE
2171::uint8_t* PROTOBUF_NONNULL ConstraintSolverStatistics::_InternalSerialize(
2172 ::uint8_t* PROTOBUF_NONNULL target,
2173 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2174 const ConstraintSolverStatistics& this_ = *this;
2175#endif // PROTOBUF_CUSTOM_VTABLE
2176 // @@protoc_insertion_point(serialize_to_array_start:operations_research.ConstraintSolverStatistics)
2177 ::uint32_t cached_has_bits = 0;
2178 (void)cached_has_bits;
2179
2180 // int64 num_branches = 1;
2181 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
2182 if (this_._internal_num_branches() != 0) {
2183 target =
2184 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
2185 stream, this_._internal_num_branches(), target);
2186 }
2187 }
2188
2189 // int64 num_failures = 2;
2190 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
2191 if (this_._internal_num_failures() != 0) {
2192 target =
2193 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
2194 stream, this_._internal_num_failures(), target);
2195 }
2196 }
2197
2198 // int64 num_solutions = 3;
2199 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
2200 if (this_._internal_num_solutions() != 0) {
2201 target =
2202 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
2203 stream, this_._internal_num_solutions(), target);
2204 }
2205 }
2206
2207 // int64 bytes_used = 4;
2208 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) {
2209 if (this_._internal_bytes_used() != 0) {
2210 target =
2211 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
2212 stream, this_._internal_bytes_used(), target);
2213 }
2214 }
2215
2216 // double duration_seconds = 5;
2217 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) {
2218 if (::absl::bit_cast<::uint64_t>(this_._internal_duration_seconds()) != 0) {
2219 target = stream->EnsureSpace(target);
2220 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2221 5, this_._internal_duration_seconds(), target);
2222 }
2223 }
2224
2225 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2226 target =
2227 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2228 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2229 }
2230 // @@protoc_insertion_point(serialize_to_array_end:operations_research.ConstraintSolverStatistics)
2231 return target;
2232}
2233
2234#if defined(PROTOBUF_CUSTOM_VTABLE)
2236 const ConstraintSolverStatistics& this_ = static_cast<const ConstraintSolverStatistics&>(base);
2237#else // PROTOBUF_CUSTOM_VTABLE
2239 const ConstraintSolverStatistics& this_ = *this;
2240#endif // PROTOBUF_CUSTOM_VTABLE
2241 // @@protoc_insertion_point(message_byte_size_start:operations_research.ConstraintSolverStatistics)
2242 ::size_t total_size = 0;
2244 ::uint32_t cached_has_bits = 0;
2245 // Prevent compiler warnings about cached_has_bits being unused
2246 (void)cached_has_bits;
2247
2248 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2249 cached_has_bits = this_._impl_._has_bits_[0];
2250 if ((cached_has_bits & 0x0000001fu) != 0) {
2251 // int64 num_branches = 1;
2252 if ((cached_has_bits & 0x00000001u) != 0) {
2253 if (this_._internal_num_branches() != 0) {
2254 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2255 this_._internal_num_branches());
2256 }
2257 }
2258 // int64 num_failures = 2;
2259 if ((cached_has_bits & 0x00000002u) != 0) {
2260 if (this_._internal_num_failures() != 0) {
2261 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2262 this_._internal_num_failures());
2263 }
2264 }
2265 // int64 num_solutions = 3;
2266 if ((cached_has_bits & 0x00000004u) != 0) {
2267 if (this_._internal_num_solutions() != 0) {
2268 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2269 this_._internal_num_solutions());
2270 }
2271 }
2272 // int64 bytes_used = 4;
2273 if ((cached_has_bits & 0x00000008u) != 0) {
2274 if (this_._internal_bytes_used() != 0) {
2275 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2276 this_._internal_bytes_used());
2277 }
2278 }
2279 // double duration_seconds = 5;
2280 if ((cached_has_bits & 0x00000010u) != 0) {
2281 if (::absl::bit_cast<::uint64_t>(this_._internal_duration_seconds()) != 0) {
2282 total_size += 9;
2283 }
2284 }
2285 }
2286 return this_.MaybeComputeUnknownFieldsSize(total_size,
2287 &this_._impl_._cached_size_);
2288}
2289
2290void ConstraintSolverStatistics::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2291 auto* const _this = static_cast<ConstraintSolverStatistics*>(&to_msg);
2292 auto& from = static_cast<const ConstraintSolverStatistics&>(from_msg);
2293 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.ConstraintSolverStatistics)
2294 ABSL_DCHECK_NE(&from, _this);
2295 ::uint32_t cached_has_bits = 0;
2296 (void) cached_has_bits;
2297
2298 cached_has_bits = from._impl_._has_bits_[0];
2299 if ((cached_has_bits & 0x0000001fu) != 0) {
2300 if ((cached_has_bits & 0x00000001u) != 0) {
2301 if (from._internal_num_branches() != 0) {
2302 _this->_impl_.num_branches_ = from._impl_.num_branches_;
2303 }
2304 }
2305 if ((cached_has_bits & 0x00000002u) != 0) {
2306 if (from._internal_num_failures() != 0) {
2307 _this->_impl_.num_failures_ = from._impl_.num_failures_;
2308 }
2309 }
2310 if ((cached_has_bits & 0x00000004u) != 0) {
2311 if (from._internal_num_solutions() != 0) {
2312 _this->_impl_.num_solutions_ = from._impl_.num_solutions_;
2313 }
2314 }
2315 if ((cached_has_bits & 0x00000008u) != 0) {
2316 if (from._internal_bytes_used() != 0) {
2317 _this->_impl_.bytes_used_ = from._impl_.bytes_used_;
2318 }
2319 }
2320 if ((cached_has_bits & 0x00000010u) != 0) {
2321 if (::absl::bit_cast<::uint64_t>(from._internal_duration_seconds()) != 0) {
2322 _this->_impl_.duration_seconds_ = from._impl_.duration_seconds_;
2323 }
2324 }
2325 }
2326 _this->_impl_._has_bits_[0] |= cached_has_bits;
2327 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2328}
2329
2331// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.ConstraintSolverStatistics)
2332 if (&from == this) return;
2333 Clear();
2334 MergeFrom(from);
2336
2337
2338void ConstraintSolverStatistics::InternalSwap(ConstraintSolverStatistics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2339 using ::std::swap;
2340 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2341 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2342 ::google::protobuf::internal::memswap<
2343 PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.duration_seconds_)
2344 + sizeof(ConstraintSolverStatistics::_impl_.duration_seconds_)
2345 - PROTOBUF_FIELD_OFFSET(ConstraintSolverStatistics, _impl_.num_branches_)>(
2346 reinterpret_cast<char*>(&_impl_.num_branches_),
2347 reinterpret_cast<char*>(&other->_impl_.num_branches_));
2348}
2349
2350::google::protobuf::Metadata ConstraintSolverStatistics::GetMetadata() const {
2351 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2352}
2353// ===================================================================
2354
2356 public:
2357};
2358
2359SearchStatistics::SearchStatistics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2360#if defined(PROTOBUF_CUSTOM_VTABLE)
2361 : ::google::protobuf::Message(arena, SearchStatistics_class_data_.base()) {
2362#else // PROTOBUF_CUSTOM_VTABLE
2363 : ::google::protobuf::Message(arena) {
2364#endif // PROTOBUF_CUSTOM_VTABLE
2365 SharedCtor(arena);
2366 // @@protoc_insertion_point(arena_constructor:operations_research.SearchStatistics)
2367}
2368PROTOBUF_NDEBUG_INLINE SearchStatistics::Impl_::Impl_(
2369 ::google::protobuf::internal::InternalVisibility visibility,
2370 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2371 const ::operations_research::SearchStatistics& from_msg)
2372 : local_search_statistics_{visibility, arena, from.local_search_statistics_},
2373 constraint_solver_statistics_{visibility, arena, from.constraint_solver_statistics_},
2374 _cached_size_{0} {}
2375
2377 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2378 const SearchStatistics& from)
2379#if defined(PROTOBUF_CUSTOM_VTABLE)
2380 : ::google::protobuf::Message(arena, SearchStatistics_class_data_.base()) {
2381#else // PROTOBUF_CUSTOM_VTABLE
2382 : ::google::protobuf::Message(arena) {
2383#endif // PROTOBUF_CUSTOM_VTABLE
2384 SearchStatistics* const _this = this;
2385 (void)_this;
2386 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2387 from._internal_metadata_);
2388 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2389
2390 // @@protoc_insertion_point(copy_constructor:operations_research.SearchStatistics)
2391}
2392PROTOBUF_NDEBUG_INLINE SearchStatistics::Impl_::Impl_(
2393 ::google::protobuf::internal::InternalVisibility visibility,
2394 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2395 : local_search_statistics_{visibility, arena},
2396 constraint_solver_statistics_{visibility, arena},
2397 _cached_size_{0} {}
2398
2399inline void SearchStatistics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2400 new (&_impl_) Impl_(internal_visibility(), arena);
2401}
2403 // @@protoc_insertion_point(destructor:operations_research.SearchStatistics)
2404 SharedDtor(*this);
2405}
2406inline void SearchStatistics::SharedDtor(MessageLite& self) {
2407 SearchStatistics& this_ = static_cast<SearchStatistics&>(self);
2408 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2409 ABSL_DCHECK(this_.GetArena() == nullptr);
2410 this_._impl_.~Impl_();
2411}
2412
2413inline void* PROTOBUF_NONNULL SearchStatistics::PlacementNew_(
2414 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2415 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2416 return ::new (mem) SearchStatistics(arena);
2417}
2418constexpr auto SearchStatistics::InternalNewImpl_() {
2419 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2420 PROTOBUF_FIELD_OFFSET(SearchStatistics, _impl_.local_search_statistics_) +
2421 decltype(SearchStatistics::_impl_.local_search_statistics_)::
2422 InternalGetArenaOffset(
2423 ::google::protobuf::Message::internal_visibility()),
2424 PROTOBUF_FIELD_OFFSET(SearchStatistics, _impl_.constraint_solver_statistics_) +
2425 decltype(SearchStatistics::_impl_.constraint_solver_statistics_)::
2426 InternalGetArenaOffset(
2427 ::google::protobuf::Message::internal_visibility()),
2428 });
2429 if (arena_bits.has_value()) {
2430 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2431 sizeof(SearchStatistics), alignof(SearchStatistics), *arena_bits);
2432 } else {
2433 return ::google::protobuf::internal::MessageCreator(&SearchStatistics::PlacementNew_,
2434 sizeof(SearchStatistics),
2435 alignof(SearchStatistics));
2436 }
2437}
2439 return ::google::protobuf::internal::ClassDataFull{
2440 ::google::protobuf::internal::ClassData{
2442 &_table_.header,
2443 nullptr, // OnDemandRegisterArenaDtor
2444 nullptr, // IsInitialized
2445 &SearchStatistics::MergeImpl,
2446 ::google::protobuf::Message::GetNewImpl<SearchStatistics>(),
2447#if defined(PROTOBUF_CUSTOM_VTABLE)
2448 &SearchStatistics::SharedDtor,
2449 ::google::protobuf::Message::GetClearImpl<SearchStatistics>(), &SearchStatistics::ByteSizeLong,
2451#endif // PROTOBUF_CUSTOM_VTABLE
2452 PROTOBUF_FIELD_OFFSET(SearchStatistics, _impl_._cached_size_),
2453 false,
2454 },
2455 &SearchStatistics::kDescriptorMethods,
2457 nullptr, // tracker
2458 };
2459}
2460
2461PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2462 ::google::protobuf::internal::ClassDataFull SearchStatistics_class_data_ =
2464
2465PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2467 ::google::protobuf::internal::PrefetchToLocalCache(&SearchStatistics_class_data_);
2468 ::google::protobuf::internal::PrefetchToLocalCache(SearchStatistics_class_data_.tc_table);
2469 return SearchStatistics_class_data_.base();
2470}
2471PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2472const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
2473SearchStatistics::_table_ = {
2474 {
2475 0, // no _has_bits_
2476 0, // no _extensions_
2477 2, 8, // max_field_number, fast_idx_mask
2478 offsetof(decltype(_table_), field_lookup_table),
2479 4294967292, // skipmap
2480 offsetof(decltype(_table_), field_entries),
2481 2, // num_field_entries
2482 2, // num_aux_entries
2483 offsetof(decltype(_table_), aux_entries),
2485 nullptr, // post_loop_handler
2486 ::_pbi::TcParser::GenericFallback, // fallback
2487 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2488 ::_pbi::TcParser::GetTable<::operations_research::SearchStatistics>(), // to_prefetch
2489 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2490 }, {{
2491 // repeated .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
2492 {::_pbi::TcParser::FastMtR1,
2493 {18, 63, 1, PROTOBUF_FIELD_OFFSET(SearchStatistics, _impl_.constraint_solver_statistics_)}},
2494 // repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
2495 {::_pbi::TcParser::FastMtR1,
2496 {10, 63, 0, PROTOBUF_FIELD_OFFSET(SearchStatistics, _impl_.local_search_statistics_)}},
2497 }}, {{
2498 65535, 65535
2499 }}, {{
2500 // repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
2501 {PROTOBUF_FIELD_OFFSET(SearchStatistics, _impl_.local_search_statistics_), 0, 0,
2502 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2503 // repeated .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
2504 {PROTOBUF_FIELD_OFFSET(SearchStatistics, _impl_.constraint_solver_statistics_), 0, 1,
2505 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2506 }},
2507 {{
2508 {::_pbi::TcParser::GetTable<::operations_research::LocalSearchStatistics>()},
2509 {::_pbi::TcParser::GetTable<::operations_research::ConstraintSolverStatistics>()},
2510 }},
2511 {{
2512 }},
2513};
2514PROTOBUF_NOINLINE void SearchStatistics::Clear() {
2515// @@protoc_insertion_point(message_clear_start:operations_research.SearchStatistics)
2516 ::google::protobuf::internal::TSanWrite(&_impl_);
2517 ::uint32_t cached_has_bits = 0;
2518 // Prevent compiler warnings about cached_has_bits being unused
2519 (void) cached_has_bits;
2521 _impl_.local_search_statistics_.Clear();
2522 _impl_.constraint_solver_statistics_.Clear();
2523 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2524}
2525
2526#if defined(PROTOBUF_CUSTOM_VTABLE)
2527::uint8_t* PROTOBUF_NONNULL SearchStatistics::_InternalSerialize(
2528 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2529 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2530 const SearchStatistics& this_ = static_cast<const SearchStatistics&>(base);
2531#else // PROTOBUF_CUSTOM_VTABLE
2532::uint8_t* PROTOBUF_NONNULL SearchStatistics::_InternalSerialize(
2533 ::uint8_t* PROTOBUF_NONNULL target,
2534 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2535 const SearchStatistics& this_ = *this;
2536#endif // PROTOBUF_CUSTOM_VTABLE
2537 // @@protoc_insertion_point(serialize_to_array_start:operations_research.SearchStatistics)
2538 ::uint32_t cached_has_bits = 0;
2539 (void)cached_has_bits;
2540
2541 // repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
2542 for (unsigned i = 0, n = static_cast<unsigned>(
2543 this_._internal_local_search_statistics_size());
2544 i < n; i++) {
2545 const auto& repfield = this_._internal_local_search_statistics().Get(i);
2546 target =
2547 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2548 1, repfield, repfield.GetCachedSize(),
2549 target, stream);
2550 }
2551
2552 // repeated .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
2553 for (unsigned i = 0, n = static_cast<unsigned>(
2554 this_._internal_constraint_solver_statistics_size());
2555 i < n; i++) {
2556 const auto& repfield = this_._internal_constraint_solver_statistics().Get(i);
2557 target =
2558 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2559 2, repfield, repfield.GetCachedSize(),
2560 target, stream);
2561 }
2562
2563 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2564 target =
2565 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2566 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2567 }
2568 // @@protoc_insertion_point(serialize_to_array_end:operations_research.SearchStatistics)
2569 return target;
2570}
2571
2572#if defined(PROTOBUF_CUSTOM_VTABLE)
2573::size_t SearchStatistics::ByteSizeLong(const MessageLite& base) {
2574 const SearchStatistics& this_ = static_cast<const SearchStatistics&>(base);
2575#else // PROTOBUF_CUSTOM_VTABLE
2576::size_t SearchStatistics::ByteSizeLong() const {
2577 const SearchStatistics& this_ = *this;
2578#endif // PROTOBUF_CUSTOM_VTABLE
2579 // @@protoc_insertion_point(message_byte_size_start:operations_research.SearchStatistics)
2580 ::size_t total_size = 0;
2581
2582 ::uint32_t cached_has_bits = 0;
2583 // Prevent compiler warnings about cached_has_bits being unused
2584 (void)cached_has_bits;
2585
2586 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2587 {
2588 // repeated .operations_research.LocalSearchStatistics local_search_statistics = 1;
2589 {
2590 total_size += 1UL * this_._internal_local_search_statistics_size();
2591 for (const auto& msg : this_._internal_local_search_statistics()) {
2592 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2593 }
2594 }
2595 // repeated .operations_research.ConstraintSolverStatistics constraint_solver_statistics = 2;
2596 {
2597 total_size += 1UL * this_._internal_constraint_solver_statistics_size();
2598 for (const auto& msg : this_._internal_constraint_solver_statistics()) {
2599 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2600 }
2601 }
2602 }
2603 return this_.MaybeComputeUnknownFieldsSize(total_size,
2604 &this_._impl_._cached_size_);
2605}
2606
2607void SearchStatistics::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2608 auto* const _this = static_cast<SearchStatistics*>(&to_msg);
2609 auto& from = static_cast<const SearchStatistics&>(from_msg);
2610 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.SearchStatistics)
2611 ABSL_DCHECK_NE(&from, _this);
2612 ::uint32_t cached_has_bits = 0;
2613 (void) cached_has_bits;
2614
2615 _this->_internal_mutable_local_search_statistics()->MergeFrom(
2616 from._internal_local_search_statistics());
2617 _this->_internal_mutable_constraint_solver_statistics()->MergeFrom(
2618 from._internal_constraint_solver_statistics());
2619 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2620}
2621
2623// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.SearchStatistics)
2624 if (&from == this) return;
2625 Clear();
2626 MergeFrom(from);
2627}
2629
2630void SearchStatistics::InternalSwap(SearchStatistics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2631 using ::std::swap;
2632 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2633 _impl_.local_search_statistics_.InternalSwap(&other->_impl_.local_search_statistics_);
2634 _impl_.constraint_solver_statistics_.InternalSwap(&other->_impl_.constraint_solver_statistics_);
2635}
2636
2637::google::protobuf::Metadata SearchStatistics::GetMetadata() const {
2638 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2639}
2640// @@protoc_insertion_point(namespace_scope)
2641} // namespace operations_research
2642namespace google {
2643namespace protobuf {
2644} // namespace protobuf
2645} // namespace google
2646// @@protoc_insertion_point(global_scope)
2647PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
2648 _static_init2_ [[maybe_unused]] =
2650 ::std::false_type{});
2651#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const ConstraintSolverStatistics &from)
void MergeFrom(const ConstraintSolverStatistics &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(ConstraintSolverStatistics &a, ConstraintSolverStatistics &b)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
decltype(::std::declval< LocalSearchStatistics_FirstSolutionStatistics >()._impl_._has_bits_) HasBits
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(LocalSearchStatistics_FirstSolutionStatistics &a, LocalSearchStatistics_FirstSolutionStatistics &b)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void MergeFrom(const LocalSearchStatistics_FirstSolutionStatistics &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const LocalSearchStatistics_FirstSolutionStatistics &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(LocalSearchStatistics_LocalSearchFilterStatistics &a, LocalSearchStatistics_LocalSearchFilterStatistics &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
void MergeFrom(const LocalSearchStatistics_LocalSearchFilterStatistics &from)
decltype(::std::declval< LocalSearchStatistics_LocalSearchOperatorStatistics >()._impl_._has_bits_) HasBits
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void MergeFrom(const LocalSearchStatistics_LocalSearchOperatorStatistics &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend class ::google::protobuf::MessageLite
void MergeFrom(const LocalSearchStatistics &from)
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const LocalSearchStatistics &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(LocalSearchStatistics &a, LocalSearchStatistics &b)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void MergeFrom(const SearchStatistics &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const SearchStatistics &from)
In SWIG mode, we don't want anything besides these top-level includes.
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 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_
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
const ::uint32_t TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto
::absl::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto_once
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto