You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

162 lines
8.1 KiB

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: Message.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 enums_pb2 as enums__pb2
import ImageMessage_pb2 as ImageMessage__pb2
import TrackCommandMessage_pb2 as TrackCommandMessage__pb2
import TrackCoordsMessage_pb2 as TrackCoordsMessage__pb2
import TrackSettingsMessage_pb2 as TrackSettingsMessage__pb2
import SwitchCameraMessage_pb2 as SwitchCameraMessage__pb2
import SetCameraMessage_pb2 as SetCameraMessage__pb2
import ConnectStatus_pb2 as ConnectStatus__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='Message.proto',
package='',
syntax='proto3',
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\rMessage.proto\x1a\x0b\x65nums.proto\x1a\x12ImageMessage.proto\x1a\x19TrackCommandMessage.proto\x1a\x18TrackCoordsMessage.proto\x1a\x1aTrackSettingsMessage.proto\x1a\x19SwitchCameraMessage.proto\x1a\x16SetCameraMessage.proto\x1a\x13\x43onnectStatus.proto\"\xcf\x02\n\x07Message\x12\x1d\n\x07msgType\x18\x01 \x01(\x0e\x32\x0c.MessageType\x12\x1e\n\x05image\x18\x02 \x01(\x0b\x32\r.ImageMessageH\x00\x12(\n\ttrack_cmd\x18\x03 \x01(\x0b\x32\x13.ToggleTrackMessageH\x00\x12+\n\x0ctrack_coords\x18\x04 \x01(\x0b\x32\x13.TrackCoordsMessageH\x00\x12/\n\x0etrack_settings\x18\x05 \x01(\x0b\x32\x15.TrackSettingsMessageH\x00\x12*\n\ncam_switch\x18\x06 \x01(\x0b\x32\x14.SwitchCameraMessageH\x00\x12$\n\x07\x63\x61m_set\x18\x07 \x01(\x0b\x32\x11.SetCameraMessageH\x00\x12$\n\ncam_status\x18\x08 \x01(\x0b\x32\x0e.ConnectStatusH\x00\x42\x05\n\x03msgb\x06proto3'
,
dependencies=[enums__pb2.DESCRIPTOR,ImageMessage__pb2.DESCRIPTOR,TrackCommandMessage__pb2.DESCRIPTOR,TrackCoordsMessage__pb2.DESCRIPTOR,TrackSettingsMessage__pb2.DESCRIPTOR,SwitchCameraMessage__pb2.DESCRIPTOR,SetCameraMessage__pb2.DESCRIPTOR,ConnectStatus__pb2.DESCRIPTOR,])
_MESSAGE = _descriptor.Descriptor(
name='Message',
full_name='Message',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='msgType', full_name='Message.msgType', 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),
_descriptor.FieldDescriptor(
name='image', full_name='Message.image', 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='track_cmd', full_name='Message.track_cmd', index=2,
number=3, 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='track_coords', full_name='Message.track_coords', index=3,
number=4, 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='track_settings', full_name='Message.track_settings', 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='cam_switch', full_name='Message.cam_switch', 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),
_descriptor.FieldDescriptor(
name='cam_set', full_name='Message.cam_set', index=6,
number=7, 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='cam_status', full_name='Message.cam_status', index=7,
number=8, 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=[
_descriptor.OneofDescriptor(
name='msg', full_name='Message.msg',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=204,
serialized_end=539,
)
_MESSAGE.fields_by_name['msgType'].enum_type = enums__pb2._MESSAGETYPE
_MESSAGE.fields_by_name['image'].message_type = ImageMessage__pb2._IMAGEMESSAGE
_MESSAGE.fields_by_name['track_cmd'].message_type = TrackCommandMessage__pb2._TOGGLETRACKMESSAGE
_MESSAGE.fields_by_name['track_coords'].message_type = TrackCoordsMessage__pb2._TRACKCOORDSMESSAGE
_MESSAGE.fields_by_name['track_settings'].message_type = TrackSettingsMessage__pb2._TRACKSETTINGSMESSAGE
_MESSAGE.fields_by_name['cam_switch'].message_type = SwitchCameraMessage__pb2._SWITCHCAMERAMESSAGE
_MESSAGE.fields_by_name['cam_set'].message_type = SetCameraMessage__pb2._SETCAMERAMESSAGE
_MESSAGE.fields_by_name['cam_status'].message_type = ConnectStatus__pb2._CONNECTSTATUS
_MESSAGE.oneofs_by_name['msg'].fields.append(
_MESSAGE.fields_by_name['image'])
_MESSAGE.fields_by_name['image'].containing_oneof = _MESSAGE.oneofs_by_name['msg']
_MESSAGE.oneofs_by_name['msg'].fields.append(
_MESSAGE.fields_by_name['track_cmd'])
_MESSAGE.fields_by_name['track_cmd'].containing_oneof = _MESSAGE.oneofs_by_name['msg']
_MESSAGE.oneofs_by_name['msg'].fields.append(
_MESSAGE.fields_by_name['track_coords'])
_MESSAGE.fields_by_name['track_coords'].containing_oneof = _MESSAGE.oneofs_by_name['msg']
_MESSAGE.oneofs_by_name['msg'].fields.append(
_MESSAGE.fields_by_name['track_settings'])
_MESSAGE.fields_by_name['track_settings'].containing_oneof = _MESSAGE.oneofs_by_name['msg']
_MESSAGE.oneofs_by_name['msg'].fields.append(
_MESSAGE.fields_by_name['cam_switch'])
_MESSAGE.fields_by_name['cam_switch'].containing_oneof = _MESSAGE.oneofs_by_name['msg']
_MESSAGE.oneofs_by_name['msg'].fields.append(
_MESSAGE.fields_by_name['cam_set'])
_MESSAGE.fields_by_name['cam_set'].containing_oneof = _MESSAGE.oneofs_by_name['msg']
_MESSAGE.oneofs_by_name['msg'].fields.append(
_MESSAGE.fields_by_name['cam_status'])
_MESSAGE.fields_by_name['cam_status'].containing_oneof = _MESSAGE.oneofs_by_name['msg']
DESCRIPTOR.message_types_by_name['Message'] = _MESSAGE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Message = _reflection.GeneratedProtocolMessageType('Message', (_message.Message,), {
'DESCRIPTOR' : _MESSAGE,
'__module__' : 'Message_pb2'
# @@protoc_insertion_point(class_scope:Message)
})
_sym_db.RegisterMessage(Message)
# @@protoc_insertion_point(module_scope)