Gazebo Msgs

API Reference

9.5.1
occupancy_grid.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/occupancy_grid.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2foccupancy_5fgrid_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2foccupancy_5fgrid_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/unknown_field_set.h>
33 #include "gz/msgs/header.pb.h"
34 #include "gz/msgs/pose.pb.h"
35 #include "gz/msgs/time.pb.h"
36 // @@protoc_insertion_point(includes)
37 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2foccupancy_5fgrid_2eproto GZ_MSGS_VISIBLE
38 
40 // Internal implementation detail -- do not use these members.
41 struct GZ_MSGS_VISIBLE TableStruct {
42  static const ::google::protobuf::internal::ParseTableField entries[];
43  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
44  static const ::google::protobuf::internal::ParseTable schema[2];
45  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
46  static const ::google::protobuf::internal::SerializationTable serialization_table[];
47  static const ::google::protobuf::uint32 offsets[];
48 };
49 void GZ_MSGS_VISIBLE AddDescriptors();
50 } // namespace protobuf_gz_2fmsgs_2foccupancy_5fgrid_2eproto
51 namespace gz {
52 namespace msgs {
53 class OccupancyGrid;
54 class OccupancyGridDefaultTypeInternal;
55 GZ_MSGS_VISIBLE extern OccupancyGridDefaultTypeInternal _OccupancyGrid_default_instance_;
56 class OccupancyGrid_MapMetaInfo;
57 class OccupancyGrid_MapMetaInfoDefaultTypeInternal;
58 GZ_MSGS_VISIBLE extern OccupancyGrid_MapMetaInfoDefaultTypeInternal _OccupancyGrid_MapMetaInfo_default_instance_;
59 } // namespace msgs
60 } // namespace gz
61 namespace google {
62 namespace protobuf {
63 template<> GZ_MSGS_VISIBLE ::gz::msgs::OccupancyGrid* Arena::CreateMaybeMessage<::gz::msgs::OccupancyGrid>(Arena*);
64 template<> GZ_MSGS_VISIBLE ::gz::msgs::OccupancyGrid_MapMetaInfo* Arena::CreateMaybeMessage<::gz::msgs::OccupancyGrid_MapMetaInfo>(Arena*);
65 } // namespace protobuf
66 } // namespace google
67 namespace gz {
68 namespace msgs {
69 
70 // ===================================================================
71 
72 class GZ_MSGS_VISIBLE OccupancyGrid_MapMetaInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.OccupancyGrid.MapMetaInfo) */ {
73  public:
75  virtual ~OccupancyGrid_MapMetaInfo();
76 
78 
80  CopyFrom(from);
81  return *this;
82  }
83  #if LANG_CXX11
86  *this = ::std::move(from);
87  }
88 
89  inline OccupancyGrid_MapMetaInfo& operator=(OccupancyGrid_MapMetaInfo&& from) noexcept {
90  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
91  if (this != &from) InternalSwap(&from);
92  } else {
93  CopyFrom(from);
94  }
95  return *this;
96  }
97  #endif
98  static const ::google::protobuf::Descriptor* descriptor();
99  static const OccupancyGrid_MapMetaInfo& default_instance();
100 
101  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
103  return reinterpret_cast<const OccupancyGrid_MapMetaInfo*>(
105  }
106  static constexpr int kIndexInFileMessages =
107  0;
108 
109  void Swap(OccupancyGrid_MapMetaInfo* other);
111  a.Swap(&b);
112  }
113 
114  // implements Message ----------------------------------------------
115 
116  inline OccupancyGrid_MapMetaInfo* New() const final {
117  return CreateMaybeMessage<OccupancyGrid_MapMetaInfo>(NULL);
118  }
119 
120  OccupancyGrid_MapMetaInfo* New(::google::protobuf::Arena* arena) const final {
121  return CreateMaybeMessage<OccupancyGrid_MapMetaInfo>(arena);
122  }
123  void CopyFrom(const ::google::protobuf::Message& from) final;
124  void MergeFrom(const ::google::protobuf::Message& from) final;
125  void CopyFrom(const OccupancyGrid_MapMetaInfo& from);
126  void MergeFrom(const OccupancyGrid_MapMetaInfo& from);
127  void Clear() final;
128  bool IsInitialized() const final;
129 
130  size_t ByteSizeLong() const final;
131  bool MergePartialFromCodedStream(
132  ::google::protobuf::io::CodedInputStream* input) final;
133  void SerializeWithCachedSizes(
134  ::google::protobuf::io::CodedOutputStream* output) const final;
135  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
136  bool deterministic, ::google::protobuf::uint8* target) const final;
137  int GetCachedSize() const final { return _cached_size_.Get(); }
138 
139  private:
140  void SharedCtor();
141  void SharedDtor();
142  void SetCachedSize(int size) const final;
143  void InternalSwap(OccupancyGrid_MapMetaInfo* other);
144  private:
145  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
146  return NULL;
147  }
148  inline void* MaybeArenaPtr() const {
149  return NULL;
150  }
151  public:
152 
153  ::google::protobuf::Metadata GetMetadata() const final;
154 
155  // nested types ----------------------------------------------------
156 
157  // accessors -------------------------------------------------------
158 
159  // .gz.msgs.Time map_load_time = 1;
160  bool has_map_load_time() const;
161  void clear_map_load_time();
162  static const int kMapLoadTimeFieldNumber = 1;
163  private:
164  const ::gz::msgs::Time& _internal_map_load_time() const;
165  public:
166  const ::gz::msgs::Time& map_load_time() const;
167  ::gz::msgs::Time* release_map_load_time();
168  ::gz::msgs::Time* mutable_map_load_time();
169  void set_allocated_map_load_time(::gz::msgs::Time* map_load_time);
170 
171  // .gz.msgs.Pose origin = 5;
172  bool has_origin() const;
173  void clear_origin();
174  static const int kOriginFieldNumber = 5;
175  private:
176  const ::gz::msgs::Pose& _internal_origin() const;
177  public:
178  const ::gz::msgs::Pose& origin() const;
179  ::gz::msgs::Pose* release_origin();
180  ::gz::msgs::Pose* mutable_origin();
181  void set_allocated_origin(::gz::msgs::Pose* origin);
182 
183  // double resolution = 2;
184  void clear_resolution();
185  static const int kResolutionFieldNumber = 2;
186  double resolution() const;
187  void set_resolution(double value);
188 
189  // uint32 width = 3;
190  void clear_width();
191  static const int kWidthFieldNumber = 3;
192  ::google::protobuf::uint32 width() const;
193  void set_width(::google::protobuf::uint32 value);
194 
195  // uint32 height = 4;
196  void clear_height();
197  static const int kHeightFieldNumber = 4;
198  ::google::protobuf::uint32 height() const;
199  void set_height(::google::protobuf::uint32 value);
200 
201  // @@protoc_insertion_point(class_scope:gz.msgs.OccupancyGrid.MapMetaInfo)
202  private:
203 
204  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
205  ::gz::msgs::Time* map_load_time_;
206  ::gz::msgs::Pose* origin_;
207  double resolution_;
208  ::google::protobuf::uint32 width_;
209  ::google::protobuf::uint32 height_;
210  mutable ::google::protobuf::internal::CachedSize _cached_size_;
211  friend struct ::protobuf_gz_2fmsgs_2foccupancy_5fgrid_2eproto::TableStruct;
212 };
213 // -------------------------------------------------------------------
214 
215 class GZ_MSGS_VISIBLE OccupancyGrid : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.OccupancyGrid) */ {
216  public:
217  OccupancyGrid();
218  virtual ~OccupancyGrid();
219 
220  OccupancyGrid(const OccupancyGrid& from);
221 
222  inline OccupancyGrid& operator=(const OccupancyGrid& from) {
223  CopyFrom(from);
224  return *this;
225  }
226  #if LANG_CXX11
227  OccupancyGrid(OccupancyGrid&& from) noexcept
228  : OccupancyGrid() {
229  *this = ::std::move(from);
230  }
231 
232  inline OccupancyGrid& operator=(OccupancyGrid&& from) noexcept {
233  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
234  if (this != &from) InternalSwap(&from);
235  } else {
236  CopyFrom(from);
237  }
238  return *this;
239  }
240  #endif
241  static const ::google::protobuf::Descriptor* descriptor();
242  static const OccupancyGrid& default_instance();
243 
244  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
245  static inline const OccupancyGrid* internal_default_instance() {
246  return reinterpret_cast<const OccupancyGrid*>(
248  }
249  static constexpr int kIndexInFileMessages =
250  1;
251 
252  void Swap(OccupancyGrid* other);
253  friend void swap(OccupancyGrid& a, OccupancyGrid& b) {
254  a.Swap(&b);
255  }
256 
257  // implements Message ----------------------------------------------
258 
259  inline OccupancyGrid* New() const final {
260  return CreateMaybeMessage<OccupancyGrid>(NULL);
261  }
262 
263  OccupancyGrid* New(::google::protobuf::Arena* arena) const final {
264  return CreateMaybeMessage<OccupancyGrid>(arena);
265  }
266  void CopyFrom(const ::google::protobuf::Message& from) final;
267  void MergeFrom(const ::google::protobuf::Message& from) final;
268  void CopyFrom(const OccupancyGrid& from);
269  void MergeFrom(const OccupancyGrid& from);
270  void Clear() final;
271  bool IsInitialized() const final;
272 
273  size_t ByteSizeLong() const final;
274  bool MergePartialFromCodedStream(
275  ::google::protobuf::io::CodedInputStream* input) final;
276  void SerializeWithCachedSizes(
277  ::google::protobuf::io::CodedOutputStream* output) const final;
278  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
279  bool deterministic, ::google::protobuf::uint8* target) const final;
280  int GetCachedSize() const final { return _cached_size_.Get(); }
281 
282  private:
283  void SharedCtor();
284  void SharedDtor();
285  void SetCachedSize(int size) const final;
286  void InternalSwap(OccupancyGrid* other);
287  private:
288  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
289  return NULL;
290  }
291  inline void* MaybeArenaPtr() const {
292  return NULL;
293  }
294  public:
295 
296  ::google::protobuf::Metadata GetMetadata() const final;
297 
298  // nested types ----------------------------------------------------
299 
301 
302  // accessors -------------------------------------------------------
303 
304  // bytes data = 3;
305  void clear_data();
306  static const int kDataFieldNumber = 3;
307  const ::std::string& data() const;
308  void set_data(const ::std::string& value);
309  #if LANG_CXX11
310  void set_data(::std::string&& value);
311  #endif
312  void set_data(const char* value);
313  void set_data(const void* value, size_t size);
314  ::std::string* mutable_data();
315  ::std::string* release_data();
316  void set_allocated_data(::std::string* data);
317 
318  // .gz.msgs.Header header = 1;
319  bool has_header() const;
320  void clear_header();
321  static const int kHeaderFieldNumber = 1;
322  private:
323  const ::gz::msgs::Header& _internal_header() const;
324  public:
325  const ::gz::msgs::Header& header() const;
326  ::gz::msgs::Header* release_header();
327  ::gz::msgs::Header* mutable_header();
328  void set_allocated_header(::gz::msgs::Header* header);
329 
330  // .gz.msgs.OccupancyGrid.MapMetaInfo info = 2;
331  bool has_info() const;
332  void clear_info();
333  static const int kInfoFieldNumber = 2;
334  private:
335  const ::gz::msgs::OccupancyGrid_MapMetaInfo& _internal_info() const;
336  public:
337  const ::gz::msgs::OccupancyGrid_MapMetaInfo& info() const;
340  void set_allocated_info(::gz::msgs::OccupancyGrid_MapMetaInfo* info);
341 
342  // @@protoc_insertion_point(class_scope:gz.msgs.OccupancyGrid)
343  private:
344 
345  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
346  ::google::protobuf::internal::ArenaStringPtr data_;
347  ::gz::msgs::Header* header_;
349  mutable ::google::protobuf::internal::CachedSize _cached_size_;
350  friend struct ::protobuf_gz_2fmsgs_2foccupancy_5fgrid_2eproto::TableStruct;
351 };
352 // ===================================================================
353 
354 
355 // ===================================================================
356 
357 #ifdef __GNUC__
358  #pragma GCC diagnostic push
359  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
360 #endif // __GNUC__
361 // OccupancyGrid_MapMetaInfo
362 
363 // .gz.msgs.Time map_load_time = 1;
365  return this != internal_default_instance() && map_load_time_ != NULL;
366 }
367 inline const ::gz::msgs::Time& OccupancyGrid_MapMetaInfo::_internal_map_load_time() const {
368  return *map_load_time_;
369 }
370 inline const ::gz::msgs::Time& OccupancyGrid_MapMetaInfo::map_load_time() const {
371  const ::gz::msgs::Time* p = map_load_time_;
372  // @@protoc_insertion_point(field_get:gz.msgs.OccupancyGrid.MapMetaInfo.map_load_time)
373  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Time*>(
375 }
377  // @@protoc_insertion_point(field_release:gz.msgs.OccupancyGrid.MapMetaInfo.map_load_time)
378 
379  ::gz::msgs::Time* temp = map_load_time_;
380  map_load_time_ = NULL;
381  return temp;
382 }
384 
385  if (map_load_time_ == NULL) {
386  auto* p = CreateMaybeMessage<::gz::msgs::Time>(GetArenaNoVirtual());
387  map_load_time_ = p;
388  }
389  // @@protoc_insertion_point(field_mutable:gz.msgs.OccupancyGrid.MapMetaInfo.map_load_time)
390  return map_load_time_;
391 }
393  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
394  if (message_arena == NULL) {
395  delete reinterpret_cast< ::google::protobuf::MessageLite*>(map_load_time_);
396  }
397  if (map_load_time) {
398  ::google::protobuf::Arena* submessage_arena = NULL;
399  if (message_arena != submessage_arena) {
400  map_load_time = ::google::protobuf::internal::GetOwnedMessage(
401  message_arena, map_load_time, submessage_arena);
402  }
403 
404  } else {
405 
406  }
407  map_load_time_ = map_load_time;
408  // @@protoc_insertion_point(field_set_allocated:gz.msgs.OccupancyGrid.MapMetaInfo.map_load_time)
409 }
410 
411 // double resolution = 2;
413  resolution_ = 0;
414 }
416  // @@protoc_insertion_point(field_get:gz.msgs.OccupancyGrid.MapMetaInfo.resolution)
417  return resolution_;
418 }
419 inline void OccupancyGrid_MapMetaInfo::set_resolution(double value) {
420 
421  resolution_ = value;
422  // @@protoc_insertion_point(field_set:gz.msgs.OccupancyGrid.MapMetaInfo.resolution)
423 }
424 
425 // uint32 width = 3;
427  width_ = 0u;
428 }
429 inline ::google::protobuf::uint32 OccupancyGrid_MapMetaInfo::width() const {
430  // @@protoc_insertion_point(field_get:gz.msgs.OccupancyGrid.MapMetaInfo.width)
431  return width_;
432 }
433 inline void OccupancyGrid_MapMetaInfo::set_width(::google::protobuf::uint32 value) {
434 
435  width_ = value;
436  // @@protoc_insertion_point(field_set:gz.msgs.OccupancyGrid.MapMetaInfo.width)
437 }
438 
439 // uint32 height = 4;
441  height_ = 0u;
442 }
443 inline ::google::protobuf::uint32 OccupancyGrid_MapMetaInfo::height() const {
444  // @@protoc_insertion_point(field_get:gz.msgs.OccupancyGrid.MapMetaInfo.height)
445  return height_;
446 }
447 inline void OccupancyGrid_MapMetaInfo::set_height(::google::protobuf::uint32 value) {
448 
449  height_ = value;
450  // @@protoc_insertion_point(field_set:gz.msgs.OccupancyGrid.MapMetaInfo.height)
451 }
452 
453 // .gz.msgs.Pose origin = 5;
455  return this != internal_default_instance() && origin_ != NULL;
456 }
457 inline const ::gz::msgs::Pose& OccupancyGrid_MapMetaInfo::_internal_origin() const {
458  return *origin_;
459 }
460 inline const ::gz::msgs::Pose& OccupancyGrid_MapMetaInfo::origin() const {
461  const ::gz::msgs::Pose* p = origin_;
462  // @@protoc_insertion_point(field_get:gz.msgs.OccupancyGrid.MapMetaInfo.origin)
463  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Pose*>(
465 }
466 inline ::gz::msgs::Pose* OccupancyGrid_MapMetaInfo::release_origin() {
467  // @@protoc_insertion_point(field_release:gz.msgs.OccupancyGrid.MapMetaInfo.origin)
468 
469  ::gz::msgs::Pose* temp = origin_;
470  origin_ = NULL;
471  return temp;
472 }
473 inline ::gz::msgs::Pose* OccupancyGrid_MapMetaInfo::mutable_origin() {
474 
475  if (origin_ == NULL) {
476  auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
477  origin_ = p;
478  }
479  // @@protoc_insertion_point(field_mutable:gz.msgs.OccupancyGrid.MapMetaInfo.origin)
480  return origin_;
481 }
483  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
484  if (message_arena == NULL) {
485  delete reinterpret_cast< ::google::protobuf::MessageLite*>(origin_);
486  }
487  if (origin) {
488  ::google::protobuf::Arena* submessage_arena = NULL;
489  if (message_arena != submessage_arena) {
490  origin = ::google::protobuf::internal::GetOwnedMessage(
491  message_arena, origin, submessage_arena);
492  }
493 
494  } else {
495 
496  }
497  origin_ = origin;
498  // @@protoc_insertion_point(field_set_allocated:gz.msgs.OccupancyGrid.MapMetaInfo.origin)
499 }
500 
501 // -------------------------------------------------------------------
502 
503 // OccupancyGrid
504 
505 // .gz.msgs.Header header = 1;
506 inline bool OccupancyGrid::has_header() const {
507  return this != internal_default_instance() && header_ != NULL;
508 }
509 inline const ::gz::msgs::Header& OccupancyGrid::_internal_header() const {
510  return *header_;
511 }
512 inline const ::gz::msgs::Header& OccupancyGrid::header() const {
513  const ::gz::msgs::Header* p = header_;
514  // @@protoc_insertion_point(field_get:gz.msgs.OccupancyGrid.header)
515  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
517 }
518 inline ::gz::msgs::Header* OccupancyGrid::release_header() {
519  // @@protoc_insertion_point(field_release:gz.msgs.OccupancyGrid.header)
520 
521  ::gz::msgs::Header* temp = header_;
522  header_ = NULL;
523  return temp;
524 }
525 inline ::gz::msgs::Header* OccupancyGrid::mutable_header() {
526 
527  if (header_ == NULL) {
528  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
529  header_ = p;
530  }
531  // @@protoc_insertion_point(field_mutable:gz.msgs.OccupancyGrid.header)
532  return header_;
533 }
535  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
536  if (message_arena == NULL) {
537  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
538  }
539  if (header) {
540  ::google::protobuf::Arena* submessage_arena = NULL;
541  if (message_arena != submessage_arena) {
542  header = ::google::protobuf::internal::GetOwnedMessage(
543  message_arena, header, submessage_arena);
544  }
545 
546  } else {
547 
548  }
549  header_ = header;
550  // @@protoc_insertion_point(field_set_allocated:gz.msgs.OccupancyGrid.header)
551 }
552 
553 // .gz.msgs.OccupancyGrid.MapMetaInfo info = 2;
554 inline bool OccupancyGrid::has_info() const {
555  return this != internal_default_instance() && info_ != NULL;
556 }
558  if (GetArenaNoVirtual() == NULL && info_ != NULL) {
559  delete info_;
560  }
561  info_ = NULL;
562 }
563 inline const ::gz::msgs::OccupancyGrid_MapMetaInfo& OccupancyGrid::_internal_info() const {
564  return *info_;
565 }
566 inline const ::gz::msgs::OccupancyGrid_MapMetaInfo& OccupancyGrid::info() const {
567  const ::gz::msgs::OccupancyGrid_MapMetaInfo* p = info_;
568  // @@protoc_insertion_point(field_get:gz.msgs.OccupancyGrid.info)
569  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::OccupancyGrid_MapMetaInfo*>(
571 }
572 inline ::gz::msgs::OccupancyGrid_MapMetaInfo* OccupancyGrid::release_info() {
573  // @@protoc_insertion_point(field_release:gz.msgs.OccupancyGrid.info)
574 
576  info_ = NULL;
577  return temp;
578 }
579 inline ::gz::msgs::OccupancyGrid_MapMetaInfo* OccupancyGrid::mutable_info() {
580 
581  if (info_ == NULL) {
582  auto* p = CreateMaybeMessage<::gz::msgs::OccupancyGrid_MapMetaInfo>(GetArenaNoVirtual());
583  info_ = p;
584  }
585  // @@protoc_insertion_point(field_mutable:gz.msgs.OccupancyGrid.info)
586  return info_;
587 }
589  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
590  if (message_arena == NULL) {
591  delete info_;
592  }
593  if (info) {
594  ::google::protobuf::Arena* submessage_arena = NULL;
595  if (message_arena != submessage_arena) {
596  info = ::google::protobuf::internal::GetOwnedMessage(
597  message_arena, info, submessage_arena);
598  }
599 
600  } else {
601 
602  }
603  info_ = info;
604  // @@protoc_insertion_point(field_set_allocated:gz.msgs.OccupancyGrid.info)
605 }
606 
607 // bytes data = 3;
609  data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
610 }
611 inline const ::std::string& OccupancyGrid::data() const {
612  // @@protoc_insertion_point(field_get:gz.msgs.OccupancyGrid.data)
613  return data_.GetNoArena();
614 }
615 inline void OccupancyGrid::set_data(const ::std::string& value) {
616 
617  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
618  // @@protoc_insertion_point(field_set:gz.msgs.OccupancyGrid.data)
619 }
620 #if LANG_CXX11
621 inline void OccupancyGrid::set_data(::std::string&& value) {
622 
623  data_.SetNoArena(
624  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
625  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.OccupancyGrid.data)
626 }
627 #endif
628 inline void OccupancyGrid::set_data(const char* value) {
629  GOOGLE_DCHECK(value != NULL);
630 
631  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
632  // @@protoc_insertion_point(field_set_char:gz.msgs.OccupancyGrid.data)
633 }
634 inline void OccupancyGrid::set_data(const void* value, size_t size) {
635 
636  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
637  ::std::string(reinterpret_cast<const char*>(value), size));
638  // @@protoc_insertion_point(field_set_pointer:gz.msgs.OccupancyGrid.data)
639 }
640 inline ::std::string* OccupancyGrid::mutable_data() {
641 
642  // @@protoc_insertion_point(field_mutable:gz.msgs.OccupancyGrid.data)
643  return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
644 }
645 inline ::std::string* OccupancyGrid::release_data() {
646  // @@protoc_insertion_point(field_release:gz.msgs.OccupancyGrid.data)
647 
648  return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
649 }
651  if (data != NULL) {
652 
653  } else {
654 
655  }
656  data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data);
657  // @@protoc_insertion_point(field_set_allocated:gz.msgs.OccupancyGrid.data)
658 }
659 
660 #ifdef __GNUC__
661  #pragma GCC diagnostic pop
662 #endif // __GNUC__
663 // -------------------------------------------------------------------
664 
665 
666 // @@protoc_insertion_point(namespace_scope)
667 
668 } // namespace msgs
669 } // namespace gz
670 
671 // @@protoc_insertion_point(global_scope)
672 
673 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2foccupancy_5fgrid_2eproto