Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
capacity.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/set_cover/capacity.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fset_5fcover_2fcapacity_2eproto_2epb_2eh
7#define ortools_2fset_5fcover_2fcapacity_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/unknown_field_set.h"
32// @@protoc_insertion_point(includes)
33
34// Must be included last.
35#include "google/protobuf/port_def.inc"
36
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fset_5fcover_2fcapacity_2eproto OR_PROTO_DLL
38
39namespace google {
40namespace protobuf {
41namespace internal {
42template <typename T>
43::absl::string_view GetAnyMessageName();
44} // namespace internal
45} // namespace protobuf
46} // namespace google
47
48// Internal implementation detail -- do not use these members.
50 static const ::uint32_t offsets[];
51};
52extern "C" {
53OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fset_5fcover_2fcapacity_2eproto;
54} // extern "C"
55namespace operations_research {
59OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityConstraintProto_class_data_;
63OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityConstraintProto_CapacityTerm_class_data_;
67OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityConstraintProto_CapacityTerm_ElementWeightPair_class_data_;
68} // namespace operations_research
69namespace google {
70namespace protobuf {
71} // namespace protobuf
72} // namespace google
73
74namespace operations_research {
75
76// ===================================================================
77
78
79// -------------------------------------------------------------------
80
81class OR_PROTO_DLL CapacityConstraintProto_CapacityTerm_ElementWeightPair final : public ::google::protobuf::Message
82/* @@protoc_insertion_point(class_definition:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair) */ {
83 public:
87#if defined(PROTOBUF_CUSTOM_VTABLE)
88 void operator delete(CapacityConstraintProto_CapacityTerm_ElementWeightPair* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
89 SharedDtor(*msg);
90 ::google::protobuf::internal::SizedDelete(msg, sizeof(CapacityConstraintProto_CapacityTerm_ElementWeightPair));
91 }
92#endif
93
94 template <typename = void>
95 explicit PROTOBUF_CONSTEXPR CapacityConstraintProto_CapacityTerm_ElementWeightPair(::google::protobuf::internal::ConstantInitialized);
96
102 return *this;
103 }
105 if (this == &from) return *this;
106 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
107 InternalSwap(&from);
108 } else {
109 CopyFrom(from);
110 }
111 return *this;
112 }
113
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);
117 }
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>();
121 }
122
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;
132 static const CapacityConstraintProto_CapacityTerm_ElementWeightPair& default_instance() {
133 return *reinterpret_cast<const CapacityConstraintProto_CapacityTerm_ElementWeightPair*>(
139 if (other == this) return;
140 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
141 InternalSwap(other);
142 } else {
143 ::google::protobuf::internal::GenericSwap(this, other);
144 }
145 }
146 void UnsafeArenaSwap(CapacityConstraintProto_CapacityTerm_ElementWeightPair* PROTOBUF_NONNULL other) {
147 if (other == this) return;
148 ABSL_DCHECK(GetArena() == other->GetArena());
149 InternalSwap(other);
150 }
151
152 // implements Message ----------------------------------------------
153
154 CapacityConstraintProto_CapacityTerm_ElementWeightPair* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
155 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto_CapacityTerm_ElementWeightPair>(arena);
157 using ::google::protobuf::Message::CopyFrom;
159 using ::google::protobuf::Message::MergeFrom;
160 void MergeFrom(const CapacityConstraintProto_CapacityTerm_ElementWeightPair& from) { CapacityConstraintProto_CapacityTerm_ElementWeightPair::MergeImpl(*this, from); }
161
162 private:
163 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
164 const ::google::protobuf::MessageLite& from_msg);
165
166 public:
167 bool IsInitialized() const {
168 return true;
170 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
171 #if defined(PROTOBUF_CUSTOM_VTABLE)
172 private:
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);
177
178 public:
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);
184 }
185 #else // PROTOBUF_CUSTOM_VTABLE
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;
190 #endif // PROTOBUF_CUSTOM_VTABLE
191 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
192
193 private:
194 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
195 static void SharedDtor(MessageLite& self);
196 void InternalSwap(CapacityConstraintProto_CapacityTerm_ElementWeightPair* PROTOBUF_NONNULL other);
197 private:
198 template <typename T>
199 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
200 static ::absl::string_view FullMessageName() { return "operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair"; }
201
202 protected:
203 explicit CapacityConstraintProto_CapacityTerm_ElementWeightPair(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
204 CapacityConstraintProto_CapacityTerm_ElementWeightPair(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CapacityConstraintProto_CapacityTerm_ElementWeightPair& from);
206 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CapacityConstraintProto_CapacityTerm_ElementWeightPair&& from) noexcept
208 *this = ::std::move(from);
209 }
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_();
215
216 public:
217 static constexpr auto InternalGenerateClassData_();
218
219 ::google::protobuf::Metadata GetMetadata() const;
220 // nested types ----------------------------------------------------
221
222 // accessors -------------------------------------------------------
223 enum : int {
224 kElementFieldNumber = 1,
225 kWeightFieldNumber = 2,
226 };
227 // int64 element = 1;
228 void clear_element() ;
229 ::int64_t element() const;
230 void set_element(::int64_t value);
231
232 private:
233 ::int64_t _internal_element() const;
234 void _internal_set_element(::int64_t value);
235
236 public:
237 // int64 weight = 2;
238 void clear_weight() ;
239 ::int64_t weight() const;
240 void set_weight(::int64_t value);
241
242 private:
243 ::int64_t _internal_weight() const;
244 void _internal_set_weight(::int64_t value);
245
246 public:
247 // @@protoc_insertion_point(class_scope:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair)
248 private:
249 class _Internal;
250 friend class ::google::protobuf::internal::TcParser;
251 static const ::google::protobuf::internal::TcParseTable<1, 2,
252 0, 0,
253 2>
254 _table_;
255
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;
262 struct Impl_ {
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_;
273 ::int64_t element_;
274 ::int64_t weight_;
275 PROTOBUF_TSAN_DECLARE_MEMBER
276 };
277 union { Impl_ _impl_; };
278 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
281OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityConstraintProto_CapacityTerm_ElementWeightPair_class_data_;
282// -------------------------------------------------------------------
283
284class OR_PROTO_DLL CapacityConstraintProto_CapacityTerm final : public ::google::protobuf::Message
285/* @@protoc_insertion_point(class_definition:operations_research.CapacityConstraintProto.CapacityTerm) */ {
286 public:
289
290#if defined(PROTOBUF_CUSTOM_VTABLE)
291 void operator delete(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
292 SharedDtor(*msg);
293 ::google::protobuf::internal::SizedDelete(msg, sizeof(CapacityConstraintProto_CapacityTerm));
294 }
295#endif
296
297 template <typename = void>
298 explicit PROTOBUF_CONSTEXPR CapacityConstraintProto_CapacityTerm(::google::protobuf::internal::ConstantInitialized);
299
302 : CapacityConstraintProto_CapacityTerm(nullptr, ::std::move(from)) {}
304 CopyFrom(from);
305 return *this;
308 if (this == &from) return *this;
309 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
310 InternalSwap(&from);
311 } else {
312 CopyFrom(from);
313 }
314 return *this;
315 }
316
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>();
325
326 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
327 return GetDescriptor();
328 }
329 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
330 return default_instance().GetMetadata().descriptor;
331 }
332 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
333 return default_instance().GetMetadata().reflection;
334 }
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())) {
344 InternalSwap(other);
345 } else {
346 ::google::protobuf::internal::GenericSwap(this, other);
347 }
348 }
349 void UnsafeArenaSwap(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL other) {
350 if (other == this) return;
351 ABSL_DCHECK(GetArena() == other->GetArena());
352 InternalSwap(other);
353 }
354
355 // implements Message ----------------------------------------------
356
357 CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
358 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto_CapacityTerm>(arena);
359 }
360 using ::google::protobuf::Message::CopyFrom;
362 using ::google::protobuf::Message::MergeFrom;
363 void MergeFrom(const CapacityConstraintProto_CapacityTerm& from) { CapacityConstraintProto_CapacityTerm::MergeImpl(*this, from); }
364
365 private:
366 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
367 const ::google::protobuf::MessageLite& from_msg);
368
369 public:
370 bool IsInitialized() const {
371 return true;
372 }
373 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
374 #if defined(PROTOBUF_CUSTOM_VTABLE)
375 private:
376 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
377 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
378 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
379 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
380
381 public:
382 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
387 }
388 #else // PROTOBUF_CUSTOM_VTABLE
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;
393 #endif // PROTOBUF_CUSTOM_VTABLE
394 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
395
396 private:
397 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
398 static void SharedDtor(MessageLite& self);
399 void InternalSwap(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL other);
400 private:
401 template <typename T>
402 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
403 static ::absl::string_view FullMessageName() { return "operations_research.CapacityConstraintProto.CapacityTerm"; }
404
405 protected:
406 explicit CapacityConstraintProto_CapacityTerm(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
407 CapacityConstraintProto_CapacityTerm(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CapacityConstraintProto_CapacityTerm& from);
409 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CapacityConstraintProto_CapacityTerm&& from) noexcept
411 *this = ::std::move(from);
412 }
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_();
418
419 public:
420 static constexpr auto InternalGenerateClassData_();
421
422 ::google::protobuf::Metadata GetMetadata() const;
423 // nested types ----------------------------------------------------
425
426 // accessors -------------------------------------------------------
427 enum : int {
430 };
431 // repeated .operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair element_weights = 2;
433 private:
434 int _internal_element_weights_size() const;
435
436 public:
437 void clear_element_weights() ;
439 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL mutable_element_weights();
440
441 private:
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();
444 public:
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;
448 // int64 subset = 1;
449 void clear_subset() ;
450 ::int64_t subset() const;
451 void set_subset(::int64_t value);
452
453 private:
454 ::int64_t _internal_subset() const;
455 void _internal_set_subset(::int64_t value);
456
457 public:
458 // @@protoc_insertion_point(class_scope:operations_research.CapacityConstraintProto.CapacityTerm)
459 private:
460 class _Internal;
461 friend class ::google::protobuf::internal::TcParser;
462 static const ::google::protobuf::internal::TcParseTable<1, 2,
463 1, 0,
464 2>
465 _table_;
466
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;
473 struct Impl_ {
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_;
485 ::int64_t subset_;
486 PROTOBUF_TSAN_DECLARE_MEMBER
487 };
488 union { Impl_ _impl_; };
489 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
490};
492OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityConstraintProto_CapacityTerm_class_data_;
493// -------------------------------------------------------------------
494
495class OR_PROTO_DLL CapacityConstraintProto final : public ::google::protobuf::Message
496/* @@protoc_insertion_point(class_definition:operations_research.CapacityConstraintProto) */ {
497 public:
499 ~CapacityConstraintProto() PROTOBUF_FINAL;
500
501#if defined(PROTOBUF_CUSTOM_VTABLE)
502 void operator delete(CapacityConstraintProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
503 SharedDtor(*msg);
504 ::google::protobuf::internal::SizedDelete(msg, sizeof(CapacityConstraintProto));
505 }
506#endif
507
508 template <typename = void>
509 explicit PROTOBUF_CONSTEXPR CapacityConstraintProto(::google::protobuf::internal::ConstantInitialized);
510
511 inline CapacityConstraintProto(const CapacityConstraintProto& from) : CapacityConstraintProto(nullptr, from) {}
512 inline CapacityConstraintProto(CapacityConstraintProto&& from) noexcept
513 : CapacityConstraintProto(nullptr, ::std::move(from)) {}
514 inline CapacityConstraintProto& operator=(const CapacityConstraintProto& from) {
515 CopyFrom(from);
516 return *this;
517 }
519 if (this == &from) return *this;
520 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
521 InternalSwap(&from);
522 } else {
523 CopyFrom(from);
524 }
525 return *this;
526 }
527
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);
531 }
532 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
533 ABSL_ATTRIBUTE_LIFETIME_BOUND {
534 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
535 }
537 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
538 return GetDescriptor();
539 }
540 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
541 return default_instance().GetMetadata().descriptor;
542 }
543 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
544 return default_instance().GetMetadata().reflection;
545 }
546 static const CapacityConstraintProto& default_instance() {
547 return *reinterpret_cast<const CapacityConstraintProto*>(
549 }
550 static constexpr int kIndexInFileMessages = 2;
551 friend void swap(CapacityConstraintProto& a, CapacityConstraintProto& b) { a.Swap(&b); }
552 inline void Swap(CapacityConstraintProto* PROTOBUF_NONNULL other) {
553 if (other == this) return;
554 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
555 InternalSwap(other);
556 } else {
557 ::google::protobuf::internal::GenericSwap(this, other);
558 }
559 }
560 void UnsafeArenaSwap(CapacityConstraintProto* PROTOBUF_NONNULL other) {
561 if (other == this) return;
562 ABSL_DCHECK(GetArena() == other->GetArena());
563 InternalSwap(other);
565
566 // implements Message ----------------------------------------------
567
568 CapacityConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
569 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto>(arena);
570 }
571 using ::google::protobuf::Message::CopyFrom;
573 using ::google::protobuf::Message::MergeFrom;
574 void MergeFrom(const CapacityConstraintProto& from) { CapacityConstraintProto::MergeImpl(*this, from); }
575
576 private:
577 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
578 const ::google::protobuf::MessageLite& from_msg);
579
580 public:
581 bool IsInitialized() const {
582 return true;
583 }
584 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
585 #if defined(PROTOBUF_CUSTOM_VTABLE)
586 private:
587 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
588 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
589 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
590 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
591
592 public:
593 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
598 }
599 #else // PROTOBUF_CUSTOM_VTABLE
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;
604 #endif // PROTOBUF_CUSTOM_VTABLE
605 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
606
607 private:
608 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
609 static void SharedDtor(MessageLite& self);
610 void InternalSwap(CapacityConstraintProto* PROTOBUF_NONNULL other);
611 private:
612 template <typename T>
613 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
614 static ::absl::string_view FullMessageName() { return "operations_research.CapacityConstraintProto"; }
615
616 protected:
617 explicit CapacityConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
618 CapacityConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CapacityConstraintProto& from);
620 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CapacityConstraintProto&& from) noexcept
621 : CapacityConstraintProto(arena) {
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_();
629
630 public:
631 static constexpr auto InternalGenerateClassData_();
632
633 ::google::protobuf::Metadata GetMetadata() const;
634 // nested types ----------------------------------------------------
635 using CapacityTerm = CapacityConstraintProto_CapacityTerm;
636
637 // accessors -------------------------------------------------------
638 enum : int {
642 };
643 // repeated .operations_research.CapacityConstraintProto.CapacityTerm capacity_term = 1;
645 private:
646 int _internal_capacity_term_size() const;
647
648 public:
649 void clear_capacity_term() ;
651 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL mutable_capacity_term();
652
653 private:
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();
656 public:
657 const ::operations_research::CapacityConstraintProto_CapacityTerm& capacity_term(int index) const;
659 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>& capacity_term() const;
660 // int64 min_capacity = 2;
661 void clear_min_capacity() ;
662 ::int64_t min_capacity() const;
663 void set_min_capacity(::int64_t value);
664
665 private:
666 ::int64_t _internal_min_capacity() const;
667 void _internal_set_min_capacity(::int64_t value);
668
669 public:
670 // int64 max_capacity = 3;
671 void clear_max_capacity() ;
672 ::int64_t max_capacity() const;
673 void set_max_capacity(::int64_t value);
674
675 private:
676 ::int64_t _internal_max_capacity() const;
677 void _internal_set_max_capacity(::int64_t value);
678
679 public:
680 // @@protoc_insertion_point(class_scope:operations_research.CapacityConstraintProto)
681 private:
682 class _Internal;
683 friend class ::google::protobuf::internal::TcParser;
684 static const ::google::protobuf::internal::TcParseTable<2, 3,
685 1, 0,
686 2>
687 _table_;
688
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;
695 struct Impl_ {
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,
703 const CapacityConstraintProto& from_msg);
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
710 };
711 union { Impl_ _impl_; };
712 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
713};
714
715OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityConstraintProto_class_data_;
717// ===================================================================
718
719
720
721
722// ===================================================================
723
724
725#ifdef __GNUC__
726#pragma GCC diagnostic push
727#pragma GCC diagnostic ignored "-Wstrict-aliasing"
728#endif // __GNUC__
729// -------------------------------------------------------------------
730
731// CapacityConstraintProto_CapacityTerm_ElementWeightPair
732
733// int64 element = 1;
735 ::google::protobuf::internal::TSanWrite(&_impl_);
736 _impl_.element_ = ::int64_t{0};
737 _impl_._has_bits_[0] &= ~0x00000001u;
738}
740 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair.element)
741 return _internal_element();
742}
744 _internal_set_element(value);
745 _impl_._has_bits_[0] |= 0x00000001u;
746 // @@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair.element)
747}
748inline ::int64_t CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_element() const {
749 ::google::protobuf::internal::TSanRead(&_impl_);
750 return _impl_.element_;
751}
752inline void CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_set_element(::int64_t value) {
753 ::google::protobuf::internal::TSanWrite(&_impl_);
754 _impl_.element_ = value;
755}
756
757// int64 weight = 2;
759 ::google::protobuf::internal::TSanWrite(&_impl_);
760 _impl_.weight_ = ::int64_t{0};
761 _impl_._has_bits_[0] &= ~0x00000002u;
762}
764 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair.weight)
765 return _internal_weight();
766}
768 _internal_set_weight(value);
769 _impl_._has_bits_[0] |= 0x00000002u;
770 // @@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair.weight)
771}
772inline ::int64_t CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_weight() const {
773 ::google::protobuf::internal::TSanRead(&_impl_);
774 return _impl_.weight_;
775}
776inline void CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_set_weight(::int64_t value) {
777 ::google::protobuf::internal::TSanWrite(&_impl_);
778 _impl_.weight_ = value;
779}
780
781// -------------------------------------------------------------------
782
783// CapacityConstraintProto_CapacityTerm
784
785// int64 subset = 1;
787 ::google::protobuf::internal::TSanWrite(&_impl_);
788 _impl_.subset_ = ::int64_t{0};
789 _impl_._has_bits_[0] &= ~0x00000001u;
790}
791inline ::int64_t CapacityConstraintProto_CapacityTerm::subset() const {
792 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.subset)
793 return _internal_subset();
795inline void CapacityConstraintProto_CapacityTerm::set_subset(::int64_t value) {
796 _internal_set_subset(value);
797 _impl_._has_bits_[0] |= 0x00000001u;
798 // @@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.CapacityTerm.subset)
800inline ::int64_t CapacityConstraintProto_CapacityTerm::_internal_subset() const {
801 ::google::protobuf::internal::TSanRead(&_impl_);
802 return _impl_.subset_;
804inline void CapacityConstraintProto_CapacityTerm::_internal_set_subset(::int64_t value) {
805 ::google::protobuf::internal::TSanWrite(&_impl_);
806 _impl_.subset_ = value;
807}
808
809// repeated .operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair element_weights = 2;
810inline int CapacityConstraintProto_CapacityTerm::_internal_element_weights_size() const {
811 return _internal_element_weights().size();
812}
814 return _internal_element_weights_size();
815}
817 ::google::protobuf::internal::TSanWrite(&_impl_);
818 _impl_.element_weights_.Clear();
819}
820inline ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair* PROTOBUF_NONNULL CapacityConstraintProto_CapacityTerm::mutable_element_weights(int index)
821 ABSL_ATTRIBUTE_LIFETIME_BOUND {
822 // @@protoc_insertion_point(field_mutable:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
823 return _internal_mutable_element_weights()->Mutable(index);
825inline ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL CapacityConstraintProto_CapacityTerm::mutable_element_weights()
826 ABSL_ATTRIBUTE_LIFETIME_BOUND {
827 // @@protoc_insertion_point(field_mutable_list:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
828 ::google::protobuf::internal::TSanWrite(&_impl_);
829 return _internal_mutable_element_weights();
830}
831inline const ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair& CapacityConstraintProto_CapacityTerm::element_weights(int index) const
832 ABSL_ATTRIBUTE_LIFETIME_BOUND {
833 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
834 return _internal_element_weights().Get(index);
835}
836inline ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair* PROTOBUF_NONNULL CapacityConstraintProto_CapacityTerm::add_element_weights()
837 ABSL_ATTRIBUTE_LIFETIME_BOUND {
838 ::google::protobuf::internal::TSanWrite(&_impl_);
840 // @@protoc_insertion_point(field_add:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
841 return _add;
842}
843inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>& CapacityConstraintProto_CapacityTerm::element_weights() const
844 ABSL_ATTRIBUTE_LIFETIME_BOUND {
845 // @@protoc_insertion_point(field_list:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
846 return _internal_element_weights();
847}
848inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>&
849CapacityConstraintProto_CapacityTerm::_internal_element_weights() const {
850 ::google::protobuf::internal::TSanRead(&_impl_);
851 return _impl_.element_weights_;
852}
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_;
857}
858
859// -------------------------------------------------------------------
860
861// CapacityConstraintProto
862
863// repeated .operations_research.CapacityConstraintProto.CapacityTerm capacity_term = 1;
864inline int CapacityConstraintProto::_internal_capacity_term_size() const {
865 return _internal_capacity_term().size();
866}
868 return _internal_capacity_term_size();
869}
871 ::google::protobuf::internal::TSanWrite(&_impl_);
872 _impl_.capacity_term_.Clear();
873}
874inline ::operations_research::CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL CapacityConstraintProto::mutable_capacity_term(int index)
875 ABSL_ATTRIBUTE_LIFETIME_BOUND {
876 // @@protoc_insertion_point(field_mutable:operations_research.CapacityConstraintProto.capacity_term)
877 return _internal_mutable_capacity_term()->Mutable(index);
878}
879inline ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL CapacityConstraintProto::mutable_capacity_term()
880 ABSL_ATTRIBUTE_LIFETIME_BOUND {
881 // @@protoc_insertion_point(field_mutable_list:operations_research.CapacityConstraintProto.capacity_term)
882 ::google::protobuf::internal::TSanWrite(&_impl_);
883 return _internal_mutable_capacity_term();
884}
885inline const ::operations_research::CapacityConstraintProto_CapacityTerm& CapacityConstraintProto::capacity_term(int index) const
886 ABSL_ATTRIBUTE_LIFETIME_BOUND {
887 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.capacity_term)
888 return _internal_capacity_term().Get(index);
889}
890inline ::operations_research::CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL CapacityConstraintProto::add_capacity_term()
891 ABSL_ATTRIBUTE_LIFETIME_BOUND {
892 ::google::protobuf::internal::TSanWrite(&_impl_);
893 ::operations_research::CapacityConstraintProto_CapacityTerm* _add = _internal_mutable_capacity_term()->Add();
894 // @@protoc_insertion_point(field_add:operations_research.CapacityConstraintProto.capacity_term)
895 return _add;
896}
897inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>& CapacityConstraintProto::capacity_term() const
898 ABSL_ATTRIBUTE_LIFETIME_BOUND {
899 // @@protoc_insertion_point(field_list:operations_research.CapacityConstraintProto.capacity_term)
900 return _internal_capacity_term();
901}
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_;
911}
912
913// int64 min_capacity = 2;
915 ::google::protobuf::internal::TSanWrite(&_impl_);
916 _impl_.min_capacity_ = ::int64_t{0};
917 _impl_._has_bits_[0] &= ~0x00000001u;
918}
919inline ::int64_t CapacityConstraintProto::min_capacity() const {
920 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.min_capacity)
921 return _internal_min_capacity();
922}
923inline void CapacityConstraintProto::set_min_capacity(::int64_t value) {
924 _internal_set_min_capacity(value);
925 _impl_._has_bits_[0] |= 0x00000001u;
926 // @@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.min_capacity)
927}
928inline ::int64_t CapacityConstraintProto::_internal_min_capacity() const {
929 ::google::protobuf::internal::TSanRead(&_impl_);
930 return _impl_.min_capacity_;
931}
932inline void CapacityConstraintProto::_internal_set_min_capacity(::int64_t value) {
933 ::google::protobuf::internal::TSanWrite(&_impl_);
934 _impl_.min_capacity_ = value;
935}
936
937// int64 max_capacity = 3;
939 ::google::protobuf::internal::TSanWrite(&_impl_);
940 _impl_.max_capacity_ = ::int64_t{0};
941 _impl_._has_bits_[0] &= ~0x00000002u;
942}
943inline ::int64_t CapacityConstraintProto::max_capacity() const {
944 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.max_capacity)
945 return _internal_max_capacity();
946}
947inline void CapacityConstraintProto::set_max_capacity(::int64_t value) {
948 _internal_set_max_capacity(value);
949 _impl_._has_bits_[0] |= 0x00000002u;
950 // @@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.max_capacity)
951}
952inline ::int64_t CapacityConstraintProto::_internal_max_capacity() const {
953 ::google::protobuf::internal::TSanRead(&_impl_);
954 return _impl_.max_capacity_;
955}
956inline void CapacityConstraintProto::_internal_set_max_capacity(::int64_t value) {
957 ::google::protobuf::internal::TSanWrite(&_impl_);
958 _impl_.max_capacity_ = value;
959}
960
961#ifdef __GNUC__
962#pragma GCC diagnostic pop
963#endif // __GNUC__
964
965// @@protoc_insertion_point(namespace_scope)
966} // namespace operations_research
967
968
969// @@protoc_insertion_point(global_scope)
970
971#include "google/protobuf/port_undef.inc"
972
973#endif // ortools_2fset_5fcover_2fcapacity_2eproto_2epb_2eh
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fset_5fcover_2fcapacity_2eproto
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const CapacityConstraintProto_CapacityTerm_ElementWeightPair &from)
PROTOBUF_CONSTEXPR CapacityConstraintProto_CapacityTerm_ElementWeightPair(::google::protobuf::internal::ConstantInitialized)
CapacityConstraintProto_CapacityTerm_ElementWeightPair(const CapacityConstraintProto_CapacityTerm_ElementWeightPair &from)
Definition capacity.pb.h:99
CapacityConstraintProto_CapacityTerm_ElementWeightPair & operator=(const CapacityConstraintProto_CapacityTerm_ElementWeightPair &from)
CapacityConstraintProto_CapacityTerm_ElementWeightPair(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, CapacityConstraintProto_CapacityTerm_ElementWeightPair &&from) noexcept
void Swap(CapacityConstraintProto_CapacityTerm_ElementWeightPair *PROTOBUF_NONNULL other)
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()
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)
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)
::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
int capacity_term_size() const
repeated .operations_research.CapacityConstraintProto.CapacityTerm capacity_term = 1;
friend class ::google::protobuf::MessageLite
PROTOBUF_CONSTEXPR CapacityConstraintProto(::google::protobuf::internal::ConstantInitialized)
::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
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
void clear_min_capacity()
int64 min_capacity = 2;
::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)
static const CapacityConstraintProto & default_instance()
void clear_max_capacity()
int64 max_capacity = 3;
void MergeFrom(const CapacityConstraintProto &from)
void CopyFrom(const CapacityConstraintProto &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void Swap(CapacityConstraintProto *PROTOBUF_NONNULL other)
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_
Internal implementation detail – do not use these members.
Definition capacity.pb.h:49