Google OR-Tools v9.14
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.31.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 : string_options_{},
105 double_options_{},
106 int_options_{},
107 bool_options_{},
108 _cached_size_{0} {}
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 0x000, // bitmap
167 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::HighsOptionsProto, _impl_.string_options_),
168 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::HighsOptionsProto, _impl_.double_options_),
169 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::HighsOptionsProto, _impl_.int_options_),
170 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::HighsOptionsProto, _impl_.bool_options_),
171};
172
173static const ::_pbi::MigrationSchema
174 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
180};
188const char descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
189 protodesc_cold) = {
190 "\n$ortools/math_opt/solvers/highs.proto\022\034"
191 "operations_research.math_opt\"\314\004\n\021HighsOp"
192 "tionsProto\022Z\n\016string_options\030\001 \003(\0132B.ope"
193 "rations_research.math_opt.HighsOptionsPr"
194 "oto.StringOptionsEntry\022Z\n\016double_options"
195 "\030\002 \003(\0132B.operations_research.math_opt.Hi"
196 "ghsOptionsProto.DoubleOptionsEntry\022T\n\013in"
197 "t_options\030\003 \003(\0132\?.operations_research.ma"
198 "th_opt.HighsOptionsProto.IntOptionsEntry"
199 "\022V\n\014bool_options\030\004 \003(\0132@.operations_rese"
200 "arch.math_opt.HighsOptionsProto.BoolOpti"
201 "onsEntry\0324\n\022StringOptionsEntry\022\013\n\003key\030\001 "
202 "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0324\n\022DoubleOptionsE"
203 "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\001:\0028\001\0321\n\017"
204 "IntOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 "
205 "\001(\005:\0028\001\0322\n\020BoolOptionsEntry\022\013\n\003key\030\001 \001(\t"
206 "\022\r\n\005value\030\002 \001(\010:\0028\001B\036\n\032com.google.ortool"
207 "s.mathoptP\001b\006proto3"
208};
210PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto = {
211 false,
212 false,
213 699,
214 descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto,
215 "ortools/math_opt/solvers/highs.proto",
217 nullptr,
218 0,
219 5,
220 schemas,
225};
226namespace operations_research {
227namespace math_opt {
228// ===================================================================
229
230#if defined(PROTOBUF_CUSTOM_VTABLE)
233HighsOptionsProto_StringOptionsEntry_DoNotUse::HighsOptionsProto_StringOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
235#else // PROTOBUF_CUSTOM_VTABLE
236HighsOptionsProto_StringOptionsEntry_DoNotUse::HighsOptionsProto_StringOptionsEntry_DoNotUse() : SuperType() {}
238#endif // PROTOBUF_CUSTOM_VTABLE
239inline void* PROTOBUF_NONNULL HighsOptionsProto_StringOptionsEntry_DoNotUse::PlacementNew_(
240 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
241 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
242 return ::new (mem) HighsOptionsProto_StringOptionsEntry_DoNotUse(arena);
243}
244constexpr auto HighsOptionsProto_StringOptionsEntry_DoNotUse::InternalNewImpl_() {
245 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(HighsOptionsProto_StringOptionsEntry_DoNotUse),
247}
249 return ::google::protobuf::internal::ClassDataFull{
250 ::google::protobuf::internal::ClassData{
252 &_table_.header,
253 nullptr, // OnDemandRegisterArenaDtor
254 nullptr, // IsInitialized
255 &HighsOptionsProto_StringOptionsEntry_DoNotUse::MergeImpl,
256 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto_StringOptionsEntry_DoNotUse>(),
257#if defined(PROTOBUF_CUSTOM_VTABLE)
258 &HighsOptionsProto_StringOptionsEntry_DoNotUse::SharedDtor,
259 static_cast<void (::google::protobuf::MessageLite::*)()>(&HighsOptionsProto_StringOptionsEntry_DoNotUse::ClearImpl),
260 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
261 ,
262#endif // PROTOBUF_CUSTOM_VTABLE
263 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_._cached_size_),
264 false,
265 },
266 &HighsOptionsProto_StringOptionsEntry_DoNotUse::kDescriptorMethods,
268 nullptr, // tracker
269 };
270}
271
272PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
273 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_ =
275
276PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
277HighsOptionsProto_StringOptionsEntry_DoNotUse::GetClassData() const {
278 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_);
279 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_.tc_table);
281}
282PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
283const ::_pbi::TcParseTable<1, 2, 0, 82, 2>
284HighsOptionsProto_StringOptionsEntry_DoNotUse::_table_ = {
285 {
286 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_._has_bits_),
287 0, // no _extensions_
288 2, 8, // max_field_number, fast_idx_mask
289 offsetof(decltype(_table_), field_lookup_table),
290 4294967292, // skipmap
291 offsetof(decltype(_table_), field_entries),
292 2, // num_field_entries
293 0, // num_aux_entries
294 offsetof(decltype(_table_), field_names), // no aux_entries
296 nullptr, // post_loop_handler
297 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
298 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
299 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto_StringOptionsEntry_DoNotUse>(), // to_prefetch
300 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
301 }, {{
302 // string value = 2;
303 {::_pbi::TcParser::FastUS1,
304 {18, 1, 0, PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_.value_)}},
305 // string key = 1;
306 {::_pbi::TcParser::FastUS1,
307 {10, 0, 0, PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_.key_)}},
308 }}, {{
309 65535, 65535
310 }}, {{
311 // string key = 1;
312 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0,
313 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
314 // string value = 2;
315 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_StringOptionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0,
316 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
317 }},
318 // no aux_entries
319 {{
320 "\101\3\5\0\0\0\0\0"
321 "operations_research.math_opt.HighsOptionsProto.StringOptionsEntry"
322 "key"
323 "value"
324 }},
325};
326// ===================================================================
327
328#if defined(PROTOBUF_CUSTOM_VTABLE)
331HighsOptionsProto_DoubleOptionsEntry_DoNotUse::HighsOptionsProto_DoubleOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
333#else // PROTOBUF_CUSTOM_VTABLE
334HighsOptionsProto_DoubleOptionsEntry_DoNotUse::HighsOptionsProto_DoubleOptionsEntry_DoNotUse() : SuperType() {}
335HighsOptionsProto_DoubleOptionsEntry_DoNotUse::HighsOptionsProto_DoubleOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
336#endif // PROTOBUF_CUSTOM_VTABLE
337inline void* PROTOBUF_NONNULL HighsOptionsProto_DoubleOptionsEntry_DoNotUse::PlacementNew_(
338 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
339 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
340 return ::new (mem) HighsOptionsProto_DoubleOptionsEntry_DoNotUse(arena);
341}
342constexpr auto HighsOptionsProto_DoubleOptionsEntry_DoNotUse::InternalNewImpl_() {
343 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(HighsOptionsProto_DoubleOptionsEntry_DoNotUse),
345}
346constexpr auto HighsOptionsProto_DoubleOptionsEntry_DoNotUse::InternalGenerateClassData_() {
347 return ::google::protobuf::internal::ClassDataFull{
348 ::google::protobuf::internal::ClassData{
350 &_table_.header,
351 nullptr, // OnDemandRegisterArenaDtor
352 nullptr, // IsInitialized
353 &HighsOptionsProto_DoubleOptionsEntry_DoNotUse::MergeImpl,
354 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto_DoubleOptionsEntry_DoNotUse>(),
355#if defined(PROTOBUF_CUSTOM_VTABLE)
356 &HighsOptionsProto_DoubleOptionsEntry_DoNotUse::SharedDtor,
357 static_cast<void (::google::protobuf::MessageLite::*)()>(&HighsOptionsProto_DoubleOptionsEntry_DoNotUse::ClearImpl),
358 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
359 ,
360#endif // PROTOBUF_CUSTOM_VTABLE
361 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_._cached_size_),
362 false,
363 },
364 &HighsOptionsProto_DoubleOptionsEntry_DoNotUse::kDescriptorMethods,
366 nullptr, // tracker
367 };
368}
369
370PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
371 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_ =
372 HighsOptionsProto_DoubleOptionsEntry_DoNotUse::InternalGenerateClassData_();
374PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
375HighsOptionsProto_DoubleOptionsEntry_DoNotUse::GetClassData() const {
376 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_);
377 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_.tc_table);
379}
380PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
381const ::_pbi::TcParseTable<1, 2, 0, 77, 2>
382HighsOptionsProto_DoubleOptionsEntry_DoNotUse::_table_ = {
383 {
384 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_._has_bits_),
385 0, // no _extensions_
386 2, 8, // max_field_number, fast_idx_mask
387 offsetof(decltype(_table_), field_lookup_table),
388 4294967292, // skipmap
389 offsetof(decltype(_table_), field_entries),
390 2, // num_field_entries
391 0, // num_aux_entries
392 offsetof(decltype(_table_), field_names), // no aux_entries
393 HighsOptionsProto_DoubleOptionsEntry_DoNotUse_class_data_.base(),
394 nullptr, // post_loop_handler
395 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
396 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
397 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto_DoubleOptionsEntry_DoNotUse>(), // to_prefetch
398 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
399 }, {{
400 // double value = 2;
401 {::_pbi::TcParser::FastF64S1,
402 {17, 1, 0, PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_.value_)}},
403 // string key = 1;
404 {::_pbi::TcParser::FastUS1,
405 {10, 0, 0, PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_.key_)}},
406 }}, {{
407 65535, 65535
408 }}, {{
409 // string key = 1;
410 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0,
411 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
412 // double value = 2;
413 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_DoubleOptionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0,
414 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
415 }},
416 // no aux_entries
417 {{
418 "\101\3\0\0\0\0\0\0"
419 "operations_research.math_opt.HighsOptionsProto.DoubleOptionsEntry"
420 "key"
421 }},
422};
423// ===================================================================
424
425#if defined(PROTOBUF_CUSTOM_VTABLE)
426HighsOptionsProto_IntOptionsEntry_DoNotUse::HighsOptionsProto_IntOptionsEntry_DoNotUse()
428HighsOptionsProto_IntOptionsEntry_DoNotUse::HighsOptionsProto_IntOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
430#else // PROTOBUF_CUSTOM_VTABLE
431HighsOptionsProto_IntOptionsEntry_DoNotUse::HighsOptionsProto_IntOptionsEntry_DoNotUse() : SuperType() {}
432HighsOptionsProto_IntOptionsEntry_DoNotUse::HighsOptionsProto_IntOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
433#endif // PROTOBUF_CUSTOM_VTABLE
434inline void* PROTOBUF_NONNULL HighsOptionsProto_IntOptionsEntry_DoNotUse::PlacementNew_(
435 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
436 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
437 return ::new (mem) HighsOptionsProto_IntOptionsEntry_DoNotUse(arena);
438}
439constexpr auto HighsOptionsProto_IntOptionsEntry_DoNotUse::InternalNewImpl_() {
440 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(HighsOptionsProto_IntOptionsEntry_DoNotUse),
442}
443constexpr auto HighsOptionsProto_IntOptionsEntry_DoNotUse::InternalGenerateClassData_() {
444 return ::google::protobuf::internal::ClassDataFull{
445 ::google::protobuf::internal::ClassData{
447 &_table_.header,
448 nullptr, // OnDemandRegisterArenaDtor
449 nullptr, // IsInitialized
450 &HighsOptionsProto_IntOptionsEntry_DoNotUse::MergeImpl,
451 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto_IntOptionsEntry_DoNotUse>(),
452#if defined(PROTOBUF_CUSTOM_VTABLE)
453 &HighsOptionsProto_IntOptionsEntry_DoNotUse::SharedDtor,
454 static_cast<void (::google::protobuf::MessageLite::*)()>(&HighsOptionsProto_IntOptionsEntry_DoNotUse::ClearImpl),
455 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
456 ,
457#endif // PROTOBUF_CUSTOM_VTABLE
458 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_._cached_size_),
459 false,
460 },
461 &HighsOptionsProto_IntOptionsEntry_DoNotUse::kDescriptorMethods,
463 nullptr, // tracker
464 };
465}
466
467PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
468 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_ =
469 HighsOptionsProto_IntOptionsEntry_DoNotUse::InternalGenerateClassData_();
470
471PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
472HighsOptionsProto_IntOptionsEntry_DoNotUse::GetClassData() const {
473 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_);
474 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_.tc_table);
476}
477PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
478const ::_pbi::TcParseTable<1, 2, 0, 74, 2>
479HighsOptionsProto_IntOptionsEntry_DoNotUse::_table_ = {
480 {
481 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_._has_bits_),
482 0, // no _extensions_
483 2, 8, // max_field_number, fast_idx_mask
484 offsetof(decltype(_table_), field_lookup_table),
485 4294967292, // skipmap
486 offsetof(decltype(_table_), field_entries),
487 2, // num_field_entries
488 0, // num_aux_entries
489 offsetof(decltype(_table_), field_names), // no aux_entries
490 HighsOptionsProto_IntOptionsEntry_DoNotUse_class_data_.base(),
491 nullptr, // post_loop_handler
492 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
493 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
494 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto_IntOptionsEntry_DoNotUse>(), // to_prefetch
495 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
496 }, {{
497 // int32 value = 2;
498 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.value_), 1>(),
499 {16, 1, 0, PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.value_)}},
500 // string key = 1;
501 {::_pbi::TcParser::FastUS1,
502 {10, 0, 0, PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.key_)}},
503 }}, {{
504 65535, 65535
505 }}, {{
506 // string key = 1;
507 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0,
508 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
509 // int32 value = 2;
510 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_IntOptionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0,
511 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
512 }},
513 // no aux_entries
514 {{
515 "\76\3\0\0\0\0\0\0"
516 "operations_research.math_opt.HighsOptionsProto.IntOptionsEntry"
517 "key"
518 }},
519};
520// ===================================================================
521
522#if defined(PROTOBUF_CUSTOM_VTABLE)
523HighsOptionsProto_BoolOptionsEntry_DoNotUse::HighsOptionsProto_BoolOptionsEntry_DoNotUse()
525HighsOptionsProto_BoolOptionsEntry_DoNotUse::HighsOptionsProto_BoolOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
527#else // PROTOBUF_CUSTOM_VTABLE
528HighsOptionsProto_BoolOptionsEntry_DoNotUse::HighsOptionsProto_BoolOptionsEntry_DoNotUse() : SuperType() {}
529HighsOptionsProto_BoolOptionsEntry_DoNotUse::HighsOptionsProto_BoolOptionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
530#endif // PROTOBUF_CUSTOM_VTABLE
531inline void* PROTOBUF_NONNULL HighsOptionsProto_BoolOptionsEntry_DoNotUse::PlacementNew_(
532 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
533 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
534 return ::new (mem) HighsOptionsProto_BoolOptionsEntry_DoNotUse(arena);
535}
536constexpr auto HighsOptionsProto_BoolOptionsEntry_DoNotUse::InternalNewImpl_() {
537 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(HighsOptionsProto_BoolOptionsEntry_DoNotUse),
539}
540constexpr auto HighsOptionsProto_BoolOptionsEntry_DoNotUse::InternalGenerateClassData_() {
541 return ::google::protobuf::internal::ClassDataFull{
542 ::google::protobuf::internal::ClassData{
543 &_HighsOptionsProto_BoolOptionsEntry_DoNotUse_default_instance_._instance,
544 &_table_.header,
545 nullptr, // OnDemandRegisterArenaDtor
546 nullptr, // IsInitialized
547 &HighsOptionsProto_BoolOptionsEntry_DoNotUse::MergeImpl,
548 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto_BoolOptionsEntry_DoNotUse>(),
549#if defined(PROTOBUF_CUSTOM_VTABLE)
550 &HighsOptionsProto_BoolOptionsEntry_DoNotUse::SharedDtor,
551 static_cast<void (::google::protobuf::MessageLite::*)()>(&HighsOptionsProto_BoolOptionsEntry_DoNotUse::ClearImpl),
552 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
553 ,
554#endif // PROTOBUF_CUSTOM_VTABLE
555 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_._cached_size_),
556 false,
557 },
558 &HighsOptionsProto_BoolOptionsEntry_DoNotUse::kDescriptorMethods,
560 nullptr, // tracker
561 };
562}
563
564PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
565 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_ =
566 HighsOptionsProto_BoolOptionsEntry_DoNotUse::InternalGenerateClassData_();
567
568PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
569HighsOptionsProto_BoolOptionsEntry_DoNotUse::GetClassData() const {
570 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_);
571 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_.tc_table);
573}
574PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
575const ::_pbi::TcParseTable<1, 2, 0, 75, 2>
576HighsOptionsProto_BoolOptionsEntry_DoNotUse::_table_ = {
577 {
578 PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_._has_bits_),
579 0, // no _extensions_
580 2, 8, // max_field_number, fast_idx_mask
581 offsetof(decltype(_table_), field_lookup_table),
582 4294967292, // skipmap
583 offsetof(decltype(_table_), field_entries),
584 2, // num_field_entries
585 0, // num_aux_entries
586 offsetof(decltype(_table_), field_names), // no aux_entries
587 HighsOptionsProto_BoolOptionsEntry_DoNotUse_class_data_.base(),
588 nullptr, // post_loop_handler
589 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
590 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
591 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto_BoolOptionsEntry_DoNotUse>(), // to_prefetch
592 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
593 }, {{
594 // bool value = 2;
595 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.value_), 1>(),
596 {16, 1, 0, PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.value_)}},
597 // string key = 1;
598 {::_pbi::TcParser::FastUS1,
599 {10, 0, 0, PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.key_)}},
600 }}, {{
601 65535, 65535
602 }}, {{
603 // string key = 1;
604 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0,
605 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
606 // bool value = 2;
607 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto_BoolOptionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0,
608 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
609 }},
610 // no aux_entries
611 {{
612 "\77\3\0\0\0\0\0\0"
613 "operations_research.math_opt.HighsOptionsProto.BoolOptionsEntry"
614 "key"
615 }},
616};
617// ===================================================================
618
619class HighsOptionsProto::_Internal {
620 public:
621};
622
623HighsOptionsProto::HighsOptionsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
624#if defined(PROTOBUF_CUSTOM_VTABLE)
625 : ::google::protobuf::Message(arena, HighsOptionsProto_class_data_.base()) {
626#else // PROTOBUF_CUSTOM_VTABLE
627 : ::google::protobuf::Message(arena) {
628#endif // PROTOBUF_CUSTOM_VTABLE
629 SharedCtor(arena);
630 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.HighsOptionsProto)
631}
632PROTOBUF_NDEBUG_INLINE HighsOptionsProto::Impl_::Impl_(
633 ::google::protobuf::internal::InternalVisibility visibility,
634 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
635 const ::operations_research::math_opt::HighsOptionsProto& from_msg)
636 : string_options_{visibility, arena, from.string_options_},
637 double_options_{visibility, arena, from.double_options_},
638 int_options_{visibility, arena, from.int_options_},
639 bool_options_{visibility, arena, from.bool_options_},
640 _cached_size_{0} {}
641
643 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
644 const HighsOptionsProto& from)
645#if defined(PROTOBUF_CUSTOM_VTABLE)
646 : ::google::protobuf::Message(arena, HighsOptionsProto_class_data_.base()) {
647#else // PROTOBUF_CUSTOM_VTABLE
648 : ::google::protobuf::Message(arena) {
649#endif // PROTOBUF_CUSTOM_VTABLE
650 HighsOptionsProto* const _this = this;
651 (void)_this;
652 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
653 from._internal_metadata_);
654 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
655
656 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.HighsOptionsProto)
657}
658PROTOBUF_NDEBUG_INLINE HighsOptionsProto::Impl_::Impl_(
659 ::google::protobuf::internal::InternalVisibility visibility,
660 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
661 : string_options_{visibility, arena},
662 double_options_{visibility, arena},
663 int_options_{visibility, arena},
664 bool_options_{visibility, arena},
665 _cached_size_{0} {}
666
667inline void HighsOptionsProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
668 new (&_impl_) Impl_(internal_visibility(), arena);
669}
671 // @@protoc_insertion_point(destructor:operations_research.math_opt.HighsOptionsProto)
672 SharedDtor(*this);
673}
674inline void HighsOptionsProto::SharedDtor(MessageLite& self) {
675 HighsOptionsProto& this_ = static_cast<HighsOptionsProto&>(self);
676 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
677 ABSL_DCHECK(this_.GetArena() == nullptr);
678 this_._impl_.~Impl_();
679}
680
681inline void* PROTOBUF_NONNULL HighsOptionsProto::PlacementNew_(
682 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
683 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
684 return ::new (mem) HighsOptionsProto(arena);
685}
687 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
688 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.string_options_) +
689 decltype(HighsOptionsProto::_impl_.string_options_)::
690 InternalGetArenaOffset(
691 ::google::protobuf::Message::internal_visibility()),
692 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.string_options_) +
693 decltype(HighsOptionsProto::_impl_.string_options_)::
694 InternalGetArenaOffsetAlt(
695 ::google::protobuf::Message::internal_visibility()),
696 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.double_options_) +
697 decltype(HighsOptionsProto::_impl_.double_options_)::
698 InternalGetArenaOffset(
699 ::google::protobuf::Message::internal_visibility()),
700 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.double_options_) +
701 decltype(HighsOptionsProto::_impl_.double_options_)::
702 InternalGetArenaOffsetAlt(
703 ::google::protobuf::Message::internal_visibility()),
704 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.int_options_) +
705 decltype(HighsOptionsProto::_impl_.int_options_)::
706 InternalGetArenaOffset(
707 ::google::protobuf::Message::internal_visibility()),
708 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.int_options_) +
709 decltype(HighsOptionsProto::_impl_.int_options_)::
710 InternalGetArenaOffsetAlt(
711 ::google::protobuf::Message::internal_visibility()),
712 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.bool_options_) +
713 decltype(HighsOptionsProto::_impl_.bool_options_)::
714 InternalGetArenaOffset(
715 ::google::protobuf::Message::internal_visibility()),
716 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.bool_options_) +
717 decltype(HighsOptionsProto::_impl_.bool_options_)::
718 InternalGetArenaOffsetAlt(
719 ::google::protobuf::Message::internal_visibility()),
720 });
721 if (arena_bits.has_value()) {
722 return ::google::protobuf::internal::MessageCreator::CopyInit(
723 sizeof(HighsOptionsProto), alignof(HighsOptionsProto), *arena_bits);
724 } else {
725 return ::google::protobuf::internal::MessageCreator(&HighsOptionsProto::PlacementNew_,
726 sizeof(HighsOptionsProto),
727 alignof(HighsOptionsProto));
728 }
729}
731 return ::google::protobuf::internal::ClassDataFull{
732 ::google::protobuf::internal::ClassData{
734 &_table_.header,
735 nullptr, // OnDemandRegisterArenaDtor
736 nullptr, // IsInitialized
737 &HighsOptionsProto::MergeImpl,
738 ::google::protobuf::Message::GetNewImpl<HighsOptionsProto>(),
739#if defined(PROTOBUF_CUSTOM_VTABLE)
740 &HighsOptionsProto::SharedDtor,
741 ::google::protobuf::Message::GetClearImpl<HighsOptionsProto>(), &HighsOptionsProto::ByteSizeLong,
743#endif // PROTOBUF_CUSTOM_VTABLE
744 PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_._cached_size_),
745 false,
746 },
747 &HighsOptionsProto::kDescriptorMethods,
749 nullptr, // tracker
750 };
751}
752
753PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
754 ::google::protobuf::internal::ClassDataFull HighsOptionsProto_class_data_ =
756
757PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
759 ::google::protobuf::internal::PrefetchToLocalCache(&HighsOptionsProto_class_data_);
760 ::google::protobuf::internal::PrefetchToLocalCache(HighsOptionsProto_class_data_.tc_table);
761 return HighsOptionsProto_class_data_.base();
762}
763PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
764const ::_pbi::TcParseTable<0, 4, 4, 106, 2>
765HighsOptionsProto::_table_ = {
766 {
767 0, // no _has_bits_
768 0, // no _extensions_
769 4, 0, // max_field_number, fast_idx_mask
770 offsetof(decltype(_table_), field_lookup_table),
771 4294967280, // skipmap
772 offsetof(decltype(_table_), field_entries),
773 4, // num_field_entries
774 4, // num_aux_entries
775 offsetof(decltype(_table_), aux_entries),
777 nullptr, // post_loop_handler
778 ::_pbi::TcParser::GenericFallback, // fallback
779 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
780 ::_pbi::TcParser::GetTable<::operations_research::math_opt::HighsOptionsProto>(), // to_prefetch
781 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
782 }, {{
783 {::_pbi::TcParser::MiniParse, {}},
784 }}, {{
785 65535, 65535
786 }}, {{
787 // map<string, string> string_options = 1;
788 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.string_options_), 0, 0,
789 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
790 // map<string, double> double_options = 2;
791 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.double_options_), 0, 1,
792 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
793 // map<string, int32> int_options = 3;
794 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.int_options_), 0, 2,
795 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
796 // map<string, bool> bool_options = 4;
797 {PROTOBUF_FIELD_OFFSET(HighsOptionsProto, _impl_.bool_options_), 0, 3,
798 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
799 }},
800 {{
801 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0,
802 9, 9,
803 0)},
804 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0,
805 9, 1,
806 0)},
807 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0,
808 9, 5,
809 0)},
810 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0,
811 9, 8,
812 0)},
813 }},
814 {{
815 "\56\16\16\13\14\0\0\0"
816 "operations_research.math_opt.HighsOptionsProto"
817 "string_options"
818 "double_options"
819 "int_options"
820 "bool_options"
821 }},
822};
823PROTOBUF_NOINLINE void HighsOptionsProto::Clear() {
824// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.HighsOptionsProto)
825 ::google::protobuf::internal::TSanWrite(&_impl_);
826 ::uint32_t cached_has_bits = 0;
827 // Prevent compiler warnings about cached_has_bits being unused
828 (void) cached_has_bits;
829
830 _impl_.string_options_.Clear();
831 _impl_.double_options_.Clear();
832 _impl_.int_options_.Clear();
833 _impl_.bool_options_.Clear();
834 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
835}
836
837#if defined(PROTOBUF_CUSTOM_VTABLE)
838::uint8_t* PROTOBUF_NONNULL HighsOptionsProto::_InternalSerialize(
839 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
840 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
841 const HighsOptionsProto& this_ = static_cast<const HighsOptionsProto&>(base);
842#else // PROTOBUF_CUSTOM_VTABLE
843::uint8_t* PROTOBUF_NONNULL HighsOptionsProto::_InternalSerialize(
844 ::uint8_t* PROTOBUF_NONNULL target,
845 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
846 const HighsOptionsProto& this_ = *this;
847#endif // PROTOBUF_CUSTOM_VTABLE
848 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.HighsOptionsProto)
849 ::uint32_t cached_has_bits = 0;
850 (void)cached_has_bits;
851
852 // map<string, string> string_options = 1;
853 if (!this_._internal_string_options().empty()) {
854 using MapType = ::google::protobuf::Map<std::string, std::string>;
855 using WireHelper = _pbi::MapEntryFuncs<std::string, std::string,
856 _pbi::WireFormatLite::TYPE_STRING,
857 _pbi::WireFormatLite::TYPE_STRING>;
858 const auto& field = this_._internal_string_options();
859
860 if (stream->IsSerializationDeterministic() && field.size() > 1) {
861 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
862 target = WireHelper::InternalSerialize(
863 1, entry.first, entry.second, target, stream);
864 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
865 entry.first.data(), static_cast<int>(entry.first.length()),
866 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.string_options");
867 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
868 entry.second.data(), static_cast<int>(entry.second.length()),
869 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.string_options");
870 }
871 } else {
872 for (const auto& entry : field) {
873 target = WireHelper::InternalSerialize(
874 1, entry.first, entry.second, target, stream);
875 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
876 entry.first.data(), static_cast<int>(entry.first.length()),
877 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.string_options");
878 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
879 entry.second.data(), static_cast<int>(entry.second.length()),
880 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.string_options");
881 }
882 }
883 }
884
885 // map<string, double> double_options = 2;
886 if (!this_._internal_double_options().empty()) {
887 using MapType = ::google::protobuf::Map<std::string, double>;
888 using WireHelper = _pbi::MapEntryFuncs<std::string, double,
889 _pbi::WireFormatLite::TYPE_STRING,
890 _pbi::WireFormatLite::TYPE_DOUBLE>;
891 const auto& field = this_._internal_double_options();
892
893 if (stream->IsSerializationDeterministic() && field.size() > 1) {
894 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
895 target = WireHelper::InternalSerialize(
896 2, entry.first, entry.second, target, stream);
897 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
898 entry.first.data(), static_cast<int>(entry.first.length()),
899 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.double_options");
900 }
901 } else {
902 for (const auto& entry : field) {
903 target = WireHelper::InternalSerialize(
904 2, entry.first, entry.second, target, stream);
905 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
906 entry.first.data(), static_cast<int>(entry.first.length()),
907 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.double_options");
908 }
909 }
910 }
911
912 // map<string, int32> int_options = 3;
913 if (!this_._internal_int_options().empty()) {
914 using MapType = ::google::protobuf::Map<std::string, ::int32_t>;
915 using WireHelper = _pbi::MapEntryFuncs<std::string, ::int32_t,
916 _pbi::WireFormatLite::TYPE_STRING,
917 _pbi::WireFormatLite::TYPE_INT32>;
918 const auto& field = this_._internal_int_options();
919
920 if (stream->IsSerializationDeterministic() && field.size() > 1) {
921 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
922 target = WireHelper::InternalSerialize(
923 3, entry.first, entry.second, target, stream);
924 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
925 entry.first.data(), static_cast<int>(entry.first.length()),
926 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.int_options");
927 }
928 } else {
929 for (const auto& entry : field) {
930 target = WireHelper::InternalSerialize(
931 3, entry.first, entry.second, target, stream);
932 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
933 entry.first.data(), static_cast<int>(entry.first.length()),
934 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.int_options");
935 }
936 }
937 }
938
939 // map<string, bool> bool_options = 4;
940 if (!this_._internal_bool_options().empty()) {
941 using MapType = ::google::protobuf::Map<std::string, bool>;
942 using WireHelper = _pbi::MapEntryFuncs<std::string, bool,
943 _pbi::WireFormatLite::TYPE_STRING,
944 _pbi::WireFormatLite::TYPE_BOOL>;
945 const auto& field = this_._internal_bool_options();
946
947 if (stream->IsSerializationDeterministic() && field.size() > 1) {
948 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
949 target = WireHelper::InternalSerialize(
950 4, entry.first, entry.second, target, stream);
951 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
952 entry.first.data(), static_cast<int>(entry.first.length()),
953 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.bool_options");
954 }
955 } else {
956 for (const auto& entry : field) {
957 target = WireHelper::InternalSerialize(
958 4, entry.first, entry.second, target, stream);
959 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
960 entry.first.data(), static_cast<int>(entry.first.length()),
961 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.HighsOptionsProto.bool_options");
962 }
963 }
964 }
965
966 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
967 target =
968 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
969 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
970 }
971 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.HighsOptionsProto)
972 return target;
973}
974
975#if defined(PROTOBUF_CUSTOM_VTABLE)
976::size_t HighsOptionsProto::ByteSizeLong(const MessageLite& base) {
977 const HighsOptionsProto& this_ = static_cast<const HighsOptionsProto&>(base);
978#else // PROTOBUF_CUSTOM_VTABLE
979::size_t HighsOptionsProto::ByteSizeLong() const {
980 const HighsOptionsProto& this_ = *this;
981#endif // PROTOBUF_CUSTOM_VTABLE
982 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.HighsOptionsProto)
983 ::size_t total_size = 0;
985 ::uint32_t cached_has_bits = 0;
986 // Prevent compiler warnings about cached_has_bits being unused
987 (void)cached_has_bits;
988
989 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
990 {
991 // map<string, string> string_options = 1;
992 {
993 total_size +=
994 1 * ::google::protobuf::internal::FromIntSize(this_._internal_string_options_size());
995 for (const auto& entry : this_._internal_string_options()) {
996 total_size += _pbi::MapEntryFuncs<std::string, std::string,
997 _pbi::WireFormatLite::TYPE_STRING,
998 _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second);
999 }
1000 }
1001 // map<string, double> double_options = 2;
1002 {
1003 total_size +=
1004 1 * ::google::protobuf::internal::FromIntSize(this_._internal_double_options_size());
1005 for (const auto& entry : this_._internal_double_options()) {
1006 total_size += _pbi::MapEntryFuncs<std::string, double,
1007 _pbi::WireFormatLite::TYPE_STRING,
1008 _pbi::WireFormatLite::TYPE_DOUBLE>::ByteSizeLong(entry.first, entry.second);
1009 }
1010 }
1011 // map<string, int32> int_options = 3;
1012 {
1013 total_size +=
1014 1 * ::google::protobuf::internal::FromIntSize(this_._internal_int_options_size());
1015 for (const auto& entry : this_._internal_int_options()) {
1016 total_size += _pbi::MapEntryFuncs<std::string, ::int32_t,
1017 _pbi::WireFormatLite::TYPE_STRING,
1018 _pbi::WireFormatLite::TYPE_INT32>::ByteSizeLong(entry.first, entry.second);
1019 }
1020 }
1021 // map<string, bool> bool_options = 4;
1022 {
1023 total_size +=
1024 1 * ::google::protobuf::internal::FromIntSize(this_._internal_bool_options_size());
1025 for (const auto& entry : this_._internal_bool_options()) {
1026 total_size += _pbi::MapEntryFuncs<std::string, bool,
1027 _pbi::WireFormatLite::TYPE_STRING,
1028 _pbi::WireFormatLite::TYPE_BOOL>::ByteSizeLong(entry.first, entry.second);
1029 }
1030 }
1031 }
1032 return this_.MaybeComputeUnknownFieldsSize(total_size,
1033 &this_._impl_._cached_size_);
1034}
1035
1036void HighsOptionsProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1037 auto* const _this = static_cast<HighsOptionsProto*>(&to_msg);
1038 auto& from = static_cast<const HighsOptionsProto&>(from_msg);
1039 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.HighsOptionsProto)
1040 ABSL_DCHECK_NE(&from, _this);
1041 ::uint32_t cached_has_bits = 0;
1042 (void) cached_has_bits;
1043
1044 _this->_impl_.string_options_.MergeFrom(from._impl_.string_options_);
1045 _this->_impl_.double_options_.MergeFrom(from._impl_.double_options_);
1046 _this->_impl_.int_options_.MergeFrom(from._impl_.int_options_);
1047 _this->_impl_.bool_options_.MergeFrom(from._impl_.bool_options_);
1048 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1049}
1050
1052// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.HighsOptionsProto)
1053 if (&from == this) return;
1054 Clear();
1055 MergeFrom(from);
1057
1058
1059void HighsOptionsProto::InternalSwap(HighsOptionsProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1060 using ::std::swap;
1061 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1062 _impl_.string_options_.InternalSwap(&other->_impl_.string_options_);
1063 _impl_.double_options_.InternalSwap(&other->_impl_.double_options_);
1064 _impl_.int_options_.InternalSwap(&other->_impl_.int_options_);
1065 _impl_.bool_options_.InternalSwap(&other->_impl_.bool_options_);
1066}
1067
1068::google::protobuf::Metadata HighsOptionsProto::GetMetadata() const {
1069 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1070}
1071// @@protoc_insertion_point(namespace_scope)
1072} // namespace math_opt
1073} // namespace operations_research
1074namespace google {
1075namespace protobuf {
1076} // namespace protobuf
1077} // namespace google
1078// @@protoc_insertion_point(global_scope)
1079PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1080 _static_init2_ [[maybe_unused]] =
1082 ::std::false_type{});
1083#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
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:475
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
Definition highs.pb.cc:686
static constexpr auto InternalGenerateClassData_()
Definition highs.pb.cc:735
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition highs.pb.cc:848
::google::protobuf::Metadata GetMetadata() const
Definition highs.pb.cc:1073
void CopyFrom(const HighsOptionsProto &from)
Definition highs.pb.cc:1056
void MergeFrom(const HighsOptionsProto &from)
Definition highs.pb.h:337
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
Definition highs.pb.cc:763
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition highs.pb.cc:828
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition highs.pb.h:291
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fhighs_2eproto_once
Definition highs.pb.cc:209
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:210
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
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:471
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull HighsOptionsProto_StringOptionsEntry_DoNotUse_class_data_
Definition highs.pb.cc:274
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:569
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:759
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:373
In SWIG mode, we don't want anything besides these top-level includes.
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas