C++ Reference

C++ Reference: Graph

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