# Generated by the protocol buffer compiler. DO NOT EDIT! # source: connection.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='connection.proto', package='connection', syntax='proto3', serialized_options=None, serialized_pb=_b('\n\x10\x63onnection.proto\x12\nconnection\"\xf5\x01\n\nConnection\x12\x14\n\x0c\x63onnectionId\x18\x01 \x01(\t\x12\x12\n\nsourceNode\x18\x02 \x01(\t\x12\x12\n\ntargetNode\x18\x03 \x01(\t\x12\x12\n\nsourcePort\x18\x04 \x01(\t\x12\x12\n\ntargetPort\x18\x05 \x01(\t\x12\x11\n\tbandwidth\x18\x06 \x01(\r\x12\x43\n\x11layerProtocolName\x18\x07 \x01(\x0e\x32(.connection.Connection.LayerProtocolName\")\n\x11LayerProtocolName\x12\x07\n\x03\x45TH\x10\x00\x12\x0b\n\x07OPTICAL\x10\x01\"<\n\x0e\x43onnectionList\x12*\n\nconnection\x18\x01 \x03(\x0b\x32\x16.connection.Connectionb\x06proto3') ) _CONNECTION_LAYERPROTOCOLNAME = _descriptor.EnumDescriptor( name='LayerProtocolName', full_name='connection.Connection.LayerProtocolName', filename=None, file=DESCRIPTOR, values=[ _descriptor.EnumValueDescriptor( name='ETH', index=0, number=0, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='OPTICAL', index=1, number=1, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=237, serialized_end=278, ) _sym_db.RegisterEnumDescriptor(_CONNECTION_LAYERPROTOCOLNAME) _CONNECTION = _descriptor.Descriptor( name='Connection', full_name='connection.Connection', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='connectionId', full_name='connection.Connection.connectionId', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='sourceNode', full_name='connection.Connection.sourceNode', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='targetNode', full_name='connection.Connection.targetNode', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='sourcePort', full_name='connection.Connection.sourcePort', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='targetPort', full_name='connection.Connection.targetPort', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='bandwidth', full_name='connection.Connection.bandwidth', index=5, number=6, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='layerProtocolName', full_name='connection.Connection.layerProtocolName', index=6, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ _CONNECTION_LAYERPROTOCOLNAME, ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=33, serialized_end=278, ) _CONNECTIONLIST = _descriptor.Descriptor( name='ConnectionList', full_name='connection.ConnectionList', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='connection', full_name='connection.ConnectionList.connection', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=280, serialized_end=340, ) _CONNECTION.fields_by_name['layerProtocolName'].enum_type = _CONNECTION_LAYERPROTOCOLNAME _CONNECTION_LAYERPROTOCOLNAME.containing_type = _CONNECTION _CONNECTIONLIST.fields_by_name['connection'].message_type = _CONNECTION DESCRIPTOR.message_types_by_name['Connection'] = _CONNECTION DESCRIPTOR.message_types_by_name['ConnectionList'] = _CONNECTIONLIST _sym_db.RegisterFileDescriptor(DESCRIPTOR) Connection = _reflection.GeneratedProtocolMessageType('Connection', (_message.Message,), dict( DESCRIPTOR = _CONNECTION, __module__ = 'connection_pb2' # @@protoc_insertion_point(class_scope:connection.Connection) )) _sym_db.RegisterMessage(Connection) ConnectionList = _reflection.GeneratedProtocolMessageType('ConnectionList', (_message.Message,), dict( DESCRIPTOR = _CONNECTIONLIST, __module__ = 'connection_pb2' # @@protoc_insertion_point(class_scope:connection.ConnectionList) )) _sym_db.RegisterMessage(ConnectionList) # @@protoc_insertion_point(module_scope)