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 < 3019000 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 3019001 < 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[];
59 struct FlowArcProtoDefaultTypeInternal;
62 struct FlowModelProtoDefaultTypeInternal;
65 struct FlowNodeProtoDefaultTypeInternal;
68 PROTOBUF_NAMESPACE_OPEN
72 PROTOBUF_NAMESPACE_CLOSE
90 "Incorrect type passed to function FlowModelProto_ProblemType_Name.");
91 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
96 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FlowModelProto_ProblemType>(
102 public ::PROTOBUF_NAMESPACE_ID::Message {
106 explicit constexpr
FlowArcProto(::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 123 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE 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 FlowArcProto*>(
162 if (other ==
this)
return;
163 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP 164 if (GetOwningArena() !=
nullptr &&
165 GetOwningArena() == other->GetOwningArena()) {
166 #else // PROTOBUF_FORCE_COPY_IN_SWAP 167 if (GetOwningArena() == other->GetOwningArena()) {
168 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP 171 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
175 if (other ==
this)
return;
176 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
183 return CreateMaybeMessage<FlowArcProto>(arena);
185 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
187 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
190 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
192 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
198 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
204 void SetCachedSize(
int size)
const final;
208 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
209 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
210 return "operations_research.FlowArcProto";
213 explicit FlowArcProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
214 bool is_message_owned =
false);
216 static void ArenaDtor(
void*
object);
217 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
221 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
223 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
238 bool _internal_has_tail()
const;
241 int64_t
tail()
const;
244 int64_t _internal_tail()
const;
245 void _internal_set_tail(int64_t
value);
251 bool _internal_has_head()
const;
254 int64_t
head()
const;
257 int64_t _internal_head()
const;
258 void _internal_set_head(int64_t
value);
264 bool _internal_has_unit_cost()
const;
270 int64_t _internal_unit_cost()
const;
271 void _internal_set_unit_cost(int64_t
value);
277 bool _internal_has_capacity()
const;
283 int64_t _internal_capacity()
const;
284 void _internal_set_capacity(int64_t
value);
291 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
292 typedef void InternalArenaConstructable_;
293 typedef void DestructorSkippable_;
294 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
295 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
300 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
305 public ::PROTOBUF_NAMESPACE_ID::Message {
309 explicit constexpr
FlowNodeProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
314 *
this = ::std::move(from);
322 if (
this == &from)
return *
this;
323 if (GetOwningArena() == from.GetOwningArena()
324 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE 325 && GetOwningArena() !=
nullptr 326 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE 336 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
339 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
342 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
355 return reinterpret_cast<const FlowNodeProto*>(
365 if (other ==
this)
return;
366 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP 367 if (GetOwningArena() !=
nullptr &&
368 GetOwningArena() == other->GetOwningArena()) {
369 #else // PROTOBUF_FORCE_COPY_IN_SWAP 370 if (GetOwningArena() == other->GetOwningArena()) {
371 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP 374 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
378 if (other ==
this)
return;
379 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
386 return CreateMaybeMessage<FlowNodeProto>(arena);
388 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
390 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
393 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
395 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
401 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
407 void SetCachedSize(
int size)
const final;
411 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
412 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
413 return "operations_research.FlowNodeProto";
416 explicit FlowNodeProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
417 bool is_message_owned =
false);
419 static void ArenaDtor(
void*
object);
420 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
424 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
426 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
434 kSupplyFieldNumber = 2,
439 bool _internal_has_id()
const;
443 void set_id(int64_t
value);
445 int64_t _internal_id()
const;
446 void _internal_set_id(int64_t
value);
450 bool has_supply()
const;
452 bool _internal_has_supply()
const;
455 int64_t supply()
const;
456 void set_supply(int64_t
value);
458 int64_t _internal_supply()
const;
459 void _internal_set_supply(int64_t
value);
466 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
467 typedef void InternalArenaConstructable_;
468 typedef void DestructorSkippable_;
469 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
470 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
473 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
478 public ::PROTOBUF_NAMESPACE_ID::Message {
482 explicit constexpr
FlowModelProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
487 *
this = ::std::move(from);
495 if (
this == &from)
return *
this;
496 if (GetOwningArena() == from.GetOwningArena()
497 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE 498 && GetOwningArena() !=
nullptr 499 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE 509 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
512 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
515 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
528 return reinterpret_cast<const FlowModelProto*>(
538 if (other ==
this)
return;
539 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP 540 if (GetOwningArena() !=
nullptr &&
541 GetOwningArena() == other->GetOwningArena()) {
542 #else // PROTOBUF_FORCE_COPY_IN_SWAP 543 if (GetOwningArena() == other->GetOwningArena()) {
544 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP 547 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
551 if (other ==
this)
return;
552 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
559 return CreateMaybeMessage<FlowModelProto>(arena);
561 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
563 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
566 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
568 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
574 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
580 void SetCachedSize(
int size)
const final;
584 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
585 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
586 return "operations_research.FlowModelProto";
590 bool is_message_owned =
false);
592 static void ArenaDtor(
void*
object);
593 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
597 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
599 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
610 static inline
bool ProblemType_IsValid(
int value) {
617 static constexpr
int ProblemType_ARRAYSIZE =
619 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
627 "Incorrect type passed to function ProblemType_Name.");
638 kNodesFieldNumber = 1,
639 kArcsFieldNumber = 2,
640 kProblemTypeFieldNumber = 3,
643 int nodes_size()
const;
645 int _internal_nodes_size()
const;
649 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowNodeProto >*
652 const ::operations_research::FlowNodeProto& _internal_nodes(
int index)
const;
655 const ::operations_research::FlowNodeProto&
nodes(
int index)
const;
657 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowNodeProto >&
661 int arcs_size()
const;
663 int _internal_arcs_size()
const;
667 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowArcProto >*
670 const ::operations_research::FlowArcProto& _internal_arcs(
int index)
const;
673 const ::operations_research::FlowArcProto& arcs(
int index)
const;
675 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowArcProto >&
679 bool has_problem_type()
const;
681 bool _internal_has_problem_type()
const;
683 void clear_problem_type();
695 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
696 typedef void InternalArenaConstructable_;
697 typedef void DestructorSkippable_;
698 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
699 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
700 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowNodeProto > nodes_;
701 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowArcProto > arcs_;
703 friend struct ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto;
711 #pragma GCC diagnostic push 712 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 717 inline bool FlowArcProto::_internal_has_tail()
const {
718 bool value = (_has_bits_[0] & 0x00000001u) != 0;
722 return _internal_has_tail();
726 _has_bits_[0] &= ~0x00000001u;
728 inline int64_t FlowArcProto::_internal_tail()
const {
733 return _internal_tail();
735 inline void FlowArcProto::_internal_set_tail(int64_t
value) {
736 _has_bits_[0] |= 0x00000001u;
740 _internal_set_tail(
value);
745 inline bool FlowArcProto::_internal_has_head()
const {
746 bool value = (_has_bits_[0] & 0x00000002u) != 0;
750 return _internal_has_head();
754 _has_bits_[0] &= ~0x00000002u;
756 inline int64_t FlowArcProto::_internal_head()
const {
761 return _internal_head();
763 inline void FlowArcProto::_internal_set_head(int64_t
value) {
764 _has_bits_[0] |= 0x00000002u;
768 _internal_set_head(
value);
773 inline bool FlowArcProto::_internal_has_capacity()
const {
774 bool value = (_has_bits_[0] & 0x00000008u) != 0;
778 return _internal_has_capacity();
781 capacity_ = int64_t{1};
782 _has_bits_[0] &= ~0x00000008u;
784 inline int64_t FlowArcProto::_internal_capacity()
const {
789 return _internal_capacity();
791 inline void FlowArcProto::_internal_set_capacity(int64_t
value) {
792 _has_bits_[0] |= 0x00000008u;
796 _internal_set_capacity(
value);
801 inline bool FlowArcProto::_internal_has_unit_cost()
const {
802 bool value = (_has_bits_[0] & 0x00000004u) != 0;
806 return _internal_has_unit_cost();
809 unit_cost_ = int64_t{0};
810 _has_bits_[0] &= ~0x00000004u;
812 inline int64_t FlowArcProto::_internal_unit_cost()
const {
817 return _internal_unit_cost();
819 inline void FlowArcProto::_internal_set_unit_cost(int64_t
value) {
820 _has_bits_[0] |= 0x00000004u;
824 _internal_set_unit_cost(
value);
833 inline bool FlowNodeProto::_internal_has_id()
const {
834 bool value = (_has_bits_[0] & 0x00000001u) != 0;
838 return _internal_has_id();
842 _has_bits_[0] &= ~0x00000001u;
844 inline int64_t FlowNodeProto::_internal_id()
const {
849 return _internal_id();
851 inline void FlowNodeProto::_internal_set_id(int64_t
value) {
852 _has_bits_[0] |= 0x00000001u;
856 _internal_set_id(
value);
861 inline bool FlowNodeProto::_internal_has_supply()
const {
862 bool value = (_has_bits_[0] & 0x00000002u) != 0;
866 return _internal_has_supply();
869 supply_ = int64_t{0};
870 _has_bits_[0] &= ~0x00000002u;
872 inline int64_t FlowNodeProto::_internal_supply()
const {
877 return _internal_supply();
879 inline void FlowNodeProto::_internal_set_supply(int64_t
value) {
880 _has_bits_[0] |= 0x00000002u;
884 _internal_set_supply(
value);
893 inline int FlowModelProto::_internal_nodes_size()
const {
894 return nodes_.size();
897 return _internal_nodes_size();
904 return nodes_.Mutable(
index);
906 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowNodeProto >*
911 inline const ::operations_research::FlowNodeProto& FlowModelProto::_internal_nodes(
int index)
const {
912 return nodes_.Get(
index);
916 return _internal_nodes(
index);
918 inline ::operations_research::FlowNodeProto* FlowModelProto::_internal_add_nodes() {
926 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowNodeProto >&
933 inline int FlowModelProto::_internal_arcs_size()
const {
937 return _internal_arcs_size();
944 return arcs_.Mutable(
index);
946 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowArcProto >*
951 inline const ::operations_research::FlowArcProto& FlowModelProto::_internal_arcs(
int index)
const {
952 return arcs_.Get(
index);
956 return _internal_arcs(
index);
958 inline ::operations_research::FlowArcProto* FlowModelProto::_internal_add_arcs() {
966 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowArcProto >&
973 inline bool FlowModelProto::_internal_has_problem_type()
const {
974 bool value = (_has_bits_[0] & 0x00000001u) != 0;
978 return _internal_has_problem_type();
982 _has_bits_[0] &= ~0x00000001u;
985 return static_cast< ::operations_research::FlowModelProto_ProblemType >(problem_type_);
989 return _internal_problem_type();
993 _has_bits_[0] |= 0x00000001u;
994 problem_type_ =
value;
997 _internal_set_problem_type(
value);
1002 #pragma GCC diagnostic pop 1013 PROTOBUF_NAMESPACE_OPEN
1017 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::FlowModelProto_ProblemType>() {
1021 PROTOBUF_NAMESPACE_CLOSE
1025 #include <google/protobuf/port_undef.inc> 1026 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fgraph_2fflow_5fproblem_2eproto
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_tail(int64_t value)
::operations_research::FlowModelProto_ProblemType problem_type() const
bool IsInitialized() const final
bool FlowModelProto_ProblemType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FlowModelProto_ProblemType *value)
void CopyFrom(const FlowArcProto &from)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowArcProto > * mutable_arcs()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_capacity(int64_t value)
static const FlowModelProto * internal_default_instance()
static const ClassData _class_data_
bool has_unit_cost() const
friend void swap(FlowArcProto &a, FlowArcProto &b)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fgraph_2fflow_5fproblem_2eproto
friend void swap(FlowNodeProto &a, FlowNodeProto &b)
void set_id(int64_t value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowNodeProto > & nodes() const
FlowArcProto * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
bool has_problem_type() const
FlowModelProto & operator=(const FlowModelProto &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static constexpr int kIndexInFileMessages
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FlowModelProtoDefaultTypeInternal _FlowModelProto_default_instance_
void set_head(int64_t value)
::operations_research::FlowNodeProto * add_nodes()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(FlowNodeProto *other)
bool FlowModelProto_ProblemType_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FlowArcProtoDefaultTypeInternal _FlowArcProto_default_instance_
FlowModelProto * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
FlowArcProto & operator=(const FlowArcProto &from)
constexpr FlowModelProto_ProblemType FlowModelProto_ProblemType_ProblemType_MIN
FlowArcProto(FlowArcProto &&from) noexcept
void set_problem_type(::operations_research::FlowModelProto_ProblemType value)
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const FlowNodeProto & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
constexpr int FlowModelProto_ProblemType_ProblemType_ARRAYSIZE
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FlowNodeProtoDefaultTypeInternal _FlowNodeProto_default_instance_
FlowNodeProto & operator=(FlowNodeProto &&from) noexcept
FlowNodeProto * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
FlowNodeProto & operator=(const FlowNodeProto &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowArcProto > & arcs() const
static const FlowArcProto & default_instance()
FlowArcProto & operator=(FlowArcProto &&from) noexcept
static const FlowNodeProto * internal_default_instance()
static bool ProblemType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProblemType *value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ProblemType_descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
int64_t unit_cost() const
void UnsafeArenaSwap(FlowModelProto *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::FlowNodeProto > * mutable_nodes()
FlowNodeProto(FlowNodeProto &&from) noexcept
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
FlowModelProto & operator=(FlowModelProto &&from) noexcept
static const FlowModelProto & default_instance()
static const ClassData _class_data_
void Swap(FlowModelProto *other)
void clear_problem_type()
::operations_research::FlowArcProto * add_arcs()
FlowModelProto_ProblemType
void Swap(FlowNodeProto *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Collection of objects used to extend the Constraint Solver library.
void set_unit_cost(int64_t value)
MPSolver::OptimizationProblemType problem_type
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FlowModelProto_ProblemType_descriptor()
FlowModelProto(FlowModelProto &&from) noexcept
void set_supply(int64_t value)
size_t ByteSizeLong() const final
constexpr FlowModelProto_ProblemType FlowModelProto_ProblemType_ProblemType_MAX
friend void swap(FlowModelProto &a, FlowModelProto &b)
static const FlowArcProto * internal_default_instance()
int GetCachedSize() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const std::string & FlowModelProto_ProblemType_Name(T enum_t_value)
void Swap(FlowArcProto *other)
static const std::string & ProblemType_Name(T enum_t_value)
void UnsafeArenaSwap(FlowArcProto *other)
bool has_capacity() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void MergeFrom(const FlowArcProto &from)