gz_msgs/ign_msgs8/
geometry.rs

1// This file is generated by rust-protobuf 3.7.2. Do not edit
2// .proto file is parsed by protoc 3.21.12
3// @generated
4
5// https://github.com/rust-lang/rust-clippy/issues/702
6#![allow(unknown_lints)]
7#![allow(clippy::all)]
8
9#![allow(unused_attributes)]
10#![cfg_attr(rustfmt, rustfmt::skip)]
11
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_results)]
19#![allow(unused_mut)]
20
21//! Generated file from `ignition/msgs/geometry.proto`
22
23/// Generated files are compatible only with the same version
24/// of protobuf runtime.
25const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
26
27#[derive(::gz_msgs_common::IgnMessage)]
28// @@protoc_insertion_point(message:ignition.msgs.Geometry)
29#[derive(PartialEq,Clone,Default,Debug)]
30pub struct Geometry {
31    // message fields
32    // @@protoc_insertion_point(field:ignition.msgs.Geometry.header)
33    pub header: ::protobuf::MessageField<super::header::Header>,
34    // @@protoc_insertion_point(field:ignition.msgs.Geometry.type)
35    pub type_: ::protobuf::EnumOrUnknown<geometry::Type>,
36    // @@protoc_insertion_point(field:ignition.msgs.Geometry.box)
37    pub box_: ::protobuf::MessageField<super::boxgeom::BoxGeom>,
38    // @@protoc_insertion_point(field:ignition.msgs.Geometry.cylinder)
39    pub cylinder: ::protobuf::MessageField<super::cylindergeom::CylinderGeom>,
40    // @@protoc_insertion_point(field:ignition.msgs.Geometry.plane)
41    pub plane: ::protobuf::MessageField<super::planegeom::PlaneGeom>,
42    // @@protoc_insertion_point(field:ignition.msgs.Geometry.sphere)
43    pub sphere: ::protobuf::MessageField<super::spheregeom::SphereGeom>,
44    // @@protoc_insertion_point(field:ignition.msgs.Geometry.image)
45    pub image: ::protobuf::MessageField<super::imagegeom::ImageGeom>,
46    // @@protoc_insertion_point(field:ignition.msgs.Geometry.heightmap)
47    pub heightmap: ::protobuf::MessageField<super::heightmapgeom::HeightmapGeom>,
48    // @@protoc_insertion_point(field:ignition.msgs.Geometry.mesh)
49    pub mesh: ::protobuf::MessageField<super::meshgeom::MeshGeom>,
50    // @@protoc_insertion_point(field:ignition.msgs.Geometry.cone)
51    pub cone: ::protobuf::MessageField<super::conegeom::ConeGeom>,
52    // @@protoc_insertion_point(field:ignition.msgs.Geometry.capsule)
53    pub capsule: ::protobuf::MessageField<super::capsulegeom::CapsuleGeom>,
54    // @@protoc_insertion_point(field:ignition.msgs.Geometry.ellipsoid)
55    pub ellipsoid: ::protobuf::MessageField<super::ellipsoidgeom::EllipsoidGeom>,
56    // @@protoc_insertion_point(field:ignition.msgs.Geometry.points)
57    pub points: ::std::vec::Vec<super::vector3d::Vector3d>,
58    // @@protoc_insertion_point(field:ignition.msgs.Geometry.polyline)
59    pub polyline: ::std::vec::Vec<super::polylinegeom::Polyline>,
60    // special fields
61    // @@protoc_insertion_point(special_field:ignition.msgs.Geometry.special_fields)
62    pub special_fields: ::protobuf::SpecialFields,
63}
64
65impl<'a> ::std::default::Default for &'a Geometry {
66    fn default() -> &'a Geometry {
67        <Geometry as ::protobuf::Message>::default_instance()
68    }
69}
70
71impl Geometry {
72    pub fn new() -> Geometry {
73        ::std::default::Default::default()
74    }
75
76    fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
77        let mut fields = ::std::vec::Vec::with_capacity(14);
78        let mut oneofs = ::std::vec::Vec::with_capacity(0);
79        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::header::Header>(
80            "header",
81            |m: &Geometry| { &m.header },
82            |m: &mut Geometry| { &mut m.header },
83        ));
84        fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
85            "type",
86            |m: &Geometry| { &m.type_ },
87            |m: &mut Geometry| { &mut m.type_ },
88        ));
89        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::boxgeom::BoxGeom>(
90            "box",
91            |m: &Geometry| { &m.box_ },
92            |m: &mut Geometry| { &mut m.box_ },
93        ));
94        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::cylindergeom::CylinderGeom>(
95            "cylinder",
96            |m: &Geometry| { &m.cylinder },
97            |m: &mut Geometry| { &mut m.cylinder },
98        ));
99        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::planegeom::PlaneGeom>(
100            "plane",
101            |m: &Geometry| { &m.plane },
102            |m: &mut Geometry| { &mut m.plane },
103        ));
104        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::spheregeom::SphereGeom>(
105            "sphere",
106            |m: &Geometry| { &m.sphere },
107            |m: &mut Geometry| { &mut m.sphere },
108        ));
109        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::imagegeom::ImageGeom>(
110            "image",
111            |m: &Geometry| { &m.image },
112            |m: &mut Geometry| { &mut m.image },
113        ));
114        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::heightmapgeom::HeightmapGeom>(
115            "heightmap",
116            |m: &Geometry| { &m.heightmap },
117            |m: &mut Geometry| { &mut m.heightmap },
118        ));
119        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::meshgeom::MeshGeom>(
120            "mesh",
121            |m: &Geometry| { &m.mesh },
122            |m: &mut Geometry| { &mut m.mesh },
123        ));
124        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::conegeom::ConeGeom>(
125            "cone",
126            |m: &Geometry| { &m.cone },
127            |m: &mut Geometry| { &mut m.cone },
128        ));
129        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::capsulegeom::CapsuleGeom>(
130            "capsule",
131            |m: &Geometry| { &m.capsule },
132            |m: &mut Geometry| { &mut m.capsule },
133        ));
134        fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::ellipsoidgeom::EllipsoidGeom>(
135            "ellipsoid",
136            |m: &Geometry| { &m.ellipsoid },
137            |m: &mut Geometry| { &mut m.ellipsoid },
138        ));
139        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
140            "points",
141            |m: &Geometry| { &m.points },
142            |m: &mut Geometry| { &mut m.points },
143        ));
144        fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
145            "polyline",
146            |m: &Geometry| { &m.polyline },
147            |m: &mut Geometry| { &mut m.polyline },
148        ));
149        ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<Geometry>(
150            "Geometry",
151            fields,
152            oneofs,
153        )
154    }
155}
156
157impl ::protobuf::Message for Geometry {
158    const NAME: &'static str = "Geometry";
159
160    fn is_initialized(&self) -> bool {
161        true
162    }
163
164    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
165        while let Some(tag) = is.read_raw_tag_or_eof()? {
166            match tag {
167                10 => {
168                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.header)?;
169                },
170                16 => {
171                    self.type_ = is.read_enum_or_unknown()?;
172                },
173                26 => {
174                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.box_)?;
175                },
176                34 => {
177                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.cylinder)?;
178                },
179                42 => {
180                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.plane)?;
181                },
182                50 => {
183                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.sphere)?;
184                },
185                58 => {
186                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.image)?;
187                },
188                66 => {
189                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.heightmap)?;
190                },
191                74 => {
192                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.mesh)?;
193                },
194                82 => {
195                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.cone)?;
196                },
197                106 => {
198                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.capsule)?;
199                },
200                114 => {
201                    ::protobuf::rt::read_singular_message_into_field(is, &mut self.ellipsoid)?;
202                },
203                90 => {
204                    self.points.push(is.read_message()?);
205                },
206                98 => {
207                    self.polyline.push(is.read_message()?);
208                },
209                tag => {
210                    ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
211                },
212            };
213        }
214        ::std::result::Result::Ok(())
215    }
216
217    // Compute sizes of nested messages
218    #[allow(unused_variables)]
219    fn compute_size(&self) -> u64 {
220        let mut my_size = 0;
221        if let Some(v) = self.header.as_ref() {
222            let len = v.compute_size();
223            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
224        }
225        if self.type_ != ::protobuf::EnumOrUnknown::new(geometry::Type::BOX) {
226            my_size += ::protobuf::rt::int32_size(2, self.type_.value());
227        }
228        if let Some(v) = self.box_.as_ref() {
229            let len = v.compute_size();
230            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
231        }
232        if let Some(v) = self.cylinder.as_ref() {
233            let len = v.compute_size();
234            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
235        }
236        if let Some(v) = self.plane.as_ref() {
237            let len = v.compute_size();
238            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
239        }
240        if let Some(v) = self.sphere.as_ref() {
241            let len = v.compute_size();
242            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
243        }
244        if let Some(v) = self.image.as_ref() {
245            let len = v.compute_size();
246            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
247        }
248        if let Some(v) = self.heightmap.as_ref() {
249            let len = v.compute_size();
250            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
251        }
252        if let Some(v) = self.mesh.as_ref() {
253            let len = v.compute_size();
254            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
255        }
256        if let Some(v) = self.cone.as_ref() {
257            let len = v.compute_size();
258            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
259        }
260        if let Some(v) = self.capsule.as_ref() {
261            let len = v.compute_size();
262            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
263        }
264        if let Some(v) = self.ellipsoid.as_ref() {
265            let len = v.compute_size();
266            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
267        }
268        for value in &self.points {
269            let len = value.compute_size();
270            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
271        };
272        for value in &self.polyline {
273            let len = value.compute_size();
274            my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
275        };
276        my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
277        self.special_fields.cached_size().set(my_size as u32);
278        my_size
279    }
280
281    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
282        if let Some(v) = self.header.as_ref() {
283            ::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
284        }
285        if self.type_ != ::protobuf::EnumOrUnknown::new(geometry::Type::BOX) {
286            os.write_enum(2, ::protobuf::EnumOrUnknown::value(&self.type_))?;
287        }
288        if let Some(v) = self.box_.as_ref() {
289            ::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
290        }
291        if let Some(v) = self.cylinder.as_ref() {
292            ::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
293        }
294        if let Some(v) = self.plane.as_ref() {
295            ::protobuf::rt::write_message_field_with_cached_size(5, v, os)?;
296        }
297        if let Some(v) = self.sphere.as_ref() {
298            ::protobuf::rt::write_message_field_with_cached_size(6, v, os)?;
299        }
300        if let Some(v) = self.image.as_ref() {
301            ::protobuf::rt::write_message_field_with_cached_size(7, v, os)?;
302        }
303        if let Some(v) = self.heightmap.as_ref() {
304            ::protobuf::rt::write_message_field_with_cached_size(8, v, os)?;
305        }
306        if let Some(v) = self.mesh.as_ref() {
307            ::protobuf::rt::write_message_field_with_cached_size(9, v, os)?;
308        }
309        if let Some(v) = self.cone.as_ref() {
310            ::protobuf::rt::write_message_field_with_cached_size(10, v, os)?;
311        }
312        if let Some(v) = self.capsule.as_ref() {
313            ::protobuf::rt::write_message_field_with_cached_size(13, v, os)?;
314        }
315        if let Some(v) = self.ellipsoid.as_ref() {
316            ::protobuf::rt::write_message_field_with_cached_size(14, v, os)?;
317        }
318        for v in &self.points {
319            ::protobuf::rt::write_message_field_with_cached_size(11, v, os)?;
320        };
321        for v in &self.polyline {
322            ::protobuf::rt::write_message_field_with_cached_size(12, v, os)?;
323        };
324        os.write_unknown_fields(self.special_fields.unknown_fields())?;
325        ::std::result::Result::Ok(())
326    }
327
328    fn special_fields(&self) -> &::protobuf::SpecialFields {
329        &self.special_fields
330    }
331
332    fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
333        &mut self.special_fields
334    }
335
336    fn new() -> Geometry {
337        Geometry::new()
338    }
339
340    fn clear(&mut self) {
341        self.header.clear();
342        self.type_ = ::protobuf::EnumOrUnknown::new(geometry::Type::BOX);
343        self.box_.clear();
344        self.cylinder.clear();
345        self.plane.clear();
346        self.sphere.clear();
347        self.image.clear();
348        self.heightmap.clear();
349        self.mesh.clear();
350        self.cone.clear();
351        self.capsule.clear();
352        self.ellipsoid.clear();
353        self.points.clear();
354        self.polyline.clear();
355        self.special_fields.clear();
356    }
357
358    fn default_instance() -> &'static Geometry {
359        static instance: Geometry = Geometry {
360            header: ::protobuf::MessageField::none(),
361            type_: ::protobuf::EnumOrUnknown::from_i32(0),
362            box_: ::protobuf::MessageField::none(),
363            cylinder: ::protobuf::MessageField::none(),
364            plane: ::protobuf::MessageField::none(),
365            sphere: ::protobuf::MessageField::none(),
366            image: ::protobuf::MessageField::none(),
367            heightmap: ::protobuf::MessageField::none(),
368            mesh: ::protobuf::MessageField::none(),
369            cone: ::protobuf::MessageField::none(),
370            capsule: ::protobuf::MessageField::none(),
371            ellipsoid: ::protobuf::MessageField::none(),
372            points: ::std::vec::Vec::new(),
373            polyline: ::std::vec::Vec::new(),
374            special_fields: ::protobuf::SpecialFields::new(),
375        };
376        &instance
377    }
378}
379
380impl ::protobuf::MessageFull for Geometry {
381    fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
382        static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
383        descriptor.get(|| file_descriptor().message_by_package_relative_name("Geometry").unwrap()).clone()
384    }
385}
386
387impl ::std::fmt::Display for Geometry {
388    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
389        ::protobuf::text_format::fmt(self, f)
390    }
391}
392
393impl ::protobuf::reflect::ProtobufValue for Geometry {
394    type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
395}
396
397/// Nested message and enums of message `Geometry`
398pub mod geometry {
399    #[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
400    // @@protoc_insertion_point(enum:ignition.msgs.Geometry.Type)
401    pub enum Type {
402        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.BOX)
403        BOX = 0,
404        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.CYLINDER)
405        CYLINDER = 1,
406        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.SPHERE)
407        SPHERE = 2,
408        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.PLANE)
409        PLANE = 3,
410        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.IMAGE)
411        IMAGE = 4,
412        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.HEIGHTMAP)
413        HEIGHTMAP = 5,
414        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.MESH)
415        MESH = 6,
416        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.TRIANGLE_FAN)
417        TRIANGLE_FAN = 7,
418        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.LINE_STRIP)
419        LINE_STRIP = 8,
420        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.POLYLINE)
421        POLYLINE = 9,
422        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.CONE)
423        CONE = 10,
424        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.EMPTY)
425        EMPTY = 11,
426        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.ARROW)
427        ARROW = 12,
428        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.AXIS)
429        AXIS = 13,
430        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.CAPSULE)
431        CAPSULE = 14,
432        // @@protoc_insertion_point(enum_value:ignition.msgs.Geometry.Type.ELLIPSOID)
433        ELLIPSOID = 15,
434    }
435
436    impl ::protobuf::Enum for Type {
437        const NAME: &'static str = "Type";
438
439        fn value(&self) -> i32 {
440            *self as i32
441        }
442
443        fn from_i32(value: i32) -> ::std::option::Option<Type> {
444            match value {
445                0 => ::std::option::Option::Some(Type::BOX),
446                1 => ::std::option::Option::Some(Type::CYLINDER),
447                2 => ::std::option::Option::Some(Type::SPHERE),
448                3 => ::std::option::Option::Some(Type::PLANE),
449                4 => ::std::option::Option::Some(Type::IMAGE),
450                5 => ::std::option::Option::Some(Type::HEIGHTMAP),
451                6 => ::std::option::Option::Some(Type::MESH),
452                7 => ::std::option::Option::Some(Type::TRIANGLE_FAN),
453                8 => ::std::option::Option::Some(Type::LINE_STRIP),
454                9 => ::std::option::Option::Some(Type::POLYLINE),
455                10 => ::std::option::Option::Some(Type::CONE),
456                11 => ::std::option::Option::Some(Type::EMPTY),
457                12 => ::std::option::Option::Some(Type::ARROW),
458                13 => ::std::option::Option::Some(Type::AXIS),
459                14 => ::std::option::Option::Some(Type::CAPSULE),
460                15 => ::std::option::Option::Some(Type::ELLIPSOID),
461                _ => ::std::option::Option::None
462            }
463        }
464
465        fn from_str(str: &str) -> ::std::option::Option<Type> {
466            match str {
467                "BOX" => ::std::option::Option::Some(Type::BOX),
468                "CYLINDER" => ::std::option::Option::Some(Type::CYLINDER),
469                "SPHERE" => ::std::option::Option::Some(Type::SPHERE),
470                "PLANE" => ::std::option::Option::Some(Type::PLANE),
471                "IMAGE" => ::std::option::Option::Some(Type::IMAGE),
472                "HEIGHTMAP" => ::std::option::Option::Some(Type::HEIGHTMAP),
473                "MESH" => ::std::option::Option::Some(Type::MESH),
474                "TRIANGLE_FAN" => ::std::option::Option::Some(Type::TRIANGLE_FAN),
475                "LINE_STRIP" => ::std::option::Option::Some(Type::LINE_STRIP),
476                "POLYLINE" => ::std::option::Option::Some(Type::POLYLINE),
477                "CONE" => ::std::option::Option::Some(Type::CONE),
478                "EMPTY" => ::std::option::Option::Some(Type::EMPTY),
479                "ARROW" => ::std::option::Option::Some(Type::ARROW),
480                "AXIS" => ::std::option::Option::Some(Type::AXIS),
481                "CAPSULE" => ::std::option::Option::Some(Type::CAPSULE),
482                "ELLIPSOID" => ::std::option::Option::Some(Type::ELLIPSOID),
483                _ => ::std::option::Option::None
484            }
485        }
486
487        const VALUES: &'static [Type] = &[
488            Type::BOX,
489            Type::CYLINDER,
490            Type::SPHERE,
491            Type::PLANE,
492            Type::IMAGE,
493            Type::HEIGHTMAP,
494            Type::MESH,
495            Type::TRIANGLE_FAN,
496            Type::LINE_STRIP,
497            Type::POLYLINE,
498            Type::CONE,
499            Type::EMPTY,
500            Type::ARROW,
501            Type::AXIS,
502            Type::CAPSULE,
503            Type::ELLIPSOID,
504        ];
505    }
506
507    impl ::protobuf::EnumFull for Type {
508        fn enum_descriptor() -> ::protobuf::reflect::EnumDescriptor {
509            static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::Lazy::new();
510            descriptor.get(|| super::file_descriptor().enum_by_package_relative_name("Geometry.Type").unwrap()).clone()
511        }
512
513        fn descriptor(&self) -> ::protobuf::reflect::EnumValueDescriptor {
514            let index = *self as usize;
515            Self::enum_descriptor().value_by_index(index)
516        }
517    }
518
519    impl ::std::default::Default for Type {
520        fn default() -> Self {
521            Type::BOX
522        }
523    }
524
525    impl Type {
526        pub(in super) fn generated_enum_descriptor_data() -> ::protobuf::reflect::GeneratedEnumDescriptorData {
527            ::protobuf::reflect::GeneratedEnumDescriptorData::new::<Type>("Geometry.Type")
528        }
529    }
530}
531
532static file_descriptor_proto_data: &'static [u8] = b"\
533    \n\x1cignition/msgs/geometry.proto\x12\rignition.msgs\x1a\x1bignition/ms\
534    gs/boxgeom.proto\x1a\x1fignition/msgs/capsulegeom.proto\x1a\x1cignition/\
535    msgs/conegeom.proto\x1a\x20ignition/msgs/cylindergeom.proto\x1a!ignition\
536    /msgs/ellipsoidgeom.proto\x1a\x1aignition/msgs/header.proto\x1a!ignition\
537    /msgs/heightmapgeom.proto\x1a\x1dignition/msgs/imagegeom.proto\x1a\x1cig\
538    nition/msgs/meshgeom.proto\x1a\x1dignition/msgs/planegeom.proto\x1a\x20i\
539    gnition/msgs/polylinegeom.proto\x1a\x1eignition/msgs/spheregeom.proto\
540    \x1a\x1cignition/msgs/vector3d.proto\"\xa0\x07\n\x08Geometry\x12-\n\x06h\
541    eader\x18\x01\x20\x01(\x0b2\x15.ignition.msgs.HeaderR\x06header\x120\n\
542    \x04type\x18\x02\x20\x01(\x0e2\x1c.ignition.msgs.Geometry.TypeR\x04type\
543    \x12(\n\x03box\x18\x03\x20\x01(\x0b2\x16.ignition.msgs.BoxGeomR\x03box\
544    \x127\n\x08cylinder\x18\x04\x20\x01(\x0b2\x1b.ignition.msgs.CylinderGeom\
545    R\x08cylinder\x12.\n\x05plane\x18\x05\x20\x01(\x0b2\x18.ignition.msgs.Pl\
546    aneGeomR\x05plane\x121\n\x06sphere\x18\x06\x20\x01(\x0b2\x19.ignition.ms\
547    gs.SphereGeomR\x06sphere\x12.\n\x05image\x18\x07\x20\x01(\x0b2\x18.ignit\
548    ion.msgs.ImageGeomR\x05image\x12:\n\theightmap\x18\x08\x20\x01(\x0b2\x1c\
549    .ignition.msgs.HeightmapGeomR\theightmap\x12+\n\x04mesh\x18\t\x20\x01(\
550    \x0b2\x17.ignition.msgs.MeshGeomR\x04mesh\x12+\n\x04cone\x18\n\x20\x01(\
551    \x0b2\x17.ignition.msgs.ConeGeomR\x04cone\x124\n\x07capsule\x18\r\x20\
552    \x01(\x0b2\x1a.ignition.msgs.CapsuleGeomR\x07capsule\x12:\n\tellipsoid\
553    \x18\x0e\x20\x01(\x0b2\x1c.ignition.msgs.EllipsoidGeomR\tellipsoid\x12/\
554    \n\x06points\x18\x0b\x20\x03(\x0b2\x17.ignition.msgs.Vector3dR\x06points\
555    \x123\n\x08polyline\x18\x0c\x20\x03(\x0b2\x17.ignition.msgs.PolylineR\
556    \x08polyline\"\xce\x01\n\x04Type\x12\x07\n\x03BOX\x10\0\x12\x0c\n\x08CYL\
557    INDER\x10\x01\x12\n\n\x06SPHERE\x10\x02\x12\t\n\x05PLANE\x10\x03\x12\t\n\
558    \x05IMAGE\x10\x04\x12\r\n\tHEIGHTMAP\x10\x05\x12\x08\n\x04MESH\x10\x06\
559    \x12\x10\n\x0cTRIANGLE_FAN\x10\x07\x12\x0e\n\nLINE_STRIP\x10\x08\x12\x0c\
560    \n\x08POLYLINE\x10\t\x12\x08\n\x04CONE\x10\n\x12\t\n\x05EMPTY\x10\x0b\
561    \x12\t\n\x05ARROW\x10\x0c\x12\x08\n\x04AXIS\x10\r\x12\x0b\n\x07CAPSULE\
562    \x10\x0e\x12\r\n\tELLIPSOID\x10\x0fB#\n\x11com.ignition.msgsB\x0eGeometr\
563    yProtosb\x06proto3\
564";
565
566/// `FileDescriptorProto` object which was a source for this generated file
567fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
568    static file_descriptor_proto_lazy: ::protobuf::rt::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::Lazy::new();
569    file_descriptor_proto_lazy.get(|| {
570        ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
571    })
572}
573
574/// `FileDescriptor` object which allows dynamic access to files
575pub fn file_descriptor() -> &'static ::protobuf::reflect::FileDescriptor {
576    static generated_file_descriptor_lazy: ::protobuf::rt::Lazy<::protobuf::reflect::GeneratedFileDescriptor> = ::protobuf::rt::Lazy::new();
577    static file_descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::FileDescriptor> = ::protobuf::rt::Lazy::new();
578    file_descriptor.get(|| {
579        let generated_file_descriptor = generated_file_descriptor_lazy.get(|| {
580            let mut deps = ::std::vec::Vec::with_capacity(13);
581            deps.push(super::boxgeom::file_descriptor().clone());
582            deps.push(super::capsulegeom::file_descriptor().clone());
583            deps.push(super::conegeom::file_descriptor().clone());
584            deps.push(super::cylindergeom::file_descriptor().clone());
585            deps.push(super::ellipsoidgeom::file_descriptor().clone());
586            deps.push(super::header::file_descriptor().clone());
587            deps.push(super::heightmapgeom::file_descriptor().clone());
588            deps.push(super::imagegeom::file_descriptor().clone());
589            deps.push(super::meshgeom::file_descriptor().clone());
590            deps.push(super::planegeom::file_descriptor().clone());
591            deps.push(super::polylinegeom::file_descriptor().clone());
592            deps.push(super::spheregeom::file_descriptor().clone());
593            deps.push(super::vector3d::file_descriptor().clone());
594            let mut messages = ::std::vec::Vec::with_capacity(1);
595            messages.push(Geometry::generated_message_descriptor_data());
596            let mut enums = ::std::vec::Vec::with_capacity(1);
597            enums.push(geometry::Type::generated_enum_descriptor_data());
598            ::protobuf::reflect::GeneratedFileDescriptor::new_generated(
599                file_descriptor_proto(),
600                deps,
601                messages,
602                enums,
603            )
604        });
605        ::protobuf::reflect::FileDescriptor::new_generated_2(generated_file_descriptor)
606    })
607}