4 #ifndef GOOGLE_PROTOBUF_INCLUDED_lidar_5fschema_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_lidar_5fschema_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3021000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata_lite.h>
28 #include <google/protobuf/generated_message_reflection.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
34 #include <google/protobuf/port_def.inc>
35 #define PROTOBUF_INTERNAL_EXPORT_lidar_5fschema_2eproto
36 PROTOBUF_NAMESPACE_OPEN
40 PROTOBUF_NAMESPACE_CLOSE
49 struct LidarPointCloudDefaultTypeInternal;
52 struct PointDefaultTypeInternal;
55 PROTOBUF_NAMESPACE_OPEN
57 template<>
::ds3dmsg::Point* Arena::CreateMaybeMessage<::ds3dmsg::Point>(Arena*);
58 PROTOBUF_NAMESPACE_CLOSE
64 public ::PROTOBUF_NAMESPACE_ID::Message {
68 explicit PROTOBUF_CONSTEXPR
LidarPointCloud(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
81 if (
this == &from)
return *
this;
82 if (GetOwningArena() == from.GetOwningArena()
83 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
84 && GetOwningArena() !=
nullptr
94 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
117 if (other ==
this)
return;
118 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
119 if (GetOwningArena() !=
nullptr &&
120 GetOwningArena() == other->GetOwningArena()) {
121 #else // PROTOBUF_FORCE_COPY_IN_SWAP
122 if (GetOwningArena() == other->GetOwningArena()) {
123 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
126 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
130 if (other ==
this)
return;
131 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
138 return CreateMaybeMessage<LidarPointCloud>(arena);
140 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
142 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
144 LidarPointCloud::MergeImpl(*
this, from);
147 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
149 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
155 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
159 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
161 void SetCachedSize(
int size)
const final;
165 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
166 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
167 return "ds3dmsg.LidarPointCloud";
171 bool is_message_owned =
false);
175 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
177 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
189 int _internal_points_size()
const;
193 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ds3dmsg::Point >*
196 const ::ds3dmsg::Point& _internal_points(
int index)
const;
199 const ::ds3dmsg::Point&
points(
int index)
const;
201 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ds3dmsg::Point >&
208 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
209 typedef void InternalArenaConstructable_;
210 typedef void DestructorSkippable_;
212 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ds3dmsg::Point > points_;
213 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
216 friend struct ::TableStruct_lidar_5fschema_2eproto;
221 public ::PROTOBUF_NAMESPACE_ID::Message {
225 explicit PROTOBUF_CONSTEXPR
Point(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
238 if (
this == &from)
return *
this;
239 if (GetOwningArena() == from.GetOwningArena()
240 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
241 && GetOwningArena() !=
nullptr
251 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
264 return reinterpret_cast<const Point*
>(
274 if (other ==
this)
return;
275 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
276 if (GetOwningArena() !=
nullptr &&
277 GetOwningArena() == other->GetOwningArena()) {
278 #else // PROTOBUF_FORCE_COPY_IN_SWAP
279 if (GetOwningArena() == other->GetOwningArena()) {
280 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
283 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
287 if (other ==
this)
return;
288 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
294 Point*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
295 return CreateMaybeMessage<Point>(arena);
297 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
299 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
301 Point::MergeImpl(*
this, from);
304 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
306 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
312 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
316 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
318 void SetCachedSize(
int size)
const final;
319 void InternalSwap(
Point* other);
322 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
323 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
324 return "ds3dmsg.Point";
327 explicit Point(::PROTOBUF_NAMESPACE_ID::Arena* arena,
328 bool is_message_owned =
false);
332 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
334 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
344 kIntensityFieldNumber = 4,
349 void set_x(
float value);
351 float _internal_x()
const;
352 void _internal_set_x(
float value);
358 void set_y(
float value);
360 float _internal_y()
const;
361 void _internal_set_y(
float value);
367 void set_z(
float value);
369 float _internal_z()
const;
370 void _internal_set_z(
float value);
374 void clear_intensity();
375 float intensity()
const;
376 void set_intensity(
float value);
378 float _internal_intensity()
const;
379 void _internal_set_intensity(
float value);
386 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
387 typedef void InternalArenaConstructable_;
388 typedef void DestructorSkippable_;
394 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
397 friend struct ::TableStruct_lidar_5fschema_2eproto;
405 #pragma GCC diagnostic push
406 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
411 inline int LidarPointCloud::_internal_points_size()
const {
412 return _impl_.points_.size();
415 return _internal_points_size();
422 return _impl_.points_.Mutable(index);
424 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ds3dmsg::Point >*
429 inline const ::ds3dmsg::Point& LidarPointCloud::_internal_points(
int index)
const {
430 return _impl_.points_.Get(index);
434 return _internal_points(index);
436 inline ::ds3dmsg::Point* LidarPointCloud::_internal_add_points() {
437 return _impl_.points_.Add();
444 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ds3dmsg::Point >&
458 inline float Point::_internal_x()
const {
463 return _internal_x();
465 inline void Point::_internal_set_x(
float value) {
470 _internal_set_x(value);
478 inline float Point::_internal_y()
const {
483 return _internal_y();
485 inline void Point::_internal_set_y(
float value) {
490 _internal_set_y(value);
498 inline float Point::_internal_z()
const {
503 return _internal_z();
505 inline void Point::_internal_set_z(
float value) {
510 _internal_set_z(value);
518 inline float Point::_internal_intensity()
const {
523 return _internal_intensity();
525 inline void Point::_internal_set_intensity(
float value) {
527 _impl_.intensity_ = value;
530 _internal_set_intensity(value);
535 #pragma GCC diagnostic pop
546 #include <google/protobuf/port_undef.inc>
547 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_lidar_5fschema_2eproto