# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: service.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper 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() from . import context_pb2 as context__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='service.proto', package='service', syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, serialized_pb=b'\n\rservice.proto\x12\x07service\x1a\rcontext.proto\"+\n\x0bServiceList\x12\x1c\n\x02\x63s\x18\x01 \x03(\x0b\x32\x10.service.Service\"\x87\x02\n\x07Service\x12!\n\x05\x63s_id\x18\x01 \x01(\x0b\x32\x12.service.ServiceId\x12)\n\x0bserviceType\x18\x02 \x01(\x0e\x32\x14.service.ServiceType\x12)\n\x0c\x65ndpointList\x18\x03 \x03(\x0b\x32\x13.context.EndPointId\x12\'\n\nconstraint\x18\x04 \x03(\x0b\x32\x13.context.Constraint\x12+\n\x0cserviceState\x18\x05 \x01(\x0b\x32\x15.service.ServiceState\x12-\n\rserviceConfig\x18\x06 \x01(\x0b\x32\x16.service.ServiceConfig\"&\n\rServiceConfig\x12\x15\n\rserviceConfig\x18\x01 \x01(\t\"P\n\tServiceId\x12%\n\tcontextId\x18\x01 \x01(\x0b\x32\x12.context.ContextId\x12\x1c\n\x05\x63s_id\x18\x02 \x01(\x0b\x32\r.context.Uuid\":\n\rServiceIdList\x12)\n\rserviceIdList\x18\x01 \x03(\x0b\x32\x12.service.ServiceId\"?\n\x0cServiceState\x12/\n\x0cserviceState\x18\x01 \x01(\x0e\x32\x19.service.ServiceStateEnum\"=\n\x0e\x43onnectionList\x12+\n\x0e\x63onnectionList\x18\x01 \x03(\x0b\x32\x13.service.Connection\"\x84\x01\n\nConnection\x12%\n\x06\x63on_id\x18\x01 \x01(\x0b\x32\x15.service.ConnectionId\x12,\n\x10relatedServiceId\x18\x02 \x01(\x0b\x32\x12.service.ServiceId\x12!\n\x04path\x18\x03 \x03(\x0b\x32\x13.context.EndPointId\"-\n\x0c\x43onnectionId\x12\x1d\n\x06\x63on_id\x18\x01 \x01(\x0b\x32\r.context.Uuid*M\n\x0bServiceType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04L3NM\x10\x01\x12\x08\n\x04L2NM\x10\x02\x12\x1d\n\x19TAPI_CONNECTIVITY_SERVICE\x10\x03*@\n\x10ServiceStateEnum\x12\x0b\n\x07PLANNED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x13\n\x0fPENDING_REMOVAL\x10\x02\x32\xed\x02\n\x0eServiceService\x12\x38\n\x0eGetServiceList\x12\x0e.context.Empty\x1a\x14.service.ServiceList\"\x00\x12\x37\n\rCreateService\x12\x10.service.Service\x1a\x12.service.ServiceId\"\x00\x12\x37\n\rUpdateService\x12\x10.service.Service\x1a\x12.service.ServiceId\"\x00\x12\x35\n\rDeleteService\x12\x12.service.ServiceId\x1a\x0e.context.Empty\"\x00\x12\x38\n\x0eGetServiceById\x12\x12.service.ServiceId\x1a\x10.service.Service\"\x00\x12>\n\x11GetConnectionList\x12\x0e.context.Empty\x1a\x17.service.ConnectionList\"\x00\x62\x06proto3' , dependencies=[context__pb2.DESCRIPTOR,]) _SERVICETYPE = _descriptor.EnumDescriptor( name='ServiceType', full_name='service.ServiceType', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='L3NM', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='L2NM', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TAPI_CONNECTIVITY_SERVICE', index=3, number=3, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=844, serialized_end=921, ) _sym_db.RegisterEnumDescriptor(_SERVICETYPE) ServiceType = enum_type_wrapper.EnumTypeWrapper(_SERVICETYPE) _SERVICESTATEENUM = _descriptor.EnumDescriptor( name='ServiceStateEnum', full_name='service.ServiceStateEnum', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='PLANNED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='ACTIVE', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='PENDING_REMOVAL', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=923, serialized_end=987, ) _sym_db.RegisterEnumDescriptor(_SERVICESTATEENUM) ServiceStateEnum = enum_type_wrapper.EnumTypeWrapper(_SERVICESTATEENUM) UNKNOWN = 0 L3NM = 1 L2NM = 2 TAPI_CONNECTIVITY_SERVICE = 3 PLANNED = 0 ACTIVE = 1 PENDING_REMOVAL = 2 _SERVICELIST = _descriptor.Descriptor( name='ServiceList', full_name='service.ServiceList', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='cs', full_name='service.ServiceList.cs', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=41, serialized_end=84, ) _SERVICE = _descriptor.Descriptor( name='Service', full_name='service.Service', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='cs_id', full_name='service.Service.cs_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='serviceType', full_name='service.Service.serviceType', index=1, number=2, 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, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='endpointList', full_name='service.Service.endpointList', index=2, number=3, 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, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='constraint', full_name='service.Service.constraint', index=3, number=4, 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, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='serviceState', full_name='service.Service.serviceState', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='serviceConfig', full_name='service.Service.serviceConfig', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=87, serialized_end=350, ) _SERVICECONFIG = _descriptor.Descriptor( name='ServiceConfig', full_name='service.ServiceConfig', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='serviceConfig', full_name='service.ServiceConfig.serviceConfig', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=352, serialized_end=390, ) _SERVICEID = _descriptor.Descriptor( name='ServiceId', full_name='service.ServiceId', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='contextId', full_name='service.ServiceId.contextId', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cs_id', full_name='service.ServiceId.cs_id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=392, serialized_end=472, ) _SERVICEIDLIST = _descriptor.Descriptor( name='ServiceIdList', full_name='service.ServiceIdList', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='serviceIdList', full_name='service.ServiceIdList.serviceIdList', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=474, serialized_end=532, ) _SERVICESTATE = _descriptor.Descriptor( name='ServiceState', full_name='service.ServiceState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='serviceState', full_name='service.ServiceState.serviceState', index=0, number=1, 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=534, serialized_end=597, ) _CONNECTIONLIST = _descriptor.Descriptor( name='ConnectionList', full_name='service.ConnectionList', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='connectionList', full_name='service.ConnectionList.connectionList', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=599, serialized_end=660, ) _CONNECTION = _descriptor.Descriptor( name='Connection', full_name='service.Connection', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='con_id', full_name='service.Connection.con_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='relatedServiceId', full_name='service.Connection.relatedServiceId', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='path', full_name='service.Connection.path', index=2, number=3, 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=663, serialized_end=795, ) _CONNECTIONID = _descriptor.Descriptor( name='ConnectionId', full_name='service.ConnectionId', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='con_id', full_name='service.ConnectionId.con_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=797, serialized_end=842, ) _SERVICELIST.fields_by_name['cs'].message_type = _SERVICE _SERVICE.fields_by_name['cs_id'].message_type = _SERVICEID _SERVICE.fields_by_name['serviceType'].enum_type = _SERVICETYPE _SERVICE.fields_by_name['endpointList'].message_type = context__pb2._ENDPOINTID _SERVICE.fields_by_name['constraint'].message_type = context__pb2._CONSTRAINT _SERVICE.fields_by_name['serviceState'].message_type = _SERVICESTATE _SERVICE.fields_by_name['serviceConfig'].message_type = _SERVICECONFIG _SERVICEID.fields_by_name['contextId'].message_type = context__pb2._CONTEXTID _SERVICEID.fields_by_name['cs_id'].message_type = context__pb2._UUID _SERVICEIDLIST.fields_by_name['serviceIdList'].message_type = _SERVICEID _SERVICESTATE.fields_by_name['serviceState'].enum_type = _SERVICESTATEENUM _CONNECTIONLIST.fields_by_name['connectionList'].message_type = _CONNECTION _CONNECTION.fields_by_name['con_id'].message_type = _CONNECTIONID _CONNECTION.fields_by_name['relatedServiceId'].message_type = _SERVICEID _CONNECTION.fields_by_name['path'].message_type = context__pb2._ENDPOINTID _CONNECTIONID.fields_by_name['con_id'].message_type = context__pb2._UUID DESCRIPTOR.message_types_by_name['ServiceList'] = _SERVICELIST DESCRIPTOR.message_types_by_name['Service'] = _SERVICE DESCRIPTOR.message_types_by_name['ServiceConfig'] = _SERVICECONFIG DESCRIPTOR.message_types_by_name['ServiceId'] = _SERVICEID DESCRIPTOR.message_types_by_name['ServiceIdList'] = _SERVICEIDLIST DESCRIPTOR.message_types_by_name['ServiceState'] = _SERVICESTATE DESCRIPTOR.message_types_by_name['ConnectionList'] = _CONNECTIONLIST DESCRIPTOR.message_types_by_name['Connection'] = _CONNECTION DESCRIPTOR.message_types_by_name['ConnectionId'] = _CONNECTIONID DESCRIPTOR.enum_types_by_name['ServiceType'] = _SERVICETYPE DESCRIPTOR.enum_types_by_name['ServiceStateEnum'] = _SERVICESTATEENUM _sym_db.RegisterFileDescriptor(DESCRIPTOR) ServiceList = _reflection.GeneratedProtocolMessageType('ServiceList', (_message.Message,), { 'DESCRIPTOR' : _SERVICELIST, '__module__' : 'service_pb2' # @@protoc_insertion_point(class_scope:service.ServiceList) }) _sym_db.RegisterMessage(ServiceList) Service = _reflection.GeneratedProtocolMessageType('Service', (_message.Message,), { 'DESCRIPTOR' : _SERVICE, '__module__' : 'service_pb2' # @@protoc_insertion_point(class_scope:service.Service) }) _sym_db.RegisterMessage(Service) ServiceConfig = _reflection.GeneratedProtocolMessageType('ServiceConfig', (_message.Message,), { 'DESCRIPTOR' : _SERVICECONFIG, '__module__' : 'service_pb2' # @@protoc_insertion_point(class_scope:service.ServiceConfig) }) _sym_db.RegisterMessage(ServiceConfig) ServiceId = _reflection.GeneratedProtocolMessageType('ServiceId', (_message.Message,), { 'DESCRIPTOR' : _SERVICEID, '__module__' : 'service_pb2' # @@protoc_insertion_point(class_scope:service.ServiceId) }) _sym_db.RegisterMessage(ServiceId) ServiceIdList = _reflection.GeneratedProtocolMessageType('ServiceIdList', (_message.Message,), { 'DESCRIPTOR' : _SERVICEIDLIST, '__module__' : 'service_pb2' # @@protoc_insertion_point(class_scope:service.ServiceIdList) }) _sym_db.RegisterMessage(ServiceIdList) ServiceState = _reflection.GeneratedProtocolMessageType('ServiceState', (_message.Message,), { 'DESCRIPTOR' : _SERVICESTATE, '__module__' : 'service_pb2' # @@protoc_insertion_point(class_scope:service.ServiceState) }) _sym_db.RegisterMessage(ServiceState) ConnectionList = _reflection.GeneratedProtocolMessageType('ConnectionList', (_message.Message,), { 'DESCRIPTOR' : _CONNECTIONLIST, '__module__' : 'service_pb2' # @@protoc_insertion_point(class_scope:service.ConnectionList) }) _sym_db.RegisterMessage(ConnectionList) Connection = _reflection.GeneratedProtocolMessageType('Connection', (_message.Message,), { 'DESCRIPTOR' : _CONNECTION, '__module__' : 'service_pb2' # @@protoc_insertion_point(class_scope:service.Connection) }) _sym_db.RegisterMessage(Connection) ConnectionId = _reflection.GeneratedProtocolMessageType('ConnectionId', (_message.Message,), { 'DESCRIPTOR' : _CONNECTIONID, '__module__' : 'service_pb2' # @@protoc_insertion_point(class_scope:service.ConnectionId) }) _sym_db.RegisterMessage(ConnectionId) _SERVICESERVICE = _descriptor.ServiceDescriptor( name='ServiceService', full_name='service.ServiceService', file=DESCRIPTOR, index=0, serialized_options=None, create_key=_descriptor._internal_create_key, serialized_start=990, serialized_end=1355, methods=[ _descriptor.MethodDescriptor( name='GetServiceList', full_name='service.ServiceService.GetServiceList', index=0, containing_service=None, input_type=context__pb2._EMPTY, output_type=_SERVICELIST, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='CreateService', full_name='service.ServiceService.CreateService', index=1, containing_service=None, input_type=_SERVICE, output_type=_SERVICEID, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='UpdateService', full_name='service.ServiceService.UpdateService', index=2, containing_service=None, input_type=_SERVICE, output_type=_SERVICEID, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='DeleteService', full_name='service.ServiceService.DeleteService', index=3, containing_service=None, input_type=_SERVICEID, output_type=context__pb2._EMPTY, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='GetServiceById', full_name='service.ServiceService.GetServiceById', index=4, containing_service=None, input_type=_SERVICEID, output_type=_SERVICE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='GetConnectionList', full_name='service.ServiceService.GetConnectionList', index=5, containing_service=None, input_type=context__pb2._EMPTY, output_type=_CONNECTIONLIST, serialized_options=None, create_key=_descriptor._internal_create_key, ), ]) _sym_db.RegisterServiceDescriptor(_SERVICESERVICE) DESCRIPTOR.services_by_name['ServiceService'] = _SERVICESERVICE # @@protoc_insertion_point(module_scope)