Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
search_limit.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_limit.proto
4// Protobuf C++ Version: 6.33.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 RegularLimitParameters::Impl_::Impl_(
30 ::_pbi::ConstantInitialized) noexcept
31 : _cached_size_{0},
32 time_{::int64_t{0}},
33 branches_{::int64_t{0}},
34 failures_{::int64_t{0}},
35 solutions_{::int64_t{0}},
36 smart_time_check_{false},
37 cumulative_{false} {}
38
39template <typename>
40PROTOBUF_CONSTEXPR RegularLimitParameters::RegularLimitParameters(::_pbi::ConstantInitialized)
41#if defined(PROTOBUF_CUSTOM_VTABLE)
42 : ::google::protobuf::Message(RegularLimitParameters_class_data_.base()),
43#else // PROTOBUF_CUSTOM_VTABLE
44 : ::google::protobuf::Message(),
45#endif // PROTOBUF_CUSTOM_VTABLE
46 _impl_(::_pbi::ConstantInitialized()) {
47}
55
56PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
58} // namespace operations_research
59static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
61static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
63const ::uint32_t
65 protodesc_cold) = {
66 0x081, // bitmap
67 PROTOBUF_FIELD_OFFSET(::operations_research::RegularLimitParameters, _impl_._has_bits_),
68 9, // hasbit index offset
69 PROTOBUF_FIELD_OFFSET(::operations_research::RegularLimitParameters, _impl_.time_),
70 PROTOBUF_FIELD_OFFSET(::operations_research::RegularLimitParameters, _impl_.branches_),
71 PROTOBUF_FIELD_OFFSET(::operations_research::RegularLimitParameters, _impl_.failures_),
72 PROTOBUF_FIELD_OFFSET(::operations_research::RegularLimitParameters, _impl_.solutions_),
73 PROTOBUF_FIELD_OFFSET(::operations_research::RegularLimitParameters, _impl_.smart_time_check_),
74 PROTOBUF_FIELD_OFFSET(::operations_research::RegularLimitParameters, _impl_.cumulative_),
75 0,
76 1,
77 2,
78 3,
79 4,
80 5,
81};
82
83static const ::_pbi::MigrationSchema
84 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
86};
87static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
89};
90const char descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
91 protodesc_cold) = {
92 "\n,ortools/constraint_solver/search_limit"
93 ".proto\022\023operations_research\"\213\001\n\026RegularL"
94 "imitParameters\022\014\n\004time\030\001 \001(\003\022\020\n\010branches"
95 "\030\002 \001(\003\022\020\n\010failures\030\003 \001(\003\022\021\n\tsolutions\030\004 "
96 "\001(\003\022\030\n\020smart_time_check\030\005 \001(\010\022\022\n\ncumulat"
97 "ive\030\006 \001(\010B^\n#com.google.ortools.constrai"
98 "ntsolverB\023SearchLimitProtobufP\001\252\002\037Google"
99 ".OrTools.ConstraintSolverb\006proto3"
100};
102PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto = {
103 false,
104 false,
105 313,
106 descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto,
107 "ortools/constraint_solver/search_limit.proto",
109 nullptr,
110 0,
111 1,
112 schemas,
117};
118namespace operations_research {
119// ===================================================================
120
122 public:
123 using HasBits =
124 decltype(::std::declval<RegularLimitParameters>()._impl_._has_bits_);
125 static constexpr ::int32_t kHasBitsOffset =
126 8 * PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_._has_bits_);
127};
128
129RegularLimitParameters::RegularLimitParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
130#if defined(PROTOBUF_CUSTOM_VTABLE)
131 : ::google::protobuf::Message(arena, RegularLimitParameters_class_data_.base()) {
132#else // PROTOBUF_CUSTOM_VTABLE
133 : ::google::protobuf::Message(arena) {
134#endif // PROTOBUF_CUSTOM_VTABLE
135 SharedCtor(arena);
136 // @@protoc_insertion_point(arena_constructor:operations_research.RegularLimitParameters)
137}
139 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RegularLimitParameters& from)
140#if defined(PROTOBUF_CUSTOM_VTABLE)
141 : ::google::protobuf::Message(arena, RegularLimitParameters_class_data_.base()),
142#else // PROTOBUF_CUSTOM_VTABLE
143 : ::google::protobuf::Message(arena),
144#endif // PROTOBUF_CUSTOM_VTABLE
145 _impl_(from._impl_) {
146 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
147 from._internal_metadata_);
148}
149PROTOBUF_NDEBUG_INLINE RegularLimitParameters::Impl_::Impl_(
150 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
151 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
152 : _cached_size_{0} {}
153
154inline void RegularLimitParameters::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
155 new (&_impl_) Impl_(internal_visibility(), arena);
156 ::memset(reinterpret_cast<char*>(&_impl_) +
157 offsetof(Impl_, time_),
158 0,
159 offsetof(Impl_, cumulative_) -
160 offsetof(Impl_, time_) +
161 sizeof(Impl_::cumulative_));
162}
164 // @@protoc_insertion_point(destructor:operations_research.RegularLimitParameters)
165 SharedDtor(*this);
166}
167inline void RegularLimitParameters::SharedDtor(MessageLite& self) {
168 RegularLimitParameters& this_ = static_cast<RegularLimitParameters&>(self);
169 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
170 this_.CheckHasBitConsistency();
171 }
172 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
173 ABSL_DCHECK(this_.GetArena() == nullptr);
174 this_._impl_.~Impl_();
175}
176
177inline void* PROTOBUF_NONNULL RegularLimitParameters::PlacementNew_(
178 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
179 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
180 return ::new (mem) RegularLimitParameters(arena);
181}
182constexpr auto RegularLimitParameters::InternalNewImpl_() {
183 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RegularLimitParameters),
184 alignof(RegularLimitParameters));
185}
187 return ::google::protobuf::internal::ClassDataFull{
188 ::google::protobuf::internal::ClassData{
190 &_table_.header,
191 nullptr, // OnDemandRegisterArenaDtor
192 nullptr, // IsInitialized
193 &RegularLimitParameters::MergeImpl,
194 ::google::protobuf::Message::GetNewImpl<RegularLimitParameters>(),
195#if defined(PROTOBUF_CUSTOM_VTABLE)
196 &RegularLimitParameters::SharedDtor,
197 ::google::protobuf::Message::GetClearImpl<RegularLimitParameters>(), &RegularLimitParameters::ByteSizeLong,
199#endif // PROTOBUF_CUSTOM_VTABLE
200 PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_._cached_size_),
201 false,
202 },
203 &RegularLimitParameters::kDescriptorMethods,
205 nullptr, // tracker
206 };
207}
208
209PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
210 ::google::protobuf::internal::ClassDataFull RegularLimitParameters_class_data_ =
212
213PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
214RegularLimitParameters::GetClassData() const {
215 ::google::protobuf::internal::PrefetchToLocalCache(&RegularLimitParameters_class_data_);
216 ::google::protobuf::internal::PrefetchToLocalCache(RegularLimitParameters_class_data_.tc_table);
218}
219PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
220const ::_pbi::TcParseTable<3, 6, 0, 0, 2>
221RegularLimitParameters::_table_ = {
222 {
223 PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_._has_bits_),
224 0, // no _extensions_
225 6, 56, // max_field_number, fast_idx_mask
226 offsetof(decltype(_table_), field_lookup_table),
227 4294967232, // skipmap
228 offsetof(decltype(_table_), field_entries),
229 6, // num_field_entries
230 0, // num_aux_entries
231 offsetof(decltype(_table_), field_names), // no aux_entries
233 nullptr, // post_loop_handler
234 ::_pbi::TcParser::GenericFallback, // fallback
235 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
236 ::_pbi::TcParser::GetTable<::operations_research::RegularLimitParameters>(), // to_prefetch
237 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
238 }, {{
239 {::_pbi::TcParser::MiniParse, {}},
240 // int64 time = 1;
241 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(RegularLimitParameters, _impl_.time_), 0>(),
242 {8, 0, 0,
243 PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.time_)}},
244 // int64 branches = 2;
245 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(RegularLimitParameters, _impl_.branches_), 1>(),
246 {16, 1, 0,
247 PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.branches_)}},
248 // int64 failures = 3;
249 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(RegularLimitParameters, _impl_.failures_), 2>(),
250 {24, 2, 0,
251 PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.failures_)}},
252 // int64 solutions = 4;
253 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(RegularLimitParameters, _impl_.solutions_), 3>(),
254 {32, 3, 0,
255 PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.solutions_)}},
256 // bool smart_time_check = 5;
257 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(RegularLimitParameters, _impl_.smart_time_check_), 4>(),
258 {40, 4, 0,
259 PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.smart_time_check_)}},
260 // bool cumulative = 6;
261 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(RegularLimitParameters, _impl_.cumulative_), 5>(),
262 {48, 5, 0,
263 PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.cumulative_)}},
264 {::_pbi::TcParser::MiniParse, {}},
265 }}, {{
266 65535, 65535
267 }}, {{
268 // int64 time = 1;
269 {PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.time_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
270 // int64 branches = 2;
271 {PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.branches_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
272 // int64 failures = 3;
273 {PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.failures_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
274 // int64 solutions = 4;
275 {PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.solutions_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
276 // bool smart_time_check = 5;
277 {PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.smart_time_check_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
278 // bool cumulative = 6;
279 {PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.cumulative_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
280 }},
281 // no aux_entries
282 {{
283 }},
284};
285PROTOBUF_NOINLINE void RegularLimitParameters::Clear() {
286// @@protoc_insertion_point(message_clear_start:operations_research.RegularLimitParameters)
287 ::google::protobuf::internal::TSanWrite(&_impl_);
288 ::uint32_t cached_has_bits = 0;
289 // Prevent compiler warnings about cached_has_bits being unused
290 (void) cached_has_bits;
291
292 cached_has_bits = _impl_._has_bits_[0];
293 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
294 ::memset(&_impl_.time_, 0, static_cast<::size_t>(
295 reinterpret_cast<char*>(&_impl_.cumulative_) -
296 reinterpret_cast<char*>(&_impl_.time_)) + sizeof(_impl_.cumulative_));
297 }
298 _impl_._has_bits_.Clear();
299 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
300}
301
302#if defined(PROTOBUF_CUSTOM_VTABLE)
303::uint8_t* PROTOBUF_NONNULL RegularLimitParameters::_InternalSerialize(
304 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
305 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
306 const RegularLimitParameters& this_ = static_cast<const RegularLimitParameters&>(base);
307#else // PROTOBUF_CUSTOM_VTABLE
308::uint8_t* PROTOBUF_NONNULL RegularLimitParameters::_InternalSerialize(
309 ::uint8_t* PROTOBUF_NONNULL target,
310 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
311 const RegularLimitParameters& this_ = *this;
312#endif // PROTOBUF_CUSTOM_VTABLE
313 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
314 this_.CheckHasBitConsistency();
315 }
316 // @@protoc_insertion_point(serialize_to_array_start:operations_research.RegularLimitParameters)
317 ::uint32_t cached_has_bits = 0;
318 (void)cached_has_bits;
319
320 cached_has_bits = this_._impl_._has_bits_[0];
321 // int64 time = 1;
322 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
323 if (this_._internal_time() != 0) {
324 target =
325 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
326 stream, this_._internal_time(), target);
327 }
328 }
329
330 // int64 branches = 2;
331 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
332 if (this_._internal_branches() != 0) {
333 target =
334 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
335 stream, this_._internal_branches(), target);
336 }
337 }
338
339 // int64 failures = 3;
340 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
341 if (this_._internal_failures() != 0) {
342 target =
343 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
344 stream, this_._internal_failures(), target);
345 }
346 }
347
348 // int64 solutions = 4;
349 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
350 if (this_._internal_solutions() != 0) {
351 target =
352 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
353 stream, this_._internal_solutions(), target);
354 }
355 }
356
357 // bool smart_time_check = 5;
358 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
359 if (this_._internal_smart_time_check() != 0) {
360 target = stream->EnsureSpace(target);
361 target = ::_pbi::WireFormatLite::WriteBoolToArray(
362 5, this_._internal_smart_time_check(), target);
363 }
364 }
365
366 // bool cumulative = 6;
367 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
368 if (this_._internal_cumulative() != 0) {
369 target = stream->EnsureSpace(target);
370 target = ::_pbi::WireFormatLite::WriteBoolToArray(
371 6, this_._internal_cumulative(), target);
372 }
373 }
374
375 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
376 target =
377 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
378 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
379 }
380 // @@protoc_insertion_point(serialize_to_array_end:operations_research.RegularLimitParameters)
381 return target;
382}
383
384#if defined(PROTOBUF_CUSTOM_VTABLE)
386 const RegularLimitParameters& this_ = static_cast<const RegularLimitParameters&>(base);
387#else // PROTOBUF_CUSTOM_VTABLE
389 const RegularLimitParameters& this_ = *this;
390#endif // PROTOBUF_CUSTOM_VTABLE
391 // @@protoc_insertion_point(message_byte_size_start:operations_research.RegularLimitParameters)
392 ::size_t total_size = 0;
393
394 ::uint32_t cached_has_bits = 0;
395 // Prevent compiler warnings about cached_has_bits being unused
396 (void)cached_has_bits;
397
398 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
399 cached_has_bits = this_._impl_._has_bits_[0];
400 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
401 // int64 time = 1;
402 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
403 if (this_._internal_time() != 0) {
404 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
405 this_._internal_time());
406 }
407 }
408 // int64 branches = 2;
409 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
410 if (this_._internal_branches() != 0) {
411 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
412 this_._internal_branches());
413 }
414 }
415 // int64 failures = 3;
416 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
417 if (this_._internal_failures() != 0) {
418 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
419 this_._internal_failures());
420 }
421 }
422 // int64 solutions = 4;
423 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
424 if (this_._internal_solutions() != 0) {
425 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
426 this_._internal_solutions());
427 }
428 }
429 // bool smart_time_check = 5;
430 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
431 if (this_._internal_smart_time_check() != 0) {
432 total_size += 2;
433 }
434 }
435 // bool cumulative = 6;
436 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
437 if (this_._internal_cumulative() != 0) {
438 total_size += 2;
439 }
440 }
441 }
442 return this_.MaybeComputeUnknownFieldsSize(total_size,
443 &this_._impl_._cached_size_);
444}
445
446void RegularLimitParameters::MergeImpl(::google::protobuf::MessageLite& to_msg,
447 const ::google::protobuf::MessageLite& from_msg) {
448 auto* const _this =
449 static_cast<RegularLimitParameters*>(&to_msg);
450 auto& from = static_cast<const RegularLimitParameters&>(from_msg);
451 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
452 from.CheckHasBitConsistency();
453 }
454 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.RegularLimitParameters)
455 ABSL_DCHECK_NE(&from, _this);
456 ::uint32_t cached_has_bits = 0;
457 (void)cached_has_bits;
458
459 cached_has_bits = from._impl_._has_bits_[0];
460 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
461 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
462 if (from._internal_time() != 0) {
463 _this->_impl_.time_ = from._impl_.time_;
464 }
465 }
466 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
467 if (from._internal_branches() != 0) {
468 _this->_impl_.branches_ = from._impl_.branches_;
469 }
470 }
471 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
472 if (from._internal_failures() != 0) {
473 _this->_impl_.failures_ = from._impl_.failures_;
474 }
475 }
476 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
477 if (from._internal_solutions() != 0) {
478 _this->_impl_.solutions_ = from._impl_.solutions_;
479 }
480 }
481 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
482 if (from._internal_smart_time_check() != 0) {
483 _this->_impl_.smart_time_check_ = from._impl_.smart_time_check_;
484 }
485 }
486 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
487 if (from._internal_cumulative() != 0) {
488 _this->_impl_.cumulative_ = from._impl_.cumulative_;
489 }
490 }
491 }
492 _this->_impl_._has_bits_[0] |= cached_has_bits;
493 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
494 from._internal_metadata_);
495}
496
498 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.RegularLimitParameters)
499 if (&from == this) return;
500 Clear();
501 MergeFrom(from);
502}
503
504
505void RegularLimitParameters::InternalSwap(RegularLimitParameters* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
506 using ::std::swap;
507 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
508 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
509 ::google::protobuf::internal::memswap<
510 PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.cumulative_)
511 + sizeof(RegularLimitParameters::_impl_.cumulative_)
512 - PROTOBUF_FIELD_OFFSET(RegularLimitParameters, _impl_.time_)>(
513 reinterpret_cast<char*>(&_impl_.time_),
514 reinterpret_cast<char*>(&other->_impl_.time_));
515}
516
517::google::protobuf::Metadata RegularLimitParameters::GetMetadata() const {
518 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
519}
520// @@protoc_insertion_point(namespace_scope)
521} // namespace operations_research
522namespace google {
523namespace protobuf {
524} // namespace protobuf
525} // namespace google
526// @@protoc_insertion_point(global_scope)
527PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
528 _static_init2_ [[maybe_unused]] =
530 ::std::false_type{});
531#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
decltype(::std::declval< RegularLimitParameters >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
void CopyFrom(const RegularLimitParameters &from)
void MergeFrom(const RegularLimitParameters &from)
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(RegularLimitParameters &a, RegularLimitParameters &b)
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
OR-Tools root namespace.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RegularLimitParametersDefaultTypeInternal _RegularLimitParameters_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RegularLimitParameters_class_data_
const ::uint32_t TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto
::absl::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto_once
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto