Newer
Older
# -*- 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\"]\n\rPathCompReply\x12\"\n\x08services\x18\x01 \x03(\x0b\x32\x10.context.Service\x12(\n\x0b\x63onnections\x18\x02 \x03(\x0b\x32\x13.context.Connection2R\n\x0fPathCompService\x12?\n\x07\x43ompute\x12\x19.pathcomp.PathCompRequest\x1a\x17.pathcomp.PathCompReply\"\x00\x62\x06proto3'
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
,
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='services', full_name='pathcomp.PathCompReply.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),
_descriptor.FieldDescriptor(
name='connections', full_name='pathcomp.PathCompReply.connections', index=1,
number=2, 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,
)
_PATHCOMPREQUEST.fields_by_name['services'].message_type = context__pb2._SERVICE
_PATHCOMPREPLY.fields_by_name['services'].message_type = context__pb2._SERVICE
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
_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,
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)