Skip to content
Snippets Groups Projects
pathcomp_pb2.py 4.35 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: pathcomp.proto
"""Generated protocol buffer code."""
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='pathcomp.proto',
  package='pathcomp',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0epathcomp.proto\x12\x08pathcomp\x1a\rcontext.proto\"5\n\x0fPathCompRequest\x12\"\n\x08services\x18\x01 \x03(\x0b\x32\x10.context.Service\"9\n\rPathCompReply\x12(\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32\x13.context.Connection2R\n\x0fPathCompService\x12?\n\x07\x43ompute\x12\x19.pathcomp.PathCompRequest\x1a\x17.pathcomp.PathCompReply\"\x00\x62\x06proto3'
  ,
  dependencies=[context__pb2.DESCRIPTOR,])




_PATHCOMPREQUEST = _descriptor.Descriptor(
  name='PathCompRequest',
  full_name='pathcomp.PathCompRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='services', full_name='pathcomp.PathCompRequest.services', 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=43,
  serialized_end=96,
)


_PATHCOMPREPLY = _descriptor.Descriptor(
  name='PathCompReply',
  full_name='pathcomp.PathCompReply',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='connections', full_name='pathcomp.PathCompReply.connections', 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=98,
  serialized_end=155,
)

_PATHCOMPREQUEST.fields_by_name['services'].message_type = context__pb2._SERVICE
_PATHCOMPREPLY.fields_by_name['connections'].message_type = context__pb2._CONNECTION
DESCRIPTOR.message_types_by_name['PathCompRequest'] = _PATHCOMPREQUEST
DESCRIPTOR.message_types_by_name['PathCompReply'] = _PATHCOMPREPLY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

PathCompRequest = _reflection.GeneratedProtocolMessageType('PathCompRequest', (_message.Message,), {
  'DESCRIPTOR' : _PATHCOMPREQUEST,
  '__module__' : 'pathcomp_pb2'
  # @@protoc_insertion_point(class_scope:pathcomp.PathCompRequest)
  })
_sym_db.RegisterMessage(PathCompRequest)

PathCompReply = _reflection.GeneratedProtocolMessageType('PathCompReply', (_message.Message,), {
  'DESCRIPTOR' : _PATHCOMPREPLY,
  '__module__' : 'pathcomp_pb2'
  # @@protoc_insertion_point(class_scope:pathcomp.PathCompReply)
  })
_sym_db.RegisterMessage(PathCompReply)



_PATHCOMPSERVICE = _descriptor.ServiceDescriptor(
  name='PathCompService',
  full_name='pathcomp.PathCompService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=157,
  serialized_end=239,
  methods=[
  _descriptor.MethodDescriptor(
    name='Compute',
    full_name='pathcomp.PathCompService.Compute',
    index=0,
    containing_service=None,
    input_type=_PATHCOMPREQUEST,
    output_type=_PATHCOMPREPLY,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_PATHCOMPSERVICE)

DESCRIPTOR.services_by_name['PathCompService'] = _PATHCOMPSERVICE

# @@protoc_insertion_point(module_scope)