Google OR-Tools v9.15
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.33.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 != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/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 explicit CapacityConstraintProto_CapacityTerm_ElementWeightPair(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
203 CapacityConstraintProto_CapacityTerm_ElementWeightPair(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CapacityConstraintProto_CapacityTerm_ElementWeightPair& from);
205 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CapacityConstraintProto_CapacityTerm_ElementWeightPair&& from) noexcept
207 *this = ::std::move(from);
208 }
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_();
214
215 public:
216 static constexpr auto InternalGenerateClassData_();
217
218 ::google::protobuf::Metadata GetMetadata() const;
219 // nested types ----------------------------------------------------
220
221 // accessors -------------------------------------------------------
222 enum : int {
223 kElementFieldNumber = 1,
224 kWeightFieldNumber = 2,
225 };
226 // int64 element = 1;
227 void clear_element() ;
228 ::int64_t element() const;
229 void set_element(::int64_t value);
230
231 private:
232 ::int64_t _internal_element() const;
233 void _internal_set_element(::int64_t value);
234
235 public:
236 // int64 weight = 2;
237 void clear_weight() ;
238 ::int64_t weight() const;
239 void set_weight(::int64_t value);
240
241 private:
242 ::int64_t _internal_weight() const;
243 void _internal_set_weight(::int64_t value);
244
245 public:
246 // @@protoc_insertion_point(class_scope:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair)
247 private:
248 class _Internal;
249 friend class ::google::protobuf::internal::TcParser;
250 static const ::google::protobuf::internal::TcParseTable<1, 2,
251 0, 0,
252 2>
253 _table_;
254
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;
261 struct Impl_ {
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_;
272 ::int64_t element_;
273 ::int64_t weight_;
274 PROTOBUF_TSAN_DECLARE_MEMBER
275 };
276 union { Impl_ _impl_; };
277 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
280OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityConstraintProto_CapacityTerm_ElementWeightPair_class_data_;
281// -------------------------------------------------------------------
282
283class OR_PROTO_DLL CapacityConstraintProto_CapacityTerm final : public ::google::protobuf::Message
284/* @@protoc_insertion_point(class_definition:operations_research.CapacityConstraintProto.CapacityTerm) */ {
285 public:
288
289#if defined(PROTOBUF_CUSTOM_VTABLE)
290 void operator delete(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
291 SharedDtor(*msg);
292 ::google::protobuf::internal::SizedDelete(msg, sizeof(CapacityConstraintProto_CapacityTerm));
293 }
294#endif
295
296 template <typename = void>
297 explicit PROTOBUF_CONSTEXPR CapacityConstraintProto_CapacityTerm(::google::protobuf::internal::ConstantInitialized);
298
301 : CapacityConstraintProto_CapacityTerm(nullptr, ::std::move(from)) {}
303 CopyFrom(from);
304 return *this;
307 if (this == &from) return *this;
308 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
309 InternalSwap(&from);
310 } else {
311 CopyFrom(from);
312 }
313 return *this;
314 }
315
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>();
324
325 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
326 return GetDescriptor();
327 }
328 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
329 return default_instance().GetMetadata().descriptor;
330 }
331 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
332 return default_instance().GetMetadata().reflection;
333 }
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())) {
343 InternalSwap(other);
344 } else {
345 ::google::protobuf::internal::GenericSwap(this, other);
346 }
347 }
348 void UnsafeArenaSwap(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL other) {
349 if (other == this) return;
350 ABSL_DCHECK(GetArena() == other->GetArena());
351 InternalSwap(other);
352 }
353
354 // implements Message ----------------------------------------------
355
356 CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
357 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto_CapacityTerm>(arena);
358 }
359 using ::google::protobuf::Message::CopyFrom;
361 using ::google::protobuf::Message::MergeFrom;
362 void MergeFrom(const CapacityConstraintProto_CapacityTerm& from) { CapacityConstraintProto_CapacityTerm::MergeImpl(*this, from); }
363
364 private:
365 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
366 const ::google::protobuf::MessageLite& from_msg);
367
368 public:
369 bool IsInitialized() const {
370 return true;
371 }
372 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
373 #if defined(PROTOBUF_CUSTOM_VTABLE)
374 private:
375 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
376 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
377 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
378 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
379
380 public:
381 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
386 }
387 #else // PROTOBUF_CUSTOM_VTABLE
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;
392 #endif // PROTOBUF_CUSTOM_VTABLE
393 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
394
395 private:
396 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
397 static void SharedDtor(MessageLite& self);
398 void InternalSwap(CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL other);
399 private:
400 template <typename T>
401 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
402 static ::absl::string_view FullMessageName() { return "operations_research.CapacityConstraintProto.CapacityTerm"; }
403
404 explicit CapacityConstraintProto_CapacityTerm(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
405 CapacityConstraintProto_CapacityTerm(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CapacityConstraintProto_CapacityTerm& from);
407 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CapacityConstraintProto_CapacityTerm&& from) noexcept
409 *this = ::std::move(from);
410 }
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_();
416
417 public:
418 static constexpr auto InternalGenerateClassData_();
419
420 ::google::protobuf::Metadata GetMetadata() const;
421 // nested types ----------------------------------------------------
422 using ElementWeightPair = CapacityConstraintProto_CapacityTerm_ElementWeightPair;
423
424 // accessors -------------------------------------------------------
425 enum : int {
428 };
429 // repeated .operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair element_weights = 2;
431 private:
432 int _internal_element_weights_size() const;
433
434 public:
435 void clear_element_weights() ;
437 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL mutable_element_weights();
438
439 private:
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();
442 public:
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;
446 // int64 subset = 1;
447 void clear_subset() ;
448 ::int64_t subset() const;
449 void set_subset(::int64_t value);
450
451 private:
452 ::int64_t _internal_subset() const;
453 void _internal_set_subset(::int64_t value);
454
455 public:
456 // @@protoc_insertion_point(class_scope:operations_research.CapacityConstraintProto.CapacityTerm)
457 private:
458 class _Internal;
459 friend class ::google::protobuf::internal::TcParser;
460 static const ::google::protobuf::internal::TcParseTable<1, 2,
461 1, 0,
462 2>
463 _table_;
464
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;
471 struct Impl_ {
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_;
483 ::int64_t subset_;
484 PROTOBUF_TSAN_DECLARE_MEMBER
485 };
486 union { Impl_ _impl_; };
487 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
488};
490OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityConstraintProto_CapacityTerm_class_data_;
491// -------------------------------------------------------------------
492
493class OR_PROTO_DLL CapacityConstraintProto final : public ::google::protobuf::Message
494/* @@protoc_insertion_point(class_definition:operations_research.CapacityConstraintProto) */ {
495 public:
497 ~CapacityConstraintProto() PROTOBUF_FINAL;
498
499#if defined(PROTOBUF_CUSTOM_VTABLE)
500 void operator delete(CapacityConstraintProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
501 SharedDtor(*msg);
502 ::google::protobuf::internal::SizedDelete(msg, sizeof(CapacityConstraintProto));
503 }
504#endif
505
506 template <typename = void>
507 explicit PROTOBUF_CONSTEXPR CapacityConstraintProto(::google::protobuf::internal::ConstantInitialized);
508
509 inline CapacityConstraintProto(const CapacityConstraintProto& from) : CapacityConstraintProto(nullptr, from) {}
510 inline CapacityConstraintProto(CapacityConstraintProto&& from) noexcept
511 : CapacityConstraintProto(nullptr, ::std::move(from)) {}
512 inline CapacityConstraintProto& operator=(const CapacityConstraintProto& from) {
513 CopyFrom(from);
514 return *this;
515 }
517 if (this == &from) return *this;
518 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
519 InternalSwap(&from);
520 } else {
521 CopyFrom(from);
522 }
523 return *this;
524 }
525
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);
529 }
530 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
531 ABSL_ATTRIBUTE_LIFETIME_BOUND {
532 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
533 }
535 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
536 return GetDescriptor();
537 }
538 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
539 return default_instance().GetMetadata().descriptor;
540 }
541 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
542 return default_instance().GetMetadata().reflection;
543 }
544 static const CapacityConstraintProto& default_instance() {
545 return *reinterpret_cast<const CapacityConstraintProto*>(
547 }
548 static constexpr int kIndexInFileMessages = 2;
549 friend void swap(CapacityConstraintProto& a, CapacityConstraintProto& b) { a.Swap(&b); }
550 inline void Swap(CapacityConstraintProto* PROTOBUF_NONNULL other) {
551 if (other == this) return;
552 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
553 InternalSwap(other);
554 } else {
555 ::google::protobuf::internal::GenericSwap(this, other);
556 }
557 }
558 void UnsafeArenaSwap(CapacityConstraintProto* PROTOBUF_NONNULL other) {
559 if (other == this) return;
560 ABSL_DCHECK(GetArena() == other->GetArena());
561 InternalSwap(other);
563
564 // implements Message ----------------------------------------------
565
566 CapacityConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
567 return ::google::protobuf::Message::DefaultConstruct<CapacityConstraintProto>(arena);
568 }
569 using ::google::protobuf::Message::CopyFrom;
571 using ::google::protobuf::Message::MergeFrom;
572 void MergeFrom(const CapacityConstraintProto& from) { CapacityConstraintProto::MergeImpl(*this, from); }
573
574 private:
575 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
576 const ::google::protobuf::MessageLite& from_msg);
577
578 public:
579 bool IsInitialized() const {
580 return true;
581 }
582 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
583 #if defined(PROTOBUF_CUSTOM_VTABLE)
584 private:
585 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
586 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
587 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
588 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
589
590 public:
591 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
596 }
597 #else // PROTOBUF_CUSTOM_VTABLE
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;
602 #endif // PROTOBUF_CUSTOM_VTABLE
603 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
604
605 private:
606 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
607 static void SharedDtor(MessageLite& self);
608 void InternalSwap(CapacityConstraintProto* PROTOBUF_NONNULL other);
609 private:
610 template <typename T>
611 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
612 static ::absl::string_view FullMessageName() { return "operations_research.CapacityConstraintProto"; }
613
614 explicit CapacityConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
615 CapacityConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CapacityConstraintProto& from);
617 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CapacityConstraintProto&& from) noexcept
618 : CapacityConstraintProto(arena) {
619 *this = ::std::move(from);
620 }
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_();
626
627 public:
628 static constexpr auto InternalGenerateClassData_();
629
630 ::google::protobuf::Metadata GetMetadata() const;
631 // nested types ----------------------------------------------------
632 using CapacityTerm = CapacityConstraintProto_CapacityTerm;
633
634 // accessors -------------------------------------------------------
635 enum : int {
639 };
640 // repeated .operations_research.CapacityConstraintProto.CapacityTerm capacity_term = 1;
642 private:
643 int _internal_capacity_term_size() const;
644
645 public:
646 void clear_capacity_term() ;
648 ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL mutable_capacity_term();
649
650 private:
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();
653 public:
654 const ::operations_research::CapacityConstraintProto_CapacityTerm& capacity_term(int index) const;
656 const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>& capacity_term() const;
657 // int64 min_capacity = 2;
658 void clear_min_capacity() ;
659 ::int64_t min_capacity() const;
660 void set_min_capacity(::int64_t value);
661
662 private:
663 ::int64_t _internal_min_capacity() const;
664 void _internal_set_min_capacity(::int64_t value);
665
666 public:
667 // int64 max_capacity = 3;
668 void clear_max_capacity() ;
669 ::int64_t max_capacity() const;
670 void set_max_capacity(::int64_t value);
671
672 private:
673 ::int64_t _internal_max_capacity() const;
674 void _internal_set_max_capacity(::int64_t value);
675
676 public:
677 // @@protoc_insertion_point(class_scope:operations_research.CapacityConstraintProto)
678 private:
679 class _Internal;
680 friend class ::google::protobuf::internal::TcParser;
681 static const ::google::protobuf::internal::TcParseTable<2, 3,
682 1, 0,
683 2>
684 _table_;
685
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;
692 struct Impl_ {
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,
700 const CapacityConstraintProto& from_msg);
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
707 };
708 union { Impl_ _impl_; };
709 friend struct ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto;
710};
711
712OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityConstraintProto_class_data_;
714// ===================================================================
715
716
717
718
719// ===================================================================
720
721
722#ifdef __GNUC__
723#pragma GCC diagnostic push
724#pragma GCC diagnostic ignored "-Wstrict-aliasing"
725#endif // __GNUC__
726// -------------------------------------------------------------------
727
728// CapacityConstraintProto_CapacityTerm_ElementWeightPair
729
730// int64 element = 1;
732 ::google::protobuf::internal::TSanWrite(&_impl_);
733 _impl_.element_ = ::int64_t{0};
734 ClearHasBit(_impl_._has_bits_[0],
735 0x00000001U);
736}
738 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair.element)
739 return _internal_element();
740}
742 _internal_set_element(value);
743 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
744 // @@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair.element)
745}
746inline ::int64_t CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_element() const {
747 ::google::protobuf::internal::TSanRead(&_impl_);
748 return _impl_.element_;
749}
750inline void CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_set_element(::int64_t value) {
751 ::google::protobuf::internal::TSanWrite(&_impl_);
752 _impl_.element_ = value;
753}
754
755// int64 weight = 2;
757 ::google::protobuf::internal::TSanWrite(&_impl_);
758 _impl_.weight_ = ::int64_t{0};
759 ClearHasBit(_impl_._has_bits_[0],
760 0x00000002U);
761}
763 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair.weight)
764 return _internal_weight();
765}
767 _internal_set_weight(value);
768 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
769 // @@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair.weight)
770}
771inline ::int64_t CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_weight() const {
772 ::google::protobuf::internal::TSanRead(&_impl_);
773 return _impl_.weight_;
774}
775inline void CapacityConstraintProto_CapacityTerm_ElementWeightPair::_internal_set_weight(::int64_t value) {
776 ::google::protobuf::internal::TSanWrite(&_impl_);
777 _impl_.weight_ = value;
778}
779
780// -------------------------------------------------------------------
781
782// CapacityConstraintProto_CapacityTerm
783
784// int64 subset = 1;
786 ::google::protobuf::internal::TSanWrite(&_impl_);
787 _impl_.subset_ = ::int64_t{0};
788 ClearHasBit(_impl_._has_bits_[0],
789 0x00000002U);
790}
791inline ::int64_t CapacityConstraintProto_CapacityTerm::subset() const {
792 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.subset)
793 return _internal_subset();
794}
795inline void CapacityConstraintProto_CapacityTerm::set_subset(::int64_t value) {
796 _internal_set_subset(value);
797 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
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 ClearHasBitForRepeated(_impl_._has_bits_[0],
820 0x00000001U);
822inline ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair* PROTOBUF_NONNULL CapacityConstraintProto_CapacityTerm::mutable_element_weights(int index)
823 ABSL_ATTRIBUTE_LIFETIME_BOUND {
824 // @@protoc_insertion_point(field_mutable:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
825 return _internal_mutable_element_weights()->Mutable(index);
826}
827inline ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>* PROTOBUF_NONNULL CapacityConstraintProto_CapacityTerm::mutable_element_weights()
828 ABSL_ATTRIBUTE_LIFETIME_BOUND {
829 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
830 // @@protoc_insertion_point(field_mutable_list:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
831 ::google::protobuf::internal::TSanWrite(&_impl_);
832 return _internal_mutable_element_weights();
833}
834inline const ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair& CapacityConstraintProto_CapacityTerm::element_weights(int index) const
835 ABSL_ATTRIBUTE_LIFETIME_BOUND {
836 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
837 return _internal_element_weights().Get(index);
838}
839inline ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair* PROTOBUF_NONNULL CapacityConstraintProto_CapacityTerm::add_element_weights()
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);
846 // @@protoc_insertion_point(field_add:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
847 return _add;
848}
849inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>& CapacityConstraintProto_CapacityTerm::element_weights() const
850 ABSL_ATTRIBUTE_LIFETIME_BOUND {
851 // @@protoc_insertion_point(field_list:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)
852 return _internal_element_weights();
853}
854inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair>&
855CapacityConstraintProto_CapacityTerm::_internal_element_weights() const {
856 ::google::protobuf::internal::TSanRead(&_impl_);
857 return _impl_.element_weights_;
858}
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_;
863}
864
865// -------------------------------------------------------------------
866
867// CapacityConstraintProto
868
869// repeated .operations_research.CapacityConstraintProto.CapacityTerm capacity_term = 1;
870inline int CapacityConstraintProto::_internal_capacity_term_size() const {
871 return _internal_capacity_term().size();
872}
874 return _internal_capacity_term_size();
875}
877 ::google::protobuf::internal::TSanWrite(&_impl_);
878 _impl_.capacity_term_.Clear();
879 ClearHasBitForRepeated(_impl_._has_bits_[0],
880 0x00000001U);
881}
882inline ::operations_research::CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL CapacityConstraintProto::mutable_capacity_term(int index)
883 ABSL_ATTRIBUTE_LIFETIME_BOUND {
884 // @@protoc_insertion_point(field_mutable:operations_research.CapacityConstraintProto.capacity_term)
885 return _internal_mutable_capacity_term()->Mutable(index);
886}
887inline ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>* PROTOBUF_NONNULL CapacityConstraintProto::mutable_capacity_term()
888 ABSL_ATTRIBUTE_LIFETIME_BOUND {
889 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
890 // @@protoc_insertion_point(field_mutable_list:operations_research.CapacityConstraintProto.capacity_term)
891 ::google::protobuf::internal::TSanWrite(&_impl_);
892 return _internal_mutable_capacity_term();
893}
894inline const ::operations_research::CapacityConstraintProto_CapacityTerm& CapacityConstraintProto::capacity_term(int index) const
895 ABSL_ATTRIBUTE_LIFETIME_BOUND {
896 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.capacity_term)
897 return _internal_capacity_term().Get(index);
898}
899inline ::operations_research::CapacityConstraintProto_CapacityTerm* PROTOBUF_NONNULL CapacityConstraintProto::add_capacity_term()
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);
906 // @@protoc_insertion_point(field_add:operations_research.CapacityConstraintProto.capacity_term)
907 return _add;
909inline const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm>& CapacityConstraintProto::capacity_term() const
910 ABSL_ATTRIBUTE_LIFETIME_BOUND {
911 // @@protoc_insertion_point(field_list:operations_research.CapacityConstraintProto.capacity_term)
912 return _internal_capacity_term();
913}
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_;
923}
924
925// int64 min_capacity = 2;
927 ::google::protobuf::internal::TSanWrite(&_impl_);
928 _impl_.min_capacity_ = ::int64_t{0};
929 ClearHasBit(_impl_._has_bits_[0],
930 0x00000002U);
931}
932inline ::int64_t CapacityConstraintProto::min_capacity() const {
933 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.min_capacity)
934 return _internal_min_capacity();
936inline void CapacityConstraintProto::set_min_capacity(::int64_t value) {
937 _internal_set_min_capacity(value);
938 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
939 // @@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.min_capacity)
940}
941inline ::int64_t CapacityConstraintProto::_internal_min_capacity() const {
942 ::google::protobuf::internal::TSanRead(&_impl_);
943 return _impl_.min_capacity_;
944}
945inline void CapacityConstraintProto::_internal_set_min_capacity(::int64_t value) {
946 ::google::protobuf::internal::TSanWrite(&_impl_);
947 _impl_.min_capacity_ = value;
948}
949
950// int64 max_capacity = 3;
952 ::google::protobuf::internal::TSanWrite(&_impl_);
953 _impl_.max_capacity_ = ::int64_t{0};
954 ClearHasBit(_impl_._has_bits_[0],
955 0x00000004U);
956}
957inline ::int64_t CapacityConstraintProto::max_capacity() const {
958 // @@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.max_capacity)
959 return _internal_max_capacity();
961inline void CapacityConstraintProto::set_max_capacity(::int64_t value) {
962 _internal_set_max_capacity(value);
963 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
964 // @@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.max_capacity)
965}
966inline ::int64_t CapacityConstraintProto::_internal_max_capacity() const {
967 ::google::protobuf::internal::TSanRead(&_impl_);
968 return _impl_.max_capacity_;
969}
970inline void CapacityConstraintProto::_internal_set_max_capacity(::int64_t value) {
971 ::google::protobuf::internal::TSanWrite(&_impl_);
972 _impl_.max_capacity_ = value;
973}
974
975#ifdef __GNUC__
976#pragma GCC diagnostic pop
977#endif // __GNUC__
978
979// @@protoc_insertion_point(namespace_scope)
980} // namespace operations_research
981
982
983// @@protoc_insertion_point(global_scope)
984
985#include "google/protobuf/port_undef.inc"
986
987#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)
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)
::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
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
::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 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()
OR-Tools root namespace.
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_