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 VariablesProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
34 _ids_cached_byte_size_{0},
42#if defined(PROTOBUF_CUSTOM_VTABLE)
45 : ::google::protobuf::Message(),
47 _impl_(::_pbi::ConstantInitialized()) {
57PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
60inline constexpr LinearConstraintsProto::Impl_::Impl_(
61 ::_pbi::ConstantInitialized) noexcept
64 _ids_cached_byte_size_{0},
71#if defined(PROTOBUF_CUSTOM_VTABLE)
74 : ::google::protobuf::Message(),
76 _impl_(::_pbi::ConstantInitialized()) {
86PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
89inline constexpr SosConstraintProto::Impl_::Impl_(
90 ::_pbi::ConstantInitialized) noexcept
95 &::google::protobuf::internal::fixed_address_empty_string,
96 ::_pbi::ConstantInitialized()) {}
100#if defined(PROTOBUF_CUSTOM_VTABLE)
103 : ::google::protobuf::Message(),
105 _impl_(::_pbi::ConstantInitialized()) {
115PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
118inline constexpr SecondOrderConeConstraintProto::Impl_::Impl_(
119 ::_pbi::ConstantInitialized) noexcept
121 arguments_to_norm_{},
123 &::google::protobuf::internal::fixed_address_empty_string,
124 ::_pbi::ConstantInitialized()),
125 upper_bound_{
nullptr} {}
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 QuadraticConstraintProto::Impl_::Impl_(
148 ::_pbi::ConstantInitialized) noexcept
151 &::google::protobuf::internal::fixed_address_empty_string,
152 ::_pbi::ConstantInitialized()),
153 linear_terms_{
nullptr},
154 quadratic_terms_{
nullptr},
160#if defined(PROTOBUF_CUSTOM_VTABLE)
163 : ::google::protobuf::Message(),
165 _impl_(::_pbi::ConstantInitialized()) {
175PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
178inline constexpr ObjectiveProto::Impl_::Impl_(
179 ::_pbi::ConstantInitialized) noexcept
182 &::google::protobuf::internal::fixed_address_empty_string,
183 ::_pbi::ConstantInitialized()),
184 linear_coefficients_{
nullptr},
185 quadratic_coefficients_{
nullptr},
187 priority_{::int64_t{0}},
192#if defined(PROTOBUF_CUSTOM_VTABLE)
195 : ::google::protobuf::Message(),
197 _impl_(::_pbi::ConstantInitialized()) {
207PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
210inline constexpr IndicatorConstraintProto::Impl_::Impl_(
211 ::_pbi::ConstantInitialized) noexcept
214 &::google::protobuf::internal::fixed_address_empty_string,
215 ::_pbi::ConstantInitialized()),
216 expression_{
nullptr},
217 indicator_id_{::int64_t{0}},
220 activate_on_zero_{
false} {}
224#if defined(PROTOBUF_CUSTOM_VTABLE)
227 : ::google::protobuf::Message(),
229 _impl_(::_pbi::ConstantInitialized()) {
239PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
243#if defined(PROTOBUF_CUSTOM_VTABLE)
246 : ModelProto_Sos2ConstraintsEntry_DoNotUse::MapEntry() {
257PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
261#if defined(PROTOBUF_CUSTOM_VTABLE)
264 : ModelProto_Sos1ConstraintsEntry_DoNotUse::MapEntry() {
275PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
279#if defined(PROTOBUF_CUSTOM_VTABLE)
282 : ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::MapEntry() {
293PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
297#if defined(PROTOBUF_CUSTOM_VTABLE)
300 : ModelProto_QuadraticConstraintsEntry_DoNotUse::MapEntry() {
311PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
315#if defined(PROTOBUF_CUSTOM_VTABLE)
318 : ModelProto_IndicatorConstraintsEntry_DoNotUse::MapEntry() {
329PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
333#if defined(PROTOBUF_CUSTOM_VTABLE)
336 : ModelProto_AuxiliaryObjectivesEntry_DoNotUse::MapEntry() {
347PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
350inline constexpr ModelProto::Impl_::Impl_(
351 ::_pbi::ConstantInitialized) noexcept
354 &::google::protobuf::internal::fixed_address_empty_string,
355 ::_pbi::ConstantInitialized()),
358 linear_constraints_{
nullptr},
359 linear_constraint_matrix_{
nullptr},
360 quadratic_constraints_{},
363 indicator_constraints_{},
364 auxiliary_objectives_{},
365 second_order_cone_constraints_{} {}
369#if defined(PROTOBUF_CUSTOM_VTABLE)
372 : ::google::protobuf::Message(),
374 _impl_(::_pbi::ConstantInitialized()) {
384PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
388static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
390static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
549static const ::_pbi::MigrationSchema
584 "\n\034ortools/math_opt/model.proto\022\034operatio"
585 "ns_research.math_opt\032(ortools/math_opt/s"
586 "parse_containers.proto\"j\n\016VariablesProto"
587 "\022\013\n\003ids\030\001 \003(\003\022\024\n\014lower_bounds\030\002 \003(\001\022\024\n\014u"
588 "pper_bounds\030\003 \003(\001\022\020\n\010integers\030\004 \003(\010\022\r\n\005n"
589 "ames\030\005 \003(\t\"\375\001\n\016ObjectiveProto\022\020\n\010maximiz"
590 "e\030\001 \001(\010\022\016\n\006offset\030\002 \001(\001\022R\n\023linear_coeffi"
591 "cients\030\003 \001(\01325.operations_research.math_"
592 "opt.SparseDoubleVectorProto\022U\n\026quadratic"
593 "_coefficients\030\004 \001(\01325.operations_researc"
594 "h.math_opt.SparseDoubleMatrixProto\022\014\n\004na"
595 "me\030\005 \001(\t\022\020\n\010priority\030\006 \001(\003\"`\n\026LinearCons"
596 "traintsProto\022\013\n\003ids\030\001 \003(\003\022\024\n\014lower_bound"
597 "s\030\002 \003(\001\022\024\n\014upper_bounds\030\003 \003(\001\022\r\n\005names\030\004"
598 " \003(\t\"\357\001\n\030QuadraticConstraintProto\022K\n\014lin"
599 "ear_terms\030\001 \001(\01325.operations_research.ma"
600 "th_opt.SparseDoubleVectorProto\022N\n\017quadra"
601 "tic_terms\030\002 \001(\01325.operations_research.ma"
602 "th_opt.SparseDoubleMatrixProto\022\023\n\013lower_"
603 "bound\030\003 \001(\001\022\023\n\013upper_bound\030\004 \001(\001\022\014\n\004name"
604 "\030\005 \001(\t\"\310\001\n\036SecondOrderConeConstraintProt"
605 "o\022H\n\013upper_bound\030\001 \001(\01323.operations_rese"
606 "arch.math_opt.LinearExpressionProto\022N\n\021a"
607 "rguments_to_norm\030\002 \003(\01323.operations_rese"
608 "arch.math_opt.LinearExpressionProto\022\014\n\004n"
609 "ame\030\003 \001(\t\"}\n\022SosConstraintProto\022H\n\013expre"
610 "ssions\030\001 \003(\01323.operations_research.math_"
611 "opt.LinearExpressionProto\022\017\n\007weights\030\002 \003"
612 "(\001\022\014\n\004name\030\003 \001(\t\"\343\001\n\030IndicatorConstraint"
613 "Proto\022\031\n\014indicator_id\030\001 \001(\003H\000\210\001\001\022\030\n\020acti"
614 "vate_on_zero\030\006 \001(\010\022I\n\nexpression\030\002 \001(\01325"
615 ".operations_research.math_opt.SparseDoub"
616 "leVectorProto\022\023\n\013lower_bound\030\003 \001(\001\022\023\n\013up"
617 "per_bound\030\004 \001(\001\022\014\n\004name\030\005 \001(\tB\017\n\r_indica"
618 "tor_id\"\272\014\n\nModelProto\022\014\n\004name\030\001 \001(\t\022\?\n\tv"
619 "ariables\030\002 \001(\0132,.operations_research.mat"
620 "h_opt.VariablesProto\022\?\n\tobjective\030\003 \001(\0132"
621 ",.operations_research.math_opt.Objective"
622 "Proto\022_\n\024auxiliary_objectives\030\n \003(\0132A.op"
623 "erations_research.math_opt.ModelProto.Au"
624 "xiliaryObjectivesEntry\022P\n\022linear_constra"
625 "ints\030\004 \001(\01324.operations_research.math_op"
626 "t.LinearConstraintsProto\022W\n\030linear_const"
627 "raint_matrix\030\005 \001(\01325.operations_research"
628 ".math_opt.SparseDoubleMatrixProto\022a\n\025qua"
629 "dratic_constraints\030\006 \003(\0132B.operations_re"
630 "search.math_opt.ModelProto.QuadraticCons"
631 "traintsEntry\022o\n\035second_order_cone_constr"
632 "aints\030\013 \003(\0132H.operations_research.math_o"
633 "pt.ModelProto.SecondOrderConeConstraints"
634 "Entry\022W\n\020sos1_constraints\030\007 \003(\0132=.operat"
635 "ions_research.math_opt.ModelProto.Sos1Co"
636 "nstraintsEntry\022W\n\020sos2_constraints\030\010 \003(\013"
637 "2=.operations_research.math_opt.ModelPro"
638 "to.Sos2ConstraintsEntry\022a\n\025indicator_con"
639 "straints\030\t \003(\0132B.operations_research.mat"
640 "h_opt.ModelProto.IndicatorConstraintsEnt"
641 "ry\032h\n\030AuxiliaryObjectivesEntry\022\013\n\003key\030\001 "
642 "\001(\003\022;\n\005value\030\002 \001(\0132,.operations_research"
643 ".math_opt.ObjectiveProto:\0028\001\032s\n\031Quadrati"
644 "cConstraintsEntry\022\013\n\003key\030\001 \001(\003\022E\n\005value\030"
645 "\002 \001(\01326.operations_research.math_opt.Qua"
646 "draticConstraintProto:\0028\001\032\177\n\037SecondOrder"
647 "ConeConstraintsEntry\022\013\n\003key\030\001 \001(\003\022K\n\005val"
648 "ue\030\002 \001(\0132<.operations_research.math_opt."
649 "SecondOrderConeConstraintProto:\0028\001\032h\n\024So"
650 "s1ConstraintsEntry\022\013\n\003key\030\001 \001(\003\022\?\n\005value"
651 "\030\002 \001(\01320.operations_research.math_opt.So"
652 "sConstraintProto:\0028\001\032h\n\024Sos2ConstraintsE"
653 "ntry\022\013\n\003key\030\001 \001(\003\022\?\n\005value\030\002 \001(\01320.opera"
654 "tions_research.math_opt.SosConstraintPro"
655 "to:\0028\001\032s\n\031IndicatorConstraintsEntry\022\013\n\003k"
656 "ey\030\001 \001(\003\022E\n\005value\030\002 \001(\01326.operations_res"
657 "earch.math_opt.IndicatorConstraintProto:"
658 "\0028\001B\036\n\032com.google.ortools.mathoptP\001b\006pro"
661static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL
const
670 descriptor_table_protodef_ortools_2fmath_5fopt_2fmodel_2eproto,
671 "ortools/math_opt/model.proto",
689 decltype(::std::declval<VariablesProto>()._impl_._has_bits_);
695#if defined(PROTOBUF_CUSTOM_VTABLE)
698 : ::google::protobuf::Message(arena) {
703PROTOBUF_NDEBUG_INLINE VariablesProto::Impl_::Impl_(
704 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
705 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
706 [[maybe_unused]] const ::operations_research::math_opt::VariablesProto& from_msg)
707 : _has_bits_{from._has_bits_},
709 ids_{visibility, arena, from.ids_},
710 _ids_cached_byte_size_{0},
711 lower_bounds_{visibility, arena, from.lower_bounds_},
712 upper_bounds_{visibility, arena, from.upper_bounds_},
713 integers_{visibility, arena, from.integers_},
714 names_{visibility, arena, from.names_} {}
717 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
719#if defined(PROTOBUF_CUSTOM_VTABLE)
722 : ::google::protobuf::Message(arena) {
726 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
727 from._internal_metadata_);
728 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
732PROTOBUF_NDEBUG_INLINE VariablesProto::Impl_::Impl_(
733 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
734 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
736 ids_{visibility, arena},
737 _ids_cached_byte_size_{0},
738 lower_bounds_{visibility, arena},
739 upper_bounds_{visibility, arena},
740 integers_{visibility, arena},
741 names_{visibility, arena} {}
743inline void VariablesProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
744 new (&
_impl_) Impl_(internal_visibility(), arena);
750inline void VariablesProto::SharedDtor(
MessageLite& self) {
752 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
753 this_.CheckHasBitConsistency();
755 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
756 ABSL_DCHECK(this_.GetArena() ==
nullptr);
760inline void* PROTOBUF_NONNULL VariablesProto::PlacementNew_(
761 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
762 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
765constexpr auto VariablesProto::InternalNewImpl_() {
766 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
769 InternalGetArenaOffset(
770 ::google::protobuf::Message::internal_visibility()),
773 InternalGetArenaOffset(
774 ::google::protobuf::Message::internal_visibility()),
777 InternalGetArenaOffset(
778 ::google::protobuf::Message::internal_visibility()),
781 InternalGetArenaOffset(
782 ::google::protobuf::Message::internal_visibility()),
785 InternalGetArenaOffset(
786 ::google::protobuf::Message::internal_visibility()),
788 if (arena_bits.has_value()) {
789 return ::google::protobuf::internal::MessageCreator::ZeroInit(
790 sizeof(VariablesProto), alignof(VariablesProto), *arena_bits);
792 return ::google::protobuf::internal::MessageCreator(&VariablesProto::PlacementNew_,
793 sizeof(VariablesProto),
794 alignof(VariablesProto));
798 return ::google::protobuf::internal::ClassDataFull{
799 ::google::protobuf::internal::ClassData{
804 &VariablesProto::MergeImpl,
805 ::google::protobuf::Message::GetNewImpl<VariablesProto>(),
806#if defined(PROTOBUF_CUSTOM_VTABLE)
807 &VariablesProto::SharedDtor,
814 &VariablesProto::kDescriptorMethods,
820PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
824PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
825VariablesProto::GetClassData()
const {
830PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
831const ::_pbi::TcParseTable<3, 5, 0, 57, 2>
832VariablesProto::_table_ = {
837 offsetof(
decltype(_table_), field_lookup_table),
839 offsetof(
decltype(_table_), field_entries),
842 offsetof(
decltype(_table_), field_names),
845 ::_pbi::TcParser::GenericFallback,
846 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
847 ::_pbi::TcParser::GetTable<::operations_research::math_opt::VariablesProto>(),
850 {::_pbi::TcParser::MiniParse, {}},
852 {::_pbi::TcParser::FastV64P1,
856 {::_pbi::TcParser::FastF64P1,
860 {::_pbi::TcParser::FastF64P1,
864 {::_pbi::TcParser::FastV8P1,
868 {::_pbi::TcParser::FastUR1,
871 {::_pbi::TcParser::MiniParse, {}},
872 {::_pbi::TcParser::MiniParse, {}},
890 "operations_research.math_opt.VariablesProto"
896 ::google::protobuf::internal::TSanWrite(&
_impl_);
897 ::uint32_t cached_has_bits = 0;
899 (void) cached_has_bits;
901 cached_has_bits =
_impl_._has_bits_[0];
902 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
903 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
906 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
907 _impl_.lower_bounds_.Clear();
909 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
910 _impl_.upper_bounds_.Clear();
912 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
915 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
919 _impl_._has_bits_.Clear();
920 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
923#if defined(PROTOBUF_CUSTOM_VTABLE)
925 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
926 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
930 ::uint8_t* PROTOBUF_NONNULL target,
931 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
934 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
935 this_.CheckHasBitConsistency();
938 ::uint32_t cached_has_bits = 0;
939 (void)cached_has_bits;
941 cached_has_bits = this_.
_impl_._has_bits_[0];
943 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
945 int byte_size = this_.
_impl_._ids_cached_byte_size_.Get();
947 target = stream->WriteInt64Packed(
948 1, this_._internal_ids(), byte_size, target);
954 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
955 if (this_._internal_lower_bounds_size() > 0) {
956 target = stream->WriteFixedPacked(2, this_._internal_lower_bounds(), target);
961 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
962 if (this_._internal_upper_bounds_size() > 0) {
963 target = stream->WriteFixedPacked(3, this_._internal_upper_bounds(), target);
968 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
969 if (this_._internal_integers_size() > 0) {
970 target = stream->WriteFixedPacked(4, this_._internal_integers(), target);
975 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
976 for (
int i = 0, n = this_._internal_names_size(); i < n; ++i) {
977 const auto& s = this_._internal_names().Get(i);
978 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
979 s.data(),
static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.VariablesProto.names");
980 target = stream->WriteString(5, s, target);
984 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
986 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
987 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
993#if defined(PROTOBUF_CUSTOM_VTABLE)
1001 ::size_t total_size = 0;
1003 ::uint32_t cached_has_bits = 0;
1005 (void)cached_has_bits;
1007 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1008 cached_has_bits = this_.
_impl_._has_bits_[0];
1009 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1011 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1013 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1014 this_._internal_ids(), 1,
1015 this_.
_impl_._ids_cached_byte_size_);
1018 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1019 ::size_t data_size = ::size_t{8} *
1020 ::_pbi::FromIntSize(this_._internal_lower_bounds_size());
1021 ::size_t tag_size = data_size == 0
1023 : 1 + ::_pbi::WireFormatLite::Int32Size(
1024 static_cast<::int32_t
>(data_size));
1025 total_size += tag_size + data_size;
1028 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1029 ::size_t data_size = ::size_t{8} *
1030 ::_pbi::FromIntSize(this_._internal_upper_bounds_size());
1031 ::size_t tag_size = data_size == 0
1033 : 1 + ::_pbi::WireFormatLite::Int32Size(
1034 static_cast<::int32_t
>(data_size));
1035 total_size += tag_size + data_size;
1038 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1039 ::size_t data_size = ::size_t{1} *
1040 ::_pbi::FromIntSize(this_._internal_integers_size());
1041 ::size_t tag_size = data_size == 0
1043 : 1 + ::_pbi::WireFormatLite::Int32Size(
1044 static_cast<::int32_t
>(data_size));
1045 total_size += tag_size + data_size;
1048 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
1050 1 * ::google::protobuf::internal::FromIntSize(this_._internal_names().size());
1051 for (
int i = 0, n = this_._internal_names().size(); i < n; ++i) {
1052 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
1053 this_._internal_names().Get(i));
1057 return this_.MaybeComputeUnknownFieldsSize(total_size,
1058 &this_.
_impl_._cached_size_);
1061void VariablesProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1062 const ::google::protobuf::MessageLite& from_msg) {
1066 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1067 from.CheckHasBitConsistency();
1071 ABSL_DCHECK_NE(&from, _this);
1072 ::uint32_t cached_has_bits = 0;
1073 (void)cached_has_bits;
1075 cached_has_bits = from._impl_._has_bits_[0];
1076 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1077 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1078 _this->_internal_mutable_ids()->MergeFrom(from._internal_ids());
1080 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1081 _this->_internal_mutable_lower_bounds()->MergeFrom(from._internal_lower_bounds());
1083 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1084 _this->_internal_mutable_upper_bounds()->MergeFrom(from._internal_upper_bounds());
1086 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1087 _this->_internal_mutable_integers()->MergeFrom(from._internal_integers());
1089 if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
1090 _this->_internal_mutable_names()->InternalMergeFromWithArena(
1091 ::google::protobuf::MessageLite::internal_visibility(), arena,
1092 from._internal_names());
1095 _this->_impl_._has_bits_[0] |= cached_has_bits;
1096 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1097 from._internal_metadata_);
1102 if (&from ==
this)
return;
1108void VariablesProto::InternalSwap(
VariablesProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1110 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1111 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1112 _impl_.ids_.InternalSwap(&other->_impl_.ids_);
1113 _impl_.lower_bounds_.InternalSwap(&other->_impl_.lower_bounds_);
1114 _impl_.upper_bounds_.InternalSwap(&other->_impl_.upper_bounds_);
1115 _impl_.integers_.InternalSwap(&other->_impl_.integers_);
1116 _impl_.names_.InternalSwap(&other->_impl_.names_);
1120 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1127 decltype(::std::declval<ObjectiveProto>()._impl_._has_bits_);
1133 ::google::protobuf::internal::TSanWrite(&
_impl_);
1134 if (
_impl_.linear_coefficients_ !=
nullptr)
_impl_.linear_coefficients_->Clear();
1135 ClearHasBit(
_impl_._has_bits_[0],
1139 ::google::protobuf::internal::TSanWrite(&
_impl_);
1140 if (
_impl_.quadratic_coefficients_ !=
nullptr)
_impl_.quadratic_coefficients_->Clear();
1141 ClearHasBit(
_impl_._has_bits_[0],
1145#if defined(PROTOBUF_CUSTOM_VTABLE)
1148 : ::google::protobuf::Message(arena) {
1153PROTOBUF_NDEBUG_INLINE ObjectiveProto::Impl_::Impl_(
1154 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1155 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1156 [[maybe_unused]] const ::operations_research::math_opt::ObjectiveProto& from_msg)
1157 : _has_bits_{from._has_bits_},
1159 name_(arena, from.name_) {}
1162 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1163 const ObjectiveProto& from)
1164#if defined(PROTOBUF_CUSTOM_VTABLE)
1167 : ::google::protobuf::Message(arena) {
1169 ObjectiveProto*
const _this =
this;
1171 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1172 from._internal_metadata_);
1173 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1174 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1175 _impl_.linear_coefficients_ = (CheckHasBit(cached_has_bits, 0x00000002U))
1176 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_coefficients_)
1178 _impl_.quadratic_coefficients_ = (CheckHasBit(cached_has_bits, 0x00000004U))
1179 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.quadratic_coefficients_)
1181 ::memcpy(
reinterpret_cast<char*
>(&_impl_) +
1182 offsetof(Impl_, offset_),
1183 reinterpret_cast<const char*
>(&from._impl_) +
1184 offsetof(Impl_, offset_),
1185 offsetof(Impl_, maximize_) -
1186 offsetof(Impl_, offset_) +
1187 sizeof(Impl_::maximize_));
1191PROTOBUF_NDEBUG_INLINE ObjectiveProto::Impl_::Impl_(
1192 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1193 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1197inline void ObjectiveProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1198 new (&
_impl_) Impl_(internal_visibility(), arena);
1199 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
1200 offsetof(Impl_, linear_coefficients_),
1202 offsetof(Impl_, maximize_) -
1203 offsetof(Impl_, linear_coefficients_) +
1204 sizeof(Impl_::maximize_));
1210inline void ObjectiveProto::SharedDtor(MessageLite& self) {
1212 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1213 this_.CheckHasBitConsistency();
1215 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1216 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1217 this_.
_impl_.name_.Destroy();
1218 delete this_.
_impl_.linear_coefficients_;
1219 delete this_.
_impl_.quadratic_coefficients_;
1223inline void* PROTOBUF_NONNULL ObjectiveProto::PlacementNew_(
1224 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1225 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1228constexpr auto ObjectiveProto::InternalNewImpl_() {
1229 return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(
ObjectiveProto),
1233 return ::google::protobuf::internal::ClassDataFull{
1234 ::google::protobuf::internal::ClassData{
1239 &ObjectiveProto::MergeImpl,
1240 ::google::protobuf::Message::GetNewImpl<ObjectiveProto>(),
1241#if defined(PROTOBUF_CUSTOM_VTABLE)
1242 &ObjectiveProto::SharedDtor,
1249 &ObjectiveProto::kDescriptorMethods,
1255PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1259PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1260ObjectiveProto::GetClassData()
const {
1265PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1266const ::_pbi::TcParseTable<3, 6, 2, 56, 2>
1267ObjectiveProto::_table_ = {
1269 PROTOBUF_FIELD_OFFSET(ObjectiveProto, _impl_._has_bits_),
1272 offsetof(
decltype(_table_), field_lookup_table),
1274 offsetof(
decltype(_table_), field_entries),
1277 offsetof(
decltype(_table_), aux_entries),
1280 ::_pbi::TcParser::GenericFallback,
1281 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1282 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveProto>(),
1285 {::_pbi::TcParser::MiniParse, {}},
1287 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
ObjectiveProto, _impl_.maximize_), 5>(),
1291 {::_pbi::TcParser::FastF64S1,
1295 {::_pbi::TcParser::FastMtS1,
1297 PROTOBUF_FIELD_OFFSET(
ObjectiveProto, _impl_.linear_coefficients_)}},
1299 {::_pbi::TcParser::FastMtS1,
1301 PROTOBUF_FIELD_OFFSET(
ObjectiveProto, _impl_.quadratic_coefficients_)}},
1303 {::_pbi::TcParser::FastUS1,
1307 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
ObjectiveProto, _impl_.priority_), 4>(),
1310 {::_pbi::TcParser::MiniParse, {}},
1315 {PROTOBUF_FIELD_OFFSET(
ObjectiveProto, _impl_.maximize_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
1317 {PROTOBUF_FIELD_OFFSET(
ObjectiveProto, _impl_.offset_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1319 {PROTOBUF_FIELD_OFFSET(
ObjectiveProto, _impl_.linear_coefficients_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1321 {PROTOBUF_FIELD_OFFSET(
ObjectiveProto, _impl_.quadratic_coefficients_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1323 {PROTOBUF_FIELD_OFFSET(
ObjectiveProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1325 {PROTOBUF_FIELD_OFFSET(
ObjectiveProto, _impl_.priority_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1328 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
1329 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleMatrixProto>()},
1333 "operations_research.math_opt.ObjectiveProto"
1339 ::google::protobuf::internal::TSanWrite(&
_impl_);
1340 ::uint32_t cached_has_bits = 0;
1342 (void) cached_has_bits;
1344 cached_has_bits =
_impl_._has_bits_[0];
1345 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1346 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1347 _impl_.name_.ClearNonDefaultToEmpty();
1349 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1350 ABSL_DCHECK(
_impl_.linear_coefficients_ !=
nullptr);
1353 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1354 ABSL_DCHECK(
_impl_.quadratic_coefficients_ !=
nullptr);
1358 if (BatchCheckHasBit(cached_has_bits, 0x00000038U)) {
1359 ::memset(&
_impl_.offset_, 0,
static_cast<::
size_t>(
1360 reinterpret_cast<char*
>(&
_impl_.maximize_) -
1361 reinterpret_cast<char*
>(&
_impl_.offset_)) +
sizeof(
_impl_.maximize_));
1363 _impl_._has_bits_.Clear();
1364 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1367#if defined(PROTOBUF_CUSTOM_VTABLE)
1369 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1370 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1374 ::uint8_t* PROTOBUF_NONNULL target,
1375 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1378 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1379 this_.CheckHasBitConsistency();
1382 ::uint32_t cached_has_bits = 0;
1383 (void)cached_has_bits;
1385 cached_has_bits = this_.
_impl_._has_bits_[0];
1387 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1388 if (this_._internal_maximize() != 0) {
1389 target = stream->EnsureSpace(target);
1390 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1391 1, this_._internal_maximize(), target);
1396 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1397 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
1398 target = stream->EnsureSpace(target);
1399 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1400 2, this_._internal_offset(), target);
1405 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1406 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1412 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1413 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1419 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1420 if (!this_._internal_name().empty()) {
1421 const ::std::string& _s = this_._internal_name();
1422 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1423 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.ObjectiveProto.name");
1424 target = stream->WriteStringMaybeAliased(5, _s, target);
1429 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1430 if (this_._internal_priority() != 0) {
1432 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
1433 stream, this_._internal_priority(), target);
1437 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1439 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1440 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1446#if defined(PROTOBUF_CUSTOM_VTABLE)
1454 ::size_t total_size = 0;
1456 ::uint32_t cached_has_bits = 0;
1458 (void)cached_has_bits;
1460 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1461 cached_has_bits = this_.
_impl_._has_bits_[0];
1462 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
1464 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1465 if (!this_._internal_name().empty()) {
1466 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1467 this_._internal_name());
1471 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1473 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.linear_coefficients_);
1476 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1478 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.quadratic_coefficients_);
1481 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1482 if (::absl::bit_cast<::uint64_t>(this_._internal_offset()) != 0) {
1487 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1488 if (this_._internal_priority() != 0) {
1489 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1490 this_._internal_priority());
1494 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1495 if (this_._internal_maximize() != 0) {
1500 return this_.MaybeComputeUnknownFieldsSize(total_size,
1501 &this_.
_impl_._cached_size_);
1504void ObjectiveProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1505 const ::google::protobuf::MessageLite& from_msg) {
1509 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1510 from.CheckHasBitConsistency();
1514 ABSL_DCHECK_NE(&from, _this);
1515 ::uint32_t cached_has_bits = 0;
1516 (void)cached_has_bits;
1518 cached_has_bits = from._impl_._has_bits_[0];
1519 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
1520 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1521 if (!from._internal_name().empty()) {
1522 _this->_internal_set_name(from._internal_name());
1524 if (_this->_impl_.name_.IsDefault()) {
1525 _this->_internal_set_name(
"");
1529 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1530 ABSL_DCHECK(from._impl_.linear_coefficients_ !=
nullptr);
1531 if (_this->_impl_.linear_coefficients_ ==
nullptr) {
1532 _this->_impl_.linear_coefficients_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_coefficients_);
1534 _this->_impl_.linear_coefficients_->MergeFrom(*from._impl_.linear_coefficients_);
1537 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1538 ABSL_DCHECK(from._impl_.quadratic_coefficients_ !=
nullptr);
1539 if (_this->_impl_.quadratic_coefficients_ ==
nullptr) {
1540 _this->_impl_.quadratic_coefficients_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.quadratic_coefficients_);
1542 _this->_impl_.quadratic_coefficients_->MergeFrom(*from._impl_.quadratic_coefficients_);
1545 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1546 if (::absl::bit_cast<::uint64_t>(from._internal_offset()) != 0) {
1547 _this->_impl_.offset_ = from._impl_.offset_;
1550 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1551 if (from._internal_priority() != 0) {
1552 _this->_impl_.priority_ = from._impl_.priority_;
1555 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1556 if (from._internal_maximize() != 0) {
1557 _this->_impl_.maximize_ = from._impl_.maximize_;
1561 _this->_impl_._has_bits_[0] |= cached_has_bits;
1562 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1563 from._internal_metadata_);
1568 if (&from ==
this)
return;
1574void ObjectiveProto::InternalSwap(
ObjectiveProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1576 auto* arena = GetArena();
1577 ABSL_DCHECK_EQ(arena, other->GetArena());
1578 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1579 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1580 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
1581 ::google::protobuf::internal::memswap<
1585 reinterpret_cast<char*
>(&
_impl_.linear_coefficients_),
1586 reinterpret_cast<char*
>(&other->_impl_.linear_coefficients_));
1590 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1597 decltype(::std::declval<LinearConstraintsProto>()._impl_._has_bits_);
1603#if defined(PROTOBUF_CUSTOM_VTABLE)
1606 : ::google::protobuf::Message(arena) {
1611PROTOBUF_NDEBUG_INLINE LinearConstraintsProto::Impl_::Impl_(
1612 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1613 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1614 [[maybe_unused]] const ::operations_research::math_opt::LinearConstraintsProto& from_msg)
1615 : _has_bits_{from._has_bits_},
1617 ids_{visibility, arena, from.ids_},
1618 _ids_cached_byte_size_{0},
1619 lower_bounds_{visibility, arena, from.lower_bounds_},
1620 upper_bounds_{visibility, arena, from.upper_bounds_},
1621 names_{visibility, arena, from.names_} {}
1624 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1626#if defined(PROTOBUF_CUSTOM_VTABLE)
1629 : ::google::protobuf::Message(arena) {
1633 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1634 from._internal_metadata_);
1635 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1639PROTOBUF_NDEBUG_INLINE LinearConstraintsProto::Impl_::Impl_(
1640 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1641 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1643 ids_{visibility, arena},
1644 _ids_cached_byte_size_{0},
1645 lower_bounds_{visibility, arena},
1646 upper_bounds_{visibility, arena},
1647 names_{visibility, arena} {}
1649inline void LinearConstraintsProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1650 new (&
_impl_) Impl_(internal_visibility(), arena);
1656inline void LinearConstraintsProto::SharedDtor(
MessageLite& self) {
1658 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1659 this_.CheckHasBitConsistency();
1661 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1662 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1666inline void* PROTOBUF_NONNULL LinearConstraintsProto::PlacementNew_(
1667 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1668 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1669 return ::new (mem) LinearConstraintsProto(arena);
1671constexpr auto LinearConstraintsProto::InternalNewImpl_() {
1672 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1673 PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.ids_) +
1675 InternalGetArenaOffset(
1676 ::google::protobuf::Message::internal_visibility()),
1677 PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.lower_bounds_) +
1678 decltype(LinearConstraintsProto::
_impl_.lower_bounds_)::
1679 InternalGetArenaOffset(
1680 ::google::protobuf::Message::internal_visibility()),
1681 PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.upper_bounds_) +
1682 decltype(LinearConstraintsProto::
_impl_.upper_bounds_)::
1683 InternalGetArenaOffset(
1684 ::google::protobuf::Message::internal_visibility()),
1685 PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.names_) +
1686 decltype(LinearConstraintsProto::
_impl_.names_)::
1687 InternalGetArenaOffset(
1688 ::google::protobuf::Message::internal_visibility()),
1690 if (arena_bits.has_value()) {
1691 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1692 sizeof(LinearConstraintsProto), alignof(LinearConstraintsProto), *arena_bits);
1694 return ::google::protobuf::internal::MessageCreator(&LinearConstraintsProto::PlacementNew_,
1695 sizeof(LinearConstraintsProto),
1696 alignof(LinearConstraintsProto));
1700 return ::google::protobuf::internal::ClassDataFull{
1701 ::google::protobuf::internal::ClassData{
1706 &LinearConstraintsProto::MergeImpl,
1707 ::google::protobuf::Message::GetNewImpl<LinearConstraintsProto>(),
1708#if defined(PROTOBUF_CUSTOM_VTABLE)
1709 &LinearConstraintsProto::SharedDtor,
1716 &LinearConstraintsProto::kDescriptorMethods,
1722PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1726PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1727LinearConstraintsProto::GetClassData()
const {
1732PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1733const ::_pbi::TcParseTable<2, 4, 0, 65, 2>
1734LinearConstraintsProto::_table_ = {
1736 PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_._has_bits_),
1739 offsetof(
decltype(_table_), field_lookup_table),
1741 offsetof(
decltype(_table_), field_entries),
1744 offsetof(
decltype(_table_), field_names),
1747 ::_pbi::TcParser::GenericFallback,
1748 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1749 ::_pbi::TcParser::GetTable<::operations_research::math_opt::LinearConstraintsProto>(),
1753 {::_pbi::TcParser::FastUR1,
1755 PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.names_)}},
1757 {::_pbi::TcParser::FastV64P1,
1759 PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.ids_)}},
1761 {::_pbi::TcParser::FastF64P1,
1763 PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.lower_bounds_)}},
1765 {::_pbi::TcParser::FastF64P1,
1767 PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.upper_bounds_)}},
1774 {PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.lower_bounds_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
1776 {PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.upper_bounds_),
_Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
1778 {PROTOBUF_FIELD_OFFSET(LinearConstraintsProto,
_impl_.names_),
_Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
1783 "operations_research.math_opt.LinearConstraintsProto"
1789 ::google::protobuf::internal::TSanWrite(&
_impl_);
1790 ::uint32_t cached_has_bits = 0;
1792 (void) cached_has_bits;
1794 cached_has_bits =
_impl_._has_bits_[0];
1795 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1796 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1799 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1800 _impl_.lower_bounds_.Clear();
1802 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1803 _impl_.upper_bounds_.Clear();
1805 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1809 _impl_._has_bits_.Clear();
1810 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1813#if defined(PROTOBUF_CUSTOM_VTABLE)
1815 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1816 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1817 const LinearConstraintsProto& this_ =
static_cast<const LinearConstraintsProto&
>(
base);
1820 ::uint8_t* PROTOBUF_NONNULL target,
1821 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1824 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1825 this_.CheckHasBitConsistency();
1828 ::uint32_t cached_has_bits = 0;
1829 (void)cached_has_bits;
1831 cached_has_bits = this_.
_impl_._has_bits_[0];
1833 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1835 int byte_size = this_.
_impl_._ids_cached_byte_size_.Get();
1836 if (byte_size > 0) {
1837 target = stream->WriteInt64Packed(
1838 1, this_._internal_ids(), byte_size, target);
1844 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1845 if (this_._internal_lower_bounds_size() > 0) {
1846 target = stream->WriteFixedPacked(2, this_._internal_lower_bounds(), target);
1851 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1852 if (this_._internal_upper_bounds_size() > 0) {
1853 target = stream->WriteFixedPacked(3, this_._internal_upper_bounds(), target);
1858 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1859 for (
int i = 0, n = this_._internal_names_size(); i < n; ++i) {
1860 const auto& s = this_._internal_names().Get(i);
1861 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1862 s.data(),
static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.LinearConstraintsProto.names");
1863 target = stream->WriteString(4, s, target);
1867 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1869 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1870 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1876#if defined(PROTOBUF_CUSTOM_VTABLE)
1878 const LinearConstraintsProto& this_ =
static_cast<const LinearConstraintsProto&
>(base);
1881 const LinearConstraintsProto& this_ = *
this;
1884 ::size_t total_size = 0;
1886 ::uint32_t cached_has_bits = 0;
1888 (void)cached_has_bits;
1890 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1891 cached_has_bits = this_._impl_._has_bits_[0];
1892 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1894 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1896 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1897 this_._internal_ids(), 1,
1898 this_._impl_._ids_cached_byte_size_);
1901 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1902 ::size_t data_size = ::size_t{8} *
1903 ::_pbi::FromIntSize(this_._internal_lower_bounds_size());
1904 ::size_t tag_size = data_size == 0
1906 : 1 + ::_pbi::WireFormatLite::Int32Size(
1907 static_cast<::int32_t
>(data_size));
1908 total_size += tag_size + data_size;
1911 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1912 ::size_t data_size = ::size_t{8} *
1913 ::_pbi::FromIntSize(this_._internal_upper_bounds_size());
1914 ::size_t tag_size = data_size == 0
1916 : 1 + ::_pbi::WireFormatLite::Int32Size(
1917 static_cast<::int32_t
>(data_size));
1918 total_size += tag_size + data_size;
1921 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1923 1 * ::google::protobuf::internal::FromIntSize(this_._internal_names().size());
1924 for (
int i = 0, n = this_._internal_names().size(); i < n; ++i) {
1925 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
1926 this_._internal_names().Get(i));
1930 return this_.MaybeComputeUnknownFieldsSize(total_size,
1931 &this_._impl_._cached_size_);
1934void LinearConstraintsProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1935 const ::google::protobuf::MessageLite& from_msg) {
1937 static_cast<LinearConstraintsProto*
>(&to_msg);
1938 auto& from =
static_cast<const LinearConstraintsProto&
>(from_msg);
1939 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1940 from.CheckHasBitConsistency();
1944 ABSL_DCHECK_NE(&from, _this);
1945 ::uint32_t cached_has_bits = 0;
1946 (void)cached_has_bits;
1948 cached_has_bits = from._impl_._has_bits_[0];
1949 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1950 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1951 _this->_internal_mutable_ids()->MergeFrom(from._internal_ids());
1953 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1954 _this->_internal_mutable_lower_bounds()->MergeFrom(from._internal_lower_bounds());
1956 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1957 _this->_internal_mutable_upper_bounds()->MergeFrom(from._internal_upper_bounds());
1959 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
1960 _this->_internal_mutable_names()->InternalMergeFromWithArena(
1961 ::google::protobuf::MessageLite::internal_visibility(), arena,
1962 from._internal_names());
1965 _this->_impl_._has_bits_[0] |= cached_has_bits;
1966 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1967 from._internal_metadata_);
1972 if (&from ==
this)
return;
1978void LinearConstraintsProto::InternalSwap(
LinearConstraintsProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1980 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1981 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1982 _impl_.ids_.InternalSwap(&other->_impl_.ids_);
1983 _impl_.lower_bounds_.InternalSwap(&other->_impl_.lower_bounds_);
1984 _impl_.upper_bounds_.InternalSwap(&other->_impl_.upper_bounds_);
1985 _impl_.names_.InternalSwap(&other->_impl_.names_);
1989 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1996 decltype(::std::declval<QuadraticConstraintProto>()._impl_._has_bits_);
2002 ::google::protobuf::internal::TSanWrite(&
_impl_);
2003 if (
_impl_.linear_terms_ !=
nullptr)
_impl_.linear_terms_->Clear();
2004 ClearHasBit(
_impl_._has_bits_[0],
2008 ::google::protobuf::internal::TSanWrite(&
_impl_);
2009 if (
_impl_.quadratic_terms_ !=
nullptr)
_impl_.quadratic_terms_->Clear();
2010 ClearHasBit(
_impl_._has_bits_[0],
2014#if defined(PROTOBUF_CUSTOM_VTABLE)
2017 : ::google::protobuf::Message(arena) {
2022PROTOBUF_NDEBUG_INLINE QuadraticConstraintProto::Impl_::Impl_(
2023 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2024 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2025 [[maybe_unused]] const ::operations_research::math_opt::QuadraticConstraintProto& from_msg)
2026 : _has_bits_{from._has_bits_},
2028 name_(arena, from.name_) {}
2031 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2032 const QuadraticConstraintProto& from)
2033#if defined(PROTOBUF_CUSTOM_VTABLE)
2036 : ::google::protobuf::Message(arena) {
2038 QuadraticConstraintProto*
const _this =
this;
2040 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2041 from._internal_metadata_);
2042 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2043 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
2044 _impl_.linear_terms_ = (CheckHasBit(cached_has_bits, 0x00000002U))
2045 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_terms_)
2047 _impl_.quadratic_terms_ = (CheckHasBit(cached_has_bits, 0x00000004U))
2048 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.quadratic_terms_)
2050 ::memcpy(
reinterpret_cast<char*
>(&_impl_) +
2051 offsetof(Impl_, lower_bound_),
2052 reinterpret_cast<const char*
>(&from._impl_) +
2053 offsetof(Impl_, lower_bound_),
2054 offsetof(Impl_, upper_bound_) -
2055 offsetof(Impl_, lower_bound_) +
2056 sizeof(Impl_::upper_bound_));
2060PROTOBUF_NDEBUG_INLINE QuadraticConstraintProto::Impl_::Impl_(
2061 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2062 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2066inline void QuadraticConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2067 new (&
_impl_) Impl_(internal_visibility(), arena);
2068 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
2069 offsetof(Impl_, linear_terms_),
2071 offsetof(Impl_, upper_bound_) -
2072 offsetof(Impl_, linear_terms_) +
2073 sizeof(Impl_::upper_bound_));
2081 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2082 this_.CheckHasBitConsistency();
2084 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2085 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2086 this_.
_impl_.name_.Destroy();
2087 delete this_.
_impl_.linear_terms_;
2088 delete this_.
_impl_.quadratic_terms_;
2092inline void* PROTOBUF_NONNULL QuadraticConstraintProto::PlacementNew_(
2093 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2094 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2097constexpr auto QuadraticConstraintProto::InternalNewImpl_() {
2102 return ::google::protobuf::internal::ClassDataFull{
2103 ::google::protobuf::internal::ClassData{
2108 &QuadraticConstraintProto::MergeImpl,
2109 ::google::protobuf::Message::GetNewImpl<QuadraticConstraintProto>(),
2110#if defined(PROTOBUF_CUSTOM_VTABLE)
2111 &QuadraticConstraintProto::SharedDtor,
2118 &QuadraticConstraintProto::kDescriptorMethods,
2124PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2128PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2129QuadraticConstraintProto::GetClassData()
const {
2134PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2135const ::_pbi::TcParseTable<3, 5, 2, 66, 2>
2136QuadraticConstraintProto::_table_ = {
2138 PROTOBUF_FIELD_OFFSET(QuadraticConstraintProto, _impl_._has_bits_),
2141 offsetof(
decltype(_table_), field_lookup_table),
2143 offsetof(
decltype(_table_), field_entries),
2146 offsetof(
decltype(_table_), aux_entries),
2149 ::_pbi::TcParser::GenericFallback,
2150 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2151 ::_pbi::TcParser::GetTable<::operations_research::math_opt::QuadraticConstraintProto>(),
2154 {::_pbi::TcParser::MiniParse, {}},
2156 {::_pbi::TcParser::FastMtS1,
2160 {::_pbi::TcParser::FastMtS1,
2164 {::_pbi::TcParser::FastF64S1,
2168 {::_pbi::TcParser::FastF64S1,
2172 {::_pbi::TcParser::FastUS1,
2175 {::_pbi::TcParser::MiniParse, {}},
2176 {::_pbi::TcParser::MiniParse, {}},
2181 {PROTOBUF_FIELD_OFFSET(
QuadraticConstraintProto, _impl_.linear_terms_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2183 {PROTOBUF_FIELD_OFFSET(
QuadraticConstraintProto, _impl_.quadratic_terms_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2185 {PROTOBUF_FIELD_OFFSET(
QuadraticConstraintProto, _impl_.lower_bound_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2187 {PROTOBUF_FIELD_OFFSET(
QuadraticConstraintProto, _impl_.upper_bound_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2189 {PROTOBUF_FIELD_OFFSET(
QuadraticConstraintProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2192 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
2193 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleMatrixProto>()},
2197 "operations_research.math_opt.QuadraticConstraintProto"
2203 ::google::protobuf::internal::TSanWrite(&
_impl_);
2204 ::uint32_t cached_has_bits = 0;
2206 (void) cached_has_bits;
2208 cached_has_bits =
_impl_._has_bits_[0];
2209 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2210 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2211 _impl_.name_.ClearNonDefaultToEmpty();
2213 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2214 ABSL_DCHECK(
_impl_.linear_terms_ !=
nullptr);
2215 _impl_.linear_terms_->Clear();
2217 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2218 ABSL_DCHECK(
_impl_.quadratic_terms_ !=
nullptr);
2219 _impl_.quadratic_terms_->Clear();
2222 if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
2223 ::memset(&
_impl_.lower_bound_, 0,
static_cast<::
size_t>(
2224 reinterpret_cast<char*
>(&
_impl_.upper_bound_) -
2225 reinterpret_cast<char*
>(&
_impl_.lower_bound_)) +
sizeof(
_impl_.upper_bound_));
2227 _impl_._has_bits_.Clear();
2228 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2231#if defined(PROTOBUF_CUSTOM_VTABLE)
2233 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2234 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2238 ::uint8_t* PROTOBUF_NONNULL target,
2239 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2242 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2243 this_.CheckHasBitConsistency();
2246 ::uint32_t cached_has_bits = 0;
2247 (void)cached_has_bits;
2249 cached_has_bits = this_._impl_._has_bits_[0];
2251 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2252 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2253 1, *this_._impl_.linear_terms_, this_._impl_.linear_terms_->GetCachedSize(), target,
2258 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2259 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2260 2, *this_._impl_.quadratic_terms_, this_._impl_.quadratic_terms_->GetCachedSize(), target,
2265 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2266 if (::absl::bit_cast<::uint64_t>(this_._internal_lower_bound()) != 0) {
2267 target = stream->EnsureSpace(target);
2268 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2269 3, this_._internal_lower_bound(), target);
2274 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2275 if (::absl::bit_cast<::uint64_t>(this_._internal_upper_bound()) != 0) {
2276 target = stream->EnsureSpace(target);
2277 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2278 4, this_._internal_upper_bound(), target);
2283 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2284 if (!this_._internal_name().empty()) {
2285 const ::std::string& _s = this_._internal_name();
2286 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2287 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.QuadraticConstraintProto.name");
2288 target = stream->WriteStringMaybeAliased(5, _s, target);
2292 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2294 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2295 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2301#if defined(PROTOBUF_CUSTOM_VTABLE)
2309 ::size_t total_size = 0;
2311 ::uint32_t cached_has_bits = 0;
2313 (void)cached_has_bits;
2315 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2316 cached_has_bits = this_._impl_._has_bits_[0];
2317 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2319 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2320 if (!this_._internal_name().empty()) {
2321 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2322 this_._internal_name());
2326 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2328 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.linear_terms_);
2331 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2333 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.quadratic_terms_);
2336 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2337 if (::absl::bit_cast<::uint64_t>(this_._internal_lower_bound()) != 0) {
2342 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2343 if (::absl::bit_cast<::uint64_t>(this_._internal_upper_bound()) != 0) {
2348 return this_.MaybeComputeUnknownFieldsSize(total_size,
2349 &this_._impl_._cached_size_);
2352void QuadraticConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2353 const ::google::protobuf::MessageLite& from_msg) {
2357 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2358 from.CheckHasBitConsistency();
2362 ABSL_DCHECK_NE(&from, _this);
2363 ::uint32_t cached_has_bits = 0;
2364 (void)cached_has_bits;
2366 cached_has_bits = from._impl_._has_bits_[0];
2367 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2368 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2369 if (!from._internal_name().empty()) {
2370 _this->_internal_set_name(from._internal_name());
2372 if (_this->_impl_.name_.IsDefault()) {
2373 _this->_internal_set_name(
"");
2377 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2378 ABSL_DCHECK(from._impl_.linear_terms_ !=
nullptr);
2379 if (_this->_impl_.linear_terms_ ==
nullptr) {
2380 _this->_impl_.linear_terms_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_terms_);
2382 _this->_impl_.linear_terms_->MergeFrom(*from._impl_.linear_terms_);
2385 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2386 ABSL_DCHECK(from._impl_.quadratic_terms_ !=
nullptr);
2387 if (_this->_impl_.quadratic_terms_ ==
nullptr) {
2388 _this->_impl_.quadratic_terms_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.quadratic_terms_);
2390 _this->_impl_.quadratic_terms_->MergeFrom(*from._impl_.quadratic_terms_);
2393 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2394 if (::absl::bit_cast<::uint64_t>(from._internal_lower_bound()) != 0) {
2395 _this->_impl_.lower_bound_ = from._impl_.lower_bound_;
2398 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2399 if (::absl::bit_cast<::uint64_t>(from._internal_upper_bound()) != 0) {
2400 _this->_impl_.upper_bound_ = from._impl_.upper_bound_;
2404 _this->_impl_._has_bits_[0] |= cached_has_bits;
2405 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2406 from._internal_metadata_);
2411 if (&from ==
this)
return;
2419 auto* arena = GetArena();
2420 ABSL_DCHECK_EQ(arena, other->GetArena());
2421 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2422 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2423 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
2424 ::google::protobuf::internal::memswap<
2428 reinterpret_cast<char*
>(&
_impl_.linear_terms_),
2429 reinterpret_cast<char*
>(&other->_impl_.linear_terms_));
2433 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2440 decltype(::std::declval<SecondOrderConeConstraintProto>()._impl_._has_bits_);
2441 static constexpr ::int32_t kHasBitsOffset =
2446 ::google::protobuf::internal::TSanWrite(&
_impl_);
2447 if (
_impl_.upper_bound_ !=
nullptr)
_impl_.upper_bound_->Clear();
2448 ClearHasBit(
_impl_._has_bits_[0],
2452 ::google::protobuf::internal::TSanWrite(&
_impl_);
2453 _impl_.arguments_to_norm_.Clear();
2454 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2458#if defined(PROTOBUF_CUSTOM_VTABLE)
2461 : ::google::protobuf::Message(arena) {
2466PROTOBUF_NDEBUG_INLINE SecondOrderConeConstraintProto::Impl_::Impl_(
2467 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2468 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2469 [[maybe_unused]] const ::operations_research::math_opt::SecondOrderConeConstraintProto& from_msg)
2470 : _has_bits_{from._has_bits_},
2472 arguments_to_norm_{visibility, arena, from.arguments_to_norm_},
2473 name_(arena, from.name_) {}
2476 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2477 const SecondOrderConeConstraintProto& from)
2478#if defined(PROTOBUF_CUSTOM_VTABLE)
2481 : ::google::protobuf::Message(arena) {
2483 SecondOrderConeConstraintProto*
const _this =
this;
2485 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2486 from._internal_metadata_);
2487 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2488 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
2489 _impl_.upper_bound_ = (CheckHasBit(cached_has_bits, 0x00000004U))
2490 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.upper_bound_)
2495PROTOBUF_NDEBUG_INLINE SecondOrderConeConstraintProto::Impl_::Impl_(
2496 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2497 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2499 arguments_to_norm_{visibility, arena},
2502inline void SecondOrderConeConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2503 new (&
_impl_) Impl_(internal_visibility(), arena);
2504 _impl_.upper_bound_ = {};
2510inline void SecondOrderConeConstraintProto::SharedDtor(MessageLite& self) {
2512 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2513 this_.CheckHasBitConsistency();
2515 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2516 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2517 this_.
_impl_.name_.Destroy();
2518 delete this_.
_impl_.upper_bound_;
2522inline void* PROTOBUF_NONNULL SecondOrderConeConstraintProto::PlacementNew_(
2523 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2524 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2527constexpr auto SecondOrderConeConstraintProto::InternalNewImpl_() {
2528 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2531 InternalGetArenaOffset(
2532 ::
google::protobuf::Message::internal_visibility()),
2534 if (arena_bits.has_value()) {
2535 return ::google::protobuf::internal::MessageCreator::CopyInit(
2536 sizeof(SecondOrderConeConstraintProto), alignof(SecondOrderConeConstraintProto), *arena_bits);
2538 return ::google::protobuf::internal::MessageCreator(&SecondOrderConeConstraintProto::PlacementNew_,
2539 sizeof(SecondOrderConeConstraintProto),
2540 alignof(SecondOrderConeConstraintProto));
2544 return ::google::protobuf::internal::ClassDataFull{
2545 ::google::protobuf::internal::ClassData{
2550 &SecondOrderConeConstraintProto::MergeImpl,
2551 ::google::protobuf::Message::GetNewImpl<SecondOrderConeConstraintProto>(),
2552#if defined(PROTOBUF_CUSTOM_VTABLE)
2553 &SecondOrderConeConstraintProto::SharedDtor,
2560 &SecondOrderConeConstraintProto::kDescriptorMethods,
2566PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2570PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2571SecondOrderConeConstraintProto::GetClassData()
const {
2576PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2577const ::_pbi::TcParseTable<2, 3, 2, 72, 2>
2578SecondOrderConeConstraintProto::_table_ = {
2583 offsetof(
decltype(_table_), field_lookup_table),
2585 offsetof(
decltype(_table_), field_entries),
2588 offsetof(
decltype(_table_), aux_entries),
2591 ::_pbi::TcParser::GenericFallback,
2592 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2593 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SecondOrderConeConstraintProto>(),
2596 {::_pbi::TcParser::MiniParse, {}},
2598 {::_pbi::TcParser::FastMtS1,
2602 {::_pbi::TcParser::FastMtR1,
2606 {::_pbi::TcParser::FastUS1,
2620 {::_pbi::TcParser::GetTable<::operations_research::math_opt::LinearExpressionProto>()},
2621 {::_pbi::TcParser::GetTable<::operations_research::math_opt::LinearExpressionProto>()},
2625 "operations_research.math_opt.SecondOrderConeConstraintProto"
2631 ::google::protobuf::internal::TSanWrite(&
_impl_);
2632 ::uint32_t cached_has_bits = 0;
2634 (void) cached_has_bits;
2636 cached_has_bits =
_impl_._has_bits_[0];
2637 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2638 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2639 _impl_.arguments_to_norm_.Clear();
2641 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2642 _impl_.name_.ClearNonDefaultToEmpty();
2644 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2645 ABSL_DCHECK(
_impl_.upper_bound_ !=
nullptr);
2646 _impl_.upper_bound_->Clear();
2649 _impl_._has_bits_.Clear();
2650 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2653#if defined(PROTOBUF_CUSTOM_VTABLE)
2655 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2656 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2660 ::uint8_t* PROTOBUF_NONNULL target,
2661 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2664 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2665 this_.CheckHasBitConsistency();
2668 ::uint32_t cached_has_bits = 0;
2669 (void)cached_has_bits;
2671 cached_has_bits = this_.
_impl_._has_bits_[0];
2673 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2674 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2675 1, *this_._impl_.upper_bound_, this_._impl_.upper_bound_->GetCachedSize(), target,
2680 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2681 for (
unsigned i = 0, n =
static_cast<unsigned>(
2682 this_._internal_arguments_to_norm_size());
2684 const auto& repfield = this_._internal_arguments_to_norm().Get(i);
2686 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2687 2, repfield, repfield.GetCachedSize(),
2693 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2694 if (!this_._internal_name().empty()) {
2695 const ::std::string& _s = this_._internal_name();
2696 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2697 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.SecondOrderConeConstraintProto.name");
2698 target = stream->WriteStringMaybeAliased(3, _s, target);
2702 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2704 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2705 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2711#if defined(PROTOBUF_CUSTOM_VTABLE)
2719 ::size_t total_size = 0;
2721 ::uint32_t cached_has_bits = 0;
2723 (void)cached_has_bits;
2725 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2726 cached_has_bits = this_._impl_._has_bits_[0];
2727 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2729 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2730 total_size += 1UL * this_._internal_arguments_to_norm_size();
2731 for (
const auto& msg : this_._internal_arguments_to_norm()) {
2732 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2736 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2737 if (!this_._internal_name().empty()) {
2738 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2739 this_._internal_name());
2743 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2745 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.upper_bound_);
2748 return this_.MaybeComputeUnknownFieldsSize(total_size,
2749 &this_._impl_._cached_size_);
2752void SecondOrderConeConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2753 const ::google::protobuf::MessageLite& from_msg) {
2757 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2758 from.CheckHasBitConsistency();
2762 ABSL_DCHECK_NE(&from, _this);
2763 ::uint32_t cached_has_bits = 0;
2764 (void)cached_has_bits;
2766 cached_has_bits = from._impl_._has_bits_[0];
2767 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2768 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2769 _this->_internal_mutable_arguments_to_norm()->InternalMergeFromWithArena(
2770 ::google::protobuf::MessageLite::internal_visibility(), arena,
2771 from._internal_arguments_to_norm());
2773 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2774 if (!from._internal_name().empty()) {
2775 _this->_internal_set_name(from._internal_name());
2777 if (_this->_impl_.name_.IsDefault()) {
2778 _this->_internal_set_name(
"");
2782 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2783 ABSL_DCHECK(from._impl_.upper_bound_ !=
nullptr);
2784 if (_this->_impl_.upper_bound_ ==
nullptr) {
2785 _this->_impl_.upper_bound_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.upper_bound_);
2787 _this->_impl_.upper_bound_->MergeFrom(*from._impl_.upper_bound_);
2791 _this->_impl_._has_bits_[0] |= cached_has_bits;
2792 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2793 from._internal_metadata_);
2798 if (&from ==
this)
return;
2806 auto* arena = GetArena();
2807 ABSL_DCHECK_EQ(arena, other->GetArena());
2808 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2809 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2810 _impl_.arguments_to_norm_.InternalSwap(&other->_impl_.arguments_to_norm_);
2811 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
2816 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2823 decltype(::std::declval<SosConstraintProto>()._impl_._has_bits_);
2824 static constexpr ::int32_t kHasBitsOffset =
2829 ::google::protobuf::internal::TSanWrite(&
_impl_);
2831 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2835#if defined(PROTOBUF_CUSTOM_VTABLE)
2838 : ::google::protobuf::Message(arena) {
2843PROTOBUF_NDEBUG_INLINE SosConstraintProto::Impl_::Impl_(
2844 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2845 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2846 [[maybe_unused]] const ::operations_research::math_opt::SosConstraintProto& from_msg)
2847 : _has_bits_{from._has_bits_},
2849 expressions_{visibility, arena, from.expressions_},
2850 weights_{visibility, arena, from.weights_},
2851 name_(arena, from.name_) {}
2854 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2856#if defined(PROTOBUF_CUSTOM_VTABLE)
2859 : ::google::protobuf::Message(arena) {
2863 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2864 from._internal_metadata_);
2865 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2869PROTOBUF_NDEBUG_INLINE SosConstraintProto::Impl_::Impl_(
2870 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2871 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2873 expressions_{visibility, arena},
2874 weights_{visibility, arena},
2877inline void SosConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2878 new (&
_impl_) Impl_(internal_visibility(), arena);
2884inline void SosConstraintProto::SharedDtor(
MessageLite& self) {
2886 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2887 this_.CheckHasBitConsistency();
2889 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2890 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2891 this_.
_impl_.name_.Destroy();
2895inline void* PROTOBUF_NONNULL SosConstraintProto::PlacementNew_(
2896 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2898 return ::new (mem) SosConstraintProto(arena);
2900constexpr auto SosConstraintProto::InternalNewImpl_() {
2901 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2902 PROTOBUF_FIELD_OFFSET(SosConstraintProto,
_impl_.expressions_) +
2904 InternalGetArenaOffset(
2905 ::
google::protobuf::Message::internal_visibility()),
2906 PROTOBUF_FIELD_OFFSET(SosConstraintProto,
_impl_.weights_) +
2907 decltype(SosConstraintProto::
_impl_.weights_)::
2908 InternalGetArenaOffset(
2909 ::
google::protobuf::Message::internal_visibility()),
2911 if (arena_bits.has_value()) {
2912 return ::google::protobuf::internal::MessageCreator::CopyInit(
2913 sizeof(SosConstraintProto), alignof(SosConstraintProto), *arena_bits);
2915 return ::google::protobuf::internal::MessageCreator(&SosConstraintProto::PlacementNew_,
2916 sizeof(SosConstraintProto),
2917 alignof(SosConstraintProto));
2921 return ::google::protobuf::internal::ClassDataFull{
2922 ::google::protobuf::internal::ClassData{
2927 &SosConstraintProto::MergeImpl,
2928 ::google::protobuf::Message::GetNewImpl<SosConstraintProto>(),
2929#if defined(PROTOBUF_CUSTOM_VTABLE)
2930 &SosConstraintProto::SharedDtor,
2937 &SosConstraintProto::kDescriptorMethods,
2943PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2947PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2948SosConstraintProto::GetClassData()
const {
2953PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2954const ::_pbi::TcParseTable<2, 3, 1, 60, 2>
2955SosConstraintProto::_table_ = {
2957 PROTOBUF_FIELD_OFFSET(SosConstraintProto,
_impl_._has_bits_),
2960 offsetof(
decltype(_table_), field_lookup_table),
2962 offsetof(
decltype(_table_), field_entries),
2965 offsetof(
decltype(_table_), aux_entries),
2968 ::_pbi::TcParser::GenericFallback,
2969 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2970 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SosConstraintProto>(),
2973 {::_pbi::TcParser::MiniParse, {}},
2975 {::_pbi::TcParser::FastMtR1,
2977 PROTOBUF_FIELD_OFFSET(SosConstraintProto,
_impl_.expressions_)}},
2979 {::_pbi::TcParser::FastF64P1,
2981 PROTOBUF_FIELD_OFFSET(SosConstraintProto,
_impl_.weights_)}},
2983 {::_pbi::TcParser::FastUS1,
2985 PROTOBUF_FIELD_OFFSET(SosConstraintProto,
_impl_.name_)}},
2990 {PROTOBUF_FIELD_OFFSET(SosConstraintProto,
_impl_.expressions_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2994 {PROTOBUF_FIELD_OFFSET(SosConstraintProto,
_impl_.name_),
_Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
2997 {::_pbi::TcParser::GetTable<::operations_research::math_opt::LinearExpressionProto>()},
3001 "operations_research.math_opt.SosConstraintProto"
3007 ::google::protobuf::internal::TSanWrite(&
_impl_);
3008 ::uint32_t cached_has_bits = 0;
3010 (void) cached_has_bits;
3012 cached_has_bits =
_impl_._has_bits_[0];
3013 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3014 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3015 _impl_.expressions_.Clear();
3017 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3020 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3021 _impl_.name_.ClearNonDefaultToEmpty();
3024 _impl_._has_bits_.Clear();
3025 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3028#if defined(PROTOBUF_CUSTOM_VTABLE)
3030 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3031 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3032 const SosConstraintProto& this_ =
static_cast<const SosConstraintProto&
>(
base);
3035 ::uint8_t* PROTOBUF_NONNULL target,
3036 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3037 const SosConstraintProto& this_ = *
this;
3039 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3040 this_.CheckHasBitConsistency();
3043 ::uint32_t cached_has_bits = 0;
3044 (void)cached_has_bits;
3046 cached_has_bits = this_.
_impl_._has_bits_[0];
3048 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3049 for (
unsigned i = 0, n =
static_cast<unsigned>(
3050 this_._internal_expressions_size());
3052 const auto& repfield = this_._internal_expressions().Get(i);
3054 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3055 1, repfield, repfield.GetCachedSize(),
3061 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3062 if (this_._internal_weights_size() > 0) {
3063 target = stream->WriteFixedPacked(2, this_._internal_weights(), target);
3068 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3069 if (!this_._internal_name().empty()) {
3070 const ::std::string& _s = this_._internal_name();
3071 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3072 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.SosConstraintProto.name");
3073 target = stream->WriteStringMaybeAliased(3, _s, target);
3077 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3079 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3080 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3086#if defined(PROTOBUF_CUSTOM_VTABLE)
3088 const SosConstraintProto& this_ =
static_cast<const SosConstraintProto&
>(base);
3091 const SosConstraintProto& this_ = *
this;
3094 ::size_t total_size = 0;
3096 ::uint32_t cached_has_bits = 0;
3098 (void)cached_has_bits;
3100 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3101 cached_has_bits = this_._impl_._has_bits_[0];
3102 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3104 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3105 total_size += 1UL * this_._internal_expressions_size();
3106 for (
const auto& msg : this_._internal_expressions()) {
3107 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3111 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3112 ::size_t data_size = ::size_t{8} *
3113 ::_pbi::FromIntSize(this_._internal_weights_size());
3114 ::size_t tag_size = data_size == 0
3116 : 1 + ::_pbi::WireFormatLite::Int32Size(
3117 static_cast<::int32_t
>(data_size));
3118 total_size += tag_size + data_size;
3121 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3122 if (!this_._internal_name().empty()) {
3123 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3124 this_._internal_name());
3128 return this_.MaybeComputeUnknownFieldsSize(total_size,
3129 &this_._impl_._cached_size_);
3132void SosConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
3133 const ::google::protobuf::MessageLite& from_msg) {
3135 static_cast<SosConstraintProto*
>(&to_msg);
3136 auto& from =
static_cast<const SosConstraintProto&
>(from_msg);
3137 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3138 from.CheckHasBitConsistency();
3142 ABSL_DCHECK_NE(&from, _this);
3143 ::uint32_t cached_has_bits = 0;
3144 (void)cached_has_bits;
3146 cached_has_bits = from._impl_._has_bits_[0];
3147 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3148 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3149 _this->_internal_mutable_expressions()->InternalMergeFromWithArena(
3150 ::google::protobuf::MessageLite::internal_visibility(), arena,
3151 from._internal_expressions());
3153 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
3154 _this->_internal_mutable_weights()->MergeFrom(from._internal_weights());
3156 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3157 if (!from._internal_name().empty()) {
3158 _this->_internal_set_name(from._internal_name());
3160 if (_this->_impl_.name_.IsDefault()) {
3161 _this->_internal_set_name(
"");
3166 _this->_impl_._has_bits_[0] |= cached_has_bits;
3167 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3168 from._internal_metadata_);
3173 if (&from ==
this)
return;
3179void SosConstraintProto::InternalSwap(
SosConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3181 auto* arena = GetArena();
3182 ABSL_DCHECK_EQ(arena, other->GetArena());
3183 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3184 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3185 _impl_.expressions_.InternalSwap(&other->_impl_.expressions_);
3186 _impl_.weights_.InternalSwap(&other->_impl_.weights_);
3187 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
3191 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3195class IndicatorConstraintProto::_Internal {
3198 decltype(::std::declval<IndicatorConstraintProto>()._impl_._has_bits_);
3199 static constexpr ::int32_t kHasBitsOffset =
3204 ::google::protobuf::internal::TSanWrite(&
_impl_);
3205 if (
_impl_.expression_ !=
nullptr)
_impl_.expression_->Clear();
3210#if defined(PROTOBUF_CUSTOM_VTABLE)
3213 : ::google::protobuf::Message(arena) {
3218PROTOBUF_NDEBUG_INLINE IndicatorConstraintProto::Impl_::Impl_(
3219 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3220 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3221 [[maybe_unused]] const ::operations_research::math_opt::IndicatorConstraintProto& from_msg)
3222 : _has_bits_{from._has_bits_},
3224 name_(arena, from.name_) {}
3227 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3229#if defined(PROTOBUF_CUSTOM_VTABLE)
3232 : ::google::protobuf::Message(arena) {
3236 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3237 from._internal_metadata_);
3238 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3239 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
3240 _impl_.expression_ = (CheckHasBit(cached_has_bits, 0x00000002U))
3241 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.expression_)
3243 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
3244 offsetof(Impl_, indicator_id_),
3245 reinterpret_cast<const char*
>(&from._impl_) +
3246 offsetof(Impl_, indicator_id_),
3247 offsetof(Impl_, activate_on_zero_) -
3248 offsetof(Impl_, indicator_id_) +
3249 sizeof(Impl_::activate_on_zero_));
3253PROTOBUF_NDEBUG_INLINE IndicatorConstraintProto::Impl_::Impl_(
3254 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3255 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3259inline void IndicatorConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3260 new (&
_impl_) Impl_(internal_visibility(), arena);
3261 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
3262 offsetof(Impl_, expression_),
3264 offsetof(Impl_, activate_on_zero_) -
3265 offsetof(Impl_, expression_) +
3266 sizeof(Impl_::activate_on_zero_));
3272inline void IndicatorConstraintProto::SharedDtor(
MessageLite& self) {
3274 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3275 this_.CheckHasBitConsistency();
3277 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3278 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3279 this_.
_impl_.name_.Destroy();
3280 delete this_.
_impl_.expression_;
3284inline void* PROTOBUF_NONNULL IndicatorConstraintProto::PlacementNew_(
3285 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3286 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3287 return ::new (mem) IndicatorConstraintProto(arena);
3289constexpr auto IndicatorConstraintProto::InternalNewImpl_() {
3290 return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(IndicatorConstraintProto),
3291 alignof(IndicatorConstraintProto));
3294 return ::google::protobuf::internal::ClassDataFull{
3295 ::google::protobuf::internal::ClassData{
3300 &IndicatorConstraintProto::MergeImpl,
3301 ::google::protobuf::Message::GetNewImpl<IndicatorConstraintProto>(),
3302#if defined(PROTOBUF_CUSTOM_VTABLE)
3303 &IndicatorConstraintProto::SharedDtor,
3310 &IndicatorConstraintProto::kDescriptorMethods,
3316PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3320PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3321IndicatorConstraintProto::GetClassData()
const {
3326PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3327const ::_pbi::TcParseTable<3, 6, 1, 66, 2>
3328IndicatorConstraintProto::_table_ = {
3330 PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_._has_bits_),
3333 offsetof(
decltype(_table_), field_lookup_table),
3335 offsetof(
decltype(_table_), field_entries),
3338 offsetof(
decltype(_table_), aux_entries),
3341 ::_pbi::TcParser::GenericFallback,
3342 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3343 ::_pbi::TcParser::GetTable<::operations_research::math_opt::IndicatorConstraintProto>(),
3346 {::_pbi::TcParser::MiniParse, {}},
3348 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(IndicatorConstraintProto,
_impl_.indicator_id_), 2>(),
3350 PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_.indicator_id_)}},
3352 {::_pbi::TcParser::FastMtS1,
3354 PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_.expression_)}},
3356 {::_pbi::TcParser::FastF64S1,
3358 PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_.lower_bound_)}},
3360 {::_pbi::TcParser::FastF64S1,
3362 PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_.upper_bound_)}},
3364 {::_pbi::TcParser::FastUS1,
3366 PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_.name_)}},
3368 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(IndicatorConstraintProto,
_impl_.activate_on_zero_), 5>(),
3370 PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_.activate_on_zero_)}},
3371 {::_pbi::TcParser::MiniParse, {}},
3378 {PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_.expression_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3384 {PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_.name_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
3386 {PROTOBUF_FIELD_OFFSET(IndicatorConstraintProto,
_impl_.activate_on_zero_),
_Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
3389 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
3393 "operations_research.math_opt.IndicatorConstraintProto"
3399 ::google::protobuf::internal::TSanWrite(&
_impl_);
3400 ::uint32_t cached_has_bits = 0;
3402 (void) cached_has_bits;
3405 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
3406 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3407 _impl_.name_.ClearNonDefaultToEmpty();
3409 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3410 ABSL_DCHECK(
_impl_.expression_ !=
nullptr);
3411 _impl_.expression_->Clear();
3414 if (BatchCheckHasBit(cached_has_bits, 0x0000003cU)) {
3415 ::memset(&
_impl_.indicator_id_, 0,
static_cast<::
size_t>(
3416 reinterpret_cast<char*
>(&
_impl_.activate_on_zero_) -
3417 reinterpret_cast<char*
>(&
_impl_.indicator_id_)) +
sizeof(
_impl_.activate_on_zero_));
3419 _impl_._has_bits_.Clear();
3420 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3423#if defined(PROTOBUF_CUSTOM_VTABLE)
3425 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
3426 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3427 const IndicatorConstraintProto& this_ =
static_cast<const IndicatorConstraintProto&
>(base);
3430 ::uint8_t* PROTOBUF_NONNULL target,
3431 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3432 const IndicatorConstraintProto& this_ = *
this;
3434 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3435 this_.CheckHasBitConsistency();
3438 ::uint32_t cached_has_bits = 0;
3439 (void)cached_has_bits;
3441 cached_has_bits = this_.
_impl_._has_bits_[0];
3443 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3445 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
3446 stream, this_._internal_indicator_id(), target);
3450 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3451 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3452 2, *this_._impl_.expression_, this_._impl_.expression_->GetCachedSize(), target,
3457 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3458 if (::absl::bit_cast<::uint64_t>(this_._internal_lower_bound()) != 0) {
3459 target = stream->EnsureSpace(target);
3460 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3461 3, this_._internal_lower_bound(), target);
3466 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
3467 if (::absl::bit_cast<::uint64_t>(this_._internal_upper_bound()) != 0) {
3468 target = stream->EnsureSpace(target);
3469 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3470 4, this_._internal_upper_bound(), target);
3475 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3476 if (!this_._internal_name().empty()) {
3477 const ::std::string& _s = this_._internal_name();
3478 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3479 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.IndicatorConstraintProto.name");
3480 target = stream->WriteStringMaybeAliased(5, _s, target);
3485 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
3486 if (this_._internal_activate_on_zero() != 0) {
3487 target = stream->EnsureSpace(target);
3488 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3489 6, this_._internal_activate_on_zero(), target);
3493 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3495 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3496 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3502#if defined(PROTOBUF_CUSTOM_VTABLE)
3504 const IndicatorConstraintProto& this_ =
static_cast<const IndicatorConstraintProto&
>(base);
3507 const IndicatorConstraintProto& this_ = *
this;
3510 ::size_t total_size = 0;
3512 ::uint32_t cached_has_bits = 0;
3514 (void)cached_has_bits;
3516 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3517 cached_has_bits = this_._impl_._has_bits_[0];
3518 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
3520 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3521 if (!this_._internal_name().empty()) {
3522 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3523 this_._internal_name());
3527 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3529 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.expression_);
3532 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3533 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
3534 this_._internal_indicator_id());
3537 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3538 if (::absl::bit_cast<::uint64_t>(this_._internal_lower_bound()) != 0) {
3543 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
3544 if (::absl::bit_cast<::uint64_t>(this_._internal_upper_bound()) != 0) {
3549 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
3550 if (this_._internal_activate_on_zero() != 0) {
3555 return this_.MaybeComputeUnknownFieldsSize(total_size,
3556 &this_._impl_._cached_size_);
3559void IndicatorConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
3560 const ::google::protobuf::MessageLite& from_msg) {
3562 static_cast<IndicatorConstraintProto*
>(&to_msg);
3563 auto& from =
static_cast<const IndicatorConstraintProto&
>(from_msg);
3564 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3565 from.CheckHasBitConsistency();
3569 ABSL_DCHECK_NE(&from, _this);
3570 ::uint32_t cached_has_bits = 0;
3571 (void)cached_has_bits;
3573 cached_has_bits = from._impl_._has_bits_[0];
3574 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
3575 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
3576 if (!from._internal_name().empty()) {
3577 _this->_internal_set_name(from._internal_name());
3579 if (_this->_impl_.name_.IsDefault()) {
3580 _this->_internal_set_name(
"");
3584 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3585 ABSL_DCHECK(from._impl_.expression_ !=
nullptr);
3586 if (_this->_impl_.expression_ ==
nullptr) {
3587 _this->_impl_.expression_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.expression_);
3589 _this->_impl_.expression_->MergeFrom(*from._impl_.expression_);
3592 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3593 _this->_impl_.indicator_id_ = from._impl_.indicator_id_;
3595 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3596 if (::absl::bit_cast<::uint64_t>(from._internal_lower_bound()) != 0) {
3597 _this->_impl_.lower_bound_ = from._impl_.lower_bound_;
3600 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
3601 if (::absl::bit_cast<::uint64_t>(from._internal_upper_bound()) != 0) {
3602 _this->_impl_.upper_bound_ = from._impl_.upper_bound_;
3605 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
3606 if (from._internal_activate_on_zero() != 0) {
3607 _this->_impl_.activate_on_zero_ = from._impl_.activate_on_zero_;
3611 _this->_impl_._has_bits_[0] |= cached_has_bits;
3612 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3613 from._internal_metadata_);
3618 if (&from ==
this)
return;
3626 auto* arena = GetArena();
3627 ABSL_DCHECK_EQ(arena, other->GetArena());
3628 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3629 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3630 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
3631 ::google::protobuf::internal::memswap<
3635 reinterpret_cast<char*
>(&
_impl_.expression_),
3636 reinterpret_cast<char*
>(&other->_impl_.expression_));
3640 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3644#if defined(PROTOBUF_CUSTOM_VTABLE)
3653inline void* PROTOBUF_NONNULL ModelProto_AuxiliaryObjectivesEntry_DoNotUse::PlacementNew_(
3654 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3655 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3658constexpr auto ModelProto_AuxiliaryObjectivesEntry_DoNotUse::InternalNewImpl_() {
3663 return ::google::protobuf::internal::ClassDataFull{
3664 ::google::protobuf::internal::ClassData{
3669 &ModelProto_AuxiliaryObjectivesEntry_DoNotUse::MergeImpl,
3670 ::google::protobuf::Message::GetNewImpl<ModelProto_AuxiliaryObjectivesEntry_DoNotUse>(),
3671#if defined(PROTOBUF_CUSTOM_VTABLE)
3672 &ModelProto_AuxiliaryObjectivesEntry_DoNotUse::SharedDtor,
3673 static_cast<void (::google::protobuf::MessageLite::*)()
>(&ModelProto_AuxiliaryObjectivesEntry_DoNotUse::ClearImpl),
3674 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
3680 &ModelProto_AuxiliaryObjectivesEntry_DoNotUse::kDescriptorMethods,
3686PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3690PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3691ModelProto_AuxiliaryObjectivesEntry_DoNotUse::GetClassData()
const {
3696PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3697const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
3698ModelProto_AuxiliaryObjectivesEntry_DoNotUse::_table_ = {
3700 PROTOBUF_FIELD_OFFSET(ModelProto_AuxiliaryObjectivesEntry_DoNotUse, _impl_._has_bits_),
3703 offsetof(
decltype(_table_), field_lookup_table),
3705 offsetof(
decltype(_table_), field_entries),
3708 offsetof(
decltype(_table_), aux_entries),
3711 ::_pbi::TcParser::DiscardEverythingFallback,
3712 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3713 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelProto_AuxiliaryObjectivesEntry_DoNotUse>(),
3717 {::_pbi::TcParser::FastMtS1,
3719 PROTOBUF_FIELD_OFFSET(ModelProto_AuxiliaryObjectivesEntry_DoNotUse, _impl_.value_)}},
3733 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveProto>()},
3740#if defined(PROTOBUF_CUSTOM_VTABLE)
3743ModelProto_QuadraticConstraintsEntry_DoNotUse::ModelProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3746ModelProto_QuadraticConstraintsEntry_DoNotUse::ModelProto_QuadraticConstraintsEntry_DoNotUse() : SuperType() {}
3747ModelProto_QuadraticConstraintsEntry_DoNotUse::ModelProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
3749inline void* PROTOBUF_NONNULL ModelProto_QuadraticConstraintsEntry_DoNotUse::PlacementNew_(
3750 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3751 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3752 return ::new (mem) ModelProto_QuadraticConstraintsEntry_DoNotUse(arena);
3754constexpr auto ModelProto_QuadraticConstraintsEntry_DoNotUse::InternalNewImpl_() {
3759 return ::google::protobuf::internal::ClassDataFull{
3760 ::google::protobuf::internal::ClassData{
3765 &ModelProto_QuadraticConstraintsEntry_DoNotUse::MergeImpl,
3766 ::google::protobuf::Message::GetNewImpl<ModelProto_QuadraticConstraintsEntry_DoNotUse>(),
3767#if defined(PROTOBUF_CUSTOM_VTABLE)
3768 &ModelProto_QuadraticConstraintsEntry_DoNotUse::SharedDtor,
3769 static_cast<void (::google::protobuf::MessageLite::*)()
>(&ModelProto_QuadraticConstraintsEntry_DoNotUse::ClearImpl),
3770 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
3776 &ModelProto_QuadraticConstraintsEntry_DoNotUse::kDescriptorMethods,
3782PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3783 ::google::protobuf::internal::ClassDataFull ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_ =
3784 ModelProto_QuadraticConstraintsEntry_DoNotUse::InternalGenerateClassData_();
3786PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3787ModelProto_QuadraticConstraintsEntry_DoNotUse::GetClassData()
const {
3788 ::google::protobuf::internal::PrefetchToLocalCache(&ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_);
3789 ::google::protobuf::internal::PrefetchToLocalCache(ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_.tc_table);
3790 return ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_.base();
3792PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3793const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
3794ModelProto_QuadraticConstraintsEntry_DoNotUse::_table_ = {
3799 offsetof(
decltype(_table_), field_lookup_table),
3801 offsetof(
decltype(_table_), field_entries),
3804 offsetof(
decltype(_table_), aux_entries),
3807 ::_pbi::TcParser::DiscardEverythingFallback,
3808 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3809 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelProto_QuadraticConstraintsEntry_DoNotUse>(),
3813 {::_pbi::TcParser::FastMtS1,
3829 {::_pbi::TcParser::GetTable<::operations_research::math_opt::QuadraticConstraintProto>()},
3836#if defined(PROTOBUF_CUSTOM_VTABLE)
3837ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::ModelProto_SecondOrderConeConstraintsEntry_DoNotUse()
3838 : SuperType(ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_.
base()) {}
3839ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::ModelProto_SecondOrderConeConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3840 : SuperType(arena, ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_.base()) {}
3842ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::ModelProto_SecondOrderConeConstraintsEntry_DoNotUse() : SuperType() {}
3843ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::ModelProto_SecondOrderConeConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
3845inline void* PROTOBUF_NONNULL ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::PlacementNew_(
3846 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3847 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3848 return ::new (mem) ModelProto_SecondOrderConeConstraintsEntry_DoNotUse(arena);
3850constexpr auto ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::InternalNewImpl_() {
3851 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(ModelProto_SecondOrderConeConstraintsEntry_DoNotUse),
3855 return ::google::protobuf::internal::ClassDataFull{
3856 ::google::protobuf::internal::ClassData{
3861 &ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::MergeImpl,
3862 ::google::protobuf::Message::GetNewImpl<ModelProto_SecondOrderConeConstraintsEntry_DoNotUse>(),
3863#if defined(PROTOBUF_CUSTOM_VTABLE)
3864 &ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::SharedDtor,
3865 static_cast<void (::google::protobuf::MessageLite::*)()
>(&ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::ClearImpl),
3866 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
3872 &ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::kDescriptorMethods,
3878PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3879 ::google::protobuf::internal::ClassDataFull ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_ =
3880 ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::InternalGenerateClassData_();
3882PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3883ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::GetClassData()
const {
3884 ::google::protobuf::internal::PrefetchToLocalCache(&ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_);
3885 ::google::protobuf::internal::PrefetchToLocalCache(ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_.tc_table);
3886 return ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_.base();
3888PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3889const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
3890ModelProto_SecondOrderConeConstraintsEntry_DoNotUse::_table_ = {
3895 offsetof(
decltype(_table_), field_lookup_table),
3897 offsetof(
decltype(_table_), field_entries),
3900 offsetof(
decltype(_table_), aux_entries),
3903 ::_pbi::TcParser::DiscardEverythingFallback,
3904 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3905 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelProto_SecondOrderConeConstraintsEntry_DoNotUse>(),
3909 {::_pbi::TcParser::FastMtS1,
3925 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SecondOrderConeConstraintProto>()},
3932#if defined(PROTOBUF_CUSTOM_VTABLE)
3933ModelProto_Sos1ConstraintsEntry_DoNotUse::ModelProto_Sos1ConstraintsEntry_DoNotUse()
3934 : SuperType(ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_.
base()) {}
3935ModelProto_Sos1ConstraintsEntry_DoNotUse::ModelProto_Sos1ConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3936 : SuperType(arena, ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_.base()) {}
3938ModelProto_Sos1ConstraintsEntry_DoNotUse::ModelProto_Sos1ConstraintsEntry_DoNotUse() : SuperType() {}
3939ModelProto_Sos1ConstraintsEntry_DoNotUse::ModelProto_Sos1ConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
3941inline void* PROTOBUF_NONNULL ModelProto_Sos1ConstraintsEntry_DoNotUse::PlacementNew_(
3942 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3943 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3944 return ::new (mem) ModelProto_Sos1ConstraintsEntry_DoNotUse(arena);
3946constexpr auto ModelProto_Sos1ConstraintsEntry_DoNotUse::InternalNewImpl_() {
3947 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(ModelProto_Sos1ConstraintsEntry_DoNotUse),
3948 alignof(ModelProto_Sos1ConstraintsEntry_DoNotUse));
3951 return ::google::protobuf::internal::ClassDataFull{
3952 ::google::protobuf::internal::ClassData{
3957 &ModelProto_Sos1ConstraintsEntry_DoNotUse::MergeImpl,
3958 ::google::protobuf::Message::GetNewImpl<ModelProto_Sos1ConstraintsEntry_DoNotUse>(),
3959#if defined(PROTOBUF_CUSTOM_VTABLE)
3960 &ModelProto_Sos1ConstraintsEntry_DoNotUse::SharedDtor,
3961 static_cast<void (::google::protobuf::MessageLite::*)()
>(&ModelProto_Sos1ConstraintsEntry_DoNotUse::ClearImpl),
3962 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
3968 &ModelProto_Sos1ConstraintsEntry_DoNotUse::kDescriptorMethods,
3974PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3975 ::google::protobuf::internal::ClassDataFull ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_ =
3976 ModelProto_Sos1ConstraintsEntry_DoNotUse::InternalGenerateClassData_();
3978PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3979ModelProto_Sos1ConstraintsEntry_DoNotUse::GetClassData()
const {
3980 ::google::protobuf::internal::PrefetchToLocalCache(&ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_);
3981 ::google::protobuf::internal::PrefetchToLocalCache(ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_.tc_table);
3982 return ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_.base();
3984PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3985const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
3986ModelProto_Sos1ConstraintsEntry_DoNotUse::_table_ = {
3991 offsetof(
decltype(_table_), field_lookup_table),
3993 offsetof(
decltype(_table_), field_entries),
3996 offsetof(
decltype(_table_), aux_entries),
3999 ::_pbi::TcParser::DiscardEverythingFallback,
4000 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4001 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelProto_Sos1ConstraintsEntry_DoNotUse>(),
4005 {::_pbi::TcParser::FastMtS1,
4021 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SosConstraintProto>()},
4028#if defined(PROTOBUF_CUSTOM_VTABLE)
4029ModelProto_Sos2ConstraintsEntry_DoNotUse::ModelProto_Sos2ConstraintsEntry_DoNotUse()
4030 : SuperType(ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_.
base()) {}
4031ModelProto_Sos2ConstraintsEntry_DoNotUse::ModelProto_Sos2ConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4032 : SuperType(arena, ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_.base()) {}
4034ModelProto_Sos2ConstraintsEntry_DoNotUse::ModelProto_Sos2ConstraintsEntry_DoNotUse() : SuperType() {}
4035ModelProto_Sos2ConstraintsEntry_DoNotUse::ModelProto_Sos2ConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
4037inline void* PROTOBUF_NONNULL ModelProto_Sos2ConstraintsEntry_DoNotUse::PlacementNew_(
4038 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4039 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4040 return ::new (mem) ModelProto_Sos2ConstraintsEntry_DoNotUse(arena);
4042constexpr auto ModelProto_Sos2ConstraintsEntry_DoNotUse::InternalNewImpl_() {
4043 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(ModelProto_Sos2ConstraintsEntry_DoNotUse),
4044 alignof(ModelProto_Sos2ConstraintsEntry_DoNotUse));
4047 return ::google::protobuf::internal::ClassDataFull{
4048 ::google::protobuf::internal::ClassData{
4053 &ModelProto_Sos2ConstraintsEntry_DoNotUse::MergeImpl,
4054 ::google::protobuf::Message::GetNewImpl<ModelProto_Sos2ConstraintsEntry_DoNotUse>(),
4055#if defined(PROTOBUF_CUSTOM_VTABLE)
4056 &ModelProto_Sos2ConstraintsEntry_DoNotUse::SharedDtor,
4057 static_cast<void (::google::protobuf::MessageLite::*)()
>(&ModelProto_Sos2ConstraintsEntry_DoNotUse::ClearImpl),
4058 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
4064 &ModelProto_Sos2ConstraintsEntry_DoNotUse::kDescriptorMethods,
4070PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4071 ::google::protobuf::internal::ClassDataFull ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_ =
4072 ModelProto_Sos2ConstraintsEntry_DoNotUse::InternalGenerateClassData_();
4074PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4075ModelProto_Sos2ConstraintsEntry_DoNotUse::GetClassData()
const {
4076 ::google::protobuf::internal::PrefetchToLocalCache(&ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_);
4077 ::google::protobuf::internal::PrefetchToLocalCache(ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_.tc_table);
4078 return ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_.base();
4080PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4081const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
4082ModelProto_Sos2ConstraintsEntry_DoNotUse::_table_ = {
4087 offsetof(
decltype(_table_), field_lookup_table),
4089 offsetof(
decltype(_table_), field_entries),
4092 offsetof(
decltype(_table_), aux_entries),
4095 ::_pbi::TcParser::DiscardEverythingFallback,
4096 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4097 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelProto_Sos2ConstraintsEntry_DoNotUse>(),
4101 {::_pbi::TcParser::FastMtS1,
4103 PROTOBUF_FIELD_OFFSET(ModelProto_Sos2ConstraintsEntry_DoNotUse, _impl_.value_)}},
4105 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ModelProto_Sos2ConstraintsEntry_DoNotUse, _impl_.key_), 1>(),
4107 PROTOBUF_FIELD_OFFSET(ModelProto_Sos2ConstraintsEntry_DoNotUse, _impl_.key_)}},
4112 {PROTOBUF_FIELD_OFFSET(ModelProto_Sos2ConstraintsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
4114 {PROTOBUF_FIELD_OFFSET(ModelProto_Sos2ConstraintsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4117 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SosConstraintProto>()},
4124#if defined(PROTOBUF_CUSTOM_VTABLE)
4125ModelProto_IndicatorConstraintsEntry_DoNotUse::ModelProto_IndicatorConstraintsEntry_DoNotUse()
4127ModelProto_IndicatorConstraintsEntry_DoNotUse::ModelProto_IndicatorConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4130ModelProto_IndicatorConstraintsEntry_DoNotUse::ModelProto_IndicatorConstraintsEntry_DoNotUse() : SuperType() {}
4131ModelProto_IndicatorConstraintsEntry_DoNotUse::ModelProto_IndicatorConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
4133inline void* PROTOBUF_NONNULL ModelProto_IndicatorConstraintsEntry_DoNotUse::PlacementNew_(
4134 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4135 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4136 return ::new (mem) ModelProto_IndicatorConstraintsEntry_DoNotUse(arena);
4138constexpr auto ModelProto_IndicatorConstraintsEntry_DoNotUse::InternalNewImpl_() {
4139 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(ModelProto_IndicatorConstraintsEntry_DoNotUse),
4140 alignof(ModelProto_IndicatorConstraintsEntry_DoNotUse));
4142constexpr auto ModelProto_IndicatorConstraintsEntry_DoNotUse::InternalGenerateClassData_() {
4143 return ::google::protobuf::internal::ClassDataFull{
4144 ::google::protobuf::internal::ClassData{
4149 &ModelProto_IndicatorConstraintsEntry_DoNotUse::MergeImpl,
4150 ::google::protobuf::Message::GetNewImpl<ModelProto_IndicatorConstraintsEntry_DoNotUse>(),
4151#if defined(PROTOBUF_CUSTOM_VTABLE)
4152 &ModelProto_IndicatorConstraintsEntry_DoNotUse::SharedDtor,
4153 static_cast<void (::google::protobuf::MessageLite::*)()
>(&ModelProto_IndicatorConstraintsEntry_DoNotUse::ClearImpl),
4154 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
4160 &ModelProto_IndicatorConstraintsEntry_DoNotUse::kDescriptorMethods,
4166PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4167 ::google::protobuf::internal::ClassDataFull ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_ =
4168 ModelProto_IndicatorConstraintsEntry_DoNotUse::InternalGenerateClassData_();
4170PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4171ModelProto_IndicatorConstraintsEntry_DoNotUse::GetClassData()
const {
4172 ::google::protobuf::internal::PrefetchToLocalCache(&ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_);
4173 ::google::protobuf::internal::PrefetchToLocalCache(ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_.tc_table);
4174 return ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_.base();
4176PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4177const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
4178ModelProto_IndicatorConstraintsEntry_DoNotUse::_table_ = {
4183 offsetof(
decltype(_table_), field_lookup_table),
4185 offsetof(
decltype(_table_), field_entries),
4188 offsetof(
decltype(_table_), aux_entries),
4191 ::_pbi::TcParser::DiscardEverythingFallback,
4192 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4193 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelProto_IndicatorConstraintsEntry_DoNotUse>(),
4197 {::_pbi::TcParser::FastMtS1,
4199 PROTOBUF_FIELD_OFFSET(ModelProto_IndicatorConstraintsEntry_DoNotUse, _impl_.value_)}},
4201 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ModelProto_IndicatorConstraintsEntry_DoNotUse, _impl_.key_), 1>(),
4203 PROTOBUF_FIELD_OFFSET(ModelProto_IndicatorConstraintsEntry_DoNotUse, _impl_.key_)}},
4208 {PROTOBUF_FIELD_OFFSET(ModelProto_IndicatorConstraintsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
4210 {PROTOBUF_FIELD_OFFSET(ModelProto_IndicatorConstraintsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
4213 {::_pbi::TcParser::GetTable<::operations_research::math_opt::IndicatorConstraintProto>()},
4220class ModelProto::_Internal {
4223 decltype(::std::declval<ModelProto>()._impl_._has_bits_);
4224 static constexpr ::int32_t kHasBitsOffset =
4225 8 * PROTOBUF_FIELD_OFFSET(ModelProto, _impl_._has_bits_);
4228void ModelProto::clear_linear_constraint_matrix() {
4229 ::google::protobuf::internal::TSanWrite(&_impl_);
4230 if (_impl_.linear_constraint_matrix_ !=
nullptr) _impl_.linear_constraint_matrix_->Clear();
4231 ClearHasBit(_impl_._has_bits_[0],
4235#if defined(PROTOBUF_CUSTOM_VTABLE)
4238 : ::google::protobuf::Message(arena) {
4243PROTOBUF_NDEBUG_INLINE ModelProto::Impl_::Impl_(
4244 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
4245 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4246 [[maybe_unused]] const ::operations_research::math_opt::ModelProto& from_msg)
4247 : _has_bits_{from._has_bits_},
4249 name_(arena, from.name_),
4250 quadratic_constraints_{visibility, arena, from.quadratic_constraints_},
4251 sos1_constraints_{visibility, arena, from.sos1_constraints_},
4252 sos2_constraints_{visibility, arena, from.sos2_constraints_},
4253 indicator_constraints_{visibility, arena, from.indicator_constraints_},
4254 auxiliary_objectives_{visibility, arena, from.auxiliary_objectives_},
4255 second_order_cone_constraints_{visibility, arena, from.second_order_cone_constraints_} {}
4258 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4259 const ModelProto& from)
4260#if defined(PROTOBUF_CUSTOM_VTABLE)
4263 : ::google::protobuf::Message(arena) {
4265 ModelProto*
const _this =
this;
4267 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4268 from._internal_metadata_);
4269 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
4270 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
4271 _impl_.variables_ = (CheckHasBit(cached_has_bits, 0x00000002U))
4272 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variables_)
4274 _impl_.objective_ = (CheckHasBit(cached_has_bits, 0x00000004U))
4275 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.objective_)
4277 _impl_.linear_constraints_ = (CheckHasBit(cached_has_bits, 0x00000008U))
4278 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_constraints_)
4280 _impl_.linear_constraint_matrix_ = (CheckHasBit(cached_has_bits, 0x00000010U))
4281 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_constraint_matrix_)
4286PROTOBUF_NDEBUG_INLINE ModelProto::Impl_::Impl_(
4287 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
4288 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4291 quadratic_constraints_{visibility, arena},
4292 sos1_constraints_{visibility, arena},
4293 sos2_constraints_{visibility, arena},
4294 indicator_constraints_{visibility, arena},
4295 auxiliary_objectives_{visibility, arena},
4296 second_order_cone_constraints_{visibility, arena} {}
4298inline void ModelProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4299 new (&
_impl_) Impl_(internal_visibility(), arena);
4300 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
4301 offsetof(Impl_, variables_),
4303 offsetof(Impl_, linear_constraint_matrix_) -
4304 offsetof(Impl_, variables_) +
4305 sizeof(Impl_::linear_constraint_matrix_));
4311inline void ModelProto::SharedDtor(MessageLite& self) {
4313 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4314 this_.CheckHasBitConsistency();
4316 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4317 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4318 this_._impl_.name_.Destroy();
4319 delete this_._impl_.variables_;
4320 delete this_._impl_.objective_;
4321 delete this_._impl_.linear_constraints_;
4322 delete this_._impl_.linear_constraint_matrix_;
4323 this_._impl_.~Impl_();
4326inline void* PROTOBUF_NONNULL ModelProto::PlacementNew_(
4327 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4328 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4331constexpr auto ModelProto::InternalNewImpl_() {
4332 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4335 InternalGetArenaOffset(
4339 InternalGetArenaOffset(
4343 InternalGetArenaOffset(
4347 InternalGetArenaOffset(
4351 InternalGetArenaOffset(
4355 InternalGetArenaOffset(
4358 if (arena_bits.has_value()) {
4359 return ::google::protobuf::internal::MessageCreator::CopyInit(
4360 sizeof(ModelProto), alignof(ModelProto), *arena_bits);
4362 return ::google::protobuf::internal::MessageCreator(&ModelProto::PlacementNew_,
4364 alignof(ModelProto));
4368 return ::google::protobuf::internal::ClassDataFull{
4369 ::google::protobuf::internal::ClassData{
4374 &ModelProto::MergeImpl,
4375 ::google::protobuf::Message::GetNewImpl<ModelProto>(),
4376#if defined(PROTOBUF_CUSTOM_VTABLE)
4377 &ModelProto::SharedDtor,
4384 &ModelProto::kDescriptorMethods,
4390PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4394PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4395ModelProto::GetClassData()
const {
4400PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4401const ::_pbi::TcParseTable<3, 11, 16, 60, 2>
4402ModelProto::_table_ = {
4407 offsetof(
decltype(_table_), field_lookup_table),
4409 offsetof(
decltype(_table_), field_entries),
4412 offsetof(
decltype(_table_), aux_entries),
4415 ::_pbi::TcParser::GenericFallback,
4416 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4417 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelProto>(),
4420 {::_pbi::TcParser::MiniParse, {}},
4422 {::_pbi::TcParser::FastUS1,
4426 {::_pbi::TcParser::FastMtS1,
4430 {::_pbi::TcParser::FastMtS1,
4434 {::_pbi::TcParser::FastMtS1,
4438 {::_pbi::TcParser::FastMtS1,
4441 {::_pbi::TcParser::MiniParse, {}},
4442 {::_pbi::TcParser::MiniParse, {}},
4470 {::_pbi::TcParser::GetTable<::operations_research::math_opt::VariablesProto>()},
4471 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveProto>()},
4472 {::_pbi::TcParser::GetTable<::operations_research::math_opt::LinearConstraintsProto>()},
4473 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleMatrixProto>()},
4474 {::_pbi::TcParser::GetMapAuxInfo(
4476 {::_pbi::TcParser::GetTable<::operations_research::math_opt::QuadraticConstraintProto>()},
4477 {::_pbi::TcParser::GetMapAuxInfo(
4479 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SosConstraintProto>()},
4480 {::_pbi::TcParser::GetMapAuxInfo(
4482 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SosConstraintProto>()},
4483 {::_pbi::TcParser::GetMapAuxInfo(
4485 {::_pbi::TcParser::GetTable<::operations_research::math_opt::IndicatorConstraintProto>()},
4486 {::_pbi::TcParser::GetMapAuxInfo(
4488 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveProto>()},
4489 {::_pbi::TcParser::GetMapAuxInfo(
4491 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SecondOrderConeConstraintProto>()},
4494 "\47\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
4495 "operations_research.math_opt.ModelProto"
4501 ::google::protobuf::internal::TSanWrite(&
_impl_);
4502 ::uint32_t cached_has_bits = 0;
4504 (void) cached_has_bits;
4506 cached_has_bits =
_impl_._has_bits_[0];
4507 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
4508 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
4509 _impl_.name_.ClearNonDefaultToEmpty();
4511 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
4512 ABSL_DCHECK(
_impl_.variables_ !=
nullptr);
4515 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
4516 ABSL_DCHECK(
_impl_.objective_ !=
nullptr);
4519 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
4520 ABSL_DCHECK(
_impl_.linear_constraints_ !=
nullptr);
4523 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
4524 ABSL_DCHECK(
_impl_.linear_constraint_matrix_ !=
nullptr);
4527 if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
4528 _impl_.quadratic_constraints_.Clear();
4530 if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
4531 _impl_.sos1_constraints_.Clear();
4533 if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
4534 _impl_.sos2_constraints_.Clear();
4537 if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
4538 if (CheckHasBitForRepeated(cached_has_bits, 0x00000100U)) {
4539 _impl_.indicator_constraints_.Clear();
4541 if (CheckHasBitForRepeated(cached_has_bits, 0x00000200U)) {
4542 _impl_.auxiliary_objectives_.Clear();
4544 if (CheckHasBitForRepeated(cached_has_bits, 0x00000400U)) {
4545 _impl_.second_order_cone_constraints_.Clear();
4548 _impl_._has_bits_.Clear();
4549 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4552#if defined(PROTOBUF_CUSTOM_VTABLE)
4554 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
4555 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4559 ::uint8_t* PROTOBUF_NONNULL target,
4560 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4563 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4564 this_.CheckHasBitConsistency();
4567 ::uint32_t cached_has_bits = 0;
4568 (void)cached_has_bits;
4570 cached_has_bits = this_._impl_._has_bits_[0];
4572 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
4573 if (!this_._internal_name().empty()) {
4574 const ::std::string& _s = this_._internal_name();
4575 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4576 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.ModelProto.name");
4577 target = stream->WriteStringMaybeAliased(1, _s, target);
4582 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
4583 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4584 2, *this_._impl_.variables_, this_._impl_.variables_->GetCachedSize(), target,
4589 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
4590 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4591 3, *this_._impl_.objective_, this_._impl_.objective_->GetCachedSize(), target,
4596 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
4597 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4598 4, *this_._impl_.linear_constraints_, this_._impl_.linear_constraints_->GetCachedSize(), target,
4603 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
4604 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4605 5, *this_._impl_.linear_constraint_matrix_, this_._impl_.linear_constraint_matrix_->GetCachedSize(), target,
4610 if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
4611 if (!this_._internal_quadratic_constraints().empty()) {
4612 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>;
4613 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto,
4614 _pbi::WireFormatLite::TYPE_INT64,
4615 _pbi::WireFormatLite::TYPE_MESSAGE>;
4616 const auto& field = this_._internal_quadratic_constraints();
4618 if (stream->IsSerializationDeterministic() && field.size() > 1) {
4619 for (
const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
4620 target = WireHelper::InternalSerialize(
4621 6, entry.first, entry.second, target, stream);
4624 for (
const auto& entry : field) {
4625 target = WireHelper::InternalSerialize(
4626 6, entry.first, entry.second, target, stream);
4633 if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
4634 if (!this_._internal_sos1_constraints().empty()) {
4635 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>;
4636 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::SosConstraintProto,
4637 _pbi::WireFormatLite::TYPE_INT64,
4638 _pbi::WireFormatLite::TYPE_MESSAGE>;
4639 const auto& field = this_._internal_sos1_constraints();
4641 if (stream->IsSerializationDeterministic() && field.size() > 1) {
4642 for (
const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
4643 target = WireHelper::InternalSerialize(
4644 7, entry.first, entry.second, target, stream);
4647 for (
const auto& entry : field) {
4648 target = WireHelper::InternalSerialize(
4649 7, entry.first, entry.second, target, stream);
4656 if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
4657 if (!this_._internal_sos2_constraints().empty()) {
4658 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>;
4659 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::SosConstraintProto,
4660 _pbi::WireFormatLite::TYPE_INT64,
4661 _pbi::WireFormatLite::TYPE_MESSAGE>;
4662 const auto& field = this_._internal_sos2_constraints();
4664 if (stream->IsSerializationDeterministic() && field.size() > 1) {
4665 for (
const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
4666 target = WireHelper::InternalSerialize(
4667 8, entry.first, entry.second, target, stream);
4670 for (
const auto& entry : field) {
4671 target = WireHelper::InternalSerialize(
4672 8, entry.first, entry.second, target, stream);
4679 if (CheckHasBitForRepeated(cached_has_bits, 0x00000100U)) {
4680 if (!this_._internal_indicator_constraints().empty()) {
4681 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>;
4682 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto,
4683 _pbi::WireFormatLite::TYPE_INT64,
4684 _pbi::WireFormatLite::TYPE_MESSAGE>;
4685 const auto& field = this_._internal_indicator_constraints();
4687 if (stream->IsSerializationDeterministic() && field.size() > 1) {
4688 for (
const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
4689 target = WireHelper::InternalSerialize(
4690 9, entry.first, entry.second, target, stream);
4693 for (
const auto& entry : field) {
4694 target = WireHelper::InternalSerialize(
4695 9, entry.first, entry.second, target, stream);
4702 if (CheckHasBitForRepeated(cached_has_bits, 0x00000200U)) {
4703 if (!this_._internal_auxiliary_objectives().empty()) {
4704 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>;
4705 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ObjectiveProto,
4706 _pbi::WireFormatLite::TYPE_INT64,
4707 _pbi::WireFormatLite::TYPE_MESSAGE>;
4708 const auto& field = this_._internal_auxiliary_objectives();
4710 if (stream->IsSerializationDeterministic() && field.size() > 1) {
4711 for (
const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
4712 target = WireHelper::InternalSerialize(
4713 10, entry.first, entry.second, target, stream);
4716 for (
const auto& entry : field) {
4717 target = WireHelper::InternalSerialize(
4718 10, entry.first, entry.second, target, stream);
4725 if (CheckHasBitForRepeated(cached_has_bits, 0x00000400U)) {
4726 if (!this_._internal_second_order_cone_constraints().empty()) {
4727 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>;
4728 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto,
4729 _pbi::WireFormatLite::TYPE_INT64,
4730 _pbi::WireFormatLite::TYPE_MESSAGE>;
4731 const auto& field = this_._internal_second_order_cone_constraints();
4733 if (stream->IsSerializationDeterministic() && field.size() > 1) {
4734 for (
const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
4735 target = WireHelper::InternalSerialize(
4736 11, entry.first, entry.second, target, stream);
4739 for (
const auto& entry : field) {
4740 target = WireHelper::InternalSerialize(
4741 11, entry.first, entry.second, target, stream);
4747 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4749 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4750 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4756#if defined(PROTOBUF_CUSTOM_VTABLE)
4764 ::size_t total_size = 0;
4766 ::uint32_t cached_has_bits = 0;
4768 (void)cached_has_bits;
4770 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4771 cached_has_bits = this_._impl_._has_bits_[0];
4772 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
4774 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
4775 if (!this_._internal_name().empty()) {
4776 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4777 this_._internal_name());
4781 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
4783 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.variables_);
4786 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
4788 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.objective_);
4791 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
4793 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.linear_constraints_);
4796 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
4798 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.linear_constraint_matrix_);
4801 if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
4803 1 * ::google::protobuf::internal::FromIntSize(this_._internal_quadratic_constraints_size());
4804 for (
const auto& entry : this_._internal_quadratic_constraints()) {
4805 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto,
4806 _pbi::WireFormatLite::TYPE_INT64,
4807 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
4811 if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
4813 1 * ::google::protobuf::internal::FromIntSize(this_._internal_sos1_constraints_size());
4814 for (
const auto& entry : this_._internal_sos1_constraints()) {
4815 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::SosConstraintProto,
4816 _pbi::WireFormatLite::TYPE_INT64,
4817 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
4821 if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
4823 1 * ::google::protobuf::internal::FromIntSize(this_._internal_sos2_constraints_size());
4824 for (
const auto& entry : this_._internal_sos2_constraints()) {
4825 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::SosConstraintProto,
4826 _pbi::WireFormatLite::TYPE_INT64,
4827 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
4831 if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
4833 if (CheckHasBitForRepeated(cached_has_bits, 0x00000100U)) {
4835 1 * ::google::protobuf::internal::FromIntSize(this_._internal_indicator_constraints_size());
4836 for (
const auto& entry : this_._internal_indicator_constraints()) {
4837 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto,
4838 _pbi::WireFormatLite::TYPE_INT64,
4839 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
4843 if (CheckHasBitForRepeated(cached_has_bits, 0x00000200U)) {
4845 1 * ::google::protobuf::internal::FromIntSize(this_._internal_auxiliary_objectives_size());
4846 for (
const auto& entry : this_._internal_auxiliary_objectives()) {
4847 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ObjectiveProto,
4848 _pbi::WireFormatLite::TYPE_INT64,
4849 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
4853 if (CheckHasBitForRepeated(cached_has_bits, 0x00000400U)) {
4855 1 * ::google::protobuf::internal::FromIntSize(this_._internal_second_order_cone_constraints_size());
4856 for (
const auto& entry : this_._internal_second_order_cone_constraints()) {
4857 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto,
4858 _pbi::WireFormatLite::TYPE_INT64,
4859 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
4863 return this_.MaybeComputeUnknownFieldsSize(total_size,
4864 &this_._impl_._cached_size_);
4867void ModelProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
4868 const ::google::protobuf::MessageLite& from_msg) {
4871 auto& from =
static_cast<const ModelProto&
>(from_msg);
4872 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
4873 from.CheckHasBitConsistency();
4877 ABSL_DCHECK_NE(&from, _this);
4878 ::uint32_t cached_has_bits = 0;
4879 (void)cached_has_bits;
4881 cached_has_bits = from._impl_._has_bits_[0];
4882 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
4883 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
4884 if (!from._internal_name().empty()) {
4885 _this->_internal_set_name(from._internal_name());
4887 if (_this->_impl_.name_.IsDefault()) {
4888 _this->_internal_set_name(
"");
4892 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
4893 ABSL_DCHECK(from._impl_.variables_ !=
nullptr);
4894 if (_this->_impl_.variables_ ==
nullptr) {
4895 _this->_impl_.variables_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variables_);
4897 _this->_impl_.variables_->MergeFrom(*from._impl_.variables_);
4900 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
4901 ABSL_DCHECK(from._impl_.objective_ !=
nullptr);
4902 if (_this->_impl_.objective_ ==
nullptr) {
4903 _this->_impl_.objective_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.objective_);
4905 _this->_impl_.objective_->MergeFrom(*from._impl_.objective_);
4908 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
4909 ABSL_DCHECK(from._impl_.linear_constraints_ !=
nullptr);
4910 if (_this->_impl_.linear_constraints_ ==
nullptr) {
4911 _this->_impl_.linear_constraints_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_constraints_);
4913 _this->_impl_.linear_constraints_->MergeFrom(*from._impl_.linear_constraints_);
4916 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
4917 ABSL_DCHECK(from._impl_.linear_constraint_matrix_ !=
nullptr);
4918 if (_this->_impl_.linear_constraint_matrix_ ==
nullptr) {
4919 _this->_impl_.linear_constraint_matrix_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_constraint_matrix_);
4921 _this->_impl_.linear_constraint_matrix_->MergeFrom(*from._impl_.linear_constraint_matrix_);
4924 if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
4925 _this->_impl_.quadratic_constraints_.MergeFrom(from._impl_.quadratic_constraints_);
4927 if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
4928 _this->_impl_.sos1_constraints_.MergeFrom(from._impl_.sos1_constraints_);
4930 if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
4931 _this->_impl_.sos2_constraints_.MergeFrom(from._impl_.sos2_constraints_);
4934 if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
4935 if (CheckHasBitForRepeated(cached_has_bits, 0x00000100U)) {
4936 _this->_impl_.indicator_constraints_.MergeFrom(from._impl_.indicator_constraints_);
4938 if (CheckHasBitForRepeated(cached_has_bits, 0x00000200U)) {
4939 _this->_impl_.auxiliary_objectives_.MergeFrom(from._impl_.auxiliary_objectives_);
4941 if (CheckHasBitForRepeated(cached_has_bits, 0x00000400U)) {
4942 _this->_impl_.second_order_cone_constraints_.MergeFrom(from._impl_.second_order_cone_constraints_);
4945 _this->_impl_._has_bits_[0] |= cached_has_bits;
4946 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4947 from._internal_metadata_);
4952 if (&from ==
this)
return;
4958void ModelProto::InternalSwap(
ModelProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
4960 auto* arena = GetArena();
4961 ABSL_DCHECK_EQ(arena, other->GetArena());
4962 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4963 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4964 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
4965 ::google::protobuf::internal::memswap<
4969 reinterpret_cast<char*
>(&
_impl_.variables_),
4970 reinterpret_cast<char*
>(&other->_impl_.variables_));
4971 _impl_.quadratic_constraints_.InternalSwap(&other->_impl_.quadratic_constraints_);
4972 _impl_.sos1_constraints_.InternalSwap(&other->_impl_.sos1_constraints_);
4973 _impl_.sos2_constraints_.InternalSwap(&other->_impl_.sos2_constraints_);
4974 _impl_.indicator_constraints_.InternalSwap(&other->_impl_.indicator_constraints_);
4975 _impl_.auxiliary_objectives_.InternalSwap(&other->_impl_.auxiliary_objectives_);
4976 _impl_.second_order_cone_constraints_.InternalSwap(&other->_impl_.second_order_cone_constraints_);
4980 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4990PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
4993 ::std::false_type{});
4994#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
~IndicatorConstraintProto() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
IndicatorConstraintProto()
void CopyFrom(const IndicatorConstraintProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const IndicatorConstraintProto &from)
static constexpr ::int32_t kHasBitsOffset
~LinearConstraintsProto() PROTOBUF_FINAL
void MergeFrom(const LinearConstraintsProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const LinearConstraintsProto &from)
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::Metadata GetMetadata() const
static constexpr ::int32_t kHasBitsOffset
ModelProto_AuxiliaryObjectivesEntry_DoNotUse()
static constexpr auto InternalGenerateClassData_()
ModelProto_IndicatorConstraintsEntry_DoNotUse()
static constexpr auto InternalGenerateClassData_()
ModelProto_QuadraticConstraintsEntry_DoNotUse()
ModelProto_SecondOrderConeConstraintsEntry_DoNotUse()
static constexpr auto InternalGenerateClassData_()
static constexpr auto InternalGenerateClassData_()
ModelProto_Sos1ConstraintsEntry_DoNotUse()
static constexpr auto InternalGenerateClassData_()
ModelProto_Sos2ConstraintsEntry_DoNotUse()
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const ModelProto &from)
~ModelProto() PROTOBUF_FINAL
void CopyFrom(const ModelProto &from)
::google::protobuf::Metadata GetMetadata() const
friend void swap(ModelProto &a, ModelProto &b)
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< ObjectiveProto >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
void CopyFrom(const ObjectiveProto &from)
friend void swap(ObjectiveProto &a, ObjectiveProto &b)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
void clear_linear_coefficients()
~ObjectiveProto() PROTOBUF_FINAL
void MergeFrom(const ObjectiveProto &from)
void clear_quadratic_coefficients()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
void MergeFrom(const QuadraticConstraintProto &from)
friend class ::google::protobuf::MessageLite
QuadraticConstraintProto()
void clear_linear_terms()
void CopyFrom(const QuadraticConstraintProto &from)
~QuadraticConstraintProto() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(QuadraticConstraintProto &a, QuadraticConstraintProto &b)
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
void clear_quadratic_terms()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
friend void swap(SecondOrderConeConstraintProto &a, SecondOrderConeConstraintProto &b)
void MergeFrom(const SecondOrderConeConstraintProto &from)
::size_t ByteSizeLong() const final
void CopyFrom(const SecondOrderConeConstraintProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
void clear_arguments_to_norm()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
SecondOrderConeConstraintProto()
friend class ::google::protobuf::Arena
~SecondOrderConeConstraintProto() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() 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 MergeFrom(const SosConstraintProto &from)
::size_t ByteSizeLong() const final
~SosConstraintProto() PROTOBUF_FINAL
void CopyFrom(const SosConstraintProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
int GetCachedSize() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
int GetCachedSize() const
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< VariablesProto >()._impl_._has_bits_) HasBits
~VariablesProto() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const VariablesProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalGenerateClassData_()
friend void swap(VariablesProto &a, VariablesProto &b)
void MergeFrom(const VariablesProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
friend class ::google::protobuf::Arena
::google::protobuf::Metadata GetMetadata() const
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2fmodel_2eproto
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fmodel_2eproto_once
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2fmodel_2eproto_deps[1]
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fmodel_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_2eproto
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProtoDefaultTypeInternal _ModelProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_AuxiliaryObjectivesEntry_DoNotUseDefaultTypeInternal _ModelProto_AuxiliaryObjectivesEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_IndicatorConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_IndicatorConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_QuadraticConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndicatorConstraintProtoDefaultTypeInternal _IndicatorConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SosConstraintProtoDefaultTypeInternal _SosConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull VariablesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearConstraintsProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveProtoDefaultTypeInternal _ObjectiveProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuadraticConstraintProtoDefaultTypeInternal _QuadraticConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_SecondOrderConeConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearConstraintsProtoDefaultTypeInternal _LinearConstraintsProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecondOrderConeConstraintProtoDefaultTypeInternal _SecondOrderConeConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VariablesProtoDefaultTypeInternal _VariablesProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SosConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_Sos1ConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_Sos1ConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IndicatorConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_Sos2ConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_Sos2ConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto
IndicatorConstraintProto _instance
~IndicatorConstraintProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR IndicatorConstraintProtoDefaultTypeInternal()
LinearConstraintsProto _instance
PROTOBUF_CONSTEXPR LinearConstraintsProtoDefaultTypeInternal()
~LinearConstraintsProtoDefaultTypeInternal()
~ModelProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR ModelProtoDefaultTypeInternal()
~ModelProto_AuxiliaryObjectivesEntry_DoNotUseDefaultTypeInternal()
ModelProto_AuxiliaryObjectivesEntry_DoNotUse _instance
PROTOBUF_CONSTEXPR ModelProto_AuxiliaryObjectivesEntry_DoNotUseDefaultTypeInternal()
ModelProto_IndicatorConstraintsEntry_DoNotUse _instance
PROTOBUF_CONSTEXPR ModelProto_IndicatorConstraintsEntry_DoNotUseDefaultTypeInternal()
~ModelProto_IndicatorConstraintsEntry_DoNotUseDefaultTypeInternal()
PROTOBUF_CONSTEXPR ModelProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal()
~ModelProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal()
ModelProto_QuadraticConstraintsEntry_DoNotUse _instance
ModelProto_SecondOrderConeConstraintsEntry_DoNotUse _instance
~ModelProto_SecondOrderConeConstraintsEntry_DoNotUseDefaultTypeInternal()
PROTOBUF_CONSTEXPR ModelProto_SecondOrderConeConstraintsEntry_DoNotUseDefaultTypeInternal()
PROTOBUF_CONSTEXPR ModelProto_Sos1ConstraintsEntry_DoNotUseDefaultTypeInternal()
~ModelProto_Sos1ConstraintsEntry_DoNotUseDefaultTypeInternal()
ModelProto_Sos1ConstraintsEntry_DoNotUse _instance
ModelProto_Sos2ConstraintsEntry_DoNotUse _instance
~ModelProto_Sos2ConstraintsEntry_DoNotUseDefaultTypeInternal()
PROTOBUF_CONSTEXPR ModelProto_Sos2ConstraintsEntry_DoNotUseDefaultTypeInternal()
~ObjectiveProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR ObjectiveProtoDefaultTypeInternal()
QuadraticConstraintProto _instance
~QuadraticConstraintProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR QuadraticConstraintProtoDefaultTypeInternal()
~SecondOrderConeConstraintProtoDefaultTypeInternal()
SecondOrderConeConstraintProto _instance
PROTOBUF_CONSTEXPR SecondOrderConeConstraintProtoDefaultTypeInternal()
SosConstraintProto _instance
~SosConstraintProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR SosConstraintProtoDefaultTypeInternal()
~VariablesProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR VariablesProtoDefaultTypeInternal()