4#ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fgraph_2fflow_5fproblem_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_ortools_2fgraph_2fflow_5fproblem_2eproto
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
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.
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>
32#include <google/protobuf/extension_set.h>
33#include <google/protobuf/generated_enum_reflection.h>
34#include <google/protobuf/unknown_field_set.h>
36#include <google/protobuf/port_def.inc>
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fgraph_2fflow_5fproblem_2eproto
38PROTOBUF_NAMESPACE_OPEN
42PROTOBUF_NAMESPACE_CLOSE
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[];
54 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
59struct ArcDefaultTypeInternal;
62struct FlowModelDefaultTypeInternal;
65struct NodeDefaultTypeInternal;
68PROTOBUF_NAMESPACE_OPEN
72PROTOBUF_NAMESPACE_CLOSE
90 "Incorrect type passed to function FlowModel_ProblemType_Name.");
91 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
96 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FlowModel_ProblemType>(
102 public ::PROTOBUF_NAMESPACE_ID::Message {
106 explicit constexpr Arc(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
111 *
this = ::std::move(from);
119 if (
this == &from)
return *
this;
120 if (GetOwningArena() == from.GetOwningArena()
121 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
122 && GetOwningArena() !=
nullptr
133 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
136 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
139 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
152 return reinterpret_cast<const Arc*
>(
162 if (other ==
this)
return;
163 if (GetOwningArena() == other->GetOwningArena()) {
166 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
170 if (other ==
this)
return;
171 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
181 Arc*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
182 return CreateMaybeMessage<Arc>(arena);
184 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
186 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
189 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
191 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
197 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
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";
210 explicit Arc(::PROTOBUF_NAMESPACE_ID::Arena* arena,
211 bool is_message_owned =
false);
213 static void ArenaDtor(
void*
object);
214 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
218 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
220 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
235 bool _internal_has_tail_node_id()
const;
241 ::PROTOBUF_NAMESPACE_ID::int64 _internal_tail_node_id()
const;
242 void _internal_set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64
value);
248 bool _internal_has_head_node_id()
const;
254 ::PROTOBUF_NAMESPACE_ID::int64 _internal_head_node_id()
const;
255 void _internal_set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64
value);
261 bool _internal_has_unit_cost()
const;
264 ::PROTOBUF_NAMESPACE_ID::int64
unit_cost()
const;
267 ::PROTOBUF_NAMESPACE_ID::int64 _internal_unit_cost()
const;
268 void _internal_set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64
value);
274 bool _internal_has_capacity()
const;
277 ::PROTOBUF_NAMESPACE_ID::int64
capacity()
const;
280 ::PROTOBUF_NAMESPACE_ID::int64 _internal_capacity()
const;
281 void _internal_set_capacity(::PROTOBUF_NAMESPACE_ID::int64
value);
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;
302 public ::PROTOBUF_NAMESPACE_ID::Message {
306 explicit constexpr Node(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
311 *
this = ::std::move(from);
319 if (
this == &from)
return *
this;
320 if (GetOwningArena() == from.GetOwningArena()
321 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
322 && GetOwningArena() !=
nullptr
333 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
336 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
339 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
352 return reinterpret_cast<const Node*
>(
362 if (other ==
this)
return;
363 if (GetOwningArena() == other->GetOwningArena()) {
366 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
370 if (other ==
this)
return;
371 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
381 Node*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
382 return CreateMaybeMessage<Node>(arena);
384 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
386 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
389 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
391 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
397 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
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";
410 explicit Node(::PROTOBUF_NAMESPACE_ID::Arena* arena,
411 bool is_message_owned =
false);
413 static void ArenaDtor(
void*
object);
414 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
418 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
420 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
433 bool _internal_has_id()
const;
436 ::PROTOBUF_NAMESPACE_ID::int64
id()
const;
439 ::PROTOBUF_NAMESPACE_ID::int64 _internal_id()
const;
440 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int64
value);
446 bool _internal_has_supply()
const;
449 ::PROTOBUF_NAMESPACE_ID::int64
supply()
const;
452 ::PROTOBUF_NAMESPACE_ID::int64 _internal_supply()
const;
453 void _internal_set_supply(::PROTOBUF_NAMESPACE_ID::int64
value);
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;
472 public ::PROTOBUF_NAMESPACE_ID::Message {
476 explicit constexpr FlowModel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
481 *
this = ::std::move(from);
489 if (
this == &from)
return *
this;
490 if (GetOwningArena() == from.GetOwningArena()
491 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
492 && GetOwningArena() !=
nullptr
503 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
506 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
509 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
522 return reinterpret_cast<const FlowModel*
>(
532 if (other ==
this)
return;
533 if (GetOwningArena() == other->GetOwningArena()) {
536 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
540 if (other ==
this)
return;
541 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
552 return CreateMaybeMessage<FlowModel>(arena);
554 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
556 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
559 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
561 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
567 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
573 void SetCachedSize(
int size)
const final;
575 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
576 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
577 return "operations_research.FlowModel";
580 explicit FlowModel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
581 bool is_message_owned =
false);
583 static void ArenaDtor(
void*
object);
584 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
588 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
590 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
610 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
618 "Incorrect type passed to function ProblemType_Name.");
636 int _internal_node_size()
const;
640 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >*
643 const ::operations_research::Node& _internal_node(
int index)
const;
646 const ::operations_research::Node&
node(
int index)
const;
648 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >&
654 int _internal_arc_size()
const;
658 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >*
666 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >&
672 bool _internal_has_problem_type()
const;
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_;
694 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
702 #pragma GCC diagnostic push
703 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
708inline bool Arc::_internal_has_tail_node_id()
const {
709 bool value = (_has_bits_[0] & 0x00000001u) != 0;
713 return _internal_has_tail_node_id();
716 tail_node_id_ = int64_t{0};
717 _has_bits_[0] &= ~0x00000001u;
719inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_tail_node_id()
const {
720 return tail_node_id_;
724 return _internal_tail_node_id();
726inline void Arc::_internal_set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64
value) {
727 _has_bits_[0] |= 0x00000001u;
728 tail_node_id_ =
value;
731 _internal_set_tail_node_id(
value);
736inline bool Arc::_internal_has_head_node_id()
const {
737 bool value = (_has_bits_[0] & 0x00000002u) != 0;
741 return _internal_has_head_node_id();
744 head_node_id_ = int64_t{0};
745 _has_bits_[0] &= ~0x00000002u;
747inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_head_node_id()
const {
748 return head_node_id_;
752 return _internal_head_node_id();
754inline void Arc::_internal_set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64
value) {
755 _has_bits_[0] |= 0x00000002u;
756 head_node_id_ =
value;
759 _internal_set_head_node_id(
value);
764inline bool Arc::_internal_has_capacity()
const {
765 bool value = (_has_bits_[0] & 0x00000008u) != 0;
769 return _internal_has_capacity();
772 capacity_ = int64_t{1};
773 _has_bits_[0] &= ~0x00000008u;
775inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_capacity()
const {
780 return _internal_capacity();
782inline void Arc::_internal_set_capacity(::PROTOBUF_NAMESPACE_ID::int64
value) {
783 _has_bits_[0] |= 0x00000008u;
787 _internal_set_capacity(
value);
792inline bool Arc::_internal_has_unit_cost()
const {
793 bool value = (_has_bits_[0] & 0x00000004u) != 0;
797 return _internal_has_unit_cost();
800 unit_cost_ = int64_t{0};
801 _has_bits_[0] &= ~0x00000004u;
803inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_unit_cost()
const {
808 return _internal_unit_cost();
810inline void Arc::_internal_set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64
value) {
811 _has_bits_[0] |= 0x00000004u;
815 _internal_set_unit_cost(
value);
824inline bool Node::_internal_has_id()
const {
825 bool value = (_has_bits_[0] & 0x00000001u) != 0;
829 return _internal_has_id();
833 _has_bits_[0] &= ~0x00000001u;
835inline ::PROTOBUF_NAMESPACE_ID::int64 Node::_internal_id()
const {
838inline ::PROTOBUF_NAMESPACE_ID::int64
Node::id()
const {
840 return _internal_id();
842inline void Node::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int64
value) {
843 _has_bits_[0] |= 0x00000001u;
847 _internal_set_id(
value);
852inline bool Node::_internal_has_supply()
const {
853 bool value = (_has_bits_[0] & 0x00000002u) != 0;
857 return _internal_has_supply();
860 supply_ = int64_t{0};
861 _has_bits_[0] &= ~0x00000002u;
863inline ::PROTOBUF_NAMESPACE_ID::int64 Node::_internal_supply()
const {
868 return _internal_supply();
870inline void Node::_internal_set_supply(::PROTOBUF_NAMESPACE_ID::int64
value) {
871 _has_bits_[0] |= 0x00000002u;
875 _internal_set_supply(
value);
884inline int FlowModel::_internal_node_size()
const {
888 return _internal_node_size();
895 return node_.Mutable(
index);
897inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >*
902inline const ::operations_research::Node& FlowModel::_internal_node(
int index)
const {
903 return node_.Get(
index);
907 return _internal_node(
index);
909inline ::operations_research::Node* FlowModel::_internal_add_node() {
917inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >&
924inline int FlowModel::_internal_arc_size()
const {
928 return _internal_arc_size();
935 return arc_.Mutable(
index);
937inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >*
943 return arc_.Get(
index);
947 return _internal_arc(
index);
957inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >&
964inline bool FlowModel::_internal_has_problem_type()
const {
965 bool value = (_has_bits_[0] & 0x00000001u) != 0;
969 return _internal_has_problem_type();
973 _has_bits_[0] &= ~0x00000001u;
980 return _internal_problem_type();
984 _has_bits_[0] |= 0x00000001u;
985 problem_type_ =
value;
988 _internal_set_problem_type(
value);
993 #pragma GCC diagnostic pop
1004PROTOBUF_NAMESPACE_OPEN
1008inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::FlowModel_ProblemType>() {
1012PROTOBUF_NAMESPACE_CLOSE
1016#include <google/protobuf/port_undef.inc>
bool has_tail_node_id() const
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
static const ClassData _class_data_
void CopyFrom(const Arc &from)
Arc * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void clear_head_node_id()
::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
bool has_capacity() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Arc & operator=(const Arc &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
bool has_head_node_id() const
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)
void clear_tail_node_id()
::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()
bool has_unit_cost() const
::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
int GetCachedSize() 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
@ kProblemTypeFieldNumber
::operations_research::Node * add_node()
::operations_research::Arc * add_arc()
bool has_problem_type() const
FlowModel & operator=(const FlowModel &from)
static constexpr int ProblemType_ARRAYSIZE
FlowModel(FlowModel &&from) noexcept
bool IsInitialized() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static constexpr int kIndexInFileMessages
static constexpr ProblemType MIN_COST_FLOW
void clear_problem_type()
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 & 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
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_MAX_FLOW
@ FlowModel_ProblemType_MIN_COST_FLOW
@ 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
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()