Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
infeasible_subsystem.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/infeasible_subsystem.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 {
29
30inline constexpr ModelSubsetProto_Bounds::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 lower_{false},
34 upper_{false} {}
35
36template <typename>
37PROTOBUF_CONSTEXPR ModelSubsetProto_Bounds::ModelSubsetProto_Bounds(::_pbi::ConstantInitialized)
38#if defined(PROTOBUF_CUSTOM_VTABLE)
39 : ::google::protobuf::Message(ModelSubsetProto_Bounds_class_data_.base()),
40#else // PROTOBUF_CUSTOM_VTABLE
41 : ::google::protobuf::Message(),
42#endif // PROTOBUF_CUSTOM_VTABLE
43 _impl_(::_pbi::ConstantInitialized()) {
44}
52
53PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
55template <typename>
57#if defined(PROTOBUF_CUSTOM_VTABLE)
58 : ModelSubsetProto_VariableBoundsEntry_DoNotUse::MapEntry(ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_.base()){}
59#else // PROTOBUF_CUSTOM_VTABLE
60 : ModelSubsetProto_VariableBoundsEntry_DoNotUse::MapEntry() {
61}
62#endif // PROTOBUF_CUSTOM_VTABLE
70
71PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
73template <typename>
75#if defined(PROTOBUF_CUSTOM_VTABLE)
76 : ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::MapEntry(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_.base()){}
77#else // PROTOBUF_CUSTOM_VTABLE
78 : ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::MapEntry() {
79}
80#endif // PROTOBUF_CUSTOM_VTABLE
88
89PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
91template <typename>
93#if defined(PROTOBUF_CUSTOM_VTABLE)
94 : ModelSubsetProto_LinearConstraintsEntry_DoNotUse::MapEntry(ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_.base()){}
95#else // PROTOBUF_CUSTOM_VTABLE
96 : ModelSubsetProto_LinearConstraintsEntry_DoNotUse::MapEntry() {
97}
98#endif // PROTOBUF_CUSTOM_VTABLE
106
107PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
109
110inline constexpr ModelSubsetProto::Impl_::Impl_(
111 ::_pbi::ConstantInitialized) noexcept
112 : variable_bounds_{},
113 variable_integrality_{},
114 _variable_integrality_cached_byte_size_{0},
115 linear_constraints_{},
116 quadratic_constraints_{},
117 second_order_cone_constraints_{},
118 _second_order_cone_constraints_cached_byte_size_{0},
119 sos1_constraints_{},
120 _sos1_constraints_cached_byte_size_{0},
121 sos2_constraints_{},
122 _sos2_constraints_cached_byte_size_{0},
123 indicator_constraints_{},
124 _indicator_constraints_cached_byte_size_{0},
125 _cached_size_{0} {}
126
127template <typename>
128PROTOBUF_CONSTEXPR ModelSubsetProto::ModelSubsetProto(::_pbi::ConstantInitialized)
129#if defined(PROTOBUF_CUSTOM_VTABLE)
130 : ::google::protobuf::Message(ModelSubsetProto_class_data_.base()),
131#else // PROTOBUF_CUSTOM_VTABLE
132 : ::google::protobuf::Message(),
133#endif // PROTOBUF_CUSTOM_VTABLE
134 _impl_(::_pbi::ConstantInitialized()) {
135}
143
144PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
146
147inline constexpr ComputeInfeasibleSubsystemResultProto::Impl_::Impl_(
148 ::_pbi::ConstantInitialized) noexcept
149 : _cached_size_{0},
150 infeasible_subsystem_{nullptr},
151 feasibility_{static_cast< ::operations_research::math_opt::FeasibilityStatusProto >(0)},
152 is_minimal_{false} {}
153
154template <typename>
156#if defined(PROTOBUF_CUSTOM_VTABLE)
157 : ::google::protobuf::Message(ComputeInfeasibleSubsystemResultProto_class_data_.base()),
158#else // PROTOBUF_CUSTOM_VTABLE
159 : ::google::protobuf::Message(),
160#endif // PROTOBUF_CUSTOM_VTABLE
161 _impl_(::_pbi::ConstantInitialized()) {
162}
170
171PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
173} // namespace math_opt
174} // namespace operations_research
175static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
177static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
179const ::uint32_t
181 protodesc_cold) = {
182 0x081, // bitmap
183 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto_Bounds, _impl_._has_bits_),
184 5, // hasbit index offset
185 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto_Bounds, _impl_.lower_),
186 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto_Bounds, _impl_.upper_),
187 0,
188 1,
189 0x081, // bitmap
191 5, // hasbit index offset
194 0,
195 1,
196 0x081, // bitmap
198 5, // hasbit index offset
201 0,
202 1,
203 0x081, // bitmap
205 5, // hasbit index offset
208 0,
209 1,
210 0x000, // bitmap
211 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto, _impl_.variable_bounds_),
212 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto, _impl_.variable_integrality_),
213 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto, _impl_.linear_constraints_),
214 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto, _impl_.quadratic_constraints_),
215 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto, _impl_.second_order_cone_constraints_),
216 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto, _impl_.sos1_constraints_),
217 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto, _impl_.sos2_constraints_),
218 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSubsetProto, _impl_.indicator_constraints_),
219 0x081, // bitmap
220 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ComputeInfeasibleSubsystemResultProto, _impl_._has_bits_),
221 6, // hasbit index offset
222 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ComputeInfeasibleSubsystemResultProto, _impl_.feasibility_),
223 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ComputeInfeasibleSubsystemResultProto, _impl_.infeasible_subsystem_),
224 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ComputeInfeasibleSubsystemResultProto, _impl_.is_minimal_),
225 1,
226 0,
227 2,
228};
229
230static const ::_pbi::MigrationSchema
231 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
238};
247const char descriptor_table_protodef_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
248 protodesc_cold) = {
249 "\n+ortools/math_opt/infeasible_subsystem."
250 "proto\022\034operations_research.math_opt\032\035ort"
251 "ools/math_opt/result.proto\"\316\006\n\020ModelSubs"
252 "etProto\022[\n\017variable_bounds\030\001 \003(\0132B.opera"
253 "tions_research.math_opt.ModelSubsetProto"
254 ".VariableBoundsEntry\022\034\n\024variable_integra"
255 "lity\030\002 \003(\003\022a\n\022linear_constraints\030\003 \003(\0132E"
256 ".operations_research.math_opt.ModelSubse"
257 "tProto.LinearConstraintsEntry\022g\n\025quadrat"
258 "ic_constraints\030\004 \003(\0132H.operations_resear"
259 "ch.math_opt.ModelSubsetProto.QuadraticCo"
260 "nstraintsEntry\022%\n\035second_order_cone_cons"
261 "traints\030\005 \003(\003\022\030\n\020sos1_constraints\030\006 \003(\003\022"
262 "\030\n\020sos2_constraints\030\007 \003(\003\022\035\n\025indicator_c"
263 "onstraints\030\010 \003(\003\032&\n\006Bounds\022\r\n\005lower\030\001 \001("
264 "\010\022\r\n\005upper\030\002 \001(\010\032l\n\023VariableBoundsEntry\022"
265 "\013\n\003key\030\001 \001(\003\022D\n\005value\030\002 \001(\01325.operations"
266 "_research.math_opt.ModelSubsetProto.Boun"
267 "ds:\0028\001\032o\n\026LinearConstraintsEntry\022\013\n\003key\030"
268 "\001 \001(\003\022D\n\005value\030\002 \001(\01325.operations_resear"
269 "ch.math_opt.ModelSubsetProto.Bounds:\0028\001\032"
270 "r\n\031QuadraticConstraintsEntry\022\013\n\003key\030\001 \001("
271 "\003\022D\n\005value\030\002 \001(\01325.operations_research.m"
272 "ath_opt.ModelSubsetProto.Bounds:\0028\001\"\324\001\n%"
273 "ComputeInfeasibleSubsystemResultProto\022I\n"
274 "\013feasibility\030\001 \001(\01624.operations_research"
275 ".math_opt.FeasibilityStatusProto\022L\n\024infe"
276 "asible_subsystem\030\002 \001(\0132..operations_rese"
277 "arch.math_opt.ModelSubsetProto\022\022\n\nis_min"
278 "imal\030\003 \001(\010B\036\n\032com.google.ortools.mathopt"
279 "P\001b\006proto3"
280};
281static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
302namespace operations_research {
303namespace math_opt {
304// ===================================================================
305
307 public:
308 using HasBits =
309 decltype(::std::declval<ModelSubsetProto_Bounds>()._impl_._has_bits_);
310 static constexpr ::int32_t kHasBitsOffset =
311 8 * PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_._has_bits_);
312};
313
314ModelSubsetProto_Bounds::ModelSubsetProto_Bounds(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
315#if defined(PROTOBUF_CUSTOM_VTABLE)
316 : ::google::protobuf::Message(arena, ModelSubsetProto_Bounds_class_data_.base()) {
317#else // PROTOBUF_CUSTOM_VTABLE
318 : ::google::protobuf::Message(arena) {
319#endif // PROTOBUF_CUSTOM_VTABLE
320 SharedCtor(arena);
321 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.ModelSubsetProto.Bounds)
322}
324 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelSubsetProto_Bounds& from)
325#if defined(PROTOBUF_CUSTOM_VTABLE)
326 : ::google::protobuf::Message(arena, ModelSubsetProto_Bounds_class_data_.base()),
327#else // PROTOBUF_CUSTOM_VTABLE
328 : ::google::protobuf::Message(arena),
329#endif // PROTOBUF_CUSTOM_VTABLE
330 _impl_(from._impl_) {
331 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
332 from._internal_metadata_);
333}
334PROTOBUF_NDEBUG_INLINE ModelSubsetProto_Bounds::Impl_::Impl_(
335 ::google::protobuf::internal::InternalVisibility visibility,
336 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
337 : _cached_size_{0} {}
338
339inline void ModelSubsetProto_Bounds::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
340 new (&_impl_) Impl_(internal_visibility(), arena);
341 ::memset(reinterpret_cast<char *>(&_impl_) +
342 offsetof(Impl_, lower_),
343 0,
344 offsetof(Impl_, upper_) -
345 offsetof(Impl_, lower_) +
346 sizeof(Impl_::upper_));
347}
349 // @@protoc_insertion_point(destructor:operations_research.math_opt.ModelSubsetProto.Bounds)
350 SharedDtor(*this);
351}
352inline void ModelSubsetProto_Bounds::SharedDtor(MessageLite& self) {
353 ModelSubsetProto_Bounds& this_ = static_cast<ModelSubsetProto_Bounds&>(self);
354 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
355 ABSL_DCHECK(this_.GetArena() == nullptr);
356 this_._impl_.~Impl_();
357}
358
359inline void* PROTOBUF_NONNULL ModelSubsetProto_Bounds::PlacementNew_(
360 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
361 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
362 return ::new (mem) ModelSubsetProto_Bounds(arena);
363}
365 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ModelSubsetProto_Bounds),
366 alignof(ModelSubsetProto_Bounds));
367}
369 return ::google::protobuf::internal::ClassDataFull{
370 ::google::protobuf::internal::ClassData{
372 &_table_.header,
373 nullptr, // OnDemandRegisterArenaDtor
374 nullptr, // IsInitialized
375 &ModelSubsetProto_Bounds::MergeImpl,
376 ::google::protobuf::Message::GetNewImpl<ModelSubsetProto_Bounds>(),
377#if defined(PROTOBUF_CUSTOM_VTABLE)
378 &ModelSubsetProto_Bounds::SharedDtor,
379 ::google::protobuf::Message::GetClearImpl<ModelSubsetProto_Bounds>(), &ModelSubsetProto_Bounds::ByteSizeLong,
381#endif // PROTOBUF_CUSTOM_VTABLE
382 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_._cached_size_),
383 false,
384 },
385 &ModelSubsetProto_Bounds::kDescriptorMethods,
387 nullptr, // tracker
388 };
389}
390
391PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
392 ::google::protobuf::internal::ClassDataFull ModelSubsetProto_Bounds_class_data_ =
394
395PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
397 ::google::protobuf::internal::PrefetchToLocalCache(&ModelSubsetProto_Bounds_class_data_);
398 ::google::protobuf::internal::PrefetchToLocalCache(ModelSubsetProto_Bounds_class_data_.tc_table);
400}
401PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
402const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
403ModelSubsetProto_Bounds::_table_ = {
404 {
405 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_._has_bits_),
406 0, // no _extensions_
407 2, 8, // max_field_number, fast_idx_mask
408 offsetof(decltype(_table_), field_lookup_table),
409 4294967292, // skipmap
410 offsetof(decltype(_table_), field_entries),
411 2, // num_field_entries
412 0, // num_aux_entries
413 offsetof(decltype(_table_), field_names), // no aux_entries
415 nullptr, // post_loop_handler
416 ::_pbi::TcParser::GenericFallback, // fallback
417 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
418 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>(), // to_prefetch
419 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
420 }, {{
421 // bool upper = 2;
422 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ModelSubsetProto_Bounds, _impl_.upper_), 1>(),
423 {16, 1, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_.upper_)}},
424 // bool lower = 1;
425 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ModelSubsetProto_Bounds, _impl_.lower_), 0>(),
426 {8, 0, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_.lower_)}},
427 }}, {{
428 65535, 65535
429 }}, {{
430 // bool lower = 1;
431 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_.lower_), _Internal::kHasBitsOffset + 0, 0,
432 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
433 // bool upper = 2;
434 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_.upper_), _Internal::kHasBitsOffset + 1, 0,
435 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
436 }},
437 // no aux_entries
438 {{
439 }},
440};
441PROTOBUF_NOINLINE void ModelSubsetProto_Bounds::Clear() {
442// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.ModelSubsetProto.Bounds)
443 ::google::protobuf::internal::TSanWrite(&_impl_);
444 ::uint32_t cached_has_bits = 0;
445 // Prevent compiler warnings about cached_has_bits being unused
446 (void) cached_has_bits;
447
448 ::memset(&_impl_.lower_, 0, static_cast<::size_t>(
449 reinterpret_cast<char*>(&_impl_.upper_) -
450 reinterpret_cast<char*>(&_impl_.lower_)) + sizeof(_impl_.upper_));
451 _impl_._has_bits_.Clear();
452 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
453}
454
455#if defined(PROTOBUF_CUSTOM_VTABLE)
456::uint8_t* PROTOBUF_NONNULL ModelSubsetProto_Bounds::_InternalSerialize(
457 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
458 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
459 const ModelSubsetProto_Bounds& this_ = static_cast<const ModelSubsetProto_Bounds&>(base);
460#else // PROTOBUF_CUSTOM_VTABLE
461::uint8_t* PROTOBUF_NONNULL ModelSubsetProto_Bounds::_InternalSerialize(
462 ::uint8_t* PROTOBUF_NONNULL target,
463 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
464 const ModelSubsetProto_Bounds& this_ = *this;
465#endif // PROTOBUF_CUSTOM_VTABLE
466 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.ModelSubsetProto.Bounds)
467 ::uint32_t cached_has_bits = 0;
468 (void)cached_has_bits;
469
470 // bool lower = 1;
471 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
472 if (this_._internal_lower() != 0) {
473 target = stream->EnsureSpace(target);
474 target = ::_pbi::WireFormatLite::WriteBoolToArray(
475 1, this_._internal_lower(), target);
476 }
477 }
478
479 // bool upper = 2;
480 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
481 if (this_._internal_upper() != 0) {
482 target = stream->EnsureSpace(target);
483 target = ::_pbi::WireFormatLite::WriteBoolToArray(
484 2, this_._internal_upper(), target);
485 }
486 }
487
488 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
489 target =
490 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
491 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
492 }
493 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.ModelSubsetProto.Bounds)
494 return target;
495}
496
497#if defined(PROTOBUF_CUSTOM_VTABLE)
499 const ModelSubsetProto_Bounds& this_ = static_cast<const ModelSubsetProto_Bounds&>(base);
500#else // PROTOBUF_CUSTOM_VTABLE
502 const ModelSubsetProto_Bounds& this_ = *this;
503#endif // PROTOBUF_CUSTOM_VTABLE
504 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.ModelSubsetProto.Bounds)
505 ::size_t total_size = 0;
506
507 ::uint32_t cached_has_bits = 0;
508 // Prevent compiler warnings about cached_has_bits being unused
509 (void)cached_has_bits;
510
511 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
512 cached_has_bits = this_._impl_._has_bits_[0];
513 if ((cached_has_bits & 0x00000003u) != 0) {
514 // bool lower = 1;
515 if ((cached_has_bits & 0x00000001u) != 0) {
516 if (this_._internal_lower() != 0) {
517 total_size += 2;
518 }
519 }
520 // bool upper = 2;
521 if ((cached_has_bits & 0x00000002u) != 0) {
522 if (this_._internal_upper() != 0) {
523 total_size += 2;
524 }
525 }
526 }
527 return this_.MaybeComputeUnknownFieldsSize(total_size,
528 &this_._impl_._cached_size_);
529}
530
531void ModelSubsetProto_Bounds::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
532 auto* const _this = static_cast<ModelSubsetProto_Bounds*>(&to_msg);
533 auto& from = static_cast<const ModelSubsetProto_Bounds&>(from_msg);
534 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.ModelSubsetProto.Bounds)
535 ABSL_DCHECK_NE(&from, _this);
536 ::uint32_t cached_has_bits = 0;
537 (void) cached_has_bits;
538
539 cached_has_bits = from._impl_._has_bits_[0];
540 if ((cached_has_bits & 0x00000003u) != 0) {
541 if ((cached_has_bits & 0x00000001u) != 0) {
542 if (from._internal_lower() != 0) {
543 _this->_impl_.lower_ = from._impl_.lower_;
544 }
545 }
546 if ((cached_has_bits & 0x00000002u) != 0) {
547 if (from._internal_upper() != 0) {
548 _this->_impl_.upper_ = from._impl_.upper_;
549 }
550 }
551 }
552 _this->_impl_._has_bits_[0] |= cached_has_bits;
553 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
554}
555
557// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.ModelSubsetProto.Bounds)
558 if (&from == this) return;
559 Clear();
560 MergeFrom(from);
561}
562
563
564void ModelSubsetProto_Bounds::InternalSwap(ModelSubsetProto_Bounds* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
565 using ::std::swap;
566 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
567 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
568 ::google::protobuf::internal::memswap<
569 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_.upper_)
570 + sizeof(ModelSubsetProto_Bounds::_impl_.upper_)
571 - PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_.lower_)>(
572 reinterpret_cast<char*>(&_impl_.lower_),
573 reinterpret_cast<char*>(&other->_impl_.lower_));
574}
575
576::google::protobuf::Metadata ModelSubsetProto_Bounds::GetMetadata() const {
577 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
578}
579// ===================================================================
580
581#if defined(PROTOBUF_CUSTOM_VTABLE)
586#else // PROTOBUF_CUSTOM_VTABLE
588ModelSubsetProto_VariableBoundsEntry_DoNotUse::ModelSubsetProto_VariableBoundsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
589#endif // PROTOBUF_CUSTOM_VTABLE
590inline void* PROTOBUF_NONNULL ModelSubsetProto_VariableBoundsEntry_DoNotUse::PlacementNew_(
591 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
592 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
593 return ::new (mem) ModelSubsetProto_VariableBoundsEntry_DoNotUse(arena);
594}
595constexpr auto ModelSubsetProto_VariableBoundsEntry_DoNotUse::InternalNewImpl_() {
596 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ModelSubsetProto_VariableBoundsEntry_DoNotUse),
598}
600 return ::google::protobuf::internal::ClassDataFull{
601 ::google::protobuf::internal::ClassData{
603 &_table_.header,
604 nullptr, // OnDemandRegisterArenaDtor
605 nullptr, // IsInitialized
606 &ModelSubsetProto_VariableBoundsEntry_DoNotUse::MergeImpl,
607 ::google::protobuf::Message::GetNewImpl<ModelSubsetProto_VariableBoundsEntry_DoNotUse>(),
608#if defined(PROTOBUF_CUSTOM_VTABLE)
609 &ModelSubsetProto_VariableBoundsEntry_DoNotUse::SharedDtor,
610 static_cast<void (::google::protobuf::MessageLite::*)()>(&ModelSubsetProto_VariableBoundsEntry_DoNotUse::ClearImpl),
611 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
612 ,
613#endif // PROTOBUF_CUSTOM_VTABLE
614 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_VariableBoundsEntry_DoNotUse, _impl_._cached_size_),
615 false,
616 },
617 &ModelSubsetProto_VariableBoundsEntry_DoNotUse::kDescriptorMethods,
619 nullptr, // tracker
620 };
621}
622
623PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
624 ::google::protobuf::internal::ClassDataFull ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_ =
627PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
628ModelSubsetProto_VariableBoundsEntry_DoNotUse::GetClassData() const {
629 ::google::protobuf::internal::PrefetchToLocalCache(&ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_);
630 ::google::protobuf::internal::PrefetchToLocalCache(ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_.tc_table);
632}
633PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
634const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
635ModelSubsetProto_VariableBoundsEntry_DoNotUse::_table_ = {
636 {
637 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_VariableBoundsEntry_DoNotUse, _impl_._has_bits_),
638 0, // no _extensions_
639 2, 8, // max_field_number, fast_idx_mask
640 offsetof(decltype(_table_), field_lookup_table),
641 4294967292, // skipmap
642 offsetof(decltype(_table_), field_entries),
643 2, // num_field_entries
644 1, // num_aux_entries
645 offsetof(decltype(_table_), aux_entries),
647 nullptr, // post_loop_handler
648 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
649 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
650 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_VariableBoundsEntry_DoNotUse>(), // to_prefetch
651 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
652 }, {{
653 // .operations_research.math_opt.ModelSubsetProto.Bounds value = 2;
654 {::_pbi::TcParser::FastMtS1,
655 {18, 0, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_VariableBoundsEntry_DoNotUse, _impl_.value_)}},
656 // int64 key = 1;
657 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ModelSubsetProto_VariableBoundsEntry_DoNotUse, _impl_.key_), 1>(),
658 {8, 1, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_VariableBoundsEntry_DoNotUse, _impl_.key_)}},
659 }}, {{
660 65535, 65535
661 }}, {{
662 // int64 key = 1;
663 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_VariableBoundsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 1, 0,
664 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
665 // .operations_research.math_opt.ModelSubsetProto.Bounds value = 2;
666 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_VariableBoundsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
667 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
668 }},
669 {{
670 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
671 }},
672 {{
673 }},
674};
675// ===================================================================
676
677#if defined(PROTOBUF_CUSTOM_VTABLE)
680ModelSubsetProto_LinearConstraintsEntry_DoNotUse::ModelSubsetProto_LinearConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
682#else // PROTOBUF_CUSTOM_VTABLE
683ModelSubsetProto_LinearConstraintsEntry_DoNotUse::ModelSubsetProto_LinearConstraintsEntry_DoNotUse() : SuperType() {}
684ModelSubsetProto_LinearConstraintsEntry_DoNotUse::ModelSubsetProto_LinearConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
685#endif // PROTOBUF_CUSTOM_VTABLE
686inline void* PROTOBUF_NONNULL ModelSubsetProto_LinearConstraintsEntry_DoNotUse::PlacementNew_(
687 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
688 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
689 return ::new (mem) ModelSubsetProto_LinearConstraintsEntry_DoNotUse(arena);
690}
691constexpr auto ModelSubsetProto_LinearConstraintsEntry_DoNotUse::InternalNewImpl_() {
692 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ModelSubsetProto_LinearConstraintsEntry_DoNotUse),
694}
695constexpr auto ModelSubsetProto_LinearConstraintsEntry_DoNotUse::InternalGenerateClassData_() {
696 return ::google::protobuf::internal::ClassDataFull{
697 ::google::protobuf::internal::ClassData{
699 &_table_.header,
700 nullptr, // OnDemandRegisterArenaDtor
701 nullptr, // IsInitialized
702 &ModelSubsetProto_LinearConstraintsEntry_DoNotUse::MergeImpl,
703 ::google::protobuf::Message::GetNewImpl<ModelSubsetProto_LinearConstraintsEntry_DoNotUse>(),
704#if defined(PROTOBUF_CUSTOM_VTABLE)
705 &ModelSubsetProto_LinearConstraintsEntry_DoNotUse::SharedDtor,
706 static_cast<void (::google::protobuf::MessageLite::*)()>(&ModelSubsetProto_LinearConstraintsEntry_DoNotUse::ClearImpl),
707 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
708 ,
709#endif // PROTOBUF_CUSTOM_VTABLE
710 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_._cached_size_),
711 false,
712 },
713 &ModelSubsetProto_LinearConstraintsEntry_DoNotUse::kDescriptorMethods,
715 nullptr, // tracker
716 };
717}
718
719PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
720 ::google::protobuf::internal::ClassDataFull ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_ =
721 ModelSubsetProto_LinearConstraintsEntry_DoNotUse::InternalGenerateClassData_();
722
723PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
724ModelSubsetProto_LinearConstraintsEntry_DoNotUse::GetClassData() const {
725 ::google::protobuf::internal::PrefetchToLocalCache(&ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_);
726 ::google::protobuf::internal::PrefetchToLocalCache(ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_.tc_table);
728}
729PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
730const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
731ModelSubsetProto_LinearConstraintsEntry_DoNotUse::_table_ = {
732 {
733 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_._has_bits_),
734 0, // no _extensions_
735 2, 8, // max_field_number, fast_idx_mask
736 offsetof(decltype(_table_), field_lookup_table),
737 4294967292, // skipmap
738 offsetof(decltype(_table_), field_entries),
739 2, // num_field_entries
740 1, // num_aux_entries
741 offsetof(decltype(_table_), aux_entries),
742 ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_.base(),
743 nullptr, // post_loop_handler
744 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
745 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
746 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_LinearConstraintsEntry_DoNotUse>(), // to_prefetch
747 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
748 }, {{
749 // .operations_research.math_opt.ModelSubsetProto.Bounds value = 2;
750 {::_pbi::TcParser::FastMtS1,
751 {18, 0, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_.value_)}},
752 // int64 key = 1;
753 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_.key_), 1>(),
754 {8, 1, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_.key_)}},
755 }}, {{
756 65535, 65535
757 }}, {{
758 // int64 key = 1;
759 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 1, 0,
760 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
761 // .operations_research.math_opt.ModelSubsetProto.Bounds value = 2;
762 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
763 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
764 }},
765 {{
766 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
767 }},
768 {{
769 }},
770};
771// ===================================================================
772
773#if defined(PROTOBUF_CUSTOM_VTABLE)
774ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse()
776ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
778#else // PROTOBUF_CUSTOM_VTABLE
779ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse() : SuperType() {}
780ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
781#endif // PROTOBUF_CUSTOM_VTABLE
782inline void* PROTOBUF_NONNULL ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::PlacementNew_(
783 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
784 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
786}
787constexpr auto ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::InternalNewImpl_() {
788 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse),
790}
791constexpr auto ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::InternalGenerateClassData_() {
792 return ::google::protobuf::internal::ClassDataFull{
793 ::google::protobuf::internal::ClassData{
794 &_ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_default_instance_._instance,
795 &_table_.header,
796 nullptr, // OnDemandRegisterArenaDtor
797 nullptr, // IsInitialized
798 &ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::MergeImpl,
799 ::google::protobuf::Message::GetNewImpl<ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse>(),
800#if defined(PROTOBUF_CUSTOM_VTABLE)
801 &ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::SharedDtor,
802 static_cast<void (::google::protobuf::MessageLite::*)()>(&ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::ClearImpl),
803 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
804 ,
805#endif // PROTOBUF_CUSTOM_VTABLE
806 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_._cached_size_),
807 false,
808 },
809 &ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::kDescriptorMethods,
811 nullptr, // tracker
812 };
813}
814
815PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
816 ::google::protobuf::internal::ClassDataFull ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_ =
817 ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::InternalGenerateClassData_();
818
819PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
820ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::GetClassData() const {
821 ::google::protobuf::internal::PrefetchToLocalCache(&ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_);
822 ::google::protobuf::internal::PrefetchToLocalCache(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_.tc_table);
824}
825PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
826const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
827ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::_table_ = {
828 {
829 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_._has_bits_),
830 0, // no _extensions_
831 2, 8, // max_field_number, fast_idx_mask
832 offsetof(decltype(_table_), field_lookup_table),
833 4294967292, // skipmap
834 offsetof(decltype(_table_), field_entries),
835 2, // num_field_entries
836 1, // num_aux_entries
837 offsetof(decltype(_table_), aux_entries),
838 ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_.base(),
839 nullptr, // post_loop_handler
840 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
841 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
842 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse>(), // to_prefetch
843 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
844 }, {{
845 // .operations_research.math_opt.ModelSubsetProto.Bounds value = 2;
846 {::_pbi::TcParser::FastMtS1,
847 {18, 0, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_.value_)}},
848 // int64 key = 1;
849 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_.key_), 1>(),
850 {8, 1, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_.key_)}},
851 }}, {{
852 65535, 65535
853 }}, {{
854 // int64 key = 1;
855 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 1, 0,
856 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
857 // .operations_research.math_opt.ModelSubsetProto.Bounds value = 2;
858 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
859 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
860 }},
861 {{
862 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
863 }},
864 {{
865 }},
866};
867// ===================================================================
868
869class ModelSubsetProto::_Internal {
870 public:
871};
872
873ModelSubsetProto::ModelSubsetProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
874#if defined(PROTOBUF_CUSTOM_VTABLE)
875 : ::google::protobuf::Message(arena, ModelSubsetProto_class_data_.base()) {
876#else // PROTOBUF_CUSTOM_VTABLE
877 : ::google::protobuf::Message(arena) {
878#endif // PROTOBUF_CUSTOM_VTABLE
879 SharedCtor(arena);
880 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.ModelSubsetProto)
881}
882PROTOBUF_NDEBUG_INLINE ModelSubsetProto::Impl_::Impl_(
883 ::google::protobuf::internal::InternalVisibility visibility,
884 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
885 const ::operations_research::math_opt::ModelSubsetProto& from_msg)
886 : variable_bounds_{visibility, arena, from.variable_bounds_},
887 variable_integrality_{visibility, arena, from.variable_integrality_},
888 _variable_integrality_cached_byte_size_{0},
889 linear_constraints_{visibility, arena, from.linear_constraints_},
890 quadratic_constraints_{visibility, arena, from.quadratic_constraints_},
891 second_order_cone_constraints_{visibility, arena, from.second_order_cone_constraints_},
892 _second_order_cone_constraints_cached_byte_size_{0},
893 sos1_constraints_{visibility, arena, from.sos1_constraints_},
894 _sos1_constraints_cached_byte_size_{0},
895 sos2_constraints_{visibility, arena, from.sos2_constraints_},
896 _sos2_constraints_cached_byte_size_{0},
897 indicator_constraints_{visibility, arena, from.indicator_constraints_},
898 _indicator_constraints_cached_byte_size_{0},
899 _cached_size_{0} {}
900
902 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
903 const ModelSubsetProto& from)
904#if defined(PROTOBUF_CUSTOM_VTABLE)
905 : ::google::protobuf::Message(arena, ModelSubsetProto_class_data_.base()) {
906#else // PROTOBUF_CUSTOM_VTABLE
907 : ::google::protobuf::Message(arena) {
908#endif // PROTOBUF_CUSTOM_VTABLE
909 ModelSubsetProto* const _this = this;
910 (void)_this;
911 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
912 from._internal_metadata_);
913 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
914
915 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.ModelSubsetProto)
916}
917PROTOBUF_NDEBUG_INLINE ModelSubsetProto::Impl_::Impl_(
918 ::google::protobuf::internal::InternalVisibility visibility,
919 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
920 : variable_bounds_{visibility, arena},
921 variable_integrality_{visibility, arena},
922 _variable_integrality_cached_byte_size_{0},
923 linear_constraints_{visibility, arena},
924 quadratic_constraints_{visibility, arena},
925 second_order_cone_constraints_{visibility, arena},
926 _second_order_cone_constraints_cached_byte_size_{0},
927 sos1_constraints_{visibility, arena},
928 _sos1_constraints_cached_byte_size_{0},
929 sos2_constraints_{visibility, arena},
930 _sos2_constraints_cached_byte_size_{0},
931 indicator_constraints_{visibility, arena},
932 _indicator_constraints_cached_byte_size_{0},
933 _cached_size_{0} {}
934
935inline void ModelSubsetProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
936 new (&_impl_) Impl_(internal_visibility(), arena);
937}
939 // @@protoc_insertion_point(destructor:operations_research.math_opt.ModelSubsetProto)
940 SharedDtor(*this);
941}
942inline void ModelSubsetProto::SharedDtor(MessageLite& self) {
943 ModelSubsetProto& this_ = static_cast<ModelSubsetProto&>(self);
944 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
945 ABSL_DCHECK(this_.GetArena() == nullptr);
946 this_._impl_.~Impl_();
947}
948
949inline void* PROTOBUF_NONNULL ModelSubsetProto::PlacementNew_(
950 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
951 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
952 return ::new (mem) ModelSubsetProto(arena);
953}
955 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
956 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.variable_bounds_) +
957 decltype(ModelSubsetProto::_impl_.variable_bounds_)::
958 InternalGetArenaOffset(
959 ::google::protobuf::Message::internal_visibility()),
960 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.variable_bounds_) +
961 decltype(ModelSubsetProto::_impl_.variable_bounds_)::
962 InternalGetArenaOffsetAlt(
963 ::google::protobuf::Message::internal_visibility()),
964 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.variable_integrality_) +
965 decltype(ModelSubsetProto::_impl_.variable_integrality_)::
966 InternalGetArenaOffset(
967 ::google::protobuf::Message::internal_visibility()),
968 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.linear_constraints_) +
969 decltype(ModelSubsetProto::_impl_.linear_constraints_)::
970 InternalGetArenaOffset(
971 ::google::protobuf::Message::internal_visibility()),
972 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.linear_constraints_) +
973 decltype(ModelSubsetProto::_impl_.linear_constraints_)::
974 InternalGetArenaOffsetAlt(
975 ::google::protobuf::Message::internal_visibility()),
976 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.quadratic_constraints_) +
977 decltype(ModelSubsetProto::_impl_.quadratic_constraints_)::
978 InternalGetArenaOffset(
979 ::google::protobuf::Message::internal_visibility()),
980 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.quadratic_constraints_) +
981 decltype(ModelSubsetProto::_impl_.quadratic_constraints_)::
982 InternalGetArenaOffsetAlt(
983 ::google::protobuf::Message::internal_visibility()),
984 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.second_order_cone_constraints_) +
985 decltype(ModelSubsetProto::_impl_.second_order_cone_constraints_)::
986 InternalGetArenaOffset(
987 ::google::protobuf::Message::internal_visibility()),
988 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.sos1_constraints_) +
989 decltype(ModelSubsetProto::_impl_.sos1_constraints_)::
990 InternalGetArenaOffset(
991 ::google::protobuf::Message::internal_visibility()),
992 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.sos2_constraints_) +
993 decltype(ModelSubsetProto::_impl_.sos2_constraints_)::
994 InternalGetArenaOffset(
995 ::google::protobuf::Message::internal_visibility()),
996 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.indicator_constraints_) +
997 decltype(ModelSubsetProto::_impl_.indicator_constraints_)::
998 InternalGetArenaOffset(
999 ::google::protobuf::Message::internal_visibility()),
1000 });
1001 if (arena_bits.has_value()) {
1002 return ::google::protobuf::internal::MessageCreator::CopyInit(
1003 sizeof(ModelSubsetProto), alignof(ModelSubsetProto), *arena_bits);
1004 } else {
1005 return ::google::protobuf::internal::MessageCreator(&ModelSubsetProto::PlacementNew_,
1006 sizeof(ModelSubsetProto),
1007 alignof(ModelSubsetProto));
1008 }
1009}
1011 return ::google::protobuf::internal::ClassDataFull{
1012 ::google::protobuf::internal::ClassData{
1014 &_table_.header,
1015 nullptr, // OnDemandRegisterArenaDtor
1016 nullptr, // IsInitialized
1017 &ModelSubsetProto::MergeImpl,
1018 ::google::protobuf::Message::GetNewImpl<ModelSubsetProto>(),
1019#if defined(PROTOBUF_CUSTOM_VTABLE)
1020 &ModelSubsetProto::SharedDtor,
1021 ::google::protobuf::Message::GetClearImpl<ModelSubsetProto>(), &ModelSubsetProto::ByteSizeLong,
1023#endif // PROTOBUF_CUSTOM_VTABLE
1024 PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_._cached_size_),
1025 false,
1026 },
1027 &ModelSubsetProto::kDescriptorMethods,
1029 nullptr, // tracker
1030 };
1031}
1032
1033PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1034 ::google::protobuf::internal::ClassDataFull ModelSubsetProto_class_data_ =
1036
1037PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1039 ::google::protobuf::internal::PrefetchToLocalCache(&ModelSubsetProto_class_data_);
1040 ::google::protobuf::internal::PrefetchToLocalCache(ModelSubsetProto_class_data_.tc_table);
1041 return ModelSubsetProto_class_data_.base();
1042}
1043PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1044const ::_pbi::TcParseTable<3, 8, 6, 0, 2>
1045ModelSubsetProto::_table_ = {
1046 {
1047 0, // no _has_bits_
1048 0, // no _extensions_
1049 8, 56, // max_field_number, fast_idx_mask
1050 offsetof(decltype(_table_), field_lookup_table),
1051 4294967040, // skipmap
1052 offsetof(decltype(_table_), field_entries),
1053 8, // num_field_entries
1054 6, // num_aux_entries
1055 offsetof(decltype(_table_), aux_entries),
1057 nullptr, // post_loop_handler
1058 ::_pbi::TcParser::GenericFallback, // fallback
1059 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1060 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto>(), // to_prefetch
1061 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1062 }, {{
1063 // repeated int64 indicator_constraints = 8;
1064 {::_pbi::TcParser::FastV64P1,
1065 {66, 63, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.indicator_constraints_)}},
1066 {::_pbi::TcParser::MiniParse, {}},
1067 // repeated int64 variable_integrality = 2;
1068 {::_pbi::TcParser::FastV64P1,
1069 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.variable_integrality_)}},
1070 {::_pbi::TcParser::MiniParse, {}},
1071 {::_pbi::TcParser::MiniParse, {}},
1072 // repeated int64 second_order_cone_constraints = 5;
1073 {::_pbi::TcParser::FastV64P1,
1074 {42, 63, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.second_order_cone_constraints_)}},
1075 // repeated int64 sos1_constraints = 6;
1076 {::_pbi::TcParser::FastV64P1,
1077 {50, 63, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.sos1_constraints_)}},
1078 // repeated int64 sos2_constraints = 7;
1079 {::_pbi::TcParser::FastV64P1,
1080 {58, 63, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.sos2_constraints_)}},
1081 }}, {{
1082 65535, 65535
1083 }}, {{
1084 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> variable_bounds = 1;
1085 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.variable_bounds_), 0, 0,
1086 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1087 // repeated int64 variable_integrality = 2;
1088 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.variable_integrality_), 0, 0,
1089 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1090 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> linear_constraints = 3;
1091 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.linear_constraints_), 0, 2,
1092 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1093 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> quadratic_constraints = 4;
1094 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.quadratic_constraints_), 0, 4,
1095 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1096 // repeated int64 second_order_cone_constraints = 5;
1097 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.second_order_cone_constraints_), 0, 0,
1098 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1099 // repeated int64 sos1_constraints = 6;
1100 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.sos1_constraints_), 0, 0,
1101 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1102 // repeated int64 sos2_constraints = 7;
1103 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.sos2_constraints_), 0, 0,
1104 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1105 // repeated int64 indicator_constraints = 8;
1106 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto, _impl_.indicator_constraints_), 0, 0,
1107 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1108 }},
1109 {{
1110 {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0,
1111 3, 11,
1112 0)},
1113 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
1114 {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0,
1115 3, 11,
1116 0)},
1117 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
1118 {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0,
1119 3, 11,
1120 0)},
1121 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
1122 }},
1123 {{
1124 }},
1125};
1126PROTOBUF_NOINLINE void ModelSubsetProto::Clear() {
1127// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.ModelSubsetProto)
1128 ::google::protobuf::internal::TSanWrite(&_impl_);
1129 ::uint32_t cached_has_bits = 0;
1130 // Prevent compiler warnings about cached_has_bits being unused
1131 (void) cached_has_bits;
1132
1133 _impl_.variable_bounds_.Clear();
1134 _impl_.variable_integrality_.Clear();
1135 _impl_.linear_constraints_.Clear();
1136 _impl_.quadratic_constraints_.Clear();
1137 _impl_.second_order_cone_constraints_.Clear();
1138 _impl_.sos1_constraints_.Clear();
1139 _impl_.sos2_constraints_.Clear();
1140 _impl_.indicator_constraints_.Clear();
1141 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1142}
1143
1144#if defined(PROTOBUF_CUSTOM_VTABLE)
1145::uint8_t* PROTOBUF_NONNULL ModelSubsetProto::_InternalSerialize(
1146 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1147 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1148 const ModelSubsetProto& this_ = static_cast<const ModelSubsetProto&>(base);
1149#else // PROTOBUF_CUSTOM_VTABLE
1150::uint8_t* PROTOBUF_NONNULL ModelSubsetProto::_InternalSerialize(
1151 ::uint8_t* PROTOBUF_NONNULL target,
1152 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1153 const ModelSubsetProto& this_ = *this;
1154#endif // PROTOBUF_CUSTOM_VTABLE
1155 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.ModelSubsetProto)
1156 ::uint32_t cached_has_bits = 0;
1157 (void)cached_has_bits;
1158
1159 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> variable_bounds = 1;
1160 if (!this_._internal_variable_bounds().empty()) {
1161 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>;
1162 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds,
1163 _pbi::WireFormatLite::TYPE_INT64,
1164 _pbi::WireFormatLite::TYPE_MESSAGE>;
1165 const auto& field = this_._internal_variable_bounds();
1166
1167 if (stream->IsSerializationDeterministic() && field.size() > 1) {
1168 for (const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
1169 target = WireHelper::InternalSerialize(
1170 1, entry.first, entry.second, target, stream);
1171 }
1172 } else {
1173 for (const auto& entry : field) {
1174 target = WireHelper::InternalSerialize(
1175 1, entry.first, entry.second, target, stream);
1176 }
1177 }
1178 }
1179
1180 // repeated int64 variable_integrality = 2;
1181 {
1182 int byte_size = this_._impl_._variable_integrality_cached_byte_size_.Get();
1183 if (byte_size > 0) {
1184 target = stream->WriteInt64Packed(
1185 2, this_._internal_variable_integrality(), byte_size, target);
1186 }
1187 }
1188
1189 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> linear_constraints = 3;
1190 if (!this_._internal_linear_constraints().empty()) {
1191 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>;
1192 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds,
1193 _pbi::WireFormatLite::TYPE_INT64,
1194 _pbi::WireFormatLite::TYPE_MESSAGE>;
1195 const auto& field = this_._internal_linear_constraints();
1196
1197 if (stream->IsSerializationDeterministic() && field.size() > 1) {
1198 for (const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
1199 target = WireHelper::InternalSerialize(
1200 3, entry.first, entry.second, target, stream);
1201 }
1202 } else {
1203 for (const auto& entry : field) {
1204 target = WireHelper::InternalSerialize(
1205 3, entry.first, entry.second, target, stream);
1206 }
1207 }
1208 }
1209
1210 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> quadratic_constraints = 4;
1211 if (!this_._internal_quadratic_constraints().empty()) {
1212 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>;
1213 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds,
1214 _pbi::WireFormatLite::TYPE_INT64,
1215 _pbi::WireFormatLite::TYPE_MESSAGE>;
1216 const auto& field = this_._internal_quadratic_constraints();
1217
1218 if (stream->IsSerializationDeterministic() && field.size() > 1) {
1219 for (const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
1220 target = WireHelper::InternalSerialize(
1221 4, entry.first, entry.second, target, stream);
1222 }
1223 } else {
1224 for (const auto& entry : field) {
1225 target = WireHelper::InternalSerialize(
1226 4, entry.first, entry.second, target, stream);
1227 }
1228 }
1229 }
1230
1231 // repeated int64 second_order_cone_constraints = 5;
1232 {
1233 int byte_size = this_._impl_._second_order_cone_constraints_cached_byte_size_.Get();
1234 if (byte_size > 0) {
1235 target = stream->WriteInt64Packed(
1236 5, this_._internal_second_order_cone_constraints(), byte_size, target);
1237 }
1238 }
1239
1240 // repeated int64 sos1_constraints = 6;
1241 {
1242 int byte_size = this_._impl_._sos1_constraints_cached_byte_size_.Get();
1243 if (byte_size > 0) {
1244 target = stream->WriteInt64Packed(
1245 6, this_._internal_sos1_constraints(), byte_size, target);
1246 }
1247 }
1248
1249 // repeated int64 sos2_constraints = 7;
1250 {
1251 int byte_size = this_._impl_._sos2_constraints_cached_byte_size_.Get();
1252 if (byte_size > 0) {
1253 target = stream->WriteInt64Packed(
1254 7, this_._internal_sos2_constraints(), byte_size, target);
1255 }
1256 }
1257
1258 // repeated int64 indicator_constraints = 8;
1259 {
1260 int byte_size = this_._impl_._indicator_constraints_cached_byte_size_.Get();
1261 if (byte_size > 0) {
1262 target = stream->WriteInt64Packed(
1263 8, this_._internal_indicator_constraints(), byte_size, target);
1264 }
1265 }
1266
1267 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1268 target =
1269 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1270 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1271 }
1272 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.ModelSubsetProto)
1273 return target;
1274}
1275
1276#if defined(PROTOBUF_CUSTOM_VTABLE)
1277::size_t ModelSubsetProto::ByteSizeLong(const MessageLite& base) {
1278 const ModelSubsetProto& this_ = static_cast<const ModelSubsetProto&>(base);
1279#else // PROTOBUF_CUSTOM_VTABLE
1280::size_t ModelSubsetProto::ByteSizeLong() const {
1281 const ModelSubsetProto& this_ = *this;
1282#endif // PROTOBUF_CUSTOM_VTABLE
1283 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.ModelSubsetProto)
1284 ::size_t total_size = 0;
1286 ::uint32_t cached_has_bits = 0;
1287 // Prevent compiler warnings about cached_has_bits being unused
1288 (void)cached_has_bits;
1289
1290 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1291 {
1292 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> variable_bounds = 1;
1293 {
1294 total_size +=
1295 1 * ::google::protobuf::internal::FromIntSize(this_._internal_variable_bounds_size());
1296 for (const auto& entry : this_._internal_variable_bounds()) {
1297 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds,
1298 _pbi::WireFormatLite::TYPE_INT64,
1299 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
1300 }
1301 }
1302 // repeated int64 variable_integrality = 2;
1303 {
1304 total_size +=
1305 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1306 this_._internal_variable_integrality(), 1,
1307 this_._impl_._variable_integrality_cached_byte_size_);
1308 }
1309 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> linear_constraints = 3;
1310 {
1311 total_size +=
1312 1 * ::google::protobuf::internal::FromIntSize(this_._internal_linear_constraints_size());
1313 for (const auto& entry : this_._internal_linear_constraints()) {
1314 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds,
1315 _pbi::WireFormatLite::TYPE_INT64,
1316 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
1317 }
1318 }
1319 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> quadratic_constraints = 4;
1320 {
1321 total_size +=
1322 1 * ::google::protobuf::internal::FromIntSize(this_._internal_quadratic_constraints_size());
1323 for (const auto& entry : this_._internal_quadratic_constraints()) {
1324 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds,
1325 _pbi::WireFormatLite::TYPE_INT64,
1326 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
1327 }
1328 }
1329 // repeated int64 second_order_cone_constraints = 5;
1330 {
1331 total_size +=
1332 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1333 this_._internal_second_order_cone_constraints(), 1,
1334 this_._impl_._second_order_cone_constraints_cached_byte_size_);
1335 }
1336 // repeated int64 sos1_constraints = 6;
1337 {
1338 total_size +=
1339 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1340 this_._internal_sos1_constraints(), 1,
1341 this_._impl_._sos1_constraints_cached_byte_size_);
1342 }
1343 // repeated int64 sos2_constraints = 7;
1344 {
1345 total_size +=
1346 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1347 this_._internal_sos2_constraints(), 1,
1348 this_._impl_._sos2_constraints_cached_byte_size_);
1349 }
1350 // repeated int64 indicator_constraints = 8;
1351 {
1352 total_size +=
1353 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1354 this_._internal_indicator_constraints(), 1,
1355 this_._impl_._indicator_constraints_cached_byte_size_);
1356 }
1357 }
1358 return this_.MaybeComputeUnknownFieldsSize(total_size,
1359 &this_._impl_._cached_size_);
1360}
1361
1362void ModelSubsetProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1363 auto* const _this = static_cast<ModelSubsetProto*>(&to_msg);
1364 auto& from = static_cast<const ModelSubsetProto&>(from_msg);
1365 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.ModelSubsetProto)
1366 ABSL_DCHECK_NE(&from, _this);
1367 ::uint32_t cached_has_bits = 0;
1368 (void) cached_has_bits;
1369
1370 _this->_impl_.variable_bounds_.MergeFrom(from._impl_.variable_bounds_);
1371 _this->_internal_mutable_variable_integrality()->MergeFrom(from._internal_variable_integrality());
1372 _this->_impl_.linear_constraints_.MergeFrom(from._impl_.linear_constraints_);
1373 _this->_impl_.quadratic_constraints_.MergeFrom(from._impl_.quadratic_constraints_);
1374 _this->_internal_mutable_second_order_cone_constraints()->MergeFrom(from._internal_second_order_cone_constraints());
1375 _this->_internal_mutable_sos1_constraints()->MergeFrom(from._internal_sos1_constraints());
1376 _this->_internal_mutable_sos2_constraints()->MergeFrom(from._internal_sos2_constraints());
1377 _this->_internal_mutable_indicator_constraints()->MergeFrom(from._internal_indicator_constraints());
1378 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1379}
1380
1382// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.ModelSubsetProto)
1383 if (&from == this) return;
1384 Clear();
1385 MergeFrom(from);
1387
1388
1389void ModelSubsetProto::InternalSwap(ModelSubsetProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1390 using ::std::swap;
1391 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1392 _impl_.variable_bounds_.InternalSwap(&other->_impl_.variable_bounds_);
1393 _impl_.variable_integrality_.InternalSwap(&other->_impl_.variable_integrality_);
1394 _impl_.linear_constraints_.InternalSwap(&other->_impl_.linear_constraints_);
1395 _impl_.quadratic_constraints_.InternalSwap(&other->_impl_.quadratic_constraints_);
1396 _impl_.second_order_cone_constraints_.InternalSwap(&other->_impl_.second_order_cone_constraints_);
1397 _impl_.sos1_constraints_.InternalSwap(&other->_impl_.sos1_constraints_);
1398 _impl_.sos2_constraints_.InternalSwap(&other->_impl_.sos2_constraints_);
1399 _impl_.indicator_constraints_.InternalSwap(&other->_impl_.indicator_constraints_);
1400}
1401
1402::google::protobuf::Metadata ModelSubsetProto::GetMetadata() const {
1403 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1404}
1405// ===================================================================
1406
1408 public:
1409 using HasBits =
1410 decltype(::std::declval<ComputeInfeasibleSubsystemResultProto>()._impl_._has_bits_);
1411 static constexpr ::int32_t kHasBitsOffset =
1412 8 * PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_._has_bits_);
1414
1416#if defined(PROTOBUF_CUSTOM_VTABLE)
1417 : ::google::protobuf::Message(arena, ComputeInfeasibleSubsystemResultProto_class_data_.base()) {
1418#else // PROTOBUF_CUSTOM_VTABLE
1419 : ::google::protobuf::Message(arena) {
1420#endif // PROTOBUF_CUSTOM_VTABLE
1421 SharedCtor(arena);
1422 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
1423}
1424PROTOBUF_NDEBUG_INLINE ComputeInfeasibleSubsystemResultProto::Impl_::Impl_(
1425 ::google::protobuf::internal::InternalVisibility visibility,
1426 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1427 const ::operations_research::math_opt::ComputeInfeasibleSubsystemResultProto& from_msg)
1428 : _has_bits_{from._has_bits_},
1429 _cached_size_{0} {}
1430
1432 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1433 const ComputeInfeasibleSubsystemResultProto& from)
1434#if defined(PROTOBUF_CUSTOM_VTABLE)
1435 : ::google::protobuf::Message(arena, ComputeInfeasibleSubsystemResultProto_class_data_.base()) {
1436#else // PROTOBUF_CUSTOM_VTABLE
1437 : ::google::protobuf::Message(arena) {
1438#endif // PROTOBUF_CUSTOM_VTABLE
1439 ComputeInfeasibleSubsystemResultProto* const _this = this;
1440 (void)_this;
1441 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1442 from._internal_metadata_);
1443 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1444 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1445 _impl_.infeasible_subsystem_ = ((cached_has_bits & 0x00000001u) != 0)
1446 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.infeasible_subsystem_)
1447 : nullptr;
1448 ::memcpy(reinterpret_cast<char *>(&_impl_) +
1449 offsetof(Impl_, feasibility_),
1450 reinterpret_cast<const char *>(&from._impl_) +
1451 offsetof(Impl_, feasibility_),
1452 offsetof(Impl_, is_minimal_) -
1453 offsetof(Impl_, feasibility_) +
1454 sizeof(Impl_::is_minimal_));
1455
1456 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
1457}
1458PROTOBUF_NDEBUG_INLINE ComputeInfeasibleSubsystemResultProto::Impl_::Impl_(
1459 ::google::protobuf::internal::InternalVisibility visibility,
1460 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1461 : _cached_size_{0} {}
1462
1463inline void ComputeInfeasibleSubsystemResultProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1464 new (&_impl_) Impl_(internal_visibility(), arena);
1465 ::memset(reinterpret_cast<char *>(&_impl_) +
1466 offsetof(Impl_, infeasible_subsystem_),
1467 0,
1468 offsetof(Impl_, is_minimal_) -
1469 offsetof(Impl_, infeasible_subsystem_) +
1470 sizeof(Impl_::is_minimal_));
1471}
1473 // @@protoc_insertion_point(destructor:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
1474 SharedDtor(*this);
1475}
1476inline void ComputeInfeasibleSubsystemResultProto::SharedDtor(MessageLite& self) {
1478 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1479 ABSL_DCHECK(this_.GetArena() == nullptr);
1480 delete this_._impl_.infeasible_subsystem_;
1481 this_._impl_.~Impl_();
1482}
1483
1484inline void* PROTOBUF_NONNULL ComputeInfeasibleSubsystemResultProto::PlacementNew_(
1485 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1486 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1487 return ::new (mem) ComputeInfeasibleSubsystemResultProto(arena);
1488}
1490 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ComputeInfeasibleSubsystemResultProto),
1492}
1494 return ::google::protobuf::internal::ClassDataFull{
1495 ::google::protobuf::internal::ClassData{
1497 &_table_.header,
1498 nullptr, // OnDemandRegisterArenaDtor
1499 nullptr, // IsInitialized
1500 &ComputeInfeasibleSubsystemResultProto::MergeImpl,
1501 ::google::protobuf::Message::GetNewImpl<ComputeInfeasibleSubsystemResultProto>(),
1502#if defined(PROTOBUF_CUSTOM_VTABLE)
1503 &ComputeInfeasibleSubsystemResultProto::SharedDtor,
1504 ::google::protobuf::Message::GetClearImpl<ComputeInfeasibleSubsystemResultProto>(), &ComputeInfeasibleSubsystemResultProto::ByteSizeLong,
1506#endif // PROTOBUF_CUSTOM_VTABLE
1507 PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_._cached_size_),
1508 false,
1509 },
1510 &ComputeInfeasibleSubsystemResultProto::kDescriptorMethods,
1512 nullptr, // tracker
1513 };
1514}
1515
1516PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1517 ::google::protobuf::internal::ClassDataFull ComputeInfeasibleSubsystemResultProto_class_data_ =
1519
1520PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1522 ::google::protobuf::internal::PrefetchToLocalCache(&ComputeInfeasibleSubsystemResultProto_class_data_);
1523 ::google::protobuf::internal::PrefetchToLocalCache(ComputeInfeasibleSubsystemResultProto_class_data_.tc_table);
1525}
1526PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1527const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
1528ComputeInfeasibleSubsystemResultProto::_table_ = {
1529 {
1530 PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_._has_bits_),
1531 0, // no _extensions_
1532 3, 24, // max_field_number, fast_idx_mask
1533 offsetof(decltype(_table_), field_lookup_table),
1534 4294967288, // skipmap
1535 offsetof(decltype(_table_), field_entries),
1536 3, // num_field_entries
1537 1, // num_aux_entries
1538 offsetof(decltype(_table_), aux_entries),
1540 nullptr, // post_loop_handler
1541 ::_pbi::TcParser::GenericFallback, // fallback
1542 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1543 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ComputeInfeasibleSubsystemResultProto>(), // to_prefetch
1544 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1545 }, {{
1546 {::_pbi::TcParser::MiniParse, {}},
1547 // .operations_research.math_opt.FeasibilityStatusProto feasibility = 1;
1548 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ComputeInfeasibleSubsystemResultProto, _impl_.feasibility_), 1>(),
1549 {8, 1, 0, PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_.feasibility_)}},
1550 // .operations_research.math_opt.ModelSubsetProto infeasible_subsystem = 2;
1551 {::_pbi::TcParser::FastMtS1,
1552 {18, 0, 0, PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_.infeasible_subsystem_)}},
1553 // bool is_minimal = 3;
1554 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ComputeInfeasibleSubsystemResultProto, _impl_.is_minimal_), 2>(),
1555 {24, 2, 0, PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_.is_minimal_)}},
1556 }}, {{
1557 65535, 65535
1558 }}, {{
1559 // .operations_research.math_opt.FeasibilityStatusProto feasibility = 1;
1560 {PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_.feasibility_), _Internal::kHasBitsOffset + 1, 0,
1561 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1562 // .operations_research.math_opt.ModelSubsetProto infeasible_subsystem = 2;
1563 {PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_.infeasible_subsystem_), _Internal::kHasBitsOffset + 0, 0,
1564 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1565 // bool is_minimal = 3;
1566 {PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_.is_minimal_), _Internal::kHasBitsOffset + 2, 0,
1567 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
1568 }},
1569 {{
1570 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto>()},
1571 }},
1572 {{
1573 }},
1574};
1575PROTOBUF_NOINLINE void ComputeInfeasibleSubsystemResultProto::Clear() {
1576// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
1577 ::google::protobuf::internal::TSanWrite(&_impl_);
1578 ::uint32_t cached_has_bits = 0;
1579 // Prevent compiler warnings about cached_has_bits being unused
1580 (void) cached_has_bits;
1582 cached_has_bits = _impl_._has_bits_[0];
1583 if ((cached_has_bits & 0x00000001u) != 0) {
1584 ABSL_DCHECK(_impl_.infeasible_subsystem_ != nullptr);
1585 _impl_.infeasible_subsystem_->Clear();
1586 }
1587 if ((cached_has_bits & 0x00000006u) != 0) {
1588 ::memset(&_impl_.feasibility_, 0, static_cast<::size_t>(
1589 reinterpret_cast<char*>(&_impl_.is_minimal_) -
1590 reinterpret_cast<char*>(&_impl_.feasibility_)) + sizeof(_impl_.is_minimal_));
1591 }
1592 _impl_._has_bits_.Clear();
1593 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1594}
1595
1596#if defined(PROTOBUF_CUSTOM_VTABLE)
1598 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1599 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1601#else // PROTOBUF_CUSTOM_VTABLE
1603 ::uint8_t* PROTOBUF_NONNULL target,
1604 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1605 const ComputeInfeasibleSubsystemResultProto& this_ = *this;
1606#endif // PROTOBUF_CUSTOM_VTABLE
1607 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
1608 ::uint32_t cached_has_bits = 0;
1609 (void)cached_has_bits;
1610
1611 // .operations_research.math_opt.FeasibilityStatusProto feasibility = 1;
1612 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
1613 if (this_._internal_feasibility() != 0) {
1614 target = stream->EnsureSpace(target);
1615 target = ::_pbi::WireFormatLite::WriteEnumToArray(
1616 1, this_._internal_feasibility(), target);
1617 }
1618 }
1619
1620 cached_has_bits = this_._impl_._has_bits_[0];
1621 // .operations_research.math_opt.ModelSubsetProto infeasible_subsystem = 2;
1622 if ((cached_has_bits & 0x00000001u) != 0) {
1623 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1624 2, *this_._impl_.infeasible_subsystem_, this_._impl_.infeasible_subsystem_->GetCachedSize(), target,
1625 stream);
1626 }
1627
1628 // bool is_minimal = 3;
1629 if ((cached_has_bits & 0x00000004u) != 0) {
1630 if (this_._internal_is_minimal() != 0) {
1631 target = stream->EnsureSpace(target);
1632 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1633 3, this_._internal_is_minimal(), target);
1634 }
1635 }
1636
1637 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1638 target =
1639 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1640 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1641 }
1642 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
1643 return target;
1644}
1645
1646#if defined(PROTOBUF_CUSTOM_VTABLE)
1649#else // PROTOBUF_CUSTOM_VTABLE
1651 const ComputeInfeasibleSubsystemResultProto& this_ = *this;
1652#endif // PROTOBUF_CUSTOM_VTABLE
1653 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
1654 ::size_t total_size = 0;
1655
1656 ::uint32_t cached_has_bits = 0;
1657 // Prevent compiler warnings about cached_has_bits being unused
1658 (void)cached_has_bits;
1659
1660 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1661 cached_has_bits = this_._impl_._has_bits_[0];
1662 if ((cached_has_bits & 0x00000007u) != 0) {
1663 // .operations_research.math_opt.ModelSubsetProto infeasible_subsystem = 2;
1664 if ((cached_has_bits & 0x00000001u) != 0) {
1665 total_size += 1 +
1666 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.infeasible_subsystem_);
1667 }
1668 // .operations_research.math_opt.FeasibilityStatusProto feasibility = 1;
1669 if ((cached_has_bits & 0x00000002u) != 0) {
1670 if (this_._internal_feasibility() != 0) {
1671 total_size += 1 +
1672 ::_pbi::WireFormatLite::EnumSize(this_._internal_feasibility());
1673 }
1674 }
1675 // bool is_minimal = 3;
1676 if ((cached_has_bits & 0x00000004u) != 0) {
1677 if (this_._internal_is_minimal() != 0) {
1678 total_size += 2;
1679 }
1680 }
1681 }
1682 return this_.MaybeComputeUnknownFieldsSize(total_size,
1683 &this_._impl_._cached_size_);
1684}
1685
1686void ComputeInfeasibleSubsystemResultProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1687 auto* const _this = static_cast<ComputeInfeasibleSubsystemResultProto*>(&to_msg);
1688 auto& from = static_cast<const ComputeInfeasibleSubsystemResultProto&>(from_msg);
1689 ::google::protobuf::Arena* arena = _this->GetArena();
1690 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
1691 ABSL_DCHECK_NE(&from, _this);
1692 ::uint32_t cached_has_bits = 0;
1693 (void) cached_has_bits;
1694
1695 cached_has_bits = from._impl_._has_bits_[0];
1696 if ((cached_has_bits & 0x00000007u) != 0) {
1697 if ((cached_has_bits & 0x00000001u) != 0) {
1698 ABSL_DCHECK(from._impl_.infeasible_subsystem_ != nullptr);
1699 if (_this->_impl_.infeasible_subsystem_ == nullptr) {
1700 _this->_impl_.infeasible_subsystem_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.infeasible_subsystem_);
1701 } else {
1702 _this->_impl_.infeasible_subsystem_->MergeFrom(*from._impl_.infeasible_subsystem_);
1703 }
1704 }
1705 if ((cached_has_bits & 0x00000002u) != 0) {
1706 if (from._internal_feasibility() != 0) {
1707 _this->_impl_.feasibility_ = from._impl_.feasibility_;
1708 }
1709 }
1710 if ((cached_has_bits & 0x00000004u) != 0) {
1711 if (from._internal_is_minimal() != 0) {
1712 _this->_impl_.is_minimal_ = from._impl_.is_minimal_;
1713 }
1714 }
1715 }
1716 _this->_impl_._has_bits_[0] |= cached_has_bits;
1717 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1718}
1719
1721// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
1722 if (&from == this) return;
1723 Clear();
1724 MergeFrom(from);
1725}
1727
1728void ComputeInfeasibleSubsystemResultProto::InternalSwap(ComputeInfeasibleSubsystemResultProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1729 using ::std::swap;
1730 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1731 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1732 ::google::protobuf::internal::memswap<
1733 PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_.is_minimal_)
1735 - PROTOBUF_FIELD_OFFSET(ComputeInfeasibleSubsystemResultProto, _impl_.infeasible_subsystem_)>(
1736 reinterpret_cast<char*>(&_impl_.infeasible_subsystem_),
1737 reinterpret_cast<char*>(&other->_impl_.infeasible_subsystem_));
1738}
1739
1740::google::protobuf::Metadata ComputeInfeasibleSubsystemResultProto::GetMetadata() const {
1741 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1742}
1743// @@protoc_insertion_point(namespace_scope)
1744} // namespace math_opt
1745} // namespace operations_research
1746namespace google {
1747namespace protobuf {
1748} // namespace protobuf
1749} // namespace google
1750// @@protoc_insertion_point(global_scope)
1751PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1752 _static_init2_ [[maybe_unused]] =
1754 ::std::false_type{});
1755#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[]
void CopyFrom(const ComputeInfeasibleSubsystemResultProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(ComputeInfeasibleSubsystemResultProto &a, ComputeInfeasibleSubsystemResultProto &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const ComputeInfeasibleSubsystemResultProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
decltype(::std::declval< ModelSubsetProto_Bounds >()._impl_._has_bits_) HasBits
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(ModelSubsetProto_Bounds &a, ModelSubsetProto_Bounds &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto_once
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto_deps[1]
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 ComputeInfeasibleSubsystemResultProtoDefaultTypeInternal _ComputeInfeasibleSubsystemResultProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_Bounds_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ComputeInfeasibleSubsystemResultProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_BoundsDefaultTypeInternal _ModelSubsetProto_Bounds_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal _ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_VariableBoundsEntry_DoNotUseDefaultTypeInternal _ModelSubsetProto_VariableBoundsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProtoDefaultTypeInternal _ModelSubsetProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_LinearConstraintsEntry_DoNotUseDefaultTypeInternal _ModelSubsetProto_LinearConstraintsEntry_DoNotUse_default_instance_
In SWIG mode, we don't want anything besides these top-level includes.
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto
Definition result.pb.cc:383