# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ImageMessage.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() import CameraType_pb2 as CameraType__pb2 import Rect_pb2 as Rect__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='ImageMessage.proto', package='', syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x12ImageMessage.proto\x1a\x10\x43\x61meraType.proto\x1a\nRect.proto\"t\n\x0cImageMessage\x12\x1c\n\x07\x63\x61mType\x18\x01 \x01(\x0e\x32\x0b.CameraType\x12\x14\n\x05\x62oxes\x18\x02 \x03(\x0b\x32\x05.Rect\x12\x1d\n\ttrackMode\x18\x03 \x01(\x0e\x32\n.TrackMode\x12\x11\n\ttimestamp\x18\x04 \x01(\x03*8\n\tTrackMode\x12\x14\n\x10TRACK_MODE_TRACK\x10\x00\x12\x15\n\x11TRACK_MODE_DETECT\x10\x01\x62\x06proto3' , dependencies=[CameraType__pb2.DESCRIPTOR,Rect__pb2.DESCRIPTOR,]) _TRACKMODE = _descriptor.EnumDescriptor( name='TrackMode', full_name='TrackMode', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='TRACK_MODE_TRACK', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TRACK_MODE_DETECT', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=170, serialized_end=226, ) _sym_db.RegisterEnumDescriptor(_TRACKMODE) TrackMode = enum_type_wrapper.EnumTypeWrapper(_TRACKMODE) TRACK_MODE_TRACK = 0 TRACK_MODE_DETECT = 1 _IMAGEMESSAGE = _descriptor.Descriptor( name='ImageMessage', full_name='ImageMessage', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='camType', full_name='ImageMessage.camType', 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='boxes', full_name='ImageMessage.boxes', 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), _descriptor.FieldDescriptor( name='trackMode', full_name='ImageMessage.trackMode', index=2, number=3, 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='timestamp', full_name='ImageMessage.timestamp', index=3, number=4, type=3, cpp_type=2, 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=52, serialized_end=168, ) _IMAGEMESSAGE.fields_by_name['camType'].enum_type = CameraType__pb2._CAMERATYPE _IMAGEMESSAGE.fields_by_name['boxes'].message_type = Rect__pb2._RECT _IMAGEMESSAGE.fields_by_name['trackMode'].enum_type = _TRACKMODE DESCRIPTOR.message_types_by_name['ImageMessage'] = _IMAGEMESSAGE DESCRIPTOR.enum_types_by_name['TrackMode'] = _TRACKMODE _sym_db.RegisterFileDescriptor(DESCRIPTOR) ImageMessage = _reflection.GeneratedProtocolMessageType('ImageMessage', (_message.Message,), { 'DESCRIPTOR' : _IMAGEMESSAGE, '__module__' : 'ImageMessage_pb2' # @@protoc_insertion_point(class_scope:ImageMessage) }) _sym_db.RegisterMessage(ImageMessage) # @@protoc_insertion_point(module_scope)