kplayer_rust_wrap/kplayer/proto/
msg_plugin.rs

1// This file is generated by rust-protobuf 2.27.1. Do not edit
2// @generated
3
4// https://github.com/rust-lang/rust-clippy/issues/702
5#![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//! Generated file from `proto/msg/msg_plugin.proto`
21
22/// Generated files are compatible only with the same version
23/// of protobuf runtime.
24// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_27_1;
25
26#[derive(PartialEq,Clone,Default)]
27pub struct MessagePlugin {
28    // message fields
29    pub path: ::std::string::String,
30    pub unique: ::std::string::String,
31    pub name: ::std::string::String,
32    pub author: ::std::string::String,
33    pub media_type: i32,
34    pub sub_count: i32,
35    pub params: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
36    // special fields
37    pub unknown_fields: ::protobuf::UnknownFields,
38    pub cached_size: ::protobuf::CachedSize,
39}
40
41impl<'a> ::std::default::Default for &'a MessagePlugin {
42    fn default() -> &'a MessagePlugin {
43        <MessagePlugin as ::protobuf::Message>::default_instance()
44    }
45}
46
47impl MessagePlugin {
48    pub fn new() -> MessagePlugin {
49        ::std::default::Default::default()
50    }
51
52    // string path = 1;
53
54
55    pub fn get_path(&self) -> &str {
56        &self.path
57    }
58    pub fn clear_path(&mut self) {
59        self.path.clear();
60    }
61
62    // Param is passed by value, moved
63    pub fn set_path(&mut self, v: ::std::string::String) {
64        self.path = v;
65    }
66
67    // Mutable pointer to the field.
68    // If field is not initialized, it is initialized with default value first.
69    pub fn mut_path(&mut self) -> &mut ::std::string::String {
70        &mut self.path
71    }
72
73    // Take field
74    pub fn take_path(&mut self) -> ::std::string::String {
75        ::std::mem::replace(&mut self.path, ::std::string::String::new())
76    }
77
78    // string unique = 2;
79
80
81    pub fn get_unique(&self) -> &str {
82        &self.unique
83    }
84    pub fn clear_unique(&mut self) {
85        self.unique.clear();
86    }
87
88    // Param is passed by value, moved
89    pub fn set_unique(&mut self, v: ::std::string::String) {
90        self.unique = v;
91    }
92
93    // Mutable pointer to the field.
94    // If field is not initialized, it is initialized with default value first.
95    pub fn mut_unique(&mut self) -> &mut ::std::string::String {
96        &mut self.unique
97    }
98
99    // Take field
100    pub fn take_unique(&mut self) -> ::std::string::String {
101        ::std::mem::replace(&mut self.unique, ::std::string::String::new())
102    }
103
104    // string name = 3;
105
106
107    pub fn get_name(&self) -> &str {
108        &self.name
109    }
110    pub fn clear_name(&mut self) {
111        self.name.clear();
112    }
113
114    // Param is passed by value, moved
115    pub fn set_name(&mut self, v: ::std::string::String) {
116        self.name = v;
117    }
118
119    // Mutable pointer to the field.
120    // If field is not initialized, it is initialized with default value first.
121    pub fn mut_name(&mut self) -> &mut ::std::string::String {
122        &mut self.name
123    }
124
125    // Take field
126    pub fn take_name(&mut self) -> ::std::string::String {
127        ::std::mem::replace(&mut self.name, ::std::string::String::new())
128    }
129
130    // string author = 4;
131
132
133    pub fn get_author(&self) -> &str {
134        &self.author
135    }
136    pub fn clear_author(&mut self) {
137        self.author.clear();
138    }
139
140    // Param is passed by value, moved
141    pub fn set_author(&mut self, v: ::std::string::String) {
142        self.author = v;
143    }
144
145    // Mutable pointer to the field.
146    // If field is not initialized, it is initialized with default value first.
147    pub fn mut_author(&mut self) -> &mut ::std::string::String {
148        &mut self.author
149    }
150
151    // Take field
152    pub fn take_author(&mut self) -> ::std::string::String {
153        ::std::mem::replace(&mut self.author, ::std::string::String::new())
154    }
155
156    // int32 media_type = 5;
157
158
159    pub fn get_media_type(&self) -> i32 {
160        self.media_type
161    }
162    pub fn clear_media_type(&mut self) {
163        self.media_type = 0;
164    }
165
166    // Param is passed by value, moved
167    pub fn set_media_type(&mut self, v: i32) {
168        self.media_type = v;
169    }
170
171    // int32 sub_count = 6;
172
173
174    pub fn get_sub_count(&self) -> i32 {
175        self.sub_count
176    }
177    pub fn clear_sub_count(&mut self) {
178        self.sub_count = 0;
179    }
180
181    // Param is passed by value, moved
182    pub fn set_sub_count(&mut self, v: i32) {
183        self.sub_count = v;
184    }
185
186    // repeated .KPProto.Msg.MessagePlugin.ParamsEntry params = 7;
187
188
189    pub fn get_params(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
190        &self.params
191    }
192    pub fn clear_params(&mut self) {
193        self.params.clear();
194    }
195
196    // Param is passed by value, moved
197    pub fn set_params(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) {
198        self.params = v;
199    }
200
201    // Mutable pointer to the field.
202    pub fn mut_params(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> {
203        &mut self.params
204    }
205
206    // Take field
207    pub fn take_params(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> {
208        ::std::mem::replace(&mut self.params, ::std::collections::HashMap::new())
209    }
210}
211
212impl ::protobuf::Message for MessagePlugin {
213    fn is_initialized(&self) -> bool {
214        true
215    }
216
217    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
218        while !is.eof()? {
219            let (field_number, wire_type) = is.read_tag_unpack()?;
220            match field_number {
221                1 => {
222                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.path)?;
223                },
224                2 => {
225                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.unique)?;
226                },
227                3 => {
228                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
229                },
230                4 => {
231                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.author)?;
232                },
233                5 => {
234                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
235                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
236                    }
237                    let tmp = is.read_int32()?;
238                    self.media_type = tmp;
239                },
240                6 => {
241                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
242                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
243                    }
244                    let tmp = is.read_int32()?;
245                    self.sub_count = tmp;
246                },
247                7 => {
248                    ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.params)?;
249                },
250                _ => {
251                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
252                },
253            };
254        }
255        ::std::result::Result::Ok(())
256    }
257
258    // Compute sizes of nested messages
259    #[allow(unused_variables)]
260    fn compute_size(&self) -> u32 {
261        let mut my_size = 0;
262        if !self.path.is_empty() {
263            my_size += ::protobuf::rt::string_size(1, &self.path);
264        }
265        if !self.unique.is_empty() {
266            my_size += ::protobuf::rt::string_size(2, &self.unique);
267        }
268        if !self.name.is_empty() {
269            my_size += ::protobuf::rt::string_size(3, &self.name);
270        }
271        if !self.author.is_empty() {
272            my_size += ::protobuf::rt::string_size(4, &self.author);
273        }
274        if self.media_type != 0 {
275            my_size += ::protobuf::rt::value_size(5, self.media_type, ::protobuf::wire_format::WireTypeVarint);
276        }
277        if self.sub_count != 0 {
278            my_size += ::protobuf::rt::value_size(6, self.sub_count, ::protobuf::wire_format::WireTypeVarint);
279        }
280        my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(7, &self.params);
281        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
282        self.cached_size.set(my_size);
283        my_size
284    }
285
286    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
287        if !self.path.is_empty() {
288            os.write_string(1, &self.path)?;
289        }
290        if !self.unique.is_empty() {
291            os.write_string(2, &self.unique)?;
292        }
293        if !self.name.is_empty() {
294            os.write_string(3, &self.name)?;
295        }
296        if !self.author.is_empty() {
297            os.write_string(4, &self.author)?;
298        }
299        if self.media_type != 0 {
300            os.write_int32(5, self.media_type)?;
301        }
302        if self.sub_count != 0 {
303            os.write_int32(6, self.sub_count)?;
304        }
305        ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(7, &self.params, os)?;
306        os.write_unknown_fields(self.get_unknown_fields())?;
307        ::std::result::Result::Ok(())
308    }
309
310    fn get_cached_size(&self) -> u32 {
311        self.cached_size.get()
312    }
313
314    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
315        &self.unknown_fields
316    }
317
318    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
319        &mut self.unknown_fields
320    }
321
322    fn as_any(&self) -> &dyn (::std::any::Any) {
323        self as &dyn (::std::any::Any)
324    }
325    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
326        self as &mut dyn (::std::any::Any)
327    }
328    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
329        self
330    }
331
332    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
333        Self::descriptor_static()
334    }
335
336    fn new() -> MessagePlugin {
337        MessagePlugin::new()
338    }
339
340    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
341        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
342        descriptor.get(|| {
343            let mut fields = ::std::vec::Vec::new();
344            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
345                "path",
346                |m: &MessagePlugin| { &m.path },
347                |m: &mut MessagePlugin| { &mut m.path },
348            ));
349            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
350                "unique",
351                |m: &MessagePlugin| { &m.unique },
352                |m: &mut MessagePlugin| { &mut m.unique },
353            ));
354            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
355                "name",
356                |m: &MessagePlugin| { &m.name },
357                |m: &mut MessagePlugin| { &mut m.name },
358            ));
359            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
360                "author",
361                |m: &MessagePlugin| { &m.author },
362                |m: &mut MessagePlugin| { &mut m.author },
363            ));
364            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
365                "media_type",
366                |m: &MessagePlugin| { &m.media_type },
367                |m: &mut MessagePlugin| { &mut m.media_type },
368            ));
369            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
370                "sub_count",
371                |m: &MessagePlugin| { &m.sub_count },
372                |m: &mut MessagePlugin| { &mut m.sub_count },
373            ));
374            fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(
375                "params",
376                |m: &MessagePlugin| { &m.params },
377                |m: &mut MessagePlugin| { &mut m.params },
378            ));
379            ::protobuf::reflect::MessageDescriptor::new_pb_name::<MessagePlugin>(
380                "MessagePlugin",
381                fields,
382                file_descriptor_proto()
383            )
384        })
385    }
386
387    fn default_instance() -> &'static MessagePlugin {
388        static instance: ::protobuf::rt::LazyV2<MessagePlugin> = ::protobuf::rt::LazyV2::INIT;
389        instance.get(MessagePlugin::new)
390    }
391}
392
393impl ::protobuf::Clear for MessagePlugin {
394    fn clear(&mut self) {
395        self.path.clear();
396        self.unique.clear();
397        self.name.clear();
398        self.author.clear();
399        self.media_type = 0;
400        self.sub_count = 0;
401        self.params.clear();
402        self.unknown_fields.clear();
403    }
404}
405
406impl ::std::fmt::Debug for MessagePlugin {
407    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
408        ::protobuf::text_format::fmt(self, f)
409    }
410}
411
412impl ::protobuf::reflect::ProtobufValue for MessagePlugin {
413    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
414        ::protobuf::reflect::ReflectValueRef::Message(self)
415    }
416}
417
418#[derive(PartialEq,Clone,Default)]
419pub struct EventMessagePluginAdd {
420    // message fields
421    pub plugin: ::protobuf::SingularPtrField<MessagePlugin>,
422    pub error: ::std::string::String,
423    // special fields
424    pub unknown_fields: ::protobuf::UnknownFields,
425    pub cached_size: ::protobuf::CachedSize,
426}
427
428impl<'a> ::std::default::Default for &'a EventMessagePluginAdd {
429    fn default() -> &'a EventMessagePluginAdd {
430        <EventMessagePluginAdd as ::protobuf::Message>::default_instance()
431    }
432}
433
434impl EventMessagePluginAdd {
435    pub fn new() -> EventMessagePluginAdd {
436        ::std::default::Default::default()
437    }
438
439    // .KPProto.Msg.MessagePlugin plugin = 1;
440
441
442    pub fn get_plugin(&self) -> &MessagePlugin {
443        self.plugin.as_ref().unwrap_or_else(|| <MessagePlugin as ::protobuf::Message>::default_instance())
444    }
445    pub fn clear_plugin(&mut self) {
446        self.plugin.clear();
447    }
448
449    pub fn has_plugin(&self) -> bool {
450        self.plugin.is_some()
451    }
452
453    // Param is passed by value, moved
454    pub fn set_plugin(&mut self, v: MessagePlugin) {
455        self.plugin = ::protobuf::SingularPtrField::some(v);
456    }
457
458    // Mutable pointer to the field.
459    // If field is not initialized, it is initialized with default value first.
460    pub fn mut_plugin(&mut self) -> &mut MessagePlugin {
461        if self.plugin.is_none() {
462            self.plugin.set_default();
463        }
464        self.plugin.as_mut().unwrap()
465    }
466
467    // Take field
468    pub fn take_plugin(&mut self) -> MessagePlugin {
469        self.plugin.take().unwrap_or_else(|| MessagePlugin::new())
470    }
471
472    // string error = 2;
473
474
475    pub fn get_error(&self) -> &str {
476        &self.error
477    }
478    pub fn clear_error(&mut self) {
479        self.error.clear();
480    }
481
482    // Param is passed by value, moved
483    pub fn set_error(&mut self, v: ::std::string::String) {
484        self.error = v;
485    }
486
487    // Mutable pointer to the field.
488    // If field is not initialized, it is initialized with default value first.
489    pub fn mut_error(&mut self) -> &mut ::std::string::String {
490        &mut self.error
491    }
492
493    // Take field
494    pub fn take_error(&mut self) -> ::std::string::String {
495        ::std::mem::replace(&mut self.error, ::std::string::String::new())
496    }
497}
498
499impl ::protobuf::Message for EventMessagePluginAdd {
500    fn is_initialized(&self) -> bool {
501        for v in &self.plugin {
502            if !v.is_initialized() {
503                return false;
504            }
505        };
506        true
507    }
508
509    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
510        while !is.eof()? {
511            let (field_number, wire_type) = is.read_tag_unpack()?;
512            match field_number {
513                1 => {
514                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.plugin)?;
515                },
516                2 => {
517                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.error)?;
518                },
519                _ => {
520                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
521                },
522            };
523        }
524        ::std::result::Result::Ok(())
525    }
526
527    // Compute sizes of nested messages
528    #[allow(unused_variables)]
529    fn compute_size(&self) -> u32 {
530        let mut my_size = 0;
531        if let Some(ref v) = self.plugin.as_ref() {
532            let len = v.compute_size();
533            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
534        }
535        if !self.error.is_empty() {
536            my_size += ::protobuf::rt::string_size(2, &self.error);
537        }
538        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
539        self.cached_size.set(my_size);
540        my_size
541    }
542
543    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
544        if let Some(ref v) = self.plugin.as_ref() {
545            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
546            os.write_raw_varint32(v.get_cached_size())?;
547            v.write_to_with_cached_sizes(os)?;
548        }
549        if !self.error.is_empty() {
550            os.write_string(2, &self.error)?;
551        }
552        os.write_unknown_fields(self.get_unknown_fields())?;
553        ::std::result::Result::Ok(())
554    }
555
556    fn get_cached_size(&self) -> u32 {
557        self.cached_size.get()
558    }
559
560    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
561        &self.unknown_fields
562    }
563
564    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
565        &mut self.unknown_fields
566    }
567
568    fn as_any(&self) -> &dyn (::std::any::Any) {
569        self as &dyn (::std::any::Any)
570    }
571    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
572        self as &mut dyn (::std::any::Any)
573    }
574    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
575        self
576    }
577
578    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
579        Self::descriptor_static()
580    }
581
582    fn new() -> EventMessagePluginAdd {
583        EventMessagePluginAdd::new()
584    }
585
586    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
587        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
588        descriptor.get(|| {
589            let mut fields = ::std::vec::Vec::new();
590            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<MessagePlugin>>(
591                "plugin",
592                |m: &EventMessagePluginAdd| { &m.plugin },
593                |m: &mut EventMessagePluginAdd| { &mut m.plugin },
594            ));
595            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
596                "error",
597                |m: &EventMessagePluginAdd| { &m.error },
598                |m: &mut EventMessagePluginAdd| { &mut m.error },
599            ));
600            ::protobuf::reflect::MessageDescriptor::new_pb_name::<EventMessagePluginAdd>(
601                "EventMessagePluginAdd",
602                fields,
603                file_descriptor_proto()
604            )
605        })
606    }
607
608    fn default_instance() -> &'static EventMessagePluginAdd {
609        static instance: ::protobuf::rt::LazyV2<EventMessagePluginAdd> = ::protobuf::rt::LazyV2::INIT;
610        instance.get(EventMessagePluginAdd::new)
611    }
612}
613
614impl ::protobuf::Clear for EventMessagePluginAdd {
615    fn clear(&mut self) {
616        self.plugin.clear();
617        self.error.clear();
618        self.unknown_fields.clear();
619    }
620}
621
622impl ::std::fmt::Debug for EventMessagePluginAdd {
623    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
624        ::protobuf::text_format::fmt(self, f)
625    }
626}
627
628impl ::protobuf::reflect::ProtobufValue for EventMessagePluginAdd {
629    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
630        ::protobuf::reflect::ReflectValueRef::Message(self)
631    }
632}
633
634#[derive(PartialEq,Clone,Default)]
635pub struct EventMessagePluginRemove {
636    // message fields
637    pub plugin: ::protobuf::SingularPtrField<MessagePlugin>,
638    pub error: ::std::string::String,
639    // special fields
640    pub unknown_fields: ::protobuf::UnknownFields,
641    pub cached_size: ::protobuf::CachedSize,
642}
643
644impl<'a> ::std::default::Default for &'a EventMessagePluginRemove {
645    fn default() -> &'a EventMessagePluginRemove {
646        <EventMessagePluginRemove as ::protobuf::Message>::default_instance()
647    }
648}
649
650impl EventMessagePluginRemove {
651    pub fn new() -> EventMessagePluginRemove {
652        ::std::default::Default::default()
653    }
654
655    // .KPProto.Msg.MessagePlugin plugin = 1;
656
657
658    pub fn get_plugin(&self) -> &MessagePlugin {
659        self.plugin.as_ref().unwrap_or_else(|| <MessagePlugin as ::protobuf::Message>::default_instance())
660    }
661    pub fn clear_plugin(&mut self) {
662        self.plugin.clear();
663    }
664
665    pub fn has_plugin(&self) -> bool {
666        self.plugin.is_some()
667    }
668
669    // Param is passed by value, moved
670    pub fn set_plugin(&mut self, v: MessagePlugin) {
671        self.plugin = ::protobuf::SingularPtrField::some(v);
672    }
673
674    // Mutable pointer to the field.
675    // If field is not initialized, it is initialized with default value first.
676    pub fn mut_plugin(&mut self) -> &mut MessagePlugin {
677        if self.plugin.is_none() {
678            self.plugin.set_default();
679        }
680        self.plugin.as_mut().unwrap()
681    }
682
683    // Take field
684    pub fn take_plugin(&mut self) -> MessagePlugin {
685        self.plugin.take().unwrap_or_else(|| MessagePlugin::new())
686    }
687
688    // string error = 2;
689
690
691    pub fn get_error(&self) -> &str {
692        &self.error
693    }
694    pub fn clear_error(&mut self) {
695        self.error.clear();
696    }
697
698    // Param is passed by value, moved
699    pub fn set_error(&mut self, v: ::std::string::String) {
700        self.error = v;
701    }
702
703    // Mutable pointer to the field.
704    // If field is not initialized, it is initialized with default value first.
705    pub fn mut_error(&mut self) -> &mut ::std::string::String {
706        &mut self.error
707    }
708
709    // Take field
710    pub fn take_error(&mut self) -> ::std::string::String {
711        ::std::mem::replace(&mut self.error, ::std::string::String::new())
712    }
713}
714
715impl ::protobuf::Message for EventMessagePluginRemove {
716    fn is_initialized(&self) -> bool {
717        for v in &self.plugin {
718            if !v.is_initialized() {
719                return false;
720            }
721        };
722        true
723    }
724
725    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
726        while !is.eof()? {
727            let (field_number, wire_type) = is.read_tag_unpack()?;
728            match field_number {
729                1 => {
730                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.plugin)?;
731                },
732                2 => {
733                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.error)?;
734                },
735                _ => {
736                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
737                },
738            };
739        }
740        ::std::result::Result::Ok(())
741    }
742
743    // Compute sizes of nested messages
744    #[allow(unused_variables)]
745    fn compute_size(&self) -> u32 {
746        let mut my_size = 0;
747        if let Some(ref v) = self.plugin.as_ref() {
748            let len = v.compute_size();
749            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
750        }
751        if !self.error.is_empty() {
752            my_size += ::protobuf::rt::string_size(2, &self.error);
753        }
754        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
755        self.cached_size.set(my_size);
756        my_size
757    }
758
759    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
760        if let Some(ref v) = self.plugin.as_ref() {
761            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
762            os.write_raw_varint32(v.get_cached_size())?;
763            v.write_to_with_cached_sizes(os)?;
764        }
765        if !self.error.is_empty() {
766            os.write_string(2, &self.error)?;
767        }
768        os.write_unknown_fields(self.get_unknown_fields())?;
769        ::std::result::Result::Ok(())
770    }
771
772    fn get_cached_size(&self) -> u32 {
773        self.cached_size.get()
774    }
775
776    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
777        &self.unknown_fields
778    }
779
780    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
781        &mut self.unknown_fields
782    }
783
784    fn as_any(&self) -> &dyn (::std::any::Any) {
785        self as &dyn (::std::any::Any)
786    }
787    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
788        self as &mut dyn (::std::any::Any)
789    }
790    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
791        self
792    }
793
794    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
795        Self::descriptor_static()
796    }
797
798    fn new() -> EventMessagePluginRemove {
799        EventMessagePluginRemove::new()
800    }
801
802    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
803        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
804        descriptor.get(|| {
805            let mut fields = ::std::vec::Vec::new();
806            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<MessagePlugin>>(
807                "plugin",
808                |m: &EventMessagePluginRemove| { &m.plugin },
809                |m: &mut EventMessagePluginRemove| { &mut m.plugin },
810            ));
811            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
812                "error",
813                |m: &EventMessagePluginRemove| { &m.error },
814                |m: &mut EventMessagePluginRemove| { &mut m.error },
815            ));
816            ::protobuf::reflect::MessageDescriptor::new_pb_name::<EventMessagePluginRemove>(
817                "EventMessagePluginRemove",
818                fields,
819                file_descriptor_proto()
820            )
821        })
822    }
823
824    fn default_instance() -> &'static EventMessagePluginRemove {
825        static instance: ::protobuf::rt::LazyV2<EventMessagePluginRemove> = ::protobuf::rt::LazyV2::INIT;
826        instance.get(EventMessagePluginRemove::new)
827    }
828}
829
830impl ::protobuf::Clear for EventMessagePluginRemove {
831    fn clear(&mut self) {
832        self.plugin.clear();
833        self.error.clear();
834        self.unknown_fields.clear();
835    }
836}
837
838impl ::std::fmt::Debug for EventMessagePluginRemove {
839    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
840        ::protobuf::text_format::fmt(self, f)
841    }
842}
843
844impl ::protobuf::reflect::ProtobufValue for EventMessagePluginRemove {
845    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
846        ::protobuf::reflect::ReflectValueRef::Message(self)
847    }
848}
849
850#[derive(PartialEq,Clone,Default)]
851pub struct EventMessagePluginList {
852    // message fields
853    pub plugins: ::protobuf::RepeatedField<MessagePlugin>,
854    pub error: ::std::string::String,
855    // special fields
856    pub unknown_fields: ::protobuf::UnknownFields,
857    pub cached_size: ::protobuf::CachedSize,
858}
859
860impl<'a> ::std::default::Default for &'a EventMessagePluginList {
861    fn default() -> &'a EventMessagePluginList {
862        <EventMessagePluginList as ::protobuf::Message>::default_instance()
863    }
864}
865
866impl EventMessagePluginList {
867    pub fn new() -> EventMessagePluginList {
868        ::std::default::Default::default()
869    }
870
871    // repeated .KPProto.Msg.MessagePlugin plugins = 1;
872
873
874    pub fn get_plugins(&self) -> &[MessagePlugin] {
875        &self.plugins
876    }
877    pub fn clear_plugins(&mut self) {
878        self.plugins.clear();
879    }
880
881    // Param is passed by value, moved
882    pub fn set_plugins(&mut self, v: ::protobuf::RepeatedField<MessagePlugin>) {
883        self.plugins = v;
884    }
885
886    // Mutable pointer to the field.
887    pub fn mut_plugins(&mut self) -> &mut ::protobuf::RepeatedField<MessagePlugin> {
888        &mut self.plugins
889    }
890
891    // Take field
892    pub fn take_plugins(&mut self) -> ::protobuf::RepeatedField<MessagePlugin> {
893        ::std::mem::replace(&mut self.plugins, ::protobuf::RepeatedField::new())
894    }
895
896    // string error = 2;
897
898
899    pub fn get_error(&self) -> &str {
900        &self.error
901    }
902    pub fn clear_error(&mut self) {
903        self.error.clear();
904    }
905
906    // Param is passed by value, moved
907    pub fn set_error(&mut self, v: ::std::string::String) {
908        self.error = v;
909    }
910
911    // Mutable pointer to the field.
912    // If field is not initialized, it is initialized with default value first.
913    pub fn mut_error(&mut self) -> &mut ::std::string::String {
914        &mut self.error
915    }
916
917    // Take field
918    pub fn take_error(&mut self) -> ::std::string::String {
919        ::std::mem::replace(&mut self.error, ::std::string::String::new())
920    }
921}
922
923impl ::protobuf::Message for EventMessagePluginList {
924    fn is_initialized(&self) -> bool {
925        for v in &self.plugins {
926            if !v.is_initialized() {
927                return false;
928            }
929        };
930        true
931    }
932
933    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
934        while !is.eof()? {
935            let (field_number, wire_type) = is.read_tag_unpack()?;
936            match field_number {
937                1 => {
938                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.plugins)?;
939                },
940                2 => {
941                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.error)?;
942                },
943                _ => {
944                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
945                },
946            };
947        }
948        ::std::result::Result::Ok(())
949    }
950
951    // Compute sizes of nested messages
952    #[allow(unused_variables)]
953    fn compute_size(&self) -> u32 {
954        let mut my_size = 0;
955        for value in &self.plugins {
956            let len = value.compute_size();
957            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
958        };
959        if !self.error.is_empty() {
960            my_size += ::protobuf::rt::string_size(2, &self.error);
961        }
962        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
963        self.cached_size.set(my_size);
964        my_size
965    }
966
967    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
968        for v in &self.plugins {
969            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
970            os.write_raw_varint32(v.get_cached_size())?;
971            v.write_to_with_cached_sizes(os)?;
972        };
973        if !self.error.is_empty() {
974            os.write_string(2, &self.error)?;
975        }
976        os.write_unknown_fields(self.get_unknown_fields())?;
977        ::std::result::Result::Ok(())
978    }
979
980    fn get_cached_size(&self) -> u32 {
981        self.cached_size.get()
982    }
983
984    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
985        &self.unknown_fields
986    }
987
988    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
989        &mut self.unknown_fields
990    }
991
992    fn as_any(&self) -> &dyn (::std::any::Any) {
993        self as &dyn (::std::any::Any)
994    }
995    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
996        self as &mut dyn (::std::any::Any)
997    }
998    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
999        self
1000    }
1001
1002    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1003        Self::descriptor_static()
1004    }
1005
1006    fn new() -> EventMessagePluginList {
1007        EventMessagePluginList::new()
1008    }
1009
1010    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1011        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1012        descriptor.get(|| {
1013            let mut fields = ::std::vec::Vec::new();
1014            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<MessagePlugin>>(
1015                "plugins",
1016                |m: &EventMessagePluginList| { &m.plugins },
1017                |m: &mut EventMessagePluginList| { &mut m.plugins },
1018            ));
1019            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1020                "error",
1021                |m: &EventMessagePluginList| { &m.error },
1022                |m: &mut EventMessagePluginList| { &mut m.error },
1023            ));
1024            ::protobuf::reflect::MessageDescriptor::new_pb_name::<EventMessagePluginList>(
1025                "EventMessagePluginList",
1026                fields,
1027                file_descriptor_proto()
1028            )
1029        })
1030    }
1031
1032    fn default_instance() -> &'static EventMessagePluginList {
1033        static instance: ::protobuf::rt::LazyV2<EventMessagePluginList> = ::protobuf::rt::LazyV2::INIT;
1034        instance.get(EventMessagePluginList::new)
1035    }
1036}
1037
1038impl ::protobuf::Clear for EventMessagePluginList {
1039    fn clear(&mut self) {
1040        self.plugins.clear();
1041        self.error.clear();
1042        self.unknown_fields.clear();
1043    }
1044}
1045
1046impl ::std::fmt::Debug for EventMessagePluginList {
1047    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1048        ::protobuf::text_format::fmt(self, f)
1049    }
1050}
1051
1052impl ::protobuf::reflect::ProtobufValue for EventMessagePluginList {
1053    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1054        ::protobuf::reflect::ReflectValueRef::Message(self)
1055    }
1056}
1057
1058#[derive(PartialEq,Clone,Default)]
1059pub struct EventMessagePluginUpdate {
1060    // message fields
1061    pub plugin: ::protobuf::SingularPtrField<MessagePlugin>,
1062    pub error: ::std::string::String,
1063    // special fields
1064    pub unknown_fields: ::protobuf::UnknownFields,
1065    pub cached_size: ::protobuf::CachedSize,
1066}
1067
1068impl<'a> ::std::default::Default for &'a EventMessagePluginUpdate {
1069    fn default() -> &'a EventMessagePluginUpdate {
1070        <EventMessagePluginUpdate as ::protobuf::Message>::default_instance()
1071    }
1072}
1073
1074impl EventMessagePluginUpdate {
1075    pub fn new() -> EventMessagePluginUpdate {
1076        ::std::default::Default::default()
1077    }
1078
1079    // .KPProto.Msg.MessagePlugin plugin = 1;
1080
1081
1082    pub fn get_plugin(&self) -> &MessagePlugin {
1083        self.plugin.as_ref().unwrap_or_else(|| <MessagePlugin as ::protobuf::Message>::default_instance())
1084    }
1085    pub fn clear_plugin(&mut self) {
1086        self.plugin.clear();
1087    }
1088
1089    pub fn has_plugin(&self) -> bool {
1090        self.plugin.is_some()
1091    }
1092
1093    // Param is passed by value, moved
1094    pub fn set_plugin(&mut self, v: MessagePlugin) {
1095        self.plugin = ::protobuf::SingularPtrField::some(v);
1096    }
1097
1098    // Mutable pointer to the field.
1099    // If field is not initialized, it is initialized with default value first.
1100    pub fn mut_plugin(&mut self) -> &mut MessagePlugin {
1101        if self.plugin.is_none() {
1102            self.plugin.set_default();
1103        }
1104        self.plugin.as_mut().unwrap()
1105    }
1106
1107    // Take field
1108    pub fn take_plugin(&mut self) -> MessagePlugin {
1109        self.plugin.take().unwrap_or_else(|| MessagePlugin::new())
1110    }
1111
1112    // string error = 2;
1113
1114
1115    pub fn get_error(&self) -> &str {
1116        &self.error
1117    }
1118    pub fn clear_error(&mut self) {
1119        self.error.clear();
1120    }
1121
1122    // Param is passed by value, moved
1123    pub fn set_error(&mut self, v: ::std::string::String) {
1124        self.error = v;
1125    }
1126
1127    // Mutable pointer to the field.
1128    // If field is not initialized, it is initialized with default value first.
1129    pub fn mut_error(&mut self) -> &mut ::std::string::String {
1130        &mut self.error
1131    }
1132
1133    // Take field
1134    pub fn take_error(&mut self) -> ::std::string::String {
1135        ::std::mem::replace(&mut self.error, ::std::string::String::new())
1136    }
1137}
1138
1139impl ::protobuf::Message for EventMessagePluginUpdate {
1140    fn is_initialized(&self) -> bool {
1141        for v in &self.plugin {
1142            if !v.is_initialized() {
1143                return false;
1144            }
1145        };
1146        true
1147    }
1148
1149    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1150        while !is.eof()? {
1151            let (field_number, wire_type) = is.read_tag_unpack()?;
1152            match field_number {
1153                1 => {
1154                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.plugin)?;
1155                },
1156                2 => {
1157                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.error)?;
1158                },
1159                _ => {
1160                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1161                },
1162            };
1163        }
1164        ::std::result::Result::Ok(())
1165    }
1166
1167    // Compute sizes of nested messages
1168    #[allow(unused_variables)]
1169    fn compute_size(&self) -> u32 {
1170        let mut my_size = 0;
1171        if let Some(ref v) = self.plugin.as_ref() {
1172            let len = v.compute_size();
1173            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1174        }
1175        if !self.error.is_empty() {
1176            my_size += ::protobuf::rt::string_size(2, &self.error);
1177        }
1178        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1179        self.cached_size.set(my_size);
1180        my_size
1181    }
1182
1183    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1184        if let Some(ref v) = self.plugin.as_ref() {
1185            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1186            os.write_raw_varint32(v.get_cached_size())?;
1187            v.write_to_with_cached_sizes(os)?;
1188        }
1189        if !self.error.is_empty() {
1190            os.write_string(2, &self.error)?;
1191        }
1192        os.write_unknown_fields(self.get_unknown_fields())?;
1193        ::std::result::Result::Ok(())
1194    }
1195
1196    fn get_cached_size(&self) -> u32 {
1197        self.cached_size.get()
1198    }
1199
1200    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1201        &self.unknown_fields
1202    }
1203
1204    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1205        &mut self.unknown_fields
1206    }
1207
1208    fn as_any(&self) -> &dyn (::std::any::Any) {
1209        self as &dyn (::std::any::Any)
1210    }
1211    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1212        self as &mut dyn (::std::any::Any)
1213    }
1214    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1215        self
1216    }
1217
1218    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1219        Self::descriptor_static()
1220    }
1221
1222    fn new() -> EventMessagePluginUpdate {
1223        EventMessagePluginUpdate::new()
1224    }
1225
1226    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1227        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1228        descriptor.get(|| {
1229            let mut fields = ::std::vec::Vec::new();
1230            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<MessagePlugin>>(
1231                "plugin",
1232                |m: &EventMessagePluginUpdate| { &m.plugin },
1233                |m: &mut EventMessagePluginUpdate| { &mut m.plugin },
1234            ));
1235            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1236                "error",
1237                |m: &EventMessagePluginUpdate| { &m.error },
1238                |m: &mut EventMessagePluginUpdate| { &mut m.error },
1239            ));
1240            ::protobuf::reflect::MessageDescriptor::new_pb_name::<EventMessagePluginUpdate>(
1241                "EventMessagePluginUpdate",
1242                fields,
1243                file_descriptor_proto()
1244            )
1245        })
1246    }
1247
1248    fn default_instance() -> &'static EventMessagePluginUpdate {
1249        static instance: ::protobuf::rt::LazyV2<EventMessagePluginUpdate> = ::protobuf::rt::LazyV2::INIT;
1250        instance.get(EventMessagePluginUpdate::new)
1251    }
1252}
1253
1254impl ::protobuf::Clear for EventMessagePluginUpdate {
1255    fn clear(&mut self) {
1256        self.plugin.clear();
1257        self.error.clear();
1258        self.unknown_fields.clear();
1259    }
1260}
1261
1262impl ::std::fmt::Debug for EventMessagePluginUpdate {
1263    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1264        ::protobuf::text_format::fmt(self, f)
1265    }
1266}
1267
1268impl ::protobuf::reflect::ProtobufValue for EventMessagePluginUpdate {
1269    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1270        ::protobuf::reflect::ReflectValueRef::Message(self)
1271    }
1272}
1273
1274static file_descriptor_proto_data: &'static [u8] = b"\
1275    \n\x1aproto/msg/msg_plugin.proto\x12\x0bKPProto.Msg\"\x9e\x02\n\rMessage\
1276    Plugin\x12\x12\n\x04path\x18\x01\x20\x01(\tR\x04path\x12\x16\n\x06unique\
1277    \x18\x02\x20\x01(\tR\x06unique\x12\x12\n\x04name\x18\x03\x20\x01(\tR\x04\
1278    name\x12\x16\n\x06author\x18\x04\x20\x01(\tR\x06author\x12\x1d\n\nmedia_\
1279    type\x18\x05\x20\x01(\x05R\tmediaType\x12\x1b\n\tsub_count\x18\x06\x20\
1280    \x01(\x05R\x08subCount\x12>\n\x06params\x18\x07\x20\x03(\x0b2&.KPProto.M\
1281    sg.MessagePlugin.ParamsEntryR\x06params\x1a9\n\x0bParamsEntry\x12\x10\n\
1282    \x03key\x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05value\x18\x02\x20\x01(\t\
1283    R\x05value:\x028\x01\"a\n\x15EventMessagePluginAdd\x122\n\x06plugin\x18\
1284    \x01\x20\x01(\x0b2\x1a.KPProto.Msg.MessagePluginR\x06plugin\x12\x14\n\
1285    \x05error\x18\x02\x20\x01(\tR\x05error\"d\n\x18EventMessagePluginRemove\
1286    \x122\n\x06plugin\x18\x01\x20\x01(\x0b2\x1a.KPProto.Msg.MessagePluginR\
1287    \x06plugin\x12\x14\n\x05error\x18\x02\x20\x01(\tR\x05error\"d\n\x16Event\
1288    MessagePluginList\x124\n\x07plugins\x18\x01\x20\x03(\x0b2\x1a.KPProto.Ms\
1289    g.MessagePluginR\x07plugins\x12\x14\n\x05error\x18\x02\x20\x01(\tR\x05er\
1290    ror\"d\n\x18EventMessagePluginUpdate\x122\n\x06plugin\x18\x01\x20\x01(\
1291    \x0b2\x1a.KPProto.Msg.MessagePluginR\x06plugin\x12\x14\n\x05error\x18\
1292    \x02\x20\x01(\tR\x05errorB2Z0github.com/bytelang/kplayer/types/core/prot\
1293    o/msgJ\xf0\x07\n\x06\x12\x04\0\0\"\x01\n\x08\n\x01\x0c\x12\x03\0\0\x12\n\
1294    \x08\n\x01\x02\x12\x03\x02\0\x14\n\x08\n\x01\x08\x12\x03\x04\0G\n\t\n\
1295    \x02\x08\x0b\x12\x03\x04\0G\n\n\n\x02\x04\0\x12\x04\x06\0\x0e\x01\n\n\n\
1296    \x03\x04\0\x01\x12\x03\x06\x08\x15\n\x0b\n\x04\x04\0\x02\0\x12\x03\x07\
1297    \x02\x12\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03\x07\x02\x08\n\x0c\n\x05\x04\
1298    \0\x02\0\x01\x12\x03\x07\t\r\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\x07\x10\
1299    \x11\n\x0b\n\x04\x04\0\x02\x01\x12\x03\x08\x02\x14\n\x0c\n\x05\x04\0\x02\
1300    \x01\x05\x12\x03\x08\x02\x08\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03\x08\t\
1301    \x0f\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03\x08\x12\x13\n\x0b\n\x04\x04\0\
1302    \x02\x02\x12\x03\t\x02\x12\n\x0c\n\x05\x04\0\x02\x02\x05\x12\x03\t\x02\
1303    \x08\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03\t\t\r\n\x0c\n\x05\x04\0\x02\
1304    \x02\x03\x12\x03\t\x10\x11\n\x0b\n\x04\x04\0\x02\x03\x12\x03\n\x02\x14\n\
1305    \x0c\n\x05\x04\0\x02\x03\x05\x12\x03\n\x02\x08\n\x0c\n\x05\x04\0\x02\x03\
1306    \x01\x12\x03\n\t\x0f\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x03\n\x12\x13\n\
1307    \x0b\n\x04\x04\0\x02\x04\x12\x03\x0b\x02\x17\n\x0c\n\x05\x04\0\x02\x04\
1308    \x05\x12\x03\x0b\x02\x07\n\x0c\n\x05\x04\0\x02\x04\x01\x12\x03\x0b\x08\
1309    \x12\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03\x0b\x15\x16\n\x0b\n\x04\x04\0\
1310    \x02\x05\x12\x03\x0c\x02\x16\n\x0c\n\x05\x04\0\x02\x05\x05\x12\x03\x0c\
1311    \x02\x07\n\x0c\n\x05\x04\0\x02\x05\x01\x12\x03\x0c\x08\x11\n\x0c\n\x05\
1312    \x04\0\x02\x05\x03\x12\x03\x0c\x14\x15\n\x0b\n\x04\x04\0\x02\x06\x12\x03\
1313    \r\x02!\n\x0c\n\x05\x04\0\x02\x06\x06\x12\x03\r\x02\x15\n\x0c\n\x05\x04\
1314    \0\x02\x06\x01\x12\x03\r\x16\x1c\n\x0c\n\x05\x04\0\x02\x06\x03\x12\x03\r\
1315    \x1f\x20\n\n\n\x02\x04\x01\x12\x04\x10\0\x13\x01\n\n\n\x03\x04\x01\x01\
1316    \x12\x03\x10\x08\x1d\n\x0b\n\x04\x04\x01\x02\0\x12\x03\x11\x02\x1b\n\x0c\
1317    \n\x05\x04\x01\x02\0\x06\x12\x03\x11\x02\x0f\n\x0c\n\x05\x04\x01\x02\0\
1318    \x01\x12\x03\x11\x10\x16\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03\x11\x19\
1319    \x1a\n\x0b\n\x04\x04\x01\x02\x01\x12\x03\x12\x02\x13\n\x0c\n\x05\x04\x01\
1320    \x02\x01\x05\x12\x03\x12\x02\x08\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03\
1321    \x12\t\x0e\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x03\x12\x11\x12\n\n\n\x02\
1322    \x04\x02\x12\x04\x15\0\x18\x01\n\n\n\x03\x04\x02\x01\x12\x03\x15\x08\x20\
1323    \n\x0b\n\x04\x04\x02\x02\0\x12\x03\x16\x02\x1b\n\x0c\n\x05\x04\x02\x02\0\
1324    \x06\x12\x03\x16\x02\x0f\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03\x16\x10\
1325    \x16\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03\x16\x19\x1a\n\x0b\n\x04\x04\
1326    \x02\x02\x01\x12\x03\x17\x02\x13\n\x0c\n\x05\x04\x02\x02\x01\x05\x12\x03\
1327    \x17\x02\x08\n\x0c\n\x05\x04\x02\x02\x01\x01\x12\x03\x17\t\x0e\n\x0c\n\
1328    \x05\x04\x02\x02\x01\x03\x12\x03\x17\x11\x12\n\n\n\x02\x04\x03\x12\x04\
1329    \x1a\0\x1d\x01\n\n\n\x03\x04\x03\x01\x12\x03\x1a\x08\x1e\n\x0b\n\x04\x04\
1330    \x03\x02\0\x12\x03\x1b\x02%\n\x0c\n\x05\x04\x03\x02\0\x04\x12\x03\x1b\
1331    \x02\n\n\x0c\n\x05\x04\x03\x02\0\x06\x12\x03\x1b\x0b\x18\n\x0c\n\x05\x04\
1332    \x03\x02\0\x01\x12\x03\x1b\x19\x20\n\x0c\n\x05\x04\x03\x02\0\x03\x12\x03\
1333    \x1b#$\n\x0b\n\x04\x04\x03\x02\x01\x12\x03\x1c\x02\x13\n\x0c\n\x05\x04\
1334    \x03\x02\x01\x05\x12\x03\x1c\x02\x08\n\x0c\n\x05\x04\x03\x02\x01\x01\x12\
1335    \x03\x1c\t\x0e\n\x0c\n\x05\x04\x03\x02\x01\x03\x12\x03\x1c\x11\x12\n\n\n\
1336    \x02\x04\x04\x12\x04\x1f\0\"\x01\n\n\n\x03\x04\x04\x01\x12\x03\x1f\x08\
1337    \x20\n\x0b\n\x04\x04\x04\x02\0\x12\x03\x20\x02\x1b\n\x0c\n\x05\x04\x04\
1338    \x02\0\x06\x12\x03\x20\x02\x0f\n\x0c\n\x05\x04\x04\x02\0\x01\x12\x03\x20\
1339    \x10\x16\n\x0c\n\x05\x04\x04\x02\0\x03\x12\x03\x20\x19\x1a\n\x0b\n\x04\
1340    \x04\x04\x02\x01\x12\x03!\x02\x13\n\x0c\n\x05\x04\x04\x02\x01\x05\x12\
1341    \x03!\x02\x08\n\x0c\n\x05\x04\x04\x02\x01\x01\x12\x03!\t\x0e\n\x0c\n\x05\
1342    \x04\x04\x02\x01\x03\x12\x03!\x11\x12b\x06proto3\
1343";
1344
1345static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
1346
1347fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
1348    ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
1349}
1350
1351pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
1352    file_descriptor_proto_lazy.get(|| {
1353        parse_descriptor_proto()
1354    })
1355}