6#ifndef ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
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"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/unknown_field_set.h"
35#include "google/protobuf/port_def.inc"
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto OR_PROTO_DLL
102#if defined(PROTOBUF_CUSTOM_VTABLE)
109 template <
typename =
void>
120 if (
this == &from)
return *
this;
121 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
129 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
130 ABSL_ATTRIBUTE_LIFETIME_BOUND {
131 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
133 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
134 ABSL_ATTRIBUTE_LIFETIME_BOUND {
135 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
138 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
139 return GetDescriptor();
141 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
142 return default_instance().GetMetadata().descriptor;
144 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
145 return default_instance().GetMetadata().reflection;
151 static constexpr int kIndexInFileMessages = 3;
154 if (other ==
this)
return;
155 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
158 ::google::protobuf::internal::GenericSwap(
this, other);
161 void UnsafeArenaSwap(SparseVectorFilterProto* PROTOBUF_NONNULL other) {
162 if (other ==
this)
return;
163 ABSL_DCHECK(GetArena() == other->GetArena());
169 SparseVectorFilterProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
170 return ::google::protobuf::Message::DefaultConstruct<SparseVectorFilterProto>(arena);
172 using ::google::protobuf::Message::CopyFrom;
174 using ::google::protobuf::Message::MergeFrom;
178 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
179 const ::google::protobuf::MessageLite& from_msg);
185 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
186 #if defined(PROTOBUF_CUSTOM_VTABLE)
188 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
189 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
190 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
191 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
194 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
195 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
196 ::uint8_t* PROTOBUF_NONNULL target,
197 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
198 return _InternalSerialize(*
this, target, stream);
201 ::size_t ByteSizeLong() const final;
202 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
203 ::uint8_t* PROTOBUF_NONNULL target,
204 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
206 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
209 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
213 template <
typename T>
215 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SparseVectorFilterProto"; }
223 *
this = ::std::move(from);
225 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
226 static
void* PROTOBUF_NONNULL PlacementNew_(
227 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
228 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
229 static constexpr auto InternalNewImpl_();
232 static constexpr auto InternalGenerateClassData_();
234 ::
google::protobuf::Metadata GetMetadata() const;
239 kFilteredIdsFieldNumber = 3,
240 kSkipZeroValuesFieldNumber = 1,
246 int _internal_filtered_ids_size()
const;
253 const ::google::protobuf::RepeatedField<::int64_t>&
filtered_ids()
const;
257 const ::google::protobuf::RepeatedField<::int64_t>& _internal_filtered_ids()
const;
258 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_filtered_ids();
267 bool _internal_skip_zero_values()
const;
268 void _internal_set_skip_zero_values(
bool value);
277 bool _internal_filter_by_ids()
const;
278 void _internal_set_filter_by_ids(
bool value);
284 friend class ::google::protobuf::internal::TcParser;
285 static const ::google::protobuf::internal::TcParseTable<2, 3,
290 friend class ::google::protobuf::MessageLite;
291 friend class ::google::protobuf::Arena;
292 template <
typename T>
293 friend class ::google::protobuf::Arena::InternalHelper;
294 using InternalArenaConstructable_ = void;
295 using DestructorSkippable_ = void;
297 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
298 inline explicit Impl_(
299 ::google::protobuf::internal::InternalVisibility visibility,
300 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
301 inline explicit Impl_(
302 ::google::protobuf::internal::InternalVisibility visibility,
303 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
305 ::google::protobuf::internal::HasBits<1> _has_bits_;
306 ::google::protobuf::internal::CachedSize _cached_size_;
307 ::google::protobuf::RepeatedField<::int64_t> filtered_ids_;
308 ::google::protobuf::internal::CachedSize _filtered_ids_cached_byte_size_;
309 bool skip_zero_values_;
311 PROTOBUF_TSAN_DECLARE_MEMBER
313 union { Impl_ _impl_; };
314 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto;
326#if defined(PROTOBUF_CUSTOM_VTABLE)
333 template <
typename =
void>
344 if (
this == &from)
return *
this;
345 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
353 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
354 ABSL_ATTRIBUTE_LIFETIME_BOUND {
355 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
357 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
358 ABSL_ATTRIBUTE_LIFETIME_BOUND {
359 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
362 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
363 return GetDescriptor();
365 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
368 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
375 static constexpr int kIndexInFileMessages = 2;
377 inline void Swap(SparseInt32VectorProto* PROTOBUF_NONNULL other) {
378 if (other ==
this)
return;
379 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
382 ::google::protobuf::internal::GenericSwap(
this, other);
385 void UnsafeArenaSwap(SparseInt32VectorProto* PROTOBUF_NONNULL other) {
386 if (other ==
this)
return;
387 ABSL_DCHECK(GetArena() == other->GetArena());
393 SparseInt32VectorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
394 return ::google::protobuf::Message::DefaultConstruct<SparseInt32VectorProto>(arena);
396 using ::google::protobuf::Message::CopyFrom;
398 using ::google::protobuf::Message::MergeFrom;
402 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
403 const ::google::protobuf::MessageLite& from_msg);
409 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
410 #if defined(PROTOBUF_CUSTOM_VTABLE)
412 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
414 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
415 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
419 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
420 ::uint8_t* PROTOBUF_NONNULL target,
421 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
422 return _InternalSerialize(*
this, target, stream);
425 ::size_t ByteSizeLong() const final;
426 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
427 ::uint8_t* PROTOBUF_NONNULL target,
428 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
430 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
433 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
437 template <
typename T>
439 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SparseInt32VectorProto"; }
447 *
this = ::std::move(from);
449 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
450 static
void* PROTOBUF_NONNULL PlacementNew_(
451 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
452 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
453 static constexpr auto InternalNewImpl_();
456 static constexpr auto InternalGenerateClassData_();
458 ::
google::protobuf::Metadata GetMetadata() const;
464 kValuesFieldNumber = 2,
469 int _internal_ids_size()
const;
473 ::int64_t
ids(
int index)
const;
474 void set_ids(
int index, ::int64_t value);
476 const ::google::protobuf::RepeatedField<::int64_t>&
ids()
const;
477 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_ids();
480 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids()
const;
481 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
487 int _internal_values_size()
const;
491 ::int32_t
values(
int index)
const;
494 const ::google::protobuf::RepeatedField<::int32_t>&
values()
const;
495 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_values();
498 const ::google::protobuf::RepeatedField<::int32_t>& _internal_values()
const;
499 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_values();
505 friend class ::google::protobuf::internal::TcParser;
506 static const ::google::protobuf::internal::TcParseTable<1, 2,
511 friend class ::google::protobuf::MessageLite;
512 friend class ::google::protobuf::Arena;
513 template <
typename T>
514 friend class ::google::protobuf::Arena::InternalHelper;
515 using InternalArenaConstructable_ = void;
516 using DestructorSkippable_ = void;
518 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
519 inline explicit Impl_(
520 ::google::protobuf::internal::InternalVisibility visibility,
521 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
522 inline explicit Impl_(
523 ::google::protobuf::internal::InternalVisibility visibility,
524 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
526 ::google::protobuf::RepeatedField<::int64_t> ids_;
527 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
528 ::google::protobuf::RepeatedField<::int32_t> values_;
529 ::google::protobuf::internal::CachedSize _values_cached_byte_size_;
530 ::google::protobuf::internal::CachedSize _cached_size_;
531 PROTOBUF_TSAN_DECLARE_MEMBER
533 union { Impl_ _impl_; };
534 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto;
546#if defined(PROTOBUF_CUSTOM_VTABLE)
553 template <
typename =
void>
557 inline SparseDoubleVectorProto(SparseDoubleVectorProto&& from) noexcept
564 if (
this == &from)
return *
this;
565 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
573 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
574 ABSL_ATTRIBUTE_LIFETIME_BOUND {
575 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
578 ABSL_ATTRIBUTE_LIFETIME_BOUND {
579 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
582 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
585 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
588 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
598 if (other ==
this)
return;
599 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
602 ::google::protobuf::internal::GenericSwap(
this, other);
605 void UnsafeArenaSwap(SparseDoubleVectorProto* PROTOBUF_NONNULL other) {
606 if (other ==
this)
return;
607 ABSL_DCHECK(GetArena() == other->GetArena());
613 SparseDoubleVectorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
614 return ::google::protobuf::Message::DefaultConstruct<SparseDoubleVectorProto>(arena);
616 using ::google::protobuf::Message::CopyFrom;
618 using ::google::protobuf::Message::MergeFrom;
622 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
623 const ::google::protobuf::MessageLite& from_msg);
629 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
630 #if defined(PROTOBUF_CUSTOM_VTABLE)
632 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
634 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
635 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
639 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
640 ::uint8_t* PROTOBUF_NONNULL target,
641 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
642 return _InternalSerialize(*
this, target, stream);
645 ::size_t ByteSizeLong() const final;
646 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
647 ::uint8_t* PROTOBUF_NONNULL target,
648 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
650 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
653 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
657 template <
typename T>
659 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SparseDoubleVectorProto"; }
667 *
this = ::std::move(from);
669 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
670 static
void* PROTOBUF_NONNULL PlacementNew_(
671 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
672 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
673 static constexpr auto InternalNewImpl_();
676 static constexpr auto InternalGenerateClassData_();
678 ::
google::protobuf::Metadata GetMetadata() const;
684 kValuesFieldNumber = 2,
689 int _internal_ids_size()
const;
693 ::int64_t
ids(
int index)
const;
694 void set_ids(
int index, ::int64_t value);
696 const ::google::protobuf::RepeatedField<::int64_t>&
ids()
const;
697 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_ids();
700 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids()
const;
701 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
707 int _internal_values_size()
const;
711 double values(
int index)
const;
714 const ::google::protobuf::RepeatedField<double>&
values()
const;
715 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
mutable_values();
718 const ::google::protobuf::RepeatedField<double>& _internal_values()
const;
719 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_values();
725 friend class ::google::protobuf::internal::TcParser;
726 static const ::google::protobuf::internal::TcParseTable<1, 2,
731 friend class ::google::protobuf::MessageLite;
732 friend class ::google::protobuf::Arena;
733 template <
typename T>
734 friend class ::google::protobuf::Arena::InternalHelper;
735 using InternalArenaConstructable_ = void;
736 using DestructorSkippable_ = void;
738 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
739 inline explicit Impl_(
740 ::google::protobuf::internal::InternalVisibility visibility,
741 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
742 inline explicit Impl_(
743 ::google::protobuf::internal::InternalVisibility visibility,
744 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
746 ::google::protobuf::RepeatedField<::int64_t> ids_;
747 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
748 ::google::protobuf::RepeatedField<double> values_;
749 ::google::protobuf::internal::CachedSize _cached_size_;
750 PROTOBUF_TSAN_DECLARE_MEMBER
752 union { Impl_ _impl_; };
753 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto;
765#if defined(PROTOBUF_CUSTOM_VTABLE)
772 template <
typename =
void>
776 inline SparseDoubleMatrixProto(SparseDoubleMatrixProto&& from) noexcept
777 : SparseDoubleMatrixProto(
nullptr, ::std::move(from)) {}
783 if (
this == &from)
return *
this;
784 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
792 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
793 ABSL_ATTRIBUTE_LIFETIME_BOUND {
794 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
796 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
797 ABSL_ATTRIBUTE_LIFETIME_BOUND {
798 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
801 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
804 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
805 return default_instance().GetMetadata().descriptor;
807 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
808 return default_instance().GetMetadata().reflection;
814 static constexpr int kIndexInFileMessages = 4;
817 if (other ==
this)
return;
818 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
821 ::google::protobuf::internal::GenericSwap(
this, other);
824 void UnsafeArenaSwap(SparseDoubleMatrixProto* PROTOBUF_NONNULL other) {
825 if (other ==
this)
return;
826 ABSL_DCHECK(GetArena() == other->GetArena());
833 return ::google::protobuf::Message::DefaultConstruct<SparseDoubleMatrixProto>(arena);
835 using ::google::protobuf::Message::CopyFrom;
837 using ::google::protobuf::Message::MergeFrom;
841 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
842 const ::google::protobuf::MessageLite& from_msg);
848 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
849 #if defined(PROTOBUF_CUSTOM_VTABLE)
851 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
853 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
854 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
858 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
859 ::uint8_t* PROTOBUF_NONNULL target,
860 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
861 return _InternalSerialize(*
this, target, stream);
864 ::size_t ByteSizeLong() const final;
865 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
866 ::uint8_t* PROTOBUF_NONNULL target,
867 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
869 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
872 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
873 static void SharedDtor(MessageLite& self);
876 template <
typename T>
878 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SparseDoubleMatrixProto"; }
886 *
this = ::std::move(from);
888 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
890 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
891 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
909 int _internal_row_ids_size()
const;
913 ::int64_t
row_ids(
int index)
const;
916 const ::google::protobuf::RepeatedField<::int64_t>&
row_ids()
const;
917 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_row_ids();
920 const ::google::protobuf::RepeatedField<::int64_t>& _internal_row_ids()
const;
921 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_row_ids();
927 int _internal_column_ids_size()
const;
934 const ::google::protobuf::RepeatedField<::int64_t>&
column_ids()
const;
938 const ::google::protobuf::RepeatedField<::int64_t>& _internal_column_ids()
const;
939 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_column_ids();
945 int _internal_coefficients_size()
const;
952 const ::google::protobuf::RepeatedField<double>&
coefficients()
const;
956 const ::google::protobuf::RepeatedField<double>& _internal_coefficients()
const;
957 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_coefficients();
963 friend class ::google::protobuf::internal::TcParser;
964 static const ::google::protobuf::internal::TcParseTable<2, 3,
969 friend class ::google::protobuf::MessageLite;
970 friend class ::google::protobuf::Arena;
971 template <
typename T>
972 friend class ::google::protobuf::Arena::InternalHelper;
973 using InternalArenaConstructable_ = void;
974 using DestructorSkippable_ = void;
976 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
977 inline explicit Impl_(
978 ::google::protobuf::internal::InternalVisibility visibility,
979 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
980 inline explicit Impl_(
981 ::google::protobuf::internal::InternalVisibility visibility,
982 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
984 ::google::protobuf::RepeatedField<::int64_t> row_ids_;
985 ::google::protobuf::internal::CachedSize _row_ids_cached_byte_size_;
986 ::google::protobuf::RepeatedField<::int64_t> column_ids_;
987 ::google::protobuf::internal::CachedSize _column_ids_cached_byte_size_;
988 ::google::protobuf::RepeatedField<double> coefficients_;
989 ::google::protobuf::internal::CachedSize _cached_size_;
990 PROTOBUF_TSAN_DECLARE_MEMBER
992 union { Impl_ _impl_; };
993 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto;
1005#if defined(PROTOBUF_CUSTOM_VTABLE)
1012 template <
typename =
void>
1013 explicit PROTOBUF_CONSTEXPR
SparseBoolVectorProto(::google::protobuf::internal::ConstantInitialized);
1016 inline SparseBoolVectorProto(SparseBoolVectorProto&& from) noexcept
1017 : SparseBoolVectorProto(
nullptr, ::std::move(from)) {}
1018 inline SparseBoolVectorProto& operator=(
const SparseBoolVectorProto& from) {
1023 if (
this == &from)
return *
this;
1024 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1025 InternalSwap(&from);
1032 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1033 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1034 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1036 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1037 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1038 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1041 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1044 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1045 return default_instance().GetMetadata().descriptor;
1054 static constexpr int kIndexInFileMessages = 1;
1057 if (other ==
this)
return;
1058 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1059 InternalSwap(other);
1061 ::google::protobuf::internal::GenericSwap(
this, other);
1064 void UnsafeArenaSwap(SparseBoolVectorProto* PROTOBUF_NONNULL other) {
1065 if (other ==
this)
return;
1066 ABSL_DCHECK(GetArena() == other->GetArena());
1067 InternalSwap(other);
1073 return ::google::protobuf::Message::DefaultConstruct<SparseBoolVectorProto>(arena);
1075 using ::google::protobuf::Message::CopyFrom;
1077 using ::google::protobuf::Message::MergeFrom;
1081 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1082 const ::google::protobuf::MessageLite& from_msg);
1088 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1089 #if defined(PROTOBUF_CUSTOM_VTABLE)
1093 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1094 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1098 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1099 ::uint8_t* PROTOBUF_NONNULL target,
1100 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1101 return _InternalSerialize(*
this, target, stream);
1104 ::size_t ByteSizeLong() const final;
1105 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1106 ::uint8_t* PROTOBUF_NONNULL target,
1107 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1109 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1112 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1113 static void SharedDtor(MessageLite& self);
1114 void InternalSwap(SparseBoolVectorProto* PROTOBUF_NONNULL other);
1116 template <
typename T>
1118 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SparseBoolVectorProto"; }
1126 *
this = ::std::move(from);
1128 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1130 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1131 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1146 int ids_size()
const;
1148 int _internal_ids_size()
const;
1152 ::int64_t
ids(
int index)
const;
1153 void set_ids(
int index, ::int64_t value);
1154 void add_ids(::int64_t value);
1155 const ::google::protobuf::RepeatedField<::int64_t>&
ids()
const;
1156 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_ids();
1159 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids()
const;
1160 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
1166 int _internal_values_size()
const;
1170 bool values(
int index)
const;
1173 const ::google::protobuf::RepeatedField<bool>&
values()
const;
1174 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL
mutable_values();
1177 const ::google::protobuf::RepeatedField<bool>& _internal_values()
const;
1178 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL _internal_mutable_values();
1184 friend class ::google::protobuf::internal::TcParser;
1185 static const ::google::protobuf::internal::TcParseTable<1, 2,
1190 friend class ::google::protobuf::MessageLite;
1191 friend class ::google::protobuf::Arena;
1192 template <
typename T>
1193 friend class ::google::protobuf::Arena::InternalHelper;
1194 using InternalArenaConstructable_ = void;
1195 using DestructorSkippable_ = void;
1197 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1198 inline explicit Impl_(
1199 ::google::protobuf::internal::InternalVisibility visibility,
1200 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1201 inline explicit Impl_(
1202 ::google::protobuf::internal::InternalVisibility visibility,
1203 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1205 ::google::protobuf::RepeatedField<::int64_t> ids_;
1206 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
1207 ::google::protobuf::RepeatedField<bool> values_;
1208 ::google::protobuf::internal::CachedSize _cached_size_;
1209 PROTOBUF_TSAN_DECLARE_MEMBER
1211 union { Impl_ _impl_; };
1212 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto;
1224#if defined(PROTOBUF_CUSTOM_VTABLE)
1231 template <
typename =
void>
1232 explicit PROTOBUF_CONSTEXPR
LinearExpressionProto(::google::protobuf::internal::ConstantInitialized);
1235 inline LinearExpressionProto(LinearExpressionProto&& from) noexcept
1236 : LinearExpressionProto(
nullptr, ::std::move(from)) {}
1237 inline LinearExpressionProto& operator=(
const LinearExpressionProto& from) {
1242 if (
this == &from)
return *
this;
1243 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1244 InternalSwap(&from);
1251 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1252 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1253 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1255 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1256 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1257 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1260 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1261 return GetDescriptor();
1263 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1264 return default_instance().GetMetadata().descriptor;
1266 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1276 if (other ==
this)
return;
1277 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1278 InternalSwap(other);
1280 ::google::protobuf::internal::GenericSwap(
this, other);
1284 if (other ==
this)
return;
1285 ABSL_DCHECK(GetArena() == other->GetArena());
1286 InternalSwap(other);
1292 return ::google::protobuf::Message::DefaultConstruct<LinearExpressionProto>(arena);
1294 using ::google::protobuf::Message::CopyFrom;
1296 using ::google::protobuf::Message::MergeFrom;
1297 void MergeFrom(
const LinearExpressionProto& from) { LinearExpressionProto::MergeImpl(*
this, from); }
1300 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1301 const ::google::protobuf::MessageLite& from_msg);
1307 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1308 #if defined(PROTOBUF_CUSTOM_VTABLE)
1310 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1312 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1313 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1317 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1318 ::uint8_t* PROTOBUF_NONNULL target,
1319 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1320 return _InternalSerialize(*
this, target, stream);
1323 ::size_t ByteSizeLong() const final;
1324 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1325 ::uint8_t* PROTOBUF_NONNULL target,
1326 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1328 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1331 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1332 static void SharedDtor(MessageLite& self);
1333 void InternalSwap(LinearExpressionProto* PROTOBUF_NONNULL other);
1335 template <
typename T>
1337 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.LinearExpressionProto"; }
1345 *
this = ::std::move(from);
1347 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1348 static
void* PROTOBUF_NONNULL PlacementNew_(
1349 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1350 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1366 int ids_size()
const;
1368 int _internal_ids_size()
const;
1372 ::int64_t
ids(
int index)
const;
1373 void set_ids(
int index, ::int64_t value);
1374 void add_ids(::int64_t value);
1375 const ::google::protobuf::RepeatedField<::int64_t>&
ids()
const;
1376 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_ids();
1379 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids()
const;
1380 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
1386 int _internal_coefficients_size()
const;
1393 const ::google::protobuf::RepeatedField<double>&
coefficients()
const;
1397 const ::google::protobuf::RepeatedField<double>& _internal_coefficients()
const;
1398 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_coefficients();
1407 double _internal_offset()
const;
1408 void _internal_set_offset(
double value);
1414 friend class ::google::protobuf::internal::TcParser;
1415 static const ::google::protobuf::internal::TcParseTable<2, 3,
1420 friend class ::google::protobuf::MessageLite;
1421 friend class ::google::protobuf::Arena;
1422 template <
typename T>
1423 friend class ::google::protobuf::Arena::InternalHelper;
1424 using InternalArenaConstructable_ = void;
1425 using DestructorSkippable_ = void;
1427 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1428 inline explicit Impl_(
1429 ::google::protobuf::internal::InternalVisibility visibility,
1430 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1431 inline explicit Impl_(
1432 ::google::protobuf::internal::InternalVisibility visibility,
1433 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1435 ::google::protobuf::internal::HasBits<1> _has_bits_;
1436 ::google::protobuf::internal::CachedSize _cached_size_;
1437 ::google::protobuf::RepeatedField<::int64_t> ids_;
1438 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
1439 ::google::protobuf::RepeatedField<double> coefficients_;
1441 PROTOBUF_TSAN_DECLARE_MEMBER
1443 union { Impl_ _impl_; };
1444 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto;
1458#pragma GCC diagnostic push
1459#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1466inline int SparseDoubleVectorProto::_internal_ids_size()
const {
1467 return _internal_ids().size();
1470 return _internal_ids_size();
1473 ::google::protobuf::internal::TSanWrite(&
_impl_);
1478 return _internal_ids().Get(index);
1481 _internal_mutable_ids()->Set(index, value);
1485 ::google::protobuf::internal::TSanWrite(&
_impl_);
1486 _internal_mutable_ids()->Add(value);
1490 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1492 return _internal_ids();
1495 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1497 ::google::protobuf::internal::TSanWrite(&
_impl_);
1498 return _internal_mutable_ids();
1500inline const ::google::protobuf::RepeatedField<::int64_t>&
1501SparseDoubleVectorProto::_internal_ids()
const {
1502 ::google::protobuf::internal::TSanRead(&
_impl_);
1505inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1506SparseDoubleVectorProto::_internal_mutable_ids() {
1507 ::google::protobuf::internal::TSanRead(&
_impl_);
1512inline int SparseDoubleVectorProto::_internal_values_size()
const {
1513 return _internal_values().size();
1516 return _internal_values_size();
1519 ::google::protobuf::internal::TSanWrite(&
_impl_);
1524 return _internal_values().Get(index);
1527 _internal_mutable_values()->Set(index, value);
1531 ::google::protobuf::internal::TSanWrite(&
_impl_);
1532 _internal_mutable_values()->Add(value);
1536 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1538 return _internal_values();
1541 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1543 ::google::protobuf::internal::TSanWrite(&
_impl_);
1544 return _internal_mutable_values();
1546inline const ::google::protobuf::RepeatedField<double>&
1547SparseDoubleVectorProto::_internal_values()
const {
1548 ::google::protobuf::internal::TSanRead(&
_impl_);
1551inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
1552SparseDoubleVectorProto::_internal_mutable_values() {
1553 ::google::protobuf::internal::TSanRead(&
_impl_);
1562inline int SparseBoolVectorProto::_internal_ids_size()
const {
1563 return _internal_ids().size();
1566 return _internal_ids_size();
1569 ::google::protobuf::internal::TSanWrite(&
_impl_);
1574 return _internal_ids().Get(index);
1577 _internal_mutable_ids()->Set(index, value);
1581 ::google::protobuf::internal::TSanWrite(&
_impl_);
1582 _internal_mutable_ids()->Add(value);
1586 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1588 return _internal_ids();
1591 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1593 ::google::protobuf::internal::TSanWrite(&
_impl_);
1594 return _internal_mutable_ids();
1596inline const ::google::protobuf::RepeatedField<::int64_t>&
1597SparseBoolVectorProto::_internal_ids()
const {
1598 ::google::protobuf::internal::TSanRead(&
_impl_);
1601inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1602SparseBoolVectorProto::_internal_mutable_ids() {
1603 ::google::protobuf::internal::TSanRead(&
_impl_);
1608inline int SparseBoolVectorProto::_internal_values_size()
const {
1609 return _internal_values().size();
1612 return _internal_values_size();
1615 ::google::protobuf::internal::TSanWrite(&
_impl_);
1620 return _internal_values().Get(index);
1623 _internal_mutable_values()->Set(index, value);
1627 ::google::protobuf::internal::TSanWrite(&
_impl_);
1628 _internal_mutable_values()->Add(value);
1632 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1634 return _internal_values();
1637 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1639 ::google::protobuf::internal::TSanWrite(&
_impl_);
1640 return _internal_mutable_values();
1642inline const ::google::protobuf::RepeatedField<bool>&
1643SparseBoolVectorProto::_internal_values()
const {
1644 ::google::protobuf::internal::TSanRead(&
_impl_);
1647inline ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL
1648SparseBoolVectorProto::_internal_mutable_values() {
1649 ::google::protobuf::internal::TSanRead(&
_impl_);
1658inline int SparseInt32VectorProto::_internal_ids_size()
const {
1659 return _internal_ids().size();
1662 return _internal_ids_size();
1665 ::google::protobuf::internal::TSanWrite(&
_impl_);
1670 return _internal_ids().Get(index);
1673 _internal_mutable_ids()->Set(index, value);
1677 ::google::protobuf::internal::TSanWrite(&
_impl_);
1678 _internal_mutable_ids()->Add(value);
1682 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1684 return _internal_ids();
1687 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1689 ::google::protobuf::internal::TSanWrite(&
_impl_);
1690 return _internal_mutable_ids();
1692inline const ::google::protobuf::RepeatedField<::int64_t>&
1693SparseInt32VectorProto::_internal_ids()
const {
1694 ::google::protobuf::internal::TSanRead(&
_impl_);
1697inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1698SparseInt32VectorProto::_internal_mutable_ids() {
1699 ::google::protobuf::internal::TSanRead(&
_impl_);
1704inline int SparseInt32VectorProto::_internal_values_size()
const {
1705 return _internal_values().size();
1708 return _internal_values_size();
1711 ::google::protobuf::internal::TSanWrite(&
_impl_);
1716 return _internal_values().Get(index);
1719 _internal_mutable_values()->Set(index, value);
1723 ::google::protobuf::internal::TSanWrite(&
_impl_);
1724 _internal_mutable_values()->Add(value);
1728 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1730 return _internal_values();
1733 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1735 ::google::protobuf::internal::TSanWrite(&
_impl_);
1736 return _internal_mutable_values();
1738inline const ::google::protobuf::RepeatedField<::int32_t>&
1739SparseInt32VectorProto::_internal_values()
const {
1740 ::google::protobuf::internal::TSanRead(&
_impl_);
1743inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1744SparseInt32VectorProto::_internal_mutable_values() {
1745 ::google::protobuf::internal::TSanRead(&
_impl_);
1755 ::google::protobuf::internal::TSanWrite(&
_impl_);
1756 _impl_.skip_zero_values_ =
false;
1757 _impl_._has_bits_[0] &= ~0x00000001u;
1761 return _internal_skip_zero_values();
1764 _internal_set_skip_zero_values(value);
1765 _impl_._has_bits_[0] |= 0x00000001u;
1768inline bool SparseVectorFilterProto::_internal_skip_zero_values()
const {
1769 ::google::protobuf::internal::TSanRead(&
_impl_);
1770 return _impl_.skip_zero_values_;
1772inline void SparseVectorFilterProto::_internal_set_skip_zero_values(
bool value) {
1773 ::google::protobuf::internal::TSanWrite(&
_impl_);
1774 _impl_.skip_zero_values_ = value;
1779 ::google::protobuf::internal::TSanWrite(&
_impl_);
1780 _impl_.filter_by_ids_ =
false;
1781 _impl_._has_bits_[0] &= ~0x00000002u;
1785 return _internal_filter_by_ids();
1788 _internal_set_filter_by_ids(value);
1789 _impl_._has_bits_[0] |= 0x00000002u;
1792inline bool SparseVectorFilterProto::_internal_filter_by_ids()
const {
1793 ::google::protobuf::internal::TSanRead(&
_impl_);
1794 return _impl_.filter_by_ids_;
1796inline void SparseVectorFilterProto::_internal_set_filter_by_ids(
bool value) {
1797 ::google::protobuf::internal::TSanWrite(&
_impl_);
1798 _impl_.filter_by_ids_ = value;
1802inline int SparseVectorFilterProto::_internal_filtered_ids_size()
const {
1803 return _internal_filtered_ids().size();
1806 return _internal_filtered_ids_size();
1809 ::google::protobuf::internal::TSanWrite(&
_impl_);
1810 _impl_.filtered_ids_.Clear();
1814 return _internal_filtered_ids().Get(index);
1817 _internal_mutable_filtered_ids()->Set(index, value);
1821 ::google::protobuf::internal::TSanWrite(&
_impl_);
1822 _internal_mutable_filtered_ids()->Add(value);
1826 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1828 return _internal_filtered_ids();
1831 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1833 ::google::protobuf::internal::TSanWrite(&
_impl_);
1834 return _internal_mutable_filtered_ids();
1836inline const ::google::protobuf::RepeatedField<::int64_t>&
1837SparseVectorFilterProto::_internal_filtered_ids()
const {
1838 ::google::protobuf::internal::TSanRead(&
_impl_);
1839 return _impl_.filtered_ids_;
1841inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1842SparseVectorFilterProto::_internal_mutable_filtered_ids() {
1843 ::google::protobuf::internal::TSanRead(&
_impl_);
1844 return &
_impl_.filtered_ids_;
1852inline int SparseDoubleMatrixProto::_internal_row_ids_size()
const {
1853 return _internal_row_ids().size();
1856 return _internal_row_ids_size();
1859 ::google::protobuf::internal::TSanWrite(&
_impl_);
1864 return _internal_row_ids().Get(index);
1867 _internal_mutable_row_ids()->Set(index, value);
1871 ::google::protobuf::internal::TSanWrite(&
_impl_);
1872 _internal_mutable_row_ids()->Add(value);
1876 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1878 return _internal_row_ids();
1881 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1883 ::google::protobuf::internal::TSanWrite(&
_impl_);
1884 return _internal_mutable_row_ids();
1886inline const ::google::protobuf::RepeatedField<::int64_t>&
1887SparseDoubleMatrixProto::_internal_row_ids()
const {
1888 ::google::protobuf::internal::TSanRead(&
_impl_);
1891inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1892SparseDoubleMatrixProto::_internal_mutable_row_ids() {
1893 ::google::protobuf::internal::TSanRead(&
_impl_);
1898inline int SparseDoubleMatrixProto::_internal_column_ids_size()
const {
1899 return _internal_column_ids().size();
1902 return _internal_column_ids_size();
1905 ::google::protobuf::internal::TSanWrite(&
_impl_);
1906 _impl_.column_ids_.Clear();
1910 return _internal_column_ids().Get(index);
1913 _internal_mutable_column_ids()->Set(index, value);
1917 ::google::protobuf::internal::TSanWrite(&
_impl_);
1918 _internal_mutable_column_ids()->Add(value);
1922 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1924 return _internal_column_ids();
1927 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1929 ::google::protobuf::internal::TSanWrite(&
_impl_);
1930 return _internal_mutable_column_ids();
1932inline const ::google::protobuf::RepeatedField<::int64_t>&
1933SparseDoubleMatrixProto::_internal_column_ids()
const {
1934 ::google::protobuf::internal::TSanRead(&
_impl_);
1937inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1938SparseDoubleMatrixProto::_internal_mutable_column_ids() {
1939 ::google::protobuf::internal::TSanRead(&
_impl_);
1944inline int SparseDoubleMatrixProto::_internal_coefficients_size()
const {
1945 return _internal_coefficients().size();
1948 return _internal_coefficients_size();
1951 ::google::protobuf::internal::TSanWrite(&
_impl_);
1952 _impl_.coefficients_.Clear();
1956 return _internal_coefficients().Get(index);
1959 _internal_mutable_coefficients()->Set(index, value);
1963 ::google::protobuf::internal::TSanWrite(&
_impl_);
1964 _internal_mutable_coefficients()->Add(value);
1968 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1970 return _internal_coefficients();
1973 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1975 ::google::protobuf::internal::TSanWrite(&
_impl_);
1976 return _internal_mutable_coefficients();
1978inline const ::google::protobuf::RepeatedField<double>&
1979SparseDoubleMatrixProto::_internal_coefficients()
const {
1980 ::google::protobuf::internal::TSanRead(&
_impl_);
1983inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
1984SparseDoubleMatrixProto::_internal_mutable_coefficients() {
1985 ::google::protobuf::internal::TSanRead(&
_impl_);
1994inline int LinearExpressionProto::_internal_ids_size()
const {
1995 return _internal_ids().size();
1998 return _internal_ids_size();
2001 ::google::protobuf::internal::TSanWrite(&
_impl_);
2006 return _internal_ids().Get(index);
2009 _internal_mutable_ids()->Set(index, value);
2013 ::google::protobuf::internal::TSanWrite(&
_impl_);
2014 _internal_mutable_ids()->Add(value);
2018 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2020 return _internal_ids();
2023 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2025 ::google::protobuf::internal::TSanWrite(&
_impl_);
2026 return _internal_mutable_ids();
2028inline const ::google::protobuf::RepeatedField<::int64_t>&
2029LinearExpressionProto::_internal_ids()
const {
2030 ::google::protobuf::internal::TSanRead(&
_impl_);
2033inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2034LinearExpressionProto::_internal_mutable_ids() {
2035 ::google::protobuf::internal::TSanRead(&
_impl_);
2040inline int LinearExpressionProto::_internal_coefficients_size()
const {
2041 return _internal_coefficients().size();
2044 return _internal_coefficients_size();
2047 ::google::protobuf::internal::TSanWrite(&
_impl_);
2048 _impl_.coefficients_.Clear();
2052 return _internal_coefficients().Get(index);
2055 _internal_mutable_coefficients()->Set(index, value);
2059 ::google::protobuf::internal::TSanWrite(&
_impl_);
2060 _internal_mutable_coefficients()->Add(value);
2064 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2066 return _internal_coefficients();
2069 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2071 ::google::protobuf::internal::TSanWrite(&
_impl_);
2072 return _internal_mutable_coefficients();
2074inline const ::google::protobuf::RepeatedField<double>&
2075LinearExpressionProto::_internal_coefficients()
const {
2076 ::google::protobuf::internal::TSanRead(&
_impl_);
2077 return _impl_.coefficients_;
2079inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
2080LinearExpressionProto::_internal_mutable_coefficients() {
2081 ::google::protobuf::internal::TSanRead(&
_impl_);
2082 return &
_impl_.coefficients_;
2087 ::google::protobuf::internal::TSanWrite(&
_impl_);
2089 _impl_._has_bits_[0] &= ~0x00000001u;
2093 return _internal_offset();
2096 _internal_set_offset(value);
2097 _impl_._has_bits_[0] |= 0x00000001u;
2100inline double LinearExpressionProto::_internal_offset()
const {
2101 ::google::protobuf::internal::TSanRead(&
_impl_);
2104inline void LinearExpressionProto::_internal_set_offset(
double value) {
2105 ::google::protobuf::internal::TSanWrite(&
_impl_);
2110#pragma GCC diagnostic pop
2120#include "google/protobuf/port_undef.inc"
double coefficients(int index) const
void add_coefficients(double value)
::size_t ByteSizeLong() const final
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool IsInitialized() const
void clear_offset()
double offset = 3;
@ kCoefficientsFieldNumber
const ::google::protobuf::RepeatedField< double > & coefficients() const
void Swap(LinearExpressionProto *PROTOBUF_NONNULL other)
void clear_coefficients()
void set_coefficients(int index, double value)
static constexpr int kIndexInFileMessages
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids()
friend void swap(LinearExpressionProto &a, LinearExpressionProto &b)
::int64_t ids(int index) const
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
void add_ids(::int64_t value)
int ids_size() const
repeated int64 ids = 1;
LinearExpressionProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_coefficients()
void set_offset(double value)
int coefficients_size() const
repeated double coefficients = 2;
LinearExpressionProto & operator=(const LinearExpressionProto &from)
void set_ids(int index, ::int64_t value)
static constexpr auto InternalGenerateClassData_()
static const LinearExpressionProto & default_instance()
friend class ::google::protobuf::Arena
const ::google::protobuf::RepeatedField< bool > & values() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_values(int index, bool value)
::google::protobuf::Metadata GetMetadata() const
SparseBoolVectorProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void set_ids(int index, ::int64_t value)
static const SparseBoolVectorProto & default_instance()
int values_size() const
repeated bool values = 2;
void CopyFrom(const SparseBoolVectorProto &from)
::google::protobuf::RepeatedField< bool > *PROTOBUF_NONNULL mutable_values()
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids()
bool values(int index) const
bool IsInitialized() const
::size_t ByteSizeLong() const final
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void add_values(bool value)
void add_ids(::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
int ids_size() const
repeated int64 ids = 1;
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void MergeFrom(const SparseBoolVectorProto &from)
SparseBoolVectorProto & operator=(const SparseBoolVectorProto &from)
static constexpr auto InternalNewImpl_()
::int64_t ids(int index) const
void Swap(SparseBoolVectorProto *PROTOBUF_NONNULL other)
friend class ::google::protobuf::Arena
SparseDoubleMatrixProto & operator=(const SparseDoubleMatrixProto &from)
void add_column_ids(::int64_t value)
void MergeFrom(const SparseDoubleMatrixProto &from)
void add_coefficients(double value)
const ::google::protobuf::RepeatedField<::int64_t > & row_ids() const
friend void swap(SparseDoubleMatrixProto &a, SparseDoubleMatrixProto &b)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
SparseDoubleMatrixProto()
void set_row_ids(int index, ::int64_t value)
static constexpr auto InternalGenerateClassData_()
double coefficients(int index) const
int column_ids_size() const
repeated int64 column_ids = 2;
void add_row_ids(::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & column_ids() const
bool IsInitialized() const
@ kCoefficientsFieldNumber
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::int64_t row_ids(int index) const
int coefficients_size() const
repeated double coefficients = 3;
const ::google::protobuf::RepeatedField< double > & coefficients() const
SparseDoubleMatrixProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void set_column_ids(int index, ::int64_t value)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_column_ids()
void clear_coefficients()
void CopyFrom(const SparseDoubleMatrixProto &from)
::google::protobuf::Metadata GetMetadata() const
int row_ids_size() const
repeated int64 row_ids = 1;
::size_t ByteSizeLong() const final
::int64_t column_ids(int index) const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_row_ids()
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_coefficients()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_coefficients(int index, double value)
static constexpr auto InternalNewImpl_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void Swap(SparseDoubleMatrixProto *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::Arena
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend class ::google::protobuf::MessageLite
int ids_size() const
repeated int64 ids = 1;
void CopyFrom(const SparseDoubleVectorProto &from)
friend void swap(SparseDoubleVectorProto &a, SparseDoubleVectorProto &b)
PROTOBUF_CONSTEXPR SparseDoubleVectorProto(::google::protobuf::internal::ConstantInitialized)
SparseDoubleVectorProto()
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
static constexpr int kIndexInFileMessages
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids()
::int64_t ids(int index) const
static const SparseDoubleVectorProto & default_instance()
void MergeFrom(const SparseDoubleVectorProto &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
bool IsInitialized() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void add_ids(::int64_t value)
void set_ids(int index, ::int64_t value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
double values(int index) const
SparseDoubleVectorProto & operator=(const SparseDoubleVectorProto &from)
void set_values(int index, double value)
const ::google::protobuf::RepeatedField< double > & values() const
void add_values(double value)
void Swap(SparseDoubleVectorProto *PROTOBUF_NONNULL other)
int values_size() const
repeated double values = 2;
::size_t ByteSizeLong() const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_values()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::MessageLite
void add_values(::int32_t value)
void set_ids(int index, ::int64_t value)
void MergeFrom(const SparseInt32VectorProto &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void add_ids(::int64_t value)
const ::google::protobuf::RepeatedField<::int32_t > & values() const
int values_size() const
repeated int32 values = 2;
::int64_t ids(int index) const
::size_t ByteSizeLong() const final
SparseInt32VectorProto & operator=(const SparseInt32VectorProto &from)
void CopyFrom(const SparseInt32VectorProto &from)
int ids_size() const
repeated int64 ids = 1;
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
static const SparseInt32VectorProto & default_instance()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids()
void Swap(SparseInt32VectorProto *PROTOBUF_NONNULL other)
::int32_t values(int index) const
PROTOBUF_CONSTEXPR SparseInt32VectorProto(::google::protobuf::internal::ConstantInitialized)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
bool IsInitialized() const
void set_values(int index, ::int32_t value)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_values()
::int64_t filtered_ids(int index) const
friend class ::google::protobuf::MessageLite
void set_skip_zero_values(bool value)
bool IsInitialized() const
void clear_filtered_ids()
PROTOBUF_CONSTEXPR SparseVectorFilterProto(::google::protobuf::internal::ConstantInitialized)
SparseVectorFilterProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, SparseVectorFilterProto &&from) noexcept
int filtered_ids_size() const
repeated int64 filtered_ids = 3;
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_filtered_ids()
SparseVectorFilterProto & operator=(const SparseVectorFilterProto &from)
bool filter_by_ids() const
void set_filter_by_ids(bool value)
void clear_filter_by_ids()
bool filter_by_ids = 2;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
SparseVectorFilterProto(const SparseVectorFilterProto &from)
@ kFilterByIdsFieldNumber
void add_filtered_ids(::int64_t value)
SparseVectorFilterProto()
const ::google::protobuf::RepeatedField<::int64_t > & filtered_ids() const
void clear_skip_zero_values()
bool skip_zero_values = 1;
void Swap(SparseVectorFilterProto *PROTOBUF_NONNULL other)
bool skip_zero_values() const
void CopyFrom(const SparseVectorFilterProto &from)
void set_filtered_ids(int index, ::int64_t value)
::absl::string_view GetAnyMessageName()
An object oriented wrapper for quadratic constraints in ModelStorage.
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseInt32VectorProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearExpressionProtoDefaultTypeInternal _LinearExpressionProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseDoubleVectorProto_class_data_
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 SparseVectorFilterProtoDefaultTypeInternal _SparseVectorFilterProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseInt32VectorProtoDefaultTypeInternal _SparseInt32VectorProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleMatrixProtoDefaultTypeInternal _SparseDoubleMatrixProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseDoubleMatrixProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseVectorFilterProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseBoolVectorProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearExpressionProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseBoolVectorProtoDefaultTypeInternal _SparseBoolVectorProto_default_instance_
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto