Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
highs.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/math_opt/solvers/highs.proto
4// Protobuf C++ Version: 6.33.1
5
7
8#include <algorithm>
9#include <type_traits>
10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
19// @@protoc_insertion_point(includes)
20
21// Must be included last.
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
24namespace _pb = ::google::protobuf;
26namespace _fl = ::google::protobuf::internal::field_layout;
27namespace operations_research {
28namespace math_opt {
29template <typename>
31#if defined(PROTOBUF_CUSTOM_VTABLE)
32 : HighsOptionsProto_StringOptionsEntry_DoNotUse::MapEntry(HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_.base()){}
33#else // PROTOBUF_CUSTOM_VTABLE
34 : HighsOptionsProto_StringOptionsEntry_DoNotUse::MapEntry() {
35}
36#endif // PROTOBUF_CUSTOM_VTABLE
44
45PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
47template <typename>
49#if defined(PROTOBUF_CUSTOM_VTABLE)
50 : HighsOptionsProto_IntOptionsEntry_DoNotUse::MapEntry(HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_.base()){}
51#else // PROTOBUF_CUSTOM_VTABLE
52 : HighsOptionsProto_IntOptionsEntry_DoNotUse::MapEntry() {
53}
54#endif // PROTOBUF_CUSTOM_VTABLE
62
63PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
65template <typename>
67#if defined(PROTOBUF_CUSTOM_VTABLE)
68 : HighsOptionsProto_DoubleOptionsEntry_DoNotUse::MapEntry(HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_.base()){}
69#else // PROTOBUF_CUSTOM_VTABLE
70 : HighsOptionsProto_DoubleOptionsEntry_DoNotUse::MapEntry() {
71}
72#endif // PROTOBUF_CUSTOM_VTABLE
80
81PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
83template <typename>
85#if defined(PROTOBUF_CUSTOM_VTABLE)
86 : HighsOptionsProto_BoolOptionsEntry_DoNotUse::MapEntry(HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_.base()){}
87#else // PROTOBUF_CUSTOM_VTABLE
88 : HighsOptionsProto_BoolOptionsEntry_DoNotUse::MapEntry() {
89}
90#endif // PROTOBUF_CUSTOM_VTABLE
98
99PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
101
102inline constexpr HighsOptionsProto::Impl_::Impl_(
103 ::_pbi::ConstantInitialized) noexcept
104 : _cached_size_{0},
105 string_options_{},
106 double_options_{},
107 int_options_{},
108 bool_options_{} {}
109
110template <typename>
111PROTOBUF_CONSTEXPR HighsOptionsProto::HighsOptionsProto(::_pbi::ConstantInitialized)
112#if defined(PROTOBUF_CUSTOM_VTABLE)
113 : ::google::protobuf::Message(HighsOptionsProto_class_data_.base()),
114#else // PROTOBUF_CUSTOM_VTABLE
115 : ::google::protobuf::Message(),
116#endif // PROTOBUF_CUSTOM_VTABLE
117 _impl_(::_pbi::ConstantInitialized()) {
118}
126
127PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
129} // namespace math_opt
130} // namespace operations_research
131static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
133static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
135const ::uint32_t
137 protodesc_cold) = {
138 0x081, // bitmap
140 5, // hasbit index offset
143 0,
144 1,
145 0x081, // bitmap
147 5, // hasbit index offset
150 0,
151 1,
152 0x081, // bitmap
154 5, // hasbit index offset
157 0,
158 1,
159 0x081, // bitmap
161 5, // hasbit index offset
164 0,
165 1,
166 0x081, // bitmap
167 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::HighsOptionsProto, _impl_._has_bits_),
168 7, // hasbit index offset
169 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::HighsOptionsProto, _impl_.string_options_),
170 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::HighsOptionsProto, _impl_.double_options_),
171 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::HighsOptionsProto, _impl_.int_options_),
172 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::HighsOptionsProto, _impl_.bool_options_),
173 0,
174 1,
175 2,
176 3,
177};
178
179static const ::_pbi::MigrationSchema
180 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
186};
194const char descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
195 protodesc_cold) = {
196 "\n$ortools/math_opt/solvers/highs.proto\022\034"
197 "operations_research.math_opt\"\314\004\n\021HighsOp"
198 "tionsProto\022Z\n\016string_options\030\001 \003(\0132B.ope"
199 "rations_research.math_opt.HighsOptionsPr"
200 "oto.StringOptionsEntry\022Z\n\016double_options"
201 "\030\002 \003(\0132B.operations_research.math_opt.Hi"
202 "ghsOptionsProto.DoubleOptionsEntry\022T\n\013in"
203 "t_options\030\003 \003(\0132\?.operations_research.ma"
204 "th_opt.HighsOptionsProto.IntOptionsEntry"
205 "\022V\n\014bool_options\030\004 \003(\0132@.operations_rese"
206 "arch.math_opt.HighsOptionsProto.BoolOpti"
207 "onsEntry\0324\n\022StringOptionsEntry\022\013\n\003key\030\001 "
208 "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0324\n\022DoubleOptionsE"
209 "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\001:\0028\001\0321\n\017"
210 "IntOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 "
211 "\001(\005:\0028\001\0322\n\020BoolOptionsEntry\022\013\n\003key\030\001 \001(\t"
212 "\022\r\n\005value\030\002 \001(\010:\0028\001B\036\n\032com.google.ortool"
213 "s.mathoptP\001b\006proto3"
214};
216PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto = {
217 false,
218 false,
219 699,
220 descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto,
221 "ortools/math_opt/solvers/highs.proto",
223 nullptr,
224 0,
225 5,
226 schemas,
231};
232namespace operations_research {
233namespace math_opt {
234// ===================================================================
235
236#if defined(PROTOBUF_CUSTOM_VTABLE)
239HighsOptionsProto_StringOptionsEntry_DoNotUse::HighsOptionsProto_StringOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
241#else // PROTOBUF_CUSTOM_VTABLE
242HighsOptionsProto_StringOptionsEntry_DoNotUse::HighsOptionsProto_StringOptionsEntry_DoNotUse() : SuperType() {}
244#endif // PROTOBUF_CUSTOM_VTABLE
245inline void* PROTOBUF_NONNULL HighsOptionsProto_StringOptionsEntry_DoNotUse::PlacementNew_(
246 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
247 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
248 return ::new (mem) HighsOptionsProto_StringOptionsEntry_DoNotUse(arena);
249}
250constexpr auto HighsOptionsProto_StringOptionsEntry_DoNotUse::InternalNewImpl_() {
251 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(HighsOptionsProto_StringOptionsEntry_DoNotUse),
253}
255 return ::google::protobuf::internal::ClassDataFull{
256 ::google::protobuf::internal::ClassData{
258 &_table_.header,
259 nullptr, // OnDemandRegisterArenaDtor
260 nullptr, // IsInitialized
261 &HighsOptionsProto_StringOptionsEntry_DoNotUse::MergeImpl,
262 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto_StringOptionsEntry_DoNotUse>(),
263#if defined(PROTOBUF_CUSTOM_VTABLE)
264 &HighsOptionsProto_StringOptionsEntry_DoNotUse::SharedDtor,
265 static_cast<void (::google::protobuf::MessageLite::*)()>(&HighsOptionsProto_StringOptionsEntry_DoNotUse::ClearImpl),
266 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
267 ,
268#endif // PROTOBUF_CUSTOM_VTABLE
269 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_._cached_size_),
270 false,
271 },
272 &HighsOptionsProto_StringOptionsEntry_DoNotUse::kDescriptorMethods,
274 nullptr, // tracker
275 };
276}
277
278PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
279 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_ =
281
282PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
283HighsOptionsProto_StringOptionsEntry_DoNotUse::GetClassData() const {
284 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_);
285 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_.tc_table);
287}
288PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
289const ::_pbi::TcParseTable<1, 2, 0, 82, 2>
290HighsOptionsProto_StringOptionsEntry_DoNotUse::_table_ = {
291 {
292 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_._has_bits_),
293 0, // no _extensions_
294 2, 8, // max_field_number, fast_idx_mask
295 offsetof(decltype(_table_), field_lookup_table),
296 4294967292, // skipmap
297 offsetof(decltype(_table_), field_entries),
298 2, // num_field_entries
299 0, // num_aux_entries
300 offsetof(decltype(_table_), field_names), // no aux_entries
302 nullptr, // post_loop_handler
303 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
304 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
305 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto_StringOptionsEntry_DoNotUse>(), // to_prefetch
306 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
307 }, {{
308 // string value = 2;
309 {::_pbi::TcParser::FastUS1,
310 {18, 1, 0,
311 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_.value_)}},
312 // string key = 1;
313 {::_pbi::TcParser::FastUS1,
314 {10, 0, 0,
315 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_.key_)}},
316 }}, {{
317 65535, 65535
318 }}, {{
319 // string key = 1;
320 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
321 // string value = 2;
322 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
323 }},
324 // no aux_entries
325 {{
326 "\101\3\5\0\0\0\0\0"
327 "operations_research.math_opt.HighsOptionsProto.StringOptionsEntry"
328 "key"
329 "value"
330 }},
331};
332// ===================================================================
333
334#if defined(PROTOBUF_CUSTOM_VTABLE)
337HighsOptionsProto_DoubleOptionsEntry_DoNotUse::HighsOptionsProto_DoubleOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
339#else // PROTOBUF_CUSTOM_VTABLE
340HighsOptionsProto_DoubleOptionsEntry_DoNotUse::HighsOptionsProto_DoubleOptionsEntry_DoNotUse() : SuperType() {}
341HighsOptionsProto_DoubleOptionsEntry_DoNotUse::HighsOptionsProto_DoubleOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
342#endif // PROTOBUF_CUSTOM_VTABLE
343inline void* PROTOBUF_NONNULL HighsOptionsProto_DoubleOptionsEntry_DoNotUse::PlacementNew_(
344 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
345 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
346 return ::new (mem) HighsOptionsProto_DoubleOptionsEntry_DoNotUse(arena);
347}
348constexpr auto HighsOptionsProto_DoubleOptionsEntry_DoNotUse::InternalNewImpl_() {
349 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(HighsOptionsProto_DoubleOptionsEntry_DoNotUse),
351}
352constexpr auto HighsOptionsProto_DoubleOptionsEntry_DoNotUse::InternalGenerateClassData_() {
353 return ::google::protobuf::internal::ClassDataFull{
354 ::google::protobuf::internal::ClassData{
356 &_table_.header,
357 nullptr, // OnDemandRegisterArenaDtor
358 nullptr, // IsInitialized
359 &HighsOptionsProto_DoubleOptionsEntry_DoNotUse::MergeImpl,
360 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto_DoubleOptionsEntry_DoNotUse>(),
361#if defined(PROTOBUF_CUSTOM_VTABLE)
362 &HighsOptionsProto_DoubleOptionsEntry_DoNotUse::SharedDtor,
363 static_cast<void (::google::protobuf::MessageLite::*)()>(&HighsOptionsProto_DoubleOptionsEntry_DoNotUse::ClearImpl),
364 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
365 ,
366#endif // PROTOBUF_CUSTOM_VTABLE
367 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_._cached_size_),
368 false,
369 },
370 &HighsOptionsProto_DoubleOptionsEntry_DoNotUse::kDescriptorMethods,
372 nullptr, // tracker
373 };
374}
375
376PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
377 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_ =
378 HighsOptionsProto_DoubleOptionsEntry_DoNotUse::InternalGenerateClassData_();
380PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
381HighsOptionsProto_DoubleOptionsEntry_DoNotUse::GetClassData() const {
382 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_);
383 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_.tc_table);
385}
386PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
387const ::_pbi::TcParseTable<1, 2, 0, 77, 2>
388HighsOptionsProto_DoubleOptionsEntry_DoNotUse::_table_ = {
389 {
390 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_._has_bits_),
391 0, // no _extensions_
392 2, 8, // max_field_number, fast_idx_mask
393 offsetof(decltype(_table_), field_lookup_table),
394 4294967292, // skipmap
395 offsetof(decltype(_table_), field_entries),
396 2, // num_field_entries
397 0, // num_aux_entries
398 offsetof(decltype(_table_), field_names), // no aux_entries
399 HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_.base(),
400 nullptr, // post_loop_handler
401 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
402 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
403 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto_DoubleOptionsEntry_DoNotUse>(), // to_prefetch
404 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
405 }, {{
406 // double value = 2;
407 {::_pbi::TcParser::FastF64S1,
408 {17, 1, 0,
409 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_.value_)}},
410 // string key = 1;
411 {::_pbi::TcParser::FastUS1,
412 {10, 0, 0,
413 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_.key_)}},
414 }}, {{
415 65535, 65535
416 }}, {{
417 // string key = 1;
418 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
419 // double value = 2;
420 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
421 }},
422 // no aux_entries
423 {{
424 "\101\3\0\0\0\0\0\0"
425 "operations_research.math_opt.HighsOptionsProto.DoubleOptionsEntry"
426 "key"
427 }},
428};
429// ===================================================================
430
431#if defined(PROTOBUF_CUSTOM_VTABLE)
432HighsOptionsProto_IntOptionsEntry_DoNotUse::HighsOptionsProto_IntOptionsEntry_DoNotUse()
434HighsOptionsProto_IntOptionsEntry_DoNotUse::HighsOptionsProto_IntOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
436#else // PROTOBUF_CUSTOM_VTABLE
437HighsOptionsProto_IntOptionsEntry_DoNotUse::HighsOptionsProto_IntOptionsEntry_DoNotUse() : SuperType() {}
438HighsOptionsProto_IntOptionsEntry_DoNotUse::HighsOptionsProto_IntOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
439#endif // PROTOBUF_CUSTOM_VTABLE
440inline void* PROTOBUF_NONNULL HighsOptionsProto_IntOptionsEntry_DoNotUse::PlacementNew_(
441 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
442 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
443 return ::new (mem) HighsOptionsProto_IntOptionsEntry_DoNotUse(arena);
444}
445constexpr auto HighsOptionsProto_IntOptionsEntry_DoNotUse::InternalNewImpl_() {
446 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(HighsOptionsProto_IntOptionsEntry_DoNotUse),
448}
449constexpr auto HighsOptionsProto_IntOptionsEntry_DoNotUse::InternalGenerateClassData_() {
450 return ::google::protobuf::internal::ClassDataFull{
451 ::google::protobuf::internal::ClassData{
453 &_table_.header,
454 nullptr, // OnDemandRegisterArenaDtor
455 nullptr, // IsInitialized
456 &HighsOptionsProto_IntOptionsEntry_DoNotUse::MergeImpl,
457 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto_IntOptionsEntry_DoNotUse>(),
458#if defined(PROTOBUF_CUSTOM_VTABLE)
459 &HighsOptionsProto_IntOptionsEntry_DoNotUse::SharedDtor,
460 static_cast<void (::google::protobuf::MessageLite::*)()>(&HighsOptionsProto_IntOptionsEntry_DoNotUse::ClearImpl),
461 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
462 ,
463#endif // PROTOBUF_CUSTOM_VTABLE
464 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_._cached_size_),
465 false,
466 },
467 &HighsOptionsProto_IntOptionsEntry_DoNotUse::kDescriptorMethods,
469 nullptr, // tracker
470 };
471}
472
473PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
474 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_ =
475 HighsOptionsProto_IntOptionsEntry_DoNotUse::InternalGenerateClassData_();
476
477PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
478HighsOptionsProto_IntOptionsEntry_DoNotUse::GetClassData() const {
479 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_);
480 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_.tc_table);
482}
483PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
484const ::_pbi::TcParseTable<1, 2, 0, 74, 2>
485HighsOptionsProto_IntOptionsEntry_DoNotUse::_table_ = {
486 {
487 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_._has_bits_),
488 0, // no _extensions_
489 2, 8, // max_field_number, fast_idx_mask
490 offsetof(decltype(_table_), field_lookup_table),
491 4294967292, // skipmap
492 offsetof(decltype(_table_), field_entries),
493 2, // num_field_entries
494 0, // num_aux_entries
495 offsetof(decltype(_table_), field_names), // no aux_entries
496 HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_.base(),
497 nullptr, // post_loop_handler
498 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
499 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
500 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto_IntOptionsEntry_DoNotUse>(), // to_prefetch
501 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
502 }, {{
503 // int32 value = 2;
504 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.value_), 1>(),
505 {16, 1, 0,
506 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.value_)}},
507 // string key = 1;
508 {::_pbi::TcParser::FastUS1,
509 {10, 0, 0,
510 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.key_)}},
511 }}, {{
512 65535, 65535
513 }}, {{
514 // string key = 1;
515 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
516 // int32 value = 2;
517 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
518 }},
519 // no aux_entries
520 {{
521 "\76\3\0\0\0\0\0\0"
522 "operations_research.math_opt.HighsOptionsProto.IntOptionsEntry"
523 "key"
524 }},
525};
526// ===================================================================
527
528#if defined(PROTOBUF_CUSTOM_VTABLE)
529HighsOptionsProto_BoolOptionsEntry_DoNotUse::HighsOptionsProto_BoolOptionsEntry_DoNotUse()
531HighsOptionsProto_BoolOptionsEntry_DoNotUse::HighsOptionsProto_BoolOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
533#else // PROTOBUF_CUSTOM_VTABLE
534HighsOptionsProto_BoolOptionsEntry_DoNotUse::HighsOptionsProto_BoolOptionsEntry_DoNotUse() : SuperType() {}
535HighsOptionsProto_BoolOptionsEntry_DoNotUse::HighsOptionsProto_BoolOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
536#endif // PROTOBUF_CUSTOM_VTABLE
537inline void* PROTOBUF_NONNULL HighsOptionsProto_BoolOptionsEntry_DoNotUse::PlacementNew_(
538 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
539 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
540 return ::new (mem) HighsOptionsProto_BoolOptionsEntry_DoNotUse(arena);
541}
542constexpr auto HighsOptionsProto_BoolOptionsEntry_DoNotUse::InternalNewImpl_() {
543 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(HighsOptionsProto_BoolOptionsEntry_DoNotUse),
545}
546constexpr auto HighsOptionsProto_BoolOptionsEntry_DoNotUse::InternalGenerateClassData_() {
547 return ::google::protobuf::internal::ClassDataFull{
548 ::google::protobuf::internal::ClassData{
549 &_HighsOptionsProto_BoolOptionsEntry_DoNotUse_default_instance_._instance,
550 &_table_.header,
551 nullptr, // OnDemandRegisterArenaDtor
552 nullptr, // IsInitialized
553 &HighsOptionsProto_BoolOptionsEntry_DoNotUse::MergeImpl,
554 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto_BoolOptionsEntry_DoNotUse>(),
555#if defined(PROTOBUF_CUSTOM_VTABLE)
556 &HighsOptionsProto_BoolOptionsEntry_DoNotUse::SharedDtor,
557 static_cast<void (::google::protobuf::MessageLite::*)()>(&HighsOptionsProto_BoolOptionsEntry_DoNotUse::ClearImpl),
558 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
559 ,
560#endif // PROTOBUF_CUSTOM_VTABLE
561 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_._cached_size_),
562 false,
563 },
564 &HighsOptionsProto_BoolOptionsEntry_DoNotUse::kDescriptorMethods,
566 nullptr, // tracker
567 };
568}
569
570PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
571 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_ =
572 HighsOptionsProto_BoolOptionsEntry_DoNotUse::InternalGenerateClassData_();
573
574PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
575HighsOptionsProto_BoolOptionsEntry_DoNotUse::GetClassData() const {
576 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_);
577 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_.tc_table);
579}
580PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
581const ::_pbi::TcParseTable<1, 2, 0, 75, 2>
582HighsOptionsProto_BoolOptionsEntry_DoNotUse::_table_ = {
583 {
584 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_._has_bits_),
585 0, // no _extensions_
586 2, 8, // max_field_number, fast_idx_mask
587 offsetof(decltype(_table_), field_lookup_table),
588 4294967292, // skipmap
589 offsetof(decltype(_table_), field_entries),
590 2, // num_field_entries
591 0, // num_aux_entries
592 offsetof(decltype(_table_), field_names), // no aux_entries
593 HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_.base(),
594 nullptr, // post_loop_handler
595 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
596 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
597 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto_BoolOptionsEntry_DoNotUse>(), // to_prefetch
598 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
599 }, {{
600 // bool value = 2;
601 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.value_), 1>(),
602 {16, 1, 0,
603 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.value_)}},
604 // string key = 1;
605 {::_pbi::TcParser::FastUS1,
606 {10, 0, 0,
607 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.key_)}},
608 }}, {{
609 65535, 65535
610 }}, {{
611 // string key = 1;
612 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
613 // bool value = 2;
614 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
615 }},
616 // no aux_entries
617 {{
618 "\77\3\0\0\0\0\0\0"
619 "operations_research.math_opt.HighsOptionsProto.BoolOptionsEntry"
620 "key"
621 }},
622};
623// ===================================================================
624
625class HighsOptionsProto::_Internal {
626 public:
627 using HasBits =
628 decltype(::std::declval<HighsOptionsProto>()._impl_._has_bits_);
629 static constexpr ::int32_t kHasBitsOffset =
630 8 * PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_._has_bits_);
631};
633HighsOptionsProto::HighsOptionsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
634#if defined(PROTOBUF_CUSTOM_VTABLE)
635 : ::google::protobuf::Message(arena, HighsOptionsProto_class_data_.base()) {
636#else // PROTOBUF_CUSTOM_VTABLE
637 : ::google::protobuf::Message(arena) {
638#endif // PROTOBUF_CUSTOM_VTABLE
639 SharedCtor(arena);
640 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.HighsOptionsProto)
641}
642PROTOBUF_NDEBUG_INLINE HighsOptionsProto::Impl_::Impl_(
643 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
644 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
645 [[maybe_unused]] const ::operations_research::math_opt::HighsOptionsProto& from_msg)
646 : _has_bits_{from._has_bits_},
647 _cached_size_{0},
648 string_options_{visibility, arena, from.string_options_},
649 double_options_{visibility, arena, from.double_options_},
650 int_options_{visibility, arena, from.int_options_},
651 bool_options_{visibility, arena, from.bool_options_} {}
652
654 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
655 const HighsOptionsProto& from)
656#if defined(PROTOBUF_CUSTOM_VTABLE)
657 : ::google::protobuf::Message(arena, HighsOptionsProto_class_data_.base()) {
658#else // PROTOBUF_CUSTOM_VTABLE
659 : ::google::protobuf::Message(arena) {
660#endif // PROTOBUF_CUSTOM_VTABLE
661 HighsOptionsProto* const _this = this;
662 (void)_this;
663 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
664 from._internal_metadata_);
665 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
666
667 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.HighsOptionsProto)
668}
669PROTOBUF_NDEBUG_INLINE HighsOptionsProto::Impl_::Impl_(
670 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
671 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
672 : _cached_size_{0},
673 string_options_{visibility, arena},
674 double_options_{visibility, arena},
675 int_options_{visibility, arena},
676 bool_options_{visibility, arena} {}
677
678inline void HighsOptionsProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
679 new (&_impl_) Impl_(internal_visibility(), arena);
680}
682 // @@protoc_insertion_point(destructor:operations_research.math_opt.HighsOptionsProto)
683 SharedDtor(*this);
684}
685inline void HighsOptionsProto::SharedDtor(MessageLite& self) {
686 HighsOptionsProto& this_ = static_cast<HighsOptionsProto&>(self);
687 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
688 this_.CheckHasBitConsistency();
689 }
690 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
691 ABSL_DCHECK(this_.GetArena() == nullptr);
692 this_._impl_.~Impl_();
693}
694
695inline void* PROTOBUF_NONNULL HighsOptionsProto::PlacementNew_(
696 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
697 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
698 return ::new (mem) HighsOptionsProto(arena);
699}
700constexpr auto HighsOptionsProto::InternalNewImpl_() {
701 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
702 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.string_options_) +
703 decltype(HighsOptionsProto::_impl_.string_options_)::
704 InternalGetArenaOffset(
705 ::google::protobuf::Message::internal_visibility()),
706 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.double_options_) +
707 decltype(HighsOptionsProto::_impl_.double_options_)::
708 InternalGetArenaOffset(
709 ::google::protobuf::Message::internal_visibility()),
710 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.int_options_) +
711 decltype(HighsOptionsProto::_impl_.int_options_)::
712 InternalGetArenaOffset(
713 ::google::protobuf::Message::internal_visibility()),
714 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.bool_options_) +
715 decltype(HighsOptionsProto::_impl_.bool_options_)::
716 InternalGetArenaOffset(
717 ::google::protobuf::Message::internal_visibility()),
718 });
719 if (arena_bits.has_value()) {
720 return ::google::protobuf::internal::MessageCreator::CopyInit(
721 sizeof(HighsOptionsProto), alignof(HighsOptionsProto), *arena_bits);
722 } else {
723 return ::google::protobuf::internal::MessageCreator(&HighsOptionsProto::PlacementNew_,
724 sizeof(HighsOptionsProto),
725 alignof(HighsOptionsProto));
726 }
727}
728constexpr auto HighsOptionsProto::InternalGenerateClassData_() {
729 return ::google::protobuf::internal::ClassDataFull{
730 ::google::protobuf::internal::ClassData{
732 &_table_.header,
733 nullptr, // OnDemandRegisterArenaDtor
734 nullptr, // IsInitialized
735 &HighsOptionsProto::MergeImpl,
736 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto>(),
737#if defined(PROTOBUF_CUSTOM_VTABLE)
738 &HighsOptionsProto::SharedDtor,
739 ::google::protobuf::Message::GetClearImpl<HighsOptionsProto>(), &HighsOptionsProto::ByteSizeLong,
741#endif // PROTOBUF_CUSTOM_VTABLE
742 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_._cached_size_),
743 false,
744 },
745 &HighsOptionsProto::kDescriptorMethods,
747 nullptr, // tracker
748 };
749}
750
751PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
752 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_class_data_ =
753 HighsOptionsProto::InternalGenerateClassData_();
754
755PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
756HighsOptionsProto::GetClassData() const {
757 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_class_data_);
758 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_class_data_.tc_table);
759 return HighsOptionsProto_class_data_.base();
760}
761PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
762const ::_pbi::TcParseTable<0, 4, 4, 106, 2>
763HighsOptionsProto::_table_ = {
764 {
765 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_._has_bits_),
766 0, // no _extensions_
767 4, 0, // max_field_number, fast_idx_mask
768 offsetof(decltype(_table_), field_lookup_table),
769 4294967280, // skipmap
770 offsetof(decltype(_table_), field_entries),
771 4, // num_field_entries
772 4, // num_aux_entries
773 offsetof(decltype(_table_), aux_entries),
774 HighsOptionsProto_class_data_.base(),
775 nullptr, // post_loop_handler
776 ::_pbi::TcParser::GenericFallback, // fallback
777 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
778 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto>(), // to_prefetch
779 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
780 }, {{
781 {::_pbi::TcParser::MiniParse, {}},
782 }}, {{
783 65535, 65535
784 }}, {{
785 // map<string, string> string_options = 1;
786 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.string_options_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
787 // map<string, double> double_options = 2;
788 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.double_options_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
789 // map<string, int32> int_options = 3;
790 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.int_options_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
791 // map<string, bool> bool_options = 4;
792 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.bool_options_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
793 }},
794 {{
795 {::_pbi::TcParser::GetMapAuxInfo(
796 1, 0, 9, 9, 0)},
797 {::_pbi::TcParser::GetMapAuxInfo(
798 1, 0, 9, 1, 0)},
799 {::_pbi::TcParser::GetMapAuxInfo(
800 1, 0, 9, 5, 0)},
801 {::_pbi::TcParser::GetMapAuxInfo(
802 1, 0, 9, 8, 0)},
803 }},
804 {{
805 "\56\16\16\13\14\0\0\0"
806 "operations_research.math_opt.HighsOptionsProto"
807 "string_options"
808 "double_options"
809 "int_options"
810 "bool_options"
811 }},
812};
813PROTOBUF_NOINLINE void HighsOptionsProto::Clear() {
814// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.HighsOptionsProto)
815 ::google::protobuf::internal::TSanWrite(&_impl_);
816 ::uint32_t cached_has_bits = 0;
817 // Prevent compiler warnings about cached_has_bits being unused
818 (void) cached_has_bits;
819
820 cached_has_bits = _impl_._has_bits_[0];
821 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
822 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
823 _impl_.string_options_.Clear();
824 }
825 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
826 _impl_.double_options_.Clear();
827 }
828 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
829 _impl_.int_options_.Clear();
830 }
831 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
832 _impl_.bool_options_.Clear();
833 }
834 }
835 _impl_._has_bits_.Clear();
836 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
837}
838
839#if defined(PROTOBUF_CUSTOM_VTABLE)
840::uint8_t* PROTOBUF_NONNULL HighsOptionsProto::_InternalSerialize(
841 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
842 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
843 const HighsOptionsProto& this_ = static_cast<const HighsOptionsProto&>(base);
844#else // PROTOBUF_CUSTOM_VTABLE
845::uint8_t* PROTOBUF_NONNULL HighsOptionsProto::_InternalSerialize(
846 ::uint8_t* PROTOBUF_NONNULL target,
847 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
848 const HighsOptionsProto& this_ = *this;
849#endif // PROTOBUF_CUSTOM_VTABLE
850 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
851 this_.CheckHasBitConsistency();
852 }
853 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.HighsOptionsProto)
854 ::uint32_t cached_has_bits = 0;
855 (void)cached_has_bits;
856
857 cached_has_bits = this_._impl_._has_bits_[0];
858 // map<string, string> string_options = 1;
859 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
860 if (!this_._internal_string_options().empty()) {
861 using MapType = ::google::protobuf::Map<::std::string, ::std::string>;
862 using WireHelper = _pbi::MapEntryFuncs<::std::string, ::std::string,
863 _pbi::WireFormatLite::TYPE_STRING,
864 _pbi::WireFormatLite::TYPE_STRING>;
865 const auto& field = this_._internal_string_options();
866
867 if (stream->IsSerializationDeterministic() && field.size() > 1) {
868 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
869 target = WireHelper::InternalSerialize(
870 1, entry.first, entry.second, target, stream);
871 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
872 entry.first.data(), static_cast<int>(entry.first.length()),
873 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.string_options");
874 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
875 entry.second.data(), static_cast<int>(entry.second.length()),
876 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.string_options");
877 }
878 } else {
879 for (const auto& entry : field) {
880 target = WireHelper::InternalSerialize(
881 1, entry.first, entry.second, target, stream);
882 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
883 entry.first.data(), static_cast<int>(entry.first.length()),
884 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.string_options");
885 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
886 entry.second.data(), static_cast<int>(entry.second.length()),
887 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.string_options");
888 }
889 }
890 }
891 }
892
893 // map<string, double> double_options = 2;
894 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
895 if (!this_._internal_double_options().empty()) {
896 using MapType = ::google::protobuf::Map<::std::string, double>;
897 using WireHelper = _pbi::MapEntryFuncs<::std::string, double,
898 _pbi::WireFormatLite::TYPE_STRING,
899 _pbi::WireFormatLite::TYPE_DOUBLE>;
900 const auto& field = this_._internal_double_options();
901
902 if (stream->IsSerializationDeterministic() && field.size() > 1) {
903 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
904 target = WireHelper::InternalSerialize(
905 2, entry.first, entry.second, target, stream);
906 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
907 entry.first.data(), static_cast<int>(entry.first.length()),
908 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.double_options");
909 }
910 } else {
911 for (const auto& entry : field) {
912 target = WireHelper::InternalSerialize(
913 2, entry.first, entry.second, target, stream);
914 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
915 entry.first.data(), static_cast<int>(entry.first.length()),
916 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.double_options");
917 }
918 }
919 }
920 }
921
922 // map<string, int32> int_options = 3;
923 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
924 if (!this_._internal_int_options().empty()) {
925 using MapType = ::google::protobuf::Map<::std::string, ::int32_t>;
926 using WireHelper = _pbi::MapEntryFuncs<::std::string, ::int32_t,
927 _pbi::WireFormatLite::TYPE_STRING,
928 _pbi::WireFormatLite::TYPE_INT32>;
929 const auto& field = this_._internal_int_options();
930
931 if (stream->IsSerializationDeterministic() && field.size() > 1) {
932 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
933 target = WireHelper::InternalSerialize(
934 3, entry.first, entry.second, target, stream);
935 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
936 entry.first.data(), static_cast<int>(entry.first.length()),
937 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.int_options");
938 }
939 } else {
940 for (const auto& entry : field) {
941 target = WireHelper::InternalSerialize(
942 3, entry.first, entry.second, target, stream);
943 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
944 entry.first.data(), static_cast<int>(entry.first.length()),
945 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.int_options");
946 }
947 }
948 }
949 }
950
951 // map<string, bool> bool_options = 4;
952 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
953 if (!this_._internal_bool_options().empty()) {
954 using MapType = ::google::protobuf::Map<::std::string, bool>;
955 using WireHelper = _pbi::MapEntryFuncs<::std::string, bool,
956 _pbi::WireFormatLite::TYPE_STRING,
957 _pbi::WireFormatLite::TYPE_BOOL>;
958 const auto& field = this_._internal_bool_options();
959
960 if (stream->IsSerializationDeterministic() && field.size() > 1) {
961 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
962 target = WireHelper::InternalSerialize(
963 4, entry.first, entry.second, target, stream);
964 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
965 entry.first.data(), static_cast<int>(entry.first.length()),
966 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.bool_options");
967 }
968 } else {
969 for (const auto& entry : field) {
970 target = WireHelper::InternalSerialize(
971 4, entry.first, entry.second, target, stream);
972 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
973 entry.first.data(), static_cast<int>(entry.first.length()),
974 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.bool_options");
975 }
976 }
977 }
978 }
979
980 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
981 target =
982 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
983 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
984 }
985 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.HighsOptionsProto)
986 return target;
987}
988
989#if defined(PROTOBUF_CUSTOM_VTABLE)
990::size_t HighsOptionsProto::ByteSizeLong(const MessageLite& base) {
991 const HighsOptionsProto& this_ = static_cast<const HighsOptionsProto&>(base);
992#else // PROTOBUF_CUSTOM_VTABLE
993::size_t HighsOptionsProto::ByteSizeLong() const {
994 const HighsOptionsProto& this_ = *this;
995#endif // PROTOBUF_CUSTOM_VTABLE
996 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.HighsOptionsProto)
997 ::size_t total_size = 0;
999 ::uint32_t cached_has_bits = 0;
1000 // Prevent compiler warnings about cached_has_bits being unused
1001 (void)cached_has_bits;
1002
1003 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1004 cached_has_bits = this_._impl_._has_bits_[0];
1005 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1006 // map<string, string> string_options = 1;
1007 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1008 total_size +=
1009 1 * ::google::protobuf::internal::FromIntSize(this_._internal_string_options_size());
1010 for (const auto& entry : this_._internal_string_options()) {
1011 total_size += _pbi::MapEntryFuncs<::std::string, ::std::string,
1012 _pbi::WireFormatLite::TYPE_STRING,
1013 _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second);
1014 }
1015 }
1016 // map<string, double> double_options = 2;
1017 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1018 total_size +=
1019 1 * ::google::protobuf::internal::FromIntSize(this_._internal_double_options_size());
1020 for (const auto& entry : this_._internal_double_options()) {
1021 total_size += _pbi::MapEntryFuncs<::std::string, double,
1022 _pbi::WireFormatLite::TYPE_STRING,
1023 _pbi::WireFormatLite::TYPE_DOUBLE>::ByteSizeLong(entry.first, entry.second);
1024 }
1025 }
1026 // map<string, int32> int_options = 3;
1027 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1028 total_size +=
1029 1 * ::google::protobuf::internal::FromIntSize(this_._internal_int_options_size());
1030 for (const auto& entry : this_._internal_int_options()) {
1031 total_size += _pbi::MapEntryFuncs<::std::string, ::int32_t,
1032 _pbi::WireFormatLite::TYPE_STRING,
1033 _pbi::WireFormatLite::TYPE_INT32>::ByteSizeLong(entry.first, entry.second);
1034 }
1035 }
1036 // map<string, bool> bool_options = 4;
1037 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1038 total_size +=
1039 1 * ::google::protobuf::internal::FromIntSize(this_._internal_bool_options_size());
1040 for (const auto& entry : this_._internal_bool_options()) {
1041 total_size += _pbi::MapEntryFuncs<::std::string, bool,
1042 _pbi::WireFormatLite::TYPE_STRING,
1043 _pbi::WireFormatLite::TYPE_BOOL>::ByteSizeLong(entry.first, entry.second);
1044 }
1045 }
1046 }
1047 return this_.MaybeComputeUnknownFieldsSize(total_size,
1048 &this_._impl_._cached_size_);
1049}
1050
1051void HighsOptionsProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1052 const ::google::protobuf::MessageLite& from_msg) {
1053 auto* const _this =
1054 static_cast<HighsOptionsProto*>(&to_msg);
1055 auto& from = static_cast<const HighsOptionsProto&>(from_msg);
1056 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1057 from.CheckHasBitConsistency();
1058 }
1059 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.HighsOptionsProto)
1060 ABSL_DCHECK_NE(&from, _this);
1061 ::uint32_t cached_has_bits = 0;
1062 (void)cached_has_bits;
1063
1064 cached_has_bits = from._impl_._has_bits_[0];
1065 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1066 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1067 _this->_impl_.string_options_.MergeFrom(from._impl_.string_options_);
1068 }
1069 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1070 _this->_impl_.double_options_.MergeFrom(from._impl_.double_options_);
1071 }
1072 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1073 _this->_impl_.int_options_.MergeFrom(from._impl_.int_options_);
1074 }
1075 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1076 _this->_impl_.bool_options_.MergeFrom(from._impl_.bool_options_);
1077 }
1078 }
1079 _this->_impl_._has_bits_[0] |= cached_has_bits;
1080 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1081 from._internal_metadata_);
1082}
1083
1084void HighsOptionsProto::CopyFrom(const HighsOptionsProto& from) {
1085 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.HighsOptionsProto)
1086 if (&from == this) return;
1087 Clear();
1088 MergeFrom(from);
1090
1091
1092void HighsOptionsProto::InternalSwap(HighsOptionsProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1093 using ::std::swap;
1094 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1095 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1096 _impl_.string_options_.InternalSwap(&other->_impl_.string_options_);
1097 _impl_.double_options_.InternalSwap(&other->_impl_.double_options_);
1098 _impl_.int_options_.InternalSwap(&other->_impl_.int_options_);
1099 _impl_.bool_options_.InternalSwap(&other->_impl_.bool_options_);
1100}
1101
1102::google::protobuf::Metadata HighsOptionsProto::GetMetadata() const {
1103 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1104}
1105// @@protoc_insertion_point(namespace_scope)
1106} // namespace math_opt
1107} // namespace operations_research
1108namespace google {
1109namespace protobuf {
1110} // namespace protobuf
1111} // namespace google
1112// @@protoc_insertion_point(global_scope)
1113PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1114 _static_init2_ [[maybe_unused]] =
1116 ::std::false_type{});
1117#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
::google::protobuf::internal::MapEntry<::std::string, ::std::string, ::google::protobuf::internal::WireFormatLite::TYPE_STRING, ::google::protobuf::internal::WireFormatLite::TYPE_STRING > SuperType
Definition highs.pb.h:103
friend class ::google::protobuf::MessageLite
Definition highs.pb.h:474
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition highs.pb.cc:850
void MergeFrom(const HighsOptionsProto &from)
Definition highs.pb.h:337
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto_once
Definition highs.pb.cc:215
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto
Definition highs.pb.cc:134
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto
Definition highs.pb.cc:132
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto
Definition highs.pb.cc:216
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProtoDefaultTypeInternal _HighsOptionsProto_default_instance_
Definition highs.pb.cc:128
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_
Definition highs.pb.cc:477
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_
Definition highs.pb.cc:280
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProto_BoolOptionsEntry_DoNotUseDefaultTypeInternal _HighsOptionsProto_BoolOptionsEntry_DoNotUse_default_instance_
Definition highs.pb.cc:100
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_
Definition highs.pb.cc:575
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProto_IntOptionsEntry_DoNotUseDefaultTypeInternal _HighsOptionsProto_IntOptionsEntry_DoNotUse_default_instance_
Definition highs.pb.cc:64
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_class_data_
Definition highs.pb.cc:757
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProto_StringOptionsEntry_DoNotUseDefaultTypeInternal _HighsOptionsProto_StringOptionsEntry_DoNotUse_default_instance_
Definition highs.pb.cc:46
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProto_DoubleOptionsEntry_DoNotUseDefaultTypeInternal _HighsOptionsProto_DoubleOptionsEntry_DoNotUse_default_instance_
Definition highs.pb.cc:82
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_
Definition highs.pb.cc:379
OR-Tools root namespace.