Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/meshgeom.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fmeshgeom_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fmeshgeom_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
37 #ifndef _MSC_VER
38 #pragma GCC system_header
39 #else
40 #pragma warning(push)
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #endif
43 #ifdef __linux__
44 #include <sys/sysmacros.h>
45 #endif
46 #include <memory>
47 #include <ignition/msgs/Export.hh>
48 // @@protoc_insertion_point(includes)
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fmeshgeom_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
52 namespace internal {
53 class AnyMetadata;
54 } // namespace internal
55 PROTOBUF_NAMESPACE_CLOSE
56 
57 // Internal implementation detail -- do not use these members.
58 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fmeshgeom_2eproto {
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
68 };
69 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fmeshgeom_2eproto;
70 namespace ignition {
71 namespace msgs {
72 class MeshGeom;
73 class MeshGeomDefaultTypeInternal;
74 IGNITION_MSGS_VISIBLE extern MeshGeomDefaultTypeInternal _MeshGeom_default_instance_;
75 } // namespace msgs
76 } // namespace ignition
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::MeshGeom* Arena::CreateMaybeMessage<::ignition::msgs::MeshGeom>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 namespace ignition {
81 namespace msgs {
82 
83 // ===================================================================
84 
85 class IGNITION_MSGS_VISIBLE MeshGeom PROTOBUF_FINAL :
86  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.MeshGeom) */ {
87  public:
88  inline MeshGeom() : MeshGeom(nullptr) {};
89  virtual ~MeshGeom();
90 
91  MeshGeom(const MeshGeom& from);
92  MeshGeom(MeshGeom&& from) noexcept
93  : MeshGeom() {
94  *this = ::std::move(from);
95  }
96 
97  inline MeshGeom& operator=(const MeshGeom& from) {
98  CopyFrom(from);
99  return *this;
100  }
101  inline MeshGeom& operator=(MeshGeom&& from) noexcept {
102  if (GetArena() == from.GetArena()) {
103  if (this != &from) InternalSwap(&from);
104  } else {
105  CopyFrom(from);
106  }
107  return *this;
108  }
109 
110  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
111  return GetDescriptor();
112  }
113  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
114  return GetMetadataStatic().descriptor;
115  }
116  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
117  return GetMetadataStatic().reflection;
118  }
119  static const MeshGeom& default_instance();
120 
121  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
122  static inline const MeshGeom* internal_default_instance() {
123  return reinterpret_cast<const MeshGeom*>(
125  }
126  static constexpr int kIndexInFileMessages =
127  0;
128 
129  friend void swap(MeshGeom& a, MeshGeom& b) {
130  a.Swap(&b);
131  }
132  inline void Swap(MeshGeom* other) {
133  if (other == this) return;
134  if (GetArena() == other->GetArena()) {
135  InternalSwap(other);
136  } else {
137  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
138  }
139  }
140  void UnsafeArenaSwap(MeshGeom* other) {
141  if (other == this) return;
142  GOOGLE_DCHECK(GetArena() == other->GetArena());
143  InternalSwap(other);
144  }
145 
146  // implements Message ----------------------------------------------
147 
148  inline MeshGeom* New() const final {
149  return CreateMaybeMessage<MeshGeom>(nullptr);
150  }
151 
152  MeshGeom* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
153  return CreateMaybeMessage<MeshGeom>(arena);
154  }
155  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
156  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
157  void CopyFrom(const MeshGeom& from);
158  void MergeFrom(const MeshGeom& from);
159  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
160  bool IsInitialized() const final;
161 
162  size_t ByteSizeLong() const final;
163  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
164  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
165  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
166  int GetCachedSize() const final { return _cached_size_.Get(); }
167 
168  private:
169  inline void SharedCtor();
170  inline void SharedDtor();
171  void SetCachedSize(int size) const final;
172  void InternalSwap(MeshGeom* other);
173  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
174  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
175  return "ignition.msgs.MeshGeom";
176  }
177  protected:
178  explicit MeshGeom(::PROTOBUF_NAMESPACE_ID::Arena* arena);
179  private:
180  static void ArenaDtor(void* object);
181  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
182  public:
183 
184  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
185  private:
186  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
187  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fmeshgeom_2eproto);
188  return ::descriptor_table_ignition_2fmsgs_2fmeshgeom_2eproto.file_level_metadata[kIndexInFileMessages];
189  }
190 
191  public:
192 
193  // nested types ----------------------------------------------------
194 
195  // accessors -------------------------------------------------------
196 
197  enum : int {
198  kFilenameFieldNumber = 2,
199  kSubmeshFieldNumber = 4,
200  kHeaderFieldNumber = 1,
201  kScaleFieldNumber = 3,
202  kCenterSubmeshFieldNumber = 5,
203  };
204  // string filename = 2;
206  const std::string& filename() const;
207  void set_filename(const std::string& value);
208  void set_filename(std::string&& value);
209  void set_filename(const char* value);
210  void set_filename(const char* value, size_t size);
214  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
215  " string fields are deprecated and will be removed in a"
216  " future release.")
217  std::string* unsafe_arena_release_filename();
218  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
219  " string fields are deprecated and will be removed in a"
220  " future release.")
221  void unsafe_arena_set_allocated_filename(
222  std::string* filename);
223  private:
224  const std::string& _internal_filename() const;
225  void _internal_set_filename(const std::string& value);
226  std::string* _internal_mutable_filename();
227  public:
228 
229  // string submesh = 4;
230  void clear_submesh();
231  const std::string& submesh() const;
232  void set_submesh(const std::string& value);
233  void set_submesh(std::string&& value);
234  void set_submesh(const char* value);
235  void set_submesh(const char* value, size_t size);
236  std::string* mutable_submesh();
237  std::string* release_submesh();
238  void set_allocated_submesh(std::string* submesh);
239  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
240  " string fields are deprecated and will be removed in a"
241  " future release.")
242  std::string* unsafe_arena_release_submesh();
243  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
244  " string fields are deprecated and will be removed in a"
245  " future release.")
246  void unsafe_arena_set_allocated_submesh(
247  std::string* submesh);
248  private:
249  const std::string& _internal_submesh() const;
250  void _internal_set_submesh(const std::string& value);
251  std::string* _internal_mutable_submesh();
252  public:
253 
254  // .ignition.msgs.Header header = 1;
255  bool has_header() const;
256  private:
257  bool _internal_has_header() const;
258  public:
259  void clear_header();
260  const ::ignition::msgs::Header& header() const;
261  ::ignition::msgs::Header* release_header();
262  ::ignition::msgs::Header* mutable_header();
263  void set_allocated_header(::ignition::msgs::Header* header);
264  private:
265  const ::ignition::msgs::Header& _internal_header() const;
266  ::ignition::msgs::Header* _internal_mutable_header();
267  public:
268  void unsafe_arena_set_allocated_header(
269  ::ignition::msgs::Header* header);
270  ::ignition::msgs::Header* unsafe_arena_release_header();
271 
272  // .ignition.msgs.Vector3d scale = 3;
273  bool has_scale() const;
274  private:
275  bool _internal_has_scale() const;
276  public:
277  void clear_scale();
278  const ::ignition::msgs::Vector3d& scale() const;
279  ::ignition::msgs::Vector3d* release_scale();
280  ::ignition::msgs::Vector3d* mutable_scale();
281  void set_allocated_scale(::ignition::msgs::Vector3d* scale);
282  private:
283  const ::ignition::msgs::Vector3d& _internal_scale() const;
284  ::ignition::msgs::Vector3d* _internal_mutable_scale();
285  public:
286  void unsafe_arena_set_allocated_scale(
287  ::ignition::msgs::Vector3d* scale);
288  ::ignition::msgs::Vector3d* unsafe_arena_release_scale();
289 
290  // bool center_submesh = 5;
291  void clear_center_submesh();
292  bool center_submesh() const;
293  void set_center_submesh(bool value);
294  private:
295  bool _internal_center_submesh() const;
296  void _internal_set_center_submesh(bool value);
297  public:
298 
299  // @@protoc_insertion_point(class_scope:ignition.msgs.MeshGeom)
300  private:
301  class _Internal;
302 
303  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
304  typedef void InternalArenaConstructable_;
305  typedef void DestructorSkippable_;
306  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_;
307  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr submesh_;
308  ::ignition::msgs::Header* header_;
309  ::ignition::msgs::Vector3d* scale_;
310  bool center_submesh_;
311  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
313 };
314 // ===================================================================
315 
316 
317 // ===================================================================
318 
319 #ifdef __GNUC__
320  #pragma GCC diagnostic push
321  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
322 #endif // __GNUC__
323 // MeshGeom
324 
325 // .ignition.msgs.Header header = 1;
326 inline bool MeshGeom::_internal_has_header() const {
327  return this != internal_default_instance() && header_ != nullptr;
328 }
329 inline bool MeshGeom::has_header() const {
330  return _internal_has_header();
331 }
332 inline const ::ignition::msgs::Header& MeshGeom::_internal_header() const {
333  const ::ignition::msgs::Header* p = header_;
334  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
336 }
337 inline const ::ignition::msgs::Header& MeshGeom::header() const {
338  // @@protoc_insertion_point(field_get:ignition.msgs.MeshGeom.header)
339  return _internal_header();
340 }
341 inline void MeshGeom::unsafe_arena_set_allocated_header(
342  ::ignition::msgs::Header* header) {
343  if (GetArena() == nullptr) {
344  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
345  }
346  header_ = header;
347  if (header) {
348 
349  } else {
350 
351  }
352  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.MeshGeom.header)
353 }
354 inline ::ignition::msgs::Header* MeshGeom::release_header() {
355  auto temp = unsafe_arena_release_header();
356  if (GetArena() != nullptr) {
357  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
358  }
359  return temp;
360 }
361 inline ::ignition::msgs::Header* MeshGeom::unsafe_arena_release_header() {
362  // @@protoc_insertion_point(field_release:ignition.msgs.MeshGeom.header)
363 
364  ::ignition::msgs::Header* temp = header_;
365  header_ = nullptr;
366  return temp;
367 }
368 inline ::ignition::msgs::Header* MeshGeom::_internal_mutable_header() {
369 
370  if (header_ == nullptr) {
371  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
372  header_ = p;
373  }
374  return header_;
375 }
376 inline ::ignition::msgs::Header* MeshGeom::mutable_header() {
377  // @@protoc_insertion_point(field_mutable:ignition.msgs.MeshGeom.header)
378  return _internal_mutable_header();
379 }
380 inline void MeshGeom::set_allocated_header(::ignition::msgs::Header* header) {
381  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
382  if (message_arena == nullptr) {
383  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
384  }
385  if (header) {
386  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
387  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
388  if (message_arena != submessage_arena) {
389  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
390  message_arena, header, submessage_arena);
391  }
392 
393  } else {
394 
395  }
396  header_ = header;
397  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.MeshGeom.header)
398 }
399 
400 // string filename = 2;
401 inline void MeshGeom::clear_filename() {
402  filename_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
403 }
404 inline const std::string& MeshGeom::filename() const {
405  // @@protoc_insertion_point(field_get:ignition.msgs.MeshGeom.filename)
406  return _internal_filename();
407 }
408 inline void MeshGeom::set_filename(const std::string& value) {
409  _internal_set_filename(value);
410  // @@protoc_insertion_point(field_set:ignition.msgs.MeshGeom.filename)
411 }
412 inline std::string* MeshGeom::mutable_filename() {
413  // @@protoc_insertion_point(field_mutable:ignition.msgs.MeshGeom.filename)
414  return _internal_mutable_filename();
415 }
416 inline const std::string& MeshGeom::_internal_filename() const {
417  return filename_.Get();
418 }
419 inline void MeshGeom::_internal_set_filename(const std::string& value) {
420 
421  filename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
422 }
423 inline void MeshGeom::set_filename(std::string&& value) {
424 
425  filename_.Set(
426  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
427  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.MeshGeom.filename)
428 }
429 inline void MeshGeom::set_filename(const char* value) {
430  GOOGLE_DCHECK(value != nullptr);
431 
432  filename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
433  GetArena());
434  // @@protoc_insertion_point(field_set_char:ignition.msgs.MeshGeom.filename)
435 }
436 inline void MeshGeom::set_filename(const char* value,
437  size_t size) {
438 
439  filename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
440  reinterpret_cast<const char*>(value), size), GetArena());
441  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.MeshGeom.filename)
442 }
443 inline std::string* MeshGeom::_internal_mutable_filename() {
444 
445  return filename_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
446 }
447 inline std::string* MeshGeom::release_filename() {
448  // @@protoc_insertion_point(field_release:ignition.msgs.MeshGeom.filename)
449  return filename_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
450 }
451 inline void MeshGeom::set_allocated_filename(std::string* filename) {
452  if (filename != nullptr) {
453 
454  } else {
455 
456  }
457  filename_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filename,
458  GetArena());
459  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.MeshGeom.filename)
460 }
461 inline std::string* MeshGeom::unsafe_arena_release_filename() {
462  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.MeshGeom.filename)
463  GOOGLE_DCHECK(GetArena() != nullptr);
464 
465  return filename_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
466  GetArena());
467 }
468 inline void MeshGeom::unsafe_arena_set_allocated_filename(
469  std::string* filename) {
470  GOOGLE_DCHECK(GetArena() != nullptr);
471  if (filename != nullptr) {
472 
473  } else {
474 
475  }
476  filename_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
477  filename, GetArena());
478  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.MeshGeom.filename)
479 }
480 
481 // .ignition.msgs.Vector3d scale = 3;
482 inline bool MeshGeom::_internal_has_scale() const {
483  return this != internal_default_instance() && scale_ != nullptr;
484 }
485 inline bool MeshGeom::has_scale() const {
486  return _internal_has_scale();
487 }
488 inline const ::ignition::msgs::Vector3d& MeshGeom::_internal_scale() const {
489  const ::ignition::msgs::Vector3d* p = scale_;
490  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
492 }
493 inline const ::ignition::msgs::Vector3d& MeshGeom::scale() const {
494  // @@protoc_insertion_point(field_get:ignition.msgs.MeshGeom.scale)
495  return _internal_scale();
496 }
497 inline void MeshGeom::unsafe_arena_set_allocated_scale(
498  ::ignition::msgs::Vector3d* scale) {
499  if (GetArena() == nullptr) {
500  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(scale_);
501  }
502  scale_ = scale;
503  if (scale) {
504 
505  } else {
506 
507  }
508  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.MeshGeom.scale)
509 }
510 inline ::ignition::msgs::Vector3d* MeshGeom::release_scale() {
511  auto temp = unsafe_arena_release_scale();
512  if (GetArena() != nullptr) {
513  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
514  }
515  return temp;
516 }
517 inline ::ignition::msgs::Vector3d* MeshGeom::unsafe_arena_release_scale() {
518  // @@protoc_insertion_point(field_release:ignition.msgs.MeshGeom.scale)
519 
520  ::ignition::msgs::Vector3d* temp = scale_;
521  scale_ = nullptr;
522  return temp;
523 }
524 inline ::ignition::msgs::Vector3d* MeshGeom::_internal_mutable_scale() {
525 
526  if (scale_ == nullptr) {
527  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
528  scale_ = p;
529  }
530  return scale_;
531 }
532 inline ::ignition::msgs::Vector3d* MeshGeom::mutable_scale() {
533  // @@protoc_insertion_point(field_mutable:ignition.msgs.MeshGeom.scale)
534  return _internal_mutable_scale();
535 }
536 inline void MeshGeom::set_allocated_scale(::ignition::msgs::Vector3d* scale) {
537  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
538  if (message_arena == nullptr) {
539  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(scale_);
540  }
541  if (scale) {
542  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
543  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(scale)->GetArena();
544  if (message_arena != submessage_arena) {
545  scale = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
546  message_arena, scale, submessage_arena);
547  }
548 
549  } else {
550 
551  }
552  scale_ = scale;
553  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.MeshGeom.scale)
554 }
555 
556 // string submesh = 4;
557 inline void MeshGeom::clear_submesh() {
558  submesh_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
559 }
560 inline const std::string& MeshGeom::submesh() const {
561  // @@protoc_insertion_point(field_get:ignition.msgs.MeshGeom.submesh)
562  return _internal_submesh();
563 }
564 inline void MeshGeom::set_submesh(const std::string& value) {
565  _internal_set_submesh(value);
566  // @@protoc_insertion_point(field_set:ignition.msgs.MeshGeom.submesh)
567 }
568 inline std::string* MeshGeom::mutable_submesh() {
569  // @@protoc_insertion_point(field_mutable:ignition.msgs.MeshGeom.submesh)
570  return _internal_mutable_submesh();
571 }
572 inline const std::string& MeshGeom::_internal_submesh() const {
573  return submesh_.Get();
574 }
575 inline void MeshGeom::_internal_set_submesh(const std::string& value) {
576 
577  submesh_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
578 }
579 inline void MeshGeom::set_submesh(std::string&& value) {
580 
581  submesh_.Set(
582  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
583  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.MeshGeom.submesh)
584 }
585 inline void MeshGeom::set_submesh(const char* value) {
586  GOOGLE_DCHECK(value != nullptr);
587 
588  submesh_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
589  GetArena());
590  // @@protoc_insertion_point(field_set_char:ignition.msgs.MeshGeom.submesh)
591 }
592 inline void MeshGeom::set_submesh(const char* value,
593  size_t size) {
594 
595  submesh_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
596  reinterpret_cast<const char*>(value), size), GetArena());
597  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.MeshGeom.submesh)
598 }
599 inline std::string* MeshGeom::_internal_mutable_submesh() {
600 
601  return submesh_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
602 }
603 inline std::string* MeshGeom::release_submesh() {
604  // @@protoc_insertion_point(field_release:ignition.msgs.MeshGeom.submesh)
605  return submesh_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
606 }
607 inline void MeshGeom::set_allocated_submesh(std::string* submesh) {
608  if (submesh != nullptr) {
609 
610  } else {
611 
612  }
613  submesh_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), submesh,
614  GetArena());
615  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.MeshGeom.submesh)
616 }
617 inline std::string* MeshGeom::unsafe_arena_release_submesh() {
618  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.MeshGeom.submesh)
619  GOOGLE_DCHECK(GetArena() != nullptr);
620 
621  return submesh_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
622  GetArena());
623 }
624 inline void MeshGeom::unsafe_arena_set_allocated_submesh(
625  std::string* submesh) {
626  GOOGLE_DCHECK(GetArena() != nullptr);
627  if (submesh != nullptr) {
628 
629  } else {
630 
631  }
632  submesh_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
633  submesh, GetArena());
634  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.MeshGeom.submesh)
635 }
636 
637 // bool center_submesh = 5;
638 inline void MeshGeom::clear_center_submesh() {
639  center_submesh_ = false;
640 }
641 inline bool MeshGeom::_internal_center_submesh() const {
642  return center_submesh_;
643 }
644 inline bool MeshGeom::center_submesh() const {
645  // @@protoc_insertion_point(field_get:ignition.msgs.MeshGeom.center_submesh)
646  return _internal_center_submesh();
647 }
648 inline void MeshGeom::_internal_set_center_submesh(bool value) {
649 
650  center_submesh_ = value;
651 }
652 inline void MeshGeom::set_center_submesh(bool value) {
653  _internal_set_center_submesh(value);
654  // @@protoc_insertion_point(field_set:ignition.msgs.MeshGeom.center_submesh)
655 }
656 
657 #ifdef __GNUC__
658  #pragma GCC diagnostic pop
659 #endif // __GNUC__
660 
665 // @@protoc_insertion_point(namespace_scope)
666 
667 } // namespace msgs
668 } // namespace ignition
669 
670 #ifdef _MSC_VER
671 #pragma warning(pop)
672 #endif
673 // @@protoc_insertion_point(global_scope)
674 
675 #include <google/protobuf/port_undef.inc>
676 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fmeshgeom_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fmeshgeom_2eproto
void set_filename(const std::string &value)
MeshGeom(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const MeshGeom &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:116
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
std::string * mutable_filename()
MeshGeom()
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:88
MeshGeom & operator=(const MeshGeom &from)
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:97
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:110
MeshGeom * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:148
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_filename(std::string &&value)
MeshGeom & operator=(MeshGeom &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:101
void set_filename(const char *value)
const std::string & filename() const
MeshGeom(const MeshGeom &from)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void UnsafeArenaSwap(MeshGeom *other)
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:140
static const MeshGeom * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:122
MeshGeom(MeshGeom &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:92
static const MeshGeom & default_instance()
void set_filename(const char *value, size_t size)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:113
friend void swap(MeshGeom &a, MeshGeom &b)
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:129
MeshGeom * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:152
void MergeFrom(const MeshGeom &from)
std::string * release_filename()
void Swap(MeshGeom *other)
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:132
void set_allocated_filename(std::string *filename)
T move(T... args)
Vector3< double > Vector3d
std::unique_ptr< MeshGeom > MeshGeomUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:661
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::unique_ptr< const MeshGeom > ConstMeshGeomUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:662
std::shared_ptr< const MeshGeom > ConstMeshGeomSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:664
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< MeshGeom > MeshGeomSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:663
IGNITION_MSGS_VISIBLE MeshGeomDefaultTypeInternal _MeshGeom_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/meshgeom.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)