OR-Tools  9.1
flow_problem.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/graph/flow_problem.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fgraph_2fflow_5fproblem_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_ortools_2fgraph_2fflow_5fproblem_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3018000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3018000 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/metadata_lite.h>
29#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/message.h>
31#include <google/protobuf/repeated_field.h> // IWYU pragma: export
32#include <google/protobuf/extension_set.h> // IWYU pragma: export
33#include <google/protobuf/generated_enum_reflection.h>
34#include <google/protobuf/unknown_field_set.h>
35// @@protoc_insertion_point(includes)
36#include <google/protobuf/port_def.inc>
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fgraph_2fflow_5fproblem_2eproto
38PROTOBUF_NAMESPACE_OPEN
39namespace internal {
40class AnyMetadata;
41} // namespace internal
42PROTOBUF_NAMESPACE_CLOSE
43
44// Internal implementation detail -- do not use these members.
46 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
48 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
52 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
54 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
55};
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fgraph_2fflow_5fproblem_2eproto;
57namespace operations_research {
58class Arc;
59struct ArcDefaultTypeInternal;
60extern ArcDefaultTypeInternal _Arc_default_instance_;
61class FlowModel;
62struct FlowModelDefaultTypeInternal;
63extern FlowModelDefaultTypeInternal _FlowModel_default_instance_;
64class Node;
65struct NodeDefaultTypeInternal;
66extern NodeDefaultTypeInternal _Node_default_instance_;
67} // namespace operations_research
68PROTOBUF_NAMESPACE_OPEN
69template<> ::operations_research::Arc* Arena::CreateMaybeMessage<::operations_research::Arc>(Arena*);
70template<> ::operations_research::FlowModel* Arena::CreateMaybeMessage<::operations_research::FlowModel>(Arena*);
71template<> ::operations_research::Node* Arena::CreateMaybeMessage<::operations_research::Node>(Arena*);
72PROTOBUF_NAMESPACE_CLOSE
73namespace operations_research {
74
79};
84
85const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FlowModel_ProblemType_descriptor();
86template<typename T>
87inline const std::string& FlowModel_ProblemType_Name(T enum_t_value) {
90 "Incorrect type passed to function FlowModel_ProblemType_Name.");
91 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
92 FlowModel_ProblemType_descriptor(), enum_t_value);
93}
95 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FlowModel_ProblemType* value) {
96 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FlowModel_ProblemType>(
98}
99// ===================================================================
100
101class Arc final :
102 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.Arc) */ {
103 public:
104 inline Arc() : Arc(nullptr) {}
105 ~Arc() override;
106 explicit constexpr Arc(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
107
108 Arc(const Arc& from);
109 Arc(Arc&& from) noexcept
110 : Arc() {
111 *this = ::std::move(from);
112 }
113
114 inline Arc& operator=(const Arc& from) {
115 CopyFrom(from);
116 return *this;
117 }
118 inline Arc& operator=(Arc&& from) noexcept {
119 if (this == &from) return *this;
120 if (GetOwningArena() == from.GetOwningArena()
121 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
122 && GetOwningArena() != nullptr
123 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
124 ) {
125 InternalSwap(&from);
126 } else {
127 CopyFrom(from);
128 }
129 return *this;
130 }
131
132 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
133 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
134 }
135 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
136 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
137 }
138
139 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
140 return GetDescriptor();
141 }
142 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
143 return default_instance().GetMetadata().descriptor;
144 }
145 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
146 return default_instance().GetMetadata().reflection;
147 }
148 static const Arc& default_instance() {
150 }
151 static inline const Arc* internal_default_instance() {
152 return reinterpret_cast<const Arc*>(
154 }
155 static constexpr int kIndexInFileMessages =
156 0;
157
158 friend void swap(Arc& a, Arc& b) {
159 a.Swap(&b);
160 }
161 inline void Swap(Arc* other) {
162 if (other == this) return;
163 if (GetOwningArena() == other->GetOwningArena()) {
164 InternalSwap(other);
165 } else {
166 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
167 }
168 }
169 void UnsafeArenaSwap(Arc* other) {
170 if (other == this) return;
171 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
172 InternalSwap(other);
173 }
174
175 // implements Message ----------------------------------------------
176
177 inline Arc* New() const final {
178 return new Arc();
179 }
180
181 Arc* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
182 return CreateMaybeMessage<Arc>(arena);
183 }
184 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
185 void CopyFrom(const Arc& from);
186 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
187 void MergeFrom(const Arc& from);
188 private:
189 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
190 public:
191 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
192 bool IsInitialized() const final;
193
194 size_t ByteSizeLong() const final;
195 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
196 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
197 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
198 int GetCachedSize() const final { return _cached_size_.Get(); }
199
200 private:
201 void SharedCtor();
202 void SharedDtor();
203 void SetCachedSize(int size) const final;
204 void InternalSwap(Arc* other);
205 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
206 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
207 return "operations_research.Arc";
208 }
209 protected:
210 explicit Arc(::PROTOBUF_NAMESPACE_ID::Arena* arena,
211 bool is_message_owned = false);
212 private:
213 static void ArenaDtor(void* object);
214 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
215 public:
216
217 static const ClassData _class_data_;
218 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
219
220 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
221
222 // nested types ----------------------------------------------------
223
224 // accessors -------------------------------------------------------
225
226 enum : int {
231 };
232 // optional int64 tail_node_id = 1;
233 bool has_tail_node_id() const;
234 private:
235 bool _internal_has_tail_node_id() const;
236 public:
237 void clear_tail_node_id();
238 ::PROTOBUF_NAMESPACE_ID::int64 tail_node_id() const;
239 void set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64 value);
240 private:
241 ::PROTOBUF_NAMESPACE_ID::int64 _internal_tail_node_id() const;
242 void _internal_set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64 value);
243 public:
244
245 // optional int64 head_node_id = 2;
246 bool has_head_node_id() const;
247 private:
248 bool _internal_has_head_node_id() const;
249 public:
250 void clear_head_node_id();
251 ::PROTOBUF_NAMESPACE_ID::int64 head_node_id() const;
252 void set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64 value);
253 private:
254 ::PROTOBUF_NAMESPACE_ID::int64 _internal_head_node_id() const;
255 void _internal_set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64 value);
256 public:
257
258 // optional int64 unit_cost = 4 [default = 0];
259 bool has_unit_cost() const;
260 private:
261 bool _internal_has_unit_cost() const;
262 public:
263 void clear_unit_cost();
264 ::PROTOBUF_NAMESPACE_ID::int64 unit_cost() const;
265 void set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64 value);
266 private:
267 ::PROTOBUF_NAMESPACE_ID::int64 _internal_unit_cost() const;
268 void _internal_set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64 value);
269 public:
270
271 // optional int64 capacity = 3 [default = 1];
272 bool has_capacity() const;
273 private:
274 bool _internal_has_capacity() const;
275 public:
276 void clear_capacity();
277 ::PROTOBUF_NAMESPACE_ID::int64 capacity() const;
278 void set_capacity(::PROTOBUF_NAMESPACE_ID::int64 value);
279 private:
280 ::PROTOBUF_NAMESPACE_ID::int64 _internal_capacity() const;
281 void _internal_set_capacity(::PROTOBUF_NAMESPACE_ID::int64 value);
282 public:
283
284 // @@protoc_insertion_point(class_scope:operations_research.Arc)
285 private:
286 class _Internal;
287
288 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
289 typedef void InternalArenaConstructable_;
290 typedef void DestructorSkippable_;
291 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
292 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
293 ::PROTOBUF_NAMESPACE_ID::int64 tail_node_id_;
294 ::PROTOBUF_NAMESPACE_ID::int64 head_node_id_;
295 ::PROTOBUF_NAMESPACE_ID::int64 unit_cost_;
296 ::PROTOBUF_NAMESPACE_ID::int64 capacity_;
297 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
298};
299// -------------------------------------------------------------------
300
301class Node final :
302 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.Node) */ {
303 public:
304 inline Node() : Node(nullptr) {}
305 ~Node() override;
306 explicit constexpr Node(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
307
308 Node(const Node& from);
309 Node(Node&& from) noexcept
310 : Node() {
311 *this = ::std::move(from);
312 }
313
314 inline Node& operator=(const Node& from) {
315 CopyFrom(from);
316 return *this;
317 }
318 inline Node& operator=(Node&& from) noexcept {
319 if (this == &from) return *this;
320 if (GetOwningArena() == from.GetOwningArena()
321 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
322 && GetOwningArena() != nullptr
323 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
324 ) {
325 InternalSwap(&from);
326 } else {
327 CopyFrom(from);
328 }
329 return *this;
330 }
331
332 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
333 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
334 }
335 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
336 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
337 }
338
339 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
340 return GetDescriptor();
341 }
342 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
343 return default_instance().GetMetadata().descriptor;
344 }
345 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
346 return default_instance().GetMetadata().reflection;
347 }
348 static const Node& default_instance() {
350 }
351 static inline const Node* internal_default_instance() {
352 return reinterpret_cast<const Node*>(
354 }
355 static constexpr int kIndexInFileMessages =
356 1;
357
358 friend void swap(Node& a, Node& b) {
359 a.Swap(&b);
360 }
361 inline void Swap(Node* other) {
362 if (other == this) return;
363 if (GetOwningArena() == other->GetOwningArena()) {
364 InternalSwap(other);
365 } else {
366 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
367 }
368 }
369 void UnsafeArenaSwap(Node* other) {
370 if (other == this) return;
371 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
372 InternalSwap(other);
373 }
374
375 // implements Message ----------------------------------------------
376
377 inline Node* New() const final {
378 return new Node();
379 }
380
381 Node* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
382 return CreateMaybeMessage<Node>(arena);
383 }
384 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
385 void CopyFrom(const Node& from);
386 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
387 void MergeFrom(const Node& from);
388 private:
389 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
390 public:
391 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
392 bool IsInitialized() const final;
393
394 size_t ByteSizeLong() const final;
395 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
396 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
397 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
398 int GetCachedSize() const final { return _cached_size_.Get(); }
399
400 private:
401 void SharedCtor();
402 void SharedDtor();
403 void SetCachedSize(int size) const final;
404 void InternalSwap(Node* other);
405 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
406 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
407 return "operations_research.Node";
408 }
409 protected:
410 explicit Node(::PROTOBUF_NAMESPACE_ID::Arena* arena,
411 bool is_message_owned = false);
412 private:
413 static void ArenaDtor(void* object);
414 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
415 public:
416
417 static const ClassData _class_data_;
418 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
419
420 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
421
422 // nested types ----------------------------------------------------
423
424 // accessors -------------------------------------------------------
425
426 enum : int {
429 };
430 // optional int64 id = 1;
431 bool has_id() const;
432 private:
433 bool _internal_has_id() const;
434 public:
435 void clear_id();
436 ::PROTOBUF_NAMESPACE_ID::int64 id() const;
437 void set_id(::PROTOBUF_NAMESPACE_ID::int64 value);
438 private:
439 ::PROTOBUF_NAMESPACE_ID::int64 _internal_id() const;
440 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int64 value);
441 public:
442
443 // optional int64 supply = 2 [default = 0];
444 bool has_supply() const;
445 private:
446 bool _internal_has_supply() const;
447 public:
448 void clear_supply();
449 ::PROTOBUF_NAMESPACE_ID::int64 supply() const;
450 void set_supply(::PROTOBUF_NAMESPACE_ID::int64 value);
451 private:
452 ::PROTOBUF_NAMESPACE_ID::int64 _internal_supply() const;
453 void _internal_set_supply(::PROTOBUF_NAMESPACE_ID::int64 value);
454 public:
455
456 // @@protoc_insertion_point(class_scope:operations_research.Node)
457 private:
458 class _Internal;
459
460 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
461 typedef void InternalArenaConstructable_;
462 typedef void DestructorSkippable_;
463 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
464 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
465 ::PROTOBUF_NAMESPACE_ID::int64 id_;
466 ::PROTOBUF_NAMESPACE_ID::int64 supply_;
467 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
468};
469// -------------------------------------------------------------------
470
471class FlowModel final :
472 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.FlowModel) */ {
473 public:
474 inline FlowModel() : FlowModel(nullptr) {}
475 ~FlowModel() override;
476 explicit constexpr FlowModel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
477
478 FlowModel(const FlowModel& from);
479 FlowModel(FlowModel&& from) noexcept
480 : FlowModel() {
481 *this = ::std::move(from);
482 }
483
484 inline FlowModel& operator=(const FlowModel& from) {
485 CopyFrom(from);
486 return *this;
487 }
488 inline FlowModel& operator=(FlowModel&& from) noexcept {
489 if (this == &from) return *this;
490 if (GetOwningArena() == from.GetOwningArena()
491 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
492 && GetOwningArena() != nullptr
493 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
494 ) {
495 InternalSwap(&from);
496 } else {
497 CopyFrom(from);
498 }
499 return *this;
500 }
501
502 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
503 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
504 }
505 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
506 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
507 }
508
509 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
510 return GetDescriptor();
511 }
512 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
513 return default_instance().GetMetadata().descriptor;
514 }
515 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
516 return default_instance().GetMetadata().reflection;
517 }
518 static const FlowModel& default_instance() {
520 }
521 static inline const FlowModel* internal_default_instance() {
522 return reinterpret_cast<const FlowModel*>(
524 }
525 static constexpr int kIndexInFileMessages =
526 2;
527
528 friend void swap(FlowModel& a, FlowModel& b) {
529 a.Swap(&b);
530 }
531 inline void Swap(FlowModel* other) {
532 if (other == this) return;
533 if (GetOwningArena() == other->GetOwningArena()) {
534 InternalSwap(other);
535 } else {
536 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
537 }
538 }
540 if (other == this) return;
541 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
542 InternalSwap(other);
543 }
544
545 // implements Message ----------------------------------------------
546
547 inline FlowModel* New() const final {
548 return new FlowModel();
549 }
550
551 FlowModel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
552 return CreateMaybeMessage<FlowModel>(arena);
553 }
554 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
555 void CopyFrom(const FlowModel& from);
556 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
557 void MergeFrom(const FlowModel& from);
558 private:
559 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
560 public:
561 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
562 bool IsInitialized() const final;
563
564 size_t ByteSizeLong() const final;
565 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
566 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
567 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
568 int GetCachedSize() const final { return _cached_size_.Get(); }
569
570 private:
571 void SharedCtor();
572 void SharedDtor();
573 void SetCachedSize(int size) const final;
574 void InternalSwap(FlowModel* other);
575 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
576 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
577 return "operations_research.FlowModel";
578 }
579 protected:
580 explicit FlowModel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
581 bool is_message_owned = false);
582 private:
583 static void ArenaDtor(void* object);
584 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
585 public:
586
587 static const ClassData _class_data_;
588 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
589
590 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
591
592 // nested types ----------------------------------------------------
593
597 static constexpr ProblemType MAX_FLOW =
599 static constexpr ProblemType MIN_COST_FLOW =
601 static inline bool ProblemType_IsValid(int value) {
603 }
604 static constexpr ProblemType ProblemType_MIN =
606 static constexpr ProblemType ProblemType_MAX =
608 static constexpr int ProblemType_ARRAYSIZE =
610 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
613 }
614 template<typename T>
615 static inline const std::string& ProblemType_Name(T enum_t_value) {
618 "Incorrect type passed to function ProblemType_Name.");
619 return FlowModel_ProblemType_Name(enum_t_value);
620 }
621 static inline bool ProblemType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
624 }
625
626 // accessors -------------------------------------------------------
627
628 enum : int {
632 };
633 // repeated .operations_research.Node node = 1;
634 int node_size() const;
635 private:
636 int _internal_node_size() const;
637 public:
638 void clear_node();
640 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >*
641 mutable_node();
642 private:
643 const ::operations_research::Node& _internal_node(int index) const;
644 ::operations_research::Node* _internal_add_node();
645 public:
646 const ::operations_research::Node& node(int index) const;
648 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >&
649 node() const;
650
651 // repeated .operations_research.Arc arc = 2;
652 int arc_size() const;
653 private:
654 int _internal_arc_size() const;
655 public:
656 void clear_arc();
658 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >*
659 mutable_arc();
660 private:
661 const ::operations_research::Arc& _internal_arc(int index) const;
662 ::operations_research::Arc* _internal_add_arc();
663 public:
666 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >&
667 arc() const;
668
669 // optional .operations_research.FlowModel.ProblemType problem_type = 3 [default = MIN_COST_FLOW];
670 bool has_problem_type() const;
671 private:
672 bool _internal_has_problem_type() const;
673 public:
674 void clear_problem_type();
677 private:
678 ::operations_research::FlowModel_ProblemType _internal_problem_type() const;
679 void _internal_set_problem_type(::operations_research::FlowModel_ProblemType value);
680 public:
681
682 // @@protoc_insertion_point(class_scope:operations_research.FlowModel)
683 private:
684 class _Internal;
685
686 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
687 typedef void InternalArenaConstructable_;
688 typedef void DestructorSkippable_;
689 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
690 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
691 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > node_;
692 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc > arc_;
693 int problem_type_;
694 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
695};
696// ===================================================================
697
698
699// ===================================================================
700
701#ifdef __GNUC__
702 #pragma GCC diagnostic push
703 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
704#endif // __GNUC__
705// Arc
706
707// optional int64 tail_node_id = 1;
708inline bool Arc::_internal_has_tail_node_id() const {
709 bool value = (_has_bits_[0] & 0x00000001u) != 0;
710 return value;
711}
712inline bool Arc::has_tail_node_id() const {
713 return _internal_has_tail_node_id();
714}
716 tail_node_id_ = int64_t{0};
717 _has_bits_[0] &= ~0x00000001u;
718}
719inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_tail_node_id() const {
720 return tail_node_id_;
721}
722inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::tail_node_id() const {
723 // @@protoc_insertion_point(field_get:operations_research.Arc.tail_node_id)
724 return _internal_tail_node_id();
725}
726inline void Arc::_internal_set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
727 _has_bits_[0] |= 0x00000001u;
728 tail_node_id_ = value;
729}
730inline void Arc::set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
731 _internal_set_tail_node_id(value);
732 // @@protoc_insertion_point(field_set:operations_research.Arc.tail_node_id)
733}
734
735// optional int64 head_node_id = 2;
736inline bool Arc::_internal_has_head_node_id() const {
737 bool value = (_has_bits_[0] & 0x00000002u) != 0;
738 return value;
739}
740inline bool Arc::has_head_node_id() const {
741 return _internal_has_head_node_id();
742}
744 head_node_id_ = int64_t{0};
745 _has_bits_[0] &= ~0x00000002u;
746}
747inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_head_node_id() const {
748 return head_node_id_;
749}
750inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::head_node_id() const {
751 // @@protoc_insertion_point(field_get:operations_research.Arc.head_node_id)
752 return _internal_head_node_id();
753}
754inline void Arc::_internal_set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
755 _has_bits_[0] |= 0x00000002u;
756 head_node_id_ = value;
757}
758inline void Arc::set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
759 _internal_set_head_node_id(value);
760 // @@protoc_insertion_point(field_set:operations_research.Arc.head_node_id)
761}
762
763// optional int64 capacity = 3 [default = 1];
764inline bool Arc::_internal_has_capacity() const {
765 bool value = (_has_bits_[0] & 0x00000008u) != 0;
766 return value;
767}
768inline bool Arc::has_capacity() const {
769 return _internal_has_capacity();
770}
771inline void Arc::clear_capacity() {
772 capacity_ = int64_t{1};
773 _has_bits_[0] &= ~0x00000008u;
774}
775inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_capacity() const {
776 return capacity_;
777}
778inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::capacity() const {
779 // @@protoc_insertion_point(field_get:operations_research.Arc.capacity)
780 return _internal_capacity();
781}
782inline void Arc::_internal_set_capacity(::PROTOBUF_NAMESPACE_ID::int64 value) {
783 _has_bits_[0] |= 0x00000008u;
784 capacity_ = value;
785}
786inline void Arc::set_capacity(::PROTOBUF_NAMESPACE_ID::int64 value) {
787 _internal_set_capacity(value);
788 // @@protoc_insertion_point(field_set:operations_research.Arc.capacity)
789}
790
791// optional int64 unit_cost = 4 [default = 0];
792inline bool Arc::_internal_has_unit_cost() const {
793 bool value = (_has_bits_[0] & 0x00000004u) != 0;
794 return value;
795}
796inline bool Arc::has_unit_cost() const {
797 return _internal_has_unit_cost();
798}
799inline void Arc::clear_unit_cost() {
800 unit_cost_ = int64_t{0};
801 _has_bits_[0] &= ~0x00000004u;
802}
803inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_unit_cost() const {
804 return unit_cost_;
805}
806inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::unit_cost() const {
807 // @@protoc_insertion_point(field_get:operations_research.Arc.unit_cost)
808 return _internal_unit_cost();
809}
810inline void Arc::_internal_set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64 value) {
811 _has_bits_[0] |= 0x00000004u;
812 unit_cost_ = value;
813}
814inline void Arc::set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64 value) {
815 _internal_set_unit_cost(value);
816 // @@protoc_insertion_point(field_set:operations_research.Arc.unit_cost)
817}
818
819// -------------------------------------------------------------------
820
821// Node
822
823// optional int64 id = 1;
824inline bool Node::_internal_has_id() const {
825 bool value = (_has_bits_[0] & 0x00000001u) != 0;
826 return value;
827}
828inline bool Node::has_id() const {
829 return _internal_has_id();
830}
831inline void Node::clear_id() {
832 id_ = int64_t{0};
833 _has_bits_[0] &= ~0x00000001u;
834}
835inline ::PROTOBUF_NAMESPACE_ID::int64 Node::_internal_id() const {
836 return id_;
837}
838inline ::PROTOBUF_NAMESPACE_ID::int64 Node::id() const {
839 // @@protoc_insertion_point(field_get:operations_research.Node.id)
840 return _internal_id();
841}
842inline void Node::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
843 _has_bits_[0] |= 0x00000001u;
844 id_ = value;
845}
846inline void Node::set_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
847 _internal_set_id(value);
848 // @@protoc_insertion_point(field_set:operations_research.Node.id)
849}
850
851// optional int64 supply = 2 [default = 0];
852inline bool Node::_internal_has_supply() const {
853 bool value = (_has_bits_[0] & 0x00000002u) != 0;
854 return value;
855}
856inline bool Node::has_supply() const {
857 return _internal_has_supply();
858}
859inline void Node::clear_supply() {
860 supply_ = int64_t{0};
861 _has_bits_[0] &= ~0x00000002u;
862}
863inline ::PROTOBUF_NAMESPACE_ID::int64 Node::_internal_supply() const {
864 return supply_;
865}
866inline ::PROTOBUF_NAMESPACE_ID::int64 Node::supply() const {
867 // @@protoc_insertion_point(field_get:operations_research.Node.supply)
868 return _internal_supply();
869}
870inline void Node::_internal_set_supply(::PROTOBUF_NAMESPACE_ID::int64 value) {
871 _has_bits_[0] |= 0x00000002u;
872 supply_ = value;
873}
874inline void Node::set_supply(::PROTOBUF_NAMESPACE_ID::int64 value) {
875 _internal_set_supply(value);
876 // @@protoc_insertion_point(field_set:operations_research.Node.supply)
877}
878
879// -------------------------------------------------------------------
880
881// FlowModel
882
883// repeated .operations_research.Node node = 1;
884inline int FlowModel::_internal_node_size() const {
885 return node_.size();
886}
887inline int FlowModel::node_size() const {
888 return _internal_node_size();
889}
891 node_.Clear();
892}
893inline ::operations_research::Node* FlowModel::mutable_node(int index) {
894 // @@protoc_insertion_point(field_mutable:operations_research.FlowModel.node)
895 return node_.Mutable(index);
896}
897inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >*
899 // @@protoc_insertion_point(field_mutable_list:operations_research.FlowModel.node)
900 return &node_;
901}
902inline const ::operations_research::Node& FlowModel::_internal_node(int index) const {
903 return node_.Get(index);
904}
905inline const ::operations_research::Node& FlowModel::node(int index) const {
906 // @@protoc_insertion_point(field_get:operations_research.FlowModel.node)
907 return _internal_node(index);
908}
909inline ::operations_research::Node* FlowModel::_internal_add_node() {
910 return node_.Add();
911}
912inline ::operations_research::Node* FlowModel::add_node() {
913 ::operations_research::Node* _add = _internal_add_node();
914 // @@protoc_insertion_point(field_add:operations_research.FlowModel.node)
915 return _add;
916}
917inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >&
919 // @@protoc_insertion_point(field_list:operations_research.FlowModel.node)
920 return node_;
921}
922
923// repeated .operations_research.Arc arc = 2;
924inline int FlowModel::_internal_arc_size() const {
925 return arc_.size();
926}
927inline int FlowModel::arc_size() const {
928 return _internal_arc_size();
929}
930inline void FlowModel::clear_arc() {
931 arc_.Clear();
932}
934 // @@protoc_insertion_point(field_mutable:operations_research.FlowModel.arc)
935 return arc_.Mutable(index);
936}
937inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >*
939 // @@protoc_insertion_point(field_mutable_list:operations_research.FlowModel.arc)
940 return &arc_;
941}
942inline const ::operations_research::Arc& FlowModel::_internal_arc(int index) const {
943 return arc_.Get(index);
944}
946 // @@protoc_insertion_point(field_get:operations_research.FlowModel.arc)
947 return _internal_arc(index);
948}
949inline ::operations_research::Arc* FlowModel::_internal_add_arc() {
950 return arc_.Add();
951}
953 ::operations_research::Arc* _add = _internal_add_arc();
954 // @@protoc_insertion_point(field_add:operations_research.FlowModel.arc)
955 return _add;
956}
957inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >&
959 // @@protoc_insertion_point(field_list:operations_research.FlowModel.arc)
960 return arc_;
961}
962
963// optional .operations_research.FlowModel.ProblemType problem_type = 3 [default = MIN_COST_FLOW];
964inline bool FlowModel::_internal_has_problem_type() const {
965 bool value = (_has_bits_[0] & 0x00000001u) != 0;
966 return value;
967}
968inline bool FlowModel::has_problem_type() const {
969 return _internal_has_problem_type();
970}
972 problem_type_ = 2;
973 _has_bits_[0] &= ~0x00000001u;
974}
975inline ::operations_research::FlowModel_ProblemType FlowModel::_internal_problem_type() const {
976 return static_cast< ::operations_research::FlowModel_ProblemType >(problem_type_);
977}
979 // @@protoc_insertion_point(field_get:operations_research.FlowModel.problem_type)
980 return _internal_problem_type();
981}
982inline void FlowModel::_internal_set_problem_type(::operations_research::FlowModel_ProblemType value) {
984 _has_bits_[0] |= 0x00000001u;
985 problem_type_ = value;
986}
988 _internal_set_problem_type(value);
989 // @@protoc_insertion_point(field_set:operations_research.FlowModel.problem_type)
990}
991
992#ifdef __GNUC__
993 #pragma GCC diagnostic pop
994#endif // __GNUC__
995// -------------------------------------------------------------------
996
997// -------------------------------------------------------------------
998
999
1000// @@protoc_insertion_point(namespace_scope)
1001
1002} // namespace operations_research
1003
1004PROTOBUF_NAMESPACE_OPEN
1005
1006template <> struct is_proto_enum< ::operations_research::FlowModel_ProblemType> : ::std::true_type {};
1007template <>
1008inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::FlowModel_ProblemType>() {
1010}
1011
1012PROTOBUF_NAMESPACE_CLOSE
1013
1014// @@protoc_insertion_point(global_scope)
1015
1016#include <google/protobuf/port_undef.inc>
1017#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fgraph_2fflow_5fproblem_2eproto
friend void swap(Arc &a, Arc &b)
void set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64 value)
void set_capacity(::PROTOBUF_NAMESPACE_ID::int64 value)
static const Arc & default_instance()
static const Arc * internal_default_instance()
void MergeFrom(const Arc &from)
int GetCachedSize() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Arc * New() const final
static const ClassData _class_data_
void CopyFrom(const Arc &from)
Arc * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::int64 capacity() const
bool IsInitialized() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static constexpr int kIndexInFileMessages
void UnsafeArenaSwap(Arc *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Arc(Arc &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Arc & operator=(const Arc &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Arc & operator=(Arc &&from) noexcept
::PROTOBUF_NAMESPACE_ID::int64 head_node_id() const
void set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64 value)
::PROTOBUF_NAMESPACE_ID::int64 unit_cost() const
void set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64 value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::PROTOBUF_NAMESPACE_ID::int64 tail_node_id() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
size_t ByteSizeLong() const final
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static constexpr ProblemType ProblemType_MAX
friend void swap(FlowModel &a, FlowModel &b)
FlowModel * New() const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > * mutable_node()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc > * mutable_arc()
static const ClassData _class_data_
void Swap(FlowModel *other)
static const std::string & ProblemType_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > & node() const
::operations_research::Node * add_node()
::operations_research::Arc * add_arc()
FlowModel & operator=(const FlowModel &from)
static constexpr int ProblemType_ARRAYSIZE
FlowModel(FlowModel &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static constexpr int kIndexInFileMessages
static constexpr ProblemType MIN_COST_FLOW
static bool ProblemType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProblemType *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_problem_type(::operations_research::FlowModel_ProblemType value)
void CopyFrom(const FlowModel &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static constexpr ProblemType MAX_FLOW
static const FlowModel * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ProblemType_descriptor()
FlowModel & operator=(FlowModel &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc > & arc() const
static const FlowModel & default_instance()
static constexpr ProblemType ProblemType_MIN
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static constexpr ProblemType LINEAR_SUM_ASSIGNMENT
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const FlowModel &from)
size_t ByteSizeLong() const final
static bool ProblemType_IsValid(int value)
FlowModel * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void UnsafeArenaSwap(FlowModel *other)
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::operations_research::FlowModel_ProblemType problem_type() const
Node(Node &&from) noexcept
Node * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
friend void swap(Node &a, Node &b)
void set_supply(::PROTOBUF_NAMESPACE_ID::int64 value)
int GetCachedSize() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Node * New() const final
Node & operator=(const Node &from)
static const ClassData _class_data_
void set_id(::PROTOBUF_NAMESPACE_ID::int64 value)
::PROTOBUF_NAMESPACE_ID::int64 id() const
bool IsInitialized() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static constexpr int kIndexInFileMessages
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(Node *other)
void CopyFrom(const Node &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const Node * internal_default_instance()
static const Node & default_instance()
void MergeFrom(const Node &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::PROTOBUF_NAMESPACE_ID::int64 supply() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Node & operator=(Node &&from) noexcept
size_t ByteSizeLong() const final
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int64_t b
int64_t a
const std::string name
int64_t value
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fgraph_2fflow_5fproblem_2eproto
Collection of objects used to extend the Constraint Solver library.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NodeDefaultTypeInternal _Node_default_instance_
@ FlowModel_ProblemType_LINEAR_SUM_ASSIGNMENT
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FlowModelDefaultTypeInternal _FlowModel_default_instance_
bool FlowModel_ProblemType_IsValid(int value)
std::pair< int64_t, int64_t > Arc
Definition: search.cc:3383
constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MIN
constexpr int FlowModel_ProblemType_ProblemType_ARRAYSIZE
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ArcDefaultTypeInternal _Arc_default_instance_
bool FlowModel_ProblemType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FlowModel_ProblemType *value)
constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MAX
const std::string & FlowModel_ProblemType_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FlowModel_ProblemType_descriptor()
int index
Definition: pack.cc:509
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)