Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
model_update.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/math_opt/model_update.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/map.h" // IWYU pragma: export
32#include "google/protobuf/map_type_handler.h" // IWYU pragma: export
33#include "google/protobuf/map_entry.h"
34#include "google/protobuf/map_field.h"
35#include "google/protobuf/unknown_field_set.h"
38// @@protoc_insertion_point(includes)
39
40// Must be included last.
41#include "google/protobuf/port_def.inc"
42
43#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto OR_PROTO_DLL
44
45namespace google {
46namespace protobuf {
47namespace internal {
48template <typename T>
49::absl::string_view GetAnyMessageName();
50} // namespace internal
51} // namespace protobuf
52} // namespace google
53
54// Internal implementation detail -- do not use these members.
56 static const ::uint32_t offsets[];
57};
58extern "C" {
59OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
60} // extern "C"
61namespace operations_research {
62namespace math_opt {
66OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_class_data_;
70OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_class_data_;
74OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_class_data_;
78OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_class_data_;
82OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
86OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LinearConstraintUpdatesProto_class_data_;
90OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelUpdateProto_class_data_;
94OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ObjectiveUpdatesProto_class_data_;
98OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_class_data_;
102OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
106OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintUpdatesProto_class_data_;
110OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
114OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_class_data_;
118OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
122OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull VariableUpdatesProto_class_data_;
123} // namespace math_opt
124} // namespace operations_research
125namespace google {
126namespace protobuf {
127} // namespace protobuf
128} // namespace google
129
130namespace operations_research {
131namespace math_opt {
132
133// ===================================================================
134
135
136// -------------------------------------------------------------------
137
138class OR_PROTO_DLL VariableUpdatesProto final : public ::google::protobuf::Message
139/* @@protoc_insertion_point(class_definition:operations_research.math_opt.VariableUpdatesProto) */ {
140 public:
141 inline VariableUpdatesProto() : VariableUpdatesProto(nullptr) {}
142 ~VariableUpdatesProto() PROTOBUF_FINAL;
144#if defined(PROTOBUF_CUSTOM_VTABLE)
145 void operator delete(VariableUpdatesProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
146 SharedDtor(*msg);
147 ::google::protobuf::internal::SizedDelete(msg, sizeof(VariableUpdatesProto));
148 }
149#endif
150
151 template <typename = void>
152 explicit PROTOBUF_CONSTEXPR VariableUpdatesProto(::google::protobuf::internal::ConstantInitialized);
153
154 inline VariableUpdatesProto(const VariableUpdatesProto& from) : VariableUpdatesProto(nullptr, from) {}
155 inline VariableUpdatesProto(VariableUpdatesProto&& from) noexcept
156 : VariableUpdatesProto(nullptr, ::std::move(from)) {}
159 return *this;
160 }
161 inline VariableUpdatesProto& operator=(VariableUpdatesProto&& from) noexcept {
162 if (this == &from) return *this;
163 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
164 InternalSwap(&from);
165 } else {
166 CopyFrom(from);
167 }
168 return *this;
169 }
170
171 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
172 ABSL_ATTRIBUTE_LIFETIME_BOUND {
173 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
174 }
175 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
176 ABSL_ATTRIBUTE_LIFETIME_BOUND {
177 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
178 }
179
180 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
181 return GetDescriptor();
183 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
184 return default_instance().GetMetadata().descriptor;
186 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
187 return default_instance().GetMetadata().reflection;
189 static const VariableUpdatesProto& default_instance() {
190 return *reinterpret_cast<const VariableUpdatesProto*>(
192 }
193 static constexpr int kIndexInFileMessages = 0;
194 friend void swap(VariableUpdatesProto& a, VariableUpdatesProto& b) { a.Swap(&b); }
195 inline void Swap(VariableUpdatesProto* PROTOBUF_NONNULL other) {
196 if (other == this) return;
197 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
198 InternalSwap(other);
199 } else {
200 ::google::protobuf::internal::GenericSwap(this, other);
201 }
202 }
203 void UnsafeArenaSwap(VariableUpdatesProto* PROTOBUF_NONNULL other) {
204 if (other == this) return;
205 ABSL_DCHECK(GetArena() == other->GetArena());
206 InternalSwap(other);
207 }
208
209 // implements Message ----------------------------------------------
210
211 VariableUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
212 return ::google::protobuf::Message::DefaultConstruct<VariableUpdatesProto>(arena);
214 using ::google::protobuf::Message::CopyFrom;
215 void CopyFrom(const VariableUpdatesProto& from);
216 using ::google::protobuf::Message::MergeFrom;
217 void MergeFrom(const VariableUpdatesProto& from) { VariableUpdatesProto::MergeImpl(*this, from); }
218
219 private:
220 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
221 const ::google::protobuf::MessageLite& from_msg);
222
223 public:
224 bool IsInitialized() const {
225 return true;
227 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
228 #if defined(PROTOBUF_CUSTOM_VTABLE)
229 private:
230 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
231 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
232 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
233 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
234
235 public:
236 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
237 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
238 ::uint8_t* PROTOBUF_NONNULL target,
239 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
240 return _InternalSerialize(*this, target, stream);
241 }
242 #else // PROTOBUF_CUSTOM_VTABLE
243 ::size_t ByteSizeLong() const final;
244 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
245 ::uint8_t* PROTOBUF_NONNULL target,
246 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
247 #endif // PROTOBUF_CUSTOM_VTABLE
248 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
249
250 private:
251 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
252 static void SharedDtor(MessageLite& self);
253 void InternalSwap(VariableUpdatesProto* PROTOBUF_NONNULL other);
254 private:
255 template <typename T>
256 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
257 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.VariableUpdatesProto"; }
258
259 protected:
260 explicit VariableUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
261 VariableUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const VariableUpdatesProto& from);
263 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, VariableUpdatesProto&& from) noexcept
265 *this = ::std::move(from);
266 }
267 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
268 static void* PROTOBUF_NONNULL PlacementNew_(
269 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
270 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
271 static constexpr auto InternalNewImpl_();
272
273 public:
274 static constexpr auto InternalGenerateClassData_();
275
276 ::google::protobuf::Metadata GetMetadata() const;
277 // nested types ----------------------------------------------------
278
279 // accessors -------------------------------------------------------
280 enum : int {
281 kLowerBoundsFieldNumber = 1,
282 kUpperBoundsFieldNumber = 2,
284 };
285 // .operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
286 bool has_lower_bounds() const;
287 void clear_lower_bounds() ;
288 const ::operations_research::math_opt::SparseDoubleVectorProto& lower_bounds() const;
294
295 private:
296 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_lower_bounds() const;
297 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
298
299 public:
300 // .operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
301 bool has_upper_bounds() const;
302 void clear_upper_bounds() ;
303 const ::operations_research::math_opt::SparseDoubleVectorProto& upper_bounds() const;
309
310 private:
311 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_upper_bounds() const;
312 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
313
314 public:
315 // .operations_research.math_opt.SparseBoolVectorProto integers = 3;
316 bool has_integers() const;
317 void clear_integers() ;
318 const ::operations_research::math_opt::SparseBoolVectorProto& integers() const;
324
325 private:
326 const ::operations_research::math_opt::SparseBoolVectorProto& _internal_integers() const;
327 ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NONNULL _internal_mutable_integers();
328
329 public:
330 // @@protoc_insertion_point(class_scope:operations_research.math_opt.VariableUpdatesProto)
331 private:
332 class _Internal;
333 friend class ::google::protobuf::internal::TcParser;
334 static const ::google::protobuf::internal::TcParseTable<2, 3,
335 3, 0,
336 2>
337 _table_;
338
339 friend class ::google::protobuf::MessageLite;
340 friend class ::google::protobuf::Arena;
341 template <typename T>
342 friend class ::google::protobuf::Arena::InternalHelper;
343 using InternalArenaConstructable_ = void;
344 using DestructorSkippable_ = void;
345 struct Impl_ {
346 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
347 inline explicit Impl_(
348 ::google::protobuf::internal::InternalVisibility visibility,
349 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
350 inline explicit Impl_(
351 ::google::protobuf::internal::InternalVisibility visibility,
352 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
353 const VariableUpdatesProto& from_msg);
354 ::google::protobuf::internal::HasBits<1> _has_bits_;
355 ::google::protobuf::internal::CachedSize _cached_size_;
356 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE lower_bounds_;
357 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE upper_bounds_;
359 PROTOBUF_TSAN_DECLARE_MEMBER
360 };
361 union { Impl_ _impl_; };
362 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
365OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull VariableUpdatesProto_class_data_;
366// -------------------------------------------------------------------
367
368class OR_PROTO_DLL ObjectiveUpdatesProto final : public ::google::protobuf::Message
369/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ObjectiveUpdatesProto) */ {
370 public:
372 ~ObjectiveUpdatesProto() PROTOBUF_FINAL;
373
374#if defined(PROTOBUF_CUSTOM_VTABLE)
375 void operator delete(ObjectiveUpdatesProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
376 SharedDtor(*msg);
377 ::google::protobuf::internal::SizedDelete(msg, sizeof(ObjectiveUpdatesProto));
378 }
379#endif
380
381 template <typename = void>
382 explicit PROTOBUF_CONSTEXPR ObjectiveUpdatesProto(::google::protobuf::internal::ConstantInitialized);
383
384 inline ObjectiveUpdatesProto(const ObjectiveUpdatesProto& from) : ObjectiveUpdatesProto(nullptr, from) {}
386 : ObjectiveUpdatesProto(nullptr, ::std::move(from)) {}
388 CopyFrom(from);
389 return *this;
391 inline ObjectiveUpdatesProto& operator=(ObjectiveUpdatesProto&& from) noexcept {
392 if (this == &from) return *this;
393 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
394 InternalSwap(&from);
395 } else {
396 CopyFrom(from);
397 }
398 return *this;
399 }
400
401 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
402 ABSL_ATTRIBUTE_LIFETIME_BOUND {
403 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
405 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
406 ABSL_ATTRIBUTE_LIFETIME_BOUND {
407 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
409
410 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
411 return GetDescriptor();
412 }
413 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
414 return default_instance().GetMetadata().descriptor;
415 }
416 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
417 return default_instance().GetMetadata().reflection;
418 }
420 return *reinterpret_cast<const ObjectiveUpdatesProto*>(
423 static constexpr int kIndexInFileMessages = 1;
424 friend void swap(ObjectiveUpdatesProto& a, ObjectiveUpdatesProto& b) { a.Swap(&b); }
425 inline void Swap(ObjectiveUpdatesProto* PROTOBUF_NONNULL other) {
426 if (other == this) return;
427 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
428 InternalSwap(other);
429 } else {
430 ::google::protobuf::internal::GenericSwap(this, other);
431 }
432 }
433 void UnsafeArenaSwap(ObjectiveUpdatesProto* PROTOBUF_NONNULL other) {
434 if (other == this) return;
435 ABSL_DCHECK(GetArena() == other->GetArena());
436 InternalSwap(other);
437 }
438
439 // implements Message ----------------------------------------------
440
441 ObjectiveUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
442 return ::google::protobuf::Message::DefaultConstruct<ObjectiveUpdatesProto>(arena);
443 }
444 using ::google::protobuf::Message::CopyFrom;
445 void CopyFrom(const ObjectiveUpdatesProto& from);
446 using ::google::protobuf::Message::MergeFrom;
447 void MergeFrom(const ObjectiveUpdatesProto& from) { ObjectiveUpdatesProto::MergeImpl(*this, from); }
448
449 private:
450 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
451 const ::google::protobuf::MessageLite& from_msg);
452
453 public:
454 bool IsInitialized() const {
455 return true;
456 }
457 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
458 #if defined(PROTOBUF_CUSTOM_VTABLE)
459 private:
460 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
461 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
462 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
463 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
464
465 public:
466 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
467 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
468 ::uint8_t* PROTOBUF_NONNULL target,
469 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
470 return _InternalSerialize(*this, target, stream);
471 }
472 #else // PROTOBUF_CUSTOM_VTABLE
473 ::size_t ByteSizeLong() const final;
474 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
475 ::uint8_t* PROTOBUF_NONNULL target,
476 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
477 #endif // PROTOBUF_CUSTOM_VTABLE
478 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
479
480 private:
481 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
482 static void SharedDtor(MessageLite& self);
483 void InternalSwap(ObjectiveUpdatesProto* PROTOBUF_NONNULL other);
484 private:
485 template <typename T>
486 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
487 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ObjectiveUpdatesProto"; }
488
489 protected:
490 explicit ObjectiveUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
491 ObjectiveUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ObjectiveUpdatesProto& from);
493 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ObjectiveUpdatesProto&& from) noexcept
494 : ObjectiveUpdatesProto(arena) {
495 *this = ::std::move(from);
496 }
497 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
498 static void* PROTOBUF_NONNULL PlacementNew_(
499 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
500 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
501 static constexpr auto InternalNewImpl_();
502
503 public:
504 static constexpr auto InternalGenerateClassData_();
505
506 ::google::protobuf::Metadata GetMetadata() const;
507 // nested types ----------------------------------------------------
508
509 // accessors -------------------------------------------------------
510 enum : int {
511 kLinearCoefficientsFieldNumber = 3,
512 kQuadraticCoefficientsFieldNumber = 4,
513 kOffsetUpdateFieldNumber = 2,
516 };
517 // .operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
520 const ::operations_research::math_opt::SparseDoubleVectorProto& linear_coefficients() const;
526
527 private:
528 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_coefficients() const;
529 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_linear_coefficients();
530
531 public:
532 // .operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
533 bool has_quadratic_coefficients() const;
535 const ::operations_research::math_opt::SparseDoubleMatrixProto& quadratic_coefficients() const;
541
542 private:
543 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_coefficients() const;
544 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_quadratic_coefficients();
545
546 public:
547 // optional double offset_update = 2;
548 bool has_offset_update() const;
549 void clear_offset_update() ;
550 double offset_update() const;
551 void set_offset_update(double value);
552
553 private:
554 double _internal_offset_update() const;
555 void _internal_set_offset_update(double value);
556
557 public:
558 // optional int64 priority_update = 5;
559 bool has_priority_update() const;
560 void clear_priority_update() ;
561 ::int64_t priority_update() const;
562 void set_priority_update(::int64_t value);
563
564 private:
565 ::int64_t _internal_priority_update() const;
566 void _internal_set_priority_update(::int64_t value);
567
568 public:
569 // optional bool direction_update = 1;
570 bool has_direction_update() const;
572 bool direction_update() const;
573 void set_direction_update(bool value);
574
575 private:
576 bool _internal_direction_update() const;
577 void _internal_set_direction_update(bool value);
578
579 public:
580 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ObjectiveUpdatesProto)
581 private:
582 class _Internal;
583 friend class ::google::protobuf::internal::TcParser;
584 static const ::google::protobuf::internal::TcParseTable<3, 5,
585 2, 0,
586 2>
587 _table_;
588
589 friend class ::google::protobuf::MessageLite;
590 friend class ::google::protobuf::Arena;
591 template <typename T>
592 friend class ::google::protobuf::Arena::InternalHelper;
593 using InternalArenaConstructable_ = void;
594 using DestructorSkippable_ = void;
595 struct Impl_ {
596 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
597 inline explicit Impl_(
598 ::google::protobuf::internal::InternalVisibility visibility,
599 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
600 inline explicit Impl_(
601 ::google::protobuf::internal::InternalVisibility visibility,
602 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
603 const ObjectiveUpdatesProto& from_msg);
604 ::google::protobuf::internal::HasBits<1> _has_bits_;
605 ::google::protobuf::internal::CachedSize _cached_size_;
606 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE linear_coefficients_;
607 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE quadratic_coefficients_;
608 double offset_update_;
609 ::int64_t priority_update_;
610 bool direction_update_;
611 PROTOBUF_TSAN_DECLARE_MEMBER
612 };
613 union { Impl_ _impl_; };
614 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
615};
617OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ObjectiveUpdatesProto_class_data_;
618// -------------------------------------------------------------------
619
620class OR_PROTO_DLL LinearConstraintUpdatesProto final : public ::google::protobuf::Message
621/* @@protoc_insertion_point(class_definition:operations_research.math_opt.LinearConstraintUpdatesProto) */ {
622 public:
625
626#if defined(PROTOBUF_CUSTOM_VTABLE)
627 void operator delete(LinearConstraintUpdatesProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
628 SharedDtor(*msg);
629 ::google::protobuf::internal::SizedDelete(msg, sizeof(LinearConstraintUpdatesProto));
630 }
631#endif
632
633 template <typename = void>
634 explicit PROTOBUF_CONSTEXPR LinearConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
635
637 inline LinearConstraintUpdatesProto(LinearConstraintUpdatesProto&& from) noexcept
638 : LinearConstraintUpdatesProto(nullptr, ::std::move(from)) {}
639 inline LinearConstraintUpdatesProto& operator=(const LinearConstraintUpdatesProto& from) {
640 CopyFrom(from);
641 return *this;
642 }
644 if (this == &from) return *this;
645 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
646 InternalSwap(&from);
647 } else {
648 CopyFrom(from);
649 }
650 return *this;
651 }
652
653 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
654 ABSL_ATTRIBUTE_LIFETIME_BOUND {
655 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
656 }
657 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
658 ABSL_ATTRIBUTE_LIFETIME_BOUND {
659 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
660 }
662 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
663 return GetDescriptor();
664 }
665 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
666 return default_instance().GetMetadata().descriptor;
667 }
668 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
669 return default_instance().GetMetadata().reflection;
670 }
671 static const LinearConstraintUpdatesProto& default_instance() {
675 static constexpr int kIndexInFileMessages = 5;
677 inline void Swap(LinearConstraintUpdatesProto* PROTOBUF_NONNULL other) {
678 if (other == this) return;
679 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
680 InternalSwap(other);
681 } else {
682 ::google::protobuf::internal::GenericSwap(this, other);
683 }
684 }
685 void UnsafeArenaSwap(LinearConstraintUpdatesProto* PROTOBUF_NONNULL other) {
686 if (other == this) return;
687 ABSL_DCHECK(GetArena() == other->GetArena());
688 InternalSwap(other);
690
691 // implements Message ----------------------------------------------
692
693 LinearConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
694 return ::google::protobuf::Message::DefaultConstruct<LinearConstraintUpdatesProto>(arena);
695 }
696 using ::google::protobuf::Message::CopyFrom;
698 using ::google::protobuf::Message::MergeFrom;
699 void MergeFrom(const LinearConstraintUpdatesProto& from) { LinearConstraintUpdatesProto::MergeImpl(*this, from); }
700
701 private:
702 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
703 const ::google::protobuf::MessageLite& from_msg);
704
705 public:
706 bool IsInitialized() const {
707 return true;
708 }
709 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
710 #if defined(PROTOBUF_CUSTOM_VTABLE)
711 private:
712 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
713 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
714 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
715 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
716
717 public:
718 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
719 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
720 ::uint8_t* PROTOBUF_NONNULL target,
721 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
722 return _InternalSerialize(*this, target, stream);
723 }
724 #else // PROTOBUF_CUSTOM_VTABLE
725 ::size_t ByteSizeLong() const final;
726 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
727 ::uint8_t* PROTOBUF_NONNULL target,
728 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
729 #endif // PROTOBUF_CUSTOM_VTABLE
730 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
731
732 private:
733 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
734 static void SharedDtor(MessageLite& self);
735 void InternalSwap(LinearConstraintUpdatesProto* PROTOBUF_NONNULL other);
736 private:
737 template <typename T>
738 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
739 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.LinearConstraintUpdatesProto"; }
740
741 protected:
742 explicit LinearConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
743 LinearConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LinearConstraintUpdatesProto& from);
745 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LinearConstraintUpdatesProto&& from) noexcept
747 *this = ::std::move(from);
749 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
750 static void* PROTOBUF_NONNULL PlacementNew_(
751 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
752 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
753 static constexpr auto InternalNewImpl_();
754
755 public:
756 static constexpr auto InternalGenerateClassData_();
757
758 ::google::protobuf::Metadata GetMetadata() const;
759 // nested types ----------------------------------------------------
760
761 // accessors -------------------------------------------------------
762 enum : int {
763 kLowerBoundsFieldNumber = 1,
764 kUpperBoundsFieldNumber = 2,
765 };
766 // .operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
767 bool has_lower_bounds() const;
769 const ::operations_research::math_opt::SparseDoubleVectorProto& lower_bounds() const;
775
776 private:
777 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_lower_bounds() const;
778 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
779
780 public:
781 // .operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
782 bool has_upper_bounds() const;
783 void clear_upper_bounds() ;
784 const ::operations_research::math_opt::SparseDoubleVectorProto& upper_bounds() const;
790
791 private:
792 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_upper_bounds() const;
793 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
794
795 public:
796 // @@protoc_insertion_point(class_scope:operations_research.math_opt.LinearConstraintUpdatesProto)
797 private:
798 class _Internal;
799 friend class ::google::protobuf::internal::TcParser;
800 static const ::google::protobuf::internal::TcParseTable<1, 2,
801 2, 0,
802 2>
803 _table_;
804
805 friend class ::google::protobuf::MessageLite;
806 friend class ::google::protobuf::Arena;
807 template <typename T>
808 friend class ::google::protobuf::Arena::InternalHelper;
809 using InternalArenaConstructable_ = void;
810 using DestructorSkippable_ = void;
811 struct Impl_ {
812 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
813 inline explicit Impl_(
814 ::google::protobuf::internal::InternalVisibility visibility,
815 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
816 inline explicit Impl_(
817 ::google::protobuf::internal::InternalVisibility visibility,
818 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
819 const LinearConstraintUpdatesProto& from_msg);
820 ::google::protobuf::internal::HasBits<1> _has_bits_;
821 ::google::protobuf::internal::CachedSize _cached_size_;
822 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE lower_bounds_;
823 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE upper_bounds_;
824 PROTOBUF_TSAN_DECLARE_MEMBER
825 };
826 union { Impl_ _impl_; };
827 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
828};
829
830OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LinearConstraintUpdatesProto_class_data_;
831// -------------------------------------------------------------------
832
834 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
835 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
836 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
837 public:
838 using SuperType =
839 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
840 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
841 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
843 template <typename = void>
844 explicit PROTOBUF_CONSTEXPR SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
845 explicit SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
846 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
848 }
850
851 static constexpr auto InternalGenerateClassData_();
852
853 private:
854 friend class ::google::protobuf::MessageLite;
855 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
856
857 friend class ::google::protobuf::internal::TcParser;
858 static const ::google::protobuf::internal::TcParseTable<1, 2,
859 1, 0,
860 2>
861 _table_;
863 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
864 static void* PROTOBUF_NONNULL PlacementNew_(
865 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
866 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
867 static constexpr auto InternalNewImpl_();
868};
869OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
870// -------------------------------------------------------------------
871
873 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
874 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
875 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
876 public:
877 using SuperType =
878 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
879 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
880 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
882 template <typename = void>
883 explicit PROTOBUF_CONSTEXPR SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
884 explicit SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
885 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
887 }
888
890 static constexpr auto InternalGenerateClassData_();
892 private:
893 friend class ::google::protobuf::MessageLite;
894 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
895
896 friend class ::google::protobuf::internal::TcParser;
897 static const ::google::protobuf::internal::TcParseTable<1, 2,
898 1, 0,
899 2>
900 _table_;
901
902 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
903 static void* PROTOBUF_NONNULL PlacementNew_(
904 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
905 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
906 static constexpr auto InternalNewImpl_();
907};
909// -------------------------------------------------------------------
910
912 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
913 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
914 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
915 public:
916 using SuperType =
917 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
918 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
919 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
921 template <typename = void>
922 explicit PROTOBUF_CONSTEXPR QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
923 explicit QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
924 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
926 }
927
928
929 static constexpr auto InternalGenerateClassData_();
930
931 private:
932 friend class ::google::protobuf::MessageLite;
933 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
934
935 friend class ::google::protobuf::internal::TcParser;
936 static const ::google::protobuf::internal::TcParseTable<1, 2,
937 1, 0,
938 2>
939 _table_;
941 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
942 static void* PROTOBUF_NONNULL PlacementNew_(
943 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
944 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
945 static constexpr auto InternalNewImpl_();
946};
947OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
948// -------------------------------------------------------------------
949
951 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
952 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
953 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
954 public:
955 using SuperType =
956 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
957 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
958 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
960 template <typename = void>
961 explicit PROTOBUF_CONSTEXPR IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
962 explicit IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
963 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
965 }
966
967
968 static constexpr auto InternalGenerateClassData_();
970 private:
971 friend class ::google::protobuf::MessageLite;
972 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
973
974 friend class ::google::protobuf::internal::TcParser;
975 static const ::google::protobuf::internal::TcParseTable<1, 2,
976 1, 0,
977 2>
978 _table_;
980 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
981 static void* PROTOBUF_NONNULL PlacementNew_(
982 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
983 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
984 static constexpr auto InternalNewImpl_();
985};
986OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
987// -------------------------------------------------------------------
988
990 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
991 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
992 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
993 public:
994 using SuperType =
995 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
996 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
997 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
999 template <typename = void>
1000 explicit PROTOBUF_CONSTEXPR AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
1001 explicit AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1002 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
1004 }
1005
1006
1007 static constexpr auto InternalGenerateClassData_();
1008
1009 private:
1010 friend class ::google::protobuf::MessageLite;
1011 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1012
1013 friend class ::google::protobuf::internal::TcParser;
1014 static const ::google::protobuf::internal::TcParseTable<1, 2,
1015 1, 0,
1016 2>
1017 _table_;
1018
1019 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1020 static void* PROTOBUF_NONNULL PlacementNew_(
1021 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1022 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1023 static constexpr auto InternalNewImpl_();
1024};
1025OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_class_data_;
1026// -------------------------------------------------------------------
1027
1029 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1030 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1031 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
1032 public:
1033 using SuperType =
1034 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1035 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1036 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1038 template <typename = void>
1039 explicit PROTOBUF_CONSTEXPR AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
1040 explicit AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1041 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
1044
1045
1046 static constexpr auto InternalGenerateClassData_();
1047
1048 private:
1049 friend class ::google::protobuf::MessageLite;
1050 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1052 friend class ::google::protobuf::internal::TcParser;
1053 static const ::google::protobuf::internal::TcParseTable<1, 2,
1054 1, 0,
1055 2>
1056 _table_;
1057
1058 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1059 static void* PROTOBUF_NONNULL PlacementNew_(
1060 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1061 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1062 static constexpr auto InternalNewImpl_();
1063};
1064OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_class_data_;
1065// -------------------------------------------------------------------
1066
1067class OR_PROTO_DLL SosConstraintUpdatesProto final : public ::google::protobuf::Message
1068/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SosConstraintUpdatesProto) */ {
1069 public:
1071 ~SosConstraintUpdatesProto() PROTOBUF_FINAL;
1072
1073#if defined(PROTOBUF_CUSTOM_VTABLE)
1074 void operator delete(SosConstraintUpdatesProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1075 SharedDtor(*msg);
1076 ::google::protobuf::internal::SizedDelete(msg, sizeof(SosConstraintUpdatesProto));
1077 }
1078#endif
1079
1080 template <typename = void>
1081 explicit PROTOBUF_CONSTEXPR SosConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1082
1085 : SosConstraintUpdatesProto(nullptr, ::std::move(from)) {}
1086 inline SosConstraintUpdatesProto& operator=(const SosConstraintUpdatesProto& from) {
1087 CopyFrom(from);
1088 return *this;
1089 }
1090 inline SosConstraintUpdatesProto& operator=(SosConstraintUpdatesProto&& from) noexcept {
1091 if (this == &from) return *this;
1092 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1093 InternalSwap(&from);
1094 } else {
1096 }
1097 return *this;
1098 }
1099
1100 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1101 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1102 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1103 }
1104 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1105 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1106 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1107 }
1108
1109 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1110 return GetDescriptor();
1112 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1113 return default_instance().GetMetadata().descriptor;
1114 }
1115 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1116 return default_instance().GetMetadata().reflection;
1117 }
1118 static const SosConstraintUpdatesProto& default_instance() {
1119 return *reinterpret_cast<const SosConstraintUpdatesProto*>(
1121 }
1122 static constexpr int kIndexInFileMessages = 11;
1124 inline void Swap(SosConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1125 if (other == this) return;
1126 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1127 InternalSwap(other);
1128 } else {
1129 ::google::protobuf::internal::GenericSwap(this, other);
1130 }
1131 }
1132 void UnsafeArenaSwap(SosConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1133 if (other == this) return;
1134 ABSL_DCHECK(GetArena() == other->GetArena());
1135 InternalSwap(other);
1136 }
1137
1138 // implements Message ----------------------------------------------
1139
1140 SosConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1141 return ::google::protobuf::Message::DefaultConstruct<SosConstraintUpdatesProto>(arena);
1142 }
1143 using ::google::protobuf::Message::CopyFrom;
1144 void CopyFrom(const SosConstraintUpdatesProto& from);
1145 using ::google::protobuf::Message::MergeFrom;
1146 void MergeFrom(const SosConstraintUpdatesProto& from) { SosConstraintUpdatesProto::MergeImpl(*this, from); }
1147
1148 private:
1149 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1150 const ::google::protobuf::MessageLite& from_msg);
1152 public:
1153 bool IsInitialized() const {
1154 return true;
1155 }
1156 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1157 #if defined(PROTOBUF_CUSTOM_VTABLE)
1158 private:
1159 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1160 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1161 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1162 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1163
1164 public:
1165 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1166 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1167 ::uint8_t* PROTOBUF_NONNULL target,
1168 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1169 return _InternalSerialize(*this, target, stream);
1170 }
1171 #else // PROTOBUF_CUSTOM_VTABLE
1172 ::size_t ByteSizeLong() const final;
1173 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1174 ::uint8_t* PROTOBUF_NONNULL target,
1175 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1176 #endif // PROTOBUF_CUSTOM_VTABLE
1177 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1178
1179 private:
1180 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1181 static void SharedDtor(MessageLite& self);
1182 void InternalSwap(SosConstraintUpdatesProto* PROTOBUF_NONNULL other);
1183 private:
1184 template <typename T>
1185 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1186 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SosConstraintUpdatesProto"; }
1187
1188 protected:
1189 explicit SosConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1190 SosConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SosConstraintUpdatesProto& from);
1192 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SosConstraintUpdatesProto&& from) noexcept
1193 : SosConstraintUpdatesProto(arena) {
1194 *this = ::std::move(from);
1195 }
1196 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1197 static void* PROTOBUF_NONNULL PlacementNew_(
1198 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1199 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1200 static constexpr auto InternalNewImpl_();
1201
1202 public:
1203 static constexpr auto InternalGenerateClassData_();
1204
1205 ::google::protobuf::Metadata GetMetadata() const;
1206 // nested types ----------------------------------------------------
1207
1208 // accessors -------------------------------------------------------
1209 enum : int {
1212 };
1213 // repeated int64 deleted_constraint_ids = 1;
1214 int deleted_constraint_ids_size() const;
1215 private:
1216 int _internal_deleted_constraint_ids_size() const;
1217
1218 public:
1219 void clear_deleted_constraint_ids() ;
1220 ::int64_t deleted_constraint_ids(int index) const;
1221 void set_deleted_constraint_ids(int index, ::int64_t value);
1222 void add_deleted_constraint_ids(::int64_t value);
1223 const ::google::protobuf::RepeatedField<::int64_t>& deleted_constraint_ids() const;
1224 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_constraint_ids();
1225
1226 private:
1227 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_constraint_ids() const;
1228 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_constraint_ids();
1229
1230 public:
1231 // map<int64, .operations_research.math_opt.SosConstraintProto> new_constraints = 2;
1232 int new_constraints_size() const;
1233 private:
1234 int _internal_new_constraints_size() const;
1235
1236 public:
1237 void clear_new_constraints() ;
1238 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& new_constraints() const;
1239 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL mutable_new_constraints();
1240
1241 private:
1242 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_new_constraints() const;
1243 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_new_constraints();
1244
1245 public:
1246 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SosConstraintUpdatesProto)
1247 private:
1248 class _Internal;
1249 friend class ::google::protobuf::internal::TcParser;
1250 static const ::google::protobuf::internal::TcParseTable<0, 2,
1251 2, 0,
1252 2>
1253 _table_;
1254
1255 friend class ::google::protobuf::MessageLite;
1256 friend class ::google::protobuf::Arena;
1257 template <typename T>
1258 friend class ::google::protobuf::Arena::InternalHelper;
1259 using InternalArenaConstructable_ = void;
1260 using DestructorSkippable_ = void;
1261 struct Impl_ {
1262 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1263 inline explicit Impl_(
1264 ::google::protobuf::internal::InternalVisibility visibility,
1265 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1266 inline explicit Impl_(
1267 ::google::protobuf::internal::InternalVisibility visibility,
1268 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1270 ::google::protobuf::RepeatedField<::int64_t> deleted_constraint_ids_;
1271 ::google::protobuf::internal::CachedSize _deleted_constraint_ids_cached_byte_size_;
1273 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1274 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
1275 new_constraints_;
1276 ::google::protobuf::internal::CachedSize _cached_size_;
1277 PROTOBUF_TSAN_DECLARE_MEMBER
1278 };
1279 union { Impl_ _impl_; };
1280 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1281};
1282
1283OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_class_data_;
1284// -------------------------------------------------------------------
1285
1286class OR_PROTO_DLL SecondOrderConeConstraintUpdatesProto final : public ::google::protobuf::Message
1287/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto) */ {
1288 public:
1289 inline SecondOrderConeConstraintUpdatesProto() : SecondOrderConeConstraintUpdatesProto(nullptr) {}
1292#if defined(PROTOBUF_CUSTOM_VTABLE)
1293 void operator delete(SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1294 SharedDtor(*msg);
1295 ::google::protobuf::internal::SizedDelete(msg, sizeof(SecondOrderConeConstraintUpdatesProto));
1296 }
1297#endif
1299 template <typename = void>
1300 explicit PROTOBUF_CONSTEXPR SecondOrderConeConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1304 : SecondOrderConeConstraintUpdatesProto(nullptr, ::std::move(from)) {}
1305 inline SecondOrderConeConstraintUpdatesProto& operator=(const SecondOrderConeConstraintUpdatesProto& from) {
1306 CopyFrom(from);
1307 return *this;
1308 }
1309 inline SecondOrderConeConstraintUpdatesProto& operator=(SecondOrderConeConstraintUpdatesProto&& from) noexcept {
1310 if (this == &from) return *this;
1311 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1312 InternalSwap(&from);
1313 } else {
1316 return *this;
1318
1319 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1320 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1321 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1322 }
1323 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1324 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1325 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1326 }
1327
1328 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1329 return GetDescriptor();
1330 }
1331 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1332 return default_instance().GetMetadata().descriptor;
1333 }
1334 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1335 return default_instance().GetMetadata().reflection;
1336 }
1337 static const SecondOrderConeConstraintUpdatesProto& default_instance() {
1338 return *reinterpret_cast<const SecondOrderConeConstraintUpdatesProto*>(
1341 static constexpr int kIndexInFileMessages = 9;
1343 inline void Swap(SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1344 if (other == this) return;
1345 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1346 InternalSwap(other);
1347 } else {
1348 ::google::protobuf::internal::GenericSwap(this, other);
1350 }
1351 void UnsafeArenaSwap(SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1352 if (other == this) return;
1353 ABSL_DCHECK(GetArena() == other->GetArena());
1354 InternalSwap(other);
1356
1357 // implements Message ----------------------------------------------
1358
1359 SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1360 return ::google::protobuf::Message::DefaultConstruct<SecondOrderConeConstraintUpdatesProto>(arena);
1361 }
1362 using ::google::protobuf::Message::CopyFrom;
1364 using ::google::protobuf::Message::MergeFrom;
1365 void MergeFrom(const SecondOrderConeConstraintUpdatesProto& from) { SecondOrderConeConstraintUpdatesProto::MergeImpl(*this, from); }
1366
1367 private:
1368 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1369 const ::google::protobuf::MessageLite& from_msg);
1370
1371 public:
1372 bool IsInitialized() const {
1373 return true;
1374 }
1375 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1376 #if defined(PROTOBUF_CUSTOM_VTABLE)
1377 private:
1378 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1379 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1380 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1381 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1382
1383 public:
1384 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1385 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1386 ::uint8_t* PROTOBUF_NONNULL target,
1387 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1388 return _InternalSerialize(*this, target, stream);
1389 }
1390 #else // PROTOBUF_CUSTOM_VTABLE
1391 ::size_t ByteSizeLong() const final;
1392 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1393 ::uint8_t* PROTOBUF_NONNULL target,
1394 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1395 #endif // PROTOBUF_CUSTOM_VTABLE
1396 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1397
1398 private:
1399 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1400 static void SharedDtor(MessageLite& self);
1401 void InternalSwap(SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL other);
1402 private:
1403 template <typename T>
1404 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1405 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SecondOrderConeConstraintUpdatesProto"; }
1406
1407 protected:
1408 explicit SecondOrderConeConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1409 SecondOrderConeConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SecondOrderConeConstraintUpdatesProto& from);
1411 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SecondOrderConeConstraintUpdatesProto&& from) noexcept
1413 *this = ::std::move(from);
1414 }
1415 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1416 static void* PROTOBUF_NONNULL PlacementNew_(
1417 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1418 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1419 static constexpr auto InternalNewImpl_();
1420
1421 public:
1422 static constexpr auto InternalGenerateClassData_();
1423
1424 ::google::protobuf::Metadata GetMetadata() const;
1425 // nested types ----------------------------------------------------
1426
1427 // accessors -------------------------------------------------------
1428 enum : int {
1431 };
1432 // repeated int64 deleted_constraint_ids = 1;
1433 int deleted_constraint_ids_size() const;
1434 private:
1435 int _internal_deleted_constraint_ids_size() const;
1436
1437 public:
1438 void clear_deleted_constraint_ids() ;
1439 ::int64_t deleted_constraint_ids(int index) const;
1440 void set_deleted_constraint_ids(int index, ::int64_t value);
1441 void add_deleted_constraint_ids(::int64_t value);
1442 const ::google::protobuf::RepeatedField<::int64_t>& deleted_constraint_ids() const;
1443 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_constraint_ids();
1444
1445 private:
1446 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_constraint_ids() const;
1447 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_constraint_ids();
1448
1449 public:
1450 // map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> new_constraints = 2;
1451 int new_constraints_size() const;
1452 private:
1453 int _internal_new_constraints_size() const;
1454
1455 public:
1456 void clear_new_constraints() ;
1457 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& new_constraints() const;
1458 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL mutable_new_constraints();
1459
1460 private:
1461 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& _internal_new_constraints() const;
1462 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL _internal_mutable_new_constraints();
1463
1464 public:
1465 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto)
1466 private:
1467 class _Internal;
1468 friend class ::google::protobuf::internal::TcParser;
1469 static const ::google::protobuf::internal::TcParseTable<0, 2,
1470 2, 0,
1471 2>
1472 _table_;
1473
1474 friend class ::google::protobuf::MessageLite;
1475 friend class ::google::protobuf::Arena;
1476 template <typename T>
1477 friend class ::google::protobuf::Arena::InternalHelper;
1478 using InternalArenaConstructable_ = void;
1479 using DestructorSkippable_ = void;
1480 struct Impl_ {
1481 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1482 inline explicit Impl_(
1483 ::google::protobuf::internal::InternalVisibility visibility,
1484 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1485 inline explicit Impl_(
1486 ::google::protobuf::internal::InternalVisibility visibility,
1487 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1489 ::google::protobuf::RepeatedField<::int64_t> deleted_constraint_ids_;
1490 ::google::protobuf::internal::CachedSize _deleted_constraint_ids_cached_byte_size_;
1492 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1493 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
1494 new_constraints_;
1495 ::google::protobuf::internal::CachedSize _cached_size_;
1496 PROTOBUF_TSAN_DECLARE_MEMBER
1497 };
1498 union { Impl_ _impl_; };
1499 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1500};
1501
1502OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintUpdatesProto_class_data_;
1503// -------------------------------------------------------------------
1504
1505class OR_PROTO_DLL QuadraticConstraintUpdatesProto final : public ::google::protobuf::Message
1506/* @@protoc_insertion_point(class_definition:operations_research.math_opt.QuadraticConstraintUpdatesProto) */ {
1507 public:
1508 inline QuadraticConstraintUpdatesProto() : QuadraticConstraintUpdatesProto(nullptr) {}
1509 ~QuadraticConstraintUpdatesProto() PROTOBUF_FINAL;
1511#if defined(PROTOBUF_CUSTOM_VTABLE)
1512 void operator delete(QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1513 SharedDtor(*msg);
1514 ::google::protobuf::internal::SizedDelete(msg, sizeof(QuadraticConstraintUpdatesProto));
1515 }
1516#endif
1517
1518 template <typename = void>
1519 explicit PROTOBUF_CONSTEXPR QuadraticConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1520
1523 : QuadraticConstraintUpdatesProto(nullptr, ::std::move(from)) {}
1524 inline QuadraticConstraintUpdatesProto& operator=(const QuadraticConstraintUpdatesProto& from) {
1525 CopyFrom(from);
1526 return *this;
1527 }
1528 inline QuadraticConstraintUpdatesProto& operator=(QuadraticConstraintUpdatesProto&& from) noexcept {
1529 if (this == &from) return *this;
1530 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1531 InternalSwap(&from);
1532 } else {
1533 CopyFrom(from);
1535 return *this;
1536 }
1538 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1539 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1540 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1542 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1543 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1544 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1545 }
1546
1547 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1548 return GetDescriptor();
1549 }
1550 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1551 return default_instance().GetMetadata().descriptor;
1552 }
1553 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1554 return default_instance().GetMetadata().reflection;
1556 static const QuadraticConstraintUpdatesProto& default_instance() {
1557 return *reinterpret_cast<const QuadraticConstraintUpdatesProto*>(
1559 }
1560 static constexpr int kIndexInFileMessages = 7;
1562 inline void Swap(QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1563 if (other == this) return;
1564 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1565 InternalSwap(other);
1566 } else {
1567 ::google::protobuf::internal::GenericSwap(this, other);
1568 }
1570 void UnsafeArenaSwap(QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1571 if (other == this) return;
1572 ABSL_DCHECK(GetArena() == other->GetArena());
1573 InternalSwap(other);
1576 // implements Message ----------------------------------------------
1577
1578 QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1579 return ::google::protobuf::Message::DefaultConstruct<QuadraticConstraintUpdatesProto>(arena);
1580 }
1581 using ::google::protobuf::Message::CopyFrom;
1582 void CopyFrom(const QuadraticConstraintUpdatesProto& from);
1583 using ::google::protobuf::Message::MergeFrom;
1584 void MergeFrom(const QuadraticConstraintUpdatesProto& from) { QuadraticConstraintUpdatesProto::MergeImpl(*this, from); }
1585
1586 private:
1587 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1588 const ::google::protobuf::MessageLite& from_msg);
1589
1590 public:
1591 bool IsInitialized() const {
1592 return true;
1593 }
1594 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1595 #if defined(PROTOBUF_CUSTOM_VTABLE)
1596 private:
1597 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1598 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1599 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1600 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1601
1602 public:
1603 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1604 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1605 ::uint8_t* PROTOBUF_NONNULL target,
1606 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1607 return _InternalSerialize(*this, target, stream);
1608 }
1609 #else // PROTOBUF_CUSTOM_VTABLE
1610 ::size_t ByteSizeLong() const final;
1611 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1612 ::uint8_t* PROTOBUF_NONNULL target,
1613 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1614 #endif // PROTOBUF_CUSTOM_VTABLE
1615 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1616
1617 private:
1618 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1619 static void SharedDtor(MessageLite& self);
1620 void InternalSwap(QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL other);
1621 private:
1622 template <typename T>
1623 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1624 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.QuadraticConstraintUpdatesProto"; }
1625
1626 protected:
1627 explicit QuadraticConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1628 QuadraticConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const QuadraticConstraintUpdatesProto& from);
1630 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, QuadraticConstraintUpdatesProto&& from) noexcept
1632 *this = ::std::move(from);
1633 }
1634 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1635 static void* PROTOBUF_NONNULL PlacementNew_(
1636 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1637 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1638 static constexpr auto InternalNewImpl_();
1639
1640 public:
1641 static constexpr auto InternalGenerateClassData_();
1643 ::google::protobuf::Metadata GetMetadata() const;
1644 // nested types ----------------------------------------------------
1645
1646 // accessors -------------------------------------------------------
1647 enum : int {
1650 };
1651 // repeated int64 deleted_constraint_ids = 1;
1652 int deleted_constraint_ids_size() const;
1653 private:
1654 int _internal_deleted_constraint_ids_size() const;
1655
1656 public:
1657 void clear_deleted_constraint_ids() ;
1658 ::int64_t deleted_constraint_ids(int index) const;
1659 void set_deleted_constraint_ids(int index, ::int64_t value);
1660 void add_deleted_constraint_ids(::int64_t value);
1661 const ::google::protobuf::RepeatedField<::int64_t>& deleted_constraint_ids() const;
1662 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_constraint_ids();
1663
1664 private:
1665 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_constraint_ids() const;
1666 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_constraint_ids();
1667
1668 public:
1669 // map<int64, .operations_research.math_opt.QuadraticConstraintProto> new_constraints = 2;
1670 int new_constraints_size() const;
1671 private:
1672 int _internal_new_constraints_size() const;
1673
1674 public:
1675 void clear_new_constraints() ;
1676 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& new_constraints() const;
1677 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL mutable_new_constraints();
1678
1679 private:
1680 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& _internal_new_constraints() const;
1681 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL _internal_mutable_new_constraints();
1682
1683 public:
1684 // @@protoc_insertion_point(class_scope:operations_research.math_opt.QuadraticConstraintUpdatesProto)
1685 private:
1686 class _Internal;
1687 friend class ::google::protobuf::internal::TcParser;
1688 static const ::google::protobuf::internal::TcParseTable<0, 2,
1689 2, 0,
1690 2>
1691 _table_;
1692
1693 friend class ::google::protobuf::MessageLite;
1694 friend class ::google::protobuf::Arena;
1695 template <typename T>
1696 friend class ::google::protobuf::Arena::InternalHelper;
1697 using InternalArenaConstructable_ = void;
1698 using DestructorSkippable_ = void;
1699 struct Impl_ {
1700 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1701 inline explicit Impl_(
1702 ::google::protobuf::internal::InternalVisibility visibility,
1703 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1704 inline explicit Impl_(
1705 ::google::protobuf::internal::InternalVisibility visibility,
1706 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1708 ::google::protobuf::RepeatedField<::int64_t> deleted_constraint_ids_;
1709 ::google::protobuf::internal::CachedSize _deleted_constraint_ids_cached_byte_size_;
1711 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1712 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
1713 new_constraints_;
1714 ::google::protobuf::internal::CachedSize _cached_size_;
1715 PROTOBUF_TSAN_DECLARE_MEMBER
1716 };
1717 union { Impl_ _impl_; };
1718 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1719};
1720
1721OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_class_data_;
1722// -------------------------------------------------------------------
1723
1724class OR_PROTO_DLL IndicatorConstraintUpdatesProto final : public ::google::protobuf::Message
1725/* @@protoc_insertion_point(class_definition:operations_research.math_opt.IndicatorConstraintUpdatesProto) */ {
1726 public:
1727 inline IndicatorConstraintUpdatesProto() : IndicatorConstraintUpdatesProto(nullptr) {}
1728 ~IndicatorConstraintUpdatesProto() PROTOBUF_FINAL;
1729
1730#if defined(PROTOBUF_CUSTOM_VTABLE)
1731 void operator delete(IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1732 SharedDtor(*msg);
1733 ::google::protobuf::internal::SizedDelete(msg, sizeof(IndicatorConstraintUpdatesProto));
1734 }
1735#endif
1736
1737 template <typename = void>
1738 explicit PROTOBUF_CONSTEXPR IndicatorConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1739
1742 : IndicatorConstraintUpdatesProto(nullptr, ::std::move(from)) {}
1744 CopyFrom(from);
1745 return *this;
1746 }
1747 inline IndicatorConstraintUpdatesProto& operator=(IndicatorConstraintUpdatesProto&& from) noexcept {
1748 if (this == &from) return *this;
1749 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1750 InternalSwap(&from);
1751 } else {
1753 }
1754 return *this;
1756
1757 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1758 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1759 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1760 }
1761 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1762 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1763 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1764 }
1765
1766 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1767 return GetDescriptor();
1768 }
1769 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1770 return default_instance().GetMetadata().descriptor;
1772 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1773 return default_instance().GetMetadata().reflection;
1774 }
1779 static constexpr int kIndexInFileMessages = 13;
1781 inline void Swap(IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1782 if (other == this) return;
1783 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1784 InternalSwap(other);
1785 } else {
1786 ::google::protobuf::internal::GenericSwap(this, other);
1787 }
1788 }
1789 void UnsafeArenaSwap(IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1790 if (other == this) return;
1791 ABSL_DCHECK(GetArena() == other->GetArena());
1792 InternalSwap(other);
1795 // implements Message ----------------------------------------------
1796
1797 IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1798 return ::google::protobuf::Message::DefaultConstruct<IndicatorConstraintUpdatesProto>(arena);
1799 }
1800 using ::google::protobuf::Message::CopyFrom;
1801 void CopyFrom(const IndicatorConstraintUpdatesProto& from);
1802 using ::google::protobuf::Message::MergeFrom;
1803 void MergeFrom(const IndicatorConstraintUpdatesProto& from) { IndicatorConstraintUpdatesProto::MergeImpl(*this, from); }
1804
1805 private:
1806 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1807 const ::google::protobuf::MessageLite& from_msg);
1808
1809 public:
1810 bool IsInitialized() const {
1811 return true;
1812 }
1813 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1814 #if defined(PROTOBUF_CUSTOM_VTABLE)
1815 private:
1816 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1817 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1818 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1819 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1820
1821 public:
1822 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1823 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1824 ::uint8_t* PROTOBUF_NONNULL target,
1825 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1826 return _InternalSerialize(*this, target, stream);
1827 }
1828 #else // PROTOBUF_CUSTOM_VTABLE
1829 ::size_t ByteSizeLong() const final;
1830 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1831 ::uint8_t* PROTOBUF_NONNULL target,
1832 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1833 #endif // PROTOBUF_CUSTOM_VTABLE
1834 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1835
1836 private:
1837 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1838 static void SharedDtor(MessageLite& self);
1839 void InternalSwap(IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL other);
1840 private:
1841 template <typename T>
1842 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1843 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.IndicatorConstraintUpdatesProto"; }
1844
1845 protected:
1846 explicit IndicatorConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1847 IndicatorConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IndicatorConstraintUpdatesProto& from);
1849 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IndicatorConstraintUpdatesProto&& from) noexcept
1851 *this = ::std::move(from);
1852 }
1853 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1854 static void* PROTOBUF_NONNULL PlacementNew_(
1855 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1856 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1857 static constexpr auto InternalNewImpl_();
1858
1859 public:
1860 static constexpr auto InternalGenerateClassData_();
1861
1862 ::google::protobuf::Metadata GetMetadata() const;
1863 // nested types ----------------------------------------------------
1864
1865 // accessors -------------------------------------------------------
1866 enum : int {
1869 };
1870 // repeated int64 deleted_constraint_ids = 1;
1871 int deleted_constraint_ids_size() const;
1872 private:
1873 int _internal_deleted_constraint_ids_size() const;
1874
1875 public:
1876 void clear_deleted_constraint_ids() ;
1877 ::int64_t deleted_constraint_ids(int index) const;
1878 void set_deleted_constraint_ids(int index, ::int64_t value);
1879 void add_deleted_constraint_ids(::int64_t value);
1880 const ::google::protobuf::RepeatedField<::int64_t>& deleted_constraint_ids() const;
1881 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_constraint_ids();
1883 private:
1884 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_constraint_ids() const;
1885 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_constraint_ids();
1886
1887 public:
1888 // map<int64, .operations_research.math_opt.IndicatorConstraintProto> new_constraints = 2;
1889 int new_constraints_size() const;
1890 private:
1891 int _internal_new_constraints_size() const;
1892
1893 public:
1894 void clear_new_constraints() ;
1895 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& new_constraints() const;
1896 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL mutable_new_constraints();
1897
1898 private:
1899 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& _internal_new_constraints() const;
1900 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL _internal_mutable_new_constraints();
1901
1902 public:
1903 // @@protoc_insertion_point(class_scope:operations_research.math_opt.IndicatorConstraintUpdatesProto)
1904 private:
1905 class _Internal;
1906 friend class ::google::protobuf::internal::TcParser;
1907 static const ::google::protobuf::internal::TcParseTable<0, 2,
1908 2, 0,
1909 2>
1910 _table_;
1911
1912 friend class ::google::protobuf::MessageLite;
1913 friend class ::google::protobuf::Arena;
1914 template <typename T>
1915 friend class ::google::protobuf::Arena::InternalHelper;
1916 using InternalArenaConstructable_ = void;
1917 using DestructorSkippable_ = void;
1918 struct Impl_ {
1919 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1920 inline explicit Impl_(
1921 ::google::protobuf::internal::InternalVisibility visibility,
1922 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1923 inline explicit Impl_(
1924 ::google::protobuf::internal::InternalVisibility visibility,
1925 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1927 ::google::protobuf::RepeatedField<::int64_t> deleted_constraint_ids_;
1928 ::google::protobuf::internal::CachedSize _deleted_constraint_ids_cached_byte_size_;
1930 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1931 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
1932 new_constraints_;
1933 ::google::protobuf::internal::CachedSize _cached_size_;
1934 PROTOBUF_TSAN_DECLARE_MEMBER
1935 };
1936 union { Impl_ _impl_; };
1937 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1938};
1939
1940OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_class_data_;
1941// -------------------------------------------------------------------
1942
1943class OR_PROTO_DLL AuxiliaryObjectivesUpdatesProto final : public ::google::protobuf::Message
1944/* @@protoc_insertion_point(class_definition:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto) */ {
1945 public:
1946 inline AuxiliaryObjectivesUpdatesProto() : AuxiliaryObjectivesUpdatesProto(nullptr) {}
1947 ~AuxiliaryObjectivesUpdatesProto() PROTOBUF_FINAL;
1948
1949#if defined(PROTOBUF_CUSTOM_VTABLE)
1950 void operator delete(AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1951 SharedDtor(*msg);
1952 ::google::protobuf::internal::SizedDelete(msg, sizeof(AuxiliaryObjectivesUpdatesProto));
1953 }
1954#endif
1955
1956 template <typename = void>
1957 explicit PROTOBUF_CONSTEXPR AuxiliaryObjectivesUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1961 : AuxiliaryObjectivesUpdatesProto(nullptr, ::std::move(from)) {}
1963 CopyFrom(from);
1964 return *this;
1965 }
1966 inline AuxiliaryObjectivesUpdatesProto& operator=(AuxiliaryObjectivesUpdatesProto&& from) noexcept {
1967 if (this == &from) return *this;
1968 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1969 InternalSwap(&from);
1970 } else {
1971 CopyFrom(from);
1973 return *this;
1976 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1977 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1978 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1979 }
1980 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1981 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1982 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1983 }
1984
1985 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1986 return GetDescriptor();
1987 }
1988 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1989 return default_instance().GetMetadata().descriptor;
1990 }
1991 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1992 return default_instance().GetMetadata().reflection;
1993 }
1994 static const AuxiliaryObjectivesUpdatesProto& default_instance() {
1995 return *reinterpret_cast<const AuxiliaryObjectivesUpdatesProto*>(
1997 }
1998 static constexpr int kIndexInFileMessages = 4;
1999 friend void swap(AuxiliaryObjectivesUpdatesProto& a, AuxiliaryObjectivesUpdatesProto& b) { a.Swap(&b); }
2000 inline void Swap(AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL other) {
2001 if (other == this) return;
2002 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2003 InternalSwap(other);
2004 } else {
2005 ::google::protobuf::internal::GenericSwap(this, other);
2007 }
2008 void UnsafeArenaSwap(AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL other) {
2009 if (other == this) return;
2010 ABSL_DCHECK(GetArena() == other->GetArena());
2011 InternalSwap(other);
2012 }
2014 // implements Message ----------------------------------------------
2016 AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
2017 return ::google::protobuf::Message::DefaultConstruct<AuxiliaryObjectivesUpdatesProto>(arena);
2018 }
2019 using ::google::protobuf::Message::CopyFrom;
2020 void CopyFrom(const AuxiliaryObjectivesUpdatesProto& from);
2021 using ::google::protobuf::Message::MergeFrom;
2022 void MergeFrom(const AuxiliaryObjectivesUpdatesProto& from) { AuxiliaryObjectivesUpdatesProto::MergeImpl(*this, from); }
2024 private:
2025 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2026 const ::google::protobuf::MessageLite& from_msg);
2027
2028 public:
2029 bool IsInitialized() const {
2030 return true;
2032 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2033 #if defined(PROTOBUF_CUSTOM_VTABLE)
2034 private:
2035 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2036 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2037 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2038 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2039
2040 public:
2041 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
2042 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2043 ::uint8_t* PROTOBUF_NONNULL target,
2044 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2045 return _InternalSerialize(*this, target, stream);
2046 }
2047 #else // PROTOBUF_CUSTOM_VTABLE
2048 ::size_t ByteSizeLong() const final;
2049 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2050 ::uint8_t* PROTOBUF_NONNULL target,
2051 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2052 #endif // PROTOBUF_CUSTOM_VTABLE
2053 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2054
2055 private:
2056 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2057 static void SharedDtor(MessageLite& self);
2058 void InternalSwap(AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL other);
2059 private:
2060 template <typename T>
2061 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
2062 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.AuxiliaryObjectivesUpdatesProto"; }
2063
2064 protected:
2065 explicit AuxiliaryObjectivesUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2066 AuxiliaryObjectivesUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AuxiliaryObjectivesUpdatesProto& from);
2067 AuxiliaryObjectivesUpdatesProto(
2068 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AuxiliaryObjectivesUpdatesProto&& from) noexcept
2070 *this = ::std::move(from);
2071 }
2072 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2073 static void* PROTOBUF_NONNULL PlacementNew_(
2074 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2075 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2076 static constexpr auto InternalNewImpl_();
2077
2078 public:
2079 static constexpr auto InternalGenerateClassData_();
2080
2081 ::google::protobuf::Metadata GetMetadata() const;
2082 // nested types ----------------------------------------------------
2083
2084 // accessors -------------------------------------------------------
2085 enum : int {
2089 };
2090 // repeated int64 deleted_objective_ids = 1;
2091 int deleted_objective_ids_size() const;
2092 private:
2093 int _internal_deleted_objective_ids_size() const;
2094
2095 public:
2096 void clear_deleted_objective_ids() ;
2097 ::int64_t deleted_objective_ids(int index) const;
2098 void set_deleted_objective_ids(int index, ::int64_t value);
2099 void add_deleted_objective_ids(::int64_t value);
2100 const ::google::protobuf::RepeatedField<::int64_t>& deleted_objective_ids() const;
2101 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_objective_ids();
2103 private:
2104 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_objective_ids() const;
2105 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_objective_ids();
2106
2107 public:
2108 // map<int64, .operations_research.math_opt.ObjectiveProto> new_objectives = 2;
2109 int new_objectives_size() const;
2110 private:
2111 int _internal_new_objectives_size() const;
2112
2113 public:
2114 void clear_new_objectives() ;
2115 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& new_objectives() const;
2116 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL mutable_new_objectives();
2117
2118 private:
2119 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& _internal_new_objectives() const;
2120 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL _internal_mutable_new_objectives();
2121
2122 public:
2123 // map<int64, .operations_research.math_opt.ObjectiveUpdatesProto> objective_updates = 3;
2124 int objective_updates_size() const;
2125 private:
2126 int _internal_objective_updates_size() const;
2127
2128 public:
2130 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>& objective_updates() const;
2131 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>* PROTOBUF_NONNULL mutable_objective_updates();
2132
2133 private:
2134 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>& _internal_objective_updates() const;
2135 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>* PROTOBUF_NONNULL _internal_mutable_objective_updates();
2136
2137 public:
2138 // @@protoc_insertion_point(class_scope:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto)
2139 private:
2140 class _Internal;
2141 friend class ::google::protobuf::internal::TcParser;
2142 static const ::google::protobuf::internal::TcParseTable<0, 3,
2143 4, 0,
2144 2>
2145 _table_;
2146
2147 friend class ::google::protobuf::MessageLite;
2148 friend class ::google::protobuf::Arena;
2149 template <typename T>
2150 friend class ::google::protobuf::Arena::InternalHelper;
2151 using InternalArenaConstructable_ = void;
2152 using DestructorSkippable_ = void;
2153 struct Impl_ {
2154 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
2155 inline explicit Impl_(
2156 ::google::protobuf::internal::InternalVisibility visibility,
2157 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2158 inline explicit Impl_(
2159 ::google::protobuf::internal::InternalVisibility visibility,
2160 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2161 const AuxiliaryObjectivesUpdatesProto& from_msg);
2162 ::google::protobuf::RepeatedField<::int64_t> deleted_objective_ids_;
2163 ::google::protobuf::internal::CachedSize _deleted_objective_ids_cached_byte_size_;
2165 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2166 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2167 new_objectives_;
2169 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2170 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2171 objective_updates_;
2172 ::google::protobuf::internal::CachedSize _cached_size_;
2173 PROTOBUF_TSAN_DECLARE_MEMBER
2174 };
2175 union { Impl_ _impl_; };
2176 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
2177};
2178
2179OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_class_data_;
2180// -------------------------------------------------------------------
2181
2182class OR_PROTO_DLL ModelUpdateProto final : public ::google::protobuf::Message
2183/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ModelUpdateProto) */ {
2184 public:
2185 inline ModelUpdateProto() : ModelUpdateProto(nullptr) {}
2186 ~ModelUpdateProto() PROTOBUF_FINAL;
2187
2188#if defined(PROTOBUF_CUSTOM_VTABLE)
2189 void operator delete(ModelUpdateProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
2190 SharedDtor(*msg);
2191 ::google::protobuf::internal::SizedDelete(msg, sizeof(ModelUpdateProto));
2192 }
2193#endif
2194
2195 template <typename = void>
2196 explicit PROTOBUF_CONSTEXPR ModelUpdateProto(::google::protobuf::internal::ConstantInitialized);
2197
2198 inline ModelUpdateProto(const ModelUpdateProto& from) : ModelUpdateProto(nullptr, from) {}
2199 inline ModelUpdateProto(ModelUpdateProto&& from) noexcept
2200 : ModelUpdateProto(nullptr, ::std::move(from)) {}
2202 CopyFrom(from);
2203 return *this;
2204 }
2205 inline ModelUpdateProto& operator=(ModelUpdateProto&& from) noexcept {
2206 if (this == &from) return *this;
2207 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2208 InternalSwap(&from);
2209 } else {
2210 CopyFrom(from);
2211 }
2212 return *this;
2213 }
2215 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2216 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2217 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2218 }
2219 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2220 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2221 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2222 }
2223
2224 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2225 return GetDescriptor();
2226 }
2227 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2228 return default_instance().GetMetadata().descriptor;
2229 }
2230 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2231 return default_instance().GetMetadata().reflection;
2232 }
2233 static const ModelUpdateProto& default_instance() {
2234 return *reinterpret_cast<const ModelUpdateProto*>(
2236 }
2237 static constexpr int kIndexInFileMessages = 14;
2238 friend void swap(ModelUpdateProto& a, ModelUpdateProto& b) { a.Swap(&b); }
2239 inline void Swap(ModelUpdateProto* PROTOBUF_NONNULL other) {
2240 if (other == this) return;
2241 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2242 InternalSwap(other);
2243 } else {
2244 ::google::protobuf::internal::GenericSwap(this, other);
2245 }
2247 void UnsafeArenaSwap(ModelUpdateProto* PROTOBUF_NONNULL other) {
2248 if (other == this) return;
2249 ABSL_DCHECK(GetArena() == other->GetArena());
2250 InternalSwap(other);
2251 }
2252
2253 // implements Message ----------------------------------------------
2255 ModelUpdateProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
2256 return ::google::protobuf::Message::DefaultConstruct<ModelUpdateProto>(arena);
2257 }
2258 using ::google::protobuf::Message::CopyFrom;
2259 void CopyFrom(const ModelUpdateProto& from);
2260 using ::google::protobuf::Message::MergeFrom;
2261 void MergeFrom(const ModelUpdateProto& from) { ModelUpdateProto::MergeImpl(*this, from); }
2262
2263 private:
2264 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2265 const ::google::protobuf::MessageLite& from_msg);
2266
2267 public:
2268 bool IsInitialized() const {
2269 return true;
2270 }
2271 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2272 #if defined(PROTOBUF_CUSTOM_VTABLE)
2273 private:
2274 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2275 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2276 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2277 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2278
2279 public:
2280 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
2281 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2282 ::uint8_t* PROTOBUF_NONNULL target,
2283 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2284 return _InternalSerialize(*this, target, stream);
2285 }
2286 #else // PROTOBUF_CUSTOM_VTABLE
2287 ::size_t ByteSizeLong() const final;
2288 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2289 ::uint8_t* PROTOBUF_NONNULL target,
2290 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2291 #endif // PROTOBUF_CUSTOM_VTABLE
2292 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2293
2294 private:
2295 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2296 static void SharedDtor(MessageLite& self);
2297 void InternalSwap(ModelUpdateProto* PROTOBUF_NONNULL other);
2298 private:
2299 template <typename T>
2300 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
2301 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ModelUpdateProto"; }
2302
2303 protected:
2304 explicit ModelUpdateProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2305 ModelUpdateProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelUpdateProto& from);
2306 ModelUpdateProto(
2307 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelUpdateProto&& from) noexcept
2309 *this = ::std::move(from);
2310 }
2311 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2312 static void* PROTOBUF_NONNULL PlacementNew_(
2313 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2314 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2315 static constexpr auto InternalNewImpl_();
2316
2317 public:
2318 static constexpr auto InternalGenerateClassData_();
2319
2320 ::google::protobuf::Metadata GetMetadata() const;
2321 // nested types ----------------------------------------------------
2323 // accessors -------------------------------------------------------
2324 enum : int {
2339 };
2340 // repeated int64 deleted_variable_ids = 1;
2342 private:
2343 int _internal_deleted_variable_ids_size() const;
2345 public:
2347 ::int64_t deleted_variable_ids(int index) const;
2348 void set_deleted_variable_ids(int index, ::int64_t value);
2349 void add_deleted_variable_ids(::int64_t value);
2350 const ::google::protobuf::RepeatedField<::int64_t>& deleted_variable_ids() const;
2351 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_variable_ids();
2353 private:
2354 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_variable_ids() const;
2355 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_variable_ids();
2356
2357 public:
2358 // repeated int64 deleted_linear_constraint_ids = 2;
2360 private:
2361 int _internal_deleted_linear_constraint_ids_size() const;
2362
2363 public:
2365 ::int64_t deleted_linear_constraint_ids(int index) const;
2366 void set_deleted_linear_constraint_ids(int index, ::int64_t value);
2367 void add_deleted_linear_constraint_ids(::int64_t value);
2368 const ::google::protobuf::RepeatedField<::int64_t>& deleted_linear_constraint_ids() const;
2369 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_linear_constraint_ids();
2370
2371 private:
2372 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_linear_constraint_ids() const;
2373 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_linear_constraint_ids();
2374
2375 public:
2376 // .operations_research.math_opt.VariableUpdatesProto variable_updates = 3;
2377 bool has_variable_updates() const;
2378 void clear_variable_updates() ;
2379 const ::operations_research::math_opt::VariableUpdatesProto& variable_updates() const;
2385
2386 private:
2387 const ::operations_research::math_opt::VariableUpdatesProto& _internal_variable_updates() const;
2388 ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NONNULL _internal_mutable_variable_updates();
2389
2390 public:
2391 // .operations_research.math_opt.LinearConstraintUpdatesProto linear_constraint_updates = 4;
2392 bool has_linear_constraint_updates() const;
2394 const ::operations_research::math_opt::LinearConstraintUpdatesProto& linear_constraint_updates() const;
2400
2401 private:
2402 const ::operations_research::math_opt::LinearConstraintUpdatesProto& _internal_linear_constraint_updates() const;
2403 ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_linear_constraint_updates();
2404
2405 public:
2406 // .operations_research.math_opt.VariablesProto new_variables = 5;
2407 bool has_new_variables() const;
2408 void clear_new_variables() ;
2409 const ::operations_research::math_opt::VariablesProto& new_variables() const;
2415
2416 private:
2417 const ::operations_research::math_opt::VariablesProto& _internal_new_variables() const;
2418 ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL _internal_mutable_new_variables();
2419
2420 public:
2421 // .operations_research.math_opt.LinearConstraintsProto new_linear_constraints = 6;
2422 bool has_new_linear_constraints() const;
2424 const ::operations_research::math_opt::LinearConstraintsProto& new_linear_constraints() const;
2430
2431 private:
2432 const ::operations_research::math_opt::LinearConstraintsProto& _internal_new_linear_constraints() const;
2433 ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL _internal_mutable_new_linear_constraints();
2434
2435 public:
2436 // .operations_research.math_opt.ObjectiveUpdatesProto objective_updates = 7;
2437 bool has_objective_updates() const;
2439 const ::operations_research::math_opt::ObjectiveUpdatesProto& objective_updates() const;
2445
2446 private:
2447 const ::operations_research::math_opt::ObjectiveUpdatesProto& _internal_objective_updates() const;
2448 ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NONNULL _internal_mutable_objective_updates();
2449
2450 public:
2451 // .operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix_updates = 8;
2454 const ::operations_research::math_opt::SparseDoubleMatrixProto& linear_constraint_matrix_updates() const;
2460
2461 private:
2462 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_linear_constraint_matrix_updates() const;
2463 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_linear_constraint_matrix_updates();
2464
2465 public:
2466 // .operations_research.math_opt.QuadraticConstraintUpdatesProto quadratic_constraint_updates = 9;
2469 const ::operations_research::math_opt::QuadraticConstraintUpdatesProto& quadratic_constraint_updates() const;
2475
2476 private:
2477 const ::operations_research::math_opt::QuadraticConstraintUpdatesProto& _internal_quadratic_constraint_updates() const;
2478 ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_quadratic_constraint_updates();
2479
2480 public:
2481 // .operations_research.math_opt.SosConstraintUpdatesProto sos1_constraint_updates = 10;
2482 bool has_sos1_constraint_updates() const;
2484 const ::operations_research::math_opt::SosConstraintUpdatesProto& sos1_constraint_updates() const;
2490
2491 private:
2492 const ::operations_research::math_opt::SosConstraintUpdatesProto& _internal_sos1_constraint_updates() const;
2493 ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_sos1_constraint_updates();
2494
2495 public:
2496 // .operations_research.math_opt.SosConstraintUpdatesProto sos2_constraint_updates = 11;
2497 bool has_sos2_constraint_updates() const;
2499 const ::operations_research::math_opt::SosConstraintUpdatesProto& sos2_constraint_updates() const;
2505
2506 private:
2507 const ::operations_research::math_opt::SosConstraintUpdatesProto& _internal_sos2_constraint_updates() const;
2508 ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_sos2_constraint_updates();
2509
2510 public:
2511 // .operations_research.math_opt.IndicatorConstraintUpdatesProto indicator_constraint_updates = 12;
2514 const ::operations_research::math_opt::IndicatorConstraintUpdatesProto& indicator_constraint_updates() const;
2520
2521 private:
2522 const ::operations_research::math_opt::IndicatorConstraintUpdatesProto& _internal_indicator_constraint_updates() const;
2523 ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_indicator_constraint_updates();
2524
2525 public:
2526 // .operations_research.math_opt.AuxiliaryObjectivesUpdatesProto auxiliary_objectives_updates = 13;
2529 const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto& auxiliary_objectives_updates() const;
2535
2536 private:
2537 const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto& _internal_auxiliary_objectives_updates() const;
2538 ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL _internal_mutable_auxiliary_objectives_updates();
2539
2540 public:
2541 // .operations_research.math_opt.SecondOrderConeConstraintUpdatesProto second_order_cone_constraint_updates = 14;
2544 const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto& second_order_cone_constraint_updates() const;
2550
2551 private:
2552 const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto& _internal_second_order_cone_constraint_updates() const;
2553 ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_second_order_cone_constraint_updates();
2554
2555 public:
2556 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ModelUpdateProto)
2557 private:
2558 class _Internal;
2559 friend class ::google::protobuf::internal::TcParser;
2560 static const ::google::protobuf::internal::TcParseTable<4, 14,
2561 12, 0,
2562 2>
2563 _table_;
2564
2565 friend class ::google::protobuf::MessageLite;
2566 friend class ::google::protobuf::Arena;
2567 template <typename T>
2568 friend class ::google::protobuf::Arena::InternalHelper;
2569 using InternalArenaConstructable_ = void;
2570 using DestructorSkippable_ = void;
2571 struct Impl_ {
2572 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
2573 inline explicit Impl_(
2574 ::google::protobuf::internal::InternalVisibility visibility,
2575 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2576 inline explicit Impl_(
2577 ::google::protobuf::internal::InternalVisibility visibility,
2578 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2579 const ModelUpdateProto& from_msg);
2580 ::google::protobuf::internal::HasBits<1> _has_bits_;
2581 ::google::protobuf::internal::CachedSize _cached_size_;
2582 ::google::protobuf::RepeatedField<::int64_t> deleted_variable_ids_;
2583 ::google::protobuf::internal::CachedSize _deleted_variable_ids_cached_byte_size_;
2584 ::google::protobuf::RepeatedField<::int64_t> deleted_linear_constraint_ids_;
2585 ::google::protobuf::internal::CachedSize _deleted_linear_constraint_ids_cached_byte_size_;
2586 ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NULLABLE variable_updates_;
2587 ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NULLABLE linear_constraint_updates_;
2588 ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE new_variables_;
2589 ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE new_linear_constraints_;
2590 ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NULLABLE objective_updates_;
2591 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE linear_constraint_matrix_updates_;
2592 ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NULLABLE quadratic_constraint_updates_;
2593 ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE sos1_constraint_updates_;
2594 ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE sos2_constraint_updates_;
2595 ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NULLABLE indicator_constraint_updates_;
2596 ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NULLABLE auxiliary_objectives_updates_;
2597 ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NULLABLE second_order_cone_constraint_updates_;
2598 PROTOBUF_TSAN_DECLARE_MEMBER
2599 };
2600 union { Impl_ _impl_; };
2601 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
2602};
2603
2604OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelUpdateProto_class_data_;
2605
2606// ===================================================================
2607
2608
2609
2610
2611// ===================================================================
2612
2613
2614#ifdef __GNUC__
2615#pragma GCC diagnostic push
2616#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2617#endif // __GNUC__
2618// -------------------------------------------------------------------
2619
2620// VariableUpdatesProto
2621
2622// .operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
2623inline bool VariableUpdatesProto::has_lower_bounds() const {
2624 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2625 PROTOBUF_ASSUME(!value || _impl_.lower_bounds_ != nullptr);
2626 return value;
2627}
2628inline const ::operations_research::math_opt::SparseDoubleVectorProto& VariableUpdatesProto::_internal_lower_bounds() const {
2629 ::google::protobuf::internal::TSanRead(&_impl_);
2630 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.lower_bounds_;
2632}
2633inline const ::operations_research::math_opt::SparseDoubleVectorProto& VariableUpdatesProto::lower_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2634 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2635 return _internal_lower_bounds();
2636}
2639 ::google::protobuf::internal::TSanWrite(&_impl_);
2640 if (GetArena() == nullptr) {
2641 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lower_bounds_);
2643 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2644 if (value != nullptr) {
2645 _impl_._has_bits_[0] |= 0x00000001u;
2646 } else {
2647 _impl_._has_bits_[0] &= ~0x00000001u;
2648 }
2649 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2650}
2651inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::release_lower_bounds() {
2652 ::google::protobuf::internal::TSanWrite(&_impl_);
2653
2654 _impl_._has_bits_[0] &= ~0x00000001u;
2656 _impl_.lower_bounds_ = nullptr;
2657 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2658 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2659 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2660 if (GetArena() == nullptr) {
2661 delete old;
2662 }
2663 } else {
2664 if (GetArena() != nullptr) {
2665 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2666 }
2667 }
2668 return released;
2669}
2670inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::unsafe_arena_release_lower_bounds() {
2671 ::google::protobuf::internal::TSanWrite(&_impl_);
2672 // @@protoc_insertion_point(field_release:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2673
2674 _impl_._has_bits_[0] &= ~0x00000001u;
2676 _impl_.lower_bounds_ = nullptr;
2677 return temp;
2678}
2679inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::_internal_mutable_lower_bounds() {
2680 ::google::protobuf::internal::TSanWrite(&_impl_);
2681 if (_impl_.lower_bounds_ == nullptr) {
2682 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2683 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
2684 }
2685 return _impl_.lower_bounds_;
2686}
2687inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::mutable_lower_bounds()
2688 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2689 _impl_._has_bits_[0] |= 0x00000001u;
2690 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_lower_bounds();
2691 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2692 return _msg;
2693}
2695 ::google::protobuf::Arena* message_arena = GetArena();
2696 ::google::protobuf::internal::TSanWrite(&_impl_);
2697 if (message_arena == nullptr) {
2698 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lower_bounds_);
2699 }
2700
2701 if (value != nullptr) {
2702 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2703 if (message_arena != submessage_arena) {
2704 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2705 }
2706 _impl_._has_bits_[0] |= 0x00000001u;
2707 } else {
2708 _impl_._has_bits_[0] &= ~0x00000001u;
2709 }
2710
2711 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2712 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2714
2715// .operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
2716inline bool VariableUpdatesProto::has_upper_bounds() const {
2717 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2718 PROTOBUF_ASSUME(!value || _impl_.upper_bounds_ != nullptr);
2719 return value;
2720}
2721inline const ::operations_research::math_opt::SparseDoubleVectorProto& VariableUpdatesProto::_internal_upper_bounds() const {
2722 ::google::protobuf::internal::TSanRead(&_impl_);
2723 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.upper_bounds_;
2725}
2726inline const ::operations_research::math_opt::SparseDoubleVectorProto& VariableUpdatesProto::upper_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2727 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2728 return _internal_upper_bounds();
2729}
2731 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE value) {
2732 ::google::protobuf::internal::TSanWrite(&_impl_);
2733 if (GetArena() == nullptr) {
2734 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bounds_);
2736 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2737 if (value != nullptr) {
2738 _impl_._has_bits_[0] |= 0x00000002u;
2739 } else {
2740 _impl_._has_bits_[0] &= ~0x00000002u;
2741 }
2742 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2743}
2744inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::release_upper_bounds() {
2745 ::google::protobuf::internal::TSanWrite(&_impl_);
2746
2747 _impl_._has_bits_[0] &= ~0x00000002u;
2749 _impl_.upper_bounds_ = nullptr;
2750 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2751 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2752 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2753 if (GetArena() == nullptr) {
2754 delete old;
2755 }
2756 } else {
2757 if (GetArena() != nullptr) {
2758 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2759 }
2760 }
2761 return released;
2762}
2763inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::unsafe_arena_release_upper_bounds() {
2764 ::google::protobuf::internal::TSanWrite(&_impl_);
2765 // @@protoc_insertion_point(field_release:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2766
2767 _impl_._has_bits_[0] &= ~0x00000002u;
2769 _impl_.upper_bounds_ = nullptr;
2770 return temp;
2771}
2772inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::_internal_mutable_upper_bounds() {
2773 ::google::protobuf::internal::TSanWrite(&_impl_);
2774 if (_impl_.upper_bounds_ == nullptr) {
2775 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2776 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
2777 }
2778 return _impl_.upper_bounds_;
2779}
2780inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::mutable_upper_bounds()
2781 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2782 _impl_._has_bits_[0] |= 0x00000002u;
2783 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_upper_bounds();
2784 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2785 return _msg;
2786}
2788 ::google::protobuf::Arena* message_arena = GetArena();
2789 ::google::protobuf::internal::TSanWrite(&_impl_);
2790 if (message_arena == nullptr) {
2791 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bounds_);
2792 }
2793
2794 if (value != nullptr) {
2795 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2796 if (message_arena != submessage_arena) {
2797 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2798 }
2799 _impl_._has_bits_[0] |= 0x00000002u;
2800 } else {
2801 _impl_._has_bits_[0] &= ~0x00000002u;
2802 }
2803
2804 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2805 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2807
2808// .operations_research.math_opt.SparseBoolVectorProto integers = 3;
2809inline bool VariableUpdatesProto::has_integers() const {
2810 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2811 PROTOBUF_ASSUME(!value || _impl_.integers_ != nullptr);
2812 return value;
2813}
2814inline const ::operations_research::math_opt::SparseBoolVectorProto& VariableUpdatesProto::_internal_integers() const {
2815 ::google::protobuf::internal::TSanRead(&_impl_);
2816 const ::operations_research::math_opt::SparseBoolVectorProto* p = _impl_.integers_;
2818}
2819inline const ::operations_research::math_opt::SparseBoolVectorProto& VariableUpdatesProto::integers() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2820 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariableUpdatesProto.integers)
2821 return _internal_integers();
2822}
2824 ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NULLABLE value) {
2825 ::google::protobuf::internal::TSanWrite(&_impl_);
2826 if (GetArena() == nullptr) {
2827 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.integers_);
2829 _impl_.integers_ = reinterpret_cast<::operations_research::math_opt::SparseBoolVectorProto*>(value);
2830 if (value != nullptr) {
2831 _impl_._has_bits_[0] |= 0x00000004u;
2832 } else {
2833 _impl_._has_bits_[0] &= ~0x00000004u;
2834 }
2835 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.VariableUpdatesProto.integers)
2836}
2837inline ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::release_integers() {
2838 ::google::protobuf::internal::TSanWrite(&_impl_);
2839
2840 _impl_._has_bits_[0] &= ~0x00000004u;
2842 _impl_.integers_ = nullptr;
2843 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2844 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2845 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2846 if (GetArena() == nullptr) {
2847 delete old;
2848 }
2849 } else {
2850 if (GetArena() != nullptr) {
2851 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2852 }
2853 }
2854 return released;
2855}
2856inline ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::unsafe_arena_release_integers() {
2857 ::google::protobuf::internal::TSanWrite(&_impl_);
2858 // @@protoc_insertion_point(field_release:operations_research.math_opt.VariableUpdatesProto.integers)
2859
2860 _impl_._has_bits_[0] &= ~0x00000004u;
2862 _impl_.integers_ = nullptr;
2863 return temp;
2864}
2865inline ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::_internal_mutable_integers() {
2866 ::google::protobuf::internal::TSanWrite(&_impl_);
2867 if (_impl_.integers_ == nullptr) {
2868 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseBoolVectorProto>(GetArena());
2869 _impl_.integers_ = reinterpret_cast<::operations_research::math_opt::SparseBoolVectorProto*>(p);
2870 }
2871 return _impl_.integers_;
2872}
2873inline ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::mutable_integers()
2874 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2875 _impl_._has_bits_[0] |= 0x00000004u;
2876 ::operations_research::math_opt::SparseBoolVectorProto* _msg = _internal_mutable_integers();
2877 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.VariableUpdatesProto.integers)
2878 return _msg;
2879}
2881 ::google::protobuf::Arena* message_arena = GetArena();
2882 ::google::protobuf::internal::TSanWrite(&_impl_);
2883 if (message_arena == nullptr) {
2884 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.integers_);
2885 }
2886
2887 if (value != nullptr) {
2888 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2889 if (message_arena != submessage_arena) {
2890 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2891 }
2892 _impl_._has_bits_[0] |= 0x00000004u;
2893 } else {
2894 _impl_._has_bits_[0] &= ~0x00000004u;
2895 }
2896
2897 _impl_.integers_ = reinterpret_cast<::operations_research::math_opt::SparseBoolVectorProto*>(value);
2898 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.VariableUpdatesProto.integers)
2900
2901// -------------------------------------------------------------------
2902
2903// ObjectiveUpdatesProto
2904
2905// optional bool direction_update = 1;
2907 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2908 return value;
2909}
2911 ::google::protobuf::internal::TSanWrite(&_impl_);
2912 _impl_.direction_update_ = false;
2913 _impl_._has_bits_[0] &= ~0x00000010u;
2914}
2915inline bool ObjectiveUpdatesProto::direction_update() const {
2916 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.direction_update)
2917 return _internal_direction_update();
2918}
2919inline void ObjectiveUpdatesProto::set_direction_update(bool value) {
2920 _internal_set_direction_update(value);
2921 _impl_._has_bits_[0] |= 0x00000010u;
2922 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveUpdatesProto.direction_update)
2923}
2924inline bool ObjectiveUpdatesProto::_internal_direction_update() const {
2925 ::google::protobuf::internal::TSanRead(&_impl_);
2926 return _impl_.direction_update_;
2927}
2928inline void ObjectiveUpdatesProto::_internal_set_direction_update(bool value) {
2929 ::google::protobuf::internal::TSanWrite(&_impl_);
2930 _impl_.direction_update_ = value;
2931}
2932
2933// optional double offset_update = 2;
2934inline bool ObjectiveUpdatesProto::has_offset_update() const {
2935 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2936 return value;
2937}
2939 ::google::protobuf::internal::TSanWrite(&_impl_);
2940 _impl_.offset_update_ = 0;
2941 _impl_._has_bits_[0] &= ~0x00000004u;
2942}
2943inline double ObjectiveUpdatesProto::offset_update() const {
2944 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.offset_update)
2945 return _internal_offset_update();
2946}
2947inline void ObjectiveUpdatesProto::set_offset_update(double value) {
2948 _internal_set_offset_update(value);
2949 _impl_._has_bits_[0] |= 0x00000004u;
2950 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveUpdatesProto.offset_update)
2951}
2952inline double ObjectiveUpdatesProto::_internal_offset_update() const {
2953 ::google::protobuf::internal::TSanRead(&_impl_);
2954 return _impl_.offset_update_;
2955}
2956inline void ObjectiveUpdatesProto::_internal_set_offset_update(double value) {
2957 ::google::protobuf::internal::TSanWrite(&_impl_);
2958 _impl_.offset_update_ = value;
2959}
2960
2961// .operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
2963 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2964 PROTOBUF_ASSUME(!value || _impl_.linear_coefficients_ != nullptr);
2965 return value;
2966}
2967inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveUpdatesProto::_internal_linear_coefficients() const {
2968 ::google::protobuf::internal::TSanRead(&_impl_);
2969 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_coefficients_;
2971}
2972inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveUpdatesProto::linear_coefficients() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2973 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
2974 return _internal_linear_coefficients();
2975}
2978 ::google::protobuf::internal::TSanWrite(&_impl_);
2979 if (GetArena() == nullptr) {
2980 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_coefficients_);
2981 }
2982 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2983 if (value != nullptr) {
2984 _impl_._has_bits_[0] |= 0x00000001u;
2985 } else {
2986 _impl_._has_bits_[0] &= ~0x00000001u;
2987 }
2988 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
2989}
2990inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE ObjectiveUpdatesProto::release_linear_coefficients() {
2991 ::google::protobuf::internal::TSanWrite(&_impl_);
2993 _impl_._has_bits_[0] &= ~0x00000001u;
2995 _impl_.linear_coefficients_ = nullptr;
2996 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2997 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2998 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2999 if (GetArena() == nullptr) {
3000 delete old;
3001 }
3002 } else {
3003 if (GetArena() != nullptr) {
3004 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3005 }
3006 }
3007 return released;
3008}
3009inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE ObjectiveUpdatesProto::unsafe_arena_release_linear_coefficients() {
3010 ::google::protobuf::internal::TSanWrite(&_impl_);
3011 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
3012
3013 _impl_._has_bits_[0] &= ~0x00000001u;
3015 _impl_.linear_coefficients_ = nullptr;
3016 return temp;
3017}
3018inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveUpdatesProto::_internal_mutable_linear_coefficients() {
3019 ::google::protobuf::internal::TSanWrite(&_impl_);
3020 if (_impl_.linear_coefficients_ == nullptr) {
3021 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3022 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3023 }
3024 return _impl_.linear_coefficients_;
3025}
3026inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveUpdatesProto::mutable_linear_coefficients()
3027 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3028 _impl_._has_bits_[0] |= 0x00000001u;
3029 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_linear_coefficients();
3030 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
3031 return _msg;
3032}
3034 ::google::protobuf::Arena* message_arena = GetArena();
3035 ::google::protobuf::internal::TSanWrite(&_impl_);
3036 if (message_arena == nullptr) {
3037 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_coefficients_);
3038 }
3039
3040 if (value != nullptr) {
3041 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3042 if (message_arena != submessage_arena) {
3043 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3044 }
3045 _impl_._has_bits_[0] |= 0x00000001u;
3046 } else {
3047 _impl_._has_bits_[0] &= ~0x00000001u;
3048 }
3049
3050 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3051 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
3052}
3054// .operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
3056 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3057 PROTOBUF_ASSUME(!value || _impl_.quadratic_coefficients_ != nullptr);
3058 return value;
3059}
3060inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveUpdatesProto::_internal_quadratic_coefficients() const {
3061 ::google::protobuf::internal::TSanRead(&_impl_);
3062 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_coefficients_;
3064}
3065inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveUpdatesProto::quadratic_coefficients() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3066 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3067 return _internal_quadratic_coefficients();
3068}
3071 ::google::protobuf::internal::TSanWrite(&_impl_);
3072 if (GetArena() == nullptr) {
3073 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_coefficients_);
3074 }
3075 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3076 if (value != nullptr) {
3077 _impl_._has_bits_[0] |= 0x00000002u;
3078 } else {
3079 _impl_._has_bits_[0] &= ~0x00000002u;
3080 }
3081 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3082}
3083inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ObjectiveUpdatesProto::release_quadratic_coefficients() {
3084 ::google::protobuf::internal::TSanWrite(&_impl_);
3086 _impl_._has_bits_[0] &= ~0x00000002u;
3087 ::operations_research::math_opt::SparseDoubleMatrixProto* released = _impl_.quadratic_coefficients_;
3088 _impl_.quadratic_coefficients_ = nullptr;
3089 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3090 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3091 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3092 if (GetArena() == nullptr) {
3093 delete old;
3094 }
3095 } else {
3096 if (GetArena() != nullptr) {
3097 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3098 }
3099 }
3100 return released;
3101}
3102inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ObjectiveUpdatesProto::unsafe_arena_release_quadratic_coefficients() {
3103 ::google::protobuf::internal::TSanWrite(&_impl_);
3104 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3105
3106 _impl_._has_bits_[0] &= ~0x00000002u;
3108 _impl_.quadratic_coefficients_ = nullptr;
3109 return temp;
3110}
3111inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveUpdatesProto::_internal_mutable_quadratic_coefficients() {
3112 ::google::protobuf::internal::TSanWrite(&_impl_);
3113 if (_impl_.quadratic_coefficients_ == nullptr) {
3114 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3115 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
3116 }
3117 return _impl_.quadratic_coefficients_;
3118}
3119inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveUpdatesProto::mutable_quadratic_coefficients()
3120 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3121 _impl_._has_bits_[0] |= 0x00000002u;
3122 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_quadratic_coefficients();
3123 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3124 return _msg;
3125}
3127 ::google::protobuf::Arena* message_arena = GetArena();
3128 ::google::protobuf::internal::TSanWrite(&_impl_);
3129 if (message_arena == nullptr) {
3130 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_coefficients_);
3131 }
3132
3133 if (value != nullptr) {
3134 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3135 if (message_arena != submessage_arena) {
3136 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3137 }
3138 _impl_._has_bits_[0] |= 0x00000002u;
3139 } else {
3140 _impl_._has_bits_[0] &= ~0x00000002u;
3141 }
3142
3143 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3144 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3145}
3147// optional int64 priority_update = 5;
3149 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3150 return value;
3151}
3153 ::google::protobuf::internal::TSanWrite(&_impl_);
3154 _impl_.priority_update_ = ::int64_t{0};
3155 _impl_._has_bits_[0] &= ~0x00000008u;
3156}
3157inline ::int64_t ObjectiveUpdatesProto::priority_update() const {
3158 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.priority_update)
3159 return _internal_priority_update();
3160}
3161inline void ObjectiveUpdatesProto::set_priority_update(::int64_t value) {
3162 _internal_set_priority_update(value);
3163 _impl_._has_bits_[0] |= 0x00000008u;
3164 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveUpdatesProto.priority_update)
3165}
3166inline ::int64_t ObjectiveUpdatesProto::_internal_priority_update() const {
3167 ::google::protobuf::internal::TSanRead(&_impl_);
3168 return _impl_.priority_update_;
3169}
3170inline void ObjectiveUpdatesProto::_internal_set_priority_update(::int64_t value) {
3171 ::google::protobuf::internal::TSanWrite(&_impl_);
3172 _impl_.priority_update_ = value;
3173}
3174
3175// -------------------------------------------------------------------
3176
3177// -------------------------------------------------------------------
3178
3179// -------------------------------------------------------------------
3180
3181// AuxiliaryObjectivesUpdatesProto
3182
3183// repeated int64 deleted_objective_ids = 1;
3184inline int AuxiliaryObjectivesUpdatesProto::_internal_deleted_objective_ids_size() const {
3185 return _internal_deleted_objective_ids().size();
3186}
3188 return _internal_deleted_objective_ids_size();
3189}
3191 ::google::protobuf::internal::TSanWrite(&_impl_);
3192 _impl_.deleted_objective_ids_.Clear();
3193}
3194inline ::int64_t AuxiliaryObjectivesUpdatesProto::deleted_objective_ids(int index) const {
3195 // @@protoc_insertion_point(field_get:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3196 return _internal_deleted_objective_ids().Get(index);
3197}
3198inline void AuxiliaryObjectivesUpdatesProto::set_deleted_objective_ids(int index, ::int64_t value) {
3199 _internal_mutable_deleted_objective_ids()->Set(index, value);
3200 // @@protoc_insertion_point(field_set:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3201}
3203 ::google::protobuf::internal::TSanWrite(&_impl_);
3204 _internal_mutable_deleted_objective_ids()->Add(value);
3205 // @@protoc_insertion_point(field_add:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3206}
3207inline const ::google::protobuf::RepeatedField<::int64_t>& AuxiliaryObjectivesUpdatesProto::deleted_objective_ids() const
3208 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3209 // @@protoc_insertion_point(field_list:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3210 return _internal_deleted_objective_ids();
3211}
3212inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::mutable_deleted_objective_ids()
3213 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3214 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3215 ::google::protobuf::internal::TSanWrite(&_impl_);
3216 return _internal_mutable_deleted_objective_ids();
3218inline const ::google::protobuf::RepeatedField<::int64_t>&
3219AuxiliaryObjectivesUpdatesProto::_internal_deleted_objective_ids() const {
3220 ::google::protobuf::internal::TSanRead(&_impl_);
3221 return _impl_.deleted_objective_ids_;
3222}
3223inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3224AuxiliaryObjectivesUpdatesProto::_internal_mutable_deleted_objective_ids() {
3225 ::google::protobuf::internal::TSanRead(&_impl_);
3226 return &_impl_.deleted_objective_ids_;
3227}
3228
3229// map<int64, .operations_research.math_opt.ObjectiveProto> new_objectives = 2;
3230inline int AuxiliaryObjectivesUpdatesProto::_internal_new_objectives_size() const {
3231 return _internal_new_objectives().size();
3232}
3234 return _internal_new_objectives_size();
3236inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& AuxiliaryObjectivesUpdatesProto::_internal_new_objectives() const {
3237 ::google::protobuf::internal::TSanRead(&_impl_);
3238 return _impl_.new_objectives_.GetMap();
3239}
3240inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& AuxiliaryObjectivesUpdatesProto::new_objectives() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3241 // @@protoc_insertion_point(field_map:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.new_objectives)
3242 return _internal_new_objectives();
3243}
3244inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::_internal_mutable_new_objectives() {
3245 ::google::protobuf::internal::TSanWrite(&_impl_);
3246 return _impl_.new_objectives_.MutableMap();
3247}
3248inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::mutable_new_objectives()
3249 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3250 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.new_objectives)
3251 return _internal_mutable_new_objectives();
3252}
3253
3254// map<int64, .operations_research.math_opt.ObjectiveUpdatesProto> objective_updates = 3;
3255inline int AuxiliaryObjectivesUpdatesProto::_internal_objective_updates_size() const {
3256 return _internal_objective_updates().size();
3257}
3259 return _internal_objective_updates_size();
3260}
3262 ::google::protobuf::internal::TSanWrite(&_impl_);
3263 _impl_.objective_updates_.Clear();
3264}
3265inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>& AuxiliaryObjectivesUpdatesProto::_internal_objective_updates() const {
3266 ::google::protobuf::internal::TSanRead(&_impl_);
3267 return _impl_.objective_updates_.GetMap();
3268}
3269inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>& AuxiliaryObjectivesUpdatesProto::objective_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3270 // @@protoc_insertion_point(field_map:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.objective_updates)
3271 return _internal_objective_updates();
3272}
3273inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::_internal_mutable_objective_updates() {
3274 ::google::protobuf::internal::TSanWrite(&_impl_);
3275 return _impl_.objective_updates_.MutableMap();
3276}
3277inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::mutable_objective_updates()
3278 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3279 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.objective_updates)
3280 return _internal_mutable_objective_updates();
3282
3283// -------------------------------------------------------------------
3285// LinearConstraintUpdatesProto
3286
3287// .operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
3289 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3290 PROTOBUF_ASSUME(!value || _impl_.lower_bounds_ != nullptr);
3291 return value;
3293inline const ::operations_research::math_opt::SparseDoubleVectorProto& LinearConstraintUpdatesProto::_internal_lower_bounds() const {
3294 ::google::protobuf::internal::TSanRead(&_impl_);
3295 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.lower_bounds_;
3297}
3298inline const ::operations_research::math_opt::SparseDoubleVectorProto& LinearConstraintUpdatesProto::lower_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3299 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3300 return _internal_lower_bounds();
3301}
3304 ::google::protobuf::internal::TSanWrite(&_impl_);
3305 if (GetArena() == nullptr) {
3306 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lower_bounds_);
3307 }
3308 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3309 if (value != nullptr) {
3310 _impl_._has_bits_[0] |= 0x00000001u;
3311 } else {
3312 _impl_._has_bits_[0] &= ~0x00000001u;
3313 }
3314 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3315}
3316inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE LinearConstraintUpdatesProto::release_lower_bounds() {
3317 ::google::protobuf::internal::TSanWrite(&_impl_);
3318
3319 _impl_._has_bits_[0] &= ~0x00000001u;
3320 ::operations_research::math_opt::SparseDoubleVectorProto* released = _impl_.lower_bounds_;
3321 _impl_.lower_bounds_ = nullptr;
3322 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3323 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3324 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3325 if (GetArena() == nullptr) {
3326 delete old;
3327 }
3328 } else {
3329 if (GetArena() != nullptr) {
3330 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3331 }
3332 }
3333 return released;
3334}
3335inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE LinearConstraintUpdatesProto::unsafe_arena_release_lower_bounds() {
3336 ::google::protobuf::internal::TSanWrite(&_impl_);
3337 // @@protoc_insertion_point(field_release:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3338
3339 _impl_._has_bits_[0] &= ~0x00000001u;
3341 _impl_.lower_bounds_ = nullptr;
3342 return temp;
3343}
3344inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL LinearConstraintUpdatesProto::_internal_mutable_lower_bounds() {
3345 ::google::protobuf::internal::TSanWrite(&_impl_);
3346 if (_impl_.lower_bounds_ == nullptr) {
3347 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3348 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3349 }
3350 return _impl_.lower_bounds_;
3351}
3352inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL LinearConstraintUpdatesProto::mutable_lower_bounds()
3353 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3354 _impl_._has_bits_[0] |= 0x00000001u;
3355 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_lower_bounds();
3356 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3357 return _msg;
3358}
3360 ::google::protobuf::Arena* message_arena = GetArena();
3361 ::google::protobuf::internal::TSanWrite(&_impl_);
3362 if (message_arena == nullptr) {
3363 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lower_bounds_);
3364 }
3365
3366 if (value != nullptr) {
3367 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3368 if (message_arena != submessage_arena) {
3369 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3370 }
3371 _impl_._has_bits_[0] |= 0x00000001u;
3372 } else {
3373 _impl_._has_bits_[0] &= ~0x00000001u;
3374 }
3375
3376 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3377 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3378}
3379
3380// .operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
3382 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3383 PROTOBUF_ASSUME(!value || _impl_.upper_bounds_ != nullptr);
3384 return value;
3385}
3386inline const ::operations_research::math_opt::SparseDoubleVectorProto& LinearConstraintUpdatesProto::_internal_upper_bounds() const {
3387 ::google::protobuf::internal::TSanRead(&_impl_);
3388 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.upper_bounds_;
3390}
3391inline const ::operations_research::math_opt::SparseDoubleVectorProto& LinearConstraintUpdatesProto::upper_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3392 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3393 return _internal_upper_bounds();
3394}
3397 ::google::protobuf::internal::TSanWrite(&_impl_);
3398 if (GetArena() == nullptr) {
3399 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bounds_);
3400 }
3401 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3402 if (value != nullptr) {
3403 _impl_._has_bits_[0] |= 0x00000002u;
3404 } else {
3405 _impl_._has_bits_[0] &= ~0x00000002u;
3406 }
3407 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3408}
3409inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE LinearConstraintUpdatesProto::release_upper_bounds() {
3410 ::google::protobuf::internal::TSanWrite(&_impl_);
3411
3412 _impl_._has_bits_[0] &= ~0x00000002u;
3413 ::operations_research::math_opt::SparseDoubleVectorProto* released = _impl_.upper_bounds_;
3414 _impl_.upper_bounds_ = nullptr;
3415 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3416 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3417 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3418 if (GetArena() == nullptr) {
3419 delete old;
3420 }
3421 } else {
3422 if (GetArena() != nullptr) {
3423 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3424 }
3425 }
3426 return released;
3427}
3428inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE LinearConstraintUpdatesProto::unsafe_arena_release_upper_bounds() {
3429 ::google::protobuf::internal::TSanWrite(&_impl_);
3430 // @@protoc_insertion_point(field_release:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3431
3432 _impl_._has_bits_[0] &= ~0x00000002u;
3434 _impl_.upper_bounds_ = nullptr;
3435 return temp;
3436}
3437inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL LinearConstraintUpdatesProto::_internal_mutable_upper_bounds() {
3438 ::google::protobuf::internal::TSanWrite(&_impl_);
3439 if (_impl_.upper_bounds_ == nullptr) {
3440 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3441 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3442 }
3443 return _impl_.upper_bounds_;
3444}
3445inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL LinearConstraintUpdatesProto::mutable_upper_bounds()
3446 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3447 _impl_._has_bits_[0] |= 0x00000002u;
3448 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_upper_bounds();
3449 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3450 return _msg;
3451}
3453 ::google::protobuf::Arena* message_arena = GetArena();
3454 ::google::protobuf::internal::TSanWrite(&_impl_);
3455 if (message_arena == nullptr) {
3456 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bounds_);
3457 }
3458
3459 if (value != nullptr) {
3460 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3461 if (message_arena != submessage_arena) {
3462 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3463 }
3464 _impl_._has_bits_[0] |= 0x00000002u;
3465 } else {
3466 _impl_._has_bits_[0] &= ~0x00000002u;
3467 }
3468
3469 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3470 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3471}
3472
3473// -------------------------------------------------------------------
3474
3475// -------------------------------------------------------------------
3477// QuadraticConstraintUpdatesProto
3478
3479// repeated int64 deleted_constraint_ids = 1;
3480inline int QuadraticConstraintUpdatesProto::_internal_deleted_constraint_ids_size() const {
3481 return _internal_deleted_constraint_ids().size();
3482}
3484 return _internal_deleted_constraint_ids_size();
3485}
3487 ::google::protobuf::internal::TSanWrite(&_impl_);
3488 _impl_.deleted_constraint_ids_.Clear();
3489}
3490inline ::int64_t QuadraticConstraintUpdatesProto::deleted_constraint_ids(int index) const {
3491 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3492 return _internal_deleted_constraint_ids().Get(index);
3493}
3494inline void QuadraticConstraintUpdatesProto::set_deleted_constraint_ids(int index, ::int64_t value) {
3495 _internal_mutable_deleted_constraint_ids()->Set(index, value);
3496 // @@protoc_insertion_point(field_set:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3497}
3499 ::google::protobuf::internal::TSanWrite(&_impl_);
3500 _internal_mutable_deleted_constraint_ids()->Add(value);
3501 // @@protoc_insertion_point(field_add:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3502}
3503inline const ::google::protobuf::RepeatedField<::int64_t>& QuadraticConstraintUpdatesProto::deleted_constraint_ids() const
3504 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3505 // @@protoc_insertion_point(field_list:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3506 return _internal_deleted_constraint_ids();
3507}
3508inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL QuadraticConstraintUpdatesProto::mutable_deleted_constraint_ids()
3509 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3510 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3511 ::google::protobuf::internal::TSanWrite(&_impl_);
3512 return _internal_mutable_deleted_constraint_ids();
3513}
3514inline const ::google::protobuf::RepeatedField<::int64_t>&
3515QuadraticConstraintUpdatesProto::_internal_deleted_constraint_ids() const {
3516 ::google::protobuf::internal::TSanRead(&_impl_);
3517 return _impl_.deleted_constraint_ids_;
3518}
3519inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3520QuadraticConstraintUpdatesProto::_internal_mutable_deleted_constraint_ids() {
3521 ::google::protobuf::internal::TSanRead(&_impl_);
3522 return &_impl_.deleted_constraint_ids_;
3523}
3525// map<int64, .operations_research.math_opt.QuadraticConstraintProto> new_constraints = 2;
3526inline int QuadraticConstraintUpdatesProto::_internal_new_constraints_size() const {
3527 return _internal_new_constraints().size();
3528}
3530 return _internal_new_constraints_size();
3531}
3532inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& QuadraticConstraintUpdatesProto::_internal_new_constraints() const {
3533 ::google::protobuf::internal::TSanRead(&_impl_);
3534 return _impl_.new_constraints_.GetMap();
3535}
3536inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& QuadraticConstraintUpdatesProto::new_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3537 // @@protoc_insertion_point(field_map:operations_research.math_opt.QuadraticConstraintUpdatesProto.new_constraints)
3538 return _internal_new_constraints();
3539}
3540inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL QuadraticConstraintUpdatesProto::_internal_mutable_new_constraints() {
3541 ::google::protobuf::internal::TSanWrite(&_impl_);
3542 return _impl_.new_constraints_.MutableMap();
3543}
3544inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL QuadraticConstraintUpdatesProto::mutable_new_constraints()
3545 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3546 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.QuadraticConstraintUpdatesProto.new_constraints)
3547 return _internal_mutable_new_constraints();
3548}
3549
3550// -------------------------------------------------------------------
3551
3552// -------------------------------------------------------------------
3553
3554// SecondOrderConeConstraintUpdatesProto
3556// repeated int64 deleted_constraint_ids = 1;
3557inline int SecondOrderConeConstraintUpdatesProto::_internal_deleted_constraint_ids_size() const {
3558 return _internal_deleted_constraint_ids().size();
3559}
3561 return _internal_deleted_constraint_ids_size();
3564 ::google::protobuf::internal::TSanWrite(&_impl_);
3565 _impl_.deleted_constraint_ids_.Clear();
3566}
3567inline ::int64_t SecondOrderConeConstraintUpdatesProto::deleted_constraint_ids(int index) const {
3568 // @@protoc_insertion_point(field_get:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3569 return _internal_deleted_constraint_ids().Get(index);
3571inline void SecondOrderConeConstraintUpdatesProto::set_deleted_constraint_ids(int index, ::int64_t value) {
3572 _internal_mutable_deleted_constraint_ids()->Set(index, value);
3573 // @@protoc_insertion_point(field_set:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3574}
3576 ::google::protobuf::internal::TSanWrite(&_impl_);
3577 _internal_mutable_deleted_constraint_ids()->Add(value);
3578 // @@protoc_insertion_point(field_add:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3579}
3580inline const ::google::protobuf::RepeatedField<::int64_t>& SecondOrderConeConstraintUpdatesProto::deleted_constraint_ids() const
3581 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3582 // @@protoc_insertion_point(field_list:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3583 return _internal_deleted_constraint_ids();
3584}
3585inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL SecondOrderConeConstraintUpdatesProto::mutable_deleted_constraint_ids()
3586 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3587 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3588 ::google::protobuf::internal::TSanWrite(&_impl_);
3589 return _internal_mutable_deleted_constraint_ids();
3590}
3591inline const ::google::protobuf::RepeatedField<::int64_t>&
3592SecondOrderConeConstraintUpdatesProto::_internal_deleted_constraint_ids() const {
3593 ::google::protobuf::internal::TSanRead(&_impl_);
3594 return _impl_.deleted_constraint_ids_;
3596inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3597SecondOrderConeConstraintUpdatesProto::_internal_mutable_deleted_constraint_ids() {
3598 ::google::protobuf::internal::TSanRead(&_impl_);
3599 return &_impl_.deleted_constraint_ids_;
3600}
3601
3602// map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> new_constraints = 2;
3603inline int SecondOrderConeConstraintUpdatesProto::_internal_new_constraints_size() const {
3604 return _internal_new_constraints().size();
3605}
3607 return _internal_new_constraints_size();
3609inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& SecondOrderConeConstraintUpdatesProto::_internal_new_constraints() const {
3610 ::google::protobuf::internal::TSanRead(&_impl_);
3611 return _impl_.new_constraints_.GetMap();
3612}
3613inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& SecondOrderConeConstraintUpdatesProto::new_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3614 // @@protoc_insertion_point(field_map:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.new_constraints)
3615 return _internal_new_constraints();
3616}
3617inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL SecondOrderConeConstraintUpdatesProto::_internal_mutable_new_constraints() {
3618 ::google::protobuf::internal::TSanWrite(&_impl_);
3619 return _impl_.new_constraints_.MutableMap();
3620}
3621inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL SecondOrderConeConstraintUpdatesProto::mutable_new_constraints()
3622 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3623 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.new_constraints)
3624 return _internal_mutable_new_constraints();
3625}
3626
3627// -------------------------------------------------------------------
3628
3629// -------------------------------------------------------------------
3630
3631// SosConstraintUpdatesProto
3632
3633// repeated int64 deleted_constraint_ids = 1;
3634inline int SosConstraintUpdatesProto::_internal_deleted_constraint_ids_size() const {
3635 return _internal_deleted_constraint_ids().size();
3636}
3638 return _internal_deleted_constraint_ids_size();
3639}
3641 ::google::protobuf::internal::TSanWrite(&_impl_);
3642 _impl_.deleted_constraint_ids_.Clear();
3643}
3644inline ::int64_t SosConstraintUpdatesProto::deleted_constraint_ids(int index) const {
3645 // @@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3646 return _internal_deleted_constraint_ids().Get(index);
3647}
3648inline void SosConstraintUpdatesProto::set_deleted_constraint_ids(int index, ::int64_t value) {
3649 _internal_mutable_deleted_constraint_ids()->Set(index, value);
3650 // @@protoc_insertion_point(field_set:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3651}
3652inline void SosConstraintUpdatesProto::add_deleted_constraint_ids(::int64_t value) {
3653 ::google::protobuf::internal::TSanWrite(&_impl_);
3654 _internal_mutable_deleted_constraint_ids()->Add(value);
3655 // @@protoc_insertion_point(field_add:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3656}
3657inline const ::google::protobuf::RepeatedField<::int64_t>& SosConstraintUpdatesProto::deleted_constraint_ids() const
3658 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3659 // @@protoc_insertion_point(field_list:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3660 return _internal_deleted_constraint_ids();
3661}
3662inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL SosConstraintUpdatesProto::mutable_deleted_constraint_ids()
3663 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3664 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3665 ::google::protobuf::internal::TSanWrite(&_impl_);
3666 return _internal_mutable_deleted_constraint_ids();
3668inline const ::google::protobuf::RepeatedField<::int64_t>&
3669SosConstraintUpdatesProto::_internal_deleted_constraint_ids() const {
3670 ::google::protobuf::internal::TSanRead(&_impl_);
3671 return _impl_.deleted_constraint_ids_;
3672}
3673inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3674SosConstraintUpdatesProto::_internal_mutable_deleted_constraint_ids() {
3675 ::google::protobuf::internal::TSanRead(&_impl_);
3676 return &_impl_.deleted_constraint_ids_;
3677}
3679// map<int64, .operations_research.math_opt.SosConstraintProto> new_constraints = 2;
3680inline int SosConstraintUpdatesProto::_internal_new_constraints_size() const {
3681 return _internal_new_constraints().size();
3684 return _internal_new_constraints_size();
3685}
3686inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& SosConstraintUpdatesProto::_internal_new_constraints() const {
3687 ::google::protobuf::internal::TSanRead(&_impl_);
3688 return _impl_.new_constraints_.GetMap();
3689}
3690inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& SosConstraintUpdatesProto::new_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3691 // @@protoc_insertion_point(field_map:operations_research.math_opt.SosConstraintUpdatesProto.new_constraints)
3692 return _internal_new_constraints();
3693}
3694inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL SosConstraintUpdatesProto::_internal_mutable_new_constraints() {
3695 ::google::protobuf::internal::TSanWrite(&_impl_);
3696 return _impl_.new_constraints_.MutableMap();
3697}
3698inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL SosConstraintUpdatesProto::mutable_new_constraints()
3699 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3700 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.SosConstraintUpdatesProto.new_constraints)
3701 return _internal_mutable_new_constraints();
3702}
3703
3704// -------------------------------------------------------------------
3705
3706// -------------------------------------------------------------------
3707
3708// IndicatorConstraintUpdatesProto
3709
3710// repeated int64 deleted_constraint_ids = 1;
3711inline int IndicatorConstraintUpdatesProto::_internal_deleted_constraint_ids_size() const {
3712 return _internal_deleted_constraint_ids().size();
3715 return _internal_deleted_constraint_ids_size();
3716}
3718 ::google::protobuf::internal::TSanWrite(&_impl_);
3719 _impl_.deleted_constraint_ids_.Clear();
3721inline ::int64_t IndicatorConstraintUpdatesProto::deleted_constraint_ids(int index) const {
3722 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3723 return _internal_deleted_constraint_ids().Get(index);
3724}
3725inline void IndicatorConstraintUpdatesProto::set_deleted_constraint_ids(int index, ::int64_t value) {
3726 _internal_mutable_deleted_constraint_ids()->Set(index, value);
3727 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3730 ::google::protobuf::internal::TSanWrite(&_impl_);
3731 _internal_mutable_deleted_constraint_ids()->Add(value);
3732 // @@protoc_insertion_point(field_add:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3733}
3734inline const ::google::protobuf::RepeatedField<::int64_t>& IndicatorConstraintUpdatesProto::deleted_constraint_ids() const
3735 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3736 // @@protoc_insertion_point(field_list:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3737 return _internal_deleted_constraint_ids();
3738}
3739inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL IndicatorConstraintUpdatesProto::mutable_deleted_constraint_ids()
3740 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3741 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3742 ::google::protobuf::internal::TSanWrite(&_impl_);
3743 return _internal_mutable_deleted_constraint_ids();
3744}
3745inline const ::google::protobuf::RepeatedField<::int64_t>&
3746IndicatorConstraintUpdatesProto::_internal_deleted_constraint_ids() const {
3747 ::google::protobuf::internal::TSanRead(&_impl_);
3748 return _impl_.deleted_constraint_ids_;
3750inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3751IndicatorConstraintUpdatesProto::_internal_mutable_deleted_constraint_ids() {
3752 ::google::protobuf::internal::TSanRead(&_impl_);
3753 return &_impl_.deleted_constraint_ids_;
3754}
3755
3756// map<int64, .operations_research.math_opt.IndicatorConstraintProto> new_constraints = 2;
3757inline int IndicatorConstraintUpdatesProto::_internal_new_constraints_size() const {
3758 return _internal_new_constraints().size();
3759}
3761 return _internal_new_constraints_size();
3762}
3763inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& IndicatorConstraintUpdatesProto::_internal_new_constraints() const {
3764 ::google::protobuf::internal::TSanRead(&_impl_);
3765 return _impl_.new_constraints_.GetMap();
3767inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& IndicatorConstraintUpdatesProto::new_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3768 // @@protoc_insertion_point(field_map:operations_research.math_opt.IndicatorConstraintUpdatesProto.new_constraints)
3769 return _internal_new_constraints();
3770}
3771inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL IndicatorConstraintUpdatesProto::_internal_mutable_new_constraints() {
3772 ::google::protobuf::internal::TSanWrite(&_impl_);
3773 return _impl_.new_constraints_.MutableMap();
3774}
3775inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL IndicatorConstraintUpdatesProto::mutable_new_constraints()
3776 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3777 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.IndicatorConstraintUpdatesProto.new_constraints)
3778 return _internal_mutable_new_constraints();
3779}
3780
3781// -------------------------------------------------------------------
3782
3783// ModelUpdateProto
3784
3785// repeated int64 deleted_variable_ids = 1;
3786inline int ModelUpdateProto::_internal_deleted_variable_ids_size() const {
3787 return _internal_deleted_variable_ids().size();
3788}
3790 return _internal_deleted_variable_ids_size();
3791}
3793 ::google::protobuf::internal::TSanWrite(&_impl_);
3794 _impl_.deleted_variable_ids_.Clear();
3795}
3796inline ::int64_t ModelUpdateProto::deleted_variable_ids(int index) const {
3797 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3798 return _internal_deleted_variable_ids().Get(index);
3800inline void ModelUpdateProto::set_deleted_variable_ids(int index, ::int64_t value) {
3801 _internal_mutable_deleted_variable_ids()->Set(index, value);
3802 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3803}
3804inline void ModelUpdateProto::add_deleted_variable_ids(::int64_t value) {
3805 ::google::protobuf::internal::TSanWrite(&_impl_);
3806 _internal_mutable_deleted_variable_ids()->Add(value);
3807 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3808}
3809inline const ::google::protobuf::RepeatedField<::int64_t>& ModelUpdateProto::deleted_variable_ids() const
3810 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3811 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3812 return _internal_deleted_variable_ids();
3813}
3814inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelUpdateProto::mutable_deleted_variable_ids()
3815 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3816 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3817 ::google::protobuf::internal::TSanWrite(&_impl_);
3818 return _internal_mutable_deleted_variable_ids();
3819}
3820inline const ::google::protobuf::RepeatedField<::int64_t>&
3821ModelUpdateProto::_internal_deleted_variable_ids() const {
3822 ::google::protobuf::internal::TSanRead(&_impl_);
3823 return _impl_.deleted_variable_ids_;
3824}
3825inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3826ModelUpdateProto::_internal_mutable_deleted_variable_ids() {
3827 ::google::protobuf::internal::TSanRead(&_impl_);
3828 return &_impl_.deleted_variable_ids_;
3830
3831// repeated int64 deleted_linear_constraint_ids = 2;
3832inline int ModelUpdateProto::_internal_deleted_linear_constraint_ids_size() const {
3833 return _internal_deleted_linear_constraint_ids().size();
3834}
3836 return _internal_deleted_linear_constraint_ids_size();
3839 ::google::protobuf::internal::TSanWrite(&_impl_);
3840 _impl_.deleted_linear_constraint_ids_.Clear();
3841}
3842inline ::int64_t ModelUpdateProto::deleted_linear_constraint_ids(int index) const {
3843 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3844 return _internal_deleted_linear_constraint_ids().Get(index);
3845}
3846inline void ModelUpdateProto::set_deleted_linear_constraint_ids(int index, ::int64_t value) {
3847 _internal_mutable_deleted_linear_constraint_ids()->Set(index, value);
3848 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3849}
3850inline void ModelUpdateProto::add_deleted_linear_constraint_ids(::int64_t value) {
3851 ::google::protobuf::internal::TSanWrite(&_impl_);
3852 _internal_mutable_deleted_linear_constraint_ids()->Add(value);
3853 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3854}
3855inline const ::google::protobuf::RepeatedField<::int64_t>& ModelUpdateProto::deleted_linear_constraint_ids() const
3856 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3857 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3858 return _internal_deleted_linear_constraint_ids();
3859}
3860inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelUpdateProto::mutable_deleted_linear_constraint_ids()
3861 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3862 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3863 ::google::protobuf::internal::TSanWrite(&_impl_);
3864 return _internal_mutable_deleted_linear_constraint_ids();
3865}
3866inline const ::google::protobuf::RepeatedField<::int64_t>&
3867ModelUpdateProto::_internal_deleted_linear_constraint_ids() const {
3868 ::google::protobuf::internal::TSanRead(&_impl_);
3869 return _impl_.deleted_linear_constraint_ids_;
3870}
3871inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3872ModelUpdateProto::_internal_mutable_deleted_linear_constraint_ids() {
3873 ::google::protobuf::internal::TSanRead(&_impl_);
3874 return &_impl_.deleted_linear_constraint_ids_;
3876
3877// .operations_research.math_opt.VariableUpdatesProto variable_updates = 3;
3878inline bool ModelUpdateProto::has_variable_updates() const {
3879 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3880 PROTOBUF_ASSUME(!value || _impl_.variable_updates_ != nullptr);
3881 return value;
3882}
3884 ::google::protobuf::internal::TSanWrite(&_impl_);
3885 if (_impl_.variable_updates_ != nullptr) _impl_.variable_updates_->Clear();
3886 _impl_._has_bits_[0] &= ~0x00000001u;
3887}
3888inline const ::operations_research::math_opt::VariableUpdatesProto& ModelUpdateProto::_internal_variable_updates() const {
3889 ::google::protobuf::internal::TSanRead(&_impl_);
3890 const ::operations_research::math_opt::VariableUpdatesProto* p = _impl_.variable_updates_;
3892}
3893inline const ::operations_research::math_opt::VariableUpdatesProto& ModelUpdateProto::variable_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3894 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.variable_updates)
3895 return _internal_variable_updates();
3896}
3899 ::google::protobuf::internal::TSanWrite(&_impl_);
3900 if (GetArena() == nullptr) {
3901 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.variable_updates_);
3902 }
3903 _impl_.variable_updates_ = reinterpret_cast<::operations_research::math_opt::VariableUpdatesProto*>(value);
3904 if (value != nullptr) {
3905 _impl_._has_bits_[0] |= 0x00000001u;
3906 } else {
3907 _impl_._has_bits_[0] &= ~0x00000001u;
3908 }
3909 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.variable_updates)
3910}
3911inline ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_variable_updates() {
3912 ::google::protobuf::internal::TSanWrite(&_impl_);
3913
3914 _impl_._has_bits_[0] &= ~0x00000001u;
3916 _impl_.variable_updates_ = nullptr;
3917 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3918 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3919 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3920 if (GetArena() == nullptr) {
3921 delete old;
3922 }
3923 } else {
3924 if (GetArena() != nullptr) {
3925 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3927 }
3928 return released;
3929}
3930inline ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_variable_updates() {
3931 ::google::protobuf::internal::TSanWrite(&_impl_);
3932 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.variable_updates)
3933
3934 _impl_._has_bits_[0] &= ~0x00000001u;
3936 _impl_.variable_updates_ = nullptr;
3937 return temp;
3938}
3939inline ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_variable_updates() {
3940 ::google::protobuf::internal::TSanWrite(&_impl_);
3941 if (_impl_.variable_updates_ == nullptr) {
3942 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::VariableUpdatesProto>(GetArena());
3943 _impl_.variable_updates_ = reinterpret_cast<::operations_research::math_opt::VariableUpdatesProto*>(p);
3945 return _impl_.variable_updates_;
3946}
3947inline ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_variable_updates()
3948 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3949 _impl_._has_bits_[0] |= 0x00000001u;
3950 ::operations_research::math_opt::VariableUpdatesProto* _msg = _internal_mutable_variable_updates();
3951 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.variable_updates)
3952 return _msg;
3953}
3955 ::google::protobuf::Arena* message_arena = GetArena();
3956 ::google::protobuf::internal::TSanWrite(&_impl_);
3957 if (message_arena == nullptr) {
3958 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.variable_updates_);
3959 }
3960
3961 if (value != nullptr) {
3962 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3963 if (message_arena != submessage_arena) {
3964 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3965 }
3966 _impl_._has_bits_[0] |= 0x00000001u;
3967 } else {
3968 _impl_._has_bits_[0] &= ~0x00000001u;
3969 }
3970
3971 _impl_.variable_updates_ = reinterpret_cast<::operations_research::math_opt::VariableUpdatesProto*>(value);
3972 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.variable_updates)
3973}
3974
3975// .operations_research.math_opt.LinearConstraintUpdatesProto linear_constraint_updates = 4;
3977 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3978 PROTOBUF_ASSUME(!value || _impl_.linear_constraint_updates_ != nullptr);
3979 return value;
3982 ::google::protobuf::internal::TSanWrite(&_impl_);
3983 if (_impl_.linear_constraint_updates_ != nullptr) _impl_.linear_constraint_updates_->Clear();
3984 _impl_._has_bits_[0] &= ~0x00000002u;
3985}
3986inline const ::operations_research::math_opt::LinearConstraintUpdatesProto& ModelUpdateProto::_internal_linear_constraint_updates() const {
3987 ::google::protobuf::internal::TSanRead(&_impl_);
3988 const ::operations_research::math_opt::LinearConstraintUpdatesProto* p = _impl_.linear_constraint_updates_;
3990}
3991inline const ::operations_research::math_opt::LinearConstraintUpdatesProto& ModelUpdateProto::linear_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3992 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
3993 return _internal_linear_constraint_updates();
3994}
3997 ::google::protobuf::internal::TSanWrite(&_impl_);
3998 if (GetArena() == nullptr) {
3999 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_updates_);
4000 }
4001 _impl_.linear_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintUpdatesProto*>(value);
4002 if (value != nullptr) {
4003 _impl_._has_bits_[0] |= 0x00000002u;
4004 } else {
4005 _impl_._has_bits_[0] &= ~0x00000002u;
4006 }
4007 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
4008}
4009inline ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_linear_constraint_updates() {
4010 ::google::protobuf::internal::TSanWrite(&_impl_);
4011
4012 _impl_._has_bits_[0] &= ~0x00000002u;
4013 ::operations_research::math_opt::LinearConstraintUpdatesProto* released = _impl_.linear_constraint_updates_;
4014 _impl_.linear_constraint_updates_ = nullptr;
4015 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4016 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4017 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4018 if (GetArena() == nullptr) {
4019 delete old;
4020 }
4021 } else {
4022 if (GetArena() != nullptr) {
4023 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4025 }
4026 return released;
4027}
4028inline ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_linear_constraint_updates() {
4029 ::google::protobuf::internal::TSanWrite(&_impl_);
4030 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
4031
4032 _impl_._has_bits_[0] &= ~0x00000002u;
4034 _impl_.linear_constraint_updates_ = nullptr;
4035 return temp;
4036}
4037inline ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_linear_constraint_updates() {
4038 ::google::protobuf::internal::TSanWrite(&_impl_);
4039 if (_impl_.linear_constraint_updates_ == nullptr) {
4040 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearConstraintUpdatesProto>(GetArena());
4041 _impl_.linear_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintUpdatesProto*>(p);
4043 return _impl_.linear_constraint_updates_;
4044}
4045inline ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_linear_constraint_updates()
4046 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4047 _impl_._has_bits_[0] |= 0x00000002u;
4048 ::operations_research::math_opt::LinearConstraintUpdatesProto* _msg = _internal_mutable_linear_constraint_updates();
4049 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
4050 return _msg;
4051}
4053 ::google::protobuf::Arena* message_arena = GetArena();
4054 ::google::protobuf::internal::TSanWrite(&_impl_);
4055 if (message_arena == nullptr) {
4056 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_updates_);
4057 }
4058
4059 if (value != nullptr) {
4060 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4061 if (message_arena != submessage_arena) {
4062 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4063 }
4064 _impl_._has_bits_[0] |= 0x00000002u;
4065 } else {
4066 _impl_._has_bits_[0] &= ~0x00000002u;
4067 }
4068
4069 _impl_.linear_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintUpdatesProto*>(value);
4070 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
4071}
4072
4073// .operations_research.math_opt.VariablesProto new_variables = 5;
4074inline bool ModelUpdateProto::has_new_variables() const {
4075 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4076 PROTOBUF_ASSUME(!value || _impl_.new_variables_ != nullptr);
4077 return value;
4079inline const ::operations_research::math_opt::VariablesProto& ModelUpdateProto::_internal_new_variables() const {
4080 ::google::protobuf::internal::TSanRead(&_impl_);
4081 const ::operations_research::math_opt::VariablesProto* p = _impl_.new_variables_;
4083}
4084inline const ::operations_research::math_opt::VariablesProto& ModelUpdateProto::new_variables() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4085 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.new_variables)
4086 return _internal_new_variables();
4087}
4089 ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE value) {
4090 ::google::protobuf::internal::TSanWrite(&_impl_);
4091 if (GetArena() == nullptr) {
4092 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_variables_);
4093 }
4094 _impl_.new_variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(value);
4095 if (value != nullptr) {
4096 _impl_._has_bits_[0] |= 0x00000004u;
4097 } else {
4098 _impl_._has_bits_[0] &= ~0x00000004u;
4099 }
4100 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.new_variables)
4101}
4102inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_new_variables() {
4103 ::google::protobuf::internal::TSanWrite(&_impl_);
4104
4105 _impl_._has_bits_[0] &= ~0x00000004u;
4106 ::operations_research::math_opt::VariablesProto* released = _impl_.new_variables_;
4107 _impl_.new_variables_ = nullptr;
4108 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4109 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4110 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4111 if (GetArena() == nullptr) {
4112 delete old;
4113 }
4114 } else {
4115 if (GetArena() != nullptr) {
4116 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4118 }
4119 return released;
4120}
4121inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_new_variables() {
4122 ::google::protobuf::internal::TSanWrite(&_impl_);
4123 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.new_variables)
4124
4125 _impl_._has_bits_[0] &= ~0x00000004u;
4127 _impl_.new_variables_ = nullptr;
4128 return temp;
4129}
4130inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_new_variables() {
4131 ::google::protobuf::internal::TSanWrite(&_impl_);
4132 if (_impl_.new_variables_ == nullptr) {
4133 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::VariablesProto>(GetArena());
4134 _impl_.new_variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(p);
4136 return _impl_.new_variables_;
4137}
4138inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_new_variables()
4139 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4140 _impl_._has_bits_[0] |= 0x00000004u;
4141 ::operations_research::math_opt::VariablesProto* _msg = _internal_mutable_new_variables();
4142 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.new_variables)
4143 return _msg;
4144}
4146 ::google::protobuf::Arena* message_arena = GetArena();
4147 ::google::protobuf::internal::TSanWrite(&_impl_);
4148 if (message_arena == nullptr) {
4149 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_variables_);
4150 }
4151
4152 if (value != nullptr) {
4153 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4154 if (message_arena != submessage_arena) {
4155 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4156 }
4157 _impl_._has_bits_[0] |= 0x00000004u;
4158 } else {
4159 _impl_._has_bits_[0] &= ~0x00000004u;
4160 }
4161
4162 _impl_.new_variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(value);
4163 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.new_variables)
4164}
4165
4166// .operations_research.math_opt.LinearConstraintsProto new_linear_constraints = 6;
4168 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4169 PROTOBUF_ASSUME(!value || _impl_.new_linear_constraints_ != nullptr);
4170 return value;
4172inline const ::operations_research::math_opt::LinearConstraintsProto& ModelUpdateProto::_internal_new_linear_constraints() const {
4173 ::google::protobuf::internal::TSanRead(&_impl_);
4174 const ::operations_research::math_opt::LinearConstraintsProto* p = _impl_.new_linear_constraints_;
4176}
4177inline const ::operations_research::math_opt::LinearConstraintsProto& ModelUpdateProto::new_linear_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4178 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4179 return _internal_new_linear_constraints();
4180}
4183 ::google::protobuf::internal::TSanWrite(&_impl_);
4184 if (GetArena() == nullptr) {
4185 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_linear_constraints_);
4186 }
4187 _impl_.new_linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(value);
4188 if (value != nullptr) {
4189 _impl_._has_bits_[0] |= 0x00000008u;
4190 } else {
4191 _impl_._has_bits_[0] &= ~0x00000008u;
4192 }
4193 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4194}
4195inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE ModelUpdateProto::release_new_linear_constraints() {
4196 ::google::protobuf::internal::TSanWrite(&_impl_);
4197
4198 _impl_._has_bits_[0] &= ~0x00000008u;
4199 ::operations_research::math_opt::LinearConstraintsProto* released = _impl_.new_linear_constraints_;
4200 _impl_.new_linear_constraints_ = nullptr;
4201 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4202 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4203 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4204 if (GetArena() == nullptr) {
4205 delete old;
4206 }
4207 } else {
4208 if (GetArena() != nullptr) {
4209 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4211 }
4212 return released;
4213}
4214inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_new_linear_constraints() {
4215 ::google::protobuf::internal::TSanWrite(&_impl_);
4216 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4217
4218 _impl_._has_bits_[0] &= ~0x00000008u;
4220 _impl_.new_linear_constraints_ = nullptr;
4221 return temp;
4222}
4223inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_new_linear_constraints() {
4224 ::google::protobuf::internal::TSanWrite(&_impl_);
4225 if (_impl_.new_linear_constraints_ == nullptr) {
4226 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearConstraintsProto>(GetArena());
4227 _impl_.new_linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(p);
4229 return _impl_.new_linear_constraints_;
4230}
4231inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_new_linear_constraints()
4232 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4233 _impl_._has_bits_[0] |= 0x00000008u;
4234 ::operations_research::math_opt::LinearConstraintsProto* _msg = _internal_mutable_new_linear_constraints();
4235 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4236 return _msg;
4237}
4239 ::google::protobuf::Arena* message_arena = GetArena();
4240 ::google::protobuf::internal::TSanWrite(&_impl_);
4241 if (message_arena == nullptr) {
4242 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_linear_constraints_);
4243 }
4244
4245 if (value != nullptr) {
4246 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4247 if (message_arena != submessage_arena) {
4248 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4249 }
4250 _impl_._has_bits_[0] |= 0x00000008u;
4251 } else {
4252 _impl_._has_bits_[0] &= ~0x00000008u;
4253 }
4254
4255 _impl_.new_linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(value);
4256 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4257}
4258
4259// .operations_research.math_opt.ObjectiveUpdatesProto objective_updates = 7;
4260inline bool ModelUpdateProto::has_objective_updates() const {
4261 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4262 PROTOBUF_ASSUME(!value || _impl_.objective_updates_ != nullptr);
4263 return value;
4266 ::google::protobuf::internal::TSanWrite(&_impl_);
4267 if (_impl_.objective_updates_ != nullptr) _impl_.objective_updates_->Clear();
4268 _impl_._has_bits_[0] &= ~0x00000010u;
4269}
4270inline const ::operations_research::math_opt::ObjectiveUpdatesProto& ModelUpdateProto::_internal_objective_updates() const {
4271 ::google::protobuf::internal::TSanRead(&_impl_);
4272 const ::operations_research::math_opt::ObjectiveUpdatesProto* p = _impl_.objective_updates_;
4274}
4275inline const ::operations_research::math_opt::ObjectiveUpdatesProto& ModelUpdateProto::objective_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4276 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.objective_updates)
4277 return _internal_objective_updates();
4278}
4281 ::google::protobuf::internal::TSanWrite(&_impl_);
4282 if (GetArena() == nullptr) {
4283 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_updates_);
4284 }
4285 _impl_.objective_updates_ = reinterpret_cast<::operations_research::math_opt::ObjectiveUpdatesProto*>(value);
4286 if (value != nullptr) {
4287 _impl_._has_bits_[0] |= 0x00000010u;
4288 } else {
4289 _impl_._has_bits_[0] &= ~0x00000010u;
4290 }
4291 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.objective_updates)
4292}
4293inline ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_objective_updates() {
4294 ::google::protobuf::internal::TSanWrite(&_impl_);
4295
4296 _impl_._has_bits_[0] &= ~0x00000010u;
4298 _impl_.objective_updates_ = nullptr;
4299 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4300 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4301 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4302 if (GetArena() == nullptr) {
4303 delete old;
4304 }
4305 } else {
4306 if (GetArena() != nullptr) {
4307 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4309 }
4310 return released;
4311}
4312inline ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_objective_updates() {
4313 ::google::protobuf::internal::TSanWrite(&_impl_);
4314 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.objective_updates)
4315
4316 _impl_._has_bits_[0] &= ~0x00000010u;
4318 _impl_.objective_updates_ = nullptr;
4319 return temp;
4320}
4321inline ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_objective_updates() {
4322 ::google::protobuf::internal::TSanWrite(&_impl_);
4323 if (_impl_.objective_updates_ == nullptr) {
4324 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveUpdatesProto>(GetArena());
4325 _impl_.objective_updates_ = reinterpret_cast<::operations_research::math_opt::ObjectiveUpdatesProto*>(p);
4327 return _impl_.objective_updates_;
4328}
4329inline ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_objective_updates()
4330 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4331 _impl_._has_bits_[0] |= 0x00000010u;
4332 ::operations_research::math_opt::ObjectiveUpdatesProto* _msg = _internal_mutable_objective_updates();
4333 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.objective_updates)
4334 return _msg;
4335}
4337 ::google::protobuf::Arena* message_arena = GetArena();
4338 ::google::protobuf::internal::TSanWrite(&_impl_);
4339 if (message_arena == nullptr) {
4340 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_updates_);
4341 }
4342
4343 if (value != nullptr) {
4344 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4345 if (message_arena != submessage_arena) {
4346 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4347 }
4348 _impl_._has_bits_[0] |= 0x00000010u;
4349 } else {
4350 _impl_._has_bits_[0] &= ~0x00000010u;
4351 }
4352
4353 _impl_.objective_updates_ = reinterpret_cast<::operations_research::math_opt::ObjectiveUpdatesProto*>(value);
4354 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.objective_updates)
4355}
4356
4357// .operations_research.math_opt.AuxiliaryObjectivesUpdatesProto auxiliary_objectives_updates = 13;
4359 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
4360 PROTOBUF_ASSUME(!value || _impl_.auxiliary_objectives_updates_ != nullptr);
4361 return value;
4364 ::google::protobuf::internal::TSanWrite(&_impl_);
4365 if (_impl_.auxiliary_objectives_updates_ != nullptr) _impl_.auxiliary_objectives_updates_->Clear();
4366 _impl_._has_bits_[0] &= ~0x00000400u;
4367}
4368inline const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto& ModelUpdateProto::_internal_auxiliary_objectives_updates() const {
4369 ::google::protobuf::internal::TSanRead(&_impl_);
4370 const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* p = _impl_.auxiliary_objectives_updates_;
4372}
4373inline const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto& ModelUpdateProto::auxiliary_objectives_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4374 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4375 return _internal_auxiliary_objectives_updates();
4376}
4379 ::google::protobuf::internal::TSanWrite(&_impl_);
4380 if (GetArena() == nullptr) {
4381 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auxiliary_objectives_updates_);
4382 }
4383 _impl_.auxiliary_objectives_updates_ = reinterpret_cast<::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto*>(value);
4384 if (value != nullptr) {
4385 _impl_._has_bits_[0] |= 0x00000400u;
4386 } else {
4387 _impl_._has_bits_[0] &= ~0x00000400u;
4388 }
4389 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4390}
4391inline ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_auxiliary_objectives_updates() {
4392 ::google::protobuf::internal::TSanWrite(&_impl_);
4393
4394 _impl_._has_bits_[0] &= ~0x00000400u;
4395 ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* released = _impl_.auxiliary_objectives_updates_;
4396 _impl_.auxiliary_objectives_updates_ = nullptr;
4397 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4398 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4399 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4400 if (GetArena() == nullptr) {
4401 delete old;
4402 }
4403 } else {
4404 if (GetArena() != nullptr) {
4405 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4407 }
4408 return released;
4409}
4410inline ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_auxiliary_objectives_updates() {
4411 ::google::protobuf::internal::TSanWrite(&_impl_);
4412 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4413
4414 _impl_._has_bits_[0] &= ~0x00000400u;
4416 _impl_.auxiliary_objectives_updates_ = nullptr;
4417 return temp;
4418}
4419inline ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_auxiliary_objectives_updates() {
4420 ::google::protobuf::internal::TSanWrite(&_impl_);
4421 if (_impl_.auxiliary_objectives_updates_ == nullptr) {
4422 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto>(GetArena());
4423 _impl_.auxiliary_objectives_updates_ = reinterpret_cast<::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto*>(p);
4425 return _impl_.auxiliary_objectives_updates_;
4426}
4427inline ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_auxiliary_objectives_updates()
4428 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4429 _impl_._has_bits_[0] |= 0x00000400u;
4430 ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* _msg = _internal_mutable_auxiliary_objectives_updates();
4431 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4432 return _msg;
4433}
4435 ::google::protobuf::Arena* message_arena = GetArena();
4436 ::google::protobuf::internal::TSanWrite(&_impl_);
4437 if (message_arena == nullptr) {
4438 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auxiliary_objectives_updates_);
4439 }
4440
4441 if (value != nullptr) {
4442 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4443 if (message_arena != submessage_arena) {
4444 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4445 }
4446 _impl_._has_bits_[0] |= 0x00000400u;
4447 } else {
4448 _impl_._has_bits_[0] &= ~0x00000400u;
4449 }
4450
4451 _impl_.auxiliary_objectives_updates_ = reinterpret_cast<::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto*>(value);
4452 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4453}
4454
4455// .operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix_updates = 8;
4457 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
4458 PROTOBUF_ASSUME(!value || _impl_.linear_constraint_matrix_updates_ != nullptr);
4459 return value;
4461inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelUpdateProto::_internal_linear_constraint_matrix_updates() const {
4462 ::google::protobuf::internal::TSanRead(&_impl_);
4463 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.linear_constraint_matrix_updates_;
4465}
4466inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelUpdateProto::linear_constraint_matrix_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4467 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4468 return _internal_linear_constraint_matrix_updates();
4469}
4472 ::google::protobuf::internal::TSanWrite(&_impl_);
4473 if (GetArena() == nullptr) {
4474 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_matrix_updates_);
4475 }
4476 _impl_.linear_constraint_matrix_updates_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
4477 if (value != nullptr) {
4478 _impl_._has_bits_[0] |= 0x00000020u;
4479 } else {
4480 _impl_._has_bits_[0] &= ~0x00000020u;
4481 }
4482 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4483}
4484inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ModelUpdateProto::release_linear_constraint_matrix_updates() {
4485 ::google::protobuf::internal::TSanWrite(&_impl_);
4486
4487 _impl_._has_bits_[0] &= ~0x00000020u;
4488 ::operations_research::math_opt::SparseDoubleMatrixProto* released = _impl_.linear_constraint_matrix_updates_;
4489 _impl_.linear_constraint_matrix_updates_ = nullptr;
4490 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4491 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4492 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4493 if (GetArena() == nullptr) {
4494 delete old;
4495 }
4496 } else {
4497 if (GetArena() != nullptr) {
4498 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4500 }
4501 return released;
4502}
4503inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_linear_constraint_matrix_updates() {
4504 ::google::protobuf::internal::TSanWrite(&_impl_);
4505 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4506
4507 _impl_._has_bits_[0] &= ~0x00000020u;
4508 ::operations_research::math_opt::SparseDoubleMatrixProto* temp = _impl_.linear_constraint_matrix_updates_;
4509 _impl_.linear_constraint_matrix_updates_ = nullptr;
4510 return temp;
4511}
4512inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_linear_constraint_matrix_updates() {
4513 ::google::protobuf::internal::TSanWrite(&_impl_);
4514 if (_impl_.linear_constraint_matrix_updates_ == nullptr) {
4515 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
4516 _impl_.linear_constraint_matrix_updates_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
4518 return _impl_.linear_constraint_matrix_updates_;
4519}
4520inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_linear_constraint_matrix_updates()
4521 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4522 _impl_._has_bits_[0] |= 0x00000020u;
4523 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_linear_constraint_matrix_updates();
4524 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4525 return _msg;
4526}
4528 ::google::protobuf::Arena* message_arena = GetArena();
4529 ::google::protobuf::internal::TSanWrite(&_impl_);
4530 if (message_arena == nullptr) {
4531 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_matrix_updates_);
4532 }
4533
4534 if (value != nullptr) {
4535 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4536 if (message_arena != submessage_arena) {
4537 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4538 }
4539 _impl_._has_bits_[0] |= 0x00000020u;
4540 } else {
4541 _impl_._has_bits_[0] &= ~0x00000020u;
4542 }
4543
4544 _impl_.linear_constraint_matrix_updates_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
4545 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4546}
4547
4548// .operations_research.math_opt.QuadraticConstraintUpdatesProto quadratic_constraint_updates = 9;
4550 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
4551 PROTOBUF_ASSUME(!value || _impl_.quadratic_constraint_updates_ != nullptr);
4552 return value;
4555 ::google::protobuf::internal::TSanWrite(&_impl_);
4556 if (_impl_.quadratic_constraint_updates_ != nullptr) _impl_.quadratic_constraint_updates_->Clear();
4557 _impl_._has_bits_[0] &= ~0x00000040u;
4558}
4559inline const ::operations_research::math_opt::QuadraticConstraintUpdatesProto& ModelUpdateProto::_internal_quadratic_constraint_updates() const {
4560 ::google::protobuf::internal::TSanRead(&_impl_);
4561 const ::operations_research::math_opt::QuadraticConstraintUpdatesProto* p = _impl_.quadratic_constraint_updates_;
4563}
4564inline const ::operations_research::math_opt::QuadraticConstraintUpdatesProto& ModelUpdateProto::quadratic_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4565 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4566 return _internal_quadratic_constraint_updates();
4567}
4570 ::google::protobuf::internal::TSanWrite(&_impl_);
4571 if (GetArena() == nullptr) {
4572 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_constraint_updates_);
4573 }
4574 _impl_.quadratic_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::QuadraticConstraintUpdatesProto*>(value);
4575 if (value != nullptr) {
4576 _impl_._has_bits_[0] |= 0x00000040u;
4577 } else {
4578 _impl_._has_bits_[0] &= ~0x00000040u;
4579 }
4580 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4581}
4582inline ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_quadratic_constraint_updates() {
4583 ::google::protobuf::internal::TSanWrite(&_impl_);
4584
4585 _impl_._has_bits_[0] &= ~0x00000040u;
4586 ::operations_research::math_opt::QuadraticConstraintUpdatesProto* released = _impl_.quadratic_constraint_updates_;
4587 _impl_.quadratic_constraint_updates_ = nullptr;
4588 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4589 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4590 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4591 if (GetArena() == nullptr) {
4592 delete old;
4593 }
4594 } else {
4595 if (GetArena() != nullptr) {
4596 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4598 }
4599 return released;
4600}
4601inline ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_quadratic_constraint_updates() {
4602 ::google::protobuf::internal::TSanWrite(&_impl_);
4603 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4604
4605 _impl_._has_bits_[0] &= ~0x00000040u;
4607 _impl_.quadratic_constraint_updates_ = nullptr;
4608 return temp;
4609}
4610inline ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_quadratic_constraint_updates() {
4611 ::google::protobuf::internal::TSanWrite(&_impl_);
4612 if (_impl_.quadratic_constraint_updates_ == nullptr) {
4613 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::QuadraticConstraintUpdatesProto>(GetArena());
4614 _impl_.quadratic_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::QuadraticConstraintUpdatesProto*>(p);
4616 return _impl_.quadratic_constraint_updates_;
4617}
4618inline ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_quadratic_constraint_updates()
4619 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4620 _impl_._has_bits_[0] |= 0x00000040u;
4621 ::operations_research::math_opt::QuadraticConstraintUpdatesProto* _msg = _internal_mutable_quadratic_constraint_updates();
4622 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4623 return _msg;
4624}
4626 ::google::protobuf::Arena* message_arena = GetArena();
4627 ::google::protobuf::internal::TSanWrite(&_impl_);
4628 if (message_arena == nullptr) {
4629 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_constraint_updates_);
4630 }
4631
4632 if (value != nullptr) {
4633 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4634 if (message_arena != submessage_arena) {
4635 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4636 }
4637 _impl_._has_bits_[0] |= 0x00000040u;
4638 } else {
4639 _impl_._has_bits_[0] &= ~0x00000040u;
4640 }
4641
4642 _impl_.quadratic_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::QuadraticConstraintUpdatesProto*>(value);
4643 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4644}
4645
4646// .operations_research.math_opt.SecondOrderConeConstraintUpdatesProto second_order_cone_constraint_updates = 14;
4648 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
4649 PROTOBUF_ASSUME(!value || _impl_.second_order_cone_constraint_updates_ != nullptr);
4650 return value;
4653 ::google::protobuf::internal::TSanWrite(&_impl_);
4654 if (_impl_.second_order_cone_constraint_updates_ != nullptr) _impl_.second_order_cone_constraint_updates_->Clear();
4655 _impl_._has_bits_[0] &= ~0x00000800u;
4656}
4657inline const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto& ModelUpdateProto::_internal_second_order_cone_constraint_updates() const {
4658 ::google::protobuf::internal::TSanRead(&_impl_);
4659 const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* p = _impl_.second_order_cone_constraint_updates_;
4661}
4662inline const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto& ModelUpdateProto::second_order_cone_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4663 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4664 return _internal_second_order_cone_constraint_updates();
4665}
4668 ::google::protobuf::internal::TSanWrite(&_impl_);
4669 if (GetArena() == nullptr) {
4670 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.second_order_cone_constraint_updates_);
4671 }
4672 _impl_.second_order_cone_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto*>(value);
4673 if (value != nullptr) {
4674 _impl_._has_bits_[0] |= 0x00000800u;
4675 } else {
4676 _impl_._has_bits_[0] &= ~0x00000800u;
4677 }
4678 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4679}
4680inline ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_second_order_cone_constraint_updates() {
4681 ::google::protobuf::internal::TSanWrite(&_impl_);
4682
4683 _impl_._has_bits_[0] &= ~0x00000800u;
4684 ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* released = _impl_.second_order_cone_constraint_updates_;
4685 _impl_.second_order_cone_constraint_updates_ = nullptr;
4686 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4687 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4688 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4689 if (GetArena() == nullptr) {
4690 delete old;
4691 }
4692 } else {
4693 if (GetArena() != nullptr) {
4694 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4696 }
4697 return released;
4698}
4699inline ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_second_order_cone_constraint_updates() {
4700 ::google::protobuf::internal::TSanWrite(&_impl_);
4701 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4702
4703 _impl_._has_bits_[0] &= ~0x00000800u;
4704 ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* temp = _impl_.second_order_cone_constraint_updates_;
4705 _impl_.second_order_cone_constraint_updates_ = nullptr;
4706 return temp;
4707}
4708inline ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_second_order_cone_constraint_updates() {
4709 ::google::protobuf::internal::TSanWrite(&_impl_);
4710 if (_impl_.second_order_cone_constraint_updates_ == nullptr) {
4711 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto>(GetArena());
4712 _impl_.second_order_cone_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto*>(p);
4714 return _impl_.second_order_cone_constraint_updates_;
4715}
4716inline ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_second_order_cone_constraint_updates()
4717 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4718 _impl_._has_bits_[0] |= 0x00000800u;
4719 ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* _msg = _internal_mutable_second_order_cone_constraint_updates();
4720 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4721 return _msg;
4722}
4724 ::google::protobuf::Arena* message_arena = GetArena();
4725 ::google::protobuf::internal::TSanWrite(&_impl_);
4726 if (message_arena == nullptr) {
4727 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.second_order_cone_constraint_updates_);
4728 }
4729
4730 if (value != nullptr) {
4731 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4732 if (message_arena != submessage_arena) {
4733 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4734 }
4735 _impl_._has_bits_[0] |= 0x00000800u;
4736 } else {
4737 _impl_._has_bits_[0] &= ~0x00000800u;
4738 }
4739
4740 _impl_.second_order_cone_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto*>(value);
4741 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4742}
4743
4744// .operations_research.math_opt.SosConstraintUpdatesProto sos1_constraint_updates = 10;
4746 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
4747 PROTOBUF_ASSUME(!value || _impl_.sos1_constraint_updates_ != nullptr);
4748 return value;
4751 ::google::protobuf::internal::TSanWrite(&_impl_);
4752 if (_impl_.sos1_constraint_updates_ != nullptr) _impl_.sos1_constraint_updates_->Clear();
4753 _impl_._has_bits_[0] &= ~0x00000080u;
4754}
4755inline const ::operations_research::math_opt::SosConstraintUpdatesProto& ModelUpdateProto::_internal_sos1_constraint_updates() const {
4756 ::google::protobuf::internal::TSanRead(&_impl_);
4757 const ::operations_research::math_opt::SosConstraintUpdatesProto* p = _impl_.sos1_constraint_updates_;
4759}
4760inline const ::operations_research::math_opt::SosConstraintUpdatesProto& ModelUpdateProto::sos1_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4761 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4762 return _internal_sos1_constraint_updates();
4763}
4766 ::google::protobuf::internal::TSanWrite(&_impl_);
4767 if (GetArena() == nullptr) {
4768 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sos1_constraint_updates_);
4769 }
4770 _impl_.sos1_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(value);
4771 if (value != nullptr) {
4772 _impl_._has_bits_[0] |= 0x00000080u;
4773 } else {
4774 _impl_._has_bits_[0] &= ~0x00000080u;
4775 }
4776 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4777}
4778inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_sos1_constraint_updates() {
4779 ::google::protobuf::internal::TSanWrite(&_impl_);
4780
4781 _impl_._has_bits_[0] &= ~0x00000080u;
4782 ::operations_research::math_opt::SosConstraintUpdatesProto* released = _impl_.sos1_constraint_updates_;
4783 _impl_.sos1_constraint_updates_ = nullptr;
4784 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4785 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4786 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4787 if (GetArena() == nullptr) {
4788 delete old;
4789 }
4790 } else {
4791 if (GetArena() != nullptr) {
4792 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4794 }
4795 return released;
4796}
4797inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_sos1_constraint_updates() {
4798 ::google::protobuf::internal::TSanWrite(&_impl_);
4799 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4800
4801 _impl_._has_bits_[0] &= ~0x00000080u;
4803 _impl_.sos1_constraint_updates_ = nullptr;
4804 return temp;
4805}
4806inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_sos1_constraint_updates() {
4807 ::google::protobuf::internal::TSanWrite(&_impl_);
4808 if (_impl_.sos1_constraint_updates_ == nullptr) {
4809 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SosConstraintUpdatesProto>(GetArena());
4810 _impl_.sos1_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(p);
4812 return _impl_.sos1_constraint_updates_;
4813}
4814inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_sos1_constraint_updates()
4815 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4816 _impl_._has_bits_[0] |= 0x00000080u;
4817 ::operations_research::math_opt::SosConstraintUpdatesProto* _msg = _internal_mutable_sos1_constraint_updates();
4818 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4819 return _msg;
4820}
4822 ::google::protobuf::Arena* message_arena = GetArena();
4823 ::google::protobuf::internal::TSanWrite(&_impl_);
4824 if (message_arena == nullptr) {
4825 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sos1_constraint_updates_);
4826 }
4827
4828 if (value != nullptr) {
4829 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4830 if (message_arena != submessage_arena) {
4831 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4832 }
4833 _impl_._has_bits_[0] |= 0x00000080u;
4834 } else {
4835 _impl_._has_bits_[0] &= ~0x00000080u;
4836 }
4837
4838 _impl_.sos1_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(value);
4839 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4840}
4841
4842// .operations_research.math_opt.SosConstraintUpdatesProto sos2_constraint_updates = 11;
4844 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
4845 PROTOBUF_ASSUME(!value || _impl_.sos2_constraint_updates_ != nullptr);
4846 return value;
4849 ::google::protobuf::internal::TSanWrite(&_impl_);
4850 if (_impl_.sos2_constraint_updates_ != nullptr) _impl_.sos2_constraint_updates_->Clear();
4851 _impl_._has_bits_[0] &= ~0x00000100u;
4852}
4853inline const ::operations_research::math_opt::SosConstraintUpdatesProto& ModelUpdateProto::_internal_sos2_constraint_updates() const {
4854 ::google::protobuf::internal::TSanRead(&_impl_);
4855 const ::operations_research::math_opt::SosConstraintUpdatesProto* p = _impl_.sos2_constraint_updates_;
4857}
4858inline const ::operations_research::math_opt::SosConstraintUpdatesProto& ModelUpdateProto::sos2_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4859 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4860 return _internal_sos2_constraint_updates();
4861}
4864 ::google::protobuf::internal::TSanWrite(&_impl_);
4865 if (GetArena() == nullptr) {
4866 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sos2_constraint_updates_);
4867 }
4868 _impl_.sos2_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(value);
4869 if (value != nullptr) {
4870 _impl_._has_bits_[0] |= 0x00000100u;
4871 } else {
4872 _impl_._has_bits_[0] &= ~0x00000100u;
4873 }
4874 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4875}
4876inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_sos2_constraint_updates() {
4877 ::google::protobuf::internal::TSanWrite(&_impl_);
4878
4879 _impl_._has_bits_[0] &= ~0x00000100u;
4880 ::operations_research::math_opt::SosConstraintUpdatesProto* released = _impl_.sos2_constraint_updates_;
4881 _impl_.sos2_constraint_updates_ = nullptr;
4882 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4883 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4884 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4885 if (GetArena() == nullptr) {
4886 delete old;
4887 }
4888 } else {
4889 if (GetArena() != nullptr) {
4890 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4892 }
4893 return released;
4894}
4895inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_sos2_constraint_updates() {
4896 ::google::protobuf::internal::TSanWrite(&_impl_);
4897 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4898
4899 _impl_._has_bits_[0] &= ~0x00000100u;
4901 _impl_.sos2_constraint_updates_ = nullptr;
4902 return temp;
4903}
4904inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_sos2_constraint_updates() {
4905 ::google::protobuf::internal::TSanWrite(&_impl_);
4906 if (_impl_.sos2_constraint_updates_ == nullptr) {
4907 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SosConstraintUpdatesProto>(GetArena());
4908 _impl_.sos2_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(p);
4910 return _impl_.sos2_constraint_updates_;
4911}
4912inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_sos2_constraint_updates()
4913 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4914 _impl_._has_bits_[0] |= 0x00000100u;
4915 ::operations_research::math_opt::SosConstraintUpdatesProto* _msg = _internal_mutable_sos2_constraint_updates();
4916 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4917 return _msg;
4918}
4920 ::google::protobuf::Arena* message_arena = GetArena();
4921 ::google::protobuf::internal::TSanWrite(&_impl_);
4922 if (message_arena == nullptr) {
4923 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sos2_constraint_updates_);
4924 }
4925
4926 if (value != nullptr) {
4927 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4928 if (message_arena != submessage_arena) {
4929 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4930 }
4931 _impl_._has_bits_[0] |= 0x00000100u;
4932 } else {
4933 _impl_._has_bits_[0] &= ~0x00000100u;
4934 }
4935
4936 _impl_.sos2_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(value);
4937 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4938}
4939
4940// .operations_research.math_opt.IndicatorConstraintUpdatesProto indicator_constraint_updates = 12;
4942 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
4943 PROTOBUF_ASSUME(!value || _impl_.indicator_constraint_updates_ != nullptr);
4944 return value;
4947 ::google::protobuf::internal::TSanWrite(&_impl_);
4948 if (_impl_.indicator_constraint_updates_ != nullptr) _impl_.indicator_constraint_updates_->Clear();
4949 _impl_._has_bits_[0] &= ~0x00000200u;
4950}
4951inline const ::operations_research::math_opt::IndicatorConstraintUpdatesProto& ModelUpdateProto::_internal_indicator_constraint_updates() const {
4952 ::google::protobuf::internal::TSanRead(&_impl_);
4953 const ::operations_research::math_opt::IndicatorConstraintUpdatesProto* p = _impl_.indicator_constraint_updates_;
4955}
4956inline const ::operations_research::math_opt::IndicatorConstraintUpdatesProto& ModelUpdateProto::indicator_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4957 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
4958 return _internal_indicator_constraint_updates();
4959}
4962 ::google::protobuf::internal::TSanWrite(&_impl_);
4963 if (GetArena() == nullptr) {
4964 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.indicator_constraint_updates_);
4965 }
4966 _impl_.indicator_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::IndicatorConstraintUpdatesProto*>(value);
4967 if (value != nullptr) {
4968 _impl_._has_bits_[0] |= 0x00000200u;
4969 } else {
4970 _impl_._has_bits_[0] &= ~0x00000200u;
4971 }
4972 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
4973}
4974inline ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_indicator_constraint_updates() {
4975 ::google::protobuf::internal::TSanWrite(&_impl_);
4976
4977 _impl_._has_bits_[0] &= ~0x00000200u;
4978 ::operations_research::math_opt::IndicatorConstraintUpdatesProto* released = _impl_.indicator_constraint_updates_;
4979 _impl_.indicator_constraint_updates_ = nullptr;
4980 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4981 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4982 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4983 if (GetArena() == nullptr) {
4984 delete old;
4985 }
4986 } else {
4987 if (GetArena() != nullptr) {
4988 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4990 }
4991 return released;
4992}
4993inline ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_indicator_constraint_updates() {
4994 ::google::protobuf::internal::TSanWrite(&_impl_);
4995 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
4996
4997 _impl_._has_bits_[0] &= ~0x00000200u;
4999 _impl_.indicator_constraint_updates_ = nullptr;
5000 return temp;
5001}
5002inline ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_indicator_constraint_updates() {
5003 ::google::protobuf::internal::TSanWrite(&_impl_);
5004 if (_impl_.indicator_constraint_updates_ == nullptr) {
5005 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::IndicatorConstraintUpdatesProto>(GetArena());
5006 _impl_.indicator_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::IndicatorConstraintUpdatesProto*>(p);
5008 return _impl_.indicator_constraint_updates_;
5009}
5010inline ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_indicator_constraint_updates()
5011 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5012 _impl_._has_bits_[0] |= 0x00000200u;
5013 ::operations_research::math_opt::IndicatorConstraintUpdatesProto* _msg = _internal_mutable_indicator_constraint_updates();
5014 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
5015 return _msg;
5016}
5018 ::google::protobuf::Arena* message_arena = GetArena();
5019 ::google::protobuf::internal::TSanWrite(&_impl_);
5020 if (message_arena == nullptr) {
5021 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.indicator_constraint_updates_);
5022 }
5023
5024 if (value != nullptr) {
5025 ::google::protobuf::Arena* submessage_arena = value->GetArena();
5026 if (message_arena != submessage_arena) {
5027 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
5028 }
5029 _impl_._has_bits_[0] |= 0x00000200u;
5030 } else {
5031 _impl_._has_bits_[0] &= ~0x00000200u;
5032 }
5033
5034 _impl_.indicator_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::IndicatorConstraintUpdatesProto*>(value);
5035 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
5036}
5037
5038#ifdef __GNUC__
5039#pragma GCC diagnostic pop
5040#endif // __GNUC__
5041
5042// @@protoc_insertion_point(namespace_scope)
5043} // namespace math_opt
5044} // namespace operations_research
5045
5046
5047// @@protoc_insertion_point(global_scope)
5048
5049#include "google/protobuf/port_undef.inc"
5051#endif // ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto_2epb_2eh
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_deleted_objective_ids()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
int objective_updates_size() const
map<int64, .operations_research.math_opt.ObjectiveUpdatesProto> objective_updates = 3;
int new_objectives_size() const
map<int64, .operations_research.math_opt.ObjectiveProto> new_objectives = 2;
int deleted_objective_ids_size() const
repeated int64 deleted_objective_ids = 1;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto > & new_objectives() const
const ::google::protobuf::RepeatedField<::int64_t > & deleted_objective_ids() const
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto > *PROTOBUF_NONNULL mutable_new_objectives()
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto > *PROTOBUF_NONNULL mutable_objective_updates()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void Swap(AuxiliaryObjectivesUpdatesProto *PROTOBUF_NONNULL other)
AuxiliaryObjectivesUpdatesProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static const AuxiliaryObjectivesUpdatesProto & default_instance()
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto > & objective_updates() const
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
static const IndicatorConstraintUpdatesProto & default_instance()
void Swap(IndicatorConstraintUpdatesProto *PROTOBUF_NONNULL other)
void MergeFrom(const IndicatorConstraintUpdatesProto &from)
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto > *PROTOBUF_NONNULL mutable_new_constraints()
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto > & new_constraints() const
int new_constraints_size() const
map<int64, .operations_research.math_opt.IndicatorConstraintProto> new_constraints = 2;
void CopyFrom(const IndicatorConstraintUpdatesProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedField<::int64_t > & deleted_constraint_ids() const
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(IndicatorConstraintUpdatesProto &a, IndicatorConstraintUpdatesProto &b)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_deleted_constraint_ids()
void UnsafeArenaSwap(IndicatorConstraintUpdatesProto *PROTOBUF_NONNULL other)
int deleted_constraint_ids_size() const
repeated int64 deleted_constraint_ids = 1;
IndicatorConstraintUpdatesProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void unsafe_arena_set_allocated_lower_bounds(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
bool has_lower_bounds() const
.operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_upper_bounds()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_lower_bounds()
const ::operations_research::math_opt::SparseDoubleVectorProto & upper_bounds() const
bool has_upper_bounds() const
.operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
void MergeFrom(const LinearConstraintUpdatesProto &from)
void set_allocated_lower_bounds(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void Swap(LinearConstraintUpdatesProto *PROTOBUF_NONNULL other)
void unsafe_arena_set_allocated_upper_bounds(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_allocated_upper_bounds(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_lower_bounds()
const ::operations_research::math_opt::SparseDoubleVectorProto & lower_bounds() const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_upper_bounds()
LinearConstraintUpdatesProto & operator=(const LinearConstraintUpdatesProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
PROTOBUF_CONSTEXPR LinearConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_upper_bounds()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_lower_bounds()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const LinearConstraintUpdatesProto & default_instance()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void CopyFrom(const LinearConstraintUpdatesProto &from)
friend void swap(LinearConstraintUpdatesProto &a, LinearConstraintUpdatesProto &b)
void unsafe_arena_set_allocated_variable_updates(::operations_research::math_opt::VariableUpdatesProto *PROTOBUF_NULLABLE value)
bool has_indicator_constraint_updates() const
.operations_research.math_opt.IndicatorConstraintUpdatesProto indicator_constraint_updates = 12;
void set_allocated_linear_constraint_updates(::operations_research::math_opt::LinearConstraintUpdatesProto *PROTOBUF_NULLABLE value)
bool has_sos2_constraint_updates() const
.operations_research.math_opt.SosConstraintUpdatesProto sos2_constraint_updates = 11;
void set_allocated_objective_updates(::operations_research::math_opt::ObjectiveUpdatesProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::ObjectiveUpdatesProto *PROTOBUF_NULLABLE release_objective_updates()
::operations_research::math_opt::IndicatorConstraintUpdatesProto *PROTOBUF_NONNULL mutable_indicator_constraint_updates()
void set_allocated_sos2_constraint_updates(::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NULLABLE value)
const ::operations_research::math_opt::SosConstraintUpdatesProto & sos1_constraint_updates() const
bool has_linear_constraint_matrix_updates() const
.operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix_updates = 8;
void set_allocated_auxiliary_objectives_updates(::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto *PROTOBUF_NULLABLE value)
bool has_sos1_constraint_updates() const
.operations_research.math_opt.SosConstraintUpdatesProto sos1_constraint_updates = 10;
::operations_research::math_opt::QuadraticConstraintUpdatesProto *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_constraint_updates()
::int64_t deleted_linear_constraint_ids(int index) const
::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE unsafe_arena_release_new_variables()
void unsafe_arena_set_allocated_objective_updates(::operations_research::math_opt::ObjectiveUpdatesProto *PROTOBUF_NULLABLE value)
ModelUpdateProto & operator=(const ModelUpdateProto &from)
void unsafe_arena_set_allocated_linear_constraint_matrix_updates(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
const ::google::protobuf::RepeatedField<::int64_t > & deleted_linear_constraint_ids() const
void CopyFrom(const ModelUpdateProto &from)
const ::operations_research::math_opt::SparseDoubleMatrixProto & linear_constraint_matrix_updates() const
void set_allocated_second_order_cone_constraint_updates(::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto *PROTOBUF_NULLABLE value)
const ::google::protobuf::RepeatedField<::int64_t > & deleted_variable_ids() const
int deleted_variable_ids_size() const
repeated int64 deleted_variable_ids = 1;
void unsafe_arena_set_allocated_quadratic_constraint_updates(::operations_research::math_opt::QuadraticConstraintUpdatesProto *PROTOBUF_NULLABLE value)
static const ModelUpdateProto & default_instance()
void unsafe_arena_set_allocated_indicator_constraint_updates(::operations_research::math_opt::IndicatorConstraintUpdatesProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE release_new_variables()
::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto *PROTOBUF_NONNULL mutable_auxiliary_objectives_updates()
const ::operations_research::math_opt::LinearConstraintsProto & new_linear_constraints() const
void unsafe_arena_set_allocated_linear_constraint_updates(::operations_research::math_opt::LinearConstraintUpdatesProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::QuadraticConstraintUpdatesProto *PROTOBUF_NULLABLE release_quadratic_constraint_updates()
::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto *PROTOBUF_NONNULL mutable_second_order_cone_constraint_updates()
ModelUpdateProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto *PROTOBUF_NULLABLE release_auxiliary_objectives_updates()
::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NONNULL mutable_sos1_constraint_updates()
::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NULLABLE unsafe_arena_release_sos1_constraint_updates()
::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NULLABLE release_sos2_constraint_updates()
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE unsafe_arena_release_new_linear_constraints()
::operations_research::math_opt::IndicatorConstraintUpdatesProto *PROTOBUF_NULLABLE unsafe_arena_release_indicator_constraint_updates()
void set_deleted_variable_ids(int index, ::int64_t value)
const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto & auxiliary_objectives_updates() const
void set_allocated_new_variables(::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_second_order_cone_constraint_updates(::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::ObjectiveUpdatesProto *PROTOBUF_NULLABLE unsafe_arena_release_objective_updates()
void unsafe_arena_set_allocated_new_variables(::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE value)
int deleted_linear_constraint_ids_size() const
repeated int64 deleted_linear_constraint_ids = 2;
void unsafe_arena_set_allocated_new_linear_constraints(::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE value)
bool has_new_variables() const
.operations_research.math_opt.VariablesProto new_variables = 5;
::operations_research::math_opt::LinearConstraintUpdatesProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_constraint_updates()
const ::operations_research::math_opt::VariableUpdatesProto & variable_updates() const
const ::operations_research::math_opt::QuadraticConstraintUpdatesProto & quadratic_constraint_updates() const
bool has_new_linear_constraints() const
.operations_research.math_opt.LinearConstraintsProto new_linear_constraints = 6;
bool has_variable_updates() const
.operations_research.math_opt.VariableUpdatesProto variable_updates = 3;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::operations_research::math_opt::SosConstraintUpdatesProto & sos2_constraint_updates() const
::operations_research::math_opt::LinearConstraintUpdatesProto *PROTOBUF_NULLABLE release_linear_constraint_updates()
::operations_research::math_opt::VariableUpdatesProto *PROTOBUF_NULLABLE release_variable_updates()
void set_allocated_linear_constraint_matrix_updates(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE release_new_linear_constraints()
void unsafe_arena_set_allocated_sos1_constraint_updates(::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NULLABLE value)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_deleted_linear_constraint_ids()
::operations_research::math_opt::QuadraticConstraintUpdatesProto *PROTOBUF_NONNULL mutable_quadratic_constraint_updates()
void unsafe_arena_set_allocated_auxiliary_objectives_updates(::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_linear_constraint_matrix_updates()
const ::operations_research::math_opt::IndicatorConstraintUpdatesProto & indicator_constraint_updates() const
::operations_research::math_opt::IndicatorConstraintUpdatesProto *PROTOBUF_NULLABLE release_indicator_constraint_updates()
void set_allocated_new_linear_constraints(::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE value)
bool has_second_order_cone_constraint_updates() const
.operations_research.math_opt.SecondOrderConeConstraintUpdatesProto second_order_cone_constraint_upda...
void unsafe_arena_set_allocated_sos2_constraint_updates(::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NULLABLE value)
void set_allocated_indicator_constraint_updates(::operations_research::math_opt::IndicatorConstraintUpdatesProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::ObjectiveUpdatesProto *PROTOBUF_NONNULL mutable_objective_updates()
::operations_research::math_opt::VariableUpdatesProto *PROTOBUF_NULLABLE unsafe_arena_release_variable_updates()
::operations_research::math_opt::VariableUpdatesProto *PROTOBUF_NONNULL mutable_variable_updates()
void set_allocated_sos1_constraint_updates(::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::VariablesProto *PROTOBUF_NONNULL mutable_new_variables()
::operations_research::math_opt::LinearConstraintUpdatesProto *PROTOBUF_NONNULL mutable_linear_constraint_updates()
::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NONNULL mutable_sos2_constraint_updates()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_linear_constraint_updates() const
.operations_research.math_opt.LinearConstraintUpdatesProto linear_constraint_updates = 4;
void set_deleted_linear_constraint_ids(int index, ::int64_t value)
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_linear_constraint_matrix_updates()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::operations_research::math_opt::ObjectiveUpdatesProto & objective_updates() const
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NONNULL mutable_new_linear_constraints()
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_deleted_variable_ids()
const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto & second_order_cone_constraint_updates() const
bool has_objective_updates() const
.operations_research.math_opt.ObjectiveUpdatesProto objective_updates = 7;
const ::operations_research::math_opt::LinearConstraintUpdatesProto & linear_constraint_updates() const
void set_allocated_variable_updates(::operations_research::math_opt::VariableUpdatesProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto *PROTOBUF_NULLABLE unsafe_arena_release_auxiliary_objectives_updates()
void Swap(ModelUpdateProto *PROTOBUF_NONNULL other)
::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto *PROTOBUF_NULLABLE release_second_order_cone_constraint_updates()
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_constraint_matrix_updates()
bool has_quadratic_constraint_updates() const
.operations_research.math_opt.QuadraticConstraintUpdatesProto quadratic_constraint_updates = 9;
::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto *PROTOBUF_NULLABLE unsafe_arena_release_second_order_cone_constraint_updates()
const ::operations_research::math_opt::VariablesProto & new_variables() const
::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NULLABLE release_sos1_constraint_updates()
void set_allocated_quadratic_constraint_updates(::operations_research::math_opt::QuadraticConstraintUpdatesProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SosConstraintUpdatesProto *PROTOBUF_NULLABLE unsafe_arena_release_sos2_constraint_updates()
bool has_auxiliary_objectives_updates() const
.operations_research.math_opt.AuxiliaryObjectivesUpdatesProto auxiliary_objectives_updates = 13;
const ::operations_research::math_opt::SparseDoubleMatrixProto & quadratic_coefficients() const
ObjectiveUpdatesProto & operator=(const ObjectiveUpdatesProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void unsafe_arena_set_allocated_quadratic_coefficients(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
const ::operations_research::math_opt::SparseDoubleVectorProto & linear_coefficients() const
void set_allocated_linear_coefficients(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_coefficients()
static const ObjectiveUpdatesProto & default_instance()
void MergeFrom(const ObjectiveUpdatesProto &from)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_linear_coefficients()
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_quadratic_coefficients()
PROTOBUF_CONSTEXPR ObjectiveUpdatesProto(::google::protobuf::internal::ConstantInitialized)
bool has_linear_coefficients() const
.operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
bool has_direction_update() const
optional bool direction_update = 1;
bool has_offset_update() const
optional double offset_update = 2;
void set_allocated_quadratic_coefficients(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
void CopyFrom(const ObjectiveUpdatesProto &from)
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_coefficients()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_coefficients()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
bool has_quadratic_coefficients() const
.operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
void unsafe_arena_set_allocated_linear_coefficients(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void Swap(ObjectiveUpdatesProto *PROTOBUF_NONNULL other)
bool has_priority_update() const
optional int64 priority_update = 5;
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_quadratic_coefficients()
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static const QuadraticConstraintUpdatesProto & default_instance()
int new_constraints_size() const
map<int64, .operations_research.math_opt.QuadraticConstraintProto> new_constraints = 2;
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
QuadraticConstraintUpdatesProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
friend void swap(QuadraticConstraintUpdatesProto &a, QuadraticConstraintUpdatesProto &b)
void MergeFrom(const QuadraticConstraintUpdatesProto &from)
int deleted_constraint_ids_size() const
repeated int64 deleted_constraint_ids = 1;
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto > *PROTOBUF_NONNULL mutable_new_constraints()
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto > & new_constraints() const
const ::google::protobuf::RepeatedField<::int64_t > & deleted_constraint_ids() const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_deleted_constraint_ids()
void Swap(QuadraticConstraintUpdatesProto *PROTOBUF_NONNULL other)
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_deleted_constraint_ids()
int new_constraints_size() const
map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> new_constraints = 2;
static const SecondOrderConeConstraintUpdatesProto & default_instance()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto > & new_constraints() const
void MergeFrom(const SecondOrderConeConstraintUpdatesProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const SecondOrderConeConstraintUpdatesProto &from)
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto > *PROTOBUF_NONNULL mutable_new_constraints()
const ::google::protobuf::RepeatedField<::int64_t > & deleted_constraint_ids() const
int deleted_constraint_ids_size() const
repeated int64 deleted_constraint_ids = 1;
void Swap(SecondOrderConeConstraintUpdatesProto *PROTOBUF_NONNULL other)
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > & new_constraints() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > *PROTOBUF_NONNULL mutable_new_constraints()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
int deleted_constraint_ids_size() const
repeated int64 deleted_constraint_ids = 1;
int new_constraints_size() const
map<int64, .operations_research.math_opt.SosConstraintProto> new_constraints = 2;
void CopyFrom(const SosConstraintUpdatesProto &from)
void MergeFrom(const SosConstraintUpdatesProto &from)
friend void swap(SosConstraintUpdatesProto &a, SosConstraintUpdatesProto &b)
static const SosConstraintUpdatesProto & default_instance()
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_deleted_constraint_ids()
void Swap(SosConstraintUpdatesProto *PROTOBUF_NONNULL other)
const ::google::protobuf::RepeatedField<::int64_t > & deleted_constraint_ids() const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_lower_bounds()
bool has_lower_bounds() const
.operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_upper_bounds()
const ::operations_research::math_opt::SparseDoubleVectorProto & upper_bounds() const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_upper_bounds()
::operations_research::math_opt::SparseBoolVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_integers()
void unsafe_arena_set_allocated_upper_bounds(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
VariableUpdatesProto(const VariableUpdatesProto &from)
void unsafe_arena_set_allocated_lower_bounds(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
bool has_upper_bounds() const
.operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_lower_bounds()
void CopyFrom(const VariableUpdatesProto &from)
void set_allocated_upper_bounds(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
PROTOBUF_CONSTEXPR VariableUpdatesProto(::google::protobuf::internal::ConstantInitialized)
bool has_integers() const
.operations_research.math_opt.SparseBoolVectorProto integers = 3;
const ::operations_research::math_opt::SparseDoubleVectorProto & lower_bounds() const
void Swap(VariableUpdatesProto *PROTOBUF_NONNULL other)
void unsafe_arena_set_allocated_integers(::operations_research::math_opt::SparseBoolVectorProto *PROTOBUF_NULLABLE value)
VariableUpdatesProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, VariableUpdatesProto &&from) noexcept
void set_allocated_lower_bounds(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_lower_bounds()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_upper_bounds()
::operations_research::math_opt::SparseBoolVectorProto *PROTOBUF_NONNULL mutable_integers()
void set_allocated_integers(::operations_research::math_opt::SparseBoolVectorProto *PROTOBUF_NULLABLE value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::operations_research::math_opt::SparseBoolVectorProto & integers() const
::operations_research::math_opt::SparseBoolVectorProto *PROTOBUF_NULLABLE release_integers()
VariableUpdatesProto & operator=(const VariableUpdatesProto &from)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto
::absl::string_view GetAnyMessageName()
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveUpdatesProtoDefaultTypeInternal _ObjectiveUpdatesProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull VariableUpdatesProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SosConstraintUpdatesProtoDefaultTypeInternal _SosConstraintUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUseDefaultTypeInternal _AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearConstraintUpdatesProtoDefaultTypeInternal _LinearConstraintUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelUpdateProtoDefaultTypeInternal _ModelUpdateProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuadraticConstraintUpdatesProtoDefaultTypeInternal _QuadraticConstraintUpdatesProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndicatorConstraintUpdatesProtoDefaultTypeInternal _IndicatorConstraintUpdatesProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearConstraintUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelUpdateProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUseDefaultTypeInternal _AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal _SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecondOrderConeConstraintUpdatesProtoDefaultTypeInternal _SecondOrderConeConstraintUpdatesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleVectorProtoDefaultTypeInternal _SparseDoubleVectorProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal _QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleMatrixProtoDefaultTypeInternal _SparseDoubleMatrixProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal _SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearConstraintsProtoDefaultTypeInternal _LinearConstraintsProto_default_instance_
Definition model.pb.cc:87
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VariablesProtoDefaultTypeInternal _VariablesProto_default_instance_
Definition model.pb.cc:58
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VariableUpdatesProtoDefaultTypeInternal _VariableUpdatesProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveUpdatesProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AuxiliaryObjectivesUpdatesProtoDefaultTypeInternal _AuxiliaryObjectivesUpdatesProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseBoolVectorProtoDefaultTypeInternal _SparseBoolVectorProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUseDefaultTypeInternal _IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintUpdatesProto_class_data_
In SWIG mode, we don't want anything besides these top-level includes.
Internal implementation detail – do not use these members.