# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: TrackCommandMessage.proto from google.protobuf.internal import enum_type_wrapper 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() DESCRIPTOR = _descriptor.FileDescriptor( name='TrackCommandMessage.proto', package='', syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x19TrackCommandMessage.proto\"`\n\x12ToggleTrackMessage\x12\x1e\n\x07\x63ommand\x18\x01 \x01(\x0e\x32\r.TrackCommand\x12\t\n\x01x\x18\x02 \x01(\x05\x12\t\n\x01y\x18\x03 \x01(\x05\x12\t\n\x01w\x18\x04 \x01(\x05\x12\t\n\x01h\x18\x05 \x01(\x05*_\n\x0cTrackCommand\x12\x16\n\x12TRACK_COMMAND_STOP\x10\x00\x12\x17\n\x13TRACK_COMMAND_START\x10\x01\x12\x1e\n\x1aTRACK_COMMAND_START_DETECT\x10\x02\x62\x06proto3' ) _TRACKCOMMAND = _descriptor.EnumDescriptor( name='TrackCommand', full_name='TrackCommand', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='TRACK_COMMAND_STOP', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TRACK_COMMAND_START', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TRACK_COMMAND_START_DETECT', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=127, serialized_end=222, ) _sym_db.RegisterEnumDescriptor(_TRACKCOMMAND) TrackCommand = enum_type_wrapper.EnumTypeWrapper(_TRACKCOMMAND) TRACK_COMMAND_STOP = 0 TRACK_COMMAND_START = 1 TRACK_COMMAND_START_DETECT = 2 _TOGGLETRACKMESSAGE = _descriptor.Descriptor( name='ToggleTrackMessage', full_name='ToggleTrackMessage', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='command', full_name='ToggleTrackMessage.command', 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='x', full_name='ToggleTrackMessage.x', index=1, number=2, type=5, cpp_type=1, 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='y', full_name='ToggleTrackMessage.y', index=2, number=3, type=5, cpp_type=1, 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='w', full_name='ToggleTrackMessage.w', index=3, number=4, type=5, cpp_type=1, 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='h', full_name='ToggleTrackMessage.h', index=4, number=5, type=5, cpp_type=1, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=29, serialized_end=125, ) _TOGGLETRACKMESSAGE.fields_by_name['command'].enum_type = _TRACKCOMMAND DESCRIPTOR.message_types_by_name['ToggleTrackMessage'] = _TOGGLETRACKMESSAGE DESCRIPTOR.enum_types_by_name['TrackCommand'] = _TRACKCOMMAND _sym_db.RegisterFileDescriptor(DESCRIPTOR) ToggleTrackMessage = _reflection.GeneratedProtocolMessageType('ToggleTrackMessage', (_message.Message,), { 'DESCRIPTOR' : _TOGGLETRACKMESSAGE, '__module__' : 'TrackCommandMessage_pb2' # @@protoc_insertion_point(class_scope:ToggleTrackMessage) }) _sym_db.RegisterMessage(ToggleTrackMessage) # @@protoc_insertion_point(module_scope)