Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
capacity_planning.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/routing/parsers/capacity_planning.proto
4// Protobuf C++ Version: 6.33.1
5
6#ifndef ortools_2frouting_2fparsers_2fcapacity_5fplanning_2eproto_2epb_2eh
7#define ortools_2frouting_2fparsers_2fcapacity_5fplanning_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_2frouting_2fparsers_2fcapacity_5fplanning_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_2frouting_2fparsers_2fcapacity_5fplanning_2eproto;
54} // extern "C"
55namespace operations_research {
56namespace routing {
60OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityPlanningInstance_class_data_;
61class Commodities;
64OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Commodities_class_data_;
65class NetworkTopology;
68OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull NetworkTopology_class_data_;
69} // namespace routing
70} // namespace operations_research
71namespace google {
72namespace protobuf {
73} // namespace protobuf
74} // namespace google
75
76namespace operations_research {
77namespace routing {
78
79// ===================================================================
80
81
82// -------------------------------------------------------------------
83
84class OR_PROTO_DLL NetworkTopology final : public ::google::protobuf::Message
85/* @@protoc_insertion_point(class_definition:operations_research.routing.NetworkTopology) */ {
86 public:
87 inline NetworkTopology() : NetworkTopology(nullptr) {}
88 ~NetworkTopology() PROTOBUF_FINAL;
90#if defined(PROTOBUF_CUSTOM_VTABLE)
91 void operator delete(NetworkTopology* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
92 SharedDtor(*msg);
93 ::google::protobuf::internal::SizedDelete(msg, sizeof(NetworkTopology));
94 }
95#endif
96
97 template <typename = void>
98 explicit PROTOBUF_CONSTEXPR NetworkTopology(::google::protobuf::internal::ConstantInitialized);
99
100 inline NetworkTopology(const NetworkTopology& from) : NetworkTopology(nullptr, from) {}
101 inline NetworkTopology(NetworkTopology&& from) noexcept
102 : NetworkTopology(nullptr, ::std::move(from)) {}
104 CopyFrom(from);
105 return *this;
106 }
107 inline NetworkTopology& operator=(NetworkTopology&& from) noexcept {
108 if (this == &from) return *this;
109 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
110 InternalSwap(&from);
111 } else {
112 CopyFrom(from);
113 }
114 return *this;
115 }
116
117 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
118 ABSL_ATTRIBUTE_LIFETIME_BOUND {
119 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
120 }
121 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
122 ABSL_ATTRIBUTE_LIFETIME_BOUND {
123 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
124 }
125
126 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
127 return GetDescriptor();
129 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
130 return default_instance().GetMetadata().descriptor;
132 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
133 return default_instance().GetMetadata().reflection;
135 static const NetworkTopology& default_instance() {
136 return *reinterpret_cast<const NetworkTopology*>(
138 }
139 static constexpr int kIndexInFileMessages = 0;
140 friend void swap(NetworkTopology& a, NetworkTopology& b) { a.Swap(&b); }
141 inline void Swap(NetworkTopology* PROTOBUF_NONNULL other) {
142 if (other == this) return;
143 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
144 InternalSwap(other);
145 } else {
146 ::google::protobuf::internal::GenericSwap(this, other);
147 }
148 }
149 void UnsafeArenaSwap(NetworkTopology* PROTOBUF_NONNULL other) {
150 if (other == this) return;
151 ABSL_DCHECK(GetArena() == other->GetArena());
152 InternalSwap(other);
153 }
154
155 // implements Message ----------------------------------------------
156
157 NetworkTopology* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
158 return ::google::protobuf::Message::DefaultConstruct<NetworkTopology>(arena);
160 using ::google::protobuf::Message::CopyFrom;
161 void CopyFrom(const NetworkTopology& from);
162 using ::google::protobuf::Message::MergeFrom;
163 void MergeFrom(const NetworkTopology& from) { NetworkTopology::MergeImpl(*this, from); }
164
165 private:
166 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
167 const ::google::protobuf::MessageLite& from_msg);
168
169 public:
170 bool IsInitialized() const {
171 return true;
173 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
174 #if defined(PROTOBUF_CUSTOM_VTABLE)
175 private:
176 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
177 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
178 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
179 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
180
181 public:
182 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
183 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
184 ::uint8_t* PROTOBUF_NONNULL target,
185 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
186 return _InternalSerialize(*this, target, stream);
187 }
188 #else // PROTOBUF_CUSTOM_VTABLE
189 ::size_t ByteSizeLong() const final;
190 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
191 ::uint8_t* PROTOBUF_NONNULL target,
192 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
193 #endif // PROTOBUF_CUSTOM_VTABLE
194 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
195
196 private:
197 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
198 static void SharedDtor(MessageLite& self);
199 void InternalSwap(NetworkTopology* PROTOBUF_NONNULL other);
200 private:
201 template <typename T>
202 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
203 static ::absl::string_view FullMessageName() { return "operations_research.routing.NetworkTopology"; }
204
205 explicit NetworkTopology(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
206 NetworkTopology(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const NetworkTopology& from);
208 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, NetworkTopology&& from) noexcept
209 : NetworkTopology(arena) {
210 *this = ::std::move(from);
211 }
212 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
213 static void* PROTOBUF_NONNULL PlacementNew_(
214 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
215 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
216 static constexpr auto InternalNewImpl_();
217
218 public:
219 static constexpr auto InternalGenerateClassData_();
220
221 ::google::protobuf::Metadata GetMetadata() const;
222 // nested types ----------------------------------------------------
223
224 // accessors -------------------------------------------------------
225 enum : int {
226 kFromNodeFieldNumber = 1,
227 kToNodeFieldNumber = 2,
231 };
232 // repeated int32 from_node = 1;
233 int from_node_size() const;
234 private:
235 int _internal_from_node_size() const;
236
237 public:
238 void clear_from_node() ;
239 ::int32_t from_node(int index) const;
240 void set_from_node(int index, ::int32_t value);
241 void add_from_node(::int32_t value);
242 const ::google::protobuf::RepeatedField<::int32_t>& from_node() const;
243 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_from_node();
244
245 private:
246 const ::google::protobuf::RepeatedField<::int32_t>& _internal_from_node() const;
247 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_from_node();
248
249 public:
250 // repeated int32 to_node = 2;
251 int to_node_size() const;
252 private:
253 int _internal_to_node_size() const;
254
255 public:
256 void clear_to_node() ;
257 ::int32_t to_node(int index) const;
258 void set_to_node(int index, ::int32_t value);
259 void add_to_node(::int32_t value);
260 const ::google::protobuf::RepeatedField<::int32_t>& to_node() const;
261 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_to_node();
262
263 private:
264 const ::google::protobuf::RepeatedField<::int32_t>& _internal_to_node() const;
265 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_to_node();
266
267 public:
268 // repeated double variable_cost = 3;
269 int variable_cost_size() const;
270 private:
271 int _internal_variable_cost_size() const;
272
273 public:
274 void clear_variable_cost() ;
275 double variable_cost(int index) const;
276 void set_variable_cost(int index, double value);
277 void add_variable_cost(double value);
278 const ::google::protobuf::RepeatedField<double>& variable_cost() const;
279 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_variable_cost();
280
281 private:
282 const ::google::protobuf::RepeatedField<double>& _internal_variable_cost() const;
283 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_variable_cost();
284
285 public:
286 // repeated double fixed_cost = 4;
287 int fixed_cost_size() const;
288 private:
289 int _internal_fixed_cost_size() const;
290
291 public:
292 void clear_fixed_cost() ;
293 double fixed_cost(int index) const;
294 void set_fixed_cost(int index, double value);
295 void add_fixed_cost(double value);
296 const ::google::protobuf::RepeatedField<double>& fixed_cost() const;
297 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_fixed_cost();
298
299 private:
300 const ::google::protobuf::RepeatedField<double>& _internal_fixed_cost() const;
301 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_fixed_cost();
302
303 public:
304 // repeated double capacity = 5;
305 int capacity_size() const;
306 private:
307 int _internal_capacity_size() const;
308
309 public:
310 void clear_capacity() ;
311 double capacity(int index) const;
312 void set_capacity(int index, double value);
313 void add_capacity(double value);
314 const ::google::protobuf::RepeatedField<double>& capacity() const;
315 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_capacity();
316
317 private:
318 const ::google::protobuf::RepeatedField<double>& _internal_capacity() const;
319 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_capacity();
320
321 public:
322 // @@protoc_insertion_point(class_scope:operations_research.routing.NetworkTopology)
323 private:
324 class _Internal;
325 friend class ::google::protobuf::internal::TcParser;
326 static const ::google::protobuf::internal::TcParseTable<3, 5,
327 0, 0,
328 2>
329 _table_;
330
331 friend class ::google::protobuf::MessageLite;
332 friend class ::google::protobuf::Arena;
333 template <typename T>
334 friend class ::google::protobuf::Arena::InternalHelper;
335 using InternalArenaConstructable_ = void;
336 using DestructorSkippable_ = void;
337 struct Impl_ {
338 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
339 inline explicit Impl_(
340 ::google::protobuf::internal::InternalVisibility visibility,
341 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
342 inline explicit Impl_(
343 ::google::protobuf::internal::InternalVisibility visibility,
344 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
345 const NetworkTopology& from_msg);
346 ::google::protobuf::internal::HasBits<1> _has_bits_;
347 ::google::protobuf::internal::CachedSize _cached_size_;
348 ::google::protobuf::RepeatedField<::int32_t> from_node_;
349 ::google::protobuf::internal::CachedSize _from_node_cached_byte_size_;
350 ::google::protobuf::RepeatedField<::int32_t> to_node_;
351 ::google::protobuf::internal::CachedSize _to_node_cached_byte_size_;
352 ::google::protobuf::RepeatedField<double> variable_cost_;
353 ::google::protobuf::RepeatedField<double> fixed_cost_;
354 ::google::protobuf::RepeatedField<double> capacity_;
355 PROTOBUF_TSAN_DECLARE_MEMBER
356 };
357 union { Impl_ _impl_; };
358 friend struct ::TableStruct_ortools_2frouting_2fparsers_2fcapacity_5fplanning_2eproto;
361OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull NetworkTopology_class_data_;
362// -------------------------------------------------------------------
363
364class OR_PROTO_DLL Commodities final : public ::google::protobuf::Message
365/* @@protoc_insertion_point(class_definition:operations_research.routing.Commodities) */ {
366 public:
367 inline Commodities() : Commodities(nullptr) {}
368 ~Commodities() PROTOBUF_FINAL;
369
370#if defined(PROTOBUF_CUSTOM_VTABLE)
371 void operator delete(Commodities* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
372 SharedDtor(*msg);
373 ::google::protobuf::internal::SizedDelete(msg, sizeof(Commodities));
374 }
375#endif
376
377 template <typename = void>
378 explicit PROTOBUF_CONSTEXPR Commodities(::google::protobuf::internal::ConstantInitialized);
379
380 inline Commodities(const Commodities& from) : Commodities(nullptr, from) {}
381 inline Commodities(Commodities&& from) noexcept
382 : Commodities(nullptr, ::std::move(from)) {}
383 inline Commodities& operator=(const Commodities& from) {
384 CopyFrom(from);
385 return *this;
387 inline Commodities& operator=(Commodities&& from) noexcept {
388 if (this == &from) return *this;
389 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
390 InternalSwap(&from);
391 } else {
392 CopyFrom(from);
393 }
394 return *this;
395 }
396
397 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
398 ABSL_ATTRIBUTE_LIFETIME_BOUND {
399 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
401 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
402 ABSL_ATTRIBUTE_LIFETIME_BOUND {
403 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
405
406 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
407 return GetDescriptor();
408 }
409 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
410 return default_instance().GetMetadata().descriptor;
411 }
412 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
413 return default_instance().GetMetadata().reflection;
414 }
416 return *reinterpret_cast<const Commodities*>(
419 static constexpr int kIndexInFileMessages = 1;
420 friend void swap(Commodities& a, Commodities& b) { a.Swap(&b); }
421 inline void Swap(Commodities* PROTOBUF_NONNULL other) {
422 if (other == this) return;
423 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
424 InternalSwap(other);
425 } else {
426 ::google::protobuf::internal::GenericSwap(this, other);
427 }
428 }
429 void UnsafeArenaSwap(Commodities* PROTOBUF_NONNULL other) {
430 if (other == this) return;
431 ABSL_DCHECK(GetArena() == other->GetArena());
432 InternalSwap(other);
433 }
434
435 // implements Message ----------------------------------------------
436
437 Commodities* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
438 return ::google::protobuf::Message::DefaultConstruct<Commodities>(arena);
439 }
440 using ::google::protobuf::Message::CopyFrom;
441 void CopyFrom(const Commodities& from);
442 using ::google::protobuf::Message::MergeFrom;
443 void MergeFrom(const Commodities& from) { Commodities::MergeImpl(*this, from); }
444
445 private:
446 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
447 const ::google::protobuf::MessageLite& from_msg);
448
449 public:
450 bool IsInitialized() const {
451 return true;
452 }
453 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
454 #if defined(PROTOBUF_CUSTOM_VTABLE)
455 private:
456 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
457 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
458 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
459 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
460
461 public:
462 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
463 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
464 ::uint8_t* PROTOBUF_NONNULL target,
465 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
466 return _InternalSerialize(*this, target, stream);
467 }
468 #else // PROTOBUF_CUSTOM_VTABLE
469 ::size_t ByteSizeLong() const final;
470 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
471 ::uint8_t* PROTOBUF_NONNULL target,
472 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
473 #endif // PROTOBUF_CUSTOM_VTABLE
474 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
475
476 private:
477 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
478 static void SharedDtor(MessageLite& self);
479 void InternalSwap(Commodities* PROTOBUF_NONNULL other);
480 private:
481 template <typename T>
482 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
483 static ::absl::string_view FullMessageName() { return "operations_research.routing.Commodities"; }
484
485 explicit Commodities(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
486 Commodities(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Commodities& from);
488 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Commodities&& from) noexcept
489 : Commodities(arena) {
490 *this = ::std::move(from);
491 }
492 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
493 static void* PROTOBUF_NONNULL PlacementNew_(
494 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
495 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
496 static constexpr auto InternalNewImpl_();
497
498 public:
499 static constexpr auto InternalGenerateClassData_();
500
501 ::google::protobuf::Metadata GetMetadata() const;
502 // nested types ----------------------------------------------------
503
504 // accessors -------------------------------------------------------
505 enum : int {
506 kFromNodeFieldNumber = 1,
507 kToNodeFieldNumber = 2,
508 kDemandFieldNumber = 3,
509 };
510 // repeated int32 from_node = 1;
511 int from_node_size() const;
512 private:
513 int _internal_from_node_size() const;
514
515 public:
516 void clear_from_node() ;
517 ::int32_t from_node(int index) const;
518 void set_from_node(int index, ::int32_t value);
519 void add_from_node(::int32_t value);
520 const ::google::protobuf::RepeatedField<::int32_t>& from_node() const;
521 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_from_node();
522
523 private:
524 const ::google::protobuf::RepeatedField<::int32_t>& _internal_from_node() const;
525 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_from_node();
526
527 public:
528 // repeated int32 to_node = 2;
529 int to_node_size() const;
530 private:
531 int _internal_to_node_size() const;
532
533 public:
534 void clear_to_node() ;
535 ::int32_t to_node(int index) const;
536 void set_to_node(int index, ::int32_t value);
537 void add_to_node(::int32_t value);
538 const ::google::protobuf::RepeatedField<::int32_t>& to_node() const;
539 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_to_node();
540
541 private:
542 const ::google::protobuf::RepeatedField<::int32_t>& _internal_to_node() const;
543 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_to_node();
544
545 public:
546 // repeated double demand = 3;
547 int demand_size() const;
548 private:
549 int _internal_demand_size() const;
550
551 public:
552 void clear_demand() ;
553 double demand(int index) const;
554 void set_demand(int index, double value);
555 void add_demand(double value);
556 const ::google::protobuf::RepeatedField<double>& demand() const;
557 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_demand();
558
559 private:
560 const ::google::protobuf::RepeatedField<double>& _internal_demand() const;
561 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_demand();
562
563 public:
564 // @@protoc_insertion_point(class_scope:operations_research.routing.Commodities)
565 private:
566 class _Internal;
567 friend class ::google::protobuf::internal::TcParser;
568 static const ::google::protobuf::internal::TcParseTable<2, 3,
569 0, 0,
570 2>
571 _table_;
572
573 friend class ::google::protobuf::MessageLite;
574 friend class ::google::protobuf::Arena;
575 template <typename T>
576 friend class ::google::protobuf::Arena::InternalHelper;
577 using InternalArenaConstructable_ = void;
578 using DestructorSkippable_ = void;
579 struct Impl_ {
580 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
581 inline explicit Impl_(
582 ::google::protobuf::internal::InternalVisibility visibility,
583 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
584 inline explicit Impl_(
585 ::google::protobuf::internal::InternalVisibility visibility,
586 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
587 const Commodities& from_msg);
588 ::google::protobuf::internal::HasBits<1> _has_bits_;
589 ::google::protobuf::internal::CachedSize _cached_size_;
590 ::google::protobuf::RepeatedField<::int32_t> from_node_;
591 ::google::protobuf::internal::CachedSize _from_node_cached_byte_size_;
592 ::google::protobuf::RepeatedField<::int32_t> to_node_;
593 ::google::protobuf::internal::CachedSize _to_node_cached_byte_size_;
594 ::google::protobuf::RepeatedField<double> demand_;
595 PROTOBUF_TSAN_DECLARE_MEMBER
596 };
597 union { Impl_ _impl_; };
598 friend struct ::TableStruct_ortools_2frouting_2fparsers_2fcapacity_5fplanning_2eproto;
599};
601OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull Commodities_class_data_;
602// -------------------------------------------------------------------
603
604class OR_PROTO_DLL CapacityPlanningInstance final : public ::google::protobuf::Message
605/* @@protoc_insertion_point(class_definition:operations_research.routing.CapacityPlanningInstance) */ {
606 public:
609
610#if defined(PROTOBUF_CUSTOM_VTABLE)
611 void operator delete(CapacityPlanningInstance* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
612 SharedDtor(*msg);
613 ::google::protobuf::internal::SizedDelete(msg, sizeof(CapacityPlanningInstance));
614 }
615#endif
616
617 template <typename = void>
618 explicit PROTOBUF_CONSTEXPR CapacityPlanningInstance(::google::protobuf::internal::ConstantInitialized);
619
621 inline CapacityPlanningInstance(CapacityPlanningInstance&& from) noexcept
622 : CapacityPlanningInstance(nullptr, ::std::move(from)) {}
623 inline CapacityPlanningInstance& operator=(const CapacityPlanningInstance& from) {
624 CopyFrom(from);
625 return *this;
626 }
628 if (this == &from) return *this;
629 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
630 InternalSwap(&from);
631 } else {
632 CopyFrom(from);
633 }
634 return *this;
635 }
636
637 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
638 ABSL_ATTRIBUTE_LIFETIME_BOUND {
639 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
640 }
641 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
642 ABSL_ATTRIBUTE_LIFETIME_BOUND {
643 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
644 }
646 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
647 return GetDescriptor();
648 }
649 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
650 return default_instance().GetMetadata().descriptor;
651 }
652 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
653 return default_instance().GetMetadata().reflection;
654 }
655 static const CapacityPlanningInstance& default_instance() {
656 return *reinterpret_cast<const CapacityPlanningInstance*>(
658 }
659 static constexpr int kIndexInFileMessages = 2;
660 friend void swap(CapacityPlanningInstance& a, CapacityPlanningInstance& b) { a.Swap(&b); }
661 inline void Swap(CapacityPlanningInstance* PROTOBUF_NONNULL other) {
662 if (other == this) return;
663 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
664 InternalSwap(other);
665 } else {
666 ::google::protobuf::internal::GenericSwap(this, other);
667 }
668 }
669 void UnsafeArenaSwap(CapacityPlanningInstance* PROTOBUF_NONNULL other) {
670 if (other == this) return;
671 ABSL_DCHECK(GetArena() == other->GetArena());
672 InternalSwap(other);
674
675 // implements Message ----------------------------------------------
676
677 CapacityPlanningInstance* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
678 return ::google::protobuf::Message::DefaultConstruct<CapacityPlanningInstance>(arena);
679 }
680 using ::google::protobuf::Message::CopyFrom;
682 using ::google::protobuf::Message::MergeFrom;
683 void MergeFrom(const CapacityPlanningInstance& from) { CapacityPlanningInstance::MergeImpl(*this, from); }
684
685 private:
686 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
687 const ::google::protobuf::MessageLite& from_msg);
688
689 public:
690 bool IsInitialized() const {
691 return true;
692 }
693 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
694 #if defined(PROTOBUF_CUSTOM_VTABLE)
695 private:
696 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
697 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
698 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
699 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
700
701 public:
702 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
703 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
704 ::uint8_t* PROTOBUF_NONNULL target,
705 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
706 return _InternalSerialize(*this, target, stream);
707 }
708 #else // PROTOBUF_CUSTOM_VTABLE
709 ::size_t ByteSizeLong() const final;
710 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
711 ::uint8_t* PROTOBUF_NONNULL target,
712 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
713 #endif // PROTOBUF_CUSTOM_VTABLE
714 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
715
716 private:
717 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
718 static void SharedDtor(MessageLite& self);
719 void InternalSwap(CapacityPlanningInstance* PROTOBUF_NONNULL other);
720 private:
721 template <typename T>
722 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
723 static ::absl::string_view FullMessageName() { return "operations_research.routing.CapacityPlanningInstance"; }
724
725 explicit CapacityPlanningInstance(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
726 CapacityPlanningInstance(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CapacityPlanningInstance& from);
728 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CapacityPlanningInstance&& from) noexcept
729 : CapacityPlanningInstance(arena) {
730 *this = ::std::move(from);
731 }
732 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
733 static void* PROTOBUF_NONNULL PlacementNew_(
734 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
735 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
736 static constexpr auto InternalNewImpl_();
737
738 public:
739 static constexpr auto InternalGenerateClassData_();
740
741 ::google::protobuf::Metadata GetMetadata() const;
742 // nested types ----------------------------------------------------
743
744 // accessors -------------------------------------------------------
745 enum : int {
746 kTopologyFieldNumber = 1,
747 kCommoditiesFieldNumber = 2,
748 };
749 // .operations_research.routing.NetworkTopology topology = 1;
750 bool has_topology() const;
752 const ::operations_research::routing::NetworkTopology& topology() const;
753 [[nodiscard]] ::operations_research::routing::NetworkTopology* PROTOBUF_NULLABLE release_topology();
758
759 private:
760 const ::operations_research::routing::NetworkTopology& _internal_topology() const;
761 ::operations_research::routing::NetworkTopology* PROTOBUF_NONNULL _internal_mutable_topology();
762
763 public:
764 // .operations_research.routing.Commodities commodities = 2;
765 bool has_commodities() const;
766 void clear_commodities() ;
767 const ::operations_research::routing::Commodities& commodities() const;
768 [[nodiscard]] ::operations_research::routing::Commodities* PROTOBUF_NULLABLE release_commodities();
773
774 private:
775 const ::operations_research::routing::Commodities& _internal_commodities() const;
776 ::operations_research::routing::Commodities* PROTOBUF_NONNULL _internal_mutable_commodities();
777
778 public:
779 // @@protoc_insertion_point(class_scope:operations_research.routing.CapacityPlanningInstance)
780 private:
781 class _Internal;
782 friend class ::google::protobuf::internal::TcParser;
783 static const ::google::protobuf::internal::TcParseTable<1, 2,
784 2, 0,
785 2>
786 _table_;
787
788 friend class ::google::protobuf::MessageLite;
789 friend class ::google::protobuf::Arena;
790 template <typename T>
791 friend class ::google::protobuf::Arena::InternalHelper;
792 using InternalArenaConstructable_ = void;
793 using DestructorSkippable_ = void;
794 struct Impl_ {
795 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
796 inline explicit Impl_(
797 ::google::protobuf::internal::InternalVisibility visibility,
798 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
799 inline explicit Impl_(
800 ::google::protobuf::internal::InternalVisibility visibility,
801 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
802 const CapacityPlanningInstance& from_msg);
803 ::google::protobuf::internal::HasBits<1> _has_bits_;
804 ::google::protobuf::internal::CachedSize _cached_size_;
805 ::operations_research::routing::NetworkTopology* PROTOBUF_NULLABLE topology_;
806 ::operations_research::routing::Commodities* PROTOBUF_NULLABLE commodities_;
807 PROTOBUF_TSAN_DECLARE_MEMBER
808 };
809 union { Impl_ _impl_; };
810 friend struct ::TableStruct_ortools_2frouting_2fparsers_2fcapacity_5fplanning_2eproto;
811};
812
813OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CapacityPlanningInstance_class_data_;
815// ===================================================================
816
817
818
819
820// ===================================================================
821
822
823#ifdef __GNUC__
824#pragma GCC diagnostic push
825#pragma GCC diagnostic ignored "-Wstrict-aliasing"
826#endif // __GNUC__
827// -------------------------------------------------------------------
828
829// NetworkTopology
830
831// repeated int32 from_node = 1;
832inline int NetworkTopology::_internal_from_node_size() const {
833 return _internal_from_node().size();
834}
835inline int NetworkTopology::from_node_size() const {
836 return _internal_from_node_size();
837}
839 ::google::protobuf::internal::TSanWrite(&_impl_);
840 _impl_.from_node_.Clear();
841 ClearHasBitForRepeated(_impl_._has_bits_[0],
842 0x00000001U);
843}
844inline ::int32_t NetworkTopology::from_node(int index) const {
845 // @@protoc_insertion_point(field_get:operations_research.routing.NetworkTopology.from_node)
846 return _internal_from_node().Get(index);
847}
848inline void NetworkTopology::set_from_node(int index, ::int32_t value) {
849 _internal_mutable_from_node()->Set(index, value);
850 // @@protoc_insertion_point(field_set:operations_research.routing.NetworkTopology.from_node)
852inline void NetworkTopology::add_from_node(::int32_t value) {
853 ::google::protobuf::internal::TSanWrite(&_impl_);
854 _internal_mutable_from_node()->Add(value);
855 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
856 // @@protoc_insertion_point(field_add:operations_research.routing.NetworkTopology.from_node)
857}
858inline const ::google::protobuf::RepeatedField<::int32_t>& NetworkTopology::from_node() const
859 ABSL_ATTRIBUTE_LIFETIME_BOUND {
860 // @@protoc_insertion_point(field_list:operations_research.routing.NetworkTopology.from_node)
861 return _internal_from_node();
862}
863inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL NetworkTopology::mutable_from_node()
864 ABSL_ATTRIBUTE_LIFETIME_BOUND {
865 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
866 // @@protoc_insertion_point(field_mutable_list:operations_research.routing.NetworkTopology.from_node)
867 ::google::protobuf::internal::TSanWrite(&_impl_);
868 return _internal_mutable_from_node();
869}
870inline const ::google::protobuf::RepeatedField<::int32_t>&
871NetworkTopology::_internal_from_node() const {
872 ::google::protobuf::internal::TSanRead(&_impl_);
873 return _impl_.from_node_;
874}
875inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
876NetworkTopology::_internal_mutable_from_node() {
877 ::google::protobuf::internal::TSanRead(&_impl_);
878 return &_impl_.from_node_;
879}
880
881// repeated int32 to_node = 2;
882inline int NetworkTopology::_internal_to_node_size() const {
883 return _internal_to_node().size();
884}
885inline int NetworkTopology::to_node_size() const {
886 return _internal_to_node_size();
887}
888inline void NetworkTopology::clear_to_node() {
889 ::google::protobuf::internal::TSanWrite(&_impl_);
890 _impl_.to_node_.Clear();
891 ClearHasBitForRepeated(_impl_._has_bits_[0],
892 0x00000002U);
893}
894inline ::int32_t NetworkTopology::to_node(int index) const {
895 // @@protoc_insertion_point(field_get:operations_research.routing.NetworkTopology.to_node)
896 return _internal_to_node().Get(index);
897}
898inline void NetworkTopology::set_to_node(int index, ::int32_t value) {
899 _internal_mutable_to_node()->Set(index, value);
900 // @@protoc_insertion_point(field_set:operations_research.routing.NetworkTopology.to_node)
902inline void NetworkTopology::add_to_node(::int32_t value) {
903 ::google::protobuf::internal::TSanWrite(&_impl_);
904 _internal_mutable_to_node()->Add(value);
905 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
906 // @@protoc_insertion_point(field_add:operations_research.routing.NetworkTopology.to_node)
907}
908inline const ::google::protobuf::RepeatedField<::int32_t>& NetworkTopology::to_node() const
909 ABSL_ATTRIBUTE_LIFETIME_BOUND {
910 // @@protoc_insertion_point(field_list:operations_research.routing.NetworkTopology.to_node)
911 return _internal_to_node();
912}
913inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL NetworkTopology::mutable_to_node()
914 ABSL_ATTRIBUTE_LIFETIME_BOUND {
915 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
916 // @@protoc_insertion_point(field_mutable_list:operations_research.routing.NetworkTopology.to_node)
917 ::google::protobuf::internal::TSanWrite(&_impl_);
918 return _internal_mutable_to_node();
919}
920inline const ::google::protobuf::RepeatedField<::int32_t>&
921NetworkTopology::_internal_to_node() const {
922 ::google::protobuf::internal::TSanRead(&_impl_);
923 return _impl_.to_node_;
924}
925inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
926NetworkTopology::_internal_mutable_to_node() {
927 ::google::protobuf::internal::TSanRead(&_impl_);
928 return &_impl_.to_node_;
929}
930
931// repeated double variable_cost = 3;
932inline int NetworkTopology::_internal_variable_cost_size() const {
933 return _internal_variable_cost().size();
934}
935inline int NetworkTopology::variable_cost_size() const {
936 return _internal_variable_cost_size();
937}
939 ::google::protobuf::internal::TSanWrite(&_impl_);
940 _impl_.variable_cost_.Clear();
941 ClearHasBitForRepeated(_impl_._has_bits_[0],
942 0x00000004U);
943}
944inline double NetworkTopology::variable_cost(int index) const {
945 // @@protoc_insertion_point(field_get:operations_research.routing.NetworkTopology.variable_cost)
946 return _internal_variable_cost().Get(index);
947}
948inline void NetworkTopology::set_variable_cost(int index, double value) {
949 _internal_mutable_variable_cost()->Set(index, value);
950 // @@protoc_insertion_point(field_set:operations_research.routing.NetworkTopology.variable_cost)
952inline void NetworkTopology::add_variable_cost(double value) {
953 ::google::protobuf::internal::TSanWrite(&_impl_);
954 _internal_mutable_variable_cost()->Add(value);
955 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
956 // @@protoc_insertion_point(field_add:operations_research.routing.NetworkTopology.variable_cost)
957}
958inline const ::google::protobuf::RepeatedField<double>& NetworkTopology::variable_cost() const
959 ABSL_ATTRIBUTE_LIFETIME_BOUND {
960 // @@protoc_insertion_point(field_list:operations_research.routing.NetworkTopology.variable_cost)
961 return _internal_variable_cost();
962}
963inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL NetworkTopology::mutable_variable_cost()
964 ABSL_ATTRIBUTE_LIFETIME_BOUND {
965 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
966 // @@protoc_insertion_point(field_mutable_list:operations_research.routing.NetworkTopology.variable_cost)
967 ::google::protobuf::internal::TSanWrite(&_impl_);
968 return _internal_mutable_variable_cost();
969}
970inline const ::google::protobuf::RepeatedField<double>&
971NetworkTopology::_internal_variable_cost() const {
972 ::google::protobuf::internal::TSanRead(&_impl_);
973 return _impl_.variable_cost_;
974}
975inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
976NetworkTopology::_internal_mutable_variable_cost() {
977 ::google::protobuf::internal::TSanRead(&_impl_);
978 return &_impl_.variable_cost_;
979}
980
981// repeated double fixed_cost = 4;
982inline int NetworkTopology::_internal_fixed_cost_size() const {
983 return _internal_fixed_cost().size();
984}
985inline int NetworkTopology::fixed_cost_size() const {
986 return _internal_fixed_cost_size();
987}
989 ::google::protobuf::internal::TSanWrite(&_impl_);
990 _impl_.fixed_cost_.Clear();
991 ClearHasBitForRepeated(_impl_._has_bits_[0],
992 0x00000008U);
993}
994inline double NetworkTopology::fixed_cost(int index) const {
995 // @@protoc_insertion_point(field_get:operations_research.routing.NetworkTopology.fixed_cost)
996 return _internal_fixed_cost().Get(index);
997}
998inline void NetworkTopology::set_fixed_cost(int index, double value) {
999 _internal_mutable_fixed_cost()->Set(index, value);
1000 // @@protoc_insertion_point(field_set:operations_research.routing.NetworkTopology.fixed_cost)
1002inline void NetworkTopology::add_fixed_cost(double value) {
1003 ::google::protobuf::internal::TSanWrite(&_impl_);
1004 _internal_mutable_fixed_cost()->Add(value);
1005 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
1006 // @@protoc_insertion_point(field_add:operations_research.routing.NetworkTopology.fixed_cost)
1007}
1008inline const ::google::protobuf::RepeatedField<double>& NetworkTopology::fixed_cost() const
1009 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1010 // @@protoc_insertion_point(field_list:operations_research.routing.NetworkTopology.fixed_cost)
1011 return _internal_fixed_cost();
1012}
1013inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL NetworkTopology::mutable_fixed_cost()
1014 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1015 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
1016 // @@protoc_insertion_point(field_mutable_list:operations_research.routing.NetworkTopology.fixed_cost)
1017 ::google::protobuf::internal::TSanWrite(&_impl_);
1018 return _internal_mutable_fixed_cost();
1019}
1020inline const ::google::protobuf::RepeatedField<double>&
1021NetworkTopology::_internal_fixed_cost() const {
1022 ::google::protobuf::internal::TSanRead(&_impl_);
1023 return _impl_.fixed_cost_;
1024}
1025inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
1026NetworkTopology::_internal_mutable_fixed_cost() {
1027 ::google::protobuf::internal::TSanRead(&_impl_);
1028 return &_impl_.fixed_cost_;
1029}
1030
1031// repeated double capacity = 5;
1032inline int NetworkTopology::_internal_capacity_size() const {
1033 return _internal_capacity().size();
1034}
1035inline int NetworkTopology::capacity_size() const {
1036 return _internal_capacity_size();
1037}
1038inline void NetworkTopology::clear_capacity() {
1039 ::google::protobuf::internal::TSanWrite(&_impl_);
1040 _impl_.capacity_.Clear();
1041 ClearHasBitForRepeated(_impl_._has_bits_[0],
1042 0x00000010U);
1043}
1044inline double NetworkTopology::capacity(int index) const {
1045 // @@protoc_insertion_point(field_get:operations_research.routing.NetworkTopology.capacity)
1046 return _internal_capacity().Get(index);
1047}
1048inline void NetworkTopology::set_capacity(int index, double value) {
1049 _internal_mutable_capacity()->Set(index, value);
1050 // @@protoc_insertion_point(field_set:operations_research.routing.NetworkTopology.capacity)
1052inline void NetworkTopology::add_capacity(double value) {
1053 ::google::protobuf::internal::TSanWrite(&_impl_);
1054 _internal_mutable_capacity()->Add(value);
1055 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
1056 // @@protoc_insertion_point(field_add:operations_research.routing.NetworkTopology.capacity)
1057}
1058inline const ::google::protobuf::RepeatedField<double>& NetworkTopology::capacity() const
1059 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1060 // @@protoc_insertion_point(field_list:operations_research.routing.NetworkTopology.capacity)
1061 return _internal_capacity();
1062}
1063inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL NetworkTopology::mutable_capacity()
1064 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1065 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
1066 // @@protoc_insertion_point(field_mutable_list:operations_research.routing.NetworkTopology.capacity)
1067 ::google::protobuf::internal::TSanWrite(&_impl_);
1068 return _internal_mutable_capacity();
1069}
1070inline const ::google::protobuf::RepeatedField<double>&
1071NetworkTopology::_internal_capacity() const {
1072 ::google::protobuf::internal::TSanRead(&_impl_);
1073 return _impl_.capacity_;
1074}
1075inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
1076NetworkTopology::_internal_mutable_capacity() {
1077 ::google::protobuf::internal::TSanRead(&_impl_);
1078 return &_impl_.capacity_;
1079}
1080
1081// -------------------------------------------------------------------
1082
1083// Commodities
1084
1085// repeated int32 from_node = 1;
1086inline int Commodities::_internal_from_node_size() const {
1087 return _internal_from_node().size();
1088}
1089inline int Commodities::from_node_size() const {
1090 return _internal_from_node_size();
1091}
1092inline void Commodities::clear_from_node() {
1093 ::google::protobuf::internal::TSanWrite(&_impl_);
1094 _impl_.from_node_.Clear();
1095 ClearHasBitForRepeated(_impl_._has_bits_[0],
1096 0x00000001U);
1098inline ::int32_t Commodities::from_node(int index) const {
1099 // @@protoc_insertion_point(field_get:operations_research.routing.Commodities.from_node)
1100 return _internal_from_node().Get(index);
1101}
1102inline void Commodities::set_from_node(int index, ::int32_t value) {
1103 _internal_mutable_from_node()->Set(index, value);
1104 // @@protoc_insertion_point(field_set:operations_research.routing.Commodities.from_node)
1105}
1106inline void Commodities::add_from_node(::int32_t value) {
1107 ::google::protobuf::internal::TSanWrite(&_impl_);
1108 _internal_mutable_from_node()->Add(value);
1109 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1110 // @@protoc_insertion_point(field_add:operations_research.routing.Commodities.from_node)
1111}
1112inline const ::google::protobuf::RepeatedField<::int32_t>& Commodities::from_node() const
1113 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1114 // @@protoc_insertion_point(field_list:operations_research.routing.Commodities.from_node)
1115 return _internal_from_node();
1116}
1117inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL Commodities::mutable_from_node()
1118 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1119 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1120 // @@protoc_insertion_point(field_mutable_list:operations_research.routing.Commodities.from_node)
1121 ::google::protobuf::internal::TSanWrite(&_impl_);
1122 return _internal_mutable_from_node();
1123}
1124inline const ::google::protobuf::RepeatedField<::int32_t>&
1125Commodities::_internal_from_node() const {
1126 ::google::protobuf::internal::TSanRead(&_impl_);
1127 return _impl_.from_node_;
1128}
1129inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1130Commodities::_internal_mutable_from_node() {
1131 ::google::protobuf::internal::TSanRead(&_impl_);
1132 return &_impl_.from_node_;
1133}
1134
1135// repeated int32 to_node = 2;
1136inline int Commodities::_internal_to_node_size() const {
1137 return _internal_to_node().size();
1138}
1139inline int Commodities::to_node_size() const {
1140 return _internal_to_node_size();
1141}
1142inline void Commodities::clear_to_node() {
1143 ::google::protobuf::internal::TSanWrite(&_impl_);
1144 _impl_.to_node_.Clear();
1145 ClearHasBitForRepeated(_impl_._has_bits_[0],
1146 0x00000002U);
1148inline ::int32_t Commodities::to_node(int index) const {
1149 // @@protoc_insertion_point(field_get:operations_research.routing.Commodities.to_node)
1150 return _internal_to_node().Get(index);
1151}
1152inline void Commodities::set_to_node(int index, ::int32_t value) {
1153 _internal_mutable_to_node()->Set(index, value);
1154 // @@protoc_insertion_point(field_set:operations_research.routing.Commodities.to_node)
1155}
1156inline void Commodities::add_to_node(::int32_t value) {
1157 ::google::protobuf::internal::TSanWrite(&_impl_);
1158 _internal_mutable_to_node()->Add(value);
1159 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1160 // @@protoc_insertion_point(field_add:operations_research.routing.Commodities.to_node)
1161}
1162inline const ::google::protobuf::RepeatedField<::int32_t>& Commodities::to_node() const
1163 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1164 // @@protoc_insertion_point(field_list:operations_research.routing.Commodities.to_node)
1165 return _internal_to_node();
1166}
1167inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL Commodities::mutable_to_node()
1168 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1169 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1170 // @@protoc_insertion_point(field_mutable_list:operations_research.routing.Commodities.to_node)
1171 ::google::protobuf::internal::TSanWrite(&_impl_);
1172 return _internal_mutable_to_node();
1173}
1174inline const ::google::protobuf::RepeatedField<::int32_t>&
1175Commodities::_internal_to_node() const {
1176 ::google::protobuf::internal::TSanRead(&_impl_);
1177 return _impl_.to_node_;
1178}
1179inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
1180Commodities::_internal_mutable_to_node() {
1181 ::google::protobuf::internal::TSanRead(&_impl_);
1182 return &_impl_.to_node_;
1183}
1184
1185// repeated double demand = 3;
1186inline int Commodities::_internal_demand_size() const {
1187 return _internal_demand().size();
1188}
1189inline int Commodities::demand_size() const {
1190 return _internal_demand_size();
1191}
1192inline void Commodities::clear_demand() {
1193 ::google::protobuf::internal::TSanWrite(&_impl_);
1194 _impl_.demand_.Clear();
1195 ClearHasBitForRepeated(_impl_._has_bits_[0],
1196 0x00000004U);
1198inline double Commodities::demand(int index) const {
1199 // @@protoc_insertion_point(field_get:operations_research.routing.Commodities.demand)
1200 return _internal_demand().Get(index);
1201}
1202inline void Commodities::set_demand(int index, double value) {
1203 _internal_mutable_demand()->Set(index, value);
1204 // @@protoc_insertion_point(field_set:operations_research.routing.Commodities.demand)
1205}
1206inline void Commodities::add_demand(double value) {
1207 ::google::protobuf::internal::TSanWrite(&_impl_);
1208 _internal_mutable_demand()->Add(value);
1209 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
1210 // @@protoc_insertion_point(field_add:operations_research.routing.Commodities.demand)
1211}
1212inline const ::google::protobuf::RepeatedField<double>& Commodities::demand() const
1213 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1214 // @@protoc_insertion_point(field_list:operations_research.routing.Commodities.demand)
1215 return _internal_demand();
1216}
1217inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL Commodities::mutable_demand()
1218 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1219 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
1220 // @@protoc_insertion_point(field_mutable_list:operations_research.routing.Commodities.demand)
1221 ::google::protobuf::internal::TSanWrite(&_impl_);
1222 return _internal_mutable_demand();
1223}
1224inline const ::google::protobuf::RepeatedField<double>&
1225Commodities::_internal_demand() const {
1226 ::google::protobuf::internal::TSanRead(&_impl_);
1227 return _impl_.demand_;
1228}
1229inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
1230Commodities::_internal_mutable_demand() {
1231 ::google::protobuf::internal::TSanRead(&_impl_);
1232 return &_impl_.demand_;
1233}
1234
1235// -------------------------------------------------------------------
1236
1237// CapacityPlanningInstance
1238
1239// .operations_research.routing.NetworkTopology topology = 1;
1240inline bool CapacityPlanningInstance::has_topology() const {
1241 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
1242 PROTOBUF_ASSUME(!value || _impl_.topology_ != nullptr);
1243 return value;
1244}
1246 ::google::protobuf::internal::TSanWrite(&_impl_);
1247 if (_impl_.topology_ != nullptr) _impl_.topology_->Clear();
1248 ClearHasBit(_impl_._has_bits_[0],
1249 0x00000001U);
1250}
1251inline const ::operations_research::routing::NetworkTopology& CapacityPlanningInstance::_internal_topology() const {
1252 ::google::protobuf::internal::TSanRead(&_impl_);
1253 const ::operations_research::routing::NetworkTopology* p = _impl_.topology_;
1255}
1256inline const ::operations_research::routing::NetworkTopology& CapacityPlanningInstance::topology() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1257 // @@protoc_insertion_point(field_get:operations_research.routing.CapacityPlanningInstance.topology)
1258 return _internal_topology();
1259}
1261 ::operations_research::routing::NetworkTopology* PROTOBUF_NULLABLE value) {
1262 ::google::protobuf::internal::TSanWrite(&_impl_);
1263 if (GetArena() == nullptr) {
1264 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.topology_);
1266 _impl_.topology_ = reinterpret_cast<::operations_research::routing::NetworkTopology*>(value);
1267 if (value != nullptr) {
1268 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1269 } else {
1270 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1271 }
1272 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.routing.CapacityPlanningInstance.topology)
1273}
1274inline ::operations_research::routing::NetworkTopology* PROTOBUF_NULLABLE CapacityPlanningInstance::release_topology() {
1275 ::google::protobuf::internal::TSanWrite(&_impl_);
1276
1277 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1279 _impl_.topology_ = nullptr;
1280 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1281 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1282 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1283 if (GetArena() == nullptr) {
1284 delete old;
1285 }
1286 } else {
1287 if (GetArena() != nullptr) {
1288 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1289 }
1290 }
1291 return released;
1292}
1293inline ::operations_research::routing::NetworkTopology* PROTOBUF_NULLABLE CapacityPlanningInstance::unsafe_arena_release_topology() {
1294 ::google::protobuf::internal::TSanWrite(&_impl_);
1295 // @@protoc_insertion_point(field_release:operations_research.routing.CapacityPlanningInstance.topology)
1296
1297 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1298 ::operations_research::routing::NetworkTopology* temp = _impl_.topology_;
1299 _impl_.topology_ = nullptr;
1300 return temp;
1301}
1302inline ::operations_research::routing::NetworkTopology* PROTOBUF_NONNULL CapacityPlanningInstance::_internal_mutable_topology() {
1303 ::google::protobuf::internal::TSanWrite(&_impl_);
1304 if (_impl_.topology_ == nullptr) {
1305 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::routing::NetworkTopology>(GetArena());
1306 _impl_.topology_ = reinterpret_cast<::operations_research::routing::NetworkTopology*>(p);
1307 }
1308 return _impl_.topology_;
1309}
1310inline ::operations_research::routing::NetworkTopology* PROTOBUF_NONNULL CapacityPlanningInstance::mutable_topology()
1311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1312 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1313 ::operations_research::routing::NetworkTopology* _msg = _internal_mutable_topology();
1314 // @@protoc_insertion_point(field_mutable:operations_research.routing.CapacityPlanningInstance.topology)
1315 return _msg;
1316}
1318 ::google::protobuf::Arena* message_arena = GetArena();
1319 ::google::protobuf::internal::TSanWrite(&_impl_);
1320 if (message_arena == nullptr) {
1321 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.topology_);
1322 }
1323
1324 if (value != nullptr) {
1325 ::google::protobuf::Arena* submessage_arena = value->GetArena();
1326 if (message_arena != submessage_arena) {
1327 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1328 }
1329 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1330 } else {
1331 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1332 }
1333
1334 _impl_.topology_ = reinterpret_cast<::operations_research::routing::NetworkTopology*>(value);
1335 // @@protoc_insertion_point(field_set_allocated:operations_research.routing.CapacityPlanningInstance.topology)
1336}
1337
1338// .operations_research.routing.Commodities commodities = 2;
1340 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
1341 PROTOBUF_ASSUME(!value || _impl_.commodities_ != nullptr);
1342 return value;
1343}
1345 ::google::protobuf::internal::TSanWrite(&_impl_);
1346 if (_impl_.commodities_ != nullptr) _impl_.commodities_->Clear();
1347 ClearHasBit(_impl_._has_bits_[0],
1348 0x00000002U);
1349}
1350inline const ::operations_research::routing::Commodities& CapacityPlanningInstance::_internal_commodities() const {
1351 ::google::protobuf::internal::TSanRead(&_impl_);
1352 const ::operations_research::routing::Commodities* p = _impl_.commodities_;
1354}
1355inline const ::operations_research::routing::Commodities& CapacityPlanningInstance::commodities() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1356 // @@protoc_insertion_point(field_get:operations_research.routing.CapacityPlanningInstance.commodities)
1357 return _internal_commodities();
1358}
1360 ::operations_research::routing::Commodities* PROTOBUF_NULLABLE value) {
1361 ::google::protobuf::internal::TSanWrite(&_impl_);
1362 if (GetArena() == nullptr) {
1363 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.commodities_);
1365 _impl_.commodities_ = reinterpret_cast<::operations_research::routing::Commodities*>(value);
1366 if (value != nullptr) {
1367 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1368 } else {
1369 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1370 }
1371 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.routing.CapacityPlanningInstance.commodities)
1372}
1373inline ::operations_research::routing::Commodities* PROTOBUF_NULLABLE CapacityPlanningInstance::release_commodities() {
1374 ::google::protobuf::internal::TSanWrite(&_impl_);
1375
1376 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1377 ::operations_research::routing::Commodities* released = _impl_.commodities_;
1378 _impl_.commodities_ = nullptr;
1379 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1380 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1381 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1382 if (GetArena() == nullptr) {
1383 delete old;
1384 }
1385 } else {
1386 if (GetArena() != nullptr) {
1387 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1388 }
1389 }
1390 return released;
1391}
1392inline ::operations_research::routing::Commodities* PROTOBUF_NULLABLE CapacityPlanningInstance::unsafe_arena_release_commodities() {
1393 ::google::protobuf::internal::TSanWrite(&_impl_);
1394 // @@protoc_insertion_point(field_release:operations_research.routing.CapacityPlanningInstance.commodities)
1395
1396 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1397 ::operations_research::routing::Commodities* temp = _impl_.commodities_;
1398 _impl_.commodities_ = nullptr;
1399 return temp;
1400}
1401inline ::operations_research::routing::Commodities* PROTOBUF_NONNULL CapacityPlanningInstance::_internal_mutable_commodities() {
1402 ::google::protobuf::internal::TSanWrite(&_impl_);
1403 if (_impl_.commodities_ == nullptr) {
1404 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::routing::Commodities>(GetArena());
1405 _impl_.commodities_ = reinterpret_cast<::operations_research::routing::Commodities*>(p);
1406 }
1407 return _impl_.commodities_;
1408}
1409inline ::operations_research::routing::Commodities* PROTOBUF_NONNULL CapacityPlanningInstance::mutable_commodities()
1410 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1411 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1412 ::operations_research::routing::Commodities* _msg = _internal_mutable_commodities();
1413 // @@protoc_insertion_point(field_mutable:operations_research.routing.CapacityPlanningInstance.commodities)
1414 return _msg;
1415}
1417 ::google::protobuf::Arena* message_arena = GetArena();
1418 ::google::protobuf::internal::TSanWrite(&_impl_);
1419 if (message_arena == nullptr) {
1420 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.commodities_);
1421 }
1422
1423 if (value != nullptr) {
1424 ::google::protobuf::Arena* submessage_arena = value->GetArena();
1425 if (message_arena != submessage_arena) {
1426 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1427 }
1428 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1429 } else {
1430 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1431 }
1432
1433 _impl_.commodities_ = reinterpret_cast<::operations_research::routing::Commodities*>(value);
1434 // @@protoc_insertion_point(field_set_allocated:operations_research.routing.CapacityPlanningInstance.commodities)
1435}
1436
1437#ifdef __GNUC__
1438#pragma GCC diagnostic pop
1439#endif // __GNUC__
1440
1441// @@protoc_insertion_point(namespace_scope)
1442} // namespace routing
1443} // namespace operations_research
1444
1445
1446// @@protoc_insertion_point(global_scope)
1447
1448#include "google/protobuf/port_undef.inc"
1449
1450#endif // ortools_2frouting_2fparsers_2fcapacity_5fplanning_2eproto_2epb_2eh
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2frouting_2fparsers_2fcapacity_5fplanning_2eproto
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
::operations_research::routing::Commodities *PROTOBUF_NULLABLE release_commodities()
const ::operations_research::routing::Commodities & commodities() const
::operations_research::routing::Commodities *PROTOBUF_NONNULL mutable_commodities()
friend void swap(CapacityPlanningInstance &a, CapacityPlanningInstance &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::operations_research::routing::NetworkTopology *PROTOBUF_NULLABLE unsafe_arena_release_topology()
void MergeFrom(const CapacityPlanningInstance &from)
void set_allocated_commodities(::operations_research::routing::Commodities *PROTOBUF_NULLABLE value)
CapacityPlanningInstance & operator=(const CapacityPlanningInstance &from)
::operations_research::routing::NetworkTopology *PROTOBUF_NONNULL mutable_topology()
void unsafe_arena_set_allocated_commodities(::operations_research::routing::Commodities *PROTOBUF_NULLABLE value)
::operations_research::routing::Commodities *PROTOBUF_NULLABLE unsafe_arena_release_commodities()
static const CapacityPlanningInstance & default_instance()
PROTOBUF_CONSTEXPR CapacityPlanningInstance(::google::protobuf::internal::ConstantInitialized)
::operations_research::routing::NetworkTopology *PROTOBUF_NULLABLE release_topology()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap(CapacityPlanningInstance *PROTOBUF_NONNULL other)
void set_allocated_topology(::operations_research::routing::NetworkTopology *PROTOBUF_NULLABLE value)
const ::operations_research::routing::NetworkTopology & topology() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void unsafe_arena_set_allocated_topology(::operations_research::routing::NetworkTopology *PROTOBUF_NULLABLE value)
void CopyFrom(const CapacityPlanningInstance &from)
friend class ::google::protobuf::MessageLite
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_from_node()
void Swap(Commodities *PROTOBUF_NONNULL other)
Commodities & operator=(const Commodities &from)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_to_node()
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_demand()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedField< double > & demand() const
void set_from_node(int index, ::int32_t value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::RepeatedField<::int32_t > & from_node() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void set_to_node(int index, ::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & to_node() const
PROTOBUF_CONSTEXPR Commodities(::google::protobuf::internal::ConstantInitialized)
void Swap(NetworkTopology *PROTOBUF_NONNULL other)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_to_node()
NetworkTopology & operator=(const NetworkTopology &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_capacity()
PROTOBUF_CONSTEXPR NetworkTopology(::google::protobuf::internal::ConstantInitialized)
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_fixed_cost()
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_variable_cost()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_from_node()
const ::google::protobuf::RepeatedField<::int32_t > & from_node() const
const ::google::protobuf::RepeatedField< double > & variable_cost() const
const ::google::protobuf::RepeatedField< double > & capacity() const
const ::google::protobuf::RepeatedField< double > & fixed_cost() const
const ::google::protobuf::RepeatedField<::int32_t > & to_node() const
::absl::string_view GetAnyMessageName()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CapacityPlanningInstance_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CommoditiesDefaultTypeInternal _Commodities_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull NetworkTopology_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Commodities_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetworkTopologyDefaultTypeInternal _NetworkTopology_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CapacityPlanningInstanceDefaultTypeInternal _CapacityPlanningInstance_default_instance_
OR-Tools root namespace.