Gazebo Msgs

API Reference

9.5.1
pointcloud_packed.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/pointcloud_packed.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fpointcloud_5fpacked_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fpointcloud_5fpacked_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_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.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "gz/msgs/header.pb.h"
35 // @@protoc_insertion_point(includes)
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fpointcloud_5fpacked_2eproto GZ_MSGS_VISIBLE
37 
39 // Internal implementation detail -- do not use these members.
40 struct GZ_MSGS_VISIBLE TableStruct {
41  static const ::google::protobuf::internal::ParseTableField entries[];
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43  static const ::google::protobuf::internal::ParseTable schema[2];
44  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46  static const ::google::protobuf::uint32 offsets[];
47 };
48 void GZ_MSGS_VISIBLE AddDescriptors();
49 } // namespace protobuf_gz_2fmsgs_2fpointcloud_5fpacked_2eproto
50 namespace gz {
51 namespace msgs {
52 class PointCloudPacked;
53 class PointCloudPackedDefaultTypeInternal;
54 GZ_MSGS_VISIBLE extern PointCloudPackedDefaultTypeInternal _PointCloudPacked_default_instance_;
55 class PointCloudPacked_Field;
56 class PointCloudPacked_FieldDefaultTypeInternal;
57 GZ_MSGS_VISIBLE extern PointCloudPacked_FieldDefaultTypeInternal _PointCloudPacked_Field_default_instance_;
58 } // namespace msgs
59 } // namespace gz
60 namespace google {
61 namespace protobuf {
62 template<> GZ_MSGS_VISIBLE ::gz::msgs::PointCloudPacked* Arena::CreateMaybeMessage<::gz::msgs::PointCloudPacked>(Arena*);
63 template<> GZ_MSGS_VISIBLE ::gz::msgs::PointCloudPacked_Field* Arena::CreateMaybeMessage<::gz::msgs::PointCloudPacked_Field>(Arena*);
64 } // namespace protobuf
65 } // namespace google
66 namespace gz {
67 namespace msgs {
68 
80 };
81 GZ_MSGS_VISIBLE bool PointCloudPacked_Field_DataType_IsValid(int value);
85 
86 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* PointCloudPacked_Field_DataType_descriptor();
88  return ::google::protobuf::internal::NameOfEnum(
90 }
92  const ::std::string& name, PointCloudPacked_Field_DataType* value) {
93  return ::google::protobuf::internal::ParseNamedEnum<PointCloudPacked_Field_DataType>(
95 }
96 // ===================================================================
97 
98 class GZ_MSGS_VISIBLE PointCloudPacked_Field : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.PointCloudPacked.Field) */ {
99  public:
101  virtual ~PointCloudPacked_Field();
102 
104 
106  CopyFrom(from);
107  return *this;
108  }
109  #if LANG_CXX11
112  *this = ::std::move(from);
113  }
114 
115  inline PointCloudPacked_Field& operator=(PointCloudPacked_Field&& from) noexcept {
116  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
117  if (this != &from) InternalSwap(&from);
118  } else {
119  CopyFrom(from);
120  }
121  return *this;
122  }
123  #endif
124  static const ::google::protobuf::Descriptor* descriptor();
125  static const PointCloudPacked_Field& default_instance();
126 
127  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
129  return reinterpret_cast<const PointCloudPacked_Field*>(
131  }
132  static constexpr int kIndexInFileMessages =
133  0;
134 
135  void Swap(PointCloudPacked_Field* other);
137  a.Swap(&b);
138  }
139 
140  // implements Message ----------------------------------------------
141 
142  inline PointCloudPacked_Field* New() const final {
143  return CreateMaybeMessage<PointCloudPacked_Field>(NULL);
144  }
145 
146  PointCloudPacked_Field* New(::google::protobuf::Arena* arena) const final {
147  return CreateMaybeMessage<PointCloudPacked_Field>(arena);
148  }
149  void CopyFrom(const ::google::protobuf::Message& from) final;
150  void MergeFrom(const ::google::protobuf::Message& from) final;
151  void CopyFrom(const PointCloudPacked_Field& from);
152  void MergeFrom(const PointCloudPacked_Field& from);
153  void Clear() final;
154  bool IsInitialized() const final;
155 
156  size_t ByteSizeLong() const final;
157  bool MergePartialFromCodedStream(
158  ::google::protobuf::io::CodedInputStream* input) final;
159  void SerializeWithCachedSizes(
160  ::google::protobuf::io::CodedOutputStream* output) const final;
161  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
162  bool deterministic, ::google::protobuf::uint8* target) const final;
163  int GetCachedSize() const final { return _cached_size_.Get(); }
164 
165  private:
166  void SharedCtor();
167  void SharedDtor();
168  void SetCachedSize(int size) const final;
169  void InternalSwap(PointCloudPacked_Field* other);
170  private:
171  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
172  return NULL;
173  }
174  inline void* MaybeArenaPtr() const {
175  return NULL;
176  }
177  public:
178 
179  ::google::protobuf::Metadata GetMetadata() const final;
180 
181  // nested types ----------------------------------------------------
182 
184  static const DataType INT8 =
186  static const DataType UINT8 =
188  static const DataType INT16 =
190  static const DataType UINT16 =
192  static const DataType INT32 =
194  static const DataType UINT32 =
196  static const DataType FLOAT32 =
198  static const DataType FLOAT64 =
200  static inline bool DataType_IsValid(int value) {
202  }
203  static const DataType DataType_MIN =
205  static const DataType DataType_MAX =
207  static const int DataType_ARRAYSIZE =
209  static inline const ::google::protobuf::EnumDescriptor*
212  }
213  static inline const ::std::string& DataType_Name(DataType value) {
215  }
216  static inline bool DataType_Parse(const ::std::string& name,
217  DataType* value) {
218  return PointCloudPacked_Field_DataType_Parse(name, value);
219  }
220 
221  // accessors -------------------------------------------------------
222 
223  // string name = 1;
224  void clear_name();
225  static const int kNameFieldNumber = 1;
226  const ::std::string& name() const;
227  void set_name(const ::std::string& value);
228  #if LANG_CXX11
229  void set_name(::std::string&& value);
230  #endif
231  void set_name(const char* value);
232  void set_name(const char* value, size_t size);
233  ::std::string* mutable_name();
234  ::std::string* release_name();
235  void set_allocated_name(::std::string* name);
236 
237  // uint32 offset = 2;
238  void clear_offset();
239  static const int kOffsetFieldNumber = 2;
240  ::google::protobuf::uint32 offset() const;
241  void set_offset(::google::protobuf::uint32 value);
242 
243  // .gz.msgs.PointCloudPacked.Field.DataType datatype = 3;
244  void clear_datatype();
245  static const int kDatatypeFieldNumber = 3;
247  void set_datatype(::gz::msgs::PointCloudPacked_Field_DataType value);
248 
249  // uint32 count = 4;
250  void clear_count();
251  static const int kCountFieldNumber = 4;
252  ::google::protobuf::uint32 count() const;
253  void set_count(::google::protobuf::uint32 value);
254 
255  // @@protoc_insertion_point(class_scope:gz.msgs.PointCloudPacked.Field)
256  private:
257 
258  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
259  ::google::protobuf::internal::ArenaStringPtr name_;
260  ::google::protobuf::uint32 offset_;
261  int datatype_;
262  ::google::protobuf::uint32 count_;
263  mutable ::google::protobuf::internal::CachedSize _cached_size_;
264  friend struct ::protobuf_gz_2fmsgs_2fpointcloud_5fpacked_2eproto::TableStruct;
265 };
266 // -------------------------------------------------------------------
267 
268 class GZ_MSGS_VISIBLE PointCloudPacked : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.PointCloudPacked) */ {
269  public:
271  virtual ~PointCloudPacked();
272 
273  PointCloudPacked(const PointCloudPacked& from);
274 
276  CopyFrom(from);
277  return *this;
278  }
279  #if LANG_CXX11
280  PointCloudPacked(PointCloudPacked&& from) noexcept
281  : PointCloudPacked() {
282  *this = ::std::move(from);
283  }
284 
285  inline PointCloudPacked& operator=(PointCloudPacked&& from) noexcept {
286  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
287  if (this != &from) InternalSwap(&from);
288  } else {
289  CopyFrom(from);
290  }
291  return *this;
292  }
293  #endif
294  static const ::google::protobuf::Descriptor* descriptor();
295  static const PointCloudPacked& default_instance();
296 
297  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
299  return reinterpret_cast<const PointCloudPacked*>(
301  }
302  static constexpr int kIndexInFileMessages =
303  1;
304 
305  void Swap(PointCloudPacked* other);
306  friend void swap(PointCloudPacked& a, PointCloudPacked& b) {
307  a.Swap(&b);
308  }
309 
310  // implements Message ----------------------------------------------
311 
312  inline PointCloudPacked* New() const final {
313  return CreateMaybeMessage<PointCloudPacked>(NULL);
314  }
315 
316  PointCloudPacked* New(::google::protobuf::Arena* arena) const final {
317  return CreateMaybeMessage<PointCloudPacked>(arena);
318  }
319  void CopyFrom(const ::google::protobuf::Message& from) final;
320  void MergeFrom(const ::google::protobuf::Message& from) final;
321  void CopyFrom(const PointCloudPacked& from);
322  void MergeFrom(const PointCloudPacked& from);
323  void Clear() final;
324  bool IsInitialized() const final;
325 
326  size_t ByteSizeLong() const final;
327  bool MergePartialFromCodedStream(
328  ::google::protobuf::io::CodedInputStream* input) final;
329  void SerializeWithCachedSizes(
330  ::google::protobuf::io::CodedOutputStream* output) const final;
331  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
332  bool deterministic, ::google::protobuf::uint8* target) const final;
333  int GetCachedSize() const final { return _cached_size_.Get(); }
334 
335  private:
336  void SharedCtor();
337  void SharedDtor();
338  void SetCachedSize(int size) const final;
339  void InternalSwap(PointCloudPacked* other);
340  private:
341  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
342  return NULL;
343  }
344  inline void* MaybeArenaPtr() const {
345  return NULL;
346  }
347  public:
348 
349  ::google::protobuf::Metadata GetMetadata() const final;
350 
351  // nested types ----------------------------------------------------
352 
354 
355  // accessors -------------------------------------------------------
356 
357  // repeated .gz.msgs.PointCloudPacked.Field field = 2;
358  int field_size() const;
359  void clear_field();
360  static const int kFieldFieldNumber = 2;
361  ::gz::msgs::PointCloudPacked_Field* mutable_field(int index);
362  ::google::protobuf::RepeatedPtrField< ::gz::msgs::PointCloudPacked_Field >*
363  mutable_field();
364  const ::gz::msgs::PointCloudPacked_Field& field(int index) const;
365  ::gz::msgs::PointCloudPacked_Field* add_field();
366  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::PointCloudPacked_Field >&
367  field() const;
368 
369  // bytes data = 8;
370  void clear_data();
371  static const int kDataFieldNumber = 8;
372  const ::std::string& data() const;
373  void set_data(const ::std::string& value);
374  #if LANG_CXX11
375  void set_data(::std::string&& value);
376  #endif
377  void set_data(const char* value);
378  void set_data(const void* value, size_t size);
379  ::std::string* mutable_data();
380  ::std::string* release_data();
381  void set_allocated_data(::std::string* data);
382 
383  // .gz.msgs.Header header = 1;
384  bool has_header() const;
385  void clear_header();
386  static const int kHeaderFieldNumber = 1;
387  private:
388  const ::gz::msgs::Header& _internal_header() const;
389  public:
390  const ::gz::msgs::Header& header() const;
391  ::gz::msgs::Header* release_header();
392  ::gz::msgs::Header* mutable_header();
393  void set_allocated_header(::gz::msgs::Header* header);
394 
395  // uint32 height = 3;
396  void clear_height();
397  static const int kHeightFieldNumber = 3;
398  ::google::protobuf::uint32 height() const;
399  void set_height(::google::protobuf::uint32 value);
400 
401  // uint32 width = 4;
402  void clear_width();
403  static const int kWidthFieldNumber = 4;
404  ::google::protobuf::uint32 width() const;
405  void set_width(::google::protobuf::uint32 value);
406 
407  // uint32 point_step = 6;
408  void clear_point_step();
409  static const int kPointStepFieldNumber = 6;
410  ::google::protobuf::uint32 point_step() const;
411  void set_point_step(::google::protobuf::uint32 value);
412 
413  // uint32 row_step = 7;
414  void clear_row_step();
415  static const int kRowStepFieldNumber = 7;
416  ::google::protobuf::uint32 row_step() const;
417  void set_row_step(::google::protobuf::uint32 value);
418 
419  // bool is_bigendian = 5;
420  void clear_is_bigendian();
421  static const int kIsBigendianFieldNumber = 5;
422  bool is_bigendian() const;
423  void set_is_bigendian(bool value);
424 
425  // bool is_dense = 9;
426  void clear_is_dense();
427  static const int kIsDenseFieldNumber = 9;
428  bool is_dense() const;
429  void set_is_dense(bool value);
430 
431  // @@protoc_insertion_point(class_scope:gz.msgs.PointCloudPacked)
432  private:
433 
434  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
435  ::google::protobuf::RepeatedPtrField< ::gz::msgs::PointCloudPacked_Field > field_;
436  ::google::protobuf::internal::ArenaStringPtr data_;
437  ::gz::msgs::Header* header_;
438  ::google::protobuf::uint32 height_;
439  ::google::protobuf::uint32 width_;
440  ::google::protobuf::uint32 point_step_;
441  ::google::protobuf::uint32 row_step_;
442  bool is_bigendian_;
443  bool is_dense_;
444  mutable ::google::protobuf::internal::CachedSize _cached_size_;
445  friend struct ::protobuf_gz_2fmsgs_2fpointcloud_5fpacked_2eproto::TableStruct;
446 };
447 // ===================================================================
448 
449 
450 // ===================================================================
451 
452 #ifdef __GNUC__
453  #pragma GCC diagnostic push
454  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
455 #endif // __GNUC__
456 // PointCloudPacked_Field
457 
458 // string name = 1;
460  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
461 }
462 inline const ::std::string& PointCloudPacked_Field::name() const {
463  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.Field.name)
464  return name_.GetNoArena();
465 }
466 inline void PointCloudPacked_Field::set_name(const ::std::string& value) {
467 
468  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
469  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.Field.name)
470 }
471 #if LANG_CXX11
472 inline void PointCloudPacked_Field::set_name(::std::string&& value) {
473 
474  name_.SetNoArena(
475  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
476  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.PointCloudPacked.Field.name)
477 }
478 #endif
479 inline void PointCloudPacked_Field::set_name(const char* value) {
480  GOOGLE_DCHECK(value != NULL);
481 
482  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
483  // @@protoc_insertion_point(field_set_char:gz.msgs.PointCloudPacked.Field.name)
484 }
485 inline void PointCloudPacked_Field::set_name(const char* value, size_t size) {
486 
487  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
488  ::std::string(reinterpret_cast<const char*>(value), size));
489  // @@protoc_insertion_point(field_set_pointer:gz.msgs.PointCloudPacked.Field.name)
490 }
491 inline ::std::string* PointCloudPacked_Field::mutable_name() {
492 
493  // @@protoc_insertion_point(field_mutable:gz.msgs.PointCloudPacked.Field.name)
494  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
495 }
496 inline ::std::string* PointCloudPacked_Field::release_name() {
497  // @@protoc_insertion_point(field_release:gz.msgs.PointCloudPacked.Field.name)
498 
499  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
500 }
502  if (name != NULL) {
503 
504  } else {
505 
506  }
507  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
508  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PointCloudPacked.Field.name)
509 }
510 
511 // uint32 offset = 2;
513  offset_ = 0u;
514 }
515 inline ::google::protobuf::uint32 PointCloudPacked_Field::offset() const {
516  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.Field.offset)
517  return offset_;
518 }
519 inline void PointCloudPacked_Field::set_offset(::google::protobuf::uint32 value) {
520 
521  offset_ = value;
522  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.Field.offset)
523 }
524 
525 // .gz.msgs.PointCloudPacked.Field.DataType datatype = 3;
527  datatype_ = 0;
528 }
530  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.Field.datatype)
531  return static_cast< ::gz::msgs::PointCloudPacked_Field_DataType >(datatype_);
532 }
534 
535  datatype_ = value;
536  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.Field.datatype)
537 }
538 
539 // uint32 count = 4;
541  count_ = 0u;
542 }
543 inline ::google::protobuf::uint32 PointCloudPacked_Field::count() const {
544  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.Field.count)
545  return count_;
546 }
547 inline void PointCloudPacked_Field::set_count(::google::protobuf::uint32 value) {
548 
549  count_ = value;
550  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.Field.count)
551 }
552 
553 // -------------------------------------------------------------------
554 
555 // PointCloudPacked
556 
557 // .gz.msgs.Header header = 1;
558 inline bool PointCloudPacked::has_header() const {
559  return this != internal_default_instance() && header_ != NULL;
560 }
561 inline const ::gz::msgs::Header& PointCloudPacked::_internal_header() const {
562  return *header_;
563 }
564 inline const ::gz::msgs::Header& PointCloudPacked::header() const {
565  const ::gz::msgs::Header* p = header_;
566  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.header)
567  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
569 }
570 inline ::gz::msgs::Header* PointCloudPacked::release_header() {
571  // @@protoc_insertion_point(field_release:gz.msgs.PointCloudPacked.header)
572 
573  ::gz::msgs::Header* temp = header_;
574  header_ = NULL;
575  return temp;
576 }
577 inline ::gz::msgs::Header* PointCloudPacked::mutable_header() {
578 
579  if (header_ == NULL) {
580  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
581  header_ = p;
582  }
583  // @@protoc_insertion_point(field_mutable:gz.msgs.PointCloudPacked.header)
584  return header_;
585 }
587  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
588  if (message_arena == NULL) {
589  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
590  }
591  if (header) {
592  ::google::protobuf::Arena* submessage_arena = NULL;
593  if (message_arena != submessage_arena) {
594  header = ::google::protobuf::internal::GetOwnedMessage(
595  message_arena, header, submessage_arena);
596  }
597 
598  } else {
599 
600  }
601  header_ = header;
602  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PointCloudPacked.header)
603 }
604 
605 // repeated .gz.msgs.PointCloudPacked.Field field = 2;
606 inline int PointCloudPacked::field_size() const {
607  return field_.size();
608 }
610  field_.Clear();
611 }
612 inline ::gz::msgs::PointCloudPacked_Field* PointCloudPacked::mutable_field(int index) {
613  // @@protoc_insertion_point(field_mutable:gz.msgs.PointCloudPacked.field)
614  return field_.Mutable(index);
615 }
616 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::PointCloudPacked_Field >*
618  // @@protoc_insertion_point(field_mutable_list:gz.msgs.PointCloudPacked.field)
619  return &field_;
620 }
621 inline const ::gz::msgs::PointCloudPacked_Field& PointCloudPacked::field(int index) const {
622  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.field)
623  return field_.Get(index);
624 }
625 inline ::gz::msgs::PointCloudPacked_Field* PointCloudPacked::add_field() {
626  // @@protoc_insertion_point(field_add:gz.msgs.PointCloudPacked.field)
627  return field_.Add();
628 }
629 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::PointCloudPacked_Field >&
631  // @@protoc_insertion_point(field_list:gz.msgs.PointCloudPacked.field)
632  return field_;
633 }
634 
635 // uint32 height = 3;
637  height_ = 0u;
638 }
639 inline ::google::protobuf::uint32 PointCloudPacked::height() const {
640  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.height)
641  return height_;
642 }
643 inline void PointCloudPacked::set_height(::google::protobuf::uint32 value) {
644 
645  height_ = value;
646  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.height)
647 }
648 
649 // uint32 width = 4;
651  width_ = 0u;
652 }
653 inline ::google::protobuf::uint32 PointCloudPacked::width() const {
654  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.width)
655  return width_;
656 }
657 inline void PointCloudPacked::set_width(::google::protobuf::uint32 value) {
658 
659  width_ = value;
660  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.width)
661 }
662 
663 // bool is_bigendian = 5;
665  is_bigendian_ = false;
666 }
667 inline bool PointCloudPacked::is_bigendian() const {
668  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.is_bigendian)
669  return is_bigendian_;
670 }
671 inline void PointCloudPacked::set_is_bigendian(bool value) {
672 
673  is_bigendian_ = value;
674  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.is_bigendian)
675 }
676 
677 // uint32 point_step = 6;
679  point_step_ = 0u;
680 }
681 inline ::google::protobuf::uint32 PointCloudPacked::point_step() const {
682  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.point_step)
683  return point_step_;
684 }
685 inline void PointCloudPacked::set_point_step(::google::protobuf::uint32 value) {
686 
687  point_step_ = value;
688  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.point_step)
689 }
690 
691 // uint32 row_step = 7;
693  row_step_ = 0u;
694 }
695 inline ::google::protobuf::uint32 PointCloudPacked::row_step() const {
696  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.row_step)
697  return row_step_;
698 }
699 inline void PointCloudPacked::set_row_step(::google::protobuf::uint32 value) {
700 
701  row_step_ = value;
702  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.row_step)
703 }
704 
705 // bytes data = 8;
707  data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
708 }
709 inline const ::std::string& PointCloudPacked::data() const {
710  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.data)
711  return data_.GetNoArena();
712 }
713 inline void PointCloudPacked::set_data(const ::std::string& value) {
714 
715  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
716  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.data)
717 }
718 #if LANG_CXX11
719 inline void PointCloudPacked::set_data(::std::string&& value) {
720 
721  data_.SetNoArena(
722  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
723  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.PointCloudPacked.data)
724 }
725 #endif
726 inline void PointCloudPacked::set_data(const char* value) {
727  GOOGLE_DCHECK(value != NULL);
728 
729  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
730  // @@protoc_insertion_point(field_set_char:gz.msgs.PointCloudPacked.data)
731 }
732 inline void PointCloudPacked::set_data(const void* value, size_t size) {
733 
734  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
735  ::std::string(reinterpret_cast<const char*>(value), size));
736  // @@protoc_insertion_point(field_set_pointer:gz.msgs.PointCloudPacked.data)
737 }
738 inline ::std::string* PointCloudPacked::mutable_data() {
739 
740  // @@protoc_insertion_point(field_mutable:gz.msgs.PointCloudPacked.data)
741  return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
742 }
743 inline ::std::string* PointCloudPacked::release_data() {
744  // @@protoc_insertion_point(field_release:gz.msgs.PointCloudPacked.data)
745 
746  return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
747 }
749  if (data != NULL) {
750 
751  } else {
752 
753  }
754  data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data);
755  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PointCloudPacked.data)
756 }
757 
758 // bool is_dense = 9;
760  is_dense_ = false;
761 }
762 inline bool PointCloudPacked::is_dense() const {
763  // @@protoc_insertion_point(field_get:gz.msgs.PointCloudPacked.is_dense)
764  return is_dense_;
765 }
766 inline void PointCloudPacked::set_is_dense(bool value) {
767 
768  is_dense_ = value;
769  // @@protoc_insertion_point(field_set:gz.msgs.PointCloudPacked.is_dense)
770 }
771 
772 #ifdef __GNUC__
773  #pragma GCC diagnostic pop
774 #endif // __GNUC__
775 // -------------------------------------------------------------------
776 
777 
778 // @@protoc_insertion_point(namespace_scope)
779 
780 } // namespace msgs
781 } // namespace gz
782 
783 namespace google {
784 namespace protobuf {
785 
786 template <> struct is_proto_enum< ::gz::msgs::PointCloudPacked_Field_DataType> : ::std::true_type {};
787 template <>
788 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::PointCloudPacked_Field_DataType>() {
790 }
791 
792 } // namespace protobuf
793 } // namespace google
794 
795 // @@protoc_insertion_point(global_scope)
796 
797 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fpointcloud_5fpacked_2eproto