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 < 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 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. 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 38 PROTOBUF_NAMESPACE_OPEN
42 PROTOBUF_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[];
59 struct ArcDefaultTypeInternal;
62 struct FlowModelDefaultTypeInternal;
65 struct NodeDefaultTypeInternal;
68 PROTOBUF_NAMESPACE_OPEN
72 PROTOBUF_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()) {
129 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
132 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
135 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
148 return reinterpret_cast<const Arc*>(
158 if (other ==
this)
return;
159 if (GetOwningArena() == other->GetOwningArena()) {
162 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
166 if (other ==
this)
return;
167 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
177 Arc*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
178 return CreateMaybeMessage<Arc>(arena);
180 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
182 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
185 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
187 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
193 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
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";
206 explicit Arc(::PROTOBUF_NAMESPACE_ID::Arena* arena,
207 bool is_message_owned =
false);
209 static void ArenaDtor(
void*
object);
210 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
214 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
216 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
231 bool _internal_has_tail_node_id()
const;
237 ::PROTOBUF_NAMESPACE_ID::int64 _internal_tail_node_id()
const;
238 void _internal_set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64
value);
244 bool _internal_has_head_node_id()
const;
250 ::PROTOBUF_NAMESPACE_ID::int64 _internal_head_node_id()
const;
251 void _internal_set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64
value);
257 bool _internal_has_unit_cost()
const;
260 ::PROTOBUF_NAMESPACE_ID::int64
unit_cost()
const;
263 ::PROTOBUF_NAMESPACE_ID::int64 _internal_unit_cost()
const;
264 void _internal_set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64
value);
270 bool _internal_has_capacity()
const;
273 ::PROTOBUF_NAMESPACE_ID::int64
capacity()
const;
276 ::PROTOBUF_NAMESPACE_ID::int64 _internal_capacity()
const;
277 void _internal_set_capacity(::PROTOBUF_NAMESPACE_ID::int64
value);
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;
298 public ::PROTOBUF_NAMESPACE_ID::Message {
302 explicit constexpr
Node(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
307 *
this = ::std::move(from);
315 if (
this == &from)
return *
this;
316 if (GetOwningArena() == from.GetOwningArena()) {
325 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
328 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
331 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
344 return reinterpret_cast<const Node*>(
354 if (other ==
this)
return;
355 if (GetOwningArena() == other->GetOwningArena()) {
358 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
362 if (other ==
this)
return;
363 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
373 Node*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
374 return CreateMaybeMessage<Node>(arena);
376 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
378 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
381 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
383 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
389 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
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";
402 explicit Node(::PROTOBUF_NAMESPACE_ID::Arena* arena,
403 bool is_message_owned =
false);
405 static void ArenaDtor(
void*
object);
406 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
410 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
412 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
425 bool _internal_has_id()
const;
428 ::PROTOBUF_NAMESPACE_ID::int64
id()
const;
431 ::PROTOBUF_NAMESPACE_ID::int64 _internal_id()
const;
432 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int64
value);
438 bool _internal_has_supply()
const;
441 ::PROTOBUF_NAMESPACE_ID::int64
supply()
const;
444 ::PROTOBUF_NAMESPACE_ID::int64 _internal_supply()
const;
445 void _internal_set_supply(::PROTOBUF_NAMESPACE_ID::int64
value);
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;
464 public ::PROTOBUF_NAMESPACE_ID::Message {
468 explicit constexpr
FlowModel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
473 *
this = ::std::move(from);
481 if (
this == &from)
return *
this;
482 if (GetOwningArena() == from.GetOwningArena()) {
491 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
494 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
497 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
510 return reinterpret_cast<const FlowModel*>(
520 if (other ==
this)
return;
521 if (GetOwningArena() == other->GetOwningArena()) {
524 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
528 if (other ==
this)
return;
529 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
540 return CreateMaybeMessage<FlowModel>(arena);
542 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
544 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
547 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
549 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
555 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
561 void SetCachedSize(
int size)
const final;
563 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
564 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
565 return "operations_research.FlowModel";
568 explicit FlowModel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
569 bool is_message_owned =
false);
571 static void ArenaDtor(
void*
object);
572 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
576 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
578 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
598 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
606 "Incorrect type passed to function ProblemType_Name.");
624 int _internal_node_size()
const;
628 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >*
631 const ::operations_research::Node& _internal_node(
int index)
const;
634 const ::operations_research::Node&
node(
int index)
const;
636 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >&
642 int _internal_arc_size()
const;
646 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >*
654 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >&
660 bool _internal_has_problem_type()
const;
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_;
682 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
690 #pragma GCC diagnostic push 691 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 696 inline bool Arc::_internal_has_tail_node_id()
const {
697 bool value = (_has_bits_[0] & 0x00000001u) != 0;
701 return _internal_has_tail_node_id();
704 tail_node_id_ = int64_t{0};
705 _has_bits_[0] &= ~0x00000001u;
707 inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_tail_node_id()
const {
708 return tail_node_id_;
712 return _internal_tail_node_id();
714 inline void Arc::_internal_set_tail_node_id(::PROTOBUF_NAMESPACE_ID::int64
value) {
715 _has_bits_[0] |= 0x00000001u;
716 tail_node_id_ =
value;
719 _internal_set_tail_node_id(
value);
724 inline bool Arc::_internal_has_head_node_id()
const {
725 bool value = (_has_bits_[0] & 0x00000002u) != 0;
729 return _internal_has_head_node_id();
732 head_node_id_ = int64_t{0};
733 _has_bits_[0] &= ~0x00000002u;
735 inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_head_node_id()
const {
736 return head_node_id_;
740 return _internal_head_node_id();
742 inline void Arc::_internal_set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64
value) {
743 _has_bits_[0] |= 0x00000002u;
744 head_node_id_ =
value;
747 _internal_set_head_node_id(
value);
752 inline bool Arc::_internal_has_capacity()
const {
753 bool value = (_has_bits_[0] & 0x00000008u) != 0;
757 return _internal_has_capacity();
760 capacity_ = int64_t{1};
761 _has_bits_[0] &= ~0x00000008u;
763 inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_capacity()
const {
768 return _internal_capacity();
770 inline void Arc::_internal_set_capacity(::PROTOBUF_NAMESPACE_ID::int64
value) {
771 _has_bits_[0] |= 0x00000008u;
775 _internal_set_capacity(
value);
780 inline bool Arc::_internal_has_unit_cost()
const {
781 bool value = (_has_bits_[0] & 0x00000004u) != 0;
785 return _internal_has_unit_cost();
788 unit_cost_ = int64_t{0};
789 _has_bits_[0] &= ~0x00000004u;
791 inline ::PROTOBUF_NAMESPACE_ID::int64 Arc::_internal_unit_cost()
const {
796 return _internal_unit_cost();
798 inline void Arc::_internal_set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64
value) {
799 _has_bits_[0] |= 0x00000004u;
803 _internal_set_unit_cost(
value);
812 inline bool Node::_internal_has_id()
const {
813 bool value = (_has_bits_[0] & 0x00000001u) != 0;
817 return _internal_has_id();
821 _has_bits_[0] &= ~0x00000001u;
823 inline ::PROTOBUF_NAMESPACE_ID::int64 Node::_internal_id()
const {
826 inline ::PROTOBUF_NAMESPACE_ID::int64
Node::id()
const {
828 return _internal_id();
830 inline void Node::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int64
value) {
831 _has_bits_[0] |= 0x00000001u;
835 _internal_set_id(
value);
840 inline bool Node::_internal_has_supply()
const {
841 bool value = (_has_bits_[0] & 0x00000002u) != 0;
845 return _internal_has_supply();
848 supply_ = int64_t{0};
849 _has_bits_[0] &= ~0x00000002u;
851 inline ::PROTOBUF_NAMESPACE_ID::int64 Node::_internal_supply()
const {
856 return _internal_supply();
858 inline void Node::_internal_set_supply(::PROTOBUF_NAMESPACE_ID::int64
value) {
859 _has_bits_[0] |= 0x00000002u;
863 _internal_set_supply(
value);
872 inline int FlowModel::_internal_node_size()
const {
876 return _internal_node_size();
883 return node_.Mutable(
index);
885 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >*
890 inline const ::operations_research::Node& FlowModel::_internal_node(
int index)
const {
891 return node_.Get(
index);
895 return _internal_node(
index);
897 inline ::operations_research::Node* FlowModel::_internal_add_node() {
905 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node >&
912 inline int FlowModel::_internal_arc_size()
const {
916 return _internal_arc_size();
923 return arc_.Mutable(
index);
925 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >*
931 return arc_.Get(
index);
935 return _internal_arc(
index);
945 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Arc >&
952 inline bool FlowModel::_internal_has_problem_type()
const {
953 bool value = (_has_bits_[0] & 0x00000001u) != 0;
957 return _internal_has_problem_type();
961 _has_bits_[0] &= ~0x00000001u;
964 return static_cast< ::operations_research::FlowModel_ProblemType >(problem_type_);
968 return _internal_problem_type();
972 _has_bits_[0] |= 0x00000001u;
973 problem_type_ =
value;
976 _internal_set_problem_type(
value);
981 #pragma GCC diagnostic pop 992 PROTOBUF_NAMESPACE_OPEN
996 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::FlowModel_ProblemType>() {
1000 PROTOBUF_NAMESPACE_CLOSE
1004 #include <google/protobuf/port_undef.inc> 1005 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fgraph_2fflow_5fproblem_2eproto static const Node & default_instance()
FlowModel(FlowModel &&from) noexcept
const std::string & FlowModel_ProblemType_Name(T enum_t_value)
constexpr int FlowModel_ProblemType_ProblemType_ARRAYSIZE
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::Node > * mutable_node()
static const ClassData _class_data_
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
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FlowModel_ProblemType_descriptor()
static const ClassData _class_data_
void clear_tail_node_id()
void clear_head_node_id()
static bool ProblemType_IsValid(int value)
bool has_unit_cost() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
FlowModel & operator=(const FlowModel &from)
void MergeFrom(const Arc &from)
static constexpr ProblemType ProblemType_MAX
static const Arc & default_instance()
static constexpr ProblemType LINEAR_SUM_ASSIGNMENT
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()
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_unit_cost(::PROTOBUF_NAMESPACE_ID::int64 value)
Node(Node &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void CopyFrom(const Arc &from)
::PROTOBUF_NAMESPACE_ID::int64 unit_cost() const
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
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FlowModelDefaultTypeInternal _FlowModel_default_instance_
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::PROTOBUF_NAMESPACE_ID::int64 id() const
::PROTOBUF_NAMESPACE_ID::int64 tail_node_id() const
bool has_problem_type() 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)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT 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()
::PROTOBUF_NAMESPACE_ID::int64 supply() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
constexpr FlowModel_ProblemType FlowModel_ProblemType_ProblemType_MIN
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_supply(::PROTOBUF_NAMESPACE_ID::int64 value)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static constexpr ProblemType ProblemType_MIN
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_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NodeDefaultTypeInternal _Node_default_instance_
static constexpr int kIndexInFileMessages
size_t ByteSizeLong() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const FlowModel &from)
int GetCachedSize() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_head_node_id(::PROTOBUF_NAMESPACE_ID::int64 value)
size_t ByteSizeLong() const final
::PROTOBUF_NAMESPACE_ID::int64 head_node_id() const
static const Arc * internal_default_instance()
::operations_research::FlowModel_ProblemType problem_type() const
static constexpr ProblemType MAX_FLOW
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() 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
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void UnsafeArenaSwap(Arc *other)
Arc & operator=(const Arc &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
std::pair< int64_t, int64_t > Arc
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
bool IsInitialized() const final
bool has_tail_node_id() const
Collection of objects used to extend the Constraint Solver library.
void UnsafeArenaSwap(Node *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::PROTOBUF_NAMESPACE_ID::int64 capacity() const
static constexpr int kIndexInFileMessages
bool IsInitialized() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_capacity(::PROTOBUF_NAMESPACE_ID::int64 value)
bool has_head_node_id() const
void clear_problem_type()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() 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)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(FlowModel &a, FlowModel &b)
static constexpr int kIndexInFileMessages
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(FlowModel *other)
static constexpr ProblemType MIN_COST_FLOW
void MergeFrom(const Node &from)
bool has_capacity() const
bool FlowModel_ProblemType_IsValid(int value)
Arc * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final