ortools.graph.flow_problem_pb2
Generated protocol buffer code.
1# -*- coding: utf-8 -*- 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# NO CHECKED-IN PROTOBUF GENCODE 4# source: ortools/graph/flow_problem.proto 5# Protobuf Python Version: 6.31.1 6"""Generated protocol buffer code.""" 7from google.protobuf import descriptor as _descriptor 8from google.protobuf import descriptor_pool as _descriptor_pool 9from google.protobuf import runtime_version as _runtime_version 10from google.protobuf import symbol_database as _symbol_database 11from google.protobuf.internal import builder as _builder 12_runtime_version.ValidateProtobufRuntimeVersion( 13 _runtime_version.Domain.PUBLIC, 14 6, 15 31, 16 1, 17 '', 18 'ortools/graph/flow_problem.proto' 19) 20# @@protoc_insertion_point(imports) 21 22_sym_db = _symbol_database.Default() 23 24 25 26 27DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n ortools/graph/flow_problem.proto\x12\x13operations_research\"U\n\x0c\x46lowArcProto\x12\x0c\n\x04tail\x18\x01 \x01(\x03\x12\x0c\n\x04head\x18\x02 \x01(\x03\x12\x13\n\x08\x63\x61pacity\x18\x03 \x01(\x03:\x01\x31\x12\x14\n\tunit_cost\x18\x04 \x01(\x03:\x01\x30\".\n\rFlowNodeProto\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\x06supply\x18\x02 \x01(\x03:\x01\x30\"\x86\x02\n\x0e\x46lowModelProto\x12\x31\n\x05nodes\x18\x01 \x03(\x0b\x32\".operations_research.FlowNodeProto\x12/\n\x04\x61rcs\x18\x02 \x03(\x0b\x32!.operations_research.FlowArcProto\x12\x45\n\x0cproblem_type\x18\x03 \x01(\x0e\x32/.operations_research.FlowModelProto.ProblemType\"I\n\x0bProblemType\x12\x19\n\x15LINEAR_SUM_ASSIGNMENT\x10\x00\x12\x0c\n\x08MAX_FLOW\x10\x01\x12\x11\n\rMIN_COST_FLOW\x10\x02\x42\x33\n\x18\x63om.google.ortools.graphP\x01\xaa\x02\x14Google.OrTools.Graph') 28 29_globals = globals() 30_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 31_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ortools.graph.flow_problem_pb2', _globals) 32if not _descriptor._USE_C_DESCRIPTORS: 33 _globals['DESCRIPTOR']._loaded_options = None 34 _globals['DESCRIPTOR']._serialized_options = b'\n\030com.google.ortools.graphP\001\252\002\024Google.OrTools.Graph' 35 _globals['_FLOWARCPROTO']._serialized_start=57 36 _globals['_FLOWARCPROTO']._serialized_end=142 37 _globals['_FLOWNODEPROTO']._serialized_start=144 38 _globals['_FLOWNODEPROTO']._serialized_end=190 39 _globals['_FLOWMODELPROTO']._serialized_start=193 40 _globals['_FLOWMODELPROTO']._serialized_end=455 41 _globals['_FLOWMODELPROTO_PROBLEMTYPE']._serialized_start=382 42 _globals['_FLOWMODELPROTO_PROBLEMTYPE']._serialized_end=455 43# @@protoc_insertion_point(module_scope)
DESCRIPTOR =
<google._upb._message.FileDescriptor object>
class
FlowArcProto(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
FlowNodeProto(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
FlowModelProto(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage