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"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
30inline constexpr ModelSubsetProto_Bounds::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
38#if defined(PROTOBUF_CUSTOM_VTABLE)
41 : ::google::protobuf::Message(),
43 _impl_(::_pbi::ConstantInitialized()) {
53PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
57#if defined(PROTOBUF_CUSTOM_VTABLE)
60 : ModelSubsetProto_VariableBoundsEntry_DoNotUse::MapEntry() {
71PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
75#if defined(PROTOBUF_CUSTOM_VTABLE)
78 : ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::MapEntry() {
89PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
93#if defined(PROTOBUF_CUSTOM_VTABLE)
96 : ModelSubsetProto_LinearConstraintsEntry_DoNotUse::MapEntry() {
107PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
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},
120 _sos1_constraints_cached_byte_size_{0},
122 _sos2_constraints_cached_byte_size_{0},
123 indicator_constraints_{},
124 _indicator_constraints_cached_byte_size_{0},
129#if defined(PROTOBUF_CUSTOM_VTABLE)
132 : ::google::protobuf::Message(),
134 _impl_(::_pbi::ConstantInitialized()) {
144PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
147inline constexpr ComputeInfeasibleSubsystemResultProto::Impl_::Impl_(
148 ::_pbi::ConstantInitialized) noexcept
150 infeasible_subsystem_{
nullptr},
152 is_minimal_{
false} {}
156#if defined(PROTOBUF_CUSTOM_VTABLE)
159 : ::google::protobuf::Message(),
161 _impl_(::_pbi::ConstantInitialized()) {
171PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
175static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
177static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
230static const ::_pbi::MigrationSchema
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"
281static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL
const
290 descriptor_table_protodef_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto,
291 "ortools/math_opt/infeasible_subsystem.proto",
309 decltype(::std::declval<ModelSubsetProto_Bounds>()._impl_._has_bits_);
315#if defined(PROTOBUF_CUSTOM_VTABLE)
318 : ::google::protobuf::Message(arena) {
325#if defined(PROTOBUF_CUSTOM_VTABLE)
328 : ::google::protobuf::Message(arena),
331 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
332 from._internal_metadata_);
334PROTOBUF_NDEBUG_INLINE ModelSubsetProto_Bounds::Impl_::Impl_(
335 ::google::protobuf::internal::InternalVisibility visibility,
336 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
337 : _cached_size_{0} {}
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_),
344 offsetof(Impl_, upper_) -
345 offsetof(Impl_, lower_) +
346 sizeof(Impl_::upper_));
352inline void ModelSubsetProto_Bounds::SharedDtor(MessageLite& self) {
354 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
355 ABSL_DCHECK(this_.GetArena() ==
nullptr);
360 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
361 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
369 return ::google::protobuf::internal::ClassDataFull{
370 ::google::protobuf::internal::ClassData{
375 &ModelSubsetProto_Bounds::MergeImpl,
376 ::google::protobuf::Message::GetNewImpl<ModelSubsetProto_Bounds>(),
377#if defined(PROTOBUF_CUSTOM_VTABLE)
378 &ModelSubsetProto_Bounds::SharedDtor,
385 &ModelSubsetProto_Bounds::kDescriptorMethods,
391PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
395PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
401PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
402const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
403ModelSubsetProto_Bounds::_table_ = {
408 offsetof(
decltype(_table_), field_lookup_table),
410 offsetof(
decltype(_table_), field_entries),
413 offsetof(
decltype(_table_), field_names),
416 ::_pbi::TcParser::GenericFallback,
417 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
418 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>(),
422 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ModelSubsetProto_Bounds, _impl_.upper_), 1>(),
423 {16, 1, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_Bounds, _impl_.upper_)}},
432 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
435 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
443 ::google::protobuf::internal::TSanWrite(&
_impl_);
444 ::uint32_t cached_has_bits = 0;
446 (void) cached_has_bits;
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>();
455#if defined(PROTOBUF_CUSTOM_VTABLE)
457 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
458 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
462 ::uint8_t* PROTOBUF_NONNULL target,
463 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
467 ::uint32_t cached_has_bits = 0;
468 (void)cached_has_bits;
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);
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);
488 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
490 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
491 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
497#if defined(PROTOBUF_CUSTOM_VTABLE)
505 ::size_t total_size = 0;
507 ::uint32_t cached_has_bits = 0;
509 (void)cached_has_bits;
511 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
512 cached_has_bits = this_.
_impl_._has_bits_[0];
513 if ((cached_has_bits & 0x00000003u) != 0) {
515 if ((cached_has_bits & 0x00000001u) != 0) {
516 if (this_._internal_lower() != 0) {
521 if ((cached_has_bits & 0x00000002u) != 0) {
522 if (this_._internal_upper() != 0) {
527 return this_.MaybeComputeUnknownFieldsSize(total_size,
528 &this_.
_impl_._cached_size_);
531void ModelSubsetProto_Bounds::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
535 ABSL_DCHECK_NE(&from, _this);
536 ::uint32_t cached_has_bits = 0;
537 (void) cached_has_bits;
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_;
546 if ((cached_has_bits & 0x00000002u) != 0) {
547 if (from._internal_upper() != 0) {
548 _this->_impl_.upper_ = from.
_impl_.upper_;
552 _this->_impl_._has_bits_[0] |= cached_has_bits;
553 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
558 if (&from ==
this)
return;
566 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
567 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
568 ::google::protobuf::internal::memswap<
572 reinterpret_cast<char*
>(&
_impl_.lower_),
573 reinterpret_cast<char*
>(&other->_impl_.lower_));
577 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
581#if defined(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) {
595constexpr auto ModelSubsetProto_VariableBoundsEntry_DoNotUse::InternalNewImpl_() {
600 return ::google::protobuf::internal::ClassDataFull{
601 ::google::protobuf::internal::ClassData{
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
617 &ModelSubsetProto_VariableBoundsEntry_DoNotUse::kDescriptorMethods,
623PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
627PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
628ModelSubsetProto_VariableBoundsEntry_DoNotUse::GetClassData()
const {
633PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
634const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
635ModelSubsetProto_VariableBoundsEntry_DoNotUse::_table_ = {
637 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_VariableBoundsEntry_DoNotUse, _impl_._has_bits_),
640 offsetof(
decltype(_table_), field_lookup_table),
642 offsetof(
decltype(_table_), field_entries),
645 offsetof(
decltype(_table_), aux_entries),
648 ::_pbi::TcParser::DiscardEverythingFallback,
649 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
650 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_VariableBoundsEntry_DoNotUse>(),
654 {::_pbi::TcParser::FastMtS1,
655 {18, 0, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_VariableBoundsEntry_DoNotUse, _impl_.value_)}},
664 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
667 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
670 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
677#if defined(PROTOBUF_CUSTOM_VTABLE)
680ModelSubsetProto_LinearConstraintsEntry_DoNotUse::ModelSubsetProto_LinearConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
683ModelSubsetProto_LinearConstraintsEntry_DoNotUse::ModelSubsetProto_LinearConstraintsEntry_DoNotUse() : SuperType() {}
684ModelSubsetProto_LinearConstraintsEntry_DoNotUse::ModelSubsetProto_LinearConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
686inline void* PROTOBUF_NONNULL ModelSubsetProto_LinearConstraintsEntry_DoNotUse::PlacementNew_(
687 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
688 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
691constexpr auto ModelSubsetProto_LinearConstraintsEntry_DoNotUse::InternalNewImpl_() {
695constexpr auto ModelSubsetProto_LinearConstraintsEntry_DoNotUse::InternalGenerateClassData_() {
696 return ::google::protobuf::internal::ClassDataFull{
697 ::google::protobuf::internal::ClassData{
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
713 &ModelSubsetProto_LinearConstraintsEntry_DoNotUse::kDescriptorMethods,
719PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
720 ::google::protobuf::internal::ClassDataFull ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_ =
721 ModelSubsetProto_LinearConstraintsEntry_DoNotUse::InternalGenerateClassData_();
723PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
724ModelSubsetProto_LinearConstraintsEntry_DoNotUse::GetClassData()
const {
729PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
730const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
731ModelSubsetProto_LinearConstraintsEntry_DoNotUse::_table_ = {
733 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_._has_bits_),
736 offsetof(
decltype(_table_), field_lookup_table),
738 offsetof(
decltype(_table_), field_entries),
741 offsetof(
decltype(_table_), aux_entries),
742 ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_.base(),
744 ::_pbi::TcParser::DiscardEverythingFallback,
745 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
746 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_LinearConstraintsEntry_DoNotUse>(),
750 {::_pbi::TcParser::FastMtS1,
751 {18, 0, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_.value_)}},
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_)}},
759 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 1, 0,
760 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
762 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_LinearConstraintsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
763 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
766 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
773#if defined(PROTOBUF_CUSTOM_VTABLE)
774ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse()
776ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
779ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse() : SuperType() {}
780ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
782inline void* PROTOBUF_NONNULL ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::PlacementNew_(
783 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
784 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
787constexpr auto ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::InternalNewImpl_() {
791constexpr auto ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::InternalGenerateClassData_() {
792 return ::google::protobuf::internal::ClassDataFull{
793 ::google::protobuf::internal::ClassData{
794 &_ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_default_instance_.
_instance,
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
809 &ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::kDescriptorMethods,
815PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
816 ::google::protobuf::internal::ClassDataFull ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_ =
817 ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::InternalGenerateClassData_();
819PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
820ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::GetClassData()
const {
825PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
826const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
827ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse::_table_ = {
829 PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_._has_bits_),
832 offsetof(
decltype(_table_), field_lookup_table),
834 offsetof(
decltype(_table_), field_entries),
837 offsetof(
decltype(_table_), aux_entries),
838 ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_.base(),
840 ::_pbi::TcParser::DiscardEverythingFallback,
841 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
842 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse>(),
846 {::_pbi::TcParser::FastMtS1,
847 {18, 0, 0, PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_.value_)}},
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_)}},
855 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 1, 0,
856 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
858 {PROTOBUF_FIELD_OFFSET(ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
859 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
862 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
869class ModelSubsetProto::_Internal {
873ModelSubsetProto::ModelSubsetProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
874#if defined(PROTOBUF_CUSTOM_VTABLE)
877 : ::google::protobuf::Message(arena) {
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},
902 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
903 const ModelSubsetProto& from)
904#if defined(PROTOBUF_CUSTOM_VTABLE)
907 : ::google::protobuf::Message(arena) {
911 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
912 from._internal_metadata_);
913 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
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},
935inline void ModelSubsetProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
936 new (&
_impl_) Impl_(internal_visibility(), arena);
942inline void ModelSubsetProto::SharedDtor(MessageLite& self) {
944 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
945 ABSL_DCHECK(this_.GetArena() ==
nullptr);
950 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
951 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
955 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
958 InternalGetArenaOffset(
959 ::google::protobuf::Message::internal_visibility()),
962 InternalGetArenaOffsetAlt(
966 InternalGetArenaOffset(
970 InternalGetArenaOffset(
974 InternalGetArenaOffsetAlt(
978 InternalGetArenaOffset(
982 InternalGetArenaOffsetAlt(
986 InternalGetArenaOffset(
990 InternalGetArenaOffset(
994 InternalGetArenaOffset(
998 InternalGetArenaOffset(
1001 if (arena_bits.has_value()) {
1002 return ::google::protobuf::internal::MessageCreator::CopyInit(
1003 sizeof(ModelSubsetProto), alignof(ModelSubsetProto), *arena_bits);
1005 return ::google::protobuf::internal::MessageCreator(&ModelSubsetProto::PlacementNew_,
1006 sizeof(ModelSubsetProto),
1007 alignof(ModelSubsetProto));
1011 return ::google::protobuf::internal::ClassDataFull{
1012 ::google::protobuf::internal::ClassData{
1017 &ModelSubsetProto::MergeImpl,
1018 ::google::protobuf::Message::GetNewImpl<ModelSubsetProto>(),
1019#if defined(PROTOBUF_CUSTOM_VTABLE)
1020 &ModelSubsetProto::SharedDtor,
1027 &ModelSubsetProto::kDescriptorMethods,
1033PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1037PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1043PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1044const ::_pbi::TcParseTable<3, 8, 6, 0, 2>
1045ModelSubsetProto::_table_ = {
1050 offsetof(
decltype(_table_), field_lookup_table),
1052 offsetof(
decltype(_table_), field_entries),
1055 offsetof(
decltype(_table_), aux_entries),
1058 ::_pbi::TcParser::GenericFallback,
1059 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1060 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto>(),
1064 {::_pbi::TcParser::FastV64P1,
1066 {::_pbi::TcParser::MiniParse, {}},
1068 {::_pbi::TcParser::FastV64P1,
1070 {::_pbi::TcParser::MiniParse, {}},
1071 {::_pbi::TcParser::MiniParse, {}},
1073 {::_pbi::TcParser::FastV64P1,
1076 {::_pbi::TcParser::FastV64P1,
1079 {::_pbi::TcParser::FastV64P1,
1086 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1089 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1092 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1095 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1098 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1101 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1104 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1107 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1110 {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0,
1113 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
1114 {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0,
1117 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
1118 {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0,
1121 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto_Bounds>()},
1128 ::google::protobuf::internal::TSanWrite(&
_impl_);
1129 ::uint32_t cached_has_bits = 0;
1131 (void) cached_has_bits;
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>();
1144#if defined(PROTOBUF_CUSTOM_VTABLE)
1146 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1147 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1151 ::uint8_t* PROTOBUF_NONNULL target,
1152 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1156 ::uint32_t cached_has_bits = 0;
1157 (void)cached_has_bits;
1160 if (!this_._internal_variable_bounds().empty()) {
1161 using MapType = ::google::protobuf::Map<::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();
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);
1173 for (
const auto& entry : field) {
1174 target = WireHelper::InternalSerialize(
1175 1, entry.first, entry.second, target, stream);
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);
1190 if (!this_._internal_linear_constraints().empty()) {
1191 using MapType = ::google::protobuf::Map<::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();
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);
1203 for (
const auto& entry : field) {
1204 target = WireHelper::InternalSerialize(
1205 3, entry.first, entry.second, target, stream);
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();
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);
1224 for (
const auto& entry : field) {
1225 target = WireHelper::InternalSerialize(
1226 4, entry.first, entry.second, target, stream);
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);
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);
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);
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);
1267 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1269 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1270 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1276#if defined(PROTOBUF_CUSTOM_VTABLE)
1284 ::size_t total_size = 0;
1286 ::uint32_t cached_has_bits = 0;
1288 (void)cached_has_bits;
1290 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1295 1 * ::google::protobuf::internal::FromIntSize(this_._internal_variable_bounds_size());
1296 for (
const auto& entry : this_._internal_variable_bounds()) {
1298 _pbi::WireFormatLite::TYPE_INT64,
1299 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
1305 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1306 this_._internal_variable_integrality(), 1,
1307 this_._impl_._variable_integrality_cached_byte_size_);
1312 1 * ::google::protobuf::internal::FromIntSize(this_._internal_linear_constraints_size());
1313 for (
const auto& entry : this_._internal_linear_constraints()) {
1315 _pbi::WireFormatLite::TYPE_INT64,
1316 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
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);
1332 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1333 this_._internal_second_order_cone_constraints(), 1,
1334 this_._impl_._second_order_cone_constraints_cached_byte_size_);
1339 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1340 this_._internal_sos1_constraints(), 1,
1341 this_._impl_._sos1_constraints_cached_byte_size_);
1346 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1347 this_._internal_sos2_constraints(), 1,
1348 this_._impl_._sos2_constraints_cached_byte_size_);
1353 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1354 this_._internal_indicator_constraints(), 1,
1355 this_._impl_._indicator_constraints_cached_byte_size_);
1358 return this_.MaybeComputeUnknownFieldsSize(total_size,
1359 &this_._impl_._cached_size_);
1362void ModelSubsetProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1366 ABSL_DCHECK_NE(&from, _this);
1367 ::uint32_t cached_has_bits = 0;
1368 (void) cached_has_bits;
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_);
1383 if (&from ==
this)
return;
1389void ModelSubsetProto::InternalSwap(
ModelSubsetProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
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_);
1403 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1410 decltype(::std::declval<ComputeInfeasibleSubsystemResultProto>()._impl_._has_bits_);
1411 static constexpr ::int32_t kHasBitsOffset =
1416#if defined(PROTOBUF_CUSTOM_VTABLE)
1419 : ::google::protobuf::Message(arena) {
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_},
1432 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1433 const ComputeInfeasibleSubsystemResultProto& from)
1434#if defined(PROTOBUF_CUSTOM_VTABLE)
1437 : ::google::protobuf::Message(arena) {
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_)
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_));
1458PROTOBUF_NDEBUG_INLINE ComputeInfeasibleSubsystemResultProto::Impl_::Impl_(
1459 ::google::protobuf::internal::InternalVisibility visibility,
1460 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1461 : _cached_size_{0} {}
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_),
1468 offsetof(Impl_, is_minimal_) -
1469 offsetof(Impl_, infeasible_subsystem_) +
1470 sizeof(Impl_::is_minimal_));
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_();
1485 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1486 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1494 return ::google::protobuf::internal::ClassDataFull{
1495 ::google::protobuf::internal::ClassData{
1500 &ComputeInfeasibleSubsystemResultProto::MergeImpl,
1501 ::google::protobuf::Message::GetNewImpl<ComputeInfeasibleSubsystemResultProto>(),
1502#if defined(PROTOBUF_CUSTOM_VTABLE)
1503 &ComputeInfeasibleSubsystemResultProto::SharedDtor,
1510 &ComputeInfeasibleSubsystemResultProto::kDescriptorMethods,
1516PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1520PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1526PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1527const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
1528ComputeInfeasibleSubsystemResultProto::_table_ = {
1533 offsetof(
decltype(_table_), field_lookup_table),
1535 offsetof(
decltype(_table_), field_entries),
1538 offsetof(
decltype(_table_), aux_entries),
1541 ::_pbi::TcParser::GenericFallback,
1542 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1543 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ComputeInfeasibleSubsystemResultProto>(),
1546 {::_pbi::TcParser::MiniParse, {}},
1551 {::_pbi::TcParser::FastMtS1,
1561 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1564 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1567 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
1570 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSubsetProto>()},
1577 ::google::protobuf::internal::TSanWrite(&
_impl_);
1578 ::uint32_t cached_has_bits = 0;
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();
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_));
1592 _impl_._has_bits_.Clear();
1593 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
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) {
1603 ::uint8_t* PROTOBUF_NONNULL target,
1604 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1608 ::uint32_t cached_has_bits = 0;
1609 (void)cached_has_bits;
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);
1620 cached_has_bits = this_._impl_._has_bits_[0];
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,
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);
1637 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1639 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1640 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1646#if defined(PROTOBUF_CUSTOM_VTABLE)
1654 ::size_t total_size = 0;
1656 ::uint32_t cached_has_bits = 0;
1658 (void)cached_has_bits;
1660 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1661 cached_has_bits = this_._impl_._has_bits_[0];
1662 if ((cached_has_bits & 0x00000007u) != 0) {
1664 if ((cached_has_bits & 0x00000001u) != 0) {
1666 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.infeasible_subsystem_);
1669 if ((cached_has_bits & 0x00000002u) != 0) {
1670 if (this_._internal_feasibility() != 0) {
1672 ::_pbi::WireFormatLite::EnumSize(this_._internal_feasibility());
1676 if ((cached_has_bits & 0x00000004u) != 0) {
1677 if (this_._internal_is_minimal() != 0) {
1682 return this_.MaybeComputeUnknownFieldsSize(total_size,
1683 &this_._impl_._cached_size_);
1686void ComputeInfeasibleSubsystemResultProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1691 ABSL_DCHECK_NE(&from, _this);
1692 ::uint32_t cached_has_bits = 0;
1693 (void) cached_has_bits;
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_);
1702 _this->_impl_.infeasible_subsystem_->MergeFrom(*from._impl_.infeasible_subsystem_);
1705 if ((cached_has_bits & 0x00000002u) != 0) {
1706 if (from._internal_feasibility() != 0) {
1707 _this->_impl_.feasibility_ = from._impl_.feasibility_;
1710 if ((cached_has_bits & 0x00000004u) != 0) {
1711 if (from._internal_is_minimal() != 0) {
1712 _this->_impl_.is_minimal_ = from._impl_.is_minimal_;
1716 _this->_impl_._has_bits_[0] |= cached_has_bits;
1717 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1722 if (&from ==
this)
return;
1730 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1731 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1732 ::google::protobuf::internal::memswap<
1736 reinterpret_cast<char*
>(&
_impl_.infeasible_subsystem_),
1737 reinterpret_cast<char*
>(&other->_impl_.infeasible_subsystem_));
1741 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1751PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
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[]
static constexpr ::int32_t kHasBitsOffset
ComputeInfeasibleSubsystemResultProto()
void CopyFrom(const ComputeInfeasibleSubsystemResultProto &from)
friend class ::google::protobuf::MessageLite
static constexpr auto InternalNewImpl_()
::size_t ByteSizeLong() const final
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)
~ComputeInfeasibleSubsystemResultProto() 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
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const ComputeInfeasibleSubsystemResultProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< ModelSubsetProto_Bounds >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
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
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const ModelSubsetProto_Bounds &from)
ModelSubsetProto_Bounds()
~ModelSubsetProto_Bounds() PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(ModelSubsetProto_Bounds &a, ModelSubsetProto_Bounds &b)
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
void MergeFrom(const ModelSubsetProto_Bounds &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
ModelSubsetProto_LinearConstraintsEntry_DoNotUse()
ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse()
static constexpr auto InternalGenerateClassData_()
ModelSubsetProto_VariableBoundsEntry_DoNotUse()
friend class ::google::protobuf::MessageLite
~ModelSubsetProto() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr auto InternalNewImpl_()
::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
void MergeFrom(const ModelSubsetProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const ModelSubsetProto &from)
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.
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
~ComputeInfeasibleSubsystemResultProtoDefaultTypeInternal()
ComputeInfeasibleSubsystemResultProto _instance
PROTOBUF_CONSTEXPR ComputeInfeasibleSubsystemResultProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR ModelSubsetProtoDefaultTypeInternal()
~ModelSubsetProtoDefaultTypeInternal()
ModelSubsetProto _instance
PROTOBUF_CONSTEXPR ModelSubsetProto_BoundsDefaultTypeInternal()
ModelSubsetProto_Bounds _instance
~ModelSubsetProto_BoundsDefaultTypeInternal()
PROTOBUF_CONSTEXPR ModelSubsetProto_LinearConstraintsEntry_DoNotUseDefaultTypeInternal()
~ModelSubsetProto_LinearConstraintsEntry_DoNotUseDefaultTypeInternal()
ModelSubsetProto_LinearConstraintsEntry_DoNotUse _instance
ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse _instance
PROTOBUF_CONSTEXPR ModelSubsetProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal()
~ModelSubsetProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal()
ModelSubsetProto_VariableBoundsEntry_DoNotUse _instance
~ModelSubsetProto_VariableBoundsEntry_DoNotUseDefaultTypeInternal()
PROTOBUF_CONSTEXPR ModelSubsetProto_VariableBoundsEntry_DoNotUseDefaultTypeInternal()