6#ifndef ortools_2fset_5fcover_2fcapacity_2eproto_2epb_2eh
7#define ortools_2fset_5fcover_2fcapacity_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_2fset_5fcover_2fcapacity_2eproto OR_PROTO_DLL
87#if defined(PROTOBUF_CUSTOM_VTABLE)
94 template <
typename =
void>
105 if (
this == &from)
return *
this;
106 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
114 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
115 ABSL_ATTRIBUTE_LIFETIME_BOUND {
116 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
118 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
119 ABSL_ATTRIBUTE_LIFETIME_BOUND {
120 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
123 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
124 return GetDescriptor();
126 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
127 return default_instance().GetMetadata().descriptor;
129 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
130 return default_instance().GetMetadata().reflection;
136 static constexpr int kIndexInFileMessages = 0;
139 if (other ==
this)
return;
140 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
143 ::google::protobuf::internal::GenericSwap(
this, other);
146 void UnsafeArenaSwap(CapacityConstraintProto_CapacityTerm_ElementWeightPair* PROTOBUF_NONNULL other) {
147 if (other ==
this)
return;
148 ABSL_DCHECK(GetArena() == other->GetArena());
155 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto_CapacityTerm_ElementWeightPair>(arena);
157 using ::google::protobuf::Message::CopyFrom;
159 using ::google::protobuf::Message::MergeFrom;
163 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
164 const ::google::protobuf::MessageLite& from_msg);
170 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
171 #if defined(PROTOBUF_CUSTOM_VTABLE)
173 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
174 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
175 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
176 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
179 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
180 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
181 ::uint8_t* PROTOBUF_NONNULL target,
182 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
183 return _InternalSerialize(*
this, target, stream);
186 ::size_t ByteSizeLong() const final;
187 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
188 ::uint8_t* PROTOBUF_NONNULL target,
189 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
191 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
194 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
198 template <
typename T>
200 static ::absl::string_view FullMessageName() {
return "operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair"; }
208 *
this = ::std::move(from);
210 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
211 static
void* PROTOBUF_NONNULL PlacementNew_(
212 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
213 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
214 static constexpr auto InternalNewImpl_();
217 static constexpr auto InternalGenerateClassData_();
219 ::
google::protobuf::Metadata GetMetadata() const;
224 kElementFieldNumber = 1,
225 kWeightFieldNumber = 2,
233 ::int64_t _internal_element()
const;
234 void _internal_set_element(::int64_t value);
243 ::int64_t _internal_weight()
const;
244 void _internal_set_weight(::int64_t value);
250 friend class ::google::protobuf::internal::TcParser;
251 static const ::google::protobuf::internal::TcParseTable<1, 2,
256 friend class ::google::protobuf::MessageLite;
257 friend class ::google::protobuf::Arena;
258 template <
typename T>
259 friend class ::google::protobuf::Arena::InternalHelper;
260 using InternalArenaConstructable_ = void;
261 using DestructorSkippable_ = void;
263 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
264 inline explicit Impl_(
265 ::google::protobuf::internal::InternalVisibility visibility,
266 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
267 inline explicit Impl_(
268 ::google::protobuf::internal::InternalVisibility visibility,
269 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
271 ::google::protobuf::internal::HasBits<1> _has_bits_;
272 ::google::protobuf::internal::CachedSize _cached_size_;
275 PROTOBUF_TSAN_DECLARE_MEMBER
277 union { Impl_ _impl_; };
278 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
290#if defined(PROTOBUF_CUSTOM_VTABLE)
297 template <
typename =
void>
308 if (
this == &from)
return *
this;
309 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
317 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
318 ABSL_ATTRIBUTE_LIFETIME_BOUND {
319 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
321 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
322 ABSL_ATTRIBUTE_LIFETIME_BOUND {
323 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
326 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
327 return GetDescriptor();
329 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
332 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
339 static constexpr int kIndexInFileMessages = 1;
341 inline void Swap(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL other) {
342 if (other ==
this)
return;
343 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
346 ::google::protobuf::internal::GenericSwap(
this, other);
349 void UnsafeArenaSwap(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL other) {
350 if (other ==
this)
return;
351 ABSL_DCHECK(GetArena() == other->GetArena());
358 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto_CapacityTerm>(arena);
360 using ::google::protobuf::Message::CopyFrom;
362 using ::google::protobuf::Message::MergeFrom;
366 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
367 const ::google::protobuf::MessageLite& from_msg);
373 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
374 #if defined(PROTOBUF_CUSTOM_VTABLE)
376 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
378 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
379 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
383 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
384 ::uint8_t* PROTOBUF_NONNULL target,
385 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
386 return _InternalSerialize(*
this, target, stream);
389 ::size_t ByteSizeLong() const final;
390 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
391 ::uint8_t* PROTOBUF_NONNULL target,
392 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
394 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
397 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
401 template <
typename T>
403 static ::absl::string_view FullMessageName() {
return "operations_research.CapacityConstraintProto.CapacityTerm"; }
411 *
this = ::std::move(from);
413 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
414 static
void* PROTOBUF_NONNULL PlacementNew_(
415 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
416 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
417 static constexpr auto InternalNewImpl_();
420 static constexpr auto InternalGenerateClassData_();
422 ::
google::protobuf::Metadata GetMetadata() const;
434 int _internal_element_weights_size()
const;
439 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL
mutable_element_weights();
442 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>& _internal_element_weights()
const;
443 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL _internal_mutable_element_weights();
445 const ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair&
element_weights(
int index)
const;
447 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>&
element_weights()
const;
454 ::int64_t _internal_subset()
const;
455 void _internal_set_subset(::int64_t value);
461 friend class ::google::protobuf::internal::TcParser;
462 static const ::google::protobuf::internal::TcParseTable<1, 2,
467 friend class ::google::protobuf::MessageLite;
468 friend class ::google::protobuf::Arena;
469 template <
typename T>
470 friend class ::google::protobuf::Arena::InternalHelper;
471 using InternalArenaConstructable_ = void;
472 using DestructorSkippable_ = void;
474 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
475 inline explicit Impl_(
476 ::google::protobuf::internal::InternalVisibility visibility,
477 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
478 inline explicit Impl_(
479 ::google::protobuf::internal::InternalVisibility visibility,
480 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
482 ::google::protobuf::internal::HasBits<1> _has_bits_;
483 ::google::protobuf::internal::CachedSize _cached_size_;
484 ::google::protobuf::RepeatedPtrField< ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair > element_weights_;
486 PROTOBUF_TSAN_DECLARE_MEMBER
488 union { Impl_ _impl_; };
489 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
501#if defined(PROTOBUF_CUSTOM_VTABLE)
508 template <
typename =
void>
512 inline CapacityConstraintProto(CapacityConstraintProto&& from) noexcept
519 if (
this == &from)
return *
this;
520 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
528 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
529 ABSL_ATTRIBUTE_LIFETIME_BOUND {
530 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
533 ABSL_ATTRIBUTE_LIFETIME_BOUND {
534 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
537 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
540 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
543 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
553 if (other ==
this)
return;
554 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
557 ::google::protobuf::internal::GenericSwap(
this, other);
560 void UnsafeArenaSwap(CapacityConstraintProto* PROTOBUF_NONNULL other) {
561 if (other ==
this)
return;
562 ABSL_DCHECK(GetArena() == other->GetArena());
568 CapacityConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
569 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto>(arena);
571 using ::google::protobuf::Message::CopyFrom;
573 using ::google::protobuf::Message::MergeFrom;
577 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
578 const ::google::protobuf::MessageLite& from_msg);
584 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
585 #if defined(PROTOBUF_CUSTOM_VTABLE)
587 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
589 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
590 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
594 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
595 ::uint8_t* PROTOBUF_NONNULL target,
596 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
597 return _InternalSerialize(*
this, target, stream);
600 ::size_t ByteSizeLong() const final;
601 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
602 ::uint8_t* PROTOBUF_NONNULL target,
603 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
605 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
608 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
612 template <
typename T>
614 static ::absl::string_view FullMessageName() {
return "operations_research.CapacityConstraintProto"; }
622 *
this = ::std::move(from);
624 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
625 static
void* PROTOBUF_NONNULL PlacementNew_(
626 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
627 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
628 static constexpr auto InternalNewImpl_();
631 static constexpr auto InternalGenerateClassData_();
633 ::
google::protobuf::Metadata GetMetadata() const;
646 int _internal_capacity_term_size()
const;
651 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL
mutable_capacity_term();
654 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>& _internal_capacity_term()
const;
655 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL _internal_mutable_capacity_term();
657 const ::operations_research::CapacityConstraintProto_CapacityTerm&
capacity_term(
int index)
const;
659 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>&
capacity_term()
const;
666 ::int64_t _internal_min_capacity()
const;
667 void _internal_set_min_capacity(::int64_t value);
676 ::int64_t _internal_max_capacity()
const;
677 void _internal_set_max_capacity(::int64_t value);
683 friend class ::google::protobuf::internal::TcParser;
684 static const ::google::protobuf::internal::TcParseTable<2, 3,
689 friend class ::google::protobuf::MessageLite;
690 friend class ::google::protobuf::Arena;
691 template <
typename T>
692 friend class ::google::protobuf::Arena::InternalHelper;
693 using InternalArenaConstructable_ = void;
694 using DestructorSkippable_ = void;
696 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
697 inline explicit Impl_(
698 ::google::protobuf::internal::InternalVisibility visibility,
699 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
700 inline explicit Impl_(
701 ::google::protobuf::internal::InternalVisibility visibility,
702 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
704 ::google::protobuf::internal::HasBits<1> _has_bits_;
705 ::google::protobuf::internal::CachedSize _cached_size_;
706 ::google::protobuf::RepeatedPtrField< ::operations_research::CapacityConstraintProto_CapacityTerm > capacity_term_;
707 ::int64_t min_capacity_;
708 ::int64_t max_capacity_;
709 PROTOBUF_TSAN_DECLARE_MEMBER
711 union { Impl_ _impl_; };
712 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
726#pragma GCC diagnostic push
727#pragma GCC diagnostic ignored "-Wstrict-aliasing"
735 ::google::protobuf::internal::TSanWrite(&
_impl_);
736 _impl_.element_ = ::int64_t{0};
737 _impl_._has_bits_[0] &= ~0x00000001u;
741 return _internal_element();
744 _internal_set_element(value);
745 _impl_._has_bits_[0] |= 0x00000001u;
748inline ::int64_t CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_element()
const {
749 ::google::protobuf::internal::TSanRead(&
_impl_);
752inline void CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_set_element(::int64_t value) {
753 ::google::protobuf::internal::TSanWrite(&
_impl_);
759 ::google::protobuf::internal::TSanWrite(&
_impl_);
760 _impl_.weight_ = ::int64_t{0};
761 _impl_._has_bits_[0] &= ~0x00000002u;
765 return _internal_weight();
768 _internal_set_weight(value);
769 _impl_._has_bits_[0] |= 0x00000002u;
772inline ::int64_t CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_weight()
const {
773 ::google::protobuf::internal::TSanRead(&
_impl_);
776inline void CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_set_weight(::int64_t value) {
777 ::google::protobuf::internal::TSanWrite(&
_impl_);
787 ::google::protobuf::internal::TSanWrite(&
_impl_);
788 _impl_.subset_ = ::int64_t{0};
789 _impl_._has_bits_[0] &= ~0x00000001u;
793 return _internal_subset();
796 _internal_set_subset(value);
797 _impl_._has_bits_[0] |= 0x00000001u;
800inline ::int64_t CapacityConstraintProto_CapacityTerm::_internal_subset()
const {
801 ::google::protobuf::internal::TSanRead(&
_impl_);
804inline void CapacityConstraintProto_CapacityTerm::_internal_set_subset(::int64_t value) {
805 ::google::protobuf::internal::TSanWrite(&
_impl_);
810inline int CapacityConstraintProto_CapacityTerm::_internal_element_weights_size()
const {
811 return _internal_element_weights().size();
814 return _internal_element_weights_size();
817 ::google::protobuf::internal::TSanWrite(&
_impl_);
818 _impl_.element_weights_.Clear();
821 ABSL_ATTRIBUTE_LIFETIME_BOUND {
823 return _internal_mutable_element_weights()->Mutable(index);
826 ABSL_ATTRIBUTE_LIFETIME_BOUND {
828 ::google::protobuf::internal::TSanWrite(&
_impl_);
829 return _internal_mutable_element_weights();
832 ABSL_ATTRIBUTE_LIFETIME_BOUND {
834 return _internal_element_weights().Get(index);
837 ABSL_ATTRIBUTE_LIFETIME_BOUND {
838 ::google::protobuf::internal::TSanWrite(&
_impl_);
844 ABSL_ATTRIBUTE_LIFETIME_BOUND {
846 return _internal_element_weights();
848inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>&
849CapacityConstraintProto_CapacityTerm::_internal_element_weights()
const {
850 ::google::protobuf::internal::TSanRead(&
_impl_);
853inline ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL
854CapacityConstraintProto_CapacityTerm::_internal_mutable_element_weights() {
855 ::google::protobuf::internal::TSanRead(&
_impl_);
856 return &
_impl_.element_weights_;
864inline int CapacityConstraintProto::_internal_capacity_term_size()
const {
865 return _internal_capacity_term().size();
868 return _internal_capacity_term_size();
871 ::google::protobuf::internal::TSanWrite(&
_impl_);
872 _impl_.capacity_term_.Clear();
875 ABSL_ATTRIBUTE_LIFETIME_BOUND {
877 return _internal_mutable_capacity_term()->Mutable(index);
880 ABSL_ATTRIBUTE_LIFETIME_BOUND {
882 ::google::protobuf::internal::TSanWrite(&
_impl_);
883 return _internal_mutable_capacity_term();
886 ABSL_ATTRIBUTE_LIFETIME_BOUND {
888 return _internal_capacity_term().Get(index);
891 ABSL_ATTRIBUTE_LIFETIME_BOUND {
892 ::google::protobuf::internal::TSanWrite(&
_impl_);
898 ABSL_ATTRIBUTE_LIFETIME_BOUND {
900 return _internal_capacity_term();
902inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>&
903CapacityConstraintProto::_internal_capacity_term()
const {
904 ::google::protobuf::internal::TSanRead(&
_impl_);
905 return _impl_.capacity_term_;
907inline ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL
908CapacityConstraintProto::_internal_mutable_capacity_term() {
909 ::google::protobuf::internal::TSanRead(&
_impl_);
910 return &
_impl_.capacity_term_;
915 ::google::protobuf::internal::TSanWrite(&
_impl_);
916 _impl_.min_capacity_ = ::int64_t{0};
917 _impl_._has_bits_[0] &= ~0x00000001u;
921 return _internal_min_capacity();
924 _internal_set_min_capacity(value);
925 _impl_._has_bits_[0] |= 0x00000001u;
928inline ::int64_t CapacityConstraintProto::_internal_min_capacity()
const {
929 ::google::protobuf::internal::TSanRead(&
_impl_);
930 return _impl_.min_capacity_;
932inline void CapacityConstraintProto::_internal_set_min_capacity(::int64_t value) {
933 ::google::protobuf::internal::TSanWrite(&
_impl_);
934 _impl_.min_capacity_ = value;
939 ::google::protobuf::internal::TSanWrite(&
_impl_);
940 _impl_.max_capacity_ = ::int64_t{0};
941 _impl_._has_bits_[0] &= ~0x00000002u;
945 return _internal_max_capacity();
948 _internal_set_max_capacity(value);
949 _impl_._has_bits_[0] |= 0x00000002u;
952inline ::int64_t CapacityConstraintProto::_internal_max_capacity()
const {
953 ::google::protobuf::internal::TSanRead(&
_impl_);
954 return _impl_.max_capacity_;
956inline void CapacityConstraintProto::_internal_set_max_capacity(::int64_t value) {
957 ::google::protobuf::internal::TSanWrite(&
_impl_);
958 _impl_.max_capacity_ = value;
962#pragma GCC diagnostic pop
971#include "google/protobuf/port_undef.inc"
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fset_5fcover_2fcapacity_2eproto
friend class ::google::protobuf::MessageLite
void clear_element()
int64 element = 1;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
bool IsInitialized() const
void set_element(::int64_t value)
::int64_t element() const
void CopyFrom(const CapacityConstraintProto_CapacityTerm_ElementWeightPair &from)
PROTOBUF_CONSTEXPR CapacityConstraintProto_CapacityTerm_ElementWeightPair(::google::protobuf::internal::ConstantInitialized)
CapacityConstraintProto_CapacityTerm_ElementWeightPair(const CapacityConstraintProto_CapacityTerm_ElementWeightPair &from)
CapacityConstraintProto_CapacityTerm_ElementWeightPair & operator=(const CapacityConstraintProto_CapacityTerm_ElementWeightPair &from)
void set_weight(::int64_t value)
void clear_weight()
int64 weight = 2;
CapacityConstraintProto_CapacityTerm_ElementWeightPair(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, CapacityConstraintProto_CapacityTerm_ElementWeightPair &&from) noexcept
CapacityConstraintProto_CapacityTerm_ElementWeightPair()
void Swap(CapacityConstraintProto_CapacityTerm_ElementWeightPair *PROTOBUF_NONNULL other)
friend class ::google::protobuf::MessageLite
void set_subset(::int64_t value)
CapacityConstraintProto_CapacityTerm()
PROTOBUF_CONSTEXPR CapacityConstraintProto_CapacityTerm(::google::protobuf::internal::ConstantInitialized)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const CapacityConstraintProto_CapacityTerm & default_instance()
::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair *PROTOBUF_NONNULL add_element_weights()
void clear_element_weights()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
CapacityConstraintProto_CapacityTerm & operator=(const CapacityConstraintProto_CapacityTerm &from)
void MergeFrom(const CapacityConstraintProto_CapacityTerm &from)
int element_weights_size() const
repeated .operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair element_weights ...
::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair *PROTOBUF_NONNULL mutable_element_weights(int index)
void clear_subset()
int64 subset = 1;
@ kElementWeightsFieldNumber
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair > *PROTOBUF_NONNULL mutable_element_weights()
void CopyFrom(const CapacityConstraintProto_CapacityTerm &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
const ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair & element_weights(int index) const
void Swap(CapacityConstraintProto_CapacityTerm *PROTOBUF_NONNULL other)
bool IsInitialized() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair > & element_weights() const
::size_t ByteSizeLong() const final
int capacity_term_size() const
repeated .operations_research.CapacityConstraintProto.CapacityTerm capacity_term = 1;
friend class ::google::protobuf::MessageLite
void set_max_capacity(::int64_t value)
PROTOBUF_CONSTEXPR CapacityConstraintProto(::google::protobuf::internal::ConstantInitialized)
static constexpr int kIndexInFileMessages
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::operations_research::CapacityConstraintProto_CapacityTerm & capacity_term(int index) const
CapacityConstraintProto()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm > & capacity_term() const
::operations_research::CapacityConstraintProto_CapacityTerm *PROTOBUF_NONNULL add_capacity_term()
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
void clear_min_capacity()
int64 min_capacity = 2;
bool IsInitialized() const
::int64_t min_capacity() const
::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm > *PROTOBUF_NONNULL mutable_capacity_term()
CapacityConstraintProto & operator=(const CapacityConstraintProto &from)
::operations_research::CapacityConstraintProto_CapacityTerm *PROTOBUF_NONNULL mutable_capacity_term(int index)
::int64_t max_capacity() const
static const CapacityConstraintProto & default_instance()
void clear_capacity_term()
void clear_max_capacity()
int64 max_capacity = 3;
@ kMinCapacityFieldNumber
@ kCapacityTermFieldNumber
@ kMaxCapacityFieldNumber
void MergeFrom(const CapacityConstraintProto &from)
void CopyFrom(const CapacityConstraintProto &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void Swap(CapacityConstraintProto *PROTOBUF_NONNULL other)
void set_min_capacity(::int64_t value)
friend void swap(CapacityConstraintProto &a, CapacityConstraintProto &b)
::absl::string_view GetAnyMessageName()
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CapacityConstraintProto_CapacityTermDefaultTypeInternal _CapacityConstraintProto_CapacityTerm_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CapacityConstraintProtoDefaultTypeInternal _CapacityConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CapacityConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CapacityConstraintProto_CapacityTerm_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CapacityConstraintProto_CapacityTerm_ElementWeightPair_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CapacityConstraintProto_CapacityTerm_ElementWeightPairDefaultTypeInternal _CapacityConstraintProto_CapacityTerm_ElementWeightPair_default_instance_