1#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![allow(unused_attributes)]
9#![cfg_attr(rustfmt, rustfmt::skip)]
10
11#![allow(box_pointers)]
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20#[derive(PartialEq,Clone,Default)]
27pub struct MalosEyeConfig {
28 pub camera_config: ::protobuf::SingularPtrField<CameraConfig>,
30 pub face_config: ::protobuf::SingularPtrField<FaceConfig>,
31 pub detection_server_config: ::protobuf::SingularPtrField<DetectionServerConfig>,
32 pub object_to_detect: ::std::vec::Vec<EnumMalosEyeDetectionType>,
33 pub action: EnumMalosAction,
34 pub models: ::protobuf::RepeatedField<super::entity::Entity>,
35 pub config: ::protobuf::SingularPtrField<super::entity::Entity>,
36 pub unknown_fields: ::protobuf::UnknownFields,
38 pub cached_size: ::protobuf::CachedSize,
39}
40
41impl<'a> ::std::default::Default for &'a MalosEyeConfig {
42 fn default() -> &'a MalosEyeConfig {
43 <MalosEyeConfig as ::protobuf::Message>::default_instance()
44 }
45}
46
47impl MalosEyeConfig {
48 pub fn new() -> MalosEyeConfig {
49 ::std::default::Default::default()
50 }
51
52 pub fn get_camera_config(&self) -> &CameraConfig {
56 self.camera_config.as_ref().unwrap_or_else(|| <CameraConfig as ::protobuf::Message>::default_instance())
57 }
58 pub fn clear_camera_config(&mut self) {
59 self.camera_config.clear();
60 }
61
62 pub fn has_camera_config(&self) -> bool {
63 self.camera_config.is_some()
64 }
65
66 pub fn set_camera_config(&mut self, v: CameraConfig) {
68 self.camera_config = ::protobuf::SingularPtrField::some(v);
69 }
70
71 pub fn mut_camera_config(&mut self) -> &mut CameraConfig {
74 if self.camera_config.is_none() {
75 self.camera_config.set_default();
76 }
77 self.camera_config.as_mut().unwrap()
78 }
79
80 pub fn take_camera_config(&mut self) -> CameraConfig {
82 self.camera_config.take().unwrap_or_else(|| CameraConfig::new())
83 }
84
85 pub fn get_face_config(&self) -> &FaceConfig {
89 self.face_config.as_ref().unwrap_or_else(|| <FaceConfig as ::protobuf::Message>::default_instance())
90 }
91 pub fn clear_face_config(&mut self) {
92 self.face_config.clear();
93 }
94
95 pub fn has_face_config(&self) -> bool {
96 self.face_config.is_some()
97 }
98
99 pub fn set_face_config(&mut self, v: FaceConfig) {
101 self.face_config = ::protobuf::SingularPtrField::some(v);
102 }
103
104 pub fn mut_face_config(&mut self) -> &mut FaceConfig {
107 if self.face_config.is_none() {
108 self.face_config.set_default();
109 }
110 self.face_config.as_mut().unwrap()
111 }
112
113 pub fn take_face_config(&mut self) -> FaceConfig {
115 self.face_config.take().unwrap_or_else(|| FaceConfig::new())
116 }
117
118 pub fn get_detection_server_config(&self) -> &DetectionServerConfig {
122 self.detection_server_config.as_ref().unwrap_or_else(|| <DetectionServerConfig as ::protobuf::Message>::default_instance())
123 }
124 pub fn clear_detection_server_config(&mut self) {
125 self.detection_server_config.clear();
126 }
127
128 pub fn has_detection_server_config(&self) -> bool {
129 self.detection_server_config.is_some()
130 }
131
132 pub fn set_detection_server_config(&mut self, v: DetectionServerConfig) {
134 self.detection_server_config = ::protobuf::SingularPtrField::some(v);
135 }
136
137 pub fn mut_detection_server_config(&mut self) -> &mut DetectionServerConfig {
140 if self.detection_server_config.is_none() {
141 self.detection_server_config.set_default();
142 }
143 self.detection_server_config.as_mut().unwrap()
144 }
145
146 pub fn take_detection_server_config(&mut self) -> DetectionServerConfig {
148 self.detection_server_config.take().unwrap_or_else(|| DetectionServerConfig::new())
149 }
150
151 pub fn get_object_to_detect(&self) -> &[EnumMalosEyeDetectionType] {
155 &self.object_to_detect
156 }
157 pub fn clear_object_to_detect(&mut self) {
158 self.object_to_detect.clear();
159 }
160
161 pub fn set_object_to_detect(&mut self, v: ::std::vec::Vec<EnumMalosEyeDetectionType>) {
163 self.object_to_detect = v;
164 }
165
166 pub fn mut_object_to_detect(&mut self) -> &mut ::std::vec::Vec<EnumMalosEyeDetectionType> {
168 &mut self.object_to_detect
169 }
170
171 pub fn take_object_to_detect(&mut self) -> ::std::vec::Vec<EnumMalosEyeDetectionType> {
173 ::std::mem::replace(&mut self.object_to_detect, ::std::vec::Vec::new())
174 }
175
176 pub fn get_action(&self) -> EnumMalosAction {
180 self.action
181 }
182 pub fn clear_action(&mut self) {
183 self.action = EnumMalosAction::MALOS_ACTION_NOT_DEFINED;
184 }
185
186 pub fn set_action(&mut self, v: EnumMalosAction) {
188 self.action = v;
189 }
190
191 pub fn get_models(&self) -> &[super::entity::Entity] {
195 &self.models
196 }
197 pub fn clear_models(&mut self) {
198 self.models.clear();
199 }
200
201 pub fn set_models(&mut self, v: ::protobuf::RepeatedField<super::entity::Entity>) {
203 self.models = v;
204 }
205
206 pub fn mut_models(&mut self) -> &mut ::protobuf::RepeatedField<super::entity::Entity> {
208 &mut self.models
209 }
210
211 pub fn take_models(&mut self) -> ::protobuf::RepeatedField<super::entity::Entity> {
213 ::std::mem::replace(&mut self.models, ::protobuf::RepeatedField::new())
214 }
215
216 pub fn get_config(&self) -> &super::entity::Entity {
220 self.config.as_ref().unwrap_or_else(|| <super::entity::Entity as ::protobuf::Message>::default_instance())
221 }
222 pub fn clear_config(&mut self) {
223 self.config.clear();
224 }
225
226 pub fn has_config(&self) -> bool {
227 self.config.is_some()
228 }
229
230 pub fn set_config(&mut self, v: super::entity::Entity) {
232 self.config = ::protobuf::SingularPtrField::some(v);
233 }
234
235 pub fn mut_config(&mut self) -> &mut super::entity::Entity {
238 if self.config.is_none() {
239 self.config.set_default();
240 }
241 self.config.as_mut().unwrap()
242 }
243
244 pub fn take_config(&mut self) -> super::entity::Entity {
246 self.config.take().unwrap_or_else(|| super::entity::Entity::new())
247 }
248}
249
250impl ::protobuf::Message for MalosEyeConfig {
251 fn is_initialized(&self) -> bool {
252 for v in &self.camera_config {
253 if !v.is_initialized() {
254 return false;
255 }
256 };
257 for v in &self.face_config {
258 if !v.is_initialized() {
259 return false;
260 }
261 };
262 for v in &self.detection_server_config {
263 if !v.is_initialized() {
264 return false;
265 }
266 };
267 for v in &self.models {
268 if !v.is_initialized() {
269 return false;
270 }
271 };
272 for v in &self.config {
273 if !v.is_initialized() {
274 return false;
275 }
276 };
277 true
278 }
279
280 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
281 while !is.eof()? {
282 let (field_number, wire_type) = is.read_tag_unpack()?;
283 match field_number {
284 1 => {
285 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.camera_config)?;
286 },
287 2 => {
288 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.face_config)?;
289 },
290 4 => {
291 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.detection_server_config)?;
292 },
293 21 => {
294 ::protobuf::rt::read_repeated_enum_with_unknown_fields_into(wire_type, is, &mut self.object_to_detect, 21, &mut self.unknown_fields)?
295 },
296 5 => {
297 ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.action, 5, &mut self.unknown_fields)?
298 },
299 6 => {
300 ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.models)?;
301 },
302 7 => {
303 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.config)?;
304 },
305 _ => {
306 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
307 },
308 };
309 }
310 ::std::result::Result::Ok(())
311 }
312
313 #[allow(unused_variables)]
315 fn compute_size(&self) -> u32 {
316 let mut my_size = 0;
317 if let Some(ref v) = self.camera_config.as_ref() {
318 let len = v.compute_size();
319 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
320 }
321 if let Some(ref v) = self.face_config.as_ref() {
322 let len = v.compute_size();
323 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
324 }
325 if let Some(ref v) = self.detection_server_config.as_ref() {
326 let len = v.compute_size();
327 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
328 }
329 for value in &self.object_to_detect {
330 my_size += ::protobuf::rt::enum_size(21, *value);
331 };
332 if self.action != EnumMalosAction::MALOS_ACTION_NOT_DEFINED {
333 my_size += ::protobuf::rt::enum_size(5, self.action);
334 }
335 for value in &self.models {
336 let len = value.compute_size();
337 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
338 };
339 if let Some(ref v) = self.config.as_ref() {
340 let len = v.compute_size();
341 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
342 }
343 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
344 self.cached_size.set(my_size);
345 my_size
346 }
347
348 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
349 if let Some(ref v) = self.camera_config.as_ref() {
350 os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
351 os.write_raw_varint32(v.get_cached_size())?;
352 v.write_to_with_cached_sizes(os)?;
353 }
354 if let Some(ref v) = self.face_config.as_ref() {
355 os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
356 os.write_raw_varint32(v.get_cached_size())?;
357 v.write_to_with_cached_sizes(os)?;
358 }
359 if let Some(ref v) = self.detection_server_config.as_ref() {
360 os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
361 os.write_raw_varint32(v.get_cached_size())?;
362 v.write_to_with_cached_sizes(os)?;
363 }
364 for v in &self.object_to_detect {
365 os.write_enum(21, ::protobuf::ProtobufEnum::value(v))?;
366 };
367 if self.action != EnumMalosAction::MALOS_ACTION_NOT_DEFINED {
368 os.write_enum(5, ::protobuf::ProtobufEnum::value(&self.action))?;
369 }
370 for v in &self.models {
371 os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?;
372 os.write_raw_varint32(v.get_cached_size())?;
373 v.write_to_with_cached_sizes(os)?;
374 };
375 if let Some(ref v) = self.config.as_ref() {
376 os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?;
377 os.write_raw_varint32(v.get_cached_size())?;
378 v.write_to_with_cached_sizes(os)?;
379 }
380 os.write_unknown_fields(self.get_unknown_fields())?;
381 ::std::result::Result::Ok(())
382 }
383
384 fn get_cached_size(&self) -> u32 {
385 self.cached_size.get()
386 }
387
388 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
389 &self.unknown_fields
390 }
391
392 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
393 &mut self.unknown_fields
394 }
395
396 fn as_any(&self) -> &dyn (::std::any::Any) {
397 self as &dyn (::std::any::Any)
398 }
399 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
400 self as &mut dyn (::std::any::Any)
401 }
402 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
403 self
404 }
405
406 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
407 Self::descriptor_static()
408 }
409
410 fn new() -> MalosEyeConfig {
411 MalosEyeConfig::new()
412 }
413
414 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
415 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
416 descriptor.get(|| {
417 let mut fields = ::std::vec::Vec::new();
418 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<CameraConfig>>(
419 "camera_config",
420 |m: &MalosEyeConfig| { &m.camera_config },
421 |m: &mut MalosEyeConfig| { &mut m.camera_config },
422 ));
423 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<FaceConfig>>(
424 "face_config",
425 |m: &MalosEyeConfig| { &m.face_config },
426 |m: &mut MalosEyeConfig| { &mut m.face_config },
427 ));
428 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<DetectionServerConfig>>(
429 "detection_server_config",
430 |m: &MalosEyeConfig| { &m.detection_server_config },
431 |m: &mut MalosEyeConfig| { &mut m.detection_server_config },
432 ));
433 fields.push(::protobuf::reflect::accessor::make_vec_accessor::<_, ::protobuf::types::ProtobufTypeEnum<EnumMalosEyeDetectionType>>(
434 "object_to_detect",
435 |m: &MalosEyeConfig| { &m.object_to_detect },
436 |m: &mut MalosEyeConfig| { &mut m.object_to_detect },
437 ));
438 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<EnumMalosAction>>(
439 "action",
440 |m: &MalosEyeConfig| { &m.action },
441 |m: &mut MalosEyeConfig| { &mut m.action },
442 ));
443 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::entity::Entity>>(
444 "models",
445 |m: &MalosEyeConfig| { &m.models },
446 |m: &mut MalosEyeConfig| { &mut m.models },
447 ));
448 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::entity::Entity>>(
449 "config",
450 |m: &MalosEyeConfig| { &m.config },
451 |m: &mut MalosEyeConfig| { &mut m.config },
452 ));
453 ::protobuf::reflect::MessageDescriptor::new_pb_name::<MalosEyeConfig>(
454 "MalosEyeConfig",
455 fields,
456 file_descriptor_proto()
457 )
458 })
459 }
460
461 fn default_instance() -> &'static MalosEyeConfig {
462 static instance: ::protobuf::rt::LazyV2<MalosEyeConfig> = ::protobuf::rt::LazyV2::INIT;
463 instance.get(MalosEyeConfig::new)
464 }
465}
466
467impl ::protobuf::Clear for MalosEyeConfig {
468 fn clear(&mut self) {
469 self.camera_config.clear();
470 self.face_config.clear();
471 self.detection_server_config.clear();
472 self.object_to_detect.clear();
473 self.action = EnumMalosAction::MALOS_ACTION_NOT_DEFINED;
474 self.models.clear();
475 self.config.clear();
476 self.unknown_fields.clear();
477 }
478}
479
480impl ::std::fmt::Debug for MalosEyeConfig {
481 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
482 ::protobuf::text_format::fmt(self, f)
483 }
484}
485
486impl ::protobuf::reflect::ProtobufValue for MalosEyeConfig {
487 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
488 ::protobuf::reflect::ReflectValueRef::Message(self)
489 }
490}
491
492#[derive(PartialEq,Clone,Default)]
493pub struct CameraConfig {
494 pub source: ::std::string::String,
496 pub camera_id: i32,
497 pub width: i32,
498 pub height: i32,
499 pub unknown_fields: ::protobuf::UnknownFields,
501 pub cached_size: ::protobuf::CachedSize,
502}
503
504impl<'a> ::std::default::Default for &'a CameraConfig {
505 fn default() -> &'a CameraConfig {
506 <CameraConfig as ::protobuf::Message>::default_instance()
507 }
508}
509
510impl CameraConfig {
511 pub fn new() -> CameraConfig {
512 ::std::default::Default::default()
513 }
514
515 pub fn get_source(&self) -> &str {
519 &self.source
520 }
521 pub fn clear_source(&mut self) {
522 self.source.clear();
523 }
524
525 pub fn set_source(&mut self, v: ::std::string::String) {
527 self.source = v;
528 }
529
530 pub fn mut_source(&mut self) -> &mut ::std::string::String {
533 &mut self.source
534 }
535
536 pub fn take_source(&mut self) -> ::std::string::String {
538 ::std::mem::replace(&mut self.source, ::std::string::String::new())
539 }
540
541 pub fn get_camera_id(&self) -> i32 {
545 self.camera_id
546 }
547 pub fn clear_camera_id(&mut self) {
548 self.camera_id = 0;
549 }
550
551 pub fn set_camera_id(&mut self, v: i32) {
553 self.camera_id = v;
554 }
555
556 pub fn get_width(&self) -> i32 {
560 self.width
561 }
562 pub fn clear_width(&mut self) {
563 self.width = 0;
564 }
565
566 pub fn set_width(&mut self, v: i32) {
568 self.width = v;
569 }
570
571 pub fn get_height(&self) -> i32 {
575 self.height
576 }
577 pub fn clear_height(&mut self) {
578 self.height = 0;
579 }
580
581 pub fn set_height(&mut self, v: i32) {
583 self.height = v;
584 }
585}
586
587impl ::protobuf::Message for CameraConfig {
588 fn is_initialized(&self) -> bool {
589 true
590 }
591
592 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
593 while !is.eof()? {
594 let (field_number, wire_type) = is.read_tag_unpack()?;
595 match field_number {
596 4 => {
597 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.source)?;
598 },
599 1 => {
600 if wire_type != ::protobuf::wire_format::WireTypeVarint {
601 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
602 }
603 let tmp = is.read_int32()?;
604 self.camera_id = tmp;
605 },
606 2 => {
607 if wire_type != ::protobuf::wire_format::WireTypeVarint {
608 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
609 }
610 let tmp = is.read_int32()?;
611 self.width = tmp;
612 },
613 3 => {
614 if wire_type != ::protobuf::wire_format::WireTypeVarint {
615 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
616 }
617 let tmp = is.read_int32()?;
618 self.height = tmp;
619 },
620 _ => {
621 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
622 },
623 };
624 }
625 ::std::result::Result::Ok(())
626 }
627
628 #[allow(unused_variables)]
630 fn compute_size(&self) -> u32 {
631 let mut my_size = 0;
632 if !self.source.is_empty() {
633 my_size += ::protobuf::rt::string_size(4, &self.source);
634 }
635 if self.camera_id != 0 {
636 my_size += ::protobuf::rt::value_size(1, self.camera_id, ::protobuf::wire_format::WireTypeVarint);
637 }
638 if self.width != 0 {
639 my_size += ::protobuf::rt::value_size(2, self.width, ::protobuf::wire_format::WireTypeVarint);
640 }
641 if self.height != 0 {
642 my_size += ::protobuf::rt::value_size(3, self.height, ::protobuf::wire_format::WireTypeVarint);
643 }
644 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
645 self.cached_size.set(my_size);
646 my_size
647 }
648
649 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
650 if !self.source.is_empty() {
651 os.write_string(4, &self.source)?;
652 }
653 if self.camera_id != 0 {
654 os.write_int32(1, self.camera_id)?;
655 }
656 if self.width != 0 {
657 os.write_int32(2, self.width)?;
658 }
659 if self.height != 0 {
660 os.write_int32(3, self.height)?;
661 }
662 os.write_unknown_fields(self.get_unknown_fields())?;
663 ::std::result::Result::Ok(())
664 }
665
666 fn get_cached_size(&self) -> u32 {
667 self.cached_size.get()
668 }
669
670 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
671 &self.unknown_fields
672 }
673
674 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
675 &mut self.unknown_fields
676 }
677
678 fn as_any(&self) -> &dyn (::std::any::Any) {
679 self as &dyn (::std::any::Any)
680 }
681 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
682 self as &mut dyn (::std::any::Any)
683 }
684 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
685 self
686 }
687
688 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
689 Self::descriptor_static()
690 }
691
692 fn new() -> CameraConfig {
693 CameraConfig::new()
694 }
695
696 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
697 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
698 descriptor.get(|| {
699 let mut fields = ::std::vec::Vec::new();
700 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
701 "source",
702 |m: &CameraConfig| { &m.source },
703 |m: &mut CameraConfig| { &mut m.source },
704 ));
705 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
706 "camera_id",
707 |m: &CameraConfig| { &m.camera_id },
708 |m: &mut CameraConfig| { &mut m.camera_id },
709 ));
710 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
711 "width",
712 |m: &CameraConfig| { &m.width },
713 |m: &mut CameraConfig| { &mut m.width },
714 ));
715 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
716 "height",
717 |m: &CameraConfig| { &m.height },
718 |m: &mut CameraConfig| { &mut m.height },
719 ));
720 ::protobuf::reflect::MessageDescriptor::new_pb_name::<CameraConfig>(
721 "CameraConfig",
722 fields,
723 file_descriptor_proto()
724 )
725 })
726 }
727
728 fn default_instance() -> &'static CameraConfig {
729 static instance: ::protobuf::rt::LazyV2<CameraConfig> = ::protobuf::rt::LazyV2::INIT;
730 instance.get(CameraConfig::new)
731 }
732}
733
734impl ::protobuf::Clear for CameraConfig {
735 fn clear(&mut self) {
736 self.source.clear();
737 self.camera_id = 0;
738 self.width = 0;
739 self.height = 0;
740 self.unknown_fields.clear();
741 }
742}
743
744impl ::std::fmt::Debug for CameraConfig {
745 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
746 ::protobuf::text_format::fmt(self, f)
747 }
748}
749
750impl ::protobuf::reflect::ProtobufValue for CameraConfig {
751 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
752 ::protobuf::reflect::ReflectValueRef::Message(self)
753 }
754}
755
756#[derive(PartialEq,Clone,Default)]
757pub struct DetectionServerConfig {
758 pub detection_server_address: ::std::string::String,
760 pub detection_server_timeout: i32,
761 pub unknown_fields: ::protobuf::UnknownFields,
763 pub cached_size: ::protobuf::CachedSize,
764}
765
766impl<'a> ::std::default::Default for &'a DetectionServerConfig {
767 fn default() -> &'a DetectionServerConfig {
768 <DetectionServerConfig as ::protobuf::Message>::default_instance()
769 }
770}
771
772impl DetectionServerConfig {
773 pub fn new() -> DetectionServerConfig {
774 ::std::default::Default::default()
775 }
776
777 pub fn get_detection_server_address(&self) -> &str {
781 &self.detection_server_address
782 }
783 pub fn clear_detection_server_address(&mut self) {
784 self.detection_server_address.clear();
785 }
786
787 pub fn set_detection_server_address(&mut self, v: ::std::string::String) {
789 self.detection_server_address = v;
790 }
791
792 pub fn mut_detection_server_address(&mut self) -> &mut ::std::string::String {
795 &mut self.detection_server_address
796 }
797
798 pub fn take_detection_server_address(&mut self) -> ::std::string::String {
800 ::std::mem::replace(&mut self.detection_server_address, ::std::string::String::new())
801 }
802
803 pub fn get_detection_server_timeout(&self) -> i32 {
807 self.detection_server_timeout
808 }
809 pub fn clear_detection_server_timeout(&mut self) {
810 self.detection_server_timeout = 0;
811 }
812
813 pub fn set_detection_server_timeout(&mut self, v: i32) {
815 self.detection_server_timeout = v;
816 }
817}
818
819impl ::protobuf::Message for DetectionServerConfig {
820 fn is_initialized(&self) -> bool {
821 true
822 }
823
824 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
825 while !is.eof()? {
826 let (field_number, wire_type) = is.read_tag_unpack()?;
827 match field_number {
828 1 => {
829 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.detection_server_address)?;
830 },
831 2 => {
832 if wire_type != ::protobuf::wire_format::WireTypeVarint {
833 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
834 }
835 let tmp = is.read_int32()?;
836 self.detection_server_timeout = tmp;
837 },
838 _ => {
839 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
840 },
841 };
842 }
843 ::std::result::Result::Ok(())
844 }
845
846 #[allow(unused_variables)]
848 fn compute_size(&self) -> u32 {
849 let mut my_size = 0;
850 if !self.detection_server_address.is_empty() {
851 my_size += ::protobuf::rt::string_size(1, &self.detection_server_address);
852 }
853 if self.detection_server_timeout != 0 {
854 my_size += ::protobuf::rt::value_size(2, self.detection_server_timeout, ::protobuf::wire_format::WireTypeVarint);
855 }
856 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
857 self.cached_size.set(my_size);
858 my_size
859 }
860
861 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
862 if !self.detection_server_address.is_empty() {
863 os.write_string(1, &self.detection_server_address)?;
864 }
865 if self.detection_server_timeout != 0 {
866 os.write_int32(2, self.detection_server_timeout)?;
867 }
868 os.write_unknown_fields(self.get_unknown_fields())?;
869 ::std::result::Result::Ok(())
870 }
871
872 fn get_cached_size(&self) -> u32 {
873 self.cached_size.get()
874 }
875
876 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
877 &self.unknown_fields
878 }
879
880 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
881 &mut self.unknown_fields
882 }
883
884 fn as_any(&self) -> &dyn (::std::any::Any) {
885 self as &dyn (::std::any::Any)
886 }
887 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
888 self as &mut dyn (::std::any::Any)
889 }
890 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
891 self
892 }
893
894 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
895 Self::descriptor_static()
896 }
897
898 fn new() -> DetectionServerConfig {
899 DetectionServerConfig::new()
900 }
901
902 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
903 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
904 descriptor.get(|| {
905 let mut fields = ::std::vec::Vec::new();
906 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
907 "detection_server_address",
908 |m: &DetectionServerConfig| { &m.detection_server_address },
909 |m: &mut DetectionServerConfig| { &mut m.detection_server_address },
910 ));
911 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
912 "detection_server_timeout",
913 |m: &DetectionServerConfig| { &m.detection_server_timeout },
914 |m: &mut DetectionServerConfig| { &mut m.detection_server_timeout },
915 ));
916 ::protobuf::reflect::MessageDescriptor::new_pb_name::<DetectionServerConfig>(
917 "DetectionServerConfig",
918 fields,
919 file_descriptor_proto()
920 )
921 })
922 }
923
924 fn default_instance() -> &'static DetectionServerConfig {
925 static instance: ::protobuf::rt::LazyV2<DetectionServerConfig> = ::protobuf::rt::LazyV2::INIT;
926 instance.get(DetectionServerConfig::new)
927 }
928}
929
930impl ::protobuf::Clear for DetectionServerConfig {
931 fn clear(&mut self) {
932 self.detection_server_address.clear();
933 self.detection_server_timeout = 0;
934 self.unknown_fields.clear();
935 }
936}
937
938impl ::std::fmt::Debug for DetectionServerConfig {
939 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
940 ::protobuf::text_format::fmt(self, f)
941 }
942}
943
944impl ::protobuf::reflect::ProtobufValue for DetectionServerConfig {
945 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
946 ::protobuf::reflect::ReflectValueRef::Message(self)
947 }
948}
949
950#[derive(PartialEq,Clone,Default)]
951pub struct FaceConfig {
952 pub models_path: ::std::string::String,
954 pub send_slow: bool,
955 pub send_text_proto: bool,
956 pub unknown_fields: ::protobuf::UnknownFields,
958 pub cached_size: ::protobuf::CachedSize,
959}
960
961impl<'a> ::std::default::Default for &'a FaceConfig {
962 fn default() -> &'a FaceConfig {
963 <FaceConfig as ::protobuf::Message>::default_instance()
964 }
965}
966
967impl FaceConfig {
968 pub fn new() -> FaceConfig {
969 ::std::default::Default::default()
970 }
971
972 pub fn get_models_path(&self) -> &str {
976 &self.models_path
977 }
978 pub fn clear_models_path(&mut self) {
979 self.models_path.clear();
980 }
981
982 pub fn set_models_path(&mut self, v: ::std::string::String) {
984 self.models_path = v;
985 }
986
987 pub fn mut_models_path(&mut self) -> &mut ::std::string::String {
990 &mut self.models_path
991 }
992
993 pub fn take_models_path(&mut self) -> ::std::string::String {
995 ::std::mem::replace(&mut self.models_path, ::std::string::String::new())
996 }
997
998 pub fn get_send_slow(&self) -> bool {
1002 self.send_slow
1003 }
1004 pub fn clear_send_slow(&mut self) {
1005 self.send_slow = false;
1006 }
1007
1008 pub fn set_send_slow(&mut self, v: bool) {
1010 self.send_slow = v;
1011 }
1012
1013 pub fn get_send_text_proto(&self) -> bool {
1017 self.send_text_proto
1018 }
1019 pub fn clear_send_text_proto(&mut self) {
1020 self.send_text_proto = false;
1021 }
1022
1023 pub fn set_send_text_proto(&mut self, v: bool) {
1025 self.send_text_proto = v;
1026 }
1027}
1028
1029impl ::protobuf::Message for FaceConfig {
1030 fn is_initialized(&self) -> bool {
1031 true
1032 }
1033
1034 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1035 while !is.eof()? {
1036 let (field_number, wire_type) = is.read_tag_unpack()?;
1037 match field_number {
1038 1 => {
1039 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.models_path)?;
1040 },
1041 2 => {
1042 if wire_type != ::protobuf::wire_format::WireTypeVarint {
1043 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1044 }
1045 let tmp = is.read_bool()?;
1046 self.send_slow = tmp;
1047 },
1048 3 => {
1049 if wire_type != ::protobuf::wire_format::WireTypeVarint {
1050 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1051 }
1052 let tmp = is.read_bool()?;
1053 self.send_text_proto = tmp;
1054 },
1055 _ => {
1056 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1057 },
1058 };
1059 }
1060 ::std::result::Result::Ok(())
1061 }
1062
1063 #[allow(unused_variables)]
1065 fn compute_size(&self) -> u32 {
1066 let mut my_size = 0;
1067 if !self.models_path.is_empty() {
1068 my_size += ::protobuf::rt::string_size(1, &self.models_path);
1069 }
1070 if self.send_slow != false {
1071 my_size += 2;
1072 }
1073 if self.send_text_proto != false {
1074 my_size += 2;
1075 }
1076 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1077 self.cached_size.set(my_size);
1078 my_size
1079 }
1080
1081 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1082 if !self.models_path.is_empty() {
1083 os.write_string(1, &self.models_path)?;
1084 }
1085 if self.send_slow != false {
1086 os.write_bool(2, self.send_slow)?;
1087 }
1088 if self.send_text_proto != false {
1089 os.write_bool(3, self.send_text_proto)?;
1090 }
1091 os.write_unknown_fields(self.get_unknown_fields())?;
1092 ::std::result::Result::Ok(())
1093 }
1094
1095 fn get_cached_size(&self) -> u32 {
1096 self.cached_size.get()
1097 }
1098
1099 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1100 &self.unknown_fields
1101 }
1102
1103 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1104 &mut self.unknown_fields
1105 }
1106
1107 fn as_any(&self) -> &dyn (::std::any::Any) {
1108 self as &dyn (::std::any::Any)
1109 }
1110 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1111 self as &mut dyn (::std::any::Any)
1112 }
1113 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1114 self
1115 }
1116
1117 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1118 Self::descriptor_static()
1119 }
1120
1121 fn new() -> FaceConfig {
1122 FaceConfig::new()
1123 }
1124
1125 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1126 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1127 descriptor.get(|| {
1128 let mut fields = ::std::vec::Vec::new();
1129 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1130 "models_path",
1131 |m: &FaceConfig| { &m.models_path },
1132 |m: &mut FaceConfig| { &mut m.models_path },
1133 ));
1134 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
1135 "send_slow",
1136 |m: &FaceConfig| { &m.send_slow },
1137 |m: &mut FaceConfig| { &mut m.send_slow },
1138 ));
1139 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
1140 "send_text_proto",
1141 |m: &FaceConfig| { &m.send_text_proto },
1142 |m: &mut FaceConfig| { &mut m.send_text_proto },
1143 ));
1144 ::protobuf::reflect::MessageDescriptor::new_pb_name::<FaceConfig>(
1145 "FaceConfig",
1146 fields,
1147 file_descriptor_proto()
1148 )
1149 })
1150 }
1151
1152 fn default_instance() -> &'static FaceConfig {
1153 static instance: ::protobuf::rt::LazyV2<FaceConfig> = ::protobuf::rt::LazyV2::INIT;
1154 instance.get(FaceConfig::new)
1155 }
1156}
1157
1158impl ::protobuf::Clear for FaceConfig {
1159 fn clear(&mut self) {
1160 self.models_path.clear();
1161 self.send_slow = false;
1162 self.send_text_proto = false;
1163 self.unknown_fields.clear();
1164 }
1165}
1166
1167impl ::std::fmt::Debug for FaceConfig {
1168 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1169 ::protobuf::text_format::fmt(self, f)
1170 }
1171}
1172
1173impl ::protobuf::reflect::ProtobufValue for FaceConfig {
1174 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1175 ::protobuf::reflect::ReflectValueRef::Message(self)
1176 }
1177}
1178
1179#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1180pub enum EnumMalosAction {
1181 MALOS_ACTION_NOT_DEFINED = 0,
1182 START_DETECTION = 1,
1183 STOP_DETECTION = 2,
1184 RESTART_DETECTION = 3,
1185 CAPTURE_PREVIEW = 4,
1186 START_STREAMING = 5,
1187 STOP_STREAMING = 6,
1188}
1189
1190impl ::protobuf::ProtobufEnum for EnumMalosAction {
1191 fn value(&self) -> i32 {
1192 *self as i32
1193 }
1194
1195 fn from_i32(value: i32) -> ::std::option::Option<EnumMalosAction> {
1196 match value {
1197 0 => ::std::option::Option::Some(EnumMalosAction::MALOS_ACTION_NOT_DEFINED),
1198 1 => ::std::option::Option::Some(EnumMalosAction::START_DETECTION),
1199 2 => ::std::option::Option::Some(EnumMalosAction::STOP_DETECTION),
1200 3 => ::std::option::Option::Some(EnumMalosAction::RESTART_DETECTION),
1201 4 => ::std::option::Option::Some(EnumMalosAction::CAPTURE_PREVIEW),
1202 5 => ::std::option::Option::Some(EnumMalosAction::START_STREAMING),
1203 6 => ::std::option::Option::Some(EnumMalosAction::STOP_STREAMING),
1204 _ => ::std::option::Option::None
1205 }
1206 }
1207
1208 fn values() -> &'static [Self] {
1209 static values: &'static [EnumMalosAction] = &[
1210 EnumMalosAction::MALOS_ACTION_NOT_DEFINED,
1211 EnumMalosAction::START_DETECTION,
1212 EnumMalosAction::STOP_DETECTION,
1213 EnumMalosAction::RESTART_DETECTION,
1214 EnumMalosAction::CAPTURE_PREVIEW,
1215 EnumMalosAction::START_STREAMING,
1216 EnumMalosAction::STOP_STREAMING,
1217 ];
1218 values
1219 }
1220
1221 fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
1222 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
1223 descriptor.get(|| {
1224 ::protobuf::reflect::EnumDescriptor::new_pb_name::<EnumMalosAction>("EnumMalosAction", file_descriptor_proto())
1225 })
1226 }
1227}
1228
1229impl ::std::marker::Copy for EnumMalosAction {
1230}
1231
1232impl ::std::default::Default for EnumMalosAction {
1233 fn default() -> Self {
1234 EnumMalosAction::MALOS_ACTION_NOT_DEFINED
1235 }
1236}
1237
1238impl ::protobuf::reflect::ProtobufValue for EnumMalosAction {
1239 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1240 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
1241 }
1242}
1243
1244#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1245pub enum EnumMalosEyeDetectionType {
1246 MALOS_DETECTION_TYPE_NOT_DEFINED = 0,
1247 STOP = 1,
1248 FACE = 20,
1249 FACE_DEMOGRAPHICS = 21,
1250 FACE_DESCRIPTOR = 30,
1251 HAND_THUMB_UP = 40,
1252 HAND_PALM = 41,
1253 HAND_PINCH = 42,
1254 HAND_FIST = 43,
1255}
1256
1257impl ::protobuf::ProtobufEnum for EnumMalosEyeDetectionType {
1258 fn value(&self) -> i32 {
1259 *self as i32
1260 }
1261
1262 fn from_i32(value: i32) -> ::std::option::Option<EnumMalosEyeDetectionType> {
1263 match value {
1264 0 => ::std::option::Option::Some(EnumMalosEyeDetectionType::MALOS_DETECTION_TYPE_NOT_DEFINED),
1265 1 => ::std::option::Option::Some(EnumMalosEyeDetectionType::STOP),
1266 20 => ::std::option::Option::Some(EnumMalosEyeDetectionType::FACE),
1267 21 => ::std::option::Option::Some(EnumMalosEyeDetectionType::FACE_DEMOGRAPHICS),
1268 30 => ::std::option::Option::Some(EnumMalosEyeDetectionType::FACE_DESCRIPTOR),
1269 40 => ::std::option::Option::Some(EnumMalosEyeDetectionType::HAND_THUMB_UP),
1270 41 => ::std::option::Option::Some(EnumMalosEyeDetectionType::HAND_PALM),
1271 42 => ::std::option::Option::Some(EnumMalosEyeDetectionType::HAND_PINCH),
1272 43 => ::std::option::Option::Some(EnumMalosEyeDetectionType::HAND_FIST),
1273 _ => ::std::option::Option::None
1274 }
1275 }
1276
1277 fn values() -> &'static [Self] {
1278 static values: &'static [EnumMalosEyeDetectionType] = &[
1279 EnumMalosEyeDetectionType::MALOS_DETECTION_TYPE_NOT_DEFINED,
1280 EnumMalosEyeDetectionType::STOP,
1281 EnumMalosEyeDetectionType::FACE,
1282 EnumMalosEyeDetectionType::FACE_DEMOGRAPHICS,
1283 EnumMalosEyeDetectionType::FACE_DESCRIPTOR,
1284 EnumMalosEyeDetectionType::HAND_THUMB_UP,
1285 EnumMalosEyeDetectionType::HAND_PALM,
1286 EnumMalosEyeDetectionType::HAND_PINCH,
1287 EnumMalosEyeDetectionType::HAND_FIST,
1288 ];
1289 values
1290 }
1291
1292 fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
1293 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
1294 descriptor.get(|| {
1295 ::protobuf::reflect::EnumDescriptor::new_pb_name::<EnumMalosEyeDetectionType>("EnumMalosEyeDetectionType", file_descriptor_proto())
1296 })
1297 }
1298}
1299
1300impl ::std::marker::Copy for EnumMalosEyeDetectionType {
1301}
1302
1303impl ::std::default::Default for EnumMalosEyeDetectionType {
1304 fn default() -> Self {
1305 EnumMalosEyeDetectionType::MALOS_DETECTION_TYPE_NOT_DEFINED
1306 }
1307}
1308
1309impl ::protobuf::reflect::ProtobufValue for EnumMalosEyeDetectionType {
1310 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1311 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
1312 }
1313}
1314
1315static file_descriptor_proto_data: &'static [u8] = b"\
1316 \n!matrix_io/malos/v1/maloseye.proto\x12\x1bmatrix_io.malos.v1.maloseye\
1317 \x1a\x1dmatrix_io/common/entity.proto\"\xb2\x04\n\x0eMalosEyeConfig\x12P\
1318 \n\rcamera_config\x18\x01\x20\x01(\x0b2).matrix_io.malos.v1.maloseye.Cam\
1319 eraConfigR\x0ccameraConfigB\0\x12J\n\x0bface_config\x18\x02\x20\x01(\x0b\
1320 2'.matrix_io.malos.v1.maloseye.FaceConfigR\nfaceConfigB\0\x12l\n\x17dete\
1321 ction_server_config\x18\x04\x20\x01(\x0b22.matrix_io.malos.v1.maloseye.D\
1322 etectionServerConfigR\x15detectionServerConfigB\0\x12b\n\x10object_to_de\
1323 tect\x18\x15\x20\x03(\x0e26.matrix_io.malos.v1.maloseye.EnumMalosEyeDete\
1324 ctionTypeR\x0eobjectToDetectB\0\x12F\n\x06action\x18\x05\x20\x01(\x0e2,.\
1325 matrix_io.malos.v1.maloseye.EnumMalosActionR\x06actionB\0\x122\n\x06mode\
1326 ls\x18\x06\x20\x03(\x0b2\x18.matrix_io.common.EntityR\x06modelsB\0\x122\
1327 \n\x06config\x18\x07\x20\x01(\x0b2\x18.matrix_io.common.EntityR\x06confi\
1328 gB\0:\0\"{\n\x0cCameraConfig\x12\x18\n\x06source\x18\x04\x20\x01(\tR\x06\
1329 sourceB\0\x12\x1d\n\tcamera_id\x18\x01\x20\x01(\x05R\x08cameraIdB\0\x12\
1330 \x16\n\x05width\x18\x02\x20\x01(\x05R\x05widthB\0\x12\x18\n\x06height\
1331 \x18\x03\x20\x01(\x05R\x06heightB\0:\0\"\x91\x01\n\x15DetectionServerCon\
1332 fig\x12:\n\x18detection_server_address\x18\x01\x20\x01(\tR\x16detectionS\
1333 erverAddressB\0\x12:\n\x18detection_server_timeout\x18\x02\x20\x01(\x05R\
1334 \x16detectionServerTimeoutB\0:\0\"z\n\nFaceConfig\x12!\n\x0bmodels_path\
1335 \x18\x01\x20\x01(\tR\nmodelsPathB\0\x12\x1d\n\tsend_slow\x18\x02\x20\x01\
1336 (\x08R\x08sendSlowB\0\x12(\n\x0fsend_text_proto\x18\x03\x20\x01(\x08R\rs\
1337 endTextProtoB\0:\0*\xaf\x01\n\x0fEnumMalosAction\x12\x1c\n\x18MALOS_ACTI\
1338 ON_NOT_DEFINED\x10\0\x12\x13\n\x0fSTART_DETECTION\x10\x01\x12\x12\n\x0eS\
1339 TOP_DETECTION\x10\x02\x12\x15\n\x11RESTART_DETECTION\x10\x03\x12\x13\n\
1340 \x0fCAPTURE_PREVIEW\x10\x04\x12\x13\n\x0fSTART_STREAMING\x10\x05\x12\x12\
1341 \n\x0eSTOP_STREAMING\x10\x06\x1a\0*\xc4\x01\n\x19EnumMalosEyeDetectionTy\
1342 pe\x12$\n\x20MALOS_DETECTION_TYPE_NOT_DEFINED\x10\0\x12\x08\n\x04STOP\
1343 \x10\x01\x12\x08\n\x04FACE\x10\x14\x12\x15\n\x11FACE_DEMOGRAPHICS\x10\
1344 \x15\x12\x13\n\x0fFACE_DESCRIPTOR\x10\x1e\x12\x11\n\rHAND_THUMB_UP\x10(\
1345 \x12\r\n\tHAND_PALM\x10)\x12\x0e\n\nHAND_PINCH\x10*\x12\r\n\tHAND_FIST\
1346 \x10+\x1a\0B\0b\x06proto3\
1347";
1348
1349static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
1350
1351fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
1352 ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
1353}
1354
1355pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
1356 file_descriptor_proto_lazy.get(|| {
1357 parse_descriptor_proto()
1358 })
1359}