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