Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/capsulegeom.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcapsulegeom_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcapsulegeom_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>
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_2fcapsulegeom_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.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField 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_2fcapsulegeom_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class CapsuleGeom;
72 class CapsuleGeomDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern CapsuleGeomDefaultTypeInternal _CapsuleGeom_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::CapsuleGeom* Arena::CreateMaybeMessage<::ignition::msgs::CapsuleGeom>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE CapsuleGeom PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.CapsuleGeom) */ {
86  public:
87  inline CapsuleGeom() : CapsuleGeom(nullptr) {};
88  virtual ~CapsuleGeom();
89 
90  CapsuleGeom(const CapsuleGeom& from);
91  CapsuleGeom(CapsuleGeom&& from) noexcept
92  : CapsuleGeom() {
93  *this = ::std::move(from);
94  }
95 
96  inline CapsuleGeom& operator=(const CapsuleGeom& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline CapsuleGeom& operator=(CapsuleGeom&& 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 CapsuleGeom& default_instance();
119 
120  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
121  static inline const CapsuleGeom* internal_default_instance() {
122  return reinterpret_cast<const CapsuleGeom*>(
124  }
125  static constexpr int kIndexInFileMessages =
126  0;
127 
128  friend void swap(CapsuleGeom& a, CapsuleGeom& b) {
129  a.Swap(&b);
130  }
131  inline void Swap(CapsuleGeom* other) {
132  if (other == this) return;
133  if (GetArena() == other->GetArena()) {
134  InternalSwap(other);
135  } else {
136  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
137  }
138  }
139  void UnsafeArenaSwap(CapsuleGeom* other) {
140  if (other == this) return;
141  GOOGLE_DCHECK(GetArena() == other->GetArena());
142  InternalSwap(other);
143  }
144 
145  // implements Message ----------------------------------------------
146 
147  inline CapsuleGeom* New() const final {
148  return CreateMaybeMessage<CapsuleGeom>(nullptr);
149  }
150 
151  CapsuleGeom* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
152  return CreateMaybeMessage<CapsuleGeom>(arena);
153  }
154  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
156  void CopyFrom(const CapsuleGeom& from);
157  void MergeFrom(const CapsuleGeom& from);
158  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
159  bool IsInitialized() const final;
160 
161  size_t ByteSizeLong() const final;
162  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
163  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
164  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
165  int GetCachedSize() const final { return _cached_size_.Get(); }
166 
167  private:
168  inline void SharedCtor();
169  inline void SharedDtor();
170  void SetCachedSize(int size) const final;
171  void InternalSwap(CapsuleGeom* other);
172  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174  return "ignition.msgs.CapsuleGeom";
175  }
176  protected:
177  explicit CapsuleGeom(::PROTOBUF_NAMESPACE_ID::Arena* arena);
178  private:
179  static void ArenaDtor(void* object);
180  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181  public:
182 
183  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
184  private:
185  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
186  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fcapsulegeom_2eproto);
187  return ::descriptor_table_ignition_2fmsgs_2fcapsulegeom_2eproto.file_level_metadata[kIndexInFileMessages];
188  }
189 
190  public:
191 
192  // nested types ----------------------------------------------------
193 
194  // accessors -------------------------------------------------------
195 
196  enum : int {
197  kHeaderFieldNumber = 1,
198  kRadiusFieldNumber = 2,
199  kLengthFieldNumber = 3,
200  };
201  // .ignition.msgs.Header header = 1;
202  bool has_header() const;
203  private:
204  bool _internal_has_header() const;
205  public:
206  void clear_header();
207  const ::ignition::msgs::Header& header() const;
208  ::ignition::msgs::Header* release_header();
209  ::ignition::msgs::Header* mutable_header();
210  void set_allocated_header(::ignition::msgs::Header* header);
211  private:
212  const ::ignition::msgs::Header& _internal_header() const;
213  ::ignition::msgs::Header* _internal_mutable_header();
214  public:
216  ::ignition::msgs::Header* header);
217  ::ignition::msgs::Header* unsafe_arena_release_header();
218 
219  // double radius = 2;
220  void clear_radius();
221  double radius() const;
222  void set_radius(double value);
223  private:
224  double _internal_radius() const;
225  void _internal_set_radius(double value);
226  public:
227 
228  // double length = 3;
229  void clear_length();
230  double length() const;
231  void set_length(double value);
232  private:
233  double _internal_length() const;
234  void _internal_set_length(double value);
235  public:
236 
237  // @@protoc_insertion_point(class_scope:ignition.msgs.CapsuleGeom)
238  private:
239  class _Internal;
240 
241  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
242  typedef void InternalArenaConstructable_;
243  typedef void DestructorSkippable_;
244  ::ignition::msgs::Header* header_;
245  double radius_;
246  double length_;
247  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
248  friend struct ::TableStruct_ignition_2fmsgs_2fcapsulegeom_2eproto;
249 };
250 // ===================================================================
251 
252 
253 // ===================================================================
254 
255 #ifdef __GNUC__
256  #pragma GCC diagnostic push
257  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
258 #endif // __GNUC__
259 // CapsuleGeom
260 
261 // .ignition.msgs.Header header = 1;
262 inline bool CapsuleGeom::_internal_has_header() const {
263  return this != internal_default_instance() && header_ != nullptr;
264 }
265 inline bool CapsuleGeom::has_header() const {
266  return _internal_has_header();
267 }
268 inline const ::ignition::msgs::Header& CapsuleGeom::_internal_header() const {
269  const ::ignition::msgs::Header* p = header_;
270  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
272 }
273 inline const ::ignition::msgs::Header& CapsuleGeom::header() const {
274  // @@protoc_insertion_point(field_get:ignition.msgs.CapsuleGeom.header)
275  return _internal_header();
276 }
277 inline void CapsuleGeom::unsafe_arena_set_allocated_header(
278  ::ignition::msgs::Header* header) {
279  if (GetArena() == nullptr) {
280  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
281  }
282  header_ = header;
283  if (header) {
284 
285  } else {
286 
287  }
288  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.CapsuleGeom.header)
289 }
290 inline ::ignition::msgs::Header* CapsuleGeom::release_header() {
291  auto temp = unsafe_arena_release_header();
292  if (GetArena() != nullptr) {
293  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
294  }
295  return temp;
296 }
297 inline ::ignition::msgs::Header* CapsuleGeom::unsafe_arena_release_header() {
298  // @@protoc_insertion_point(field_release:ignition.msgs.CapsuleGeom.header)
299 
300  ::ignition::msgs::Header* temp = header_;
301  header_ = nullptr;
302  return temp;
303 }
304 inline ::ignition::msgs::Header* CapsuleGeom::_internal_mutable_header() {
305 
306  if (header_ == nullptr) {
307  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
308  header_ = p;
309  }
310  return header_;
311 }
312 inline ::ignition::msgs::Header* CapsuleGeom::mutable_header() {
313  // @@protoc_insertion_point(field_mutable:ignition.msgs.CapsuleGeom.header)
314  return _internal_mutable_header();
315 }
316 inline void CapsuleGeom::set_allocated_header(::ignition::msgs::Header* header) {
317  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
318  if (message_arena == nullptr) {
319  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
320  }
321  if (header) {
322  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
323  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
324  if (message_arena != submessage_arena) {
325  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
326  message_arena, header, submessage_arena);
327  }
328 
329  } else {
330 
331  }
332  header_ = header;
333  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CapsuleGeom.header)
334 }
335 
336 // double radius = 2;
337 inline void CapsuleGeom::clear_radius() {
338  radius_ = 0;
339 }
340 inline double CapsuleGeom::_internal_radius() const {
341  return radius_;
342 }
343 inline double CapsuleGeom::radius() const {
344  // @@protoc_insertion_point(field_get:ignition.msgs.CapsuleGeom.radius)
345  return _internal_radius();
346 }
347 inline void CapsuleGeom::_internal_set_radius(double value) {
348 
349  radius_ = value;
350 }
351 inline void CapsuleGeom::set_radius(double value) {
352  _internal_set_radius(value);
353  // @@protoc_insertion_point(field_set:ignition.msgs.CapsuleGeom.radius)
354 }
355 
356 // double length = 3;
357 inline void CapsuleGeom::clear_length() {
358  length_ = 0;
359 }
360 inline double CapsuleGeom::_internal_length() const {
361  return length_;
362 }
363 inline double CapsuleGeom::length() const {
364  // @@protoc_insertion_point(field_get:ignition.msgs.CapsuleGeom.length)
365  return _internal_length();
366 }
367 inline void CapsuleGeom::_internal_set_length(double value) {
368 
369  length_ = value;
370 }
371 inline void CapsuleGeom::set_length(double value) {
372  _internal_set_length(value);
373  // @@protoc_insertion_point(field_set:ignition.msgs.CapsuleGeom.length)
374 }
375 
376 #ifdef __GNUC__
377  #pragma GCC diagnostic pop
378 #endif // __GNUC__
379 
384 // @@protoc_insertion_point(namespace_scope)
385 
386 } // namespace msgs
387 } // namespace ignition
388 
389 #ifdef _MSC_VER
390 #pragma warning(pop)
391 #endif
392 // @@protoc_insertion_point(global_scope)
393 
394 #include <google/protobuf/port_undef.inc>
395 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcapsulegeom_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fcapsulegeom_2eproto
static const CapsuleGeom * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:121
CapsuleGeom * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:151
CapsuleGeom()
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:87
static const CapsuleGeom & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:115
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void set_length(double value)
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:109
void CopyFrom(const CapsuleGeom &from)
void MergeFrom(const CapsuleGeom &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
CapsuleGeom & operator=(const CapsuleGeom &from)
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:96
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
CapsuleGeom(::PROTOBUF_NAMESPACE_ID::Arena *arena)
CapsuleGeom(const CapsuleGeom &from)
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_radius(double value)
CapsuleGeom(CapsuleGeom &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:91
CapsuleGeom & operator=(CapsuleGeom &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:100
void set_allocated_header(::ignition::msgs::Header *header)
void UnsafeArenaSwap(CapsuleGeom *other)
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:139
void Swap(CapsuleGeom *other)
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:131
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:112
friend void swap(CapsuleGeom &a, CapsuleGeom &b)
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:128
CapsuleGeom * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:147
const ::ignition::msgs::Header & header() const
IGNITION_MSGS_VISIBLE CapsuleGeomDefaultTypeInternal _CapsuleGeom_default_instance_
std::unique_ptr< const CapsuleGeom > ConstCapsuleGeomUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:381
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< CapsuleGeom > CapsuleGeomSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:382
std::unique_ptr< CapsuleGeom > CapsuleGeomUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:380
std::shared_ptr< const CapsuleGeom > ConstCapsuleGeomSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:383
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/capsulegeom.pb.h:57
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)