Skip to content
Snippets Groups Projects
connectionService_pb2.py 2.74 KiB
Newer Older
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: connectionService.proto
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
from google.protobuf import descriptor_pool as _descriptor_pool
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 google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2


Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63onnectionService.proto\x12\nconnection\x1a\x1bgoogle/protobuf/empty.proto\"\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.Connection2\xa1\x01\n\x11\x43onnectionService\x12\x44\n\x10\x43reateConnection\x12\x16.connection.Connection\x1a\x16.google.protobuf.Empty\"\x00\x12\x46\n\x0eListConnection\x12\x16.google.protobuf.Empty\x1a\x1a.connection.ConnectionList\"\x00\x62\x06proto3')
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
_CONNECTION = DESCRIPTOR.message_types_by_name['Connection']
_CONNECTIONLIST = DESCRIPTOR.message_types_by_name['ConnectionList']
_CONNECTION_LAYERPROTOCOLNAME = _CONNECTION.enum_types_by_name['LayerProtocolName']
Connection = _reflection.GeneratedProtocolMessageType('Connection', (_message.Message,), {
  'DESCRIPTOR' : _CONNECTION,
  '__module__' : 'connectionService_pb2'
  # @@protoc_insertion_point(class_scope:connection.Connection)
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
  })
_sym_db.RegisterMessage(Connection)

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
ConnectionList = _reflection.GeneratedProtocolMessageType('ConnectionList', (_message.Message,), {
  'DESCRIPTOR' : _CONNECTIONLIST,
  '__module__' : 'connectionService_pb2'
  # @@protoc_insertion_point(class_scope:connection.ConnectionList)
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
  })
_sym_db.RegisterMessage(ConnectionList)

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
_CONNECTIONSERVICE = DESCRIPTOR.services_by_name['ConnectionService']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _CONNECTION._serialized_start=69
  _CONNECTION._serialized_end=314
  _CONNECTION_LAYERPROTOCOLNAME._serialized_start=273
  _CONNECTION_LAYERPROTOCOLNAME._serialized_end=314
  _CONNECTIONLIST._serialized_start=316
  _CONNECTIONLIST._serialized_end=376
  _CONNECTIONSERVICE._serialized_start=379
  _CONNECTIONSERVICE._serialized_end=540
# @@protoc_insertion_point(module_scope)