OR-Tools  9.1
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)
172#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
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 if (!from._internal_profile_file().empty()) {
194 profile_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_profile_file(),
195 GetArenaForAllocation());
196 }
197 ::memcpy(&compress_trail_, &from.compress_trail_,
198 static_cast<size_t>(reinterpret_cast<char*>(&skip_locally_optimal_paths_) -
199 reinterpret_cast<char*>(&compress_trail_)) + sizeof(skip_locally_optimal_paths_));
200 // @@protoc_insertion_point(copy_constructor:operations_research.ConstraintSolverParameters)
201}
202
203void ConstraintSolverParameters::SharedCtor() {
204profile_file_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
205::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
206 reinterpret_cast<char*>(&compress_trail_) - reinterpret_cast<char*>(this)),
207 0, static_cast<size_t>(reinterpret_cast<char*>(&skip_locally_optimal_paths_) -
208 reinterpret_cast<char*>(&compress_trail_)) + sizeof(skip_locally_optimal_paths_));
209}
210
212 // @@protoc_insertion_point(destructor:operations_research.ConstraintSolverParameters)
213 if (GetArenaForAllocation() != nullptr) return;
214 SharedDtor();
215 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
216}
217
218inline void ConstraintSolverParameters::SharedDtor() {
219 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
220 profile_file_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
221}
222
223void ConstraintSolverParameters::ArenaDtor(void* object) {
224 ConstraintSolverParameters* _this = reinterpret_cast< ConstraintSolverParameters* >(object);
225 (void)_this;
226}
227void ConstraintSolverParameters::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
228}
229void ConstraintSolverParameters::SetCachedSize(int size) const {
230 _cached_size_.Set(size);
231}
232
234// @@protoc_insertion_point(message_clear_start:operations_research.ConstraintSolverParameters)
235 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
236 // Prevent compiler warnings about cached_has_bits being unused
237 (void) cached_has_bits;
238
239 profile_file_.ClearToEmpty();
240 ::memset(&compress_trail_, 0, static_cast<size_t>(
241 reinterpret_cast<char*>(&skip_locally_optimal_paths_) -
242 reinterpret_cast<char*>(&compress_trail_)) + sizeof(skip_locally_optimal_paths_));
243 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
244}
245
246const char* ConstraintSolverParameters::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
247#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
248 while (!ctx->Done(&ptr)) {
249 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
250 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
251 switch (tag >> 3) {
252 // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
253 case 1:
254 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
255 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
256 CHK_(ptr);
257 _internal_set_compress_trail(static_cast<::operations_research::ConstraintSolverParameters_TrailCompression>(val));
258 } else
259 goto handle_unusual;
260 continue;
261 // int32 trail_block_size = 2;
262 case 2:
263 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
264 trail_block_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
265 CHK_(ptr);
266 } else
267 goto handle_unusual;
268 continue;
269 // int32 array_split_size = 3;
270 case 3:
271 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
272 array_split_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
273 CHK_(ptr);
274 } else
275 goto handle_unusual;
276 continue;
277 // bool store_names = 4;
278 case 4:
279 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
280 store_names_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
281 CHK_(ptr);
282 } else
283 goto handle_unusual;
284 continue;
285 // bool name_cast_variables = 5;
286 case 5:
287 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
288 name_cast_variables_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
289 CHK_(ptr);
290 } else
291 goto handle_unusual;
292 continue;
293 // bool name_all_variables = 6;
294 case 6:
295 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
296 name_all_variables_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
297 CHK_(ptr);
298 } else
299 goto handle_unusual;
300 continue;
301 // bool profile_propagation = 7;
302 case 7:
303 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
304 profile_propagation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
305 CHK_(ptr);
306 } else
307 goto handle_unusual;
308 continue;
309 // string profile_file = 8;
310 case 8:
311 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
312 auto str = _internal_mutable_profile_file();
313 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
314 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "operations_research.ConstraintSolverParameters.profile_file"));
315 CHK_(ptr);
316 } else
317 goto handle_unusual;
318 continue;
319 // bool trace_propagation = 9;
320 case 9:
321 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
322 trace_propagation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
323 CHK_(ptr);
324 } else
325 goto handle_unusual;
326 continue;
327 // bool trace_search = 10;
328 case 10:
329 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
330 trace_search_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
331 CHK_(ptr);
332 } else
333 goto handle_unusual;
334 continue;
335 // bool print_model = 11;
336 case 11:
337 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
338 print_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
339 CHK_(ptr);
340 } else
341 goto handle_unusual;
342 continue;
343 // bool print_model_stats = 12;
344 case 12:
345 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
346 print_model_stats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
347 CHK_(ptr);
348 } else
349 goto handle_unusual;
350 continue;
351 // bool print_added_constraints = 13;
352 case 13:
353 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
354 print_added_constraints_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
355 CHK_(ptr);
356 } else
357 goto handle_unusual;
358 continue;
359 // bool disable_solve = 15;
360 case 15:
361 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) {
362 disable_solve_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
363 CHK_(ptr);
364 } else
365 goto handle_unusual;
366 continue;
367 // bool profile_local_search = 16;
368 case 16:
369 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) {
370 profile_local_search_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
371 CHK_(ptr);
372 } else
373 goto handle_unusual;
374 continue;
375 // bool print_local_search_profile = 17;
376 case 17:
377 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) {
378 print_local_search_profile_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
379 CHK_(ptr);
380 } else
381 goto handle_unusual;
382 continue;
383 // bool use_small_table = 101;
384 case 101:
385 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
386 use_small_table_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
387 CHK_(ptr);
388 } else
389 goto handle_unusual;
390 continue;
391 // bool use_cumulative_edge_finder = 105;
392 case 105:
393 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
394 use_cumulative_edge_finder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
395 CHK_(ptr);
396 } else
397 goto handle_unusual;
398 continue;
399 // bool use_cumulative_time_table = 106;
400 case 106:
401 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
402 use_cumulative_time_table_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
403 CHK_(ptr);
404 } else
405 goto handle_unusual;
406 continue;
407 // bool use_sequence_high_demand_tasks = 107;
408 case 107:
409 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
410 use_sequence_high_demand_tasks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
411 CHK_(ptr);
412 } else
413 goto handle_unusual;
414 continue;
415 // bool use_all_possible_disjunctions = 108;
416 case 108:
417 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
418 use_all_possible_disjunctions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
419 CHK_(ptr);
420 } else
421 goto handle_unusual;
422 continue;
423 // int32 max_edge_finder_size = 109;
424 case 109:
425 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
426 max_edge_finder_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
427 CHK_(ptr);
428 } else
429 goto handle_unusual;
430 continue;
431 // bool diffn_use_cumulative = 110;
432 case 110:
433 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) {
434 diffn_use_cumulative_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
435 CHK_(ptr);
436 } else
437 goto handle_unusual;
438 continue;
439 // bool use_element_rmq = 111;
440 case 111:
441 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) {
442 use_element_rmq_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
443 CHK_(ptr);
444 } else
445 goto handle_unusual;
446 continue;
447 // bool use_cumulative_time_table_sync = 112;
448 case 112:
449 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) {
450 use_cumulative_time_table_sync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
451 CHK_(ptr);
452 } else
453 goto handle_unusual;
454 continue;
455 // bool skip_locally_optimal_paths = 113;
456 case 113:
457 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) {
458 skip_locally_optimal_paths_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
459 CHK_(ptr);
460 } else
461 goto handle_unusual;
462 continue;
463 // int32 check_solution_period = 114;
464 case 114:
465 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) {
466 check_solution_period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
467 CHK_(ptr);
468 } else
469 goto handle_unusual;
470 continue;
471 default:
472 goto handle_unusual;
473 } // switch
474 handle_unusual:
475 if ((tag == 0) || ((tag & 7) == 4)) {
476 CHK_(ptr);
477 ctx->SetLastTag(tag);
478 goto message_done;
479 }
480 ptr = UnknownFieldParse(
481 tag,
482 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
483 ptr, ctx);
484 CHK_(ptr != nullptr);
485 } // while
486message_done:
487 return ptr;
488failure:
489 ptr = nullptr;
490 goto message_done;
491#undef CHK_
492}
493
495 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
496 // @@protoc_insertion_point(serialize_to_array_start:operations_research.ConstraintSolverParameters)
497 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
498 (void) cached_has_bits;
499
500 // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
501 if (this->_internal_compress_trail() != 0) {
502 target = stream->EnsureSpace(target);
503 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
504 1, this->_internal_compress_trail(), target);
505 }
506
507 // int32 trail_block_size = 2;
508 if (this->_internal_trail_block_size() != 0) {
509 target = stream->EnsureSpace(target);
510 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_trail_block_size(), target);
511 }
512
513 // int32 array_split_size = 3;
514 if (this->_internal_array_split_size() != 0) {
515 target = stream->EnsureSpace(target);
516 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_array_split_size(), target);
517 }
518
519 // bool store_names = 4;
520 if (this->_internal_store_names() != 0) {
521 target = stream->EnsureSpace(target);
522 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_store_names(), target);
523 }
524
525 // bool name_cast_variables = 5;
526 if (this->_internal_name_cast_variables() != 0) {
527 target = stream->EnsureSpace(target);
528 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_name_cast_variables(), target);
529 }
530
531 // bool name_all_variables = 6;
532 if (this->_internal_name_all_variables() != 0) {
533 target = stream->EnsureSpace(target);
534 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_name_all_variables(), target);
535 }
536
537 // bool profile_propagation = 7;
538 if (this->_internal_profile_propagation() != 0) {
539 target = stream->EnsureSpace(target);
540 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_profile_propagation(), target);
541 }
542
543 // string profile_file = 8;
544 if (!this->_internal_profile_file().empty()) {
545 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
546 this->_internal_profile_file().data(), static_cast<int>(this->_internal_profile_file().length()),
547 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
548 "operations_research.ConstraintSolverParameters.profile_file");
549 target = stream->WriteStringMaybeAliased(
550 8, this->_internal_profile_file(), target);
551 }
552
553 // bool trace_propagation = 9;
554 if (this->_internal_trace_propagation() != 0) {
555 target = stream->EnsureSpace(target);
556 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_trace_propagation(), target);
557 }
558
559 // bool trace_search = 10;
560 if (this->_internal_trace_search() != 0) {
561 target = stream->EnsureSpace(target);
562 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(10, this->_internal_trace_search(), target);
563 }
564
565 // bool print_model = 11;
566 if (this->_internal_print_model() != 0) {
567 target = stream->EnsureSpace(target);
568 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_print_model(), target);
569 }
570
571 // bool print_model_stats = 12;
572 if (this->_internal_print_model_stats() != 0) {
573 target = stream->EnsureSpace(target);
574 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_print_model_stats(), target);
575 }
576
577 // bool print_added_constraints = 13;
578 if (this->_internal_print_added_constraints() != 0) {
579 target = stream->EnsureSpace(target);
580 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(13, this->_internal_print_added_constraints(), target);
581 }
582
583 // bool disable_solve = 15;
584 if (this->_internal_disable_solve() != 0) {
585 target = stream->EnsureSpace(target);
586 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(15, this->_internal_disable_solve(), target);
587 }
588
589 // bool profile_local_search = 16;
590 if (this->_internal_profile_local_search() != 0) {
591 target = stream->EnsureSpace(target);
592 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(16, this->_internal_profile_local_search(), target);
593 }
594
595 // bool print_local_search_profile = 17;
596 if (this->_internal_print_local_search_profile() != 0) {
597 target = stream->EnsureSpace(target);
598 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(17, this->_internal_print_local_search_profile(), target);
599 }
600
601 // bool use_small_table = 101;
602 if (this->_internal_use_small_table() != 0) {
603 target = stream->EnsureSpace(target);
604 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(101, this->_internal_use_small_table(), target);
605 }
606
607 // bool use_cumulative_edge_finder = 105;
608 if (this->_internal_use_cumulative_edge_finder() != 0) {
609 target = stream->EnsureSpace(target);
610 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(105, this->_internal_use_cumulative_edge_finder(), target);
611 }
612
613 // bool use_cumulative_time_table = 106;
614 if (this->_internal_use_cumulative_time_table() != 0) {
615 target = stream->EnsureSpace(target);
616 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(106, this->_internal_use_cumulative_time_table(), target);
617 }
618
619 // bool use_sequence_high_demand_tasks = 107;
620 if (this->_internal_use_sequence_high_demand_tasks() != 0) {
621 target = stream->EnsureSpace(target);
622 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(107, this->_internal_use_sequence_high_demand_tasks(), target);
623 }
624
625 // bool use_all_possible_disjunctions = 108;
626 if (this->_internal_use_all_possible_disjunctions() != 0) {
627 target = stream->EnsureSpace(target);
628 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(108, this->_internal_use_all_possible_disjunctions(), target);
629 }
630
631 // int32 max_edge_finder_size = 109;
632 if (this->_internal_max_edge_finder_size() != 0) {
633 target = stream->EnsureSpace(target);
634 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(109, this->_internal_max_edge_finder_size(), target);
635 }
636
637 // bool diffn_use_cumulative = 110;
638 if (this->_internal_diffn_use_cumulative() != 0) {
639 target = stream->EnsureSpace(target);
640 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(110, this->_internal_diffn_use_cumulative(), target);
641 }
642
643 // bool use_element_rmq = 111;
644 if (this->_internal_use_element_rmq() != 0) {
645 target = stream->EnsureSpace(target);
646 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(111, this->_internal_use_element_rmq(), target);
647 }
648
649 // bool use_cumulative_time_table_sync = 112;
650 if (this->_internal_use_cumulative_time_table_sync() != 0) {
651 target = stream->EnsureSpace(target);
652 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(112, this->_internal_use_cumulative_time_table_sync(), target);
653 }
654
655 // bool skip_locally_optimal_paths = 113;
656 if (this->_internal_skip_locally_optimal_paths() != 0) {
657 target = stream->EnsureSpace(target);
658 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(113, this->_internal_skip_locally_optimal_paths(), target);
659 }
660
661 // int32 check_solution_period = 114;
662 if (this->_internal_check_solution_period() != 0) {
663 target = stream->EnsureSpace(target);
664 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(114, this->_internal_check_solution_period(), target);
665 }
666
667 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
668 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
669 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
670 }
671 // @@protoc_insertion_point(serialize_to_array_end:operations_research.ConstraintSolverParameters)
672 return target;
673}
674
676// @@protoc_insertion_point(message_byte_size_start:operations_research.ConstraintSolverParameters)
677 size_t total_size = 0;
678
679 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
680 // Prevent compiler warnings about cached_has_bits being unused
681 (void) cached_has_bits;
682
683 // string profile_file = 8;
684 if (!this->_internal_profile_file().empty()) {
685 total_size += 1 +
686 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
687 this->_internal_profile_file());
688 }
689
690 // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
691 if (this->_internal_compress_trail() != 0) {
692 total_size += 1 +
693 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_compress_trail());
694 }
695
696 // int32 trail_block_size = 2;
697 if (this->_internal_trail_block_size() != 0) {
698 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_trail_block_size());
699 }
700
701 // int32 array_split_size = 3;
702 if (this->_internal_array_split_size() != 0) {
703 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_array_split_size());
704 }
705
706 // bool store_names = 4;
707 if (this->_internal_store_names() != 0) {
708 total_size += 1 + 1;
709 }
710
711 // bool name_cast_variables = 5;
712 if (this->_internal_name_cast_variables() != 0) {
713 total_size += 1 + 1;
714 }
715
716 // bool name_all_variables = 6;
717 if (this->_internal_name_all_variables() != 0) {
718 total_size += 1 + 1;
719 }
720
721 // bool profile_propagation = 7;
722 if (this->_internal_profile_propagation() != 0) {
723 total_size += 1 + 1;
724 }
725
726 // bool print_model = 11;
727 if (this->_internal_print_model() != 0) {
728 total_size += 1 + 1;
729 }
730
731 // bool print_model_stats = 12;
732 if (this->_internal_print_model_stats() != 0) {
733 total_size += 1 + 1;
734 }
735
736 // bool print_added_constraints = 13;
737 if (this->_internal_print_added_constraints() != 0) {
738 total_size += 1 + 1;
739 }
740
741 // bool disable_solve = 15;
742 if (this->_internal_disable_solve() != 0) {
743 total_size += 1 + 1;
744 }
745
746 // bool profile_local_search = 16;
747 if (this->_internal_profile_local_search() != 0) {
748 total_size += 2 + 1;
749 }
750
751 // bool print_local_search_profile = 17;
752 if (this->_internal_print_local_search_profile() != 0) {
753 total_size += 2 + 1;
754 }
755
756 // bool trace_propagation = 9;
757 if (this->_internal_trace_propagation() != 0) {
758 total_size += 1 + 1;
759 }
760
761 // bool trace_search = 10;
762 if (this->_internal_trace_search() != 0) {
763 total_size += 1 + 1;
764 }
765
766 // int32 check_solution_period = 114;
767 if (this->_internal_check_solution_period() != 0) {
768 total_size += 2 +
769 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
770 this->_internal_check_solution_period());
771 }
772
773 // bool use_small_table = 101;
774 if (this->_internal_use_small_table() != 0) {
775 total_size += 2 + 1;
776 }
777
778 // bool use_cumulative_edge_finder = 105;
779 if (this->_internal_use_cumulative_edge_finder() != 0) {
780 total_size += 2 + 1;
781 }
782
783 // bool use_cumulative_time_table = 106;
784 if (this->_internal_use_cumulative_time_table() != 0) {
785 total_size += 2 + 1;
786 }
787
788 // bool use_cumulative_time_table_sync = 112;
789 if (this->_internal_use_cumulative_time_table_sync() != 0) {
790 total_size += 2 + 1;
791 }
792
793 // int32 max_edge_finder_size = 109;
794 if (this->_internal_max_edge_finder_size() != 0) {
795 total_size += 2 +
796 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
797 this->_internal_max_edge_finder_size());
798 }
799
800 // bool use_sequence_high_demand_tasks = 107;
801 if (this->_internal_use_sequence_high_demand_tasks() != 0) {
802 total_size += 2 + 1;
803 }
804
805 // bool use_all_possible_disjunctions = 108;
806 if (this->_internal_use_all_possible_disjunctions() != 0) {
807 total_size += 2 + 1;
808 }
809
810 // bool diffn_use_cumulative = 110;
811 if (this->_internal_diffn_use_cumulative() != 0) {
812 total_size += 2 + 1;
813 }
814
815 // bool use_element_rmq = 111;
816 if (this->_internal_use_element_rmq() != 0) {
817 total_size += 2 + 1;
818 }
819
820 // bool skip_locally_optimal_paths = 113;
821 if (this->_internal_skip_locally_optimal_paths() != 0) {
822 total_size += 2 + 1;
823 }
824
825 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
826}
827
828const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ConstraintSolverParameters::_class_data_ = {
829 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
830 ConstraintSolverParameters::MergeImpl
831};
832const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ConstraintSolverParameters::GetClassData() const { return &_class_data_; }
833
834void ConstraintSolverParameters::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
835 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
836 static_cast<ConstraintSolverParameters *>(to)->MergeFrom(
837 static_cast<const ConstraintSolverParameters &>(from));
838}
839
840
842// @@protoc_insertion_point(class_specific_merge_from_start:operations_research.ConstraintSolverParameters)
843 GOOGLE_DCHECK_NE(&from, this);
844 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
845 (void) cached_has_bits;
846
847 if (!from._internal_profile_file().empty()) {
848 _internal_set_profile_file(from._internal_profile_file());
849 }
850 if (from._internal_compress_trail() != 0) {
851 _internal_set_compress_trail(from._internal_compress_trail());
852 }
853 if (from._internal_trail_block_size() != 0) {
854 _internal_set_trail_block_size(from._internal_trail_block_size());
855 }
856 if (from._internal_array_split_size() != 0) {
857 _internal_set_array_split_size(from._internal_array_split_size());
858 }
859 if (from._internal_store_names() != 0) {
860 _internal_set_store_names(from._internal_store_names());
861 }
862 if (from._internal_name_cast_variables() != 0) {
863 _internal_set_name_cast_variables(from._internal_name_cast_variables());
864 }
865 if (from._internal_name_all_variables() != 0) {
866 _internal_set_name_all_variables(from._internal_name_all_variables());
867 }
868 if (from._internal_profile_propagation() != 0) {
869 _internal_set_profile_propagation(from._internal_profile_propagation());
870 }
871 if (from._internal_print_model() != 0) {
872 _internal_set_print_model(from._internal_print_model());
873 }
874 if (from._internal_print_model_stats() != 0) {
875 _internal_set_print_model_stats(from._internal_print_model_stats());
876 }
877 if (from._internal_print_added_constraints() != 0) {
878 _internal_set_print_added_constraints(from._internal_print_added_constraints());
879 }
880 if (from._internal_disable_solve() != 0) {
881 _internal_set_disable_solve(from._internal_disable_solve());
882 }
883 if (from._internal_profile_local_search() != 0) {
884 _internal_set_profile_local_search(from._internal_profile_local_search());
885 }
886 if (from._internal_print_local_search_profile() != 0) {
887 _internal_set_print_local_search_profile(from._internal_print_local_search_profile());
888 }
889 if (from._internal_trace_propagation() != 0) {
890 _internal_set_trace_propagation(from._internal_trace_propagation());
891 }
892 if (from._internal_trace_search() != 0) {
893 _internal_set_trace_search(from._internal_trace_search());
894 }
895 if (from._internal_check_solution_period() != 0) {
896 _internal_set_check_solution_period(from._internal_check_solution_period());
897 }
898 if (from._internal_use_small_table() != 0) {
899 _internal_set_use_small_table(from._internal_use_small_table());
900 }
901 if (from._internal_use_cumulative_edge_finder() != 0) {
902 _internal_set_use_cumulative_edge_finder(from._internal_use_cumulative_edge_finder());
903 }
904 if (from._internal_use_cumulative_time_table() != 0) {
905 _internal_set_use_cumulative_time_table(from._internal_use_cumulative_time_table());
906 }
907 if (from._internal_use_cumulative_time_table_sync() != 0) {
908 _internal_set_use_cumulative_time_table_sync(from._internal_use_cumulative_time_table_sync());
909 }
910 if (from._internal_max_edge_finder_size() != 0) {
911 _internal_set_max_edge_finder_size(from._internal_max_edge_finder_size());
912 }
913 if (from._internal_use_sequence_high_demand_tasks() != 0) {
914 _internal_set_use_sequence_high_demand_tasks(from._internal_use_sequence_high_demand_tasks());
915 }
916 if (from._internal_use_all_possible_disjunctions() != 0) {
917 _internal_set_use_all_possible_disjunctions(from._internal_use_all_possible_disjunctions());
918 }
919 if (from._internal_diffn_use_cumulative() != 0) {
920 _internal_set_diffn_use_cumulative(from._internal_diffn_use_cumulative());
921 }
922 if (from._internal_use_element_rmq() != 0) {
923 _internal_set_use_element_rmq(from._internal_use_element_rmq());
924 }
925 if (from._internal_skip_locally_optimal_paths() != 0) {
926 _internal_set_skip_locally_optimal_paths(from._internal_skip_locally_optimal_paths());
927 }
928 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
929}
930
932// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.ConstraintSolverParameters)
933 if (&from == this) return;
934 Clear();
935 MergeFrom(from);
936}
937
939 return true;
940}
941
942void ConstraintSolverParameters::InternalSwap(ConstraintSolverParameters* other) {
943 using std::swap;
944 auto* lhs_arena = GetArenaForAllocation();
945 auto* rhs_arena = other->GetArenaForAllocation();
946 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
947 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
948 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
949 &profile_file_, lhs_arena,
950 &other->profile_file_, rhs_arena
951 );
952 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
953 PROTOBUF_FIELD_OFFSET(ConstraintSolverParameters, skip_locally_optimal_paths_)
954 + sizeof(ConstraintSolverParameters::skip_locally_optimal_paths_)
955 - PROTOBUF_FIELD_OFFSET(ConstraintSolverParameters, compress_trail_)>(
956 reinterpret_cast<char*>(&compress_trail_),
957 reinterpret_cast<char*>(&other->compress_trail_));
958}
959
960::PROTOBUF_NAMESPACE_ID::Metadata ConstraintSolverParameters::GetMetadata() const {
961 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
964}
965
966// @@protoc_insertion_point(namespace_scope)
967} // namespace operations_research
968PROTOBUF_NAMESPACE_OPEN
969template<> PROTOBUF_NOINLINE ::operations_research::ConstraintSolverParameters* Arena::CreateMaybeMessage< ::operations_research::ConstraintSolverParameters >(Arena* arena) {
970 return Arena::CreateMessageInternal< ::operations_research::ConstraintSolverParameters >(arena);
971}
972PROTOBUF_NAMESPACE_CLOSE
973
974// @@protoc_insertion_point(global_scope)
975#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
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *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]
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
::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
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE::operations_research::ConstraintSolverParameters * Arena::CreateMaybeMessage< ::operations_research::ConstraintSolverParameters >(Arena *arena)