Google OR-Tools v9.15
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.33.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 != 6033001
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 explicit VariableUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
260 VariableUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const VariableUpdatesProto& from);
262 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, VariableUpdatesProto&& from) noexcept
263 : VariableUpdatesProto(arena) {
264 *this = ::std::move(from);
265 }
266 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
267 static void* PROTOBUF_NONNULL PlacementNew_(
268 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
269 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
270 static constexpr auto InternalNewImpl_();
271
272 public:
273 static constexpr auto InternalGenerateClassData_();
274
275 ::google::protobuf::Metadata GetMetadata() const;
276 // nested types ----------------------------------------------------
277
278 // accessors -------------------------------------------------------
279 enum : int {
280 kLowerBoundsFieldNumber = 1,
281 kUpperBoundsFieldNumber = 2,
283 };
284 // .operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
285 bool has_lower_bounds() const;
286 void clear_lower_bounds() ;
287 const ::operations_research::math_opt::SparseDoubleVectorProto& lower_bounds() const;
293
294 private:
295 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_lower_bounds() const;
296 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
297
298 public:
299 // .operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
300 bool has_upper_bounds() const;
301 void clear_upper_bounds() ;
302 const ::operations_research::math_opt::SparseDoubleVectorProto& upper_bounds() const;
308
309 private:
310 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_upper_bounds() const;
311 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
312
313 public:
314 // .operations_research.math_opt.SparseBoolVectorProto integers = 3;
315 bool has_integers() const;
316 void clear_integers() ;
317 const ::operations_research::math_opt::SparseBoolVectorProto& integers() const;
323
324 private:
325 const ::operations_research::math_opt::SparseBoolVectorProto& _internal_integers() const;
326 ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NONNULL _internal_mutable_integers();
327
328 public:
329 // @@protoc_insertion_point(class_scope:operations_research.math_opt.VariableUpdatesProto)
330 private:
331 class _Internal;
332 friend class ::google::protobuf::internal::TcParser;
333 static const ::google::protobuf::internal::TcParseTable<2, 3,
334 3, 0,
335 2>
336 _table_;
337
338 friend class ::google::protobuf::MessageLite;
339 friend class ::google::protobuf::Arena;
340 template <typename T>
341 friend class ::google::protobuf::Arena::InternalHelper;
342 using InternalArenaConstructable_ = void;
343 using DestructorSkippable_ = void;
344 struct Impl_ {
345 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
346 inline explicit Impl_(
347 ::google::protobuf::internal::InternalVisibility visibility,
348 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
349 inline explicit Impl_(
350 ::google::protobuf::internal::InternalVisibility visibility,
351 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
352 const VariableUpdatesProto& from_msg);
353 ::google::protobuf::internal::HasBits<1> _has_bits_;
354 ::google::protobuf::internal::CachedSize _cached_size_;
355 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE lower_bounds_;
356 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE upper_bounds_;
358 PROTOBUF_TSAN_DECLARE_MEMBER
359 };
360 union { Impl_ _impl_; };
361 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
364OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull VariableUpdatesProto_class_data_;
365// -------------------------------------------------------------------
366
367class OR_PROTO_DLL ObjectiveUpdatesProto final : public ::google::protobuf::Message
368/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ObjectiveUpdatesProto) */ {
369 public:
371 ~ObjectiveUpdatesProto() PROTOBUF_FINAL;
372
373#if defined(PROTOBUF_CUSTOM_VTABLE)
374 void operator delete(ObjectiveUpdatesProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
375 SharedDtor(*msg);
376 ::google::protobuf::internal::SizedDelete(msg, sizeof(ObjectiveUpdatesProto));
377 }
378#endif
379
380 template <typename = void>
381 explicit PROTOBUF_CONSTEXPR ObjectiveUpdatesProto(::google::protobuf::internal::ConstantInitialized);
382
383 inline ObjectiveUpdatesProto(const ObjectiveUpdatesProto& from) : ObjectiveUpdatesProto(nullptr, from) {}
385 : ObjectiveUpdatesProto(nullptr, ::std::move(from)) {}
387 CopyFrom(from);
388 return *this;
390 inline ObjectiveUpdatesProto& operator=(ObjectiveUpdatesProto&& from) noexcept {
391 if (this == &from) return *this;
392 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
393 InternalSwap(&from);
394 } else {
395 CopyFrom(from);
396 }
397 return *this;
398 }
399
400 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
401 ABSL_ATTRIBUTE_LIFETIME_BOUND {
402 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
404 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
405 ABSL_ATTRIBUTE_LIFETIME_BOUND {
406 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
408
409 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
410 return GetDescriptor();
411 }
412 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
413 return default_instance().GetMetadata().descriptor;
414 }
415 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
416 return default_instance().GetMetadata().reflection;
417 }
419 return *reinterpret_cast<const ObjectiveUpdatesProto*>(
422 static constexpr int kIndexInFileMessages = 1;
423 friend void swap(ObjectiveUpdatesProto& a, ObjectiveUpdatesProto& b) { a.Swap(&b); }
424 inline void Swap(ObjectiveUpdatesProto* PROTOBUF_NONNULL other) {
425 if (other == this) return;
426 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
427 InternalSwap(other);
428 } else {
429 ::google::protobuf::internal::GenericSwap(this, other);
430 }
431 }
432 void UnsafeArenaSwap(ObjectiveUpdatesProto* PROTOBUF_NONNULL other) {
433 if (other == this) return;
434 ABSL_DCHECK(GetArena() == other->GetArena());
435 InternalSwap(other);
436 }
437
438 // implements Message ----------------------------------------------
439
440 ObjectiveUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
441 return ::google::protobuf::Message::DefaultConstruct<ObjectiveUpdatesProto>(arena);
442 }
443 using ::google::protobuf::Message::CopyFrom;
444 void CopyFrom(const ObjectiveUpdatesProto& from);
445 using ::google::protobuf::Message::MergeFrom;
446 void MergeFrom(const ObjectiveUpdatesProto& from) { ObjectiveUpdatesProto::MergeImpl(*this, from); }
447
448 private:
449 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
450 const ::google::protobuf::MessageLite& from_msg);
451
452 public:
453 bool IsInitialized() const {
454 return true;
455 }
456 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
457 #if defined(PROTOBUF_CUSTOM_VTABLE)
458 private:
459 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
460 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
461 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
462 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
463
464 public:
465 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
466 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
467 ::uint8_t* PROTOBUF_NONNULL target,
468 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
469 return _InternalSerialize(*this, target, stream);
470 }
471 #else // PROTOBUF_CUSTOM_VTABLE
472 ::size_t ByteSizeLong() const final;
473 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
474 ::uint8_t* PROTOBUF_NONNULL target,
475 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
476 #endif // PROTOBUF_CUSTOM_VTABLE
477 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
478
479 private:
480 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
481 static void SharedDtor(MessageLite& self);
482 void InternalSwap(ObjectiveUpdatesProto* PROTOBUF_NONNULL other);
483 private:
484 template <typename T>
485 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
486 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ObjectiveUpdatesProto"; }
487
488 explicit ObjectiveUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
489 ObjectiveUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ObjectiveUpdatesProto& from);
491 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ObjectiveUpdatesProto&& from) noexcept
492 : ObjectiveUpdatesProto(arena) {
493 *this = ::std::move(from);
494 }
495 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
496 static void* PROTOBUF_NONNULL PlacementNew_(
497 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
498 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
499 static constexpr auto InternalNewImpl_();
500
501 public:
502 static constexpr auto InternalGenerateClassData_();
503
504 ::google::protobuf::Metadata GetMetadata() const;
505 // nested types ----------------------------------------------------
506
507 // accessors -------------------------------------------------------
508 enum : int {
509 kLinearCoefficientsFieldNumber = 3,
510 kQuadraticCoefficientsFieldNumber = 4,
511 kOffsetUpdateFieldNumber = 2,
514 };
515 // .operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
518 const ::operations_research::math_opt::SparseDoubleVectorProto& linear_coefficients() const;
524
525 private:
526 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_coefficients() const;
527 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_linear_coefficients();
528
529 public:
530 // .operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
531 bool has_quadratic_coefficients() const;
533 const ::operations_research::math_opt::SparseDoubleMatrixProto& quadratic_coefficients() const;
539
540 private:
541 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_coefficients() const;
542 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_quadratic_coefficients();
543
544 public:
545 // optional double offset_update = 2;
546 bool has_offset_update() const;
547 void clear_offset_update() ;
548 double offset_update() const;
549 void set_offset_update(double value);
550
551 private:
552 double _internal_offset_update() const;
553 void _internal_set_offset_update(double value);
554
555 public:
556 // optional int64 priority_update = 5;
557 bool has_priority_update() const;
558 void clear_priority_update() ;
559 ::int64_t priority_update() const;
560 void set_priority_update(::int64_t value);
561
562 private:
563 ::int64_t _internal_priority_update() const;
564 void _internal_set_priority_update(::int64_t value);
565
566 public:
567 // optional bool direction_update = 1;
568 bool has_direction_update() const;
570 bool direction_update() const;
571 void set_direction_update(bool value);
572
573 private:
574 bool _internal_direction_update() const;
575 void _internal_set_direction_update(bool value);
576
577 public:
578 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ObjectiveUpdatesProto)
579 private:
580 class _Internal;
581 friend class ::google::protobuf::internal::TcParser;
582 static const ::google::protobuf::internal::TcParseTable<3, 5,
583 2, 0,
584 2>
585 _table_;
586
587 friend class ::google::protobuf::MessageLite;
588 friend class ::google::protobuf::Arena;
589 template <typename T>
590 friend class ::google::protobuf::Arena::InternalHelper;
591 using InternalArenaConstructable_ = void;
592 using DestructorSkippable_ = void;
593 struct Impl_ {
594 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
595 inline explicit Impl_(
596 ::google::protobuf::internal::InternalVisibility visibility,
597 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
598 inline explicit Impl_(
599 ::google::protobuf::internal::InternalVisibility visibility,
600 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
601 const ObjectiveUpdatesProto& from_msg);
602 ::google::protobuf::internal::HasBits<1> _has_bits_;
603 ::google::protobuf::internal::CachedSize _cached_size_;
604 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE linear_coefficients_;
605 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE quadratic_coefficients_;
606 double offset_update_;
607 ::int64_t priority_update_;
608 bool direction_update_;
609 PROTOBUF_TSAN_DECLARE_MEMBER
610 };
611 union { Impl_ _impl_; };
612 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
613};
615OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ObjectiveUpdatesProto_class_data_;
616// -------------------------------------------------------------------
617
618class OR_PROTO_DLL LinearConstraintUpdatesProto final : public ::google::protobuf::Message
619/* @@protoc_insertion_point(class_definition:operations_research.math_opt.LinearConstraintUpdatesProto) */ {
620 public:
623
624#if defined(PROTOBUF_CUSTOM_VTABLE)
625 void operator delete(LinearConstraintUpdatesProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
626 SharedDtor(*msg);
627 ::google::protobuf::internal::SizedDelete(msg, sizeof(LinearConstraintUpdatesProto));
628 }
629#endif
630
631 template <typename = void>
632 explicit PROTOBUF_CONSTEXPR LinearConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
633
635 inline LinearConstraintUpdatesProto(LinearConstraintUpdatesProto&& from) noexcept
636 : LinearConstraintUpdatesProto(nullptr, ::std::move(from)) {}
637 inline LinearConstraintUpdatesProto& operator=(const LinearConstraintUpdatesProto& from) {
638 CopyFrom(from);
639 return *this;
640 }
642 if (this == &from) return *this;
643 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
644 InternalSwap(&from);
645 } else {
646 CopyFrom(from);
647 }
648 return *this;
649 }
650
651 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
652 ABSL_ATTRIBUTE_LIFETIME_BOUND {
653 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
654 }
655 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
656 ABSL_ATTRIBUTE_LIFETIME_BOUND {
657 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
658 }
660 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
661 return GetDescriptor();
662 }
663 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
664 return default_instance().GetMetadata().descriptor;
665 }
666 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
667 return default_instance().GetMetadata().reflection;
668 }
669 static const LinearConstraintUpdatesProto& default_instance() {
673 static constexpr int kIndexInFileMessages = 5;
675 inline void Swap(LinearConstraintUpdatesProto* PROTOBUF_NONNULL other) {
676 if (other == this) return;
677 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
678 InternalSwap(other);
679 } else {
680 ::google::protobuf::internal::GenericSwap(this, other);
681 }
682 }
683 void UnsafeArenaSwap(LinearConstraintUpdatesProto* PROTOBUF_NONNULL other) {
684 if (other == this) return;
685 ABSL_DCHECK(GetArena() == other->GetArena());
686 InternalSwap(other);
688
689 // implements Message ----------------------------------------------
690
691 LinearConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
692 return ::google::protobuf::Message::DefaultConstruct<LinearConstraintUpdatesProto>(arena);
693 }
694 using ::google::protobuf::Message::CopyFrom;
696 using ::google::protobuf::Message::MergeFrom;
697 void MergeFrom(const LinearConstraintUpdatesProto& from) { LinearConstraintUpdatesProto::MergeImpl(*this, from); }
698
699 private:
700 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
701 const ::google::protobuf::MessageLite& from_msg);
702
703 public:
704 bool IsInitialized() const {
705 return true;
706 }
707 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
708 #if defined(PROTOBUF_CUSTOM_VTABLE)
709 private:
710 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
711 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
712 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
713 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
714
715 public:
716 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
717 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
718 ::uint8_t* PROTOBUF_NONNULL target,
719 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
720 return _InternalSerialize(*this, target, stream);
721 }
722 #else // PROTOBUF_CUSTOM_VTABLE
723 ::size_t ByteSizeLong() const final;
724 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
725 ::uint8_t* PROTOBUF_NONNULL target,
726 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
727 #endif // PROTOBUF_CUSTOM_VTABLE
728 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
729
730 private:
731 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
732 static void SharedDtor(MessageLite& self);
733 void InternalSwap(LinearConstraintUpdatesProto* PROTOBUF_NONNULL other);
734 private:
735 template <typename T>
736 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
737 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.LinearConstraintUpdatesProto"; }
738
739 explicit LinearConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
740 LinearConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LinearConstraintUpdatesProto& from);
742 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LinearConstraintUpdatesProto&& from) noexcept
744 *this = ::std::move(from);
745 }
746 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
747 static void* PROTOBUF_NONNULL PlacementNew_(
748 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
749 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
750 static constexpr auto InternalNewImpl_();
751
752 public:
753 static constexpr auto InternalGenerateClassData_();
754
755 ::google::protobuf::Metadata GetMetadata() const;
756 // nested types ----------------------------------------------------
757
758 // accessors -------------------------------------------------------
759 enum : int {
760 kLowerBoundsFieldNumber = 1,
761 kUpperBoundsFieldNumber = 2,
762 };
763 // .operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
764 bool has_lower_bounds() const;
766 const ::operations_research::math_opt::SparseDoubleVectorProto& lower_bounds() const;
772
773 private:
774 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_lower_bounds() const;
775 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
776
777 public:
778 // .operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
779 bool has_upper_bounds() const;
780 void clear_upper_bounds() ;
781 const ::operations_research::math_opt::SparseDoubleVectorProto& upper_bounds() const;
787
788 private:
789 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_upper_bounds() const;
790 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
791
792 public:
793 // @@protoc_insertion_point(class_scope:operations_research.math_opt.LinearConstraintUpdatesProto)
794 private:
795 class _Internal;
796 friend class ::google::protobuf::internal::TcParser;
797 static const ::google::protobuf::internal::TcParseTable<1, 2,
798 2, 0,
799 2>
800 _table_;
801
802 friend class ::google::protobuf::MessageLite;
803 friend class ::google::protobuf::Arena;
804 template <typename T>
805 friend class ::google::protobuf::Arena::InternalHelper;
806 using InternalArenaConstructable_ = void;
807 using DestructorSkippable_ = void;
808 struct Impl_ {
809 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
810 inline explicit Impl_(
811 ::google::protobuf::internal::InternalVisibility visibility,
812 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
813 inline explicit Impl_(
814 ::google::protobuf::internal::InternalVisibility visibility,
815 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
816 const LinearConstraintUpdatesProto& from_msg);
817 ::google::protobuf::internal::HasBits<1> _has_bits_;
818 ::google::protobuf::internal::CachedSize _cached_size_;
819 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE lower_bounds_;
820 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE upper_bounds_;
821 PROTOBUF_TSAN_DECLARE_MEMBER
822 };
823 union { Impl_ _impl_; };
824 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
825};
826
827OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LinearConstraintUpdatesProto_class_data_;
828// -------------------------------------------------------------------
829
831 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
832 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
833 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
834 public:
835 using SuperType =
836 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
837 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
838 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
840 template <typename = void>
841 explicit PROTOBUF_CONSTEXPR SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
842 explicit SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
843 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
845 }
847
848 static constexpr auto InternalGenerateClassData_();
849
850 private:
851 friend class ::google::protobuf::MessageLite;
852 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
853
854 friend class ::google::protobuf::internal::TcParser;
855 static const ::google::protobuf::internal::TcParseTable<1, 2,
856 1, 0,
857 2>
858 _table_;
860 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
861 static void* PROTOBUF_NONNULL PlacementNew_(
862 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
863 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
864 static constexpr auto InternalNewImpl_();
865};
866OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
867// -------------------------------------------------------------------
868
870 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
871 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
872 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
873 public:
874 using SuperType =
875 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
876 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
877 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
879 template <typename = void>
880 explicit PROTOBUF_CONSTEXPR SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
881 explicit SecondOrderConeConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
882 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
884 }
885
887 static constexpr auto InternalGenerateClassData_();
889 private:
890 friend class ::google::protobuf::MessageLite;
891 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
892
893 friend class ::google::protobuf::internal::TcParser;
894 static const ::google::protobuf::internal::TcParseTable<1, 2,
895 1, 0,
896 2>
897 _table_;
898
899 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
900 static void* PROTOBUF_NONNULL PlacementNew_(
901 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
902 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
903 static constexpr auto InternalNewImpl_();
904};
906// -------------------------------------------------------------------
907
909 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
910 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
911 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
912 public:
913 using SuperType =
914 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
915 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
916 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
918 template <typename = void>
919 explicit PROTOBUF_CONSTEXPR QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
920 explicit QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
921 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
923 }
924
925
926 static constexpr auto InternalGenerateClassData_();
927
928 private:
929 friend class ::google::protobuf::MessageLite;
930 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
931
932 friend class ::google::protobuf::internal::TcParser;
933 static const ::google::protobuf::internal::TcParseTable<1, 2,
934 1, 0,
935 2>
936 _table_;
938 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
939 static void* PROTOBUF_NONNULL PlacementNew_(
940 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
941 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
942 static constexpr auto InternalNewImpl_();
943};
944OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
945// -------------------------------------------------------------------
946
948 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
949 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
950 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
951 public:
952 using SuperType =
953 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
954 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
955 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
957 template <typename = void>
958 explicit PROTOBUF_CONSTEXPR IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
959 explicit IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
960 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
962 }
963
964
965 static constexpr auto InternalGenerateClassData_();
967 private:
968 friend class ::google::protobuf::MessageLite;
969 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
970
971 friend class ::google::protobuf::internal::TcParser;
972 static const ::google::protobuf::internal::TcParseTable<1, 2,
973 1, 0,
974 2>
975 _table_;
977 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
978 static void* PROTOBUF_NONNULL PlacementNew_(
979 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
980 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
981 static constexpr auto InternalNewImpl_();
982};
983OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_NewConstraintsEntry_DoNotUse_class_data_;
984// -------------------------------------------------------------------
985
987 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
988 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
989 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
990 public:
991 using SuperType =
992 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
993 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
994 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
996 template <typename = void>
997 explicit PROTOBUF_CONSTEXPR AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
998 explicit AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
999 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
1001 }
1002
1003
1004 static constexpr auto InternalGenerateClassData_();
1005
1006 private:
1007 friend class ::google::protobuf::MessageLite;
1008 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1009
1010 friend class ::google::protobuf::internal::TcParser;
1011 static const ::google::protobuf::internal::TcParseTable<1, 2,
1012 1, 0,
1013 2>
1014 _table_;
1015
1016 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1017 static void* PROTOBUF_NONNULL PlacementNew_(
1018 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1019 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1020 static constexpr auto InternalNewImpl_();
1021};
1022OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_ObjectiveUpdatesEntry_DoNotUse_class_data_;
1023// -------------------------------------------------------------------
1024
1026 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1027 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1028 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
1029 public:
1030 using SuperType =
1031 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1032 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1033 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1035 template <typename = void>
1036 explicit PROTOBUF_CONSTEXPR AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
1037 explicit AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1038 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
1041
1042
1043 static constexpr auto InternalGenerateClassData_();
1044
1045 private:
1046 friend class ::google::protobuf::MessageLite;
1047 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1049 friend class ::google::protobuf::internal::TcParser;
1050 static const ::google::protobuf::internal::TcParseTable<1, 2,
1051 1, 0,
1052 2>
1053 _table_;
1054
1055 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1056 static void* PROTOBUF_NONNULL PlacementNew_(
1057 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1058 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1059 static constexpr auto InternalNewImpl_();
1060};
1061OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_NewObjectivesEntry_DoNotUse_class_data_;
1062// -------------------------------------------------------------------
1063
1064class OR_PROTO_DLL SosConstraintUpdatesProto final : public ::google::protobuf::Message
1065/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SosConstraintUpdatesProto) */ {
1066 public:
1068 ~SosConstraintUpdatesProto() PROTOBUF_FINAL;
1069
1070#if defined(PROTOBUF_CUSTOM_VTABLE)
1071 void operator delete(SosConstraintUpdatesProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1072 SharedDtor(*msg);
1073 ::google::protobuf::internal::SizedDelete(msg, sizeof(SosConstraintUpdatesProto));
1074 }
1075#endif
1076
1077 template <typename = void>
1078 explicit PROTOBUF_CONSTEXPR SosConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1079
1082 : SosConstraintUpdatesProto(nullptr, ::std::move(from)) {}
1083 inline SosConstraintUpdatesProto& operator=(const SosConstraintUpdatesProto& from) {
1084 CopyFrom(from);
1085 return *this;
1086 }
1087 inline SosConstraintUpdatesProto& operator=(SosConstraintUpdatesProto&& from) noexcept {
1088 if (this == &from) return *this;
1089 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1090 InternalSwap(&from);
1091 } else {
1093 }
1094 return *this;
1095 }
1096
1097 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1098 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1099 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1100 }
1101 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1102 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1103 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1104 }
1105
1106 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1107 return GetDescriptor();
1109 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1110 return default_instance().GetMetadata().descriptor;
1111 }
1112 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1113 return default_instance().GetMetadata().reflection;
1114 }
1115 static const SosConstraintUpdatesProto& default_instance() {
1116 return *reinterpret_cast<const SosConstraintUpdatesProto*>(
1118 }
1119 static constexpr int kIndexInFileMessages = 11;
1121 inline void Swap(SosConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1122 if (other == this) return;
1123 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1124 InternalSwap(other);
1125 } else {
1126 ::google::protobuf::internal::GenericSwap(this, other);
1127 }
1128 }
1129 void UnsafeArenaSwap(SosConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1130 if (other == this) return;
1131 ABSL_DCHECK(GetArena() == other->GetArena());
1132 InternalSwap(other);
1133 }
1134
1135 // implements Message ----------------------------------------------
1136
1137 SosConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1138 return ::google::protobuf::Message::DefaultConstruct<SosConstraintUpdatesProto>(arena);
1139 }
1140 using ::google::protobuf::Message::CopyFrom;
1141 void CopyFrom(const SosConstraintUpdatesProto& from);
1142 using ::google::protobuf::Message::MergeFrom;
1143 void MergeFrom(const SosConstraintUpdatesProto& from) { SosConstraintUpdatesProto::MergeImpl(*this, from); }
1144
1145 private:
1146 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1147 const ::google::protobuf::MessageLite& from_msg);
1149 public:
1150 bool IsInitialized() const {
1151 return true;
1152 }
1153 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1154 #if defined(PROTOBUF_CUSTOM_VTABLE)
1155 private:
1156 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1157 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1158 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1159 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1160
1161 public:
1162 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1163 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1164 ::uint8_t* PROTOBUF_NONNULL target,
1165 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1166 return _InternalSerialize(*this, target, stream);
1167 }
1168 #else // PROTOBUF_CUSTOM_VTABLE
1169 ::size_t ByteSizeLong() const final;
1170 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1171 ::uint8_t* PROTOBUF_NONNULL target,
1172 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1173 #endif // PROTOBUF_CUSTOM_VTABLE
1174 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1175
1176 private:
1177 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1178 static void SharedDtor(MessageLite& self);
1179 void InternalSwap(SosConstraintUpdatesProto* PROTOBUF_NONNULL other);
1180 private:
1181 template <typename T>
1182 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1183 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SosConstraintUpdatesProto"; }
1184
1185 explicit SosConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1186 SosConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SosConstraintUpdatesProto& from);
1188 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SosConstraintUpdatesProto&& from) noexcept
1189 : SosConstraintUpdatesProto(arena) {
1190 *this = ::std::move(from);
1191 }
1192 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1193 static void* PROTOBUF_NONNULL PlacementNew_(
1194 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1195 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1196 static constexpr auto InternalNewImpl_();
1197
1198 public:
1199 static constexpr auto InternalGenerateClassData_();
1200
1201 ::google::protobuf::Metadata GetMetadata() const;
1202 // nested types ----------------------------------------------------
1203
1204 // accessors -------------------------------------------------------
1205 enum : int {
1206 kDeletedConstraintIdsFieldNumber = 1,
1207 kNewConstraintsFieldNumber = 2,
1208 };
1209 // repeated int64 deleted_constraint_ids = 1;
1210 int deleted_constraint_ids_size() const;
1211 private:
1212 int _internal_deleted_constraint_ids_size() const;
1213
1214 public:
1215 void clear_deleted_constraint_ids() ;
1216 ::int64_t deleted_constraint_ids(int index) const;
1217 void set_deleted_constraint_ids(int index, ::int64_t value);
1218 void add_deleted_constraint_ids(::int64_t value);
1219 const ::google::protobuf::RepeatedField<::int64_t>& deleted_constraint_ids() const;
1220 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_constraint_ids();
1221
1222 private:
1223 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_constraint_ids() const;
1224 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_constraint_ids();
1225
1226 public:
1227 // map<int64, .operations_research.math_opt.SosConstraintProto> new_constraints = 2;
1228 int new_constraints_size() const;
1229 private:
1230 int _internal_new_constraints_size() const;
1231
1232 public:
1233 void clear_new_constraints() ;
1234 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& new_constraints() const;
1235 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL mutable_new_constraints();
1236
1237 private:
1238 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_new_constraints() const;
1239 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_new_constraints();
1240
1241 public:
1242 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SosConstraintUpdatesProto)
1243 private:
1244 class _Internal;
1245 friend class ::google::protobuf::internal::TcParser;
1246 static const ::google::protobuf::internal::TcParseTable<0, 2,
1247 2, 0,
1248 2>
1249 _table_;
1250
1251 friend class ::google::protobuf::MessageLite;
1252 friend class ::google::protobuf::Arena;
1253 template <typename T>
1254 friend class ::google::protobuf::Arena::InternalHelper;
1255 using InternalArenaConstructable_ = void;
1256 using DestructorSkippable_ = void;
1257 struct Impl_ {
1258 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1259 inline explicit Impl_(
1260 ::google::protobuf::internal::InternalVisibility visibility,
1261 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1262 inline explicit Impl_(
1263 ::google::protobuf::internal::InternalVisibility visibility,
1264 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1266 ::google::protobuf::internal::HasBits<1> _has_bits_;
1267 ::google::protobuf::internal::CachedSize _cached_size_;
1268 ::google::protobuf::RepeatedField<::int64_t> deleted_constraint_ids_;
1269 ::google::protobuf::internal::CachedSize _deleted_constraint_ids_cached_byte_size_;
1271 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1272 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
1273 new_constraints_;
1274 PROTOBUF_TSAN_DECLARE_MEMBER
1275 };
1276 union { Impl_ _impl_; };
1277 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1278};
1279
1280OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SosConstraintUpdatesProto_class_data_;
1281// -------------------------------------------------------------------
1282
1283class OR_PROTO_DLL SecondOrderConeConstraintUpdatesProto final : public ::google::protobuf::Message
1284/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto) */ {
1285 public:
1286 inline SecondOrderConeConstraintUpdatesProto() : SecondOrderConeConstraintUpdatesProto(nullptr) {}
1289#if defined(PROTOBUF_CUSTOM_VTABLE)
1290 void operator delete(SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1291 SharedDtor(*msg);
1292 ::google::protobuf::internal::SizedDelete(msg, sizeof(SecondOrderConeConstraintUpdatesProto));
1293 }
1294#endif
1296 template <typename = void>
1297 explicit PROTOBUF_CONSTEXPR SecondOrderConeConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1301 : SecondOrderConeConstraintUpdatesProto(nullptr, ::std::move(from)) {}
1302 inline SecondOrderConeConstraintUpdatesProto& operator=(const SecondOrderConeConstraintUpdatesProto& from) {
1303 CopyFrom(from);
1304 return *this;
1305 }
1306 inline SecondOrderConeConstraintUpdatesProto& operator=(SecondOrderConeConstraintUpdatesProto&& from) noexcept {
1307 if (this == &from) return *this;
1308 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1309 InternalSwap(&from);
1310 } else {
1313 return *this;
1315
1316 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1317 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1318 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1319 }
1320 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1321 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1322 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1323 }
1324
1325 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1326 return GetDescriptor();
1327 }
1328 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1329 return default_instance().GetMetadata().descriptor;
1330 }
1331 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1332 return default_instance().GetMetadata().reflection;
1333 }
1334 static const SecondOrderConeConstraintUpdatesProto& default_instance() {
1335 return *reinterpret_cast<const SecondOrderConeConstraintUpdatesProto*>(
1338 static constexpr int kIndexInFileMessages = 9;
1340 inline void Swap(SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1341 if (other == this) return;
1342 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1343 InternalSwap(other);
1344 } else {
1345 ::google::protobuf::internal::GenericSwap(this, other);
1347 }
1348 void UnsafeArenaSwap(SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1349 if (other == this) return;
1350 ABSL_DCHECK(GetArena() == other->GetArena());
1351 InternalSwap(other);
1353
1354 // implements Message ----------------------------------------------
1355
1356 SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1357 return ::google::protobuf::Message::DefaultConstruct<SecondOrderConeConstraintUpdatesProto>(arena);
1358 }
1359 using ::google::protobuf::Message::CopyFrom;
1361 using ::google::protobuf::Message::MergeFrom;
1362 void MergeFrom(const SecondOrderConeConstraintUpdatesProto& from) { SecondOrderConeConstraintUpdatesProto::MergeImpl(*this, from); }
1363
1364 private:
1365 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1366 const ::google::protobuf::MessageLite& from_msg);
1367
1368 public:
1369 bool IsInitialized() const {
1370 return true;
1371 }
1372 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1373 #if defined(PROTOBUF_CUSTOM_VTABLE)
1374 private:
1375 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1376 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1377 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1378 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1379
1380 public:
1381 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1382 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1383 ::uint8_t* PROTOBUF_NONNULL target,
1384 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1385 return _InternalSerialize(*this, target, stream);
1386 }
1387 #else // PROTOBUF_CUSTOM_VTABLE
1388 ::size_t ByteSizeLong() const final;
1389 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1390 ::uint8_t* PROTOBUF_NONNULL target,
1391 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1392 #endif // PROTOBUF_CUSTOM_VTABLE
1393 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1394
1395 private:
1396 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1397 static void SharedDtor(MessageLite& self);
1398 void InternalSwap(SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL other);
1399 private:
1400 template <typename T>
1401 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1402 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SecondOrderConeConstraintUpdatesProto"; }
1403
1404 explicit SecondOrderConeConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1405 SecondOrderConeConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SecondOrderConeConstraintUpdatesProto& from);
1407 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SecondOrderConeConstraintUpdatesProto&& from) noexcept
1409 *this = ::std::move(from);
1410 }
1411 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1412 static void* PROTOBUF_NONNULL PlacementNew_(
1413 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1414 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1415 static constexpr auto InternalNewImpl_();
1416
1417 public:
1418 static constexpr auto InternalGenerateClassData_();
1419
1420 ::google::protobuf::Metadata GetMetadata() const;
1421 // nested types ----------------------------------------------------
1422
1423 // accessors -------------------------------------------------------
1424 enum : int {
1425 kDeletedConstraintIdsFieldNumber = 1,
1426 kNewConstraintsFieldNumber = 2,
1427 };
1428 // repeated int64 deleted_constraint_ids = 1;
1429 int deleted_constraint_ids_size() const;
1430 private:
1431 int _internal_deleted_constraint_ids_size() const;
1432
1433 public:
1434 void clear_deleted_constraint_ids() ;
1435 ::int64_t deleted_constraint_ids(int index) const;
1436 void set_deleted_constraint_ids(int index, ::int64_t value);
1437 void add_deleted_constraint_ids(::int64_t value);
1438 const ::google::protobuf::RepeatedField<::int64_t>& deleted_constraint_ids() const;
1439 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_constraint_ids();
1440
1441 private:
1442 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_constraint_ids() const;
1443 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_constraint_ids();
1444
1445 public:
1446 // map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> new_constraints = 2;
1447 int new_constraints_size() const;
1448 private:
1449 int _internal_new_constraints_size() const;
1450
1451 public:
1452 void clear_new_constraints() ;
1453 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& new_constraints() const;
1454 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL mutable_new_constraints();
1455
1456 private:
1457 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& _internal_new_constraints() const;
1458 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL _internal_mutable_new_constraints();
1459
1460 public:
1461 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto)
1462 private:
1463 class _Internal;
1464 friend class ::google::protobuf::internal::TcParser;
1465 static const ::google::protobuf::internal::TcParseTable<0, 2,
1466 2, 0,
1467 2>
1468 _table_;
1469
1470 friend class ::google::protobuf::MessageLite;
1471 friend class ::google::protobuf::Arena;
1472 template <typename T>
1473 friend class ::google::protobuf::Arena::InternalHelper;
1474 using InternalArenaConstructable_ = void;
1475 using DestructorSkippable_ = void;
1476 struct Impl_ {
1477 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1478 inline explicit Impl_(
1479 ::google::protobuf::internal::InternalVisibility visibility,
1480 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1481 inline explicit Impl_(
1482 ::google::protobuf::internal::InternalVisibility visibility,
1483 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1485 ::google::protobuf::internal::HasBits<1> _has_bits_;
1486 ::google::protobuf::internal::CachedSize _cached_size_;
1487 ::google::protobuf::RepeatedField<::int64_t> deleted_constraint_ids_;
1488 ::google::protobuf::internal::CachedSize _deleted_constraint_ids_cached_byte_size_;
1490 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1491 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
1492 new_constraints_;
1493 PROTOBUF_TSAN_DECLARE_MEMBER
1494 };
1495 union { Impl_ _impl_; };
1496 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1497};
1498
1499OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintUpdatesProto_class_data_;
1500// -------------------------------------------------------------------
1501
1502class OR_PROTO_DLL QuadraticConstraintUpdatesProto final : public ::google::protobuf::Message
1503/* @@protoc_insertion_point(class_definition:operations_research.math_opt.QuadraticConstraintUpdatesProto) */ {
1504 public:
1505 inline QuadraticConstraintUpdatesProto() : QuadraticConstraintUpdatesProto(nullptr) {}
1506 ~QuadraticConstraintUpdatesProto() PROTOBUF_FINAL;
1508#if defined(PROTOBUF_CUSTOM_VTABLE)
1509 void operator delete(QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1510 SharedDtor(*msg);
1511 ::google::protobuf::internal::SizedDelete(msg, sizeof(QuadraticConstraintUpdatesProto));
1512 }
1513#endif
1514
1515 template <typename = void>
1516 explicit PROTOBUF_CONSTEXPR QuadraticConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1517
1520 : QuadraticConstraintUpdatesProto(nullptr, ::std::move(from)) {}
1521 inline QuadraticConstraintUpdatesProto& operator=(const QuadraticConstraintUpdatesProto& from) {
1522 CopyFrom(from);
1523 return *this;
1524 }
1525 inline QuadraticConstraintUpdatesProto& operator=(QuadraticConstraintUpdatesProto&& from) noexcept {
1526 if (this == &from) return *this;
1527 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1528 InternalSwap(&from);
1529 } else {
1530 CopyFrom(from);
1532 return *this;
1533 }
1535 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1536 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1537 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1539 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1540 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1541 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1542 }
1543
1544 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1545 return GetDescriptor();
1546 }
1547 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1548 return default_instance().GetMetadata().descriptor;
1549 }
1550 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1551 return default_instance().GetMetadata().reflection;
1553 static const QuadraticConstraintUpdatesProto& default_instance() {
1554 return *reinterpret_cast<const QuadraticConstraintUpdatesProto*>(
1556 }
1557 static constexpr int kIndexInFileMessages = 7;
1559 inline void Swap(QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1560 if (other == this) return;
1561 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1562 InternalSwap(other);
1563 } else {
1564 ::google::protobuf::internal::GenericSwap(this, other);
1565 }
1567 void UnsafeArenaSwap(QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1568 if (other == this) return;
1569 ABSL_DCHECK(GetArena() == other->GetArena());
1570 InternalSwap(other);
1573 // implements Message ----------------------------------------------
1574
1575 QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1576 return ::google::protobuf::Message::DefaultConstruct<QuadraticConstraintUpdatesProto>(arena);
1577 }
1578 using ::google::protobuf::Message::CopyFrom;
1579 void CopyFrom(const QuadraticConstraintUpdatesProto& from);
1580 using ::google::protobuf::Message::MergeFrom;
1581 void MergeFrom(const QuadraticConstraintUpdatesProto& from) { QuadraticConstraintUpdatesProto::MergeImpl(*this, from); }
1582
1583 private:
1584 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1585 const ::google::protobuf::MessageLite& from_msg);
1586
1587 public:
1588 bool IsInitialized() const {
1589 return true;
1590 }
1591 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1592 #if defined(PROTOBUF_CUSTOM_VTABLE)
1593 private:
1594 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1595 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1596 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1597 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1598
1599 public:
1600 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1601 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1602 ::uint8_t* PROTOBUF_NONNULL target,
1603 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1604 return _InternalSerialize(*this, target, stream);
1605 }
1606 #else // PROTOBUF_CUSTOM_VTABLE
1607 ::size_t ByteSizeLong() const final;
1608 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1609 ::uint8_t* PROTOBUF_NONNULL target,
1610 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1611 #endif // PROTOBUF_CUSTOM_VTABLE
1612 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1613
1614 private:
1615 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1616 static void SharedDtor(MessageLite& self);
1617 void InternalSwap(QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL other);
1618 private:
1619 template <typename T>
1620 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1621 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.QuadraticConstraintUpdatesProto"; }
1622
1623 explicit QuadraticConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1624 QuadraticConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const QuadraticConstraintUpdatesProto& from);
1626 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, QuadraticConstraintUpdatesProto&& from) noexcept
1628 *this = ::std::move(from);
1629 }
1630 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1631 static void* PROTOBUF_NONNULL PlacementNew_(
1632 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1633 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1634 static constexpr auto InternalNewImpl_();
1635
1636 public:
1637 static constexpr auto InternalGenerateClassData_();
1638
1639 ::google::protobuf::Metadata GetMetadata() const;
1640 // nested types ----------------------------------------------------
1641
1642 // accessors -------------------------------------------------------
1643 enum : int {
1644 kDeletedConstraintIdsFieldNumber = 1,
1645 kNewConstraintsFieldNumber = 2,
1646 };
1647 // repeated int64 deleted_constraint_ids = 1;
1648 int deleted_constraint_ids_size() const;
1649 private:
1650 int _internal_deleted_constraint_ids_size() const;
1651
1652 public:
1653 void clear_deleted_constraint_ids() ;
1654 ::int64_t deleted_constraint_ids(int index) const;
1655 void set_deleted_constraint_ids(int index, ::int64_t value);
1656 void add_deleted_constraint_ids(::int64_t value);
1657 const ::google::protobuf::RepeatedField<::int64_t>& deleted_constraint_ids() const;
1658 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_constraint_ids();
1659
1660 private:
1661 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_constraint_ids() const;
1662 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_constraint_ids();
1663
1664 public:
1665 // map<int64, .operations_research.math_opt.QuadraticConstraintProto> new_constraints = 2;
1666 int new_constraints_size() const;
1667 private:
1668 int _internal_new_constraints_size() const;
1669
1670 public:
1671 void clear_new_constraints() ;
1672 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& new_constraints() const;
1673 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL mutable_new_constraints();
1674
1675 private:
1676 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& _internal_new_constraints() const;
1677 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL _internal_mutable_new_constraints();
1678
1679 public:
1680 // @@protoc_insertion_point(class_scope:operations_research.math_opt.QuadraticConstraintUpdatesProto)
1681 private:
1682 class _Internal;
1683 friend class ::google::protobuf::internal::TcParser;
1684 static const ::google::protobuf::internal::TcParseTable<0, 2,
1685 2, 0,
1686 2>
1687 _table_;
1688
1689 friend class ::google::protobuf::MessageLite;
1690 friend class ::google::protobuf::Arena;
1691 template <typename T>
1692 friend class ::google::protobuf::Arena::InternalHelper;
1693 using InternalArenaConstructable_ = void;
1694 using DestructorSkippable_ = void;
1695 struct Impl_ {
1696 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1697 inline explicit Impl_(
1698 ::google::protobuf::internal::InternalVisibility visibility,
1699 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1700 inline explicit Impl_(
1701 ::google::protobuf::internal::InternalVisibility visibility,
1702 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1704 ::google::protobuf::internal::HasBits<1> _has_bits_;
1705 ::google::protobuf::internal::CachedSize _cached_size_;
1706 ::google::protobuf::RepeatedField<::int64_t> deleted_constraint_ids_;
1707 ::google::protobuf::internal::CachedSize _deleted_constraint_ids_cached_byte_size_;
1709 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1710 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
1711 new_constraints_;
1712 PROTOBUF_TSAN_DECLARE_MEMBER
1713 };
1714 union { Impl_ _impl_; };
1715 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1716};
1717
1718OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull QuadraticConstraintUpdatesProto_class_data_;
1719// -------------------------------------------------------------------
1720
1721class OR_PROTO_DLL IndicatorConstraintUpdatesProto final : public ::google::protobuf::Message
1722/* @@protoc_insertion_point(class_definition:operations_research.math_opt.IndicatorConstraintUpdatesProto) */ {
1723 public:
1724 inline IndicatorConstraintUpdatesProto() : IndicatorConstraintUpdatesProto(nullptr) {}
1725 ~IndicatorConstraintUpdatesProto() PROTOBUF_FINAL;
1726
1727#if defined(PROTOBUF_CUSTOM_VTABLE)
1728 void operator delete(IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1729 SharedDtor(*msg);
1730 ::google::protobuf::internal::SizedDelete(msg, sizeof(IndicatorConstraintUpdatesProto));
1731 }
1732#endif
1733
1734 template <typename = void>
1735 explicit PROTOBUF_CONSTEXPR IndicatorConstraintUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1736
1739 : IndicatorConstraintUpdatesProto(nullptr, ::std::move(from)) {}
1741 CopyFrom(from);
1742 return *this;
1743 }
1744 inline IndicatorConstraintUpdatesProto& operator=(IndicatorConstraintUpdatesProto&& from) noexcept {
1745 if (this == &from) return *this;
1746 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1747 InternalSwap(&from);
1748 } else {
1750 }
1751 return *this;
1753
1754 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1755 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1756 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1757 }
1758 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1759 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1760 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1761 }
1762
1763 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1764 return GetDescriptor();
1765 }
1766 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1767 return default_instance().GetMetadata().descriptor;
1769 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1770 return default_instance().GetMetadata().reflection;
1771 }
1776 static constexpr int kIndexInFileMessages = 13;
1778 inline void Swap(IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1779 if (other == this) return;
1780 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1781 InternalSwap(other);
1782 } else {
1783 ::google::protobuf::internal::GenericSwap(this, other);
1784 }
1785 }
1786 void UnsafeArenaSwap(IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL other) {
1787 if (other == this) return;
1788 ABSL_DCHECK(GetArena() == other->GetArena());
1789 InternalSwap(other);
1792 // implements Message ----------------------------------------------
1793
1794 IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1795 return ::google::protobuf::Message::DefaultConstruct<IndicatorConstraintUpdatesProto>(arena);
1796 }
1797 using ::google::protobuf::Message::CopyFrom;
1798 void CopyFrom(const IndicatorConstraintUpdatesProto& from);
1799 using ::google::protobuf::Message::MergeFrom;
1800 void MergeFrom(const IndicatorConstraintUpdatesProto& from) { IndicatorConstraintUpdatesProto::MergeImpl(*this, from); }
1801
1802 private:
1803 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1804 const ::google::protobuf::MessageLite& from_msg);
1805
1806 public:
1807 bool IsInitialized() const {
1808 return true;
1809 }
1810 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1811 #if defined(PROTOBUF_CUSTOM_VTABLE)
1812 private:
1813 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1814 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1815 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1816 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1817
1818 public:
1819 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1820 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1821 ::uint8_t* PROTOBUF_NONNULL target,
1822 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1823 return _InternalSerialize(*this, target, stream);
1824 }
1825 #else // PROTOBUF_CUSTOM_VTABLE
1826 ::size_t ByteSizeLong() const final;
1827 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1828 ::uint8_t* PROTOBUF_NONNULL target,
1829 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1830 #endif // PROTOBUF_CUSTOM_VTABLE
1831 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1832
1833 private:
1834 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1835 static void SharedDtor(MessageLite& self);
1836 void InternalSwap(IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL other);
1837 private:
1838 template <typename T>
1839 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1840 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.IndicatorConstraintUpdatesProto"; }
1841
1842 explicit IndicatorConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1843 IndicatorConstraintUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IndicatorConstraintUpdatesProto& from);
1844 IndicatorConstraintUpdatesProto(
1845 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IndicatorConstraintUpdatesProto&& from) noexcept
1847 *this = ::std::move(from);
1848 }
1849 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1850 static void* PROTOBUF_NONNULL PlacementNew_(
1851 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1852 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1853 static constexpr auto InternalNewImpl_();
1854
1855 public:
1856 static constexpr auto InternalGenerateClassData_();
1857
1858 ::google::protobuf::Metadata GetMetadata() const;
1859 // nested types ----------------------------------------------------
1860
1861 // accessors -------------------------------------------------------
1862 enum : int {
1863 kDeletedConstraintIdsFieldNumber = 1,
1864 kNewConstraintsFieldNumber = 2,
1865 };
1866 // repeated int64 deleted_constraint_ids = 1;
1867 int deleted_constraint_ids_size() const;
1868 private:
1869 int _internal_deleted_constraint_ids_size() const;
1870
1871 public:
1872 void clear_deleted_constraint_ids() ;
1873 ::int64_t deleted_constraint_ids(int index) const;
1874 void set_deleted_constraint_ids(int index, ::int64_t value);
1875 void add_deleted_constraint_ids(::int64_t value);
1876 const ::google::protobuf::RepeatedField<::int64_t>& deleted_constraint_ids() const;
1877 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_constraint_ids();
1879 private:
1880 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_constraint_ids() const;
1881 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_constraint_ids();
1882
1883 public:
1884 // map<int64, .operations_research.math_opt.IndicatorConstraintProto> new_constraints = 2;
1885 int new_constraints_size() const;
1886 private:
1887 int _internal_new_constraints_size() const;
1888
1889 public:
1890 void clear_new_constraints() ;
1891 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& new_constraints() const;
1892 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL mutable_new_constraints();
1893
1894 private:
1895 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& _internal_new_constraints() const;
1896 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL _internal_mutable_new_constraints();
1897
1898 public:
1899 // @@protoc_insertion_point(class_scope:operations_research.math_opt.IndicatorConstraintUpdatesProto)
1900 private:
1901 class _Internal;
1902 friend class ::google::protobuf::internal::TcParser;
1903 static const ::google::protobuf::internal::TcParseTable<0, 2,
1904 2, 0,
1905 2>
1906 _table_;
1907
1908 friend class ::google::protobuf::MessageLite;
1909 friend class ::google::protobuf::Arena;
1910 template <typename T>
1911 friend class ::google::protobuf::Arena::InternalHelper;
1912 using InternalArenaConstructable_ = void;
1913 using DestructorSkippable_ = void;
1914 struct Impl_ {
1915 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1916 inline explicit Impl_(
1917 ::google::protobuf::internal::InternalVisibility visibility,
1918 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1919 inline explicit Impl_(
1920 ::google::protobuf::internal::InternalVisibility visibility,
1921 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1923 ::google::protobuf::internal::HasBits<1> _has_bits_;
1924 ::google::protobuf::internal::CachedSize _cached_size_;
1925 ::google::protobuf::RepeatedField<::int64_t> deleted_constraint_ids_;
1926 ::google::protobuf::internal::CachedSize _deleted_constraint_ids_cached_byte_size_;
1928 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1929 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
1930 new_constraints_;
1931 PROTOBUF_TSAN_DECLARE_MEMBER
1932 };
1933 union { Impl_ _impl_; };
1934 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
1935};
1936
1937OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IndicatorConstraintUpdatesProto_class_data_;
1938// -------------------------------------------------------------------
1939
1940class OR_PROTO_DLL AuxiliaryObjectivesUpdatesProto final : public ::google::protobuf::Message
1941/* @@protoc_insertion_point(class_definition:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto) */ {
1942 public:
1943 inline AuxiliaryObjectivesUpdatesProto() : AuxiliaryObjectivesUpdatesProto(nullptr) {}
1944 ~AuxiliaryObjectivesUpdatesProto() PROTOBUF_FINAL;
1945
1946#if defined(PROTOBUF_CUSTOM_VTABLE)
1947 void operator delete(AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1948 SharedDtor(*msg);
1949 ::google::protobuf::internal::SizedDelete(msg, sizeof(AuxiliaryObjectivesUpdatesProto));
1950 }
1951#endif
1952
1953 template <typename = void>
1954 explicit PROTOBUF_CONSTEXPR AuxiliaryObjectivesUpdatesProto(::google::protobuf::internal::ConstantInitialized);
1958 : AuxiliaryObjectivesUpdatesProto(nullptr, ::std::move(from)) {}
1960 CopyFrom(from);
1961 return *this;
1962 }
1963 inline AuxiliaryObjectivesUpdatesProto& operator=(AuxiliaryObjectivesUpdatesProto&& from) noexcept {
1964 if (this == &from) return *this;
1965 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1966 InternalSwap(&from);
1967 } else {
1968 CopyFrom(from);
1970 return *this;
1973 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1974 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1975 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1976 }
1977 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1978 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1979 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1980 }
1981
1982 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1983 return GetDescriptor();
1984 }
1985 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1986 return default_instance().GetMetadata().descriptor;
1987 }
1988 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1989 return default_instance().GetMetadata().reflection;
1990 }
1991 static const AuxiliaryObjectivesUpdatesProto& default_instance() {
1992 return *reinterpret_cast<const AuxiliaryObjectivesUpdatesProto*>(
1994 }
1995 static constexpr int kIndexInFileMessages = 4;
1996 friend void swap(AuxiliaryObjectivesUpdatesProto& a, AuxiliaryObjectivesUpdatesProto& b) { a.Swap(&b); }
1997 inline void Swap(AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL other) {
1998 if (other == this) return;
1999 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2000 InternalSwap(other);
2001 } else {
2002 ::google::protobuf::internal::GenericSwap(this, other);
2004 }
2005 void UnsafeArenaSwap(AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL other) {
2006 if (other == this) return;
2007 ABSL_DCHECK(GetArena() == other->GetArena());
2008 InternalSwap(other);
2009 }
2011 // implements Message ----------------------------------------------
2013 AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
2014 return ::google::protobuf::Message::DefaultConstruct<AuxiliaryObjectivesUpdatesProto>(arena);
2015 }
2016 using ::google::protobuf::Message::CopyFrom;
2017 void CopyFrom(const AuxiliaryObjectivesUpdatesProto& from);
2018 using ::google::protobuf::Message::MergeFrom;
2019 void MergeFrom(const AuxiliaryObjectivesUpdatesProto& from) { AuxiliaryObjectivesUpdatesProto::MergeImpl(*this, from); }
2021 private:
2022 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2023 const ::google::protobuf::MessageLite& from_msg);
2024
2025 public:
2026 bool IsInitialized() const {
2027 return true;
2029 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2030 #if defined(PROTOBUF_CUSTOM_VTABLE)
2031 private:
2032 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2033 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2034 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2035 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2036
2037 public:
2038 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
2039 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2040 ::uint8_t* PROTOBUF_NONNULL target,
2041 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2042 return _InternalSerialize(*this, target, stream);
2043 }
2044 #else // PROTOBUF_CUSTOM_VTABLE
2045 ::size_t ByteSizeLong() const final;
2046 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2047 ::uint8_t* PROTOBUF_NONNULL target,
2048 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2049 #endif // PROTOBUF_CUSTOM_VTABLE
2050 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2051
2052 private:
2053 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2054 static void SharedDtor(MessageLite& self);
2055 void InternalSwap(AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL other);
2056 private:
2057 template <typename T>
2058 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
2059 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.AuxiliaryObjectivesUpdatesProto"; }
2060
2061 explicit AuxiliaryObjectivesUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2062 AuxiliaryObjectivesUpdatesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AuxiliaryObjectivesUpdatesProto& from);
2063 AuxiliaryObjectivesUpdatesProto(
2064 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AuxiliaryObjectivesUpdatesProto&& from) noexcept
2066 *this = ::std::move(from);
2067 }
2068 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2069 static void* PROTOBUF_NONNULL PlacementNew_(
2070 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2071 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2072 static constexpr auto InternalNewImpl_();
2073
2074 public:
2075 static constexpr auto InternalGenerateClassData_();
2076
2077 ::google::protobuf::Metadata GetMetadata() const;
2078 // nested types ----------------------------------------------------
2079
2080 // accessors -------------------------------------------------------
2081 enum : int {
2082 kDeletedObjectiveIdsFieldNumber = 1,
2083 kNewObjectivesFieldNumber = 2,
2084 kObjectiveUpdatesFieldNumber = 3,
2085 };
2086 // repeated int64 deleted_objective_ids = 1;
2087 int deleted_objective_ids_size() const;
2088 private:
2089 int _internal_deleted_objective_ids_size() const;
2090
2091 public:
2092 void clear_deleted_objective_ids() ;
2093 ::int64_t deleted_objective_ids(int index) const;
2094 void set_deleted_objective_ids(int index, ::int64_t value);
2095 void add_deleted_objective_ids(::int64_t value);
2096 const ::google::protobuf::RepeatedField<::int64_t>& deleted_objective_ids() const;
2097 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_objective_ids();
2099 private:
2100 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_objective_ids() const;
2101 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_objective_ids();
2102
2103 public:
2104 // map<int64, .operations_research.math_opt.ObjectiveProto> new_objectives = 2;
2105 int new_objectives_size() const;
2106 private:
2107 int _internal_new_objectives_size() const;
2108
2109 public:
2110 void clear_new_objectives() ;
2111 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& new_objectives() const;
2112 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL mutable_new_objectives();
2113
2114 private:
2115 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& _internal_new_objectives() const;
2116 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL _internal_mutable_new_objectives();
2117
2118 public:
2119 // map<int64, .operations_research.math_opt.ObjectiveUpdatesProto> objective_updates = 3;
2120 int objective_updates_size() const;
2121 private:
2122 int _internal_objective_updates_size() const;
2123
2124 public:
2126 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>& objective_updates() const;
2127 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>* PROTOBUF_NONNULL mutable_objective_updates();
2128
2129 private:
2130 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>& _internal_objective_updates() const;
2131 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>* PROTOBUF_NONNULL _internal_mutable_objective_updates();
2132
2133 public:
2134 // @@protoc_insertion_point(class_scope:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto)
2135 private:
2136 class _Internal;
2137 friend class ::google::protobuf::internal::TcParser;
2138 static const ::google::protobuf::internal::TcParseTable<0, 3,
2139 4, 0,
2140 2>
2141 _table_;
2142
2143 friend class ::google::protobuf::MessageLite;
2144 friend class ::google::protobuf::Arena;
2145 template <typename T>
2146 friend class ::google::protobuf::Arena::InternalHelper;
2147 using InternalArenaConstructable_ = void;
2148 using DestructorSkippable_ = void;
2149 struct Impl_ {
2150 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
2151 inline explicit Impl_(
2152 ::google::protobuf::internal::InternalVisibility visibility,
2153 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2154 inline explicit Impl_(
2155 ::google::protobuf::internal::InternalVisibility visibility,
2156 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2157 const AuxiliaryObjectivesUpdatesProto& from_msg);
2158 ::google::protobuf::internal::HasBits<1> _has_bits_;
2159 ::google::protobuf::internal::CachedSize _cached_size_;
2160 ::google::protobuf::RepeatedField<::int64_t> deleted_objective_ids_;
2161 ::google::protobuf::internal::CachedSize _deleted_objective_ids_cached_byte_size_;
2163 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2164 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2165 new_objectives_;
2167 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2168 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2169 objective_updates_;
2170 PROTOBUF_TSAN_DECLARE_MEMBER
2171 };
2172 union { Impl_ _impl_; };
2173 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
2174};
2175
2176OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull AuxiliaryObjectivesUpdatesProto_class_data_;
2177// -------------------------------------------------------------------
2178
2179class OR_PROTO_DLL ModelUpdateProto final : public ::google::protobuf::Message
2180/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ModelUpdateProto) */ {
2181 public:
2182 inline ModelUpdateProto() : ModelUpdateProto(nullptr) {}
2183 ~ModelUpdateProto() PROTOBUF_FINAL;
2184
2185#if defined(PROTOBUF_CUSTOM_VTABLE)
2186 void operator delete(ModelUpdateProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
2187 SharedDtor(*msg);
2188 ::google::protobuf::internal::SizedDelete(msg, sizeof(ModelUpdateProto));
2189 }
2190#endif
2191
2192 template <typename = void>
2193 explicit PROTOBUF_CONSTEXPR ModelUpdateProto(::google::protobuf::internal::ConstantInitialized);
2194
2195 inline ModelUpdateProto(const ModelUpdateProto& from) : ModelUpdateProto(nullptr, from) {}
2196 inline ModelUpdateProto(ModelUpdateProto&& from) noexcept
2197 : ModelUpdateProto(nullptr, ::std::move(from)) {}
2199 CopyFrom(from);
2200 return *this;
2201 }
2202 inline ModelUpdateProto& operator=(ModelUpdateProto&& from) noexcept {
2203 if (this == &from) return *this;
2204 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2205 InternalSwap(&from);
2206 } else {
2207 CopyFrom(from);
2208 }
2209 return *this;
2210 }
2212 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2213 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2214 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2215 }
2216 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2217 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2218 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2219 }
2220
2221 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2222 return GetDescriptor();
2223 }
2224 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2225 return default_instance().GetMetadata().descriptor;
2226 }
2227 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2228 return default_instance().GetMetadata().reflection;
2229 }
2230 static const ModelUpdateProto& default_instance() {
2231 return *reinterpret_cast<const ModelUpdateProto*>(
2233 }
2234 static constexpr int kIndexInFileMessages = 14;
2235 friend void swap(ModelUpdateProto& a, ModelUpdateProto& b) { a.Swap(&b); }
2236 inline void Swap(ModelUpdateProto* PROTOBUF_NONNULL other) {
2237 if (other == this) return;
2238 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2239 InternalSwap(other);
2240 } else {
2241 ::google::protobuf::internal::GenericSwap(this, other);
2242 }
2244 void UnsafeArenaSwap(ModelUpdateProto* PROTOBUF_NONNULL other) {
2245 if (other == this) return;
2246 ABSL_DCHECK(GetArena() == other->GetArena());
2247 InternalSwap(other);
2248 }
2249
2250 // implements Message ----------------------------------------------
2252 ModelUpdateProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
2253 return ::google::protobuf::Message::DefaultConstruct<ModelUpdateProto>(arena);
2254 }
2255 using ::google::protobuf::Message::CopyFrom;
2256 void CopyFrom(const ModelUpdateProto& from);
2257 using ::google::protobuf::Message::MergeFrom;
2258 void MergeFrom(const ModelUpdateProto& from) { ModelUpdateProto::MergeImpl(*this, from); }
2259
2260 private:
2261 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2262 const ::google::protobuf::MessageLite& from_msg);
2263
2264 public:
2265 bool IsInitialized() const {
2266 return true;
2267 }
2268 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2269 #if defined(PROTOBUF_CUSTOM_VTABLE)
2270 private:
2271 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2272 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2273 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2274 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2275
2276 public:
2277 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
2278 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2279 ::uint8_t* PROTOBUF_NONNULL target,
2280 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2281 return _InternalSerialize(*this, target, stream);
2282 }
2283 #else // PROTOBUF_CUSTOM_VTABLE
2284 ::size_t ByteSizeLong() const final;
2285 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2286 ::uint8_t* PROTOBUF_NONNULL target,
2287 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2288 #endif // PROTOBUF_CUSTOM_VTABLE
2289 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2290
2291 private:
2292 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2293 static void SharedDtor(MessageLite& self);
2294 void InternalSwap(ModelUpdateProto* PROTOBUF_NONNULL other);
2295 private:
2296 template <typename T>
2297 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
2298 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ModelUpdateProto"; }
2299
2300 explicit ModelUpdateProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2301 ModelUpdateProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelUpdateProto& from);
2302 ModelUpdateProto(
2303 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelUpdateProto&& from) noexcept
2304 : ModelUpdateProto(arena) {
2305 *this = ::std::move(from);
2306 }
2307 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2308 static void* PROTOBUF_NONNULL PlacementNew_(
2309 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2310 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2311 static constexpr auto InternalNewImpl_();
2312
2313 public:
2314 static constexpr auto InternalGenerateClassData_();
2315
2316 ::google::protobuf::Metadata GetMetadata() const;
2317 // nested types ----------------------------------------------------
2318
2319 // accessors -------------------------------------------------------
2320 enum : int {
2321 kDeletedVariableIdsFieldNumber = 1,
2322 kDeletedLinearConstraintIdsFieldNumber = 2,
2323 kVariableUpdatesFieldNumber = 3,
2324 kLinearConstraintUpdatesFieldNumber = 4,
2325 kNewVariablesFieldNumber = 5,
2326 kNewLinearConstraintsFieldNumber = 6,
2327 kObjectiveUpdatesFieldNumber = 7,
2328 kLinearConstraintMatrixUpdatesFieldNumber = 8,
2329 kQuadraticConstraintUpdatesFieldNumber = 9,
2330 kSos1ConstraintUpdatesFieldNumber = 10,
2331 kSos2ConstraintUpdatesFieldNumber = 11,
2332 kIndicatorConstraintUpdatesFieldNumber = 12,
2333 kAuxiliaryObjectivesUpdatesFieldNumber = 13,
2334 kSecondOrderConeConstraintUpdatesFieldNumber = 14,
2335 };
2336 // repeated int64 deleted_variable_ids = 1;
2338 private:
2339 int _internal_deleted_variable_ids_size() const;
2341 public:
2343 ::int64_t deleted_variable_ids(int index) const;
2344 void set_deleted_variable_ids(int index, ::int64_t value);
2345 void add_deleted_variable_ids(::int64_t value);
2346 const ::google::protobuf::RepeatedField<::int64_t>& deleted_variable_ids() const;
2347 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_variable_ids();
2349 private:
2350 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_variable_ids() const;
2351 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_variable_ids();
2352
2353 public:
2354 // repeated int64 deleted_linear_constraint_ids = 2;
2356 private:
2357 int _internal_deleted_linear_constraint_ids_size() const;
2358
2359 public:
2361 ::int64_t deleted_linear_constraint_ids(int index) const;
2362 void set_deleted_linear_constraint_ids(int index, ::int64_t value);
2363 void add_deleted_linear_constraint_ids(::int64_t value);
2364 const ::google::protobuf::RepeatedField<::int64_t>& deleted_linear_constraint_ids() const;
2365 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_deleted_linear_constraint_ids();
2366
2367 private:
2368 const ::google::protobuf::RepeatedField<::int64_t>& _internal_deleted_linear_constraint_ids() const;
2369 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_deleted_linear_constraint_ids();
2370
2371 public:
2372 // .operations_research.math_opt.VariableUpdatesProto variable_updates = 3;
2373 bool has_variable_updates() const;
2374 void clear_variable_updates() ;
2375 const ::operations_research::math_opt::VariableUpdatesProto& variable_updates() const;
2381
2382 private:
2383 const ::operations_research::math_opt::VariableUpdatesProto& _internal_variable_updates() const;
2384 ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NONNULL _internal_mutable_variable_updates();
2385
2386 public:
2387 // .operations_research.math_opt.LinearConstraintUpdatesProto linear_constraint_updates = 4;
2388 bool has_linear_constraint_updates() const;
2390 const ::operations_research::math_opt::LinearConstraintUpdatesProto& linear_constraint_updates() const;
2396
2397 private:
2398 const ::operations_research::math_opt::LinearConstraintUpdatesProto& _internal_linear_constraint_updates() const;
2399 ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_linear_constraint_updates();
2400
2401 public:
2402 // .operations_research.math_opt.VariablesProto new_variables = 5;
2403 bool has_new_variables() const;
2404 void clear_new_variables() ;
2405 const ::operations_research::math_opt::VariablesProto& new_variables() const;
2411
2412 private:
2413 const ::operations_research::math_opt::VariablesProto& _internal_new_variables() const;
2414 ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL _internal_mutable_new_variables();
2415
2416 public:
2417 // .operations_research.math_opt.LinearConstraintsProto new_linear_constraints = 6;
2418 bool has_new_linear_constraints() const;
2420 const ::operations_research::math_opt::LinearConstraintsProto& new_linear_constraints() const;
2426
2427 private:
2428 const ::operations_research::math_opt::LinearConstraintsProto& _internal_new_linear_constraints() const;
2429 ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL _internal_mutable_new_linear_constraints();
2430
2431 public:
2432 // .operations_research.math_opt.ObjectiveUpdatesProto objective_updates = 7;
2433 bool has_objective_updates() const;
2435 const ::operations_research::math_opt::ObjectiveUpdatesProto& objective_updates() const;
2441
2442 private:
2443 const ::operations_research::math_opt::ObjectiveUpdatesProto& _internal_objective_updates() const;
2444 ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NONNULL _internal_mutable_objective_updates();
2445
2446 public:
2447 // .operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix_updates = 8;
2450 const ::operations_research::math_opt::SparseDoubleMatrixProto& linear_constraint_matrix_updates() const;
2456
2457 private:
2458 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_linear_constraint_matrix_updates() const;
2459 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_linear_constraint_matrix_updates();
2460
2461 public:
2462 // .operations_research.math_opt.QuadraticConstraintUpdatesProto quadratic_constraint_updates = 9;
2465 const ::operations_research::math_opt::QuadraticConstraintUpdatesProto& quadratic_constraint_updates() const;
2471
2472 private:
2473 const ::operations_research::math_opt::QuadraticConstraintUpdatesProto& _internal_quadratic_constraint_updates() const;
2474 ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_quadratic_constraint_updates();
2475
2476 public:
2477 // .operations_research.math_opt.SosConstraintUpdatesProto sos1_constraint_updates = 10;
2478 bool has_sos1_constraint_updates() const;
2480 const ::operations_research::math_opt::SosConstraintUpdatesProto& sos1_constraint_updates() const;
2486
2487 private:
2488 const ::operations_research::math_opt::SosConstraintUpdatesProto& _internal_sos1_constraint_updates() const;
2489 ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_sos1_constraint_updates();
2490
2491 public:
2492 // .operations_research.math_opt.SosConstraintUpdatesProto sos2_constraint_updates = 11;
2493 bool has_sos2_constraint_updates() const;
2495 const ::operations_research::math_opt::SosConstraintUpdatesProto& sos2_constraint_updates() const;
2501
2502 private:
2503 const ::operations_research::math_opt::SosConstraintUpdatesProto& _internal_sos2_constraint_updates() const;
2504 ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_sos2_constraint_updates();
2505
2506 public:
2507 // .operations_research.math_opt.IndicatorConstraintUpdatesProto indicator_constraint_updates = 12;
2510 const ::operations_research::math_opt::IndicatorConstraintUpdatesProto& indicator_constraint_updates() const;
2516
2517 private:
2518 const ::operations_research::math_opt::IndicatorConstraintUpdatesProto& _internal_indicator_constraint_updates() const;
2519 ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_indicator_constraint_updates();
2520
2521 public:
2522 // .operations_research.math_opt.AuxiliaryObjectivesUpdatesProto auxiliary_objectives_updates = 13;
2525 const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto& auxiliary_objectives_updates() const;
2531
2532 private:
2533 const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto& _internal_auxiliary_objectives_updates() const;
2534 ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL _internal_mutable_auxiliary_objectives_updates();
2535
2536 public:
2537 // .operations_research.math_opt.SecondOrderConeConstraintUpdatesProto second_order_cone_constraint_updates = 14;
2540 const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto& second_order_cone_constraint_updates() const;
2546
2547 private:
2548 const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto& _internal_second_order_cone_constraint_updates() const;
2549 ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL _internal_mutable_second_order_cone_constraint_updates();
2550
2551 public:
2552 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ModelUpdateProto)
2553 private:
2554 class _Internal;
2555 friend class ::google::protobuf::internal::TcParser;
2556 static const ::google::protobuf::internal::TcParseTable<4, 14,
2557 12, 0,
2558 2>
2559 _table_;
2560
2561 friend class ::google::protobuf::MessageLite;
2562 friend class ::google::protobuf::Arena;
2563 template <typename T>
2564 friend class ::google::protobuf::Arena::InternalHelper;
2565 using InternalArenaConstructable_ = void;
2566 using DestructorSkippable_ = void;
2567 struct Impl_ {
2568 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
2569 inline explicit Impl_(
2570 ::google::protobuf::internal::InternalVisibility visibility,
2571 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2572 inline explicit Impl_(
2573 ::google::protobuf::internal::InternalVisibility visibility,
2574 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2575 const ModelUpdateProto& from_msg);
2576 ::google::protobuf::internal::HasBits<1> _has_bits_;
2577 ::google::protobuf::internal::CachedSize _cached_size_;
2578 ::google::protobuf::RepeatedField<::int64_t> deleted_variable_ids_;
2579 ::google::protobuf::internal::CachedSize _deleted_variable_ids_cached_byte_size_;
2580 ::google::protobuf::RepeatedField<::int64_t> deleted_linear_constraint_ids_;
2581 ::google::protobuf::internal::CachedSize _deleted_linear_constraint_ids_cached_byte_size_;
2582 ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NULLABLE variable_updates_;
2583 ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NULLABLE linear_constraint_updates_;
2584 ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE new_variables_;
2585 ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE new_linear_constraints_;
2586 ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NULLABLE objective_updates_;
2587 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE linear_constraint_matrix_updates_;
2588 ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NULLABLE quadratic_constraint_updates_;
2589 ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE sos1_constraint_updates_;
2590 ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE sos2_constraint_updates_;
2591 ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NULLABLE indicator_constraint_updates_;
2592 ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NULLABLE auxiliary_objectives_updates_;
2593 ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NULLABLE second_order_cone_constraint_updates_;
2594 PROTOBUF_TSAN_DECLARE_MEMBER
2595 };
2596 union { Impl_ _impl_; };
2597 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto;
2598};
2599
2600OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelUpdateProto_class_data_;
2601
2602// ===================================================================
2603
2604
2605
2606
2607// ===================================================================
2608
2609
2610#ifdef __GNUC__
2611#pragma GCC diagnostic push
2612#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2613#endif // __GNUC__
2614// -------------------------------------------------------------------
2615
2616// VariableUpdatesProto
2617
2618// .operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
2619inline bool VariableUpdatesProto::has_lower_bounds() const {
2620 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
2621 PROTOBUF_ASSUME(!value || _impl_.lower_bounds_ != nullptr);
2622 return value;
2623}
2624inline const ::operations_research::math_opt::SparseDoubleVectorProto& VariableUpdatesProto::_internal_lower_bounds() const {
2625 ::google::protobuf::internal::TSanRead(&_impl_);
2626 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.lower_bounds_;
2628}
2629inline const ::operations_research::math_opt::SparseDoubleVectorProto& VariableUpdatesProto::lower_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2630 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2631 return _internal_lower_bounds();
2632}
2635 ::google::protobuf::internal::TSanWrite(&_impl_);
2636 if (GetArena() == nullptr) {
2637 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lower_bounds_);
2639 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2640 if (value != nullptr) {
2641 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2642 } else {
2643 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2644 }
2645 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2646}
2647inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::release_lower_bounds() {
2648 ::google::protobuf::internal::TSanWrite(&_impl_);
2649
2650 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2652 _impl_.lower_bounds_ = nullptr;
2653 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2654 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2655 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2656 if (GetArena() == nullptr) {
2657 delete old;
2658 }
2659 } else {
2660 if (GetArena() != nullptr) {
2661 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2662 }
2663 }
2664 return released;
2665}
2666inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::unsafe_arena_release_lower_bounds() {
2667 ::google::protobuf::internal::TSanWrite(&_impl_);
2668 // @@protoc_insertion_point(field_release:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2669
2670 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2672 _impl_.lower_bounds_ = nullptr;
2673 return temp;
2674}
2675inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::_internal_mutable_lower_bounds() {
2676 ::google::protobuf::internal::TSanWrite(&_impl_);
2677 if (_impl_.lower_bounds_ == nullptr) {
2678 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2679 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
2680 }
2681 return _impl_.lower_bounds_;
2682}
2683inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::mutable_lower_bounds()
2684 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2685 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2686 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_lower_bounds();
2687 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2688 return _msg;
2689}
2691 ::google::protobuf::Arena* message_arena = GetArena();
2692 ::google::protobuf::internal::TSanWrite(&_impl_);
2693 if (message_arena == nullptr) {
2694 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lower_bounds_);
2695 }
2696
2697 if (value != nullptr) {
2698 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2699 if (message_arena != submessage_arena) {
2700 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2701 }
2702 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2703 } else {
2704 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2705 }
2706
2707 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2708 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.VariableUpdatesProto.lower_bounds)
2710
2711// .operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
2712inline bool VariableUpdatesProto::has_upper_bounds() const {
2713 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
2714 PROTOBUF_ASSUME(!value || _impl_.upper_bounds_ != nullptr);
2715 return value;
2716}
2717inline const ::operations_research::math_opt::SparseDoubleVectorProto& VariableUpdatesProto::_internal_upper_bounds() const {
2718 ::google::protobuf::internal::TSanRead(&_impl_);
2719 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.upper_bounds_;
2721}
2722inline const ::operations_research::math_opt::SparseDoubleVectorProto& VariableUpdatesProto::upper_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2723 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2724 return _internal_upper_bounds();
2725}
2727 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE value) {
2728 ::google::protobuf::internal::TSanWrite(&_impl_);
2729 if (GetArena() == nullptr) {
2730 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bounds_);
2732 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2733 if (value != nullptr) {
2734 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2735 } else {
2736 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2737 }
2738 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2739}
2740inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::release_upper_bounds() {
2741 ::google::protobuf::internal::TSanWrite(&_impl_);
2742
2743 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2745 _impl_.upper_bounds_ = nullptr;
2746 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2747 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2748 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2749 if (GetArena() == nullptr) {
2750 delete old;
2751 }
2752 } else {
2753 if (GetArena() != nullptr) {
2754 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2755 }
2756 }
2757 return released;
2758}
2759inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::unsafe_arena_release_upper_bounds() {
2760 ::google::protobuf::internal::TSanWrite(&_impl_);
2761 // @@protoc_insertion_point(field_release:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2762
2763 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2765 _impl_.upper_bounds_ = nullptr;
2766 return temp;
2767}
2768inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::_internal_mutable_upper_bounds() {
2769 ::google::protobuf::internal::TSanWrite(&_impl_);
2770 if (_impl_.upper_bounds_ == nullptr) {
2771 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2772 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
2773 }
2774 return _impl_.upper_bounds_;
2775}
2776inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::mutable_upper_bounds()
2777 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2778 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2779 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_upper_bounds();
2780 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2781 return _msg;
2782}
2784 ::google::protobuf::Arena* message_arena = GetArena();
2785 ::google::protobuf::internal::TSanWrite(&_impl_);
2786 if (message_arena == nullptr) {
2787 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bounds_);
2788 }
2789
2790 if (value != nullptr) {
2791 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2792 if (message_arena != submessage_arena) {
2793 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2794 }
2795 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2796 } else {
2797 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2798 }
2799
2800 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2801 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.VariableUpdatesProto.upper_bounds)
2803
2804// .operations_research.math_opt.SparseBoolVectorProto integers = 3;
2805inline bool VariableUpdatesProto::has_integers() const {
2806 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2807 PROTOBUF_ASSUME(!value || _impl_.integers_ != nullptr);
2808 return value;
2809}
2810inline const ::operations_research::math_opt::SparseBoolVectorProto& VariableUpdatesProto::_internal_integers() const {
2811 ::google::protobuf::internal::TSanRead(&_impl_);
2812 const ::operations_research::math_opt::SparseBoolVectorProto* p = _impl_.integers_;
2814}
2815inline const ::operations_research::math_opt::SparseBoolVectorProto& VariableUpdatesProto::integers() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2816 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariableUpdatesProto.integers)
2817 return _internal_integers();
2818}
2820 ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NULLABLE value) {
2821 ::google::protobuf::internal::TSanWrite(&_impl_);
2822 if (GetArena() == nullptr) {
2823 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.integers_);
2825 _impl_.integers_ = reinterpret_cast<::operations_research::math_opt::SparseBoolVectorProto*>(value);
2826 if (value != nullptr) {
2827 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2828 } else {
2829 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2830 }
2831 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.VariableUpdatesProto.integers)
2832}
2833inline ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::release_integers() {
2834 ::google::protobuf::internal::TSanWrite(&_impl_);
2835
2836 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2838 _impl_.integers_ = nullptr;
2839 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2840 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2841 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2842 if (GetArena() == nullptr) {
2843 delete old;
2844 }
2845 } else {
2846 if (GetArena() != nullptr) {
2847 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2848 }
2849 }
2850 return released;
2851}
2852inline ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NULLABLE VariableUpdatesProto::unsafe_arena_release_integers() {
2853 ::google::protobuf::internal::TSanWrite(&_impl_);
2854 // @@protoc_insertion_point(field_release:operations_research.math_opt.VariableUpdatesProto.integers)
2855
2856 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2858 _impl_.integers_ = nullptr;
2859 return temp;
2860}
2861inline ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::_internal_mutable_integers() {
2862 ::google::protobuf::internal::TSanWrite(&_impl_);
2863 if (_impl_.integers_ == nullptr) {
2864 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseBoolVectorProto>(GetArena());
2865 _impl_.integers_ = reinterpret_cast<::operations_research::math_opt::SparseBoolVectorProto*>(p);
2866 }
2867 return _impl_.integers_;
2868}
2869inline ::operations_research::math_opt::SparseBoolVectorProto* PROTOBUF_NONNULL VariableUpdatesProto::mutable_integers()
2870 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2871 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2872 ::operations_research::math_opt::SparseBoolVectorProto* _msg = _internal_mutable_integers();
2873 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.VariableUpdatesProto.integers)
2874 return _msg;
2875}
2877 ::google::protobuf::Arena* message_arena = GetArena();
2878 ::google::protobuf::internal::TSanWrite(&_impl_);
2879 if (message_arena == nullptr) {
2880 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.integers_);
2881 }
2882
2883 if (value != nullptr) {
2884 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2885 if (message_arena != submessage_arena) {
2886 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2887 }
2888 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2889 } else {
2890 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2891 }
2892
2893 _impl_.integers_ = reinterpret_cast<::operations_research::math_opt::SparseBoolVectorProto*>(value);
2894 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.VariableUpdatesProto.integers)
2896
2897// -------------------------------------------------------------------
2898
2899// ObjectiveUpdatesProto
2900
2901// optional bool direction_update = 1;
2903 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
2904 return value;
2905}
2907 ::google::protobuf::internal::TSanWrite(&_impl_);
2908 _impl_.direction_update_ = false;
2909 ClearHasBit(_impl_._has_bits_[0],
2910 0x00000010U);
2911}
2912inline bool ObjectiveUpdatesProto::direction_update() const {
2913 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.direction_update)
2914 return _internal_direction_update();
2915}
2916inline void ObjectiveUpdatesProto::set_direction_update(bool value) {
2917 _internal_set_direction_update(value);
2918 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2919 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveUpdatesProto.direction_update)
2920}
2921inline bool ObjectiveUpdatesProto::_internal_direction_update() const {
2922 ::google::protobuf::internal::TSanRead(&_impl_);
2923 return _impl_.direction_update_;
2924}
2925inline void ObjectiveUpdatesProto::_internal_set_direction_update(bool value) {
2926 ::google::protobuf::internal::TSanWrite(&_impl_);
2927 _impl_.direction_update_ = value;
2928}
2929
2930// optional double offset_update = 2;
2931inline bool ObjectiveUpdatesProto::has_offset_update() const {
2932 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2933 return value;
2934}
2936 ::google::protobuf::internal::TSanWrite(&_impl_);
2937 _impl_.offset_update_ = 0;
2938 ClearHasBit(_impl_._has_bits_[0],
2939 0x00000004U);
2940}
2941inline double ObjectiveUpdatesProto::offset_update() const {
2942 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.offset_update)
2943 return _internal_offset_update();
2944}
2945inline void ObjectiveUpdatesProto::set_offset_update(double value) {
2946 _internal_set_offset_update(value);
2947 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2948 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveUpdatesProto.offset_update)
2949}
2950inline double ObjectiveUpdatesProto::_internal_offset_update() const {
2951 ::google::protobuf::internal::TSanRead(&_impl_);
2952 return _impl_.offset_update_;
2953}
2954inline void ObjectiveUpdatesProto::_internal_set_offset_update(double value) {
2955 ::google::protobuf::internal::TSanWrite(&_impl_);
2956 _impl_.offset_update_ = value;
2957}
2958
2959// .operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
2961 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
2962 PROTOBUF_ASSUME(!value || _impl_.linear_coefficients_ != nullptr);
2963 return value;
2964}
2965inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveUpdatesProto::_internal_linear_coefficients() const {
2966 ::google::protobuf::internal::TSanRead(&_impl_);
2967 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_coefficients_;
2969}
2970inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveUpdatesProto::linear_coefficients() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2971 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
2972 return _internal_linear_coefficients();
2973}
2976 ::google::protobuf::internal::TSanWrite(&_impl_);
2977 if (GetArena() == nullptr) {
2978 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_coefficients_);
2979 }
2980 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2981 if (value != nullptr) {
2982 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2983 } else {
2984 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2985 }
2986 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
2987}
2988inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE ObjectiveUpdatesProto::release_linear_coefficients() {
2989 ::google::protobuf::internal::TSanWrite(&_impl_);
2991 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2993 _impl_.linear_coefficients_ = nullptr;
2994 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2995 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2996 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2997 if (GetArena() == nullptr) {
2998 delete old;
2999 }
3000 } else {
3001 if (GetArena() != nullptr) {
3002 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3003 }
3004 }
3005 return released;
3006}
3007inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE ObjectiveUpdatesProto::unsafe_arena_release_linear_coefficients() {
3008 ::google::protobuf::internal::TSanWrite(&_impl_);
3009 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
3010
3011 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3013 _impl_.linear_coefficients_ = nullptr;
3014 return temp;
3015}
3016inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveUpdatesProto::_internal_mutable_linear_coefficients() {
3017 ::google::protobuf::internal::TSanWrite(&_impl_);
3018 if (_impl_.linear_coefficients_ == nullptr) {
3019 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3020 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3021 }
3022 return _impl_.linear_coefficients_;
3023}
3024inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveUpdatesProto::mutable_linear_coefficients()
3025 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3026 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3027 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_linear_coefficients();
3028 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
3029 return _msg;
3030}
3032 ::google::protobuf::Arena* message_arena = GetArena();
3033 ::google::protobuf::internal::TSanWrite(&_impl_);
3034 if (message_arena == nullptr) {
3035 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_coefficients_);
3036 }
3037
3038 if (value != nullptr) {
3039 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3040 if (message_arena != submessage_arena) {
3041 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3042 }
3043 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3044 } else {
3045 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3046 }
3047
3048 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3049 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveUpdatesProto.linear_coefficients)
3050}
3052// .operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
3054 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
3055 PROTOBUF_ASSUME(!value || _impl_.quadratic_coefficients_ != nullptr);
3056 return value;
3057}
3058inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveUpdatesProto::_internal_quadratic_coefficients() const {
3059 ::google::protobuf::internal::TSanRead(&_impl_);
3060 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_coefficients_;
3062}
3063inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveUpdatesProto::quadratic_coefficients() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3064 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3065 return _internal_quadratic_coefficients();
3066}
3069 ::google::protobuf::internal::TSanWrite(&_impl_);
3070 if (GetArena() == nullptr) {
3071 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_coefficients_);
3072 }
3073 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3074 if (value != nullptr) {
3075 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3076 } else {
3077 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3078 }
3079 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3080}
3081inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ObjectiveUpdatesProto::release_quadratic_coefficients() {
3082 ::google::protobuf::internal::TSanWrite(&_impl_);
3084 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3085 ::operations_research::math_opt::SparseDoubleMatrixProto* released = _impl_.quadratic_coefficients_;
3086 _impl_.quadratic_coefficients_ = nullptr;
3087 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3088 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3089 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3090 if (GetArena() == nullptr) {
3091 delete old;
3092 }
3093 } else {
3094 if (GetArena() != nullptr) {
3095 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3096 }
3097 }
3098 return released;
3099}
3100inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ObjectiveUpdatesProto::unsafe_arena_release_quadratic_coefficients() {
3101 ::google::protobuf::internal::TSanWrite(&_impl_);
3102 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3103
3104 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3106 _impl_.quadratic_coefficients_ = nullptr;
3107 return temp;
3108}
3109inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveUpdatesProto::_internal_mutable_quadratic_coefficients() {
3110 ::google::protobuf::internal::TSanWrite(&_impl_);
3111 if (_impl_.quadratic_coefficients_ == nullptr) {
3112 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3113 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
3114 }
3115 return _impl_.quadratic_coefficients_;
3116}
3117inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveUpdatesProto::mutable_quadratic_coefficients()
3118 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3119 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3120 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_quadratic_coefficients();
3121 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3122 return _msg;
3123}
3125 ::google::protobuf::Arena* message_arena = GetArena();
3126 ::google::protobuf::internal::TSanWrite(&_impl_);
3127 if (message_arena == nullptr) {
3128 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_coefficients_);
3129 }
3130
3131 if (value != nullptr) {
3132 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3133 if (message_arena != submessage_arena) {
3134 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3135 }
3136 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3137 } else {
3138 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3139 }
3140
3141 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3142 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveUpdatesProto.quadratic_coefficients)
3143}
3145// optional int64 priority_update = 5;
3147 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
3148 return value;
3149}
3151 ::google::protobuf::internal::TSanWrite(&_impl_);
3152 _impl_.priority_update_ = ::int64_t{0};
3153 ClearHasBit(_impl_._has_bits_[0],
3154 0x00000008U);
3155}
3156inline ::int64_t ObjectiveUpdatesProto::priority_update() const {
3157 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveUpdatesProto.priority_update)
3158 return _internal_priority_update();
3159}
3160inline void ObjectiveUpdatesProto::set_priority_update(::int64_t value) {
3161 _internal_set_priority_update(value);
3162 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
3163 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveUpdatesProto.priority_update)
3164}
3165inline ::int64_t ObjectiveUpdatesProto::_internal_priority_update() const {
3166 ::google::protobuf::internal::TSanRead(&_impl_);
3167 return _impl_.priority_update_;
3168}
3169inline void ObjectiveUpdatesProto::_internal_set_priority_update(::int64_t value) {
3170 ::google::protobuf::internal::TSanWrite(&_impl_);
3171 _impl_.priority_update_ = value;
3172}
3173
3174// -------------------------------------------------------------------
3175
3176// -------------------------------------------------------------------
3177
3178// -------------------------------------------------------------------
3179
3180// AuxiliaryObjectivesUpdatesProto
3181
3182// repeated int64 deleted_objective_ids = 1;
3183inline int AuxiliaryObjectivesUpdatesProto::_internal_deleted_objective_ids_size() const {
3184 return _internal_deleted_objective_ids().size();
3185}
3187 return _internal_deleted_objective_ids_size();
3188}
3190 ::google::protobuf::internal::TSanWrite(&_impl_);
3191 _impl_.deleted_objective_ids_.Clear();
3192 ClearHasBitForRepeated(_impl_._has_bits_[0],
3193 0x00000001U);
3194}
3195inline ::int64_t AuxiliaryObjectivesUpdatesProto::deleted_objective_ids(int index) const {
3196 // @@protoc_insertion_point(field_get:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3197 return _internal_deleted_objective_ids().Get(index);
3198}
3199inline void AuxiliaryObjectivesUpdatesProto::set_deleted_objective_ids(int index, ::int64_t value) {
3200 _internal_mutable_deleted_objective_ids()->Set(index, value);
3201 // @@protoc_insertion_point(field_set:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3202}
3204 ::google::protobuf::internal::TSanWrite(&_impl_);
3205 _internal_mutable_deleted_objective_ids()->Add(value);
3206 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3207 // @@protoc_insertion_point(field_add:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3208}
3209inline const ::google::protobuf::RepeatedField<::int64_t>& AuxiliaryObjectivesUpdatesProto::deleted_objective_ids() const
3210 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3211 // @@protoc_insertion_point(field_list:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3212 return _internal_deleted_objective_ids();
3213}
3214inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::mutable_deleted_objective_ids()
3215 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3216 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3217 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.deleted_objective_ids)
3218 ::google::protobuf::internal::TSanWrite(&_impl_);
3219 return _internal_mutable_deleted_objective_ids();
3220}
3221inline const ::google::protobuf::RepeatedField<::int64_t>&
3222AuxiliaryObjectivesUpdatesProto::_internal_deleted_objective_ids() const {
3223 ::google::protobuf::internal::TSanRead(&_impl_);
3224 return _impl_.deleted_objective_ids_;
3225}
3226inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3227AuxiliaryObjectivesUpdatesProto::_internal_mutable_deleted_objective_ids() {
3228 ::google::protobuf::internal::TSanRead(&_impl_);
3229 return &_impl_.deleted_objective_ids_;
3230}
3231
3232// map<int64, .operations_research.math_opt.ObjectiveProto> new_objectives = 2;
3233inline int AuxiliaryObjectivesUpdatesProto::_internal_new_objectives_size() const {
3234 return _internal_new_objectives().size();
3235}
3237 return _internal_new_objectives_size();
3238}
3239inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& AuxiliaryObjectivesUpdatesProto::_internal_new_objectives() const {
3240 ::google::protobuf::internal::TSanRead(&_impl_);
3241 return _impl_.new_objectives_.GetMap();
3242}
3243inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& AuxiliaryObjectivesUpdatesProto::new_objectives() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3244 // @@protoc_insertion_point(field_map:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.new_objectives)
3245 return _internal_new_objectives();
3246}
3247inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::_internal_mutable_new_objectives() {
3248 ::google::protobuf::internal::TSanWrite(&_impl_);
3249 return _impl_.new_objectives_.MutableMap();
3250}
3251inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::mutable_new_objectives()
3252 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3253 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3254 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.new_objectives)
3255 return _internal_mutable_new_objectives();
3256}
3257
3258// map<int64, .operations_research.math_opt.ObjectiveUpdatesProto> objective_updates = 3;
3259inline int AuxiliaryObjectivesUpdatesProto::_internal_objective_updates_size() const {
3260 return _internal_objective_updates().size();
3261}
3263 return _internal_objective_updates_size();
3264}
3266 ::google::protobuf::internal::TSanWrite(&_impl_);
3267 _impl_.objective_updates_.Clear();
3268 ClearHasBitForRepeated(_impl_._has_bits_[0],
3269 0x00000004U);
3270}
3271inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>& AuxiliaryObjectivesUpdatesProto::_internal_objective_updates() const {
3272 ::google::protobuf::internal::TSanRead(&_impl_);
3273 return _impl_.objective_updates_.GetMap();
3275inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>& AuxiliaryObjectivesUpdatesProto::objective_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3276 // @@protoc_insertion_point(field_map:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.objective_updates)
3277 return _internal_objective_updates();
3278}
3279inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::_internal_mutable_objective_updates() {
3280 ::google::protobuf::internal::TSanWrite(&_impl_);
3281 return _impl_.objective_updates_.MutableMap();
3282}
3283inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveUpdatesProto>* PROTOBUF_NONNULL AuxiliaryObjectivesUpdatesProto::mutable_objective_updates()
3284 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3285 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
3286 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.AuxiliaryObjectivesUpdatesProto.objective_updates)
3287 return _internal_mutable_objective_updates();
3289
3290// -------------------------------------------------------------------
3291
3292// LinearConstraintUpdatesProto
3293
3294// .operations_research.math_opt.SparseDoubleVectorProto lower_bounds = 1;
3296 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
3297 PROTOBUF_ASSUME(!value || _impl_.lower_bounds_ != nullptr);
3298 return value;
3299}
3300inline const ::operations_research::math_opt::SparseDoubleVectorProto& LinearConstraintUpdatesProto::_internal_lower_bounds() const {
3301 ::google::protobuf::internal::TSanRead(&_impl_);
3302 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.lower_bounds_;
3304}
3305inline const ::operations_research::math_opt::SparseDoubleVectorProto& LinearConstraintUpdatesProto::lower_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3306 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3307 return _internal_lower_bounds();
3308}
3311 ::google::protobuf::internal::TSanWrite(&_impl_);
3312 if (GetArena() == nullptr) {
3313 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lower_bounds_);
3314 }
3315 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3316 if (value != nullptr) {
3317 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3318 } else {
3319 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3320 }
3321 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3322}
3323inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE LinearConstraintUpdatesProto::release_lower_bounds() {
3324 ::google::protobuf::internal::TSanWrite(&_impl_);
3325
3326 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3327 ::operations_research::math_opt::SparseDoubleVectorProto* released = _impl_.lower_bounds_;
3328 _impl_.lower_bounds_ = nullptr;
3329 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3330 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3331 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3332 if (GetArena() == nullptr) {
3333 delete old;
3334 }
3335 } else {
3336 if (GetArena() != nullptr) {
3337 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3338 }
3339 }
3340 return released;
3341}
3342inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE LinearConstraintUpdatesProto::unsafe_arena_release_lower_bounds() {
3343 ::google::protobuf::internal::TSanWrite(&_impl_);
3344 // @@protoc_insertion_point(field_release:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3345
3346 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3348 _impl_.lower_bounds_ = nullptr;
3349 return temp;
3350}
3351inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL LinearConstraintUpdatesProto::_internal_mutable_lower_bounds() {
3352 ::google::protobuf::internal::TSanWrite(&_impl_);
3353 if (_impl_.lower_bounds_ == nullptr) {
3354 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3355 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3356 }
3357 return _impl_.lower_bounds_;
3358}
3359inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL LinearConstraintUpdatesProto::mutable_lower_bounds()
3360 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3361 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3362 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_lower_bounds();
3363 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3364 return _msg;
3365}
3367 ::google::protobuf::Arena* message_arena = GetArena();
3368 ::google::protobuf::internal::TSanWrite(&_impl_);
3369 if (message_arena == nullptr) {
3370 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lower_bounds_);
3371 }
3372
3373 if (value != nullptr) {
3374 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3375 if (message_arena != submessage_arena) {
3376 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3377 }
3378 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3379 } else {
3380 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3381 }
3382
3383 _impl_.lower_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3384 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.LinearConstraintUpdatesProto.lower_bounds)
3385}
3386
3387// .operations_research.math_opt.SparseDoubleVectorProto upper_bounds = 2;
3389 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
3390 PROTOBUF_ASSUME(!value || _impl_.upper_bounds_ != nullptr);
3391 return value;
3392}
3393inline const ::operations_research::math_opt::SparseDoubleVectorProto& LinearConstraintUpdatesProto::_internal_upper_bounds() const {
3394 ::google::protobuf::internal::TSanRead(&_impl_);
3395 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.upper_bounds_;
3397}
3398inline const ::operations_research::math_opt::SparseDoubleVectorProto& LinearConstraintUpdatesProto::upper_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3399 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3400 return _internal_upper_bounds();
3401}
3404 ::google::protobuf::internal::TSanWrite(&_impl_);
3405 if (GetArena() == nullptr) {
3406 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bounds_);
3407 }
3408 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3409 if (value != nullptr) {
3410 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3411 } else {
3412 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3413 }
3414 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3415}
3416inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE LinearConstraintUpdatesProto::release_upper_bounds() {
3417 ::google::protobuf::internal::TSanWrite(&_impl_);
3418
3419 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3420 ::operations_research::math_opt::SparseDoubleVectorProto* released = _impl_.upper_bounds_;
3421 _impl_.upper_bounds_ = nullptr;
3422 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3423 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3424 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3425 if (GetArena() == nullptr) {
3426 delete old;
3427 }
3428 } else {
3429 if (GetArena() != nullptr) {
3430 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3431 }
3432 }
3433 return released;
3434}
3435inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE LinearConstraintUpdatesProto::unsafe_arena_release_upper_bounds() {
3436 ::google::protobuf::internal::TSanWrite(&_impl_);
3437 // @@protoc_insertion_point(field_release:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3438
3439 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3441 _impl_.upper_bounds_ = nullptr;
3442 return temp;
3443}
3444inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL LinearConstraintUpdatesProto::_internal_mutable_upper_bounds() {
3445 ::google::protobuf::internal::TSanWrite(&_impl_);
3446 if (_impl_.upper_bounds_ == nullptr) {
3447 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3448 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3449 }
3450 return _impl_.upper_bounds_;
3451}
3452inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL LinearConstraintUpdatesProto::mutable_upper_bounds()
3453 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3454 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3455 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_upper_bounds();
3456 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3457 return _msg;
3458}
3460 ::google::protobuf::Arena* message_arena = GetArena();
3461 ::google::protobuf::internal::TSanWrite(&_impl_);
3462 if (message_arena == nullptr) {
3463 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bounds_);
3464 }
3465
3466 if (value != nullptr) {
3467 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3468 if (message_arena != submessage_arena) {
3469 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3470 }
3471 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3472 } else {
3473 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3474 }
3475
3476 _impl_.upper_bounds_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3477 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.LinearConstraintUpdatesProto.upper_bounds)
3478}
3479
3480// -------------------------------------------------------------------
3481
3482// -------------------------------------------------------------------
3484// QuadraticConstraintUpdatesProto
3485
3486// repeated int64 deleted_constraint_ids = 1;
3487inline int QuadraticConstraintUpdatesProto::_internal_deleted_constraint_ids_size() const {
3488 return _internal_deleted_constraint_ids().size();
3489}
3491 return _internal_deleted_constraint_ids_size();
3492}
3494 ::google::protobuf::internal::TSanWrite(&_impl_);
3495 _impl_.deleted_constraint_ids_.Clear();
3496 ClearHasBitForRepeated(_impl_._has_bits_[0],
3497 0x00000001U);
3498}
3499inline ::int64_t QuadraticConstraintUpdatesProto::deleted_constraint_ids(int index) const {
3500 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3501 return _internal_deleted_constraint_ids().Get(index);
3502}
3503inline void QuadraticConstraintUpdatesProto::set_deleted_constraint_ids(int index, ::int64_t value) {
3504 _internal_mutable_deleted_constraint_ids()->Set(index, value);
3505 // @@protoc_insertion_point(field_set:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3506}
3508 ::google::protobuf::internal::TSanWrite(&_impl_);
3509 _internal_mutable_deleted_constraint_ids()->Add(value);
3510 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3511 // @@protoc_insertion_point(field_add:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3512}
3513inline const ::google::protobuf::RepeatedField<::int64_t>& QuadraticConstraintUpdatesProto::deleted_constraint_ids() const
3514 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3515 // @@protoc_insertion_point(field_list:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3516 return _internal_deleted_constraint_ids();
3517}
3518inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL QuadraticConstraintUpdatesProto::mutable_deleted_constraint_ids()
3519 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3520 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3521 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.QuadraticConstraintUpdatesProto.deleted_constraint_ids)
3522 ::google::protobuf::internal::TSanWrite(&_impl_);
3523 return _internal_mutable_deleted_constraint_ids();
3524}
3525inline const ::google::protobuf::RepeatedField<::int64_t>&
3526QuadraticConstraintUpdatesProto::_internal_deleted_constraint_ids() const {
3527 ::google::protobuf::internal::TSanRead(&_impl_);
3528 return _impl_.deleted_constraint_ids_;
3530inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3531QuadraticConstraintUpdatesProto::_internal_mutable_deleted_constraint_ids() {
3532 ::google::protobuf::internal::TSanRead(&_impl_);
3533 return &_impl_.deleted_constraint_ids_;
3534}
3535
3536// map<int64, .operations_research.math_opt.QuadraticConstraintProto> new_constraints = 2;
3537inline int QuadraticConstraintUpdatesProto::_internal_new_constraints_size() const {
3538 return _internal_new_constraints().size();
3541 return _internal_new_constraints_size();
3542}
3543inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& QuadraticConstraintUpdatesProto::_internal_new_constraints() const {
3544 ::google::protobuf::internal::TSanRead(&_impl_);
3545 return _impl_.new_constraints_.GetMap();
3546}
3547inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& QuadraticConstraintUpdatesProto::new_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3548 // @@protoc_insertion_point(field_map:operations_research.math_opt.QuadraticConstraintUpdatesProto.new_constraints)
3549 return _internal_new_constraints();
3550}
3551inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL QuadraticConstraintUpdatesProto::_internal_mutable_new_constraints() {
3552 ::google::protobuf::internal::TSanWrite(&_impl_);
3553 return _impl_.new_constraints_.MutableMap();
3554}
3555inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL QuadraticConstraintUpdatesProto::mutable_new_constraints()
3556 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3557 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3558 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.QuadraticConstraintUpdatesProto.new_constraints)
3559 return _internal_mutable_new_constraints();
3560}
3561
3562// -------------------------------------------------------------------
3563
3564// -------------------------------------------------------------------
3565
3566// SecondOrderConeConstraintUpdatesProto
3567
3568// repeated int64 deleted_constraint_ids = 1;
3569inline int SecondOrderConeConstraintUpdatesProto::_internal_deleted_constraint_ids_size() const {
3570 return _internal_deleted_constraint_ids().size();
3571}
3573 return _internal_deleted_constraint_ids_size();
3574}
3576 ::google::protobuf::internal::TSanWrite(&_impl_);
3577 _impl_.deleted_constraint_ids_.Clear();
3578 ClearHasBitForRepeated(_impl_._has_bits_[0],
3579 0x00000001U);
3580}
3582 // @@protoc_insertion_point(field_get:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3583 return _internal_deleted_constraint_ids().Get(index);
3584}
3585inline void SecondOrderConeConstraintUpdatesProto::set_deleted_constraint_ids(int index, ::int64_t value) {
3586 _internal_mutable_deleted_constraint_ids()->Set(index, value);
3587 // @@protoc_insertion_point(field_set:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3588}
3590 ::google::protobuf::internal::TSanWrite(&_impl_);
3591 _internal_mutable_deleted_constraint_ids()->Add(value);
3592 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3593 // @@protoc_insertion_point(field_add:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3594}
3595inline const ::google::protobuf::RepeatedField<::int64_t>& SecondOrderConeConstraintUpdatesProto::deleted_constraint_ids() const
3596 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3597 // @@protoc_insertion_point(field_list:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3598 return _internal_deleted_constraint_ids();
3599}
3600inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL SecondOrderConeConstraintUpdatesProto::mutable_deleted_constraint_ids()
3601 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3602 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3603 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.deleted_constraint_ids)
3604 ::google::protobuf::internal::TSanWrite(&_impl_);
3605 return _internal_mutable_deleted_constraint_ids();
3606}
3607inline const ::google::protobuf::RepeatedField<::int64_t>&
3608SecondOrderConeConstraintUpdatesProto::_internal_deleted_constraint_ids() const {
3609 ::google::protobuf::internal::TSanRead(&_impl_);
3610 return _impl_.deleted_constraint_ids_;
3611}
3612inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3613SecondOrderConeConstraintUpdatesProto::_internal_mutable_deleted_constraint_ids() {
3614 ::google::protobuf::internal::TSanRead(&_impl_);
3615 return &_impl_.deleted_constraint_ids_;
3616}
3618// map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> new_constraints = 2;
3619inline int SecondOrderConeConstraintUpdatesProto::_internal_new_constraints_size() const {
3620 return _internal_new_constraints().size();
3621}
3623 return _internal_new_constraints_size();
3624}
3625inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& SecondOrderConeConstraintUpdatesProto::_internal_new_constraints() const {
3626 ::google::protobuf::internal::TSanRead(&_impl_);
3627 return _impl_.new_constraints_.GetMap();
3629inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& SecondOrderConeConstraintUpdatesProto::new_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3630 // @@protoc_insertion_point(field_map:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.new_constraints)
3631 return _internal_new_constraints();
3632}
3633inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL SecondOrderConeConstraintUpdatesProto::_internal_mutable_new_constraints() {
3634 ::google::protobuf::internal::TSanWrite(&_impl_);
3635 return _impl_.new_constraints_.MutableMap();
3636}
3637inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL SecondOrderConeConstraintUpdatesProto::mutable_new_constraints()
3638 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3639 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3640 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.SecondOrderConeConstraintUpdatesProto.new_constraints)
3641 return _internal_mutable_new_constraints();
3642}
3643
3644// -------------------------------------------------------------------
3645
3646// -------------------------------------------------------------------
3647
3648// SosConstraintUpdatesProto
3649
3650// repeated int64 deleted_constraint_ids = 1;
3651inline int SosConstraintUpdatesProto::_internal_deleted_constraint_ids_size() const {
3652 return _internal_deleted_constraint_ids().size();
3653}
3655 return _internal_deleted_constraint_ids_size();
3656}
3658 ::google::protobuf::internal::TSanWrite(&_impl_);
3659 _impl_.deleted_constraint_ids_.Clear();
3660 ClearHasBitForRepeated(_impl_._has_bits_[0],
3661 0x00000001U);
3662}
3663inline ::int64_t SosConstraintUpdatesProto::deleted_constraint_ids(int index) const {
3664 // @@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3665 return _internal_deleted_constraint_ids().Get(index);
3666}
3667inline void SosConstraintUpdatesProto::set_deleted_constraint_ids(int index, ::int64_t value) {
3668 _internal_mutable_deleted_constraint_ids()->Set(index, value);
3669 // @@protoc_insertion_point(field_set:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3670}
3671inline void SosConstraintUpdatesProto::add_deleted_constraint_ids(::int64_t value) {
3672 ::google::protobuf::internal::TSanWrite(&_impl_);
3673 _internal_mutable_deleted_constraint_ids()->Add(value);
3674 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3675 // @@protoc_insertion_point(field_add:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3676}
3677inline const ::google::protobuf::RepeatedField<::int64_t>& SosConstraintUpdatesProto::deleted_constraint_ids() const
3678 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3679 // @@protoc_insertion_point(field_list:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3680 return _internal_deleted_constraint_ids();
3681}
3682inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL SosConstraintUpdatesProto::mutable_deleted_constraint_ids()
3683 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3684 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3685 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SosConstraintUpdatesProto.deleted_constraint_ids)
3686 ::google::protobuf::internal::TSanWrite(&_impl_);
3687 return _internal_mutable_deleted_constraint_ids();
3688}
3689inline const ::google::protobuf::RepeatedField<::int64_t>&
3690SosConstraintUpdatesProto::_internal_deleted_constraint_ids() const {
3691 ::google::protobuf::internal::TSanRead(&_impl_);
3692 return _impl_.deleted_constraint_ids_;
3694inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3695SosConstraintUpdatesProto::_internal_mutable_deleted_constraint_ids() {
3696 ::google::protobuf::internal::TSanRead(&_impl_);
3697 return &_impl_.deleted_constraint_ids_;
3698}
3699
3700// map<int64, .operations_research.math_opt.SosConstraintProto> new_constraints = 2;
3701inline int SosConstraintUpdatesProto::_internal_new_constraints_size() const {
3702 return _internal_new_constraints().size();
3703}
3705 return _internal_new_constraints_size();
3706}
3707inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& SosConstraintUpdatesProto::_internal_new_constraints() const {
3708 ::google::protobuf::internal::TSanRead(&_impl_);
3709 return _impl_.new_constraints_.GetMap();
3710}
3711inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& SosConstraintUpdatesProto::new_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3712 // @@protoc_insertion_point(field_map:operations_research.math_opt.SosConstraintUpdatesProto.new_constraints)
3713 return _internal_new_constraints();
3714}
3715inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL SosConstraintUpdatesProto::_internal_mutable_new_constraints() {
3716 ::google::protobuf::internal::TSanWrite(&_impl_);
3717 return _impl_.new_constraints_.MutableMap();
3718}
3719inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL SosConstraintUpdatesProto::mutable_new_constraints()
3720 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3721 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3722 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.SosConstraintUpdatesProto.new_constraints)
3723 return _internal_mutable_new_constraints();
3724}
3725
3726// -------------------------------------------------------------------
3727
3728// -------------------------------------------------------------------
3729
3730// IndicatorConstraintUpdatesProto
3731
3732// repeated int64 deleted_constraint_ids = 1;
3733inline int IndicatorConstraintUpdatesProto::_internal_deleted_constraint_ids_size() const {
3734 return _internal_deleted_constraint_ids().size();
3735}
3737 return _internal_deleted_constraint_ids_size();
3738}
3740 ::google::protobuf::internal::TSanWrite(&_impl_);
3741 _impl_.deleted_constraint_ids_.Clear();
3742 ClearHasBitForRepeated(_impl_._has_bits_[0],
3743 0x00000001U);
3744}
3745inline ::int64_t IndicatorConstraintUpdatesProto::deleted_constraint_ids(int index) const {
3746 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3747 return _internal_deleted_constraint_ids().Get(index);
3748}
3750 _internal_mutable_deleted_constraint_ids()->Set(index, value);
3751 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3752}
3754 ::google::protobuf::internal::TSanWrite(&_impl_);
3755 _internal_mutable_deleted_constraint_ids()->Add(value);
3756 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3757 // @@protoc_insertion_point(field_add:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3758}
3759inline const ::google::protobuf::RepeatedField<::int64_t>& IndicatorConstraintUpdatesProto::deleted_constraint_ids() const
3760 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3761 // @@protoc_insertion_point(field_list:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3762 return _internal_deleted_constraint_ids();
3763}
3764inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL IndicatorConstraintUpdatesProto::mutable_deleted_constraint_ids()
3765 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3766 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3767 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.IndicatorConstraintUpdatesProto.deleted_constraint_ids)
3768 ::google::protobuf::internal::TSanWrite(&_impl_);
3769 return _internal_mutable_deleted_constraint_ids();
3770}
3771inline const ::google::protobuf::RepeatedField<::int64_t>&
3772IndicatorConstraintUpdatesProto::_internal_deleted_constraint_ids() const {
3773 ::google::protobuf::internal::TSanRead(&_impl_);
3774 return _impl_.deleted_constraint_ids_;
3775}
3776inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3777IndicatorConstraintUpdatesProto::_internal_mutable_deleted_constraint_ids() {
3778 ::google::protobuf::internal::TSanRead(&_impl_);
3779 return &_impl_.deleted_constraint_ids_;
3780}
3782// map<int64, .operations_research.math_opt.IndicatorConstraintProto> new_constraints = 2;
3783inline int IndicatorConstraintUpdatesProto::_internal_new_constraints_size() const {
3784 return _internal_new_constraints().size();
3787 return _internal_new_constraints_size();
3788}
3789inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& IndicatorConstraintUpdatesProto::_internal_new_constraints() const {
3790 ::google::protobuf::internal::TSanRead(&_impl_);
3791 return _impl_.new_constraints_.GetMap();
3792}
3793inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& IndicatorConstraintUpdatesProto::new_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3794 // @@protoc_insertion_point(field_map:operations_research.math_opt.IndicatorConstraintUpdatesProto.new_constraints)
3795 return _internal_new_constraints();
3797inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL IndicatorConstraintUpdatesProto::_internal_mutable_new_constraints() {
3798 ::google::protobuf::internal::TSanWrite(&_impl_);
3799 return _impl_.new_constraints_.MutableMap();
3800}
3801inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL IndicatorConstraintUpdatesProto::mutable_new_constraints()
3802 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3803 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3804 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.IndicatorConstraintUpdatesProto.new_constraints)
3805 return _internal_mutable_new_constraints();
3806}
3807
3808// -------------------------------------------------------------------
3809
3810// ModelUpdateProto
3811
3812// repeated int64 deleted_variable_ids = 1;
3813inline int ModelUpdateProto::_internal_deleted_variable_ids_size() const {
3814 return _internal_deleted_variable_ids().size();
3815}
3817 return _internal_deleted_variable_ids_size();
3820 ::google::protobuf::internal::TSanWrite(&_impl_);
3821 _impl_.deleted_variable_ids_.Clear();
3822 ClearHasBitForRepeated(_impl_._has_bits_[0],
3823 0x00000001U);
3824}
3825inline ::int64_t ModelUpdateProto::deleted_variable_ids(int index) const {
3826 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3827 return _internal_deleted_variable_ids().Get(index);
3828}
3829inline void ModelUpdateProto::set_deleted_variable_ids(int index, ::int64_t value) {
3830 _internal_mutable_deleted_variable_ids()->Set(index, value);
3831 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3832}
3834 ::google::protobuf::internal::TSanWrite(&_impl_);
3835 _internal_mutable_deleted_variable_ids()->Add(value);
3836 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3837 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3838}
3839inline const ::google::protobuf::RepeatedField<::int64_t>& ModelUpdateProto::deleted_variable_ids() const
3840 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3841 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3842 return _internal_deleted_variable_ids();
3843}
3844inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelUpdateProto::mutable_deleted_variable_ids()
3845 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3846 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3847 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelUpdateProto.deleted_variable_ids)
3848 ::google::protobuf::internal::TSanWrite(&_impl_);
3849 return _internal_mutable_deleted_variable_ids();
3850}
3851inline const ::google::protobuf::RepeatedField<::int64_t>&
3852ModelUpdateProto::_internal_deleted_variable_ids() const {
3853 ::google::protobuf::internal::TSanRead(&_impl_);
3854 return _impl_.deleted_variable_ids_;
3855}
3856inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3857ModelUpdateProto::_internal_mutable_deleted_variable_ids() {
3858 ::google::protobuf::internal::TSanRead(&_impl_);
3859 return &_impl_.deleted_variable_ids_;
3860}
3861
3862// repeated int64 deleted_linear_constraint_ids = 2;
3863inline int ModelUpdateProto::_internal_deleted_linear_constraint_ids_size() const {
3864 return _internal_deleted_linear_constraint_ids().size();
3865}
3867 return _internal_deleted_linear_constraint_ids_size();
3868}
3870 ::google::protobuf::internal::TSanWrite(&_impl_);
3871 _impl_.deleted_linear_constraint_ids_.Clear();
3872 ClearHasBitForRepeated(_impl_._has_bits_[0],
3873 0x00000002U);
3874}
3875inline ::int64_t ModelUpdateProto::deleted_linear_constraint_ids(int index) const {
3876 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3877 return _internal_deleted_linear_constraint_ids().Get(index);
3878}
3879inline void ModelUpdateProto::set_deleted_linear_constraint_ids(int index, ::int64_t value) {
3880 _internal_mutable_deleted_linear_constraint_ids()->Set(index, value);
3881 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3882}
3883inline void ModelUpdateProto::add_deleted_linear_constraint_ids(::int64_t value) {
3884 ::google::protobuf::internal::TSanWrite(&_impl_);
3885 _internal_mutable_deleted_linear_constraint_ids()->Add(value);
3886 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3887 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3888}
3889inline const ::google::protobuf::RepeatedField<::int64_t>& ModelUpdateProto::deleted_linear_constraint_ids() const
3890 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3891 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3892 return _internal_deleted_linear_constraint_ids();
3893}
3894inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelUpdateProto::mutable_deleted_linear_constraint_ids()
3895 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3896 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3897 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelUpdateProto.deleted_linear_constraint_ids)
3898 ::google::protobuf::internal::TSanWrite(&_impl_);
3899 return _internal_mutable_deleted_linear_constraint_ids();
3900}
3901inline const ::google::protobuf::RepeatedField<::int64_t>&
3902ModelUpdateProto::_internal_deleted_linear_constraint_ids() const {
3903 ::google::protobuf::internal::TSanRead(&_impl_);
3904 return _impl_.deleted_linear_constraint_ids_;
3905}
3906inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3907ModelUpdateProto::_internal_mutable_deleted_linear_constraint_ids() {
3908 ::google::protobuf::internal::TSanRead(&_impl_);
3909 return &_impl_.deleted_linear_constraint_ids_;
3910}
3911
3912// .operations_research.math_opt.VariableUpdatesProto variable_updates = 3;
3913inline bool ModelUpdateProto::has_variable_updates() const {
3914 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
3915 PROTOBUF_ASSUME(!value || _impl_.variable_updates_ != nullptr);
3916 return value;
3917}
3919 ::google::protobuf::internal::TSanWrite(&_impl_);
3920 if (_impl_.variable_updates_ != nullptr) _impl_.variable_updates_->Clear();
3921 ClearHasBit(_impl_._has_bits_[0],
3922 0x00000004U);
3923}
3924inline const ::operations_research::math_opt::VariableUpdatesProto& ModelUpdateProto::_internal_variable_updates() const {
3925 ::google::protobuf::internal::TSanRead(&_impl_);
3926 const ::operations_research::math_opt::VariableUpdatesProto* p = _impl_.variable_updates_;
3928}
3929inline const ::operations_research::math_opt::VariableUpdatesProto& ModelUpdateProto::variable_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3930 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.variable_updates)
3931 return _internal_variable_updates();
3932}
3935 ::google::protobuf::internal::TSanWrite(&_impl_);
3936 if (GetArena() == nullptr) {
3937 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.variable_updates_);
3938 }
3939 _impl_.variable_updates_ = reinterpret_cast<::operations_research::math_opt::VariableUpdatesProto*>(value);
3940 if (value != nullptr) {
3941 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3942 } else {
3943 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3944 }
3945 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.variable_updates)
3947inline ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_variable_updates() {
3948 ::google::protobuf::internal::TSanWrite(&_impl_);
3949
3950 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3952 _impl_.variable_updates_ = nullptr;
3953 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3954 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3955 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3956 if (GetArena() == nullptr) {
3957 delete old;
3958 }
3959 } else {
3960 if (GetArena() != nullptr) {
3961 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3963 }
3964 return released;
3965}
3966inline ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_variable_updates() {
3967 ::google::protobuf::internal::TSanWrite(&_impl_);
3968 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.variable_updates)
3969
3970 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3972 _impl_.variable_updates_ = nullptr;
3973 return temp;
3974}
3975inline ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_variable_updates() {
3976 ::google::protobuf::internal::TSanWrite(&_impl_);
3977 if (_impl_.variable_updates_ == nullptr) {
3978 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::VariableUpdatesProto>(GetArena());
3979 _impl_.variable_updates_ = reinterpret_cast<::operations_research::math_opt::VariableUpdatesProto*>(p);
3981 return _impl_.variable_updates_;
3982}
3983inline ::operations_research::math_opt::VariableUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_variable_updates()
3984 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3985 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3986 ::operations_research::math_opt::VariableUpdatesProto* _msg = _internal_mutable_variable_updates();
3987 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.variable_updates)
3988 return _msg;
3989}
3991 ::google::protobuf::Arena* message_arena = GetArena();
3992 ::google::protobuf::internal::TSanWrite(&_impl_);
3993 if (message_arena == nullptr) {
3994 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.variable_updates_);
3995 }
3996
3997 if (value != nullptr) {
3998 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3999 if (message_arena != submessage_arena) {
4000 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4001 }
4002 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4003 } else {
4004 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4005 }
4006
4007 _impl_.variable_updates_ = reinterpret_cast<::operations_research::math_opt::VariableUpdatesProto*>(value);
4008 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.variable_updates)
4009}
4010
4011// .operations_research.math_opt.LinearConstraintUpdatesProto linear_constraint_updates = 4;
4013 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
4014 PROTOBUF_ASSUME(!value || _impl_.linear_constraint_updates_ != nullptr);
4015 return value;
4018 ::google::protobuf::internal::TSanWrite(&_impl_);
4019 if (_impl_.linear_constraint_updates_ != nullptr) _impl_.linear_constraint_updates_->Clear();
4020 ClearHasBit(_impl_._has_bits_[0],
4021 0x00000008U);
4022}
4023inline const ::operations_research::math_opt::LinearConstraintUpdatesProto& ModelUpdateProto::_internal_linear_constraint_updates() const {
4024 ::google::protobuf::internal::TSanRead(&_impl_);
4025 const ::operations_research::math_opt::LinearConstraintUpdatesProto* p = _impl_.linear_constraint_updates_;
4027}
4028inline const ::operations_research::math_opt::LinearConstraintUpdatesProto& ModelUpdateProto::linear_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4029 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
4030 return _internal_linear_constraint_updates();
4031}
4034 ::google::protobuf::internal::TSanWrite(&_impl_);
4035 if (GetArena() == nullptr) {
4036 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_updates_);
4037 }
4038 _impl_.linear_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintUpdatesProto*>(value);
4039 if (value != nullptr) {
4040 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4041 } else {
4042 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4043 }
4044 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
4046inline ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_linear_constraint_updates() {
4047 ::google::protobuf::internal::TSanWrite(&_impl_);
4048
4049 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4051 _impl_.linear_constraint_updates_ = nullptr;
4052 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4053 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4054 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4055 if (GetArena() == nullptr) {
4056 delete old;
4057 }
4058 } else {
4059 if (GetArena() != nullptr) {
4060 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4062 }
4063 return released;
4064}
4065inline ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_linear_constraint_updates() {
4066 ::google::protobuf::internal::TSanWrite(&_impl_);
4067 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
4068
4069 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4071 _impl_.linear_constraint_updates_ = nullptr;
4072 return temp;
4073}
4074inline ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_linear_constraint_updates() {
4075 ::google::protobuf::internal::TSanWrite(&_impl_);
4076 if (_impl_.linear_constraint_updates_ == nullptr) {
4077 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearConstraintUpdatesProto>(GetArena());
4078 _impl_.linear_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintUpdatesProto*>(p);
4080 return _impl_.linear_constraint_updates_;
4081}
4082inline ::operations_research::math_opt::LinearConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_linear_constraint_updates()
4083 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4084 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4085 ::operations_research::math_opt::LinearConstraintUpdatesProto* _msg = _internal_mutable_linear_constraint_updates();
4086 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
4087 return _msg;
4088}
4090 ::google::protobuf::Arena* message_arena = GetArena();
4091 ::google::protobuf::internal::TSanWrite(&_impl_);
4092 if (message_arena == nullptr) {
4093 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_updates_);
4094 }
4095
4096 if (value != nullptr) {
4097 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4098 if (message_arena != submessage_arena) {
4099 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4100 }
4101 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4102 } else {
4103 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4104 }
4105
4106 _impl_.linear_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintUpdatesProto*>(value);
4107 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.linear_constraint_updates)
4108}
4109
4110// .operations_research.math_opt.VariablesProto new_variables = 5;
4111inline bool ModelUpdateProto::has_new_variables() const {
4112 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
4113 PROTOBUF_ASSUME(!value || _impl_.new_variables_ != nullptr);
4114 return value;
4116inline const ::operations_research::math_opt::VariablesProto& ModelUpdateProto::_internal_new_variables() const {
4117 ::google::protobuf::internal::TSanRead(&_impl_);
4118 const ::operations_research::math_opt::VariablesProto* p = _impl_.new_variables_;
4120}
4121inline const ::operations_research::math_opt::VariablesProto& ModelUpdateProto::new_variables() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4122 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.new_variables)
4123 return _internal_new_variables();
4124}
4126 ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE value) {
4127 ::google::protobuf::internal::TSanWrite(&_impl_);
4128 if (GetArena() == nullptr) {
4129 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_variables_);
4130 }
4131 _impl_.new_variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(value);
4132 if (value != nullptr) {
4133 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4134 } else {
4135 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4136 }
4137 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.new_variables)
4138}
4139inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_new_variables() {
4140 ::google::protobuf::internal::TSanWrite(&_impl_);
4141
4142 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4143 ::operations_research::math_opt::VariablesProto* released = _impl_.new_variables_;
4144 _impl_.new_variables_ = nullptr;
4145 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4146 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4147 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4148 if (GetArena() == nullptr) {
4149 delete old;
4150 }
4151 } else {
4152 if (GetArena() != nullptr) {
4153 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4155 }
4156 return released;
4157}
4158inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_new_variables() {
4159 ::google::protobuf::internal::TSanWrite(&_impl_);
4160 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.new_variables)
4161
4162 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4164 _impl_.new_variables_ = nullptr;
4165 return temp;
4166}
4167inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_new_variables() {
4168 ::google::protobuf::internal::TSanWrite(&_impl_);
4169 if (_impl_.new_variables_ == nullptr) {
4170 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::VariablesProto>(GetArena());
4171 _impl_.new_variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(p);
4173 return _impl_.new_variables_;
4174}
4175inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_new_variables()
4176 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4177 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4178 ::operations_research::math_opt::VariablesProto* _msg = _internal_mutable_new_variables();
4179 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.new_variables)
4180 return _msg;
4181}
4183 ::google::protobuf::Arena* message_arena = GetArena();
4184 ::google::protobuf::internal::TSanWrite(&_impl_);
4185 if (message_arena == nullptr) {
4186 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_variables_);
4187 }
4188
4189 if (value != nullptr) {
4190 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4191 if (message_arena != submessage_arena) {
4192 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4193 }
4194 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4195 } else {
4196 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4197 }
4198
4199 _impl_.new_variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(value);
4200 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.new_variables)
4201}
4202
4203// .operations_research.math_opt.LinearConstraintsProto new_linear_constraints = 6;
4205 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
4206 PROTOBUF_ASSUME(!value || _impl_.new_linear_constraints_ != nullptr);
4207 return value;
4209inline const ::operations_research::math_opt::LinearConstraintsProto& ModelUpdateProto::_internal_new_linear_constraints() const {
4210 ::google::protobuf::internal::TSanRead(&_impl_);
4211 const ::operations_research::math_opt::LinearConstraintsProto* p = _impl_.new_linear_constraints_;
4213}
4214inline const ::operations_research::math_opt::LinearConstraintsProto& ModelUpdateProto::new_linear_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4215 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4216 return _internal_new_linear_constraints();
4217}
4220 ::google::protobuf::internal::TSanWrite(&_impl_);
4221 if (GetArena() == nullptr) {
4222 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_linear_constraints_);
4223 }
4224 _impl_.new_linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(value);
4225 if (value != nullptr) {
4226 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
4227 } else {
4228 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
4229 }
4230 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4231}
4232inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE ModelUpdateProto::release_new_linear_constraints() {
4233 ::google::protobuf::internal::TSanWrite(&_impl_);
4234
4235 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
4236 ::operations_research::math_opt::LinearConstraintsProto* released = _impl_.new_linear_constraints_;
4237 _impl_.new_linear_constraints_ = nullptr;
4238 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4239 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4240 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4241 if (GetArena() == nullptr) {
4242 delete old;
4243 }
4244 } else {
4245 if (GetArena() != nullptr) {
4246 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4248 }
4249 return released;
4250}
4251inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_new_linear_constraints() {
4252 ::google::protobuf::internal::TSanWrite(&_impl_);
4253 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4254
4255 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
4257 _impl_.new_linear_constraints_ = nullptr;
4258 return temp;
4259}
4260inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_new_linear_constraints() {
4261 ::google::protobuf::internal::TSanWrite(&_impl_);
4262 if (_impl_.new_linear_constraints_ == nullptr) {
4263 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearConstraintsProto>(GetArena());
4264 _impl_.new_linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(p);
4266 return _impl_.new_linear_constraints_;
4267}
4268inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_new_linear_constraints()
4269 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4270 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
4271 ::operations_research::math_opt::LinearConstraintsProto* _msg = _internal_mutable_new_linear_constraints();
4272 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4273 return _msg;
4274}
4276 ::google::protobuf::Arena* message_arena = GetArena();
4277 ::google::protobuf::internal::TSanWrite(&_impl_);
4278 if (message_arena == nullptr) {
4279 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.new_linear_constraints_);
4280 }
4281
4282 if (value != nullptr) {
4283 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4284 if (message_arena != submessage_arena) {
4285 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4286 }
4287 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
4288 } else {
4289 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
4290 }
4291
4292 _impl_.new_linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(value);
4293 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.new_linear_constraints)
4294}
4295
4296// .operations_research.math_opt.ObjectiveUpdatesProto objective_updates = 7;
4297inline bool ModelUpdateProto::has_objective_updates() const {
4298 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
4299 PROTOBUF_ASSUME(!value || _impl_.objective_updates_ != nullptr);
4300 return value;
4303 ::google::protobuf::internal::TSanWrite(&_impl_);
4304 if (_impl_.objective_updates_ != nullptr) _impl_.objective_updates_->Clear();
4305 ClearHasBit(_impl_._has_bits_[0],
4306 0x00000040U);
4307}
4308inline const ::operations_research::math_opt::ObjectiveUpdatesProto& ModelUpdateProto::_internal_objective_updates() const {
4309 ::google::protobuf::internal::TSanRead(&_impl_);
4310 const ::operations_research::math_opt::ObjectiveUpdatesProto* p = _impl_.objective_updates_;
4312}
4313inline const ::operations_research::math_opt::ObjectiveUpdatesProto& ModelUpdateProto::objective_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4314 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.objective_updates)
4315 return _internal_objective_updates();
4316}
4319 ::google::protobuf::internal::TSanWrite(&_impl_);
4320 if (GetArena() == nullptr) {
4321 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_updates_);
4322 }
4323 _impl_.objective_updates_ = reinterpret_cast<::operations_research::math_opt::ObjectiveUpdatesProto*>(value);
4324 if (value != nullptr) {
4325 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
4326 } else {
4327 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
4328 }
4329 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.objective_updates)
4331inline ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_objective_updates() {
4332 ::google::protobuf::internal::TSanWrite(&_impl_);
4333
4334 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
4336 _impl_.objective_updates_ = nullptr;
4337 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4338 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4339 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4340 if (GetArena() == nullptr) {
4341 delete old;
4342 }
4343 } else {
4344 if (GetArena() != nullptr) {
4345 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4347 }
4348 return released;
4349}
4350inline ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_objective_updates() {
4351 ::google::protobuf::internal::TSanWrite(&_impl_);
4352 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.objective_updates)
4353
4354 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
4356 _impl_.objective_updates_ = nullptr;
4357 return temp;
4358}
4359inline ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_objective_updates() {
4360 ::google::protobuf::internal::TSanWrite(&_impl_);
4361 if (_impl_.objective_updates_ == nullptr) {
4362 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveUpdatesProto>(GetArena());
4363 _impl_.objective_updates_ = reinterpret_cast<::operations_research::math_opt::ObjectiveUpdatesProto*>(p);
4365 return _impl_.objective_updates_;
4366}
4367inline ::operations_research::math_opt::ObjectiveUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_objective_updates()
4368 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4369 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
4370 ::operations_research::math_opt::ObjectiveUpdatesProto* _msg = _internal_mutable_objective_updates();
4371 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.objective_updates)
4372 return _msg;
4373}
4375 ::google::protobuf::Arena* message_arena = GetArena();
4376 ::google::protobuf::internal::TSanWrite(&_impl_);
4377 if (message_arena == nullptr) {
4378 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_updates_);
4379 }
4380
4381 if (value != nullptr) {
4382 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4383 if (message_arena != submessage_arena) {
4384 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4385 }
4386 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
4387 } else {
4388 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
4389 }
4390
4391 _impl_.objective_updates_ = reinterpret_cast<::operations_research::math_opt::ObjectiveUpdatesProto*>(value);
4392 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.objective_updates)
4393}
4394
4395// .operations_research.math_opt.AuxiliaryObjectivesUpdatesProto auxiliary_objectives_updates = 13;
4397 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00001000U);
4398 PROTOBUF_ASSUME(!value || _impl_.auxiliary_objectives_updates_ != nullptr);
4399 return value;
4402 ::google::protobuf::internal::TSanWrite(&_impl_);
4403 if (_impl_.auxiliary_objectives_updates_ != nullptr) _impl_.auxiliary_objectives_updates_->Clear();
4404 ClearHasBit(_impl_._has_bits_[0],
4405 0x00001000U);
4406}
4407inline const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto& ModelUpdateProto::_internal_auxiliary_objectives_updates() const {
4408 ::google::protobuf::internal::TSanRead(&_impl_);
4409 const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* p = _impl_.auxiliary_objectives_updates_;
4411}
4412inline const ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto& ModelUpdateProto::auxiliary_objectives_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4413 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4414 return _internal_auxiliary_objectives_updates();
4415}
4418 ::google::protobuf::internal::TSanWrite(&_impl_);
4419 if (GetArena() == nullptr) {
4420 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auxiliary_objectives_updates_);
4421 }
4422 _impl_.auxiliary_objectives_updates_ = reinterpret_cast<::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto*>(value);
4423 if (value != nullptr) {
4424 SetHasBit(_impl_._has_bits_[0], 0x00001000U);
4425 } else {
4426 ClearHasBit(_impl_._has_bits_[0], 0x00001000U);
4427 }
4428 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4430inline ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_auxiliary_objectives_updates() {
4431 ::google::protobuf::internal::TSanWrite(&_impl_);
4432
4433 ClearHasBit(_impl_._has_bits_[0], 0x00001000U);
4435 _impl_.auxiliary_objectives_updates_ = nullptr;
4436 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4437 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4438 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4439 if (GetArena() == nullptr) {
4440 delete old;
4441 }
4442 } else {
4443 if (GetArena() != nullptr) {
4444 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4446 }
4447 return released;
4448}
4449inline ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_auxiliary_objectives_updates() {
4450 ::google::protobuf::internal::TSanWrite(&_impl_);
4451 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4452
4453 ClearHasBit(_impl_._has_bits_[0], 0x00001000U);
4455 _impl_.auxiliary_objectives_updates_ = nullptr;
4456 return temp;
4457}
4458inline ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_auxiliary_objectives_updates() {
4459 ::google::protobuf::internal::TSanWrite(&_impl_);
4460 if (_impl_.auxiliary_objectives_updates_ == nullptr) {
4461 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto>(GetArena());
4462 _impl_.auxiliary_objectives_updates_ = reinterpret_cast<::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto*>(p);
4464 return _impl_.auxiliary_objectives_updates_;
4465}
4466inline ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_auxiliary_objectives_updates()
4467 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4468 SetHasBit(_impl_._has_bits_[0], 0x00001000U);
4469 ::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto* _msg = _internal_mutable_auxiliary_objectives_updates();
4470 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4471 return _msg;
4472}
4474 ::google::protobuf::Arena* message_arena = GetArena();
4475 ::google::protobuf::internal::TSanWrite(&_impl_);
4476 if (message_arena == nullptr) {
4477 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auxiliary_objectives_updates_);
4478 }
4479
4480 if (value != nullptr) {
4481 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4482 if (message_arena != submessage_arena) {
4483 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4484 }
4485 SetHasBit(_impl_._has_bits_[0], 0x00001000U);
4486 } else {
4487 ClearHasBit(_impl_._has_bits_[0], 0x00001000U);
4488 }
4489
4490 _impl_.auxiliary_objectives_updates_ = reinterpret_cast<::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto*>(value);
4491 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.auxiliary_objectives_updates)
4492}
4493
4494// .operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix_updates = 8;
4496 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
4497 PROTOBUF_ASSUME(!value || _impl_.linear_constraint_matrix_updates_ != nullptr);
4498 return value;
4500inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelUpdateProto::_internal_linear_constraint_matrix_updates() const {
4501 ::google::protobuf::internal::TSanRead(&_impl_);
4502 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.linear_constraint_matrix_updates_;
4504}
4505inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelUpdateProto::linear_constraint_matrix_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4506 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4507 return _internal_linear_constraint_matrix_updates();
4508}
4511 ::google::protobuf::internal::TSanWrite(&_impl_);
4512 if (GetArena() == nullptr) {
4513 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_matrix_updates_);
4514 }
4515 _impl_.linear_constraint_matrix_updates_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
4516 if (value != nullptr) {
4517 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
4518 } else {
4519 ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
4520 }
4521 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4522}
4523inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ModelUpdateProto::release_linear_constraint_matrix_updates() {
4524 ::google::protobuf::internal::TSanWrite(&_impl_);
4525
4526 ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
4527 ::operations_research::math_opt::SparseDoubleMatrixProto* released = _impl_.linear_constraint_matrix_updates_;
4528 _impl_.linear_constraint_matrix_updates_ = nullptr;
4529 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4530 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4531 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4532 if (GetArena() == nullptr) {
4533 delete old;
4534 }
4535 } else {
4536 if (GetArena() != nullptr) {
4537 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4539 }
4540 return released;
4541}
4542inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_linear_constraint_matrix_updates() {
4543 ::google::protobuf::internal::TSanWrite(&_impl_);
4544 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4545
4546 ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
4547 ::operations_research::math_opt::SparseDoubleMatrixProto* temp = _impl_.linear_constraint_matrix_updates_;
4548 _impl_.linear_constraint_matrix_updates_ = nullptr;
4549 return temp;
4550}
4551inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_linear_constraint_matrix_updates() {
4552 ::google::protobuf::internal::TSanWrite(&_impl_);
4553 if (_impl_.linear_constraint_matrix_updates_ == nullptr) {
4554 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
4555 _impl_.linear_constraint_matrix_updates_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
4557 return _impl_.linear_constraint_matrix_updates_;
4558}
4559inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_linear_constraint_matrix_updates()
4560 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4561 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
4562 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_linear_constraint_matrix_updates();
4563 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4564 return _msg;
4565}
4567 ::google::protobuf::Arena* message_arena = GetArena();
4568 ::google::protobuf::internal::TSanWrite(&_impl_);
4569 if (message_arena == nullptr) {
4570 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_matrix_updates_);
4571 }
4572
4573 if (value != nullptr) {
4574 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4575 if (message_arena != submessage_arena) {
4576 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4577 }
4578 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
4579 } else {
4580 ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
4581 }
4582
4583 _impl_.linear_constraint_matrix_updates_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
4584 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.linear_constraint_matrix_updates)
4585}
4586
4587// .operations_research.math_opt.QuadraticConstraintUpdatesProto quadratic_constraint_updates = 9;
4589 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
4590 PROTOBUF_ASSUME(!value || _impl_.quadratic_constraint_updates_ != nullptr);
4591 return value;
4594 ::google::protobuf::internal::TSanWrite(&_impl_);
4595 if (_impl_.quadratic_constraint_updates_ != nullptr) _impl_.quadratic_constraint_updates_->Clear();
4596 ClearHasBit(_impl_._has_bits_[0],
4597 0x00000100U);
4598}
4599inline const ::operations_research::math_opt::QuadraticConstraintUpdatesProto& ModelUpdateProto::_internal_quadratic_constraint_updates() const {
4600 ::google::protobuf::internal::TSanRead(&_impl_);
4601 const ::operations_research::math_opt::QuadraticConstraintUpdatesProto* p = _impl_.quadratic_constraint_updates_;
4603}
4604inline const ::operations_research::math_opt::QuadraticConstraintUpdatesProto& ModelUpdateProto::quadratic_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4605 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4606 return _internal_quadratic_constraint_updates();
4607}
4610 ::google::protobuf::internal::TSanWrite(&_impl_);
4611 if (GetArena() == nullptr) {
4612 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_constraint_updates_);
4613 }
4614 _impl_.quadratic_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::QuadraticConstraintUpdatesProto*>(value);
4615 if (value != nullptr) {
4616 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
4617 } else {
4618 ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
4619 }
4620 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4622inline ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_quadratic_constraint_updates() {
4623 ::google::protobuf::internal::TSanWrite(&_impl_);
4624
4625 ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
4627 _impl_.quadratic_constraint_updates_ = nullptr;
4628 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4629 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4630 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4631 if (GetArena() == nullptr) {
4632 delete old;
4633 }
4634 } else {
4635 if (GetArena() != nullptr) {
4636 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4638 }
4639 return released;
4640}
4641inline ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_quadratic_constraint_updates() {
4642 ::google::protobuf::internal::TSanWrite(&_impl_);
4643 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4644
4645 ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
4647 _impl_.quadratic_constraint_updates_ = nullptr;
4648 return temp;
4649}
4650inline ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_quadratic_constraint_updates() {
4651 ::google::protobuf::internal::TSanWrite(&_impl_);
4652 if (_impl_.quadratic_constraint_updates_ == nullptr) {
4653 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::QuadraticConstraintUpdatesProto>(GetArena());
4654 _impl_.quadratic_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::QuadraticConstraintUpdatesProto*>(p);
4656 return _impl_.quadratic_constraint_updates_;
4657}
4658inline ::operations_research::math_opt::QuadraticConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_quadratic_constraint_updates()
4659 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4660 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
4661 ::operations_research::math_opt::QuadraticConstraintUpdatesProto* _msg = _internal_mutable_quadratic_constraint_updates();
4662 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4663 return _msg;
4664}
4666 ::google::protobuf::Arena* message_arena = GetArena();
4667 ::google::protobuf::internal::TSanWrite(&_impl_);
4668 if (message_arena == nullptr) {
4669 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_constraint_updates_);
4670 }
4671
4672 if (value != nullptr) {
4673 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4674 if (message_arena != submessage_arena) {
4675 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4676 }
4677 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
4678 } else {
4679 ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
4680 }
4681
4682 _impl_.quadratic_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::QuadraticConstraintUpdatesProto*>(value);
4683 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.quadratic_constraint_updates)
4684}
4685
4686// .operations_research.math_opt.SecondOrderConeConstraintUpdatesProto second_order_cone_constraint_updates = 14;
4688 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00002000U);
4689 PROTOBUF_ASSUME(!value || _impl_.second_order_cone_constraint_updates_ != nullptr);
4690 return value;
4693 ::google::protobuf::internal::TSanWrite(&_impl_);
4694 if (_impl_.second_order_cone_constraint_updates_ != nullptr) _impl_.second_order_cone_constraint_updates_->Clear();
4695 ClearHasBit(_impl_._has_bits_[0],
4696 0x00002000U);
4697}
4698inline const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto& ModelUpdateProto::_internal_second_order_cone_constraint_updates() const {
4699 ::google::protobuf::internal::TSanRead(&_impl_);
4700 const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* p = _impl_.second_order_cone_constraint_updates_;
4702}
4703inline const ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto& ModelUpdateProto::second_order_cone_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4704 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4705 return _internal_second_order_cone_constraint_updates();
4706}
4709 ::google::protobuf::internal::TSanWrite(&_impl_);
4710 if (GetArena() == nullptr) {
4711 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.second_order_cone_constraint_updates_);
4712 }
4713 _impl_.second_order_cone_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto*>(value);
4714 if (value != nullptr) {
4715 SetHasBit(_impl_._has_bits_[0], 0x00002000U);
4716 } else {
4717 ClearHasBit(_impl_._has_bits_[0], 0x00002000U);
4718 }
4719 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4721inline ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_second_order_cone_constraint_updates() {
4722 ::google::protobuf::internal::TSanWrite(&_impl_);
4723
4724 ClearHasBit(_impl_._has_bits_[0], 0x00002000U);
4726 _impl_.second_order_cone_constraint_updates_ = nullptr;
4727 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4728 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4729 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4730 if (GetArena() == nullptr) {
4731 delete old;
4732 }
4733 } else {
4734 if (GetArena() != nullptr) {
4735 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4737 }
4738 return released;
4739}
4740inline ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_second_order_cone_constraint_updates() {
4741 ::google::protobuf::internal::TSanWrite(&_impl_);
4742 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4743
4744 ClearHasBit(_impl_._has_bits_[0], 0x00002000U);
4745 ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* temp = _impl_.second_order_cone_constraint_updates_;
4746 _impl_.second_order_cone_constraint_updates_ = nullptr;
4747 return temp;
4748}
4749inline ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_second_order_cone_constraint_updates() {
4750 ::google::protobuf::internal::TSanWrite(&_impl_);
4751 if (_impl_.second_order_cone_constraint_updates_ == nullptr) {
4752 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto>(GetArena());
4753 _impl_.second_order_cone_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto*>(p);
4755 return _impl_.second_order_cone_constraint_updates_;
4756}
4757inline ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_second_order_cone_constraint_updates()
4758 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4759 SetHasBit(_impl_._has_bits_[0], 0x00002000U);
4760 ::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto* _msg = _internal_mutable_second_order_cone_constraint_updates();
4761 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4762 return _msg;
4763}
4765 ::google::protobuf::Arena* message_arena = GetArena();
4766 ::google::protobuf::internal::TSanWrite(&_impl_);
4767 if (message_arena == nullptr) {
4768 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.second_order_cone_constraint_updates_);
4769 }
4770
4771 if (value != nullptr) {
4772 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4773 if (message_arena != submessage_arena) {
4774 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4775 }
4776 SetHasBit(_impl_._has_bits_[0], 0x00002000U);
4777 } else {
4778 ClearHasBit(_impl_._has_bits_[0], 0x00002000U);
4779 }
4780
4781 _impl_.second_order_cone_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SecondOrderConeConstraintUpdatesProto*>(value);
4782 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.second_order_cone_constraint_updates)
4783}
4784
4785// .operations_research.math_opt.SosConstraintUpdatesProto sos1_constraint_updates = 10;
4787 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
4788 PROTOBUF_ASSUME(!value || _impl_.sos1_constraint_updates_ != nullptr);
4789 return value;
4792 ::google::protobuf::internal::TSanWrite(&_impl_);
4793 if (_impl_.sos1_constraint_updates_ != nullptr) _impl_.sos1_constraint_updates_->Clear();
4794 ClearHasBit(_impl_._has_bits_[0],
4795 0x00000200U);
4796}
4797inline const ::operations_research::math_opt::SosConstraintUpdatesProto& ModelUpdateProto::_internal_sos1_constraint_updates() const {
4798 ::google::protobuf::internal::TSanRead(&_impl_);
4799 const ::operations_research::math_opt::SosConstraintUpdatesProto* p = _impl_.sos1_constraint_updates_;
4801}
4802inline const ::operations_research::math_opt::SosConstraintUpdatesProto& ModelUpdateProto::sos1_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4803 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4804 return _internal_sos1_constraint_updates();
4805}
4808 ::google::protobuf::internal::TSanWrite(&_impl_);
4809 if (GetArena() == nullptr) {
4810 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sos1_constraint_updates_);
4811 }
4812 _impl_.sos1_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(value);
4813 if (value != nullptr) {
4814 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
4815 } else {
4816 ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
4817 }
4818 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4820inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_sos1_constraint_updates() {
4821 ::google::protobuf::internal::TSanWrite(&_impl_);
4822
4823 ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
4825 _impl_.sos1_constraint_updates_ = nullptr;
4826 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4827 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4828 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4829 if (GetArena() == nullptr) {
4830 delete old;
4831 }
4832 } else {
4833 if (GetArena() != nullptr) {
4834 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4836 }
4837 return released;
4838}
4839inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_sos1_constraint_updates() {
4840 ::google::protobuf::internal::TSanWrite(&_impl_);
4841 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4842
4843 ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
4845 _impl_.sos1_constraint_updates_ = nullptr;
4846 return temp;
4847}
4848inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_sos1_constraint_updates() {
4849 ::google::protobuf::internal::TSanWrite(&_impl_);
4850 if (_impl_.sos1_constraint_updates_ == nullptr) {
4851 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SosConstraintUpdatesProto>(GetArena());
4852 _impl_.sos1_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(p);
4854 return _impl_.sos1_constraint_updates_;
4855}
4856inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_sos1_constraint_updates()
4857 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4858 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
4859 ::operations_research::math_opt::SosConstraintUpdatesProto* _msg = _internal_mutable_sos1_constraint_updates();
4860 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4861 return _msg;
4862}
4864 ::google::protobuf::Arena* message_arena = GetArena();
4865 ::google::protobuf::internal::TSanWrite(&_impl_);
4866 if (message_arena == nullptr) {
4867 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sos1_constraint_updates_);
4868 }
4869
4870 if (value != nullptr) {
4871 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4872 if (message_arena != submessage_arena) {
4873 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4874 }
4875 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
4876 } else {
4877 ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
4878 }
4879
4880 _impl_.sos1_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(value);
4881 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.sos1_constraint_updates)
4882}
4883
4884// .operations_research.math_opt.SosConstraintUpdatesProto sos2_constraint_updates = 11;
4886 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
4887 PROTOBUF_ASSUME(!value || _impl_.sos2_constraint_updates_ != nullptr);
4888 return value;
4891 ::google::protobuf::internal::TSanWrite(&_impl_);
4892 if (_impl_.sos2_constraint_updates_ != nullptr) _impl_.sos2_constraint_updates_->Clear();
4893 ClearHasBit(_impl_._has_bits_[0],
4894 0x00000400U);
4895}
4896inline const ::operations_research::math_opt::SosConstraintUpdatesProto& ModelUpdateProto::_internal_sos2_constraint_updates() const {
4897 ::google::protobuf::internal::TSanRead(&_impl_);
4898 const ::operations_research::math_opt::SosConstraintUpdatesProto* p = _impl_.sos2_constraint_updates_;
4900}
4901inline const ::operations_research::math_opt::SosConstraintUpdatesProto& ModelUpdateProto::sos2_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4902 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4903 return _internal_sos2_constraint_updates();
4904}
4907 ::google::protobuf::internal::TSanWrite(&_impl_);
4908 if (GetArena() == nullptr) {
4909 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sos2_constraint_updates_);
4910 }
4911 _impl_.sos2_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(value);
4912 if (value != nullptr) {
4913 SetHasBit(_impl_._has_bits_[0], 0x00000400U);
4914 } else {
4915 ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
4916 }
4917 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4919inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_sos2_constraint_updates() {
4920 ::google::protobuf::internal::TSanWrite(&_impl_);
4921
4922 ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
4924 _impl_.sos2_constraint_updates_ = nullptr;
4925 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4926 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4927 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4928 if (GetArena() == nullptr) {
4929 delete old;
4930 }
4931 } else {
4932 if (GetArena() != nullptr) {
4933 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4935 }
4936 return released;
4937}
4938inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_sos2_constraint_updates() {
4939 ::google::protobuf::internal::TSanWrite(&_impl_);
4940 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4941
4942 ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
4944 _impl_.sos2_constraint_updates_ = nullptr;
4945 return temp;
4946}
4947inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_sos2_constraint_updates() {
4948 ::google::protobuf::internal::TSanWrite(&_impl_);
4949 if (_impl_.sos2_constraint_updates_ == nullptr) {
4950 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SosConstraintUpdatesProto>(GetArena());
4951 _impl_.sos2_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(p);
4953 return _impl_.sos2_constraint_updates_;
4954}
4955inline ::operations_research::math_opt::SosConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_sos2_constraint_updates()
4956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4957 SetHasBit(_impl_._has_bits_[0], 0x00000400U);
4958 ::operations_research::math_opt::SosConstraintUpdatesProto* _msg = _internal_mutable_sos2_constraint_updates();
4959 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4960 return _msg;
4961}
4963 ::google::protobuf::Arena* message_arena = GetArena();
4964 ::google::protobuf::internal::TSanWrite(&_impl_);
4965 if (message_arena == nullptr) {
4966 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sos2_constraint_updates_);
4967 }
4968
4969 if (value != nullptr) {
4970 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4971 if (message_arena != submessage_arena) {
4972 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4973 }
4974 SetHasBit(_impl_._has_bits_[0], 0x00000400U);
4975 } else {
4976 ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
4977 }
4978
4979 _impl_.sos2_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::SosConstraintUpdatesProto*>(value);
4980 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.sos2_constraint_updates)
4981}
4982
4983// .operations_research.math_opt.IndicatorConstraintUpdatesProto indicator_constraint_updates = 12;
4985 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
4986 PROTOBUF_ASSUME(!value || _impl_.indicator_constraint_updates_ != nullptr);
4987 return value;
4990 ::google::protobuf::internal::TSanWrite(&_impl_);
4991 if (_impl_.indicator_constraint_updates_ != nullptr) _impl_.indicator_constraint_updates_->Clear();
4992 ClearHasBit(_impl_._has_bits_[0],
4993 0x00000800U);
4994}
4995inline const ::operations_research::math_opt::IndicatorConstraintUpdatesProto& ModelUpdateProto::_internal_indicator_constraint_updates() const {
4996 ::google::protobuf::internal::TSanRead(&_impl_);
4997 const ::operations_research::math_opt::IndicatorConstraintUpdatesProto* p = _impl_.indicator_constraint_updates_;
4999}
5000inline const ::operations_research::math_opt::IndicatorConstraintUpdatesProto& ModelUpdateProto::indicator_constraint_updates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
5001 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
5002 return _internal_indicator_constraint_updates();
5003}
5006 ::google::protobuf::internal::TSanWrite(&_impl_);
5007 if (GetArena() == nullptr) {
5008 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.indicator_constraint_updates_);
5009 }
5010 _impl_.indicator_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::IndicatorConstraintUpdatesProto*>(value);
5011 if (value != nullptr) {
5012 SetHasBit(_impl_._has_bits_[0], 0x00000800U);
5013 } else {
5014 ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
5015 }
5016 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
5018inline ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::release_indicator_constraint_updates() {
5019 ::google::protobuf::internal::TSanWrite(&_impl_);
5020
5021 ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
5023 _impl_.indicator_constraint_updates_ = nullptr;
5024 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
5025 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
5026 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
5027 if (GetArena() == nullptr) {
5028 delete old;
5029 }
5030 } else {
5031 if (GetArena() != nullptr) {
5032 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
5034 }
5035 return released;
5036}
5037inline ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NULLABLE ModelUpdateProto::unsafe_arena_release_indicator_constraint_updates() {
5038 ::google::protobuf::internal::TSanWrite(&_impl_);
5039 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
5040
5041 ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
5043 _impl_.indicator_constraint_updates_ = nullptr;
5044 return temp;
5045}
5046inline ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::_internal_mutable_indicator_constraint_updates() {
5047 ::google::protobuf::internal::TSanWrite(&_impl_);
5048 if (_impl_.indicator_constraint_updates_ == nullptr) {
5049 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::IndicatorConstraintUpdatesProto>(GetArena());
5050 _impl_.indicator_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::IndicatorConstraintUpdatesProto*>(p);
5052 return _impl_.indicator_constraint_updates_;
5053}
5054inline ::operations_research::math_opt::IndicatorConstraintUpdatesProto* PROTOBUF_NONNULL ModelUpdateProto::mutable_indicator_constraint_updates()
5055 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5056 SetHasBit(_impl_._has_bits_[0], 0x00000800U);
5057 ::operations_research::math_opt::IndicatorConstraintUpdatesProto* _msg = _internal_mutable_indicator_constraint_updates();
5058 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
5059 return _msg;
5060}
5062 ::google::protobuf::Arena* message_arena = GetArena();
5063 ::google::protobuf::internal::TSanWrite(&_impl_);
5064 if (message_arena == nullptr) {
5065 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.indicator_constraint_updates_);
5066 }
5067
5068 if (value != nullptr) {
5069 ::google::protobuf::Arena* submessage_arena = value->GetArena();
5070 if (message_arena != submessage_arena) {
5071 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
5072 }
5073 SetHasBit(_impl_._has_bits_[0], 0x00000800U);
5074 } else {
5075 ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
5076 }
5077
5078 _impl_.indicator_constraint_updates_ = reinterpret_cast<::operations_research::math_opt::IndicatorConstraintUpdatesProto*>(value);
5079 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelUpdateProto.indicator_constraint_updates)
5080}
5081
5082#ifdef __GNUC__
5083#pragma GCC diagnostic pop
5084#endif // __GNUC__
5085
5086// @@protoc_insertion_point(namespace_scope)
5087} // namespace math_opt
5088} // namespace operations_research
5089
5090
5091// @@protoc_insertion_point(global_scope)
5092
5093#include "google/protobuf/port_undef.inc"
5095#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()
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
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
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)
IndicatorConstraintUpdatesProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::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
::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
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)
void set_allocated_linear_constraint_updates(::operations_research::math_opt::LinearConstraintUpdatesProto *PROTOBUF_NULLABLE value)
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
void set_allocated_auxiliary_objectives_updates(::operations_research::math_opt::AuxiliaryObjectivesUpdatesProto *PROTOBUF_NULLABLE value)
::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
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
::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)
void unsafe_arena_set_allocated_new_linear_constraints(::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE value)
::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
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)
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
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
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()
::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()
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)
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()
void unsafe_arena_set_allocated_linear_coefficients(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void Swap(ObjectiveUpdatesProto *PROTOBUF_NONNULL other)
::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()
::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
friend void swap(QuadraticConstraintUpdatesProto &a, QuadraticConstraintUpdatesProto &b)
void MergeFrom(const QuadraticConstraintUpdatesProto &from)
::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()
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
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()
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()
::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)
::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)
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)
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()
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_
OR-Tools root namespace.