OR-Tools  9.2
solver_parameters.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/constraint_solver/solver_parameters.proto
3
5
6#include <algorithm>
7
8#include <google/protobuf/io/coded_stream.h>
9#include <google/protobuf/extension_set.h>
10#include <google/protobuf/wire_format_lite.h>
11#include <google/protobuf/descriptor.h>
12#include <google/protobuf/generated_message_reflection.h>
13#include <google/protobuf/reflection_ops.h>
14#include <google/protobuf/wire_format.h>
15// @@protoc_insertion_point(includes)
16#include <google/protobuf/port_def.inc>
17
18PROTOBUF_PRAGMA_INIT_SEG
19namespace operations_research {
21 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
22 : profile_file_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
23 , compress_trail_(0)
24
25 , trail_block_size_(0)
26 , array_split_size_(0)
27 , store_names_(false)
28 , name_cast_variables_(false)
29 , name_all_variables_(false)
30 , profile_propagation_(false)
31 , print_model_(false)
32 , print_model_stats_(false)
33 , print_added_constraints_(false)
34 , disable_solve_(false)
35 , profile_local_search_(false)
36 , print_local_search_profile_(false)
37 , trace_propagation_(false)
38 , trace_search_(false)
39 , check_solution_period_(0)
40 , use_small_table_(false)
41 , use_cumulative_edge_finder_(false)
42 , use_cumulative_time_table_(false)
43 , use_cumulative_time_table_sync_(false)
44 , max_edge_finder_size_(0)
45 , use_sequence_high_demand_tasks_(false)
46 , use_all_possible_disjunctions_(false)
47 , diffn_use_cumulative_(false)
48 , use_element_rmq_(false)
49 , skip_locally_optimal_paths_(false){}
52 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
54 union {
56 };
57};
59} // namespace operations_research
62static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto = nullptr;
63
65 ~0u, // no _has_bits_
66 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, _internal_metadata_),
67 ~0u, // no _extensions_
68 ~0u, // no _oneof_case_
69 ~0u, // no _weak_field_map_
70 ~0u, // no _inlined_string_donated_
71 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, compress_trail_),
72 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, trail_block_size_),
73 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, array_split_size_),
74 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, store_names_),
75 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, name_cast_variables_),
76 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, name_all_variables_),
77 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, profile_propagation_),
78 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, profile_file_),
79 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, profile_local_search_),
80 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, print_local_search_profile_),
81 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, trace_propagation_),
82 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, trace_search_),
83 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, print_model_),
84 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, print_model_stats_),
85 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, print_added_constraints_),
86 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, disable_solve_),
87 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_small_table_),
88 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_cumulative_edge_finder_),
89 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_cumulative_time_table_),
90 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_cumulative_time_table_sync_),
91 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_sequence_high_demand_tasks_),
92 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_all_possible_disjunctions_),
93 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, max_edge_finder_size_),
94 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, diffn_use_cumulative_),
95 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, use_element_rmq_),
96 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, skip_locally_optimal_paths_),
97 PROTOBUF_FIELD_OFFSET(::operations_research::ConstraintSolverParameters, check_solution_period_),
98};
99static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
101};
102
103static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
104 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_ConstraintSolverParameters_default_instance_),
105};
106
107const char descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
108 "\n1ortools/constraint_solver/solver_param"
109 "eters.proto\022\023operations_research\"\315\007\n\032Con"
110 "straintSolverParameters\022X\n\016compress_trai"
111 "l\030\001 \001(\0162@.operations_research.Constraint"
112 "SolverParameters.TrailCompression\022\030\n\020tra"
113 "il_block_size\030\002 \001(\005\022\030\n\020array_split_size\030"
114 "\003 \001(\005\022\023\n\013store_names\030\004 \001(\010\022\033\n\023name_cast_"
115 "variables\030\005 \001(\010\022\032\n\022name_all_variables\030\006 "
116 "\001(\010\022\033\n\023profile_propagation\030\007 \001(\010\022\024\n\014prof"
117 "ile_file\030\010 \001(\t\022\034\n\024profile_local_search\030\020"
118 " \001(\010\022\"\n\032print_local_search_profile\030\021 \001(\010"
119 "\022\031\n\021trace_propagation\030\t \001(\010\022\024\n\014trace_sea"
120 "rch\030\n \001(\010\022\023\n\013print_model\030\013 \001(\010\022\031\n\021print_"
121 "model_stats\030\014 \001(\010\022\037\n\027print_added_constra"
122 "ints\030\r \001(\010\022\025\n\rdisable_solve\030\017 \001(\010\022\027\n\017use"
123 "_small_table\030e \001(\010\022\"\n\032use_cumulative_edg"
124 "e_finder\030i \001(\010\022!\n\031use_cumulative_time_ta"
125 "ble\030j \001(\010\022&\n\036use_cumulative_time_table_s"
126 "ync\030p \001(\010\022&\n\036use_sequence_high_demand_ta"
127 "sks\030k \001(\010\022%\n\035use_all_possible_disjunctio"
128 "ns\030l \001(\010\022\034\n\024max_edge_finder_size\030m \001(\005\022\034"
129 "\n\024diffn_use_cumulative\030n \001(\010\022\027\n\017use_elem"
130 "ent_rmq\030o \001(\010\022\"\n\032skip_locally_optimal_pa"
131 "ths\030q \001(\010\022\035\n\025check_solution_period\030r \001(\005"
132 "\">\n\020TrailCompression\022\022\n\016NO_COMPRESSION\020\000"
133 "\022\026\n\022COMPRESS_WITH_ZLIB\020\001J\004\010d\020eJ\004\010f\020gJ\004\010g"
134 "\020hJ\004\010h\020iBI\n#com.google.ortools.constrain"
135 "tsolverP\001\252\002\037Google.OrTools.ConstraintSol"
136 "verb\006proto3"
137 ;
139const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto = {
140 false, false, 1131, descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto, "ortools/constraint_solver/solver_parameters.proto",
144};
145PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable* descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_getter() {
147}
148
149// Force running AddDescriptors() at dynamic initialization time.
150PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto(&descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto);
151namespace operations_research {
152const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConstraintSolverParameters_TrailCompression_descriptor() {
153 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto);
155}
157 switch (value) {
158 case 0:
159 case 1:
160 return true;
161 default:
162 return false;
163 }
164}
165
166#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
172#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
173
174// ===================================================================
175
177 public:
178};
179
180ConstraintSolverParameters::ConstraintSolverParameters(::PROTOBUF_NAMESPACE_ID::Arena* arena,
181 bool is_message_owned)
182 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
183 SharedCtor();
184 if (!is_message_owned) {
185 RegisterArenaDtor(arena);
186 }
187 // @@protoc_insertion_point(arena_constructor:operations_research.ConstraintSolverParameters)
188}
190 : ::PROTOBUF_NAMESPACE_ID::Message() {
191 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
192 profile_file_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
193 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
194 profile_file_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
195 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
196 if (!from._internal_profile_file().empty()) {
197 profile_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_profile_file(),
198 GetArenaForAllocation());
199 }
200 ::memcpy(&compress_trail_, &from.compress_trail_,
201 static_cast<size_t>(reinterpret_cast<char*>(&skip_locally_optimal_paths_) -
202 reinterpret_cast<char*>(&compress_trail_)) + sizeof(skip_locally_optimal_paths_));
203 // @@protoc_insertion_point(copy_constructor:operations_research.ConstraintSolverParameters)
204}
205
206inline void ConstraintSolverParameters::SharedCtor() {
207profile_file_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
208#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
209 profile_file_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
210#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
211::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
212 reinterpret_cast<char*>(&compress_trail_) - reinterpret_cast<char*>(this)),
213 0, static_cast<size_t>(reinterpret_cast<char*>(&skip_locally_optimal_paths_) -
214 reinterpret_cast<char*>(&compress_trail_)) + sizeof(skip_locally_optimal_paths_));
215}
216
218 // @@protoc_insertion_point(destructor:operations_research.ConstraintSolverParameters)
219 if (GetArenaForAllocation() != nullptr) return;
220 SharedDtor();
221 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
222}
223
224inline void ConstraintSolverParameters::SharedDtor() {
225 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
226 profile_file_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
227}
228
229void ConstraintSolverParameters::ArenaDtor(void* object) {
230 ConstraintSolverParameters* _this = reinterpret_cast< ConstraintSolverParameters* >(object);
231 (void)_this;
232}
233void ConstraintSolverParameters::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
234}
235void ConstraintSolverParameters::SetCachedSize(int size) const {
236 _cached_size_.Set(size);
237}
238
240// @@protoc_insertion_point(message_clear_start:operations_research.ConstraintSolverParameters)
241 uint32_t cached_has_bits = 0;
242 // Prevent compiler warnings about cached_has_bits being unused
243 (void) cached_has_bits;
244
245 profile_file_.ClearToEmpty();
246 ::memset(&compress_trail_, 0, static_cast<size_t>(
247 reinterpret_cast<char*>(&skip_locally_optimal_paths_) -
248 reinterpret_cast<char*>(&compress_trail_)) + sizeof(skip_locally_optimal_paths_));
249 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
250}
251
252const char* ConstraintSolverParameters::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
253#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
254 while (!ctx->Done(&ptr)) {
255 uint32_t tag;
256 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
257 switch (tag >> 3) {
258 // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
259 case 1:
260 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
261 uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
262 CHK_(ptr);
263 _internal_set_compress_trail(static_cast<::operations_research::ConstraintSolverParameters_TrailCompression>(val));
264 } else
265 goto handle_unusual;
266 continue;
267 // int32 trail_block_size = 2;
268 case 2:
269 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
270 trail_block_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
271 CHK_(ptr);
272 } else
273 goto handle_unusual;
274 continue;
275 // int32 array_split_size = 3;
276 case 3:
277 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
278 array_split_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
279 CHK_(ptr);
280 } else
281 goto handle_unusual;
282 continue;
283 // bool store_names = 4;
284 case 4:
285 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
286 store_names_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
287 CHK_(ptr);
288 } else
289 goto handle_unusual;
290 continue;
291 // bool name_cast_variables = 5;
292 case 5:
293 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
294 name_cast_variables_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
295 CHK_(ptr);
296 } else
297 goto handle_unusual;
298 continue;
299 // bool name_all_variables = 6;
300 case 6:
301 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
302 name_all_variables_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
303 CHK_(ptr);
304 } else
305 goto handle_unusual;
306 continue;
307 // bool profile_propagation = 7;
308 case 7:
309 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
310 profile_propagation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
311 CHK_(ptr);
312 } else
313 goto handle_unusual;
314 continue;
315 // string profile_file = 8;
316 case 8:
317 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
318 auto str = _internal_mutable_profile_file();
319 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
320 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "operations_research.ConstraintSolverParameters.profile_file"));
321 CHK_(ptr);
322 } else
323 goto handle_unusual;
324 continue;
325 // bool trace_propagation = 9;
326 case 9:
327 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
328 trace_propagation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
329 CHK_(ptr);
330 } else
331 goto handle_unusual;
332 continue;
333 // bool trace_search = 10;
334 case 10:
335 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
336 trace_search_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
337 CHK_(ptr);
338 } else
339 goto handle_unusual;
340 continue;
341 // bool print_model = 11;
342 case 11:
343 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
344 print_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
345 CHK_(ptr);
346 } else
347 goto handle_unusual;
348 continue;
349 // bool print_model_stats = 12;
350 case 12:
351 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 96)) {
352 print_model_stats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
353 CHK_(ptr);
354 } else
355 goto handle_unusual;
356 continue;
357 // bool print_added_constraints = 13;
358 case 13:
359 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 104)) {
360 print_added_constraints_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
361 CHK_(ptr);
362 } else
363 goto handle_unusual;
364 continue;
365 // bool disable_solve = 15;
366 case 15:
367 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 120)) {
368 disable_solve_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
369 CHK_(ptr);
370 } else
371 goto handle_unusual;
372 continue;
373 // bool profile_local_search = 16;
374 case 16:
375 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 128)) {
376 profile_local_search_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
377 CHK_(ptr);
378 } else
379 goto handle_unusual;
380 continue;
381 // bool print_local_search_profile = 17;
382 case 17:
383 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 136)) {
384 print_local_search_profile_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
385 CHK_(ptr);
386 } else
387 goto handle_unusual;
388 continue;
389 // bool use_small_table = 101;
390 case 101:
391 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
392 use_small_table_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
393 CHK_(ptr);
394 } else
395 goto handle_unusual;
396 continue;
397 // bool use_cumulative_edge_finder = 105;
398 case 105:
399 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
400 use_cumulative_edge_finder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
401 CHK_(ptr);
402 } else
403 goto handle_unusual;
404 continue;
405 // bool use_cumulative_time_table = 106;
406 case 106:
407 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
408 use_cumulative_time_table_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
409 CHK_(ptr);
410 } else
411 goto handle_unusual;
412 continue;
413 // bool use_sequence_high_demand_tasks = 107;
414 case 107:
415 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
416 use_sequence_high_demand_tasks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
417 CHK_(ptr);
418 } else
419 goto handle_unusual;
420 continue;
421 // bool use_all_possible_disjunctions = 108;
422 case 108:
423 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 96)) {
424 use_all_possible_disjunctions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
425 CHK_(ptr);
426 } else
427 goto handle_unusual;
428 continue;
429 // int32 max_edge_finder_size = 109;
430 case 109:
431 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 104)) {
432 max_edge_finder_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
433 CHK_(ptr);
434 } else
435 goto handle_unusual;
436 continue;
437 // bool diffn_use_cumulative = 110;
438 case 110:
439 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 112)) {
440 diffn_use_cumulative_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
441 CHK_(ptr);
442 } else
443 goto handle_unusual;
444 continue;
445 // bool use_element_rmq = 111;
446 case 111:
447 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 120)) {
448 use_element_rmq_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
449 CHK_(ptr);
450 } else
451 goto handle_unusual;
452 continue;
453 // bool use_cumulative_time_table_sync = 112;
454 case 112:
455 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 128)) {
456 use_cumulative_time_table_sync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
457 CHK_(ptr);
458 } else
459 goto handle_unusual;
460 continue;
461 // bool skip_locally_optimal_paths = 113;
462 case 113:
463 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 136)) {
464 skip_locally_optimal_paths_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
465 CHK_(ptr);
466 } else
467 goto handle_unusual;
468 continue;
469 // int32 check_solution_period = 114;
470 case 114:
471 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 144)) {
472 check_solution_period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
473 CHK_(ptr);
474 } else
475 goto handle_unusual;
476 continue;
477 default:
478 goto handle_unusual;
479 } // switch
480 handle_unusual:
481 if ((tag == 0) || ((tag & 7) == 4)) {
482 CHK_(ptr);
483 ctx->SetLastTag(tag);
484 goto message_done;
485 }
486 ptr = UnknownFieldParse(
487 tag,
488 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
489 ptr, ctx);
490 CHK_(ptr != nullptr);
491 } // while
492message_done:
493 return ptr;
494failure:
495 ptr = nullptr;
496 goto message_done;
497#undef CHK_
498}
499
501 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
502 // @@protoc_insertion_point(serialize_to_array_start:operations_research.ConstraintSolverParameters)
503 uint32_t cached_has_bits = 0;
504 (void) cached_has_bits;
505
506 // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
507 if (this->_internal_compress_trail() != 0) {
508 target = stream->EnsureSpace(target);
509 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
510 1, this->_internal_compress_trail(), target);
511 }
512
513 // int32 trail_block_size = 2;
514 if (this->_internal_trail_block_size() != 0) {
515 target = stream->EnsureSpace(target);
516 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_trail_block_size(), target);
517 }
518
519 // int32 array_split_size = 3;
520 if (this->_internal_array_split_size() != 0) {
521 target = stream->EnsureSpace(target);
522 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_array_split_size(), target);
523 }
524
525 // bool store_names = 4;
526 if (this->_internal_store_names() != 0) {
527 target = stream->EnsureSpace(target);
528 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_store_names(), target);
529 }
530
531 // bool name_cast_variables = 5;
532 if (this->_internal_name_cast_variables() != 0) {
533 target = stream->EnsureSpace(target);
534 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_name_cast_variables(), target);
535 }
536
537 // bool name_all_variables = 6;
538 if (this->_internal_name_all_variables() != 0) {
539 target = stream->EnsureSpace(target);
540 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_name_all_variables(), target);
541 }
542
543 // bool profile_propagation = 7;
544 if (this->_internal_profile_propagation() != 0) {
545 target = stream->EnsureSpace(target);
546 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_profile_propagation(), target);
547 }
548
549 // string profile_file = 8;
550 if (!this->_internal_profile_file().empty()) {
551 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
552 this->_internal_profile_file().data(), static_cast<int>(this->_internal_profile_file().length()),
553 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
554 "operations_research.ConstraintSolverParameters.profile_file");
555 target = stream->WriteStringMaybeAliased(
556 8, this->_internal_profile_file(), target);
557 }
558
559 // bool trace_propagation = 9;
560 if (this->_internal_trace_propagation() != 0) {
561 target = stream->EnsureSpace(target);
562 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_trace_propagation(), target);
563 }
564
565 // bool trace_search = 10;
566 if (this->_internal_trace_search() != 0) {
567 target = stream->EnsureSpace(target);
568 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(10, this->_internal_trace_search(), target);
569 }
570
571 // bool print_model = 11;
572 if (this->_internal_print_model() != 0) {
573 target = stream->EnsureSpace(target);
574 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_print_model(), target);
575 }
576
577 // bool print_model_stats = 12;
578 if (this->_internal_print_model_stats() != 0) {
579 target = stream->EnsureSpace(target);
580 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_print_model_stats(), target);
581 }
582
583 // bool print_added_constraints = 13;
584 if (this->_internal_print_added_constraints() != 0) {
585 target = stream->EnsureSpace(target);
586 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(13, this->_internal_print_added_constraints(), target);
587 }
588
589 // bool disable_solve = 15;
590 if (this->_internal_disable_solve() != 0) {
591 target = stream->EnsureSpace(target);
592 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(15, this->_internal_disable_solve(), target);
593 }
594
595 // bool profile_local_search = 16;
596 if (this->_internal_profile_local_search() != 0) {
597 target = stream->EnsureSpace(target);
598 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(16, this->_internal_profile_local_search(), target);
599 }
600
601 // bool print_local_search_profile = 17;
602 if (this->_internal_print_local_search_profile() != 0) {
603 target = stream->EnsureSpace(target);
604 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(17, this->_internal_print_local_search_profile(), target);
605 }
606
607 // bool use_small_table = 101;
608 if (this->_internal_use_small_table() != 0) {
609 target = stream->EnsureSpace(target);
610 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(101, this->_internal_use_small_table(), target);
611 }
612
613 // bool use_cumulative_edge_finder = 105;
614 if (this->_internal_use_cumulative_edge_finder() != 0) {
615 target = stream->EnsureSpace(target);
616 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(105, this->_internal_use_cumulative_edge_finder(), target);
617 }
618
619 // bool use_cumulative_time_table = 106;
620 if (this->_internal_use_cumulative_time_table() != 0) {
621 target = stream->EnsureSpace(target);
622 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(106, this->_internal_use_cumulative_time_table(), target);
623 }
624
625 // bool use_sequence_high_demand_tasks = 107;
626 if (this->_internal_use_sequence_high_demand_tasks() != 0) {
627 target = stream->EnsureSpace(target);
628 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(107, this->_internal_use_sequence_high_demand_tasks(), target);
629 }
630
631 // bool use_all_possible_disjunctions = 108;
632 if (this->_internal_use_all_possible_disjunctions() != 0) {
633 target = stream->EnsureSpace(target);
634 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(108, this->_internal_use_all_possible_disjunctions(), target);
635 }
636
637 // int32 max_edge_finder_size = 109;
638 if (this->_internal_max_edge_finder_size() != 0) {
639 target = stream->EnsureSpace(target);
640 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(109, this->_internal_max_edge_finder_size(), target);
641 }
642
643 // bool diffn_use_cumulative = 110;
644 if (this->_internal_diffn_use_cumulative() != 0) {
645 target = stream->EnsureSpace(target);
646 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(110, this->_internal_diffn_use_cumulative(), target);
647 }
648
649 // bool use_element_rmq = 111;
650 if (this->_internal_use_element_rmq() != 0) {
651 target = stream->EnsureSpace(target);
652 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(111, this->_internal_use_element_rmq(), target);
653 }
654
655 // bool use_cumulative_time_table_sync = 112;
656 if (this->_internal_use_cumulative_time_table_sync() != 0) {
657 target = stream->EnsureSpace(target);
658 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(112, this->_internal_use_cumulative_time_table_sync(), target);
659 }
660
661 // bool skip_locally_optimal_paths = 113;
662 if (this->_internal_skip_locally_optimal_paths() != 0) {
663 target = stream->EnsureSpace(target);
664 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(113, this->_internal_skip_locally_optimal_paths(), target);
665 }
666
667 // int32 check_solution_period = 114;
668 if (this->_internal_check_solution_period() != 0) {
669 target = stream->EnsureSpace(target);
670 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(114, this->_internal_check_solution_period(), target);
671 }
672
673 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
674 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
675 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
676 }
677 // @@protoc_insertion_point(serialize_to_array_end:operations_research.ConstraintSolverParameters)
678 return target;
679}
680
682// @@protoc_insertion_point(message_byte_size_start:operations_research.ConstraintSolverParameters)
683 size_t total_size = 0;
684
685 uint32_t cached_has_bits = 0;
686 // Prevent compiler warnings about cached_has_bits being unused
687 (void) cached_has_bits;
688
689 // string profile_file = 8;
690 if (!this->_internal_profile_file().empty()) {
691 total_size += 1 +
692 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
693 this->_internal_profile_file());
694 }
695
696 // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
697 if (this->_internal_compress_trail() != 0) {
698 total_size += 1 +
699 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_compress_trail());
700 }
701
702 // int32 trail_block_size = 2;
703 if (this->_internal_trail_block_size() != 0) {
704 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_trail_block_size());
705 }
706
707 // int32 array_split_size = 3;
708 if (this->_internal_array_split_size() != 0) {
709 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_array_split_size());
710 }
711
712 // bool store_names = 4;
713 if (this->_internal_store_names() != 0) {
714 total_size += 1 + 1;
715 }
716
717 // bool name_cast_variables = 5;
718 if (this->_internal_name_cast_variables() != 0) {
719 total_size += 1 + 1;
720 }
721
722 // bool name_all_variables = 6;
723 if (this->_internal_name_all_variables() != 0) {
724 total_size += 1 + 1;
725 }
726
727 // bool profile_propagation = 7;
728 if (this->_internal_profile_propagation() != 0) {
729 total_size += 1 + 1;
730 }
731
732 // bool print_model = 11;
733 if (this->_internal_print_model() != 0) {
734 total_size += 1 + 1;
735 }
736
737 // bool print_model_stats = 12;
738 if (this->_internal_print_model_stats() != 0) {
739 total_size += 1 + 1;
740 }
741
742 // bool print_added_constraints = 13;
743 if (this->_internal_print_added_constraints() != 0) {
744 total_size += 1 + 1;
745 }
746
747 // bool disable_solve = 15;
748 if (this->_internal_disable_solve() != 0) {
749 total_size += 1 + 1;
750 }
751
752 // bool profile_local_search = 16;
753 if (this->_internal_profile_local_search() != 0) {
754 total_size += 2 + 1;
755 }
756
757 // bool print_local_search_profile = 17;
758 if (this->_internal_print_local_search_profile() != 0) {
759 total_size += 2 + 1;
760 }
761
762 // bool trace_propagation = 9;
763 if (this->_internal_trace_propagation() != 0) {
764 total_size += 1 + 1;
765 }
766
767 // bool trace_search = 10;
768 if (this->_internal_trace_search() != 0) {
769 total_size += 1 + 1;
770 }
771
772 // int32 check_solution_period = 114;
773 if (this->_internal_check_solution_period() != 0) {
774 total_size += 2 +
775 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
776 this->_internal_check_solution_period());
777 }
778
779 // bool use_small_table = 101;
780 if (this->_internal_use_small_table() != 0) {
781 total_size += 2 + 1;
782 }
783
784 // bool use_cumulative_edge_finder = 105;
785 if (this->_internal_use_cumulative_edge_finder() != 0) {
786 total_size += 2 + 1;
787 }
788
789 // bool use_cumulative_time_table = 106;
790 if (this->_internal_use_cumulative_time_table() != 0) {
791 total_size += 2 + 1;
792 }
793
794 // bool use_cumulative_time_table_sync = 112;
795 if (this->_internal_use_cumulative_time_table_sync() != 0) {
796 total_size += 2 + 1;
797 }
798
799 // int32 max_edge_finder_size = 109;
800 if (this->_internal_max_edge_finder_size() != 0) {
801 total_size += 2 +
802 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
803 this->_internal_max_edge_finder_size());
804 }
805
806 // bool use_sequence_high_demand_tasks = 107;
807 if (this->_internal_use_sequence_high_demand_tasks() != 0) {
808 total_size += 2 + 1;
809 }
810
811 // bool use_all_possible_disjunctions = 108;
812 if (this->_internal_use_all_possible_disjunctions() != 0) {
813 total_size += 2 + 1;
814 }
815
816 // bool diffn_use_cumulative = 110;
817 if (this->_internal_diffn_use_cumulative() != 0) {
818 total_size += 2 + 1;
819 }
820
821 // bool use_element_rmq = 111;
822 if (this->_internal_use_element_rmq() != 0) {
823 total_size += 2 + 1;
824 }
825
826 // bool skip_locally_optimal_paths = 113;
827 if (this->_internal_skip_locally_optimal_paths() != 0) {
828 total_size += 2 + 1;
829 }
830
831 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
832}
833
834const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ConstraintSolverParameters::_class_data_ = {
835 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
836 ConstraintSolverParameters::MergeImpl
837};
838const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ConstraintSolverParameters::GetClassData() const { return &_class_data_; }
839
840void ConstraintSolverParameters::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
841 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
842 static_cast<ConstraintSolverParameters *>(to)->MergeFrom(
843 static_cast<const ConstraintSolverParameters &>(from));
844}
845
846
848// @@protoc_insertion_point(class_specific_merge_from_start:operations_research.ConstraintSolverParameters)
849 GOOGLE_DCHECK_NE(&from, this);
850 uint32_t cached_has_bits = 0;
851 (void) cached_has_bits;
852
853 if (!from._internal_profile_file().empty()) {
854 _internal_set_profile_file(from._internal_profile_file());
855 }
856 if (from._internal_compress_trail() != 0) {
857 _internal_set_compress_trail(from._internal_compress_trail());
858 }
859 if (from._internal_trail_block_size() != 0) {
860 _internal_set_trail_block_size(from._internal_trail_block_size());
861 }
862 if (from._internal_array_split_size() != 0) {
863 _internal_set_array_split_size(from._internal_array_split_size());
864 }
865 if (from._internal_store_names() != 0) {
866 _internal_set_store_names(from._internal_store_names());
867 }
868 if (from._internal_name_cast_variables() != 0) {
869 _internal_set_name_cast_variables(from._internal_name_cast_variables());
870 }
871 if (from._internal_name_all_variables() != 0) {
872 _internal_set_name_all_variables(from._internal_name_all_variables());
873 }
874 if (from._internal_profile_propagation() != 0) {
875 _internal_set_profile_propagation(from._internal_profile_propagation());
876 }
877 if (from._internal_print_model() != 0) {
878 _internal_set_print_model(from._internal_print_model());
879 }
880 if (from._internal_print_model_stats() != 0) {
881 _internal_set_print_model_stats(from._internal_print_model_stats());
882 }
883 if (from._internal_print_added_constraints() != 0) {
884 _internal_set_print_added_constraints(from._internal_print_added_constraints());
885 }
886 if (from._internal_disable_solve() != 0) {
887 _internal_set_disable_solve(from._internal_disable_solve());
888 }
889 if (from._internal_profile_local_search() != 0) {
890 _internal_set_profile_local_search(from._internal_profile_local_search());
891 }
892 if (from._internal_print_local_search_profile() != 0) {
893 _internal_set_print_local_search_profile(from._internal_print_local_search_profile());
894 }
895 if (from._internal_trace_propagation() != 0) {
896 _internal_set_trace_propagation(from._internal_trace_propagation());
897 }
898 if (from._internal_trace_search() != 0) {
899 _internal_set_trace_search(from._internal_trace_search());
900 }
901 if (from._internal_check_solution_period() != 0) {
902 _internal_set_check_solution_period(from._internal_check_solution_period());
903 }
904 if (from._internal_use_small_table() != 0) {
905 _internal_set_use_small_table(from._internal_use_small_table());
906 }
907 if (from._internal_use_cumulative_edge_finder() != 0) {
908 _internal_set_use_cumulative_edge_finder(from._internal_use_cumulative_edge_finder());
909 }
910 if (from._internal_use_cumulative_time_table() != 0) {
911 _internal_set_use_cumulative_time_table(from._internal_use_cumulative_time_table());
912 }
913 if (from._internal_use_cumulative_time_table_sync() != 0) {
914 _internal_set_use_cumulative_time_table_sync(from._internal_use_cumulative_time_table_sync());
915 }
916 if (from._internal_max_edge_finder_size() != 0) {
917 _internal_set_max_edge_finder_size(from._internal_max_edge_finder_size());
918 }
919 if (from._internal_use_sequence_high_demand_tasks() != 0) {
920 _internal_set_use_sequence_high_demand_tasks(from._internal_use_sequence_high_demand_tasks());
921 }
922 if (from._internal_use_all_possible_disjunctions() != 0) {
923 _internal_set_use_all_possible_disjunctions(from._internal_use_all_possible_disjunctions());
924 }
925 if (from._internal_diffn_use_cumulative() != 0) {
926 _internal_set_diffn_use_cumulative(from._internal_diffn_use_cumulative());
927 }
928 if (from._internal_use_element_rmq() != 0) {
929 _internal_set_use_element_rmq(from._internal_use_element_rmq());
930 }
931 if (from._internal_skip_locally_optimal_paths() != 0) {
932 _internal_set_skip_locally_optimal_paths(from._internal_skip_locally_optimal_paths());
933 }
934 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
935}
936
938// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.ConstraintSolverParameters)
939 if (&from == this) return;
940 Clear();
941 MergeFrom(from);
942}
943
945 return true;
946}
947
948void ConstraintSolverParameters::InternalSwap(ConstraintSolverParameters* other) {
949 using std::swap;
950 auto* lhs_arena = GetArenaForAllocation();
951 auto* rhs_arena = other->GetArenaForAllocation();
952 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
953 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
954 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
955 &profile_file_, lhs_arena,
956 &other->profile_file_, rhs_arena
957 );
958 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
959 PROTOBUF_FIELD_OFFSET(ConstraintSolverParameters, skip_locally_optimal_paths_)
960 + sizeof(ConstraintSolverParameters::skip_locally_optimal_paths_)
961 - PROTOBUF_FIELD_OFFSET(ConstraintSolverParameters, compress_trail_)>(
962 reinterpret_cast<char*>(&compress_trail_),
963 reinterpret_cast<char*>(&other->compress_trail_));
964}
965
966::PROTOBUF_NAMESPACE_ID::Metadata ConstraintSolverParameters::GetMetadata() const {
967 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
970}
971
972// @@protoc_insertion_point(namespace_scope)
973} // namespace operations_research
974PROTOBUF_NAMESPACE_OPEN
975template<> PROTOBUF_NOINLINE ::operations_research::ConstraintSolverParameters* Arena::CreateMaybeMessage< ::operations_research::ConstraintSolverParameters >(Arena* arena) {
976 return Arena::CreateMessageInternal< ::operations_research::ConstraintSolverParameters >(arena);
977}
978PROTOBUF_NAMESPACE_CLOSE
979
980// @@protoc_insertion_point(global_scope)
981#include <google/protobuf/port_undef.inc>
void CopyFrom(const ConstraintSolverParameters &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static constexpr TrailCompression COMPRESS_WITH_ZLIB
static constexpr TrailCompression TrailCompression_MAX
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const ConstraintSolverParameters &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr TrailCompression TrailCompression_MIN
static constexpr TrailCompression NO_COMPRESSION
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int64_t value
void swap(IdMap< K, V > &a, IdMap< K, V > &b)
Definition: id_map.h:263
Collection of objects used to extend the Constraint Solver library.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_
bool ConstraintSolverParameters_TrailCompression_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ConstraintSolverParameters_TrailCompression_descriptor()
static constexpr::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema * schemas
PROTOBUF_ATTRIBUTE_WEAKconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable * descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_getter()
#define CHK_(x)
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto[1]
::PROTOBUF_NAMESPACE_ID::Message const *const file_default_instances[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
static constexpr::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto[1]
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_once
const uint32_t TableStruct_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE::operations_research::ConstraintSolverParameters * Arena::CreateMaybeMessage< ::operations_research::ConstraintSolverParameters >(Arena *arena)