Gazebo Msgs

API Reference

9.5.1
heightmapgeom.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/heightmapgeom.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fheightmapgeom_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fheightmapgeom_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/image.pb.h"
34 #include "gz/msgs/vector3d.pb.h"
35 #include "gz/msgs/header.pb.h"
36 // @@protoc_insertion_point(includes)
37 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fheightmapgeom_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[3];
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_2fheightmapgeom_2eproto
51 namespace gz {
52 namespace msgs {
53 class HeightmapGeom;
54 class HeightmapGeomDefaultTypeInternal;
55 GZ_MSGS_VISIBLE extern HeightmapGeomDefaultTypeInternal _HeightmapGeom_default_instance_;
56 class HeightmapGeom_Blend;
57 class HeightmapGeom_BlendDefaultTypeInternal;
58 GZ_MSGS_VISIBLE extern HeightmapGeom_BlendDefaultTypeInternal _HeightmapGeom_Blend_default_instance_;
59 class HeightmapGeom_Texture;
60 class HeightmapGeom_TextureDefaultTypeInternal;
61 GZ_MSGS_VISIBLE extern HeightmapGeom_TextureDefaultTypeInternal _HeightmapGeom_Texture_default_instance_;
62 } // namespace msgs
63 } // namespace gz
64 namespace google {
65 namespace protobuf {
66 template<> GZ_MSGS_VISIBLE ::gz::msgs::HeightmapGeom* Arena::CreateMaybeMessage<::gz::msgs::HeightmapGeom>(Arena*);
67 template<> GZ_MSGS_VISIBLE ::gz::msgs::HeightmapGeom_Blend* Arena::CreateMaybeMessage<::gz::msgs::HeightmapGeom_Blend>(Arena*);
68 template<> GZ_MSGS_VISIBLE ::gz::msgs::HeightmapGeom_Texture* Arena::CreateMaybeMessage<::gz::msgs::HeightmapGeom_Texture>(Arena*);
69 } // namespace protobuf
70 } // namespace google
71 namespace gz {
72 namespace msgs {
73 
74 // ===================================================================
75 
76 class GZ_MSGS_VISIBLE HeightmapGeom_Texture : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.HeightmapGeom.Texture) */ {
77  public:
79  virtual ~HeightmapGeom_Texture();
80 
82 
84  CopyFrom(from);
85  return *this;
86  }
87  #if LANG_CXX11
90  *this = ::std::move(from);
91  }
92 
93  inline HeightmapGeom_Texture& operator=(HeightmapGeom_Texture&& from) noexcept {
94  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95  if (this != &from) InternalSwap(&from);
96  } else {
97  CopyFrom(from);
98  }
99  return *this;
100  }
101  #endif
102  static const ::google::protobuf::Descriptor* descriptor();
103  static const HeightmapGeom_Texture& default_instance();
104 
105  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
107  return reinterpret_cast<const HeightmapGeom_Texture*>(
109  }
110  static constexpr int kIndexInFileMessages =
111  0;
112 
113  void Swap(HeightmapGeom_Texture* other);
115  a.Swap(&b);
116  }
117 
118  // implements Message ----------------------------------------------
119 
120  inline HeightmapGeom_Texture* New() const final {
121  return CreateMaybeMessage<HeightmapGeom_Texture>(NULL);
122  }
123 
124  HeightmapGeom_Texture* New(::google::protobuf::Arena* arena) const final {
125  return CreateMaybeMessage<HeightmapGeom_Texture>(arena);
126  }
127  void CopyFrom(const ::google::protobuf::Message& from) final;
128  void MergeFrom(const ::google::protobuf::Message& from) final;
129  void CopyFrom(const HeightmapGeom_Texture& from);
130  void MergeFrom(const HeightmapGeom_Texture& from);
131  void Clear() final;
132  bool IsInitialized() const final;
133 
134  size_t ByteSizeLong() const final;
135  bool MergePartialFromCodedStream(
136  ::google::protobuf::io::CodedInputStream* input) final;
137  void SerializeWithCachedSizes(
138  ::google::protobuf::io::CodedOutputStream* output) const final;
139  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
140  bool deterministic, ::google::protobuf::uint8* target) const final;
141  int GetCachedSize() const final { return _cached_size_.Get(); }
142 
143  private:
144  void SharedCtor();
145  void SharedDtor();
146  void SetCachedSize(int size) const final;
147  void InternalSwap(HeightmapGeom_Texture* other);
148  private:
149  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
150  return NULL;
151  }
152  inline void* MaybeArenaPtr() const {
153  return NULL;
154  }
155  public:
156 
157  ::google::protobuf::Metadata GetMetadata() const final;
158 
159  // nested types ----------------------------------------------------
160 
161  // accessors -------------------------------------------------------
162 
163  // string diffuse = 1;
164  void clear_diffuse();
165  static const int kDiffuseFieldNumber = 1;
166  const ::std::string& diffuse() const;
167  void set_diffuse(const ::std::string& value);
168  #if LANG_CXX11
169  void set_diffuse(::std::string&& value);
170  #endif
171  void set_diffuse(const char* value);
172  void set_diffuse(const char* value, size_t size);
173  ::std::string* mutable_diffuse();
174  ::std::string* release_diffuse();
175  void set_allocated_diffuse(::std::string* diffuse);
176 
177  // string normal = 2;
178  void clear_normal();
179  static const int kNormalFieldNumber = 2;
180  const ::std::string& normal() const;
181  void set_normal(const ::std::string& value);
182  #if LANG_CXX11
183  void set_normal(::std::string&& value);
184  #endif
185  void set_normal(const char* value);
186  void set_normal(const char* value, size_t size);
187  ::std::string* mutable_normal();
188  ::std::string* release_normal();
189  void set_allocated_normal(::std::string* normal);
190 
191  // double size = 3;
192  void clear_size();
193  static const int kSizeFieldNumber = 3;
194  double size() const;
195  void set_size(double value);
196 
197  // @@protoc_insertion_point(class_scope:gz.msgs.HeightmapGeom.Texture)
198  private:
199 
200  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
201  ::google::protobuf::internal::ArenaStringPtr diffuse_;
202  ::google::protobuf::internal::ArenaStringPtr normal_;
203  double size_;
204  mutable ::google::protobuf::internal::CachedSize _cached_size_;
205  friend struct ::protobuf_gz_2fmsgs_2fheightmapgeom_2eproto::TableStruct;
206 };
207 // -------------------------------------------------------------------
208 
209 class GZ_MSGS_VISIBLE HeightmapGeom_Blend : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.HeightmapGeom.Blend) */ {
210  public:
212  virtual ~HeightmapGeom_Blend();
213 
215 
217  CopyFrom(from);
218  return *this;
219  }
220  #if LANG_CXX11
222  : HeightmapGeom_Blend() {
223  *this = ::std::move(from);
224  }
225 
226  inline HeightmapGeom_Blend& operator=(HeightmapGeom_Blend&& from) noexcept {
227  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
228  if (this != &from) InternalSwap(&from);
229  } else {
230  CopyFrom(from);
231  }
232  return *this;
233  }
234  #endif
235  static const ::google::protobuf::Descriptor* descriptor();
236  static const HeightmapGeom_Blend& default_instance();
237 
238  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
240  return reinterpret_cast<const HeightmapGeom_Blend*>(
242  }
243  static constexpr int kIndexInFileMessages =
244  1;
245 
246  void Swap(HeightmapGeom_Blend* other);
248  a.Swap(&b);
249  }
250 
251  // implements Message ----------------------------------------------
252 
253  inline HeightmapGeom_Blend* New() const final {
254  return CreateMaybeMessage<HeightmapGeom_Blend>(NULL);
255  }
256 
257  HeightmapGeom_Blend* New(::google::protobuf::Arena* arena) const final {
258  return CreateMaybeMessage<HeightmapGeom_Blend>(arena);
259  }
260  void CopyFrom(const ::google::protobuf::Message& from) final;
261  void MergeFrom(const ::google::protobuf::Message& from) final;
262  void CopyFrom(const HeightmapGeom_Blend& from);
263  void MergeFrom(const HeightmapGeom_Blend& from);
264  void Clear() final;
265  bool IsInitialized() const final;
266 
267  size_t ByteSizeLong() const final;
268  bool MergePartialFromCodedStream(
269  ::google::protobuf::io::CodedInputStream* input) final;
270  void SerializeWithCachedSizes(
271  ::google::protobuf::io::CodedOutputStream* output) const final;
272  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
273  bool deterministic, ::google::protobuf::uint8* target) const final;
274  int GetCachedSize() const final { return _cached_size_.Get(); }
275 
276  private:
277  void SharedCtor();
278  void SharedDtor();
279  void SetCachedSize(int size) const final;
280  void InternalSwap(HeightmapGeom_Blend* other);
281  private:
282  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
283  return NULL;
284  }
285  inline void* MaybeArenaPtr() const {
286  return NULL;
287  }
288  public:
289 
290  ::google::protobuf::Metadata GetMetadata() const final;
291 
292  // nested types ----------------------------------------------------
293 
294  // accessors -------------------------------------------------------
295 
296  // double min_height = 1;
297  void clear_min_height();
298  static const int kMinHeightFieldNumber = 1;
299  double min_height() const;
300  void set_min_height(double value);
301 
302  // double fade_dist = 2;
303  void clear_fade_dist();
304  static const int kFadeDistFieldNumber = 2;
305  double fade_dist() const;
306  void set_fade_dist(double value);
307 
308  // @@protoc_insertion_point(class_scope:gz.msgs.HeightmapGeom.Blend)
309  private:
310 
311  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
312  double min_height_;
313  double fade_dist_;
314  mutable ::google::protobuf::internal::CachedSize _cached_size_;
315  friend struct ::protobuf_gz_2fmsgs_2fheightmapgeom_2eproto::TableStruct;
316 };
317 // -------------------------------------------------------------------
318 
319 class GZ_MSGS_VISIBLE HeightmapGeom : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.HeightmapGeom) */ {
320  public:
321  HeightmapGeom();
322  virtual ~HeightmapGeom();
323 
324  HeightmapGeom(const HeightmapGeom& from);
325 
326  inline HeightmapGeom& operator=(const HeightmapGeom& from) {
327  CopyFrom(from);
328  return *this;
329  }
330  #if LANG_CXX11
331  HeightmapGeom(HeightmapGeom&& from) noexcept
332  : HeightmapGeom() {
333  *this = ::std::move(from);
334  }
335 
336  inline HeightmapGeom& operator=(HeightmapGeom&& from) noexcept {
337  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
338  if (this != &from) InternalSwap(&from);
339  } else {
340  CopyFrom(from);
341  }
342  return *this;
343  }
344  #endif
345  static const ::google::protobuf::Descriptor* descriptor();
346  static const HeightmapGeom& default_instance();
347 
348  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
349  static inline const HeightmapGeom* internal_default_instance() {
350  return reinterpret_cast<const HeightmapGeom*>(
352  }
353  static constexpr int kIndexInFileMessages =
354  2;
355 
356  void Swap(HeightmapGeom* other);
357  friend void swap(HeightmapGeom& a, HeightmapGeom& b) {
358  a.Swap(&b);
359  }
360 
361  // implements Message ----------------------------------------------
362 
363  inline HeightmapGeom* New() const final {
364  return CreateMaybeMessage<HeightmapGeom>(NULL);
365  }
366 
367  HeightmapGeom* New(::google::protobuf::Arena* arena) const final {
368  return CreateMaybeMessage<HeightmapGeom>(arena);
369  }
370  void CopyFrom(const ::google::protobuf::Message& from) final;
371  void MergeFrom(const ::google::protobuf::Message& from) final;
372  void CopyFrom(const HeightmapGeom& from);
373  void MergeFrom(const HeightmapGeom& from);
374  void Clear() final;
375  bool IsInitialized() const final;
376 
377  size_t ByteSizeLong() const final;
378  bool MergePartialFromCodedStream(
379  ::google::protobuf::io::CodedInputStream* input) final;
380  void SerializeWithCachedSizes(
381  ::google::protobuf::io::CodedOutputStream* output) const final;
382  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
383  bool deterministic, ::google::protobuf::uint8* target) const final;
384  int GetCachedSize() const final { return _cached_size_.Get(); }
385 
386  private:
387  void SharedCtor();
388  void SharedDtor();
389  void SetCachedSize(int size) const final;
390  void InternalSwap(HeightmapGeom* other);
391  private:
392  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
393  return NULL;
394  }
395  inline void* MaybeArenaPtr() const {
396  return NULL;
397  }
398  public:
399 
400  ::google::protobuf::Metadata GetMetadata() const final;
401 
402  // nested types ----------------------------------------------------
403 
406 
407  // accessors -------------------------------------------------------
408 
409  // repeated float heights = 5;
410  int heights_size() const;
411  void clear_heights();
412  static const int kHeightsFieldNumber = 5;
413  float heights(int index) const;
414  void set_heights(int index, float value);
415  void add_heights(float value);
416  const ::google::protobuf::RepeatedField< float >&
417  heights() const;
418  ::google::protobuf::RepeatedField< float >*
419  mutable_heights();
420 
421  // repeated .gz.msgs.HeightmapGeom.Texture texture = 8;
422  int texture_size() const;
423  void clear_texture();
424  static const int kTextureFieldNumber = 8;
425  ::gz::msgs::HeightmapGeom_Texture* mutable_texture(int index);
426  ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Texture >*
427  mutable_texture();
428  const ::gz::msgs::HeightmapGeom_Texture& texture(int index) const;
429  ::gz::msgs::HeightmapGeom_Texture* add_texture();
430  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Texture >&
431  texture() const;
432 
433  // repeated .gz.msgs.HeightmapGeom.Blend blend = 9;
434  int blend_size() const;
435  void clear_blend();
436  static const int kBlendFieldNumber = 9;
437  ::gz::msgs::HeightmapGeom_Blend* mutable_blend(int index);
438  ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Blend >*
439  mutable_blend();
440  const ::gz::msgs::HeightmapGeom_Blend& blend(int index) const;
441  ::gz::msgs::HeightmapGeom_Blend* add_blend();
442  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Blend >&
443  blend() const;
444 
445  // string filename = 11;
446  void clear_filename();
447  static const int kFilenameFieldNumber = 11;
448  const ::std::string& filename() const;
449  void set_filename(const ::std::string& value);
450  #if LANG_CXX11
451  void set_filename(::std::string&& value);
452  #endif
453  void set_filename(const char* value);
454  void set_filename(const char* value, size_t size);
455  ::std::string* mutable_filename();
456  ::std::string* release_filename();
457  void set_allocated_filename(::std::string* filename);
458 
459  // .gz.msgs.Header header = 1;
460  bool has_header() const;
461  void clear_header();
462  static const int kHeaderFieldNumber = 1;
463  private:
464  const ::gz::msgs::Header& _internal_header() const;
465  public:
466  const ::gz::msgs::Header& header() const;
467  ::gz::msgs::Header* release_header();
468  ::gz::msgs::Header* mutable_header();
469  void set_allocated_header(::gz::msgs::Header* header);
470 
471  // .gz.msgs.Image image = 2;
472  bool has_image() const;
473  void clear_image();
474  static const int kImageFieldNumber = 2;
475  private:
476  const ::gz::msgs::Image& _internal_image() const;
477  public:
478  const ::gz::msgs::Image& image() const;
479  ::gz::msgs::Image* release_image();
480  ::gz::msgs::Image* mutable_image();
481  void set_allocated_image(::gz::msgs::Image* image);
482 
483  // .gz.msgs.Vector3d size = 3;
484  bool has_size() const;
485  void clear_size();
486  static const int kSizeFieldNumber = 3;
487  private:
488  const ::gz::msgs::Vector3d& _internal_size() const;
489  public:
490  const ::gz::msgs::Vector3d& size() const;
491  ::gz::msgs::Vector3d* release_size();
492  ::gz::msgs::Vector3d* mutable_size();
493  void set_allocated_size(::gz::msgs::Vector3d* size);
494 
495  // .gz.msgs.Vector3d origin = 4;
496  bool has_origin() const;
497  void clear_origin();
498  static const int kOriginFieldNumber = 4;
499  private:
500  const ::gz::msgs::Vector3d& _internal_origin() const;
501  public:
502  const ::gz::msgs::Vector3d& origin() const;
503  ::gz::msgs::Vector3d* release_origin();
504  ::gz::msgs::Vector3d* mutable_origin();
505  void set_allocated_origin(::gz::msgs::Vector3d* origin);
506 
507  // int32 width = 6;
508  void clear_width();
509  static const int kWidthFieldNumber = 6;
510  ::google::protobuf::int32 width() const;
511  void set_width(::google::protobuf::int32 value);
512 
513  // int32 height = 7;
514  void clear_height();
515  static const int kHeightFieldNumber = 7;
516  ::google::protobuf::int32 height() const;
517  void set_height(::google::protobuf::int32 value);
518 
519  // bool use_terrain_paging = 10;
520  void clear_use_terrain_paging();
521  static const int kUseTerrainPagingFieldNumber = 10;
522  bool use_terrain_paging() const;
523  void set_use_terrain_paging(bool value);
524 
525  // uint32 sampling = 12;
526  void clear_sampling();
527  static const int kSamplingFieldNumber = 12;
528  ::google::protobuf::uint32 sampling() const;
529  void set_sampling(::google::protobuf::uint32 value);
530 
531  // @@protoc_insertion_point(class_scope:gz.msgs.HeightmapGeom)
532  private:
533 
534  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
535  ::google::protobuf::RepeatedField< float > heights_;
536  mutable int _heights_cached_byte_size_;
537  ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Texture > texture_;
538  ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Blend > blend_;
539  ::google::protobuf::internal::ArenaStringPtr filename_;
540  ::gz::msgs::Header* header_;
541  ::gz::msgs::Image* image_;
542  ::gz::msgs::Vector3d* size_;
543  ::gz::msgs::Vector3d* origin_;
544  ::google::protobuf::int32 width_;
545  ::google::protobuf::int32 height_;
546  bool use_terrain_paging_;
547  ::google::protobuf::uint32 sampling_;
548  mutable ::google::protobuf::internal::CachedSize _cached_size_;
549  friend struct ::protobuf_gz_2fmsgs_2fheightmapgeom_2eproto::TableStruct;
550 };
551 // ===================================================================
552 
553 
554 // ===================================================================
555 
556 #ifdef __GNUC__
557  #pragma GCC diagnostic push
558  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
559 #endif // __GNUC__
560 // HeightmapGeom_Texture
561 
562 // string diffuse = 1;
564  diffuse_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
565 }
566 inline const ::std::string& HeightmapGeom_Texture::diffuse() const {
567  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.Texture.diffuse)
568  return diffuse_.GetNoArena();
569 }
570 inline void HeightmapGeom_Texture::set_diffuse(const ::std::string& value) {
571 
572  diffuse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
573  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.Texture.diffuse)
574 }
575 #if LANG_CXX11
576 inline void HeightmapGeom_Texture::set_diffuse(::std::string&& value) {
577 
578  diffuse_.SetNoArena(
579  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
580  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.HeightmapGeom.Texture.diffuse)
581 }
582 #endif
583 inline void HeightmapGeom_Texture::set_diffuse(const char* value) {
584  GOOGLE_DCHECK(value != NULL);
585 
586  diffuse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
587  // @@protoc_insertion_point(field_set_char:gz.msgs.HeightmapGeom.Texture.diffuse)
588 }
589 inline void HeightmapGeom_Texture::set_diffuse(const char* value, size_t size) {
590 
591  diffuse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
592  ::std::string(reinterpret_cast<const char*>(value), size));
593  // @@protoc_insertion_point(field_set_pointer:gz.msgs.HeightmapGeom.Texture.diffuse)
594 }
595 inline ::std::string* HeightmapGeom_Texture::mutable_diffuse() {
596 
597  // @@protoc_insertion_point(field_mutable:gz.msgs.HeightmapGeom.Texture.diffuse)
598  return diffuse_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
599 }
600 inline ::std::string* HeightmapGeom_Texture::release_diffuse() {
601  // @@protoc_insertion_point(field_release:gz.msgs.HeightmapGeom.Texture.diffuse)
602 
603  return diffuse_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
604 }
606  if (diffuse != NULL) {
607 
608  } else {
609 
610  }
611  diffuse_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), diffuse);
612  // @@protoc_insertion_point(field_set_allocated:gz.msgs.HeightmapGeom.Texture.diffuse)
613 }
614 
615 // string normal = 2;
617  normal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
618 }
619 inline const ::std::string& HeightmapGeom_Texture::normal() const {
620  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.Texture.normal)
621  return normal_.GetNoArena();
622 }
623 inline void HeightmapGeom_Texture::set_normal(const ::std::string& value) {
624 
625  normal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
626  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.Texture.normal)
627 }
628 #if LANG_CXX11
629 inline void HeightmapGeom_Texture::set_normal(::std::string&& value) {
630 
631  normal_.SetNoArena(
632  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
633  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.HeightmapGeom.Texture.normal)
634 }
635 #endif
636 inline void HeightmapGeom_Texture::set_normal(const char* value) {
637  GOOGLE_DCHECK(value != NULL);
638 
639  normal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
640  // @@protoc_insertion_point(field_set_char:gz.msgs.HeightmapGeom.Texture.normal)
641 }
642 inline void HeightmapGeom_Texture::set_normal(const char* value, size_t size) {
643 
644  normal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
645  ::std::string(reinterpret_cast<const char*>(value), size));
646  // @@protoc_insertion_point(field_set_pointer:gz.msgs.HeightmapGeom.Texture.normal)
647 }
648 inline ::std::string* HeightmapGeom_Texture::mutable_normal() {
649 
650  // @@protoc_insertion_point(field_mutable:gz.msgs.HeightmapGeom.Texture.normal)
651  return normal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
652 }
653 inline ::std::string* HeightmapGeom_Texture::release_normal() {
654  // @@protoc_insertion_point(field_release:gz.msgs.HeightmapGeom.Texture.normal)
655 
656  return normal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
657 }
659  if (normal != NULL) {
660 
661  } else {
662 
663  }
664  normal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), normal);
665  // @@protoc_insertion_point(field_set_allocated:gz.msgs.HeightmapGeom.Texture.normal)
666 }
667 
668 // double size = 3;
670  size_ = 0;
671 }
672 inline double HeightmapGeom_Texture::size() const {
673  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.Texture.size)
674  return size_;
675 }
676 inline void HeightmapGeom_Texture::set_size(double value) {
677 
678  size_ = value;
679  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.Texture.size)
680 }
681 
682 // -------------------------------------------------------------------
683 
684 // HeightmapGeom_Blend
685 
686 // double min_height = 1;
688  min_height_ = 0;
689 }
690 inline double HeightmapGeom_Blend::min_height() const {
691  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.Blend.min_height)
692  return min_height_;
693 }
694 inline void HeightmapGeom_Blend::set_min_height(double value) {
695 
696  min_height_ = value;
697  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.Blend.min_height)
698 }
699 
700 // double fade_dist = 2;
702  fade_dist_ = 0;
703 }
704 inline double HeightmapGeom_Blend::fade_dist() const {
705  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.Blend.fade_dist)
706  return fade_dist_;
707 }
708 inline void HeightmapGeom_Blend::set_fade_dist(double value) {
709 
710  fade_dist_ = value;
711  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.Blend.fade_dist)
712 }
713 
714 // -------------------------------------------------------------------
715 
716 // HeightmapGeom
717 
718 // .gz.msgs.Header header = 1;
719 inline bool HeightmapGeom::has_header() const {
720  return this != internal_default_instance() && header_ != NULL;
721 }
722 inline const ::gz::msgs::Header& HeightmapGeom::_internal_header() const {
723  return *header_;
724 }
725 inline const ::gz::msgs::Header& HeightmapGeom::header() const {
726  const ::gz::msgs::Header* p = header_;
727  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.header)
728  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
730 }
731 inline ::gz::msgs::Header* HeightmapGeom::release_header() {
732  // @@protoc_insertion_point(field_release:gz.msgs.HeightmapGeom.header)
733 
734  ::gz::msgs::Header* temp = header_;
735  header_ = NULL;
736  return temp;
737 }
738 inline ::gz::msgs::Header* HeightmapGeom::mutable_header() {
739 
740  if (header_ == NULL) {
741  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
742  header_ = p;
743  }
744  // @@protoc_insertion_point(field_mutable:gz.msgs.HeightmapGeom.header)
745  return header_;
746 }
748  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
749  if (message_arena == NULL) {
750  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
751  }
752  if (header) {
753  ::google::protobuf::Arena* submessage_arena = NULL;
754  if (message_arena != submessage_arena) {
755  header = ::google::protobuf::internal::GetOwnedMessage(
756  message_arena, header, submessage_arena);
757  }
758 
759  } else {
760 
761  }
762  header_ = header;
763  // @@protoc_insertion_point(field_set_allocated:gz.msgs.HeightmapGeom.header)
764 }
765 
766 // .gz.msgs.Image image = 2;
767 inline bool HeightmapGeom::has_image() const {
768  return this != internal_default_instance() && image_ != NULL;
769 }
770 inline const ::gz::msgs::Image& HeightmapGeom::_internal_image() const {
771  return *image_;
772 }
773 inline const ::gz::msgs::Image& HeightmapGeom::image() const {
774  const ::gz::msgs::Image* p = image_;
775  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.image)
776  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Image*>(
778 }
779 inline ::gz::msgs::Image* HeightmapGeom::release_image() {
780  // @@protoc_insertion_point(field_release:gz.msgs.HeightmapGeom.image)
781 
782  ::gz::msgs::Image* temp = image_;
783  image_ = NULL;
784  return temp;
785 }
786 inline ::gz::msgs::Image* HeightmapGeom::mutable_image() {
787 
788  if (image_ == NULL) {
789  auto* p = CreateMaybeMessage<::gz::msgs::Image>(GetArenaNoVirtual());
790  image_ = p;
791  }
792  // @@protoc_insertion_point(field_mutable:gz.msgs.HeightmapGeom.image)
793  return image_;
794 }
796  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
797  if (message_arena == NULL) {
798  delete reinterpret_cast< ::google::protobuf::MessageLite*>(image_);
799  }
800  if (image) {
801  ::google::protobuf::Arena* submessage_arena = NULL;
802  if (message_arena != submessage_arena) {
803  image = ::google::protobuf::internal::GetOwnedMessage(
804  message_arena, image, submessage_arena);
805  }
806 
807  } else {
808 
809  }
810  image_ = image;
811  // @@protoc_insertion_point(field_set_allocated:gz.msgs.HeightmapGeom.image)
812 }
813 
814 // .gz.msgs.Vector3d size = 3;
815 inline bool HeightmapGeom::has_size() const {
816  return this != internal_default_instance() && size_ != NULL;
817 }
818 inline const ::gz::msgs::Vector3d& HeightmapGeom::_internal_size() const {
819  return *size_;
820 }
821 inline const ::gz::msgs::Vector3d& HeightmapGeom::size() const {
822  const ::gz::msgs::Vector3d* p = size_;
823  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.size)
824  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
826 }
827 inline ::gz::msgs::Vector3d* HeightmapGeom::release_size() {
828  // @@protoc_insertion_point(field_release:gz.msgs.HeightmapGeom.size)
829 
830  ::gz::msgs::Vector3d* temp = size_;
831  size_ = NULL;
832  return temp;
833 }
834 inline ::gz::msgs::Vector3d* HeightmapGeom::mutable_size() {
835 
836  if (size_ == NULL) {
837  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
838  size_ = p;
839  }
840  // @@protoc_insertion_point(field_mutable:gz.msgs.HeightmapGeom.size)
841  return size_;
842 }
844  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
845  if (message_arena == NULL) {
846  delete reinterpret_cast< ::google::protobuf::MessageLite*>(size_);
847  }
848  if (size) {
849  ::google::protobuf::Arena* submessage_arena = NULL;
850  if (message_arena != submessage_arena) {
851  size = ::google::protobuf::internal::GetOwnedMessage(
852  message_arena, size, submessage_arena);
853  }
854 
855  } else {
856 
857  }
858  size_ = size;
859  // @@protoc_insertion_point(field_set_allocated:gz.msgs.HeightmapGeom.size)
860 }
861 
862 // .gz.msgs.Vector3d origin = 4;
863 inline bool HeightmapGeom::has_origin() const {
864  return this != internal_default_instance() && origin_ != NULL;
865 }
866 inline const ::gz::msgs::Vector3d& HeightmapGeom::_internal_origin() const {
867  return *origin_;
868 }
869 inline const ::gz::msgs::Vector3d& HeightmapGeom::origin() const {
870  const ::gz::msgs::Vector3d* p = origin_;
871  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.origin)
872  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
874 }
875 inline ::gz::msgs::Vector3d* HeightmapGeom::release_origin() {
876  // @@protoc_insertion_point(field_release:gz.msgs.HeightmapGeom.origin)
877 
878  ::gz::msgs::Vector3d* temp = origin_;
879  origin_ = NULL;
880  return temp;
881 }
882 inline ::gz::msgs::Vector3d* HeightmapGeom::mutable_origin() {
883 
884  if (origin_ == NULL) {
885  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
886  origin_ = p;
887  }
888  // @@protoc_insertion_point(field_mutable:gz.msgs.HeightmapGeom.origin)
889  return origin_;
890 }
892  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
893  if (message_arena == NULL) {
894  delete reinterpret_cast< ::google::protobuf::MessageLite*>(origin_);
895  }
896  if (origin) {
897  ::google::protobuf::Arena* submessage_arena = NULL;
898  if (message_arena != submessage_arena) {
899  origin = ::google::protobuf::internal::GetOwnedMessage(
900  message_arena, origin, submessage_arena);
901  }
902 
903  } else {
904 
905  }
906  origin_ = origin;
907  // @@protoc_insertion_point(field_set_allocated:gz.msgs.HeightmapGeom.origin)
908 }
909 
910 // repeated float heights = 5;
911 inline int HeightmapGeom::heights_size() const {
912  return heights_.size();
913 }
915  heights_.Clear();
916 }
917 inline float HeightmapGeom::heights(int index) const {
918  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.heights)
919  return heights_.Get(index);
920 }
921 inline void HeightmapGeom::set_heights(int index, float value) {
922  heights_.Set(index, value);
923  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.heights)
924 }
925 inline void HeightmapGeom::add_heights(float value) {
926  heights_.Add(value);
927  // @@protoc_insertion_point(field_add:gz.msgs.HeightmapGeom.heights)
928 }
929 inline const ::google::protobuf::RepeatedField< float >&
931  // @@protoc_insertion_point(field_list:gz.msgs.HeightmapGeom.heights)
932  return heights_;
933 }
934 inline ::google::protobuf::RepeatedField< float >*
936  // @@protoc_insertion_point(field_mutable_list:gz.msgs.HeightmapGeom.heights)
937  return &heights_;
938 }
939 
940 // int32 width = 6;
942  width_ = 0;
943 }
944 inline ::google::protobuf::int32 HeightmapGeom::width() const {
945  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.width)
946  return width_;
947 }
948 inline void HeightmapGeom::set_width(::google::protobuf::int32 value) {
949 
950  width_ = value;
951  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.width)
952 }
953 
954 // int32 height = 7;
956  height_ = 0;
957 }
958 inline ::google::protobuf::int32 HeightmapGeom::height() const {
959  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.height)
960  return height_;
961 }
962 inline void HeightmapGeom::set_height(::google::protobuf::int32 value) {
963 
964  height_ = value;
965  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.height)
966 }
967 
968 // repeated .gz.msgs.HeightmapGeom.Texture texture = 8;
969 inline int HeightmapGeom::texture_size() const {
970  return texture_.size();
971 }
973  texture_.Clear();
974 }
975 inline ::gz::msgs::HeightmapGeom_Texture* HeightmapGeom::mutable_texture(int index) {
976  // @@protoc_insertion_point(field_mutable:gz.msgs.HeightmapGeom.texture)
977  return texture_.Mutable(index);
978 }
979 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Texture >*
981  // @@protoc_insertion_point(field_mutable_list:gz.msgs.HeightmapGeom.texture)
982  return &texture_;
983 }
984 inline const ::gz::msgs::HeightmapGeom_Texture& HeightmapGeom::texture(int index) const {
985  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.texture)
986  return texture_.Get(index);
987 }
988 inline ::gz::msgs::HeightmapGeom_Texture* HeightmapGeom::add_texture() {
989  // @@protoc_insertion_point(field_add:gz.msgs.HeightmapGeom.texture)
990  return texture_.Add();
991 }
992 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Texture >&
994  // @@protoc_insertion_point(field_list:gz.msgs.HeightmapGeom.texture)
995  return texture_;
996 }
997 
998 // repeated .gz.msgs.HeightmapGeom.Blend blend = 9;
999 inline int HeightmapGeom::blend_size() const {
1000  return blend_.size();
1001 }
1003  blend_.Clear();
1004 }
1005 inline ::gz::msgs::HeightmapGeom_Blend* HeightmapGeom::mutable_blend(int index) {
1006  // @@protoc_insertion_point(field_mutable:gz.msgs.HeightmapGeom.blend)
1007  return blend_.Mutable(index);
1008 }
1009 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Blend >*
1011  // @@protoc_insertion_point(field_mutable_list:gz.msgs.HeightmapGeom.blend)
1012  return &blend_;
1013 }
1014 inline const ::gz::msgs::HeightmapGeom_Blend& HeightmapGeom::blend(int index) const {
1015  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.blend)
1016  return blend_.Get(index);
1017 }
1018 inline ::gz::msgs::HeightmapGeom_Blend* HeightmapGeom::add_blend() {
1019  // @@protoc_insertion_point(field_add:gz.msgs.HeightmapGeom.blend)
1020  return blend_.Add();
1021 }
1022 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::HeightmapGeom_Blend >&
1024  // @@protoc_insertion_point(field_list:gz.msgs.HeightmapGeom.blend)
1025  return blend_;
1026 }
1027 
1028 // bool use_terrain_paging = 10;
1030  use_terrain_paging_ = false;
1031 }
1033  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.use_terrain_paging)
1034  return use_terrain_paging_;
1035 }
1036 inline void HeightmapGeom::set_use_terrain_paging(bool value) {
1037 
1038  use_terrain_paging_ = value;
1039  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.use_terrain_paging)
1040 }
1041 
1042 // string filename = 11;
1044  filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1045 }
1046 inline const ::std::string& HeightmapGeom::filename() const {
1047  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.filename)
1048  return filename_.GetNoArena();
1049 }
1050 inline void HeightmapGeom::set_filename(const ::std::string& value) {
1051 
1052  filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1053  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.filename)
1054 }
1055 #if LANG_CXX11
1056 inline void HeightmapGeom::set_filename(::std::string&& value) {
1057 
1058  filename_.SetNoArena(
1059  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1060  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.HeightmapGeom.filename)
1061 }
1062 #endif
1063 inline void HeightmapGeom::set_filename(const char* value) {
1064  GOOGLE_DCHECK(value != NULL);
1065 
1066  filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1067  // @@protoc_insertion_point(field_set_char:gz.msgs.HeightmapGeom.filename)
1068 }
1069 inline void HeightmapGeom::set_filename(const char* value, size_t size) {
1070 
1071  filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1072  ::std::string(reinterpret_cast<const char*>(value), size));
1073  // @@protoc_insertion_point(field_set_pointer:gz.msgs.HeightmapGeom.filename)
1074 }
1075 inline ::std::string* HeightmapGeom::mutable_filename() {
1076 
1077  // @@protoc_insertion_point(field_mutable:gz.msgs.HeightmapGeom.filename)
1078  return filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1079 }
1080 inline ::std::string* HeightmapGeom::release_filename() {
1081  // @@protoc_insertion_point(field_release:gz.msgs.HeightmapGeom.filename)
1082 
1083  return filename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1084 }
1086  if (filename != NULL) {
1087 
1088  } else {
1089 
1090  }
1091  filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filename);
1092  // @@protoc_insertion_point(field_set_allocated:gz.msgs.HeightmapGeom.filename)
1093 }
1094 
1095 // uint32 sampling = 12;
1097  sampling_ = 0u;
1098 }
1099 inline ::google::protobuf::uint32 HeightmapGeom::sampling() const {
1100  // @@protoc_insertion_point(field_get:gz.msgs.HeightmapGeom.sampling)
1101  return sampling_;
1102 }
1103 inline void HeightmapGeom::set_sampling(::google::protobuf::uint32 value) {
1104 
1105  sampling_ = value;
1106  // @@protoc_insertion_point(field_set:gz.msgs.HeightmapGeom.sampling)
1107 }
1108 
1109 #ifdef __GNUC__
1110  #pragma GCC diagnostic pop
1111 #endif // __GNUC__
1112 // -------------------------------------------------------------------
1113 
1114 // -------------------------------------------------------------------
1115 
1116 
1117 // @@protoc_insertion_point(namespace_scope)
1118 
1119 } // namespace msgs
1120 } // namespace gz
1121 
1122 // @@protoc_insertion_point(global_scope)
1123 
1124 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fheightmapgeom_2eproto