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 != 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"
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"; }
207 *
this = ::std::move(from);
209 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
210 static
void* PROTOBUF_NONNULL PlacementNew_(
211 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
212 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
213 static constexpr auto InternalNewImpl_();
216 static constexpr auto InternalGenerateClassData_();
218 ::
google::protobuf::Metadata GetMetadata() const;
223 kElementFieldNumber = 1,
224 kWeightFieldNumber = 2,
232 ::int64_t _internal_element()
const;
233 void _internal_set_element(::int64_t value);
242 ::int64_t _internal_weight()
const;
243 void _internal_set_weight(::int64_t value);
249 friend class ::google::protobuf::internal::TcParser;
250 static const ::google::protobuf::internal::TcParseTable<1, 2,
255 friend class ::google::protobuf::MessageLite;
256 friend class ::google::protobuf::Arena;
257 template <
typename T>
258 friend class ::google::protobuf::Arena::InternalHelper;
259 using InternalArenaConstructable_ = void;
260 using DestructorSkippable_ = void;
262 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
263 inline explicit Impl_(
264 ::google::protobuf::internal::InternalVisibility visibility,
265 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
266 inline explicit Impl_(
267 ::google::protobuf::internal::InternalVisibility visibility,
268 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
270 ::google::protobuf::internal::HasBits<1> _has_bits_;
271 ::google::protobuf::internal::CachedSize _cached_size_;
274 PROTOBUF_TSAN_DECLARE_MEMBER
276 union { Impl_ _impl_; };
277 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
289#if defined(PROTOBUF_CUSTOM_VTABLE)
296 template <
typename =
void>
307 if (
this == &from)
return *
this;
308 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
316 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
317 ABSL_ATTRIBUTE_LIFETIME_BOUND {
318 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
320 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
321 ABSL_ATTRIBUTE_LIFETIME_BOUND {
322 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
325 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
326 return GetDescriptor();
328 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
331 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
338 static constexpr int kIndexInFileMessages = 1;
340 inline void Swap(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL other) {
341 if (other ==
this)
return;
342 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
345 ::google::protobuf::internal::GenericSwap(
this, other);
348 void UnsafeArenaSwap(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL other) {
349 if (other ==
this)
return;
350 ABSL_DCHECK(GetArena() == other->GetArena());
357 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto_CapacityTerm>(arena);
359 using ::google::protobuf::Message::CopyFrom;
361 using ::google::protobuf::Message::MergeFrom;
365 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
366 const ::google::protobuf::MessageLite& from_msg);
372 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
373 #if defined(PROTOBUF_CUSTOM_VTABLE)
375 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
377 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
378 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
382 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
383 ::uint8_t* PROTOBUF_NONNULL target,
384 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
385 return _InternalSerialize(*
this, target, stream);
388 ::size_t ByteSizeLong() const final;
389 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
390 ::uint8_t* PROTOBUF_NONNULL target,
391 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
393 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
396 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
400 template <
typename T>
402 static ::absl::string_view FullMessageName() {
return "operations_research.CapacityConstraintProto.CapacityTerm"; }
409 *
this = ::std::move(from);
411 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
412 static
void* PROTOBUF_NONNULL PlacementNew_(
413 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
414 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
415 static constexpr auto InternalNewImpl_();
418 static constexpr auto InternalGenerateClassData_();
420 ::
google::protobuf::Metadata GetMetadata() const;
422 using ElementWeightPair = CapacityConstraintProto_CapacityTerm_ElementWeightPair;
432 int _internal_element_weights_size()
const;
437 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL
mutable_element_weights();
440 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>& _internal_element_weights()
const;
441 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL _internal_mutable_element_weights();
443 const ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair&
element_weights(
int index)
const;
445 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>&
element_weights()
const;
452 ::int64_t _internal_subset()
const;
453 void _internal_set_subset(::int64_t value);
459 friend class ::google::protobuf::internal::TcParser;
460 static const ::google::protobuf::internal::TcParseTable<1, 2,
465 friend class ::google::protobuf::MessageLite;
466 friend class ::google::protobuf::Arena;
467 template <
typename T>
468 friend class ::google::protobuf::Arena::InternalHelper;
469 using InternalArenaConstructable_ = void;
470 using DestructorSkippable_ = void;
472 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
473 inline explicit Impl_(
474 ::google::protobuf::internal::InternalVisibility visibility,
475 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
476 inline explicit Impl_(
477 ::google::protobuf::internal::InternalVisibility visibility,
478 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
480 ::google::protobuf::internal::HasBits<1> _has_bits_;
481 ::google::protobuf::internal::CachedSize _cached_size_;
482 ::google::protobuf::RepeatedPtrField< ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair > element_weights_;
484 PROTOBUF_TSAN_DECLARE_MEMBER
486 union { Impl_ _impl_; };
487 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
499#if defined(PROTOBUF_CUSTOM_VTABLE)
506 template <
typename =
void>
510 inline CapacityConstraintProto(CapacityConstraintProto&& from) noexcept
517 if (
this == &from)
return *
this;
518 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
526 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
527 ABSL_ATTRIBUTE_LIFETIME_BOUND {
528 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
531 ABSL_ATTRIBUTE_LIFETIME_BOUND {
532 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
535 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
538 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
541 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
551 if (other ==
this)
return;
552 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
555 ::google::protobuf::internal::GenericSwap(
this, other);
558 void UnsafeArenaSwap(CapacityConstraintProto* PROTOBUF_NONNULL other) {
559 if (other ==
this)
return;
560 ABSL_DCHECK(GetArena() == other->GetArena());
566 CapacityConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
567 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto>(arena);
569 using ::google::protobuf::Message::CopyFrom;
571 using ::google::protobuf::Message::MergeFrom;
575 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
576 const ::google::protobuf::MessageLite& from_msg);
582 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
583 #if defined(PROTOBUF_CUSTOM_VTABLE)
585 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
587 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
588 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
592 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
593 ::uint8_t* PROTOBUF_NONNULL target,
594 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
595 return _InternalSerialize(*
this, target, stream);
598 ::size_t ByteSizeLong() const final;
599 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
600 ::uint8_t* PROTOBUF_NONNULL target,
601 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
603 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
606 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
610 template <
typename T>
612 static ::absl::string_view FullMessageName() {
return "operations_research.CapacityConstraintProto"; }
619 *
this = ::std::move(from);
621 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
622 static
void* PROTOBUF_NONNULL PlacementNew_(
623 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
624 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
625 static constexpr auto InternalNewImpl_();
628 static constexpr auto InternalGenerateClassData_();
630 ::
google::protobuf::Metadata GetMetadata() const;
632 using CapacityTerm = CapacityConstraintProto_CapacityTerm;
643 int _internal_capacity_term_size()
const;
648 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL
mutable_capacity_term();
651 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>& _internal_capacity_term()
const;
652 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL _internal_mutable_capacity_term();
654 const ::operations_research::CapacityConstraintProto_CapacityTerm&
capacity_term(
int index)
const;
656 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>&
capacity_term()
const;
663 ::int64_t _internal_min_capacity()
const;
664 void _internal_set_min_capacity(::int64_t value);
673 ::int64_t _internal_max_capacity()
const;
674 void _internal_set_max_capacity(::int64_t value);
680 friend class ::google::protobuf::internal::TcParser;
681 static const ::google::protobuf::internal::TcParseTable<2, 3,
686 friend class ::google::protobuf::MessageLite;
687 friend class ::google::protobuf::Arena;
688 template <
typename T>
689 friend class ::google::protobuf::Arena::InternalHelper;
690 using InternalArenaConstructable_ = void;
691 using DestructorSkippable_ = void;
693 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
694 inline explicit Impl_(
695 ::google::protobuf::internal::InternalVisibility visibility,
696 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
697 inline explicit Impl_(
698 ::google::protobuf::internal::InternalVisibility visibility,
699 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
701 ::google::protobuf::internal::HasBits<1> _has_bits_;
702 ::google::protobuf::internal::CachedSize _cached_size_;
703 ::google::protobuf::RepeatedPtrField< ::operations_research::CapacityConstraintProto_CapacityTerm > capacity_term_;
704 ::int64_t min_capacity_;
705 ::int64_t max_capacity_;
706 PROTOBUF_TSAN_DECLARE_MEMBER
708 union { Impl_ _impl_; };
709 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
723#pragma GCC diagnostic push
724#pragma GCC diagnostic ignored "-Wstrict-aliasing"
732 ::google::protobuf::internal::TSanWrite(&
_impl_);
733 _impl_.element_ = ::int64_t{0};
734 ClearHasBit(
_impl_._has_bits_[0],
739 return _internal_element();
742 _internal_set_element(value);
743 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
746inline ::int64_t CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_element()
const {
747 ::google::protobuf::internal::TSanRead(&
_impl_);
750inline void CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_set_element(::int64_t value) {
751 ::google::protobuf::internal::TSanWrite(&
_impl_);
757 ::google::protobuf::internal::TSanWrite(&
_impl_);
758 _impl_.weight_ = ::int64_t{0};
759 ClearHasBit(
_impl_._has_bits_[0],
764 return _internal_weight();
767 _internal_set_weight(value);
768 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
771inline ::int64_t CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_weight()
const {
772 ::google::protobuf::internal::TSanRead(&
_impl_);
775inline void CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_set_weight(::int64_t value) {
776 ::google::protobuf::internal::TSanWrite(&
_impl_);
786 ::google::protobuf::internal::TSanWrite(&
_impl_);
787 _impl_.subset_ = ::int64_t{0};
788 ClearHasBit(
_impl_._has_bits_[0],
793 return _internal_subset();
796 _internal_set_subset(value);
797 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
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();
819 ClearHasBitForRepeated(
_impl_._has_bits_[0],
823 ABSL_ATTRIBUTE_LIFETIME_BOUND {
825 return _internal_mutable_element_weights()->Mutable(index);
828 ABSL_ATTRIBUTE_LIFETIME_BOUND {
829 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
831 ::google::protobuf::internal::TSanWrite(&
_impl_);
832 return _internal_mutable_element_weights();
835 ABSL_ATTRIBUTE_LIFETIME_BOUND {
837 return _internal_element_weights().Get(index);
840 ABSL_ATTRIBUTE_LIFETIME_BOUND {
841 ::google::protobuf::internal::TSanWrite(&
_impl_);
843 _internal_mutable_element_weights()->InternalAddWithArena(
844 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
845 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
850 ABSL_ATTRIBUTE_LIFETIME_BOUND {
852 return _internal_element_weights();
854inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>&
855CapacityConstraintProto_CapacityTerm::_internal_element_weights()
const {
856 ::google::protobuf::internal::TSanRead(&
_impl_);
859inline ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL
860CapacityConstraintProto_CapacityTerm::_internal_mutable_element_weights() {
861 ::google::protobuf::internal::TSanRead(&
_impl_);
862 return &
_impl_.element_weights_;
870inline int CapacityConstraintProto::_internal_capacity_term_size()
const {
871 return _internal_capacity_term().size();
874 return _internal_capacity_term_size();
877 ::google::protobuf::internal::TSanWrite(&
_impl_);
878 _impl_.capacity_term_.Clear();
879 ClearHasBitForRepeated(
_impl_._has_bits_[0],
883 ABSL_ATTRIBUTE_LIFETIME_BOUND {
885 return _internal_mutable_capacity_term()->Mutable(index);
888 ABSL_ATTRIBUTE_LIFETIME_BOUND {
889 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
891 ::google::protobuf::internal::TSanWrite(&
_impl_);
892 return _internal_mutable_capacity_term();
895 ABSL_ATTRIBUTE_LIFETIME_BOUND {
897 return _internal_capacity_term().Get(index);
900 ABSL_ATTRIBUTE_LIFETIME_BOUND {
901 ::google::protobuf::internal::TSanWrite(&
_impl_);
903 _internal_mutable_capacity_term()->InternalAddWithArena(
904 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
905 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
910 ABSL_ATTRIBUTE_LIFETIME_BOUND {
912 return _internal_capacity_term();
914inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>&
915CapacityConstraintProto::_internal_capacity_term()
const {
916 ::google::protobuf::internal::TSanRead(&
_impl_);
917 return _impl_.capacity_term_;
919inline ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL
920CapacityConstraintProto::_internal_mutable_capacity_term() {
921 ::google::protobuf::internal::TSanRead(&
_impl_);
922 return &
_impl_.capacity_term_;
927 ::google::protobuf::internal::TSanWrite(&
_impl_);
928 _impl_.min_capacity_ = ::int64_t{0};
929 ClearHasBit(
_impl_._has_bits_[0],
934 return _internal_min_capacity();
937 _internal_set_min_capacity(value);
938 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
941inline ::int64_t CapacityConstraintProto::_internal_min_capacity()
const {
942 ::google::protobuf::internal::TSanRead(&
_impl_);
943 return _impl_.min_capacity_;
945inline void CapacityConstraintProto::_internal_set_min_capacity(::int64_t value) {
946 ::google::protobuf::internal::TSanWrite(&
_impl_);
947 _impl_.min_capacity_ = value;
952 ::google::protobuf::internal::TSanWrite(&
_impl_);
953 _impl_.max_capacity_ = ::int64_t{0};
954 ClearHasBit(
_impl_._has_bits_[0],
959 return _internal_max_capacity();
962 _internal_set_max_capacity(value);
963 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
966inline ::int64_t CapacityConstraintProto::_internal_max_capacity()
const {
967 ::google::protobuf::internal::TSanRead(&
_impl_);
968 return _impl_.max_capacity_;
970inline void CapacityConstraintProto::_internal_set_max_capacity(::int64_t value) {
971 ::google::protobuf::internal::TSanWrite(&
_impl_);
972 _impl_.max_capacity_ = value;
976#pragma GCC diagnostic pop
985#include "google/protobuf/port_undef.inc"
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fset_5fcover_2fcapacity_2eproto
friend class ::google::protobuf::MessageLite
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)
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
::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair *PROTOBUF_NONNULL mutable_element_weights(int index)
@ 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
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()
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()
@ 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()
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_