Ignition Msgs

API Reference

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