Expand source code
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: BusInfo.proto
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()
import NodeInfo_pb2 as NodeInfo__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='BusInfo.proto',
package='Protocol.Datastructures',
syntax='proto3',
serialized_options=None,
serialized_pb=b'\n\rBusInfo.proto\x12\x17Protocol.Datastructures\x1a\x0eNodeInfo.proto\"I\n\x07\x42usInfo\x12\x0c\n\x04Name\x18\x01 \x01(\t\x12\x30\n\x05Nodes\x18\x02 \x03(\x0b\x32!.Protocol.Datastructures.NodeInfob\x06proto3',
dependencies=[NodeInfo__pb2.DESCRIPTOR, ])
_BUSINFO = _descriptor.Descriptor(
name='BusInfo',
full_name='Protocol.Datastructures.BusInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='Name', full_name='Protocol.Datastructures.BusInfo.Name', 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='Nodes', full_name='Protocol.Datastructures.BusInfo.Nodes', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=58,
serialized_end=131,
)
_BUSINFO.fields_by_name['Nodes'].message_type = NodeInfo__pb2._NODEINFO
DESCRIPTOR.message_types_by_name['BusInfo'] = _BUSINFO
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
BusInfo = _reflection.GeneratedProtocolMessageType('BusInfo', (_message.Message,), {
'DESCRIPTOR': _BUSINFO,
'__module__': 'BusInfo_pb2'
# @@protoc_insertion_point(class_scope:Protocol.Datastructures.BusInfo)
})
_sym_db.RegisterMessage(BusInfo)
# @@protoc_insertion_point(module_scope)