8#include <google/protobuf/io/coded_stream.h>
9#include <google/protobuf/extension_set.h>
10#include <google/protobuf/wire_format_lite.h>
11#include <google/protobuf/descriptor.h>
12#include <google/protobuf/generated_message_reflection.h>
13#include <google/protobuf/reflection_ops.h>
14#include <google/protobuf/wire_format.h>
16#include <google/protobuf/port_def.inc>
18PROTOBUF_PRAGMA_INIT_SEG
21 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
24 , unit_cost_(int64_t{0})
25 , capacity_(int64_t{1}){}
36 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
38 , supply_(int64_t{0}){}
49 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
118const char descriptor_table_protodef_ortools_2fgraph_2fflow_5fproblem_2eproto[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
119 "\n ortools/graph/flow_problem.proto\022\023oper"
120 "ations_research\"U\n\014FlowArcProto\022\014\n\004tail\030"
121 "\001 \001(\003\022\014\n\004head\030\002 \001(\003\022\023\n\010capacity\030\003 \001(\003:\0011"
122 "\022\024\n\tunit_cost\030\004 \001(\003:\0010\".\n\rFlowNodeProto\022"
123 "\n\n\002id\030\001 \001(\003\022\021\n\006supply\030\002 \001(\003:\0010\"\206\002\n\016FlowM"
124 "odelProto\0221\n\005nodes\030\001 \003(\0132\".operations_re"
125 "search.FlowNodeProto\022/\n\004arcs\030\002 \003(\0132!.ope"
126 "rations_research.FlowArcProto\022E\n\014problem"
127 "_type\030\003 \001(\0162/.operations_research.FlowMo"
128 "delProto.ProblemType\"I\n\013ProblemType\022\031\n\025L"
129 "INEAR_SUM_ASSIGNMENT\020\000\022\014\n\010MAX_FLOW\020\001\022\021\n\r"
130 "MIN_COST_FLOW\020\002"
134 false,
false, 455, descriptor_table_protodef_ortools_2fgraph_2fflow_5fproblem_2eproto,
"ortools/graph/flow_problem.proto",
161#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
174 using HasBits =
decltype(std::declval<FlowArcProto>()._has_bits_);
176 (*has_bits)[0] |= 1u;
179 (*has_bits)[0] |= 2u;
182 (*has_bits)[0] |= 8u;
185 (*has_bits)[0] |= 4u;
190 bool is_message_owned)
191 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
193 if (!is_message_owned) {
194 RegisterArenaDtor(arena);
199 : ::PROTOBUF_NAMESPACE_ID::Message(),
200 _has_bits_(from._has_bits_) {
201 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
202 ::memcpy(&tail_, &from.tail_,
203 static_cast<size_t>(
reinterpret_cast<char*
>(&capacity_) -
204 reinterpret_cast<char*
>(&tail_)) +
sizeof(capacity_));
208inline void FlowArcProto::SharedCtor() {
209::memset(
reinterpret_cast<char*
>(
this) +
static_cast<size_t>(
210 reinterpret_cast<char*
>(&tail_) -
reinterpret_cast<char*
>(
this)),
211 0,
static_cast<size_t>(
reinterpret_cast<char*
>(&unit_cost_) -
212 reinterpret_cast<char*
>(&tail_)) +
sizeof(unit_cost_));
213capacity_ = int64_t{1};
218 if (GetArenaForAllocation() !=
nullptr)
return;
220 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
223inline void FlowArcProto::SharedDtor() {
224 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
227void FlowArcProto::ArenaDtor(
void*
object) {
231void FlowArcProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
233void FlowArcProto::SetCachedSize(
int size)
const {
234 _cached_size_.Set(size);
239 uint32_t cached_has_bits = 0;
241 (void) cached_has_bits;
243 cached_has_bits = _has_bits_[0];
244 if (cached_has_bits & 0x0000000fu) {
245 ::memset(&tail_, 0,
static_cast<size_t>(
246 reinterpret_cast<char*
>(&unit_cost_) -
247 reinterpret_cast<char*
>(&tail_)) +
sizeof(unit_cost_));
248 capacity_ = int64_t{1};
251 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
255#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
257 while (!ctx->Done(&ptr)) {
259 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
263 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t
>(tag) == 8)) {
265 tail_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
272 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t
>(tag) == 16)) {
274 head_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
281 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t
>(tag) == 24)) {
283 capacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
290 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t
>(tag) == 32)) {
292 unit_cost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
301 if ((tag == 0) || ((tag & 7) == 4)) {
303 ctx->SetLastTag(tag);
306 ptr = UnknownFieldParse(
308 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
310 CHK_(ptr !=
nullptr);
313 _has_bits_.Or(has_bits);
322 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
324 uint32_t cached_has_bits = 0;
325 (void) cached_has_bits;
327 cached_has_bits = _has_bits_[0];
329 if (cached_has_bits & 0x00000001u) {
330 target = stream->EnsureSpace(target);
331 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_tail(), target);
335 if (cached_has_bits & 0x00000002u) {
336 target = stream->EnsureSpace(target);
337 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->_internal_head(), target);
341 if (cached_has_bits & 0x00000008u) {
342 target = stream->EnsureSpace(target);
343 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->_internal_capacity(), target);
347 if (cached_has_bits & 0x00000004u) {
348 target = stream->EnsureSpace(target);
349 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(4, this->_internal_unit_cost(), target);
352 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
353 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
354 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
362 size_t total_size = 0;
364 uint32_t cached_has_bits = 0;
366 (void) cached_has_bits;
368 cached_has_bits = _has_bits_[0];
369 if (cached_has_bits & 0x0000000fu) {
371 if (cached_has_bits & 0x00000001u) {
372 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_tail());
376 if (cached_has_bits & 0x00000002u) {
377 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_head());
381 if (cached_has_bits & 0x00000004u) {
382 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_unit_cost());
386 if (cached_has_bits & 0x00000008u) {
387 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_capacity());
391 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
395 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
396 FlowArcProto::MergeImpl
400void FlowArcProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
401 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
409 GOOGLE_DCHECK_NE(&from,
this);
410 uint32_t cached_has_bits = 0;
411 (void) cached_has_bits;
413 cached_has_bits = from._has_bits_[0];
414 if (cached_has_bits & 0x0000000fu) {
415 if (cached_has_bits & 0x00000001u) {
418 if (cached_has_bits & 0x00000002u) {
421 if (cached_has_bits & 0x00000004u) {
422 unit_cost_ = from.unit_cost_;
424 if (cached_has_bits & 0x00000008u) {
425 capacity_ = from.capacity_;
427 _has_bits_[0] |= cached_has_bits;
429 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
434 if (&from ==
this)
return;
445 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
446 swap(_has_bits_[0], other->_has_bits_[0]);
447 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
449 +
sizeof(FlowArcProto::unit_cost_)
451 reinterpret_cast<char*
>(&tail_),
452 reinterpret_cast<char*
>(&other->tail_));
453 swap(capacity_, other->capacity_);
457 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
466 using HasBits =
decltype(std::declval<FlowNodeProto>()._has_bits_);
468 (*has_bits)[0] |= 1u;
471 (*has_bits)[0] |= 2u;
476 bool is_message_owned)
477 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
479 if (!is_message_owned) {
480 RegisterArenaDtor(arena);
485 : ::PROTOBUF_NAMESPACE_ID::Message(),
486 _has_bits_(from._has_bits_) {
487 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
488 ::memcpy(&id_, &from.id_,
489 static_cast<size_t>(
reinterpret_cast<char*
>(&supply_) -
490 reinterpret_cast<char*
>(&id_)) +
sizeof(supply_));
494inline void FlowNodeProto::SharedCtor() {
495::memset(
reinterpret_cast<char*
>(
this) +
static_cast<size_t>(
496 reinterpret_cast<char*
>(&id_) -
reinterpret_cast<char*
>(
this)),
497 0,
static_cast<size_t>(
reinterpret_cast<char*
>(&supply_) -
498 reinterpret_cast<char*
>(&id_)) +
sizeof(supply_));
503 if (GetArenaForAllocation() !=
nullptr)
return;
505 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
508inline void FlowNodeProto::SharedDtor() {
509 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
512void FlowNodeProto::ArenaDtor(
void*
object) {
516void FlowNodeProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
518void FlowNodeProto::SetCachedSize(
int size)
const {
519 _cached_size_.Set(size);
524 uint32_t cached_has_bits = 0;
526 (void) cached_has_bits;
528 cached_has_bits = _has_bits_[0];
529 if (cached_has_bits & 0x00000003u) {
530 ::memset(&id_, 0,
static_cast<size_t>(
531 reinterpret_cast<char*
>(&supply_) -
532 reinterpret_cast<char*
>(&id_)) +
sizeof(supply_));
535 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
539#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
541 while (!ctx->Done(&ptr)) {
543 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
547 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t
>(tag) == 8)) {
549 id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
556 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t
>(tag) == 16)) {
558 supply_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
567 if ((tag == 0) || ((tag & 7) == 4)) {
569 ctx->SetLastTag(tag);
572 ptr = UnknownFieldParse(
574 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
576 CHK_(ptr !=
nullptr);
579 _has_bits_.Or(has_bits);
588 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
590 uint32_t cached_has_bits = 0;
591 (void) cached_has_bits;
593 cached_has_bits = _has_bits_[0];
595 if (cached_has_bits & 0x00000001u) {
596 target = stream->EnsureSpace(target);
597 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_id(), target);
601 if (cached_has_bits & 0x00000002u) {
602 target = stream->EnsureSpace(target);
603 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->_internal_supply(), target);
606 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
607 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
608 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
616 size_t total_size = 0;
618 uint32_t cached_has_bits = 0;
620 (void) cached_has_bits;
622 cached_has_bits = _has_bits_[0];
623 if (cached_has_bits & 0x00000003u) {
625 if (cached_has_bits & 0x00000001u) {
626 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_id());
630 if (cached_has_bits & 0x00000002u) {
631 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_supply());
635 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
639 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
640 FlowNodeProto::MergeImpl
644void FlowNodeProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
645 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
653 GOOGLE_DCHECK_NE(&from,
this);
654 uint32_t cached_has_bits = 0;
655 (void) cached_has_bits;
657 cached_has_bits = from._has_bits_[0];
658 if (cached_has_bits & 0x00000003u) {
659 if (cached_has_bits & 0x00000001u) {
662 if (cached_has_bits & 0x00000002u) {
663 supply_ = from.supply_;
665 _has_bits_[0] |= cached_has_bits;
667 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
672 if (&from ==
this)
return;
683 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
684 swap(_has_bits_[0], other->_has_bits_[0]);
685 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
687 +
sizeof(FlowNodeProto::supply_)
689 reinterpret_cast<char*
>(&id_),
690 reinterpret_cast<char*
>(&other->id_));
694 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
703 using HasBits =
decltype(std::declval<FlowModelProto>()._has_bits_);
705 (*has_bits)[0] |= 1u;
710 bool is_message_owned)
711 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
715 if (!is_message_owned) {
716 RegisterArenaDtor(arena);
721 : ::PROTOBUF_NAMESPACE_ID::Message(),
722 _has_bits_(from._has_bits_),
725 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
726 problem_type_ = from.problem_type_;
730inline void FlowModelProto::SharedCtor() {
736 if (GetArenaForAllocation() !=
nullptr)
return;
738 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
741inline void FlowModelProto::SharedDtor() {
742 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
745void FlowModelProto::ArenaDtor(
void*
object) {
749void FlowModelProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
751void FlowModelProto::SetCachedSize(
int size)
const {
752 _cached_size_.Set(size);
757 uint32_t cached_has_bits = 0;
759 (void) cached_has_bits;
765 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
769#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
771 while (!ctx->Done(&ptr)) {
773 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
777 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t
>(tag) == 10)) {
781 ptr = ctx->ParseMessage(_internal_add_nodes(), ptr);
783 if (!ctx->DataAvailable(ptr))
break;
784 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
790 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t
>(tag) == 18)) {
794 ptr = ctx->ParseMessage(_internal_add_arcs(), ptr);
796 if (!ctx->DataAvailable(ptr))
break;
797 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
803 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t
>(tag) == 24)) {
804 uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
818 if ((tag == 0) || ((tag & 7) == 4)) {
820 ctx->SetLastTag(tag);
823 ptr = UnknownFieldParse(
825 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
827 CHK_(ptr !=
nullptr);
830 _has_bits_.Or(has_bits);
839 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
841 uint32_t cached_has_bits = 0;
842 (void) cached_has_bits;
845 for (
unsigned int i = 0,
846 n =
static_cast<unsigned int>(this->_internal_nodes_size()); i < n; i++) {
847 target = stream->EnsureSpace(target);
848 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
849 InternalWriteMessage(1, this->_internal_nodes(i), target, stream);
853 for (
unsigned int i = 0,
854 n =
static_cast<unsigned int>(this->_internal_arcs_size()); i < n; i++) {
855 target = stream->EnsureSpace(target);
856 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
857 InternalWriteMessage(2, this->_internal_arcs(i), target, stream);
860 cached_has_bits = _has_bits_[0];
862 if (cached_has_bits & 0x00000001u) {
863 target = stream->EnsureSpace(target);
864 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
865 3, this->_internal_problem_type(), target);
868 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
869 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
870 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
878 size_t total_size = 0;
880 uint32_t cached_has_bits = 0;
882 (void) cached_has_bits;
885 total_size += 1UL * this->_internal_nodes_size();
886 for (
const auto& msg : this->nodes_) {
888 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
892 total_size += 1UL * this->_internal_arcs_size();
893 for (
const auto& msg : this->arcs_) {
895 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
899 cached_has_bits = _has_bits_[0];
900 if (cached_has_bits & 0x00000001u) {
902 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_problem_type());
905 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
909 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
910 FlowModelProto::MergeImpl
914void FlowModelProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
915 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
923 GOOGLE_DCHECK_NE(&from,
this);
924 uint32_t cached_has_bits = 0;
925 (void) cached_has_bits;
927 nodes_.MergeFrom(from.nodes_);
928 arcs_.MergeFrom(from.arcs_);
929 if (from._internal_has_problem_type()) {
930 _internal_set_problem_type(from._internal_problem_type());
932 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
937 if (&from ==
this)
return;
948 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
949 swap(_has_bits_[0], other->_has_bits_[0]);
950 nodes_.InternalSwap(&other->nodes_);
951 arcs_.InternalSwap(&other->arcs_);
952 swap(problem_type_, other->problem_type_);
956 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
963PROTOBUF_NAMESPACE_OPEN
965 return Arena::CreateMessageInternal< ::operations_research::FlowArcProto >(arena);
968 return Arena::CreateMessageInternal< ::operations_research::FlowNodeProto >(arena);
971 return Arena::CreateMessageInternal< ::operations_research::FlowModelProto >(arena);
973PROTOBUF_NAMESPACE_CLOSE
976#include <google/protobuf/port_undef.inc>
static void set_has_capacity(HasBits *has_bits)
static void set_has_head(HasBits *has_bits)
static void set_has_unit_cost(HasBits *has_bits)
static void set_has_tail(HasBits *has_bits)
decltype(std::declval< FlowArcProto >()._has_bits_) HasBits
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ClassData _class_data_
void CopyFrom(const FlowArcProto &from)
bool IsInitialized() const final
friend void swap(FlowArcProto &a, FlowArcProto &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void MergeFrom(const FlowArcProto &from)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
size_t ByteSizeLong() const final
decltype(std::declval< FlowModelProto >()._has_bits_) HasBits
static void set_has_problem_type(HasBits *has_bits)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ClassData _class_data_
static constexpr int ProblemType_ARRAYSIZE
bool IsInitialized() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void CopyFrom(const FlowModelProto &from)
static constexpr ProblemType LINEAR_SUM_ASSIGNMENT
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(FlowModelProto &a, FlowModelProto &b)
static constexpr ProblemType MAX_FLOW
void MergeFrom(const FlowModelProto &from)
static constexpr ProblemType ProblemType_MAX
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static constexpr ProblemType ProblemType_MIN
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static constexpr ProblemType MIN_COST_FLOW
~FlowModelProto() override
size_t ByteSizeLong() const final
static void set_has_id(HasBits *has_bits)
static void set_has_supply(HasBits *has_bits)
decltype(std::declval< FlowNodeProto >()._has_bits_) HasBits
~FlowNodeProto() override
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void MergeFrom(const FlowNodeProto &from)
static const ClassData _class_data_
void CopyFrom(const FlowNodeProto &from)
bool IsInitialized() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
friend void swap(FlowNodeProto &a, FlowNodeProto &b)
size_t ByteSizeLong() const final
const uint32_t TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static constexpr::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_ortools_2fgraph_2fflow_5fproblem_2eproto
PROTOBUF_NOINLINE::operations_research::FlowModelProto * Arena::CreateMaybeMessage< ::operations_research::FlowModelProto >(Arena *arena)
PROTOBUF_NOINLINE::operations_research::FlowNodeProto * Arena::CreateMaybeMessage< ::operations_research::FlowNodeProto >(Arena *arena)
PROTOBUF_ATTRIBUTE_WEAKconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable * descriptor_table_ortools_2fgraph_2fflow_5fproblem_2eproto_getter()
::PROTOBUF_NAMESPACE_ID::Message const *const file_default_instances[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fgraph_2fflow_5fproblem_2eproto
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2fgraph_2fflow_5fproblem_2eproto_once
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * file_level_enum_descriptors_ortools_2fgraph_2fflow_5fproblem_2eproto[1]
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_ortools_2fgraph_2fflow_5fproblem_2eproto[3]
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE::operations_research::FlowArcProto * Arena::CreateMaybeMessage< ::operations_research::FlowArcProto >(Arena *arena)
void swap(IdMap< K, V > &a, IdMap< K, V > &b)
Collection of objects used to extend the Constraint Solver library.
bool FlowModelProto_ProblemType_IsValid(int value)
FlowModelProto_ProblemType
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FlowArcProtoDefaultTypeInternal _FlowArcProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FlowNodeProtoDefaultTypeInternal _FlowNodeProto_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FlowModelProto_ProblemType_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FlowModelProtoDefaultTypeInternal _FlowModelProto_default_instance_
static constexpr::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema * schemas
constexpr FlowArcProtoDefaultTypeInternal()
~FlowArcProtoDefaultTypeInternal()
constexpr FlowModelProtoDefaultTypeInternal()
~FlowModelProtoDefaultTypeInternal()
constexpr FlowNodeProtoDefaultTypeInternal()
~FlowNodeProtoDefaultTypeInternal()