Ignition Msgs

API Reference

5.8.1
spheregeom.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/spheregeom.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fspheregeom_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fspheregeom_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fspheregeom_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
50 namespace internal {
51 class AnyMetadata;
52 } // namespace internal
53 PROTOBUF_NAMESPACE_CLOSE
54 
55 // Internal implementation detail -- do not use these members.
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65  static const uint32_t offsets[];
66 };
67 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fspheregeom_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class SphereGeom;
71 struct SphereGeomDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern SphereGeomDefaultTypeInternal _SphereGeom_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SphereGeom* Arena::CreateMaybeMessage<::ignition::msgs::SphereGeom>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE SphereGeom final :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SphereGeom) */ {
85  public:
86  inline SphereGeom() : SphereGeom(nullptr) {}
87  ~SphereGeom() override;
88  explicit constexpr SphereGeom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
89 
90  SphereGeom(const SphereGeom& from);
91  SphereGeom(SphereGeom&& from) noexcept
92  : SphereGeom() {
93  *this = ::std::move(from);
94  }
95 
96  inline SphereGeom& operator=(const SphereGeom& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline SphereGeom& operator=(SphereGeom&& from) noexcept {
101  if (this == &from) return *this;
102  if (GetOwningArena() == from.GetOwningArena()
103  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104  && GetOwningArena() != nullptr
105  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
106  ) {
107  InternalSwap(&from);
108  } else {
109  CopyFrom(from);
110  }
111  return *this;
112  }
113 
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115  return GetDescriptor();
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118  return default_instance().GetMetadata().descriptor;
119  }
120  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121  return default_instance().GetMetadata().reflection;
122  }
123  static const SphereGeom& default_instance() {
124  return *internal_default_instance();
125  }
126  static inline const SphereGeom* internal_default_instance() {
127  return reinterpret_cast<const SphereGeom*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  friend void swap(SphereGeom& a, SphereGeom& b) {
134  a.Swap(&b);
135  }
136  inline void Swap(SphereGeom* other) {
137  if (other == this) return;
138  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139  if (GetOwningArena() != nullptr &&
140  GetOwningArena() == other->GetOwningArena()) {
141  #else // PROTOBUF_FORCE_COPY_IN_SWAP
142  if (GetOwningArena() == other->GetOwningArena()) {
143  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144  InternalSwap(other);
145  } else {
146  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147  }
148  }
150  if (other == this) return;
151  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152  InternalSwap(other);
153  }
154 
155  // implements Message ----------------------------------------------
156 
157  SphereGeom* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158  return CreateMaybeMessage<SphereGeom>(arena);
159  }
160  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161  void CopyFrom(const SphereGeom& from);
162  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163  void MergeFrom(const SphereGeom& from);
164  private:
165  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
166  public:
167  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
168  bool IsInitialized() const final;
169 
170  size_t ByteSizeLong() const final;
171  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172  uint8_t* _InternalSerialize(
173  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174  int GetCachedSize() const final { return _cached_size_.Get(); }
175 
176  private:
177  void SharedCtor();
178  void SharedDtor();
179  void SetCachedSize(int size) const final;
180  void InternalSwap(SphereGeom* other);
181 
182  private:
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "ignition.msgs.SphereGeom";
186  }
187  protected:
188  explicit SphereGeom(::PROTOBUF_NAMESPACE_ID::Arena* arena,
189  bool is_message_owned = false);
190  private:
191  static void ArenaDtor(void* object);
192  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
193  public:
194 
195  static const ClassData _class_data_;
196  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
197 
198  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
199 
200  // nested types ----------------------------------------------------
201 
202  // accessors -------------------------------------------------------
203 
204  enum : int {
205  kHeaderFieldNumber = 1,
206  kRadiusFieldNumber = 2,
207  };
208  // .ignition.msgs.Header header = 1;
209  bool has_header() const;
210  private:
211  bool _internal_has_header() const;
212  public:
213  void clear_header();
214  const ::ignition::msgs::Header& header() const;
215  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
216  ::ignition::msgs::Header* mutable_header();
217  void set_allocated_header(::ignition::msgs::Header* header);
218  private:
219  const ::ignition::msgs::Header& _internal_header() const;
220  ::ignition::msgs::Header* _internal_mutable_header();
221  public:
222  void unsafe_arena_set_allocated_header(
223  ::ignition::msgs::Header* header);
224  ::ignition::msgs::Header* unsafe_arena_release_header();
225 
226  // double radius = 2;
227  void clear_radius();
228  double radius() const;
229  void set_radius(double value);
230  private:
231  double _internal_radius() const;
232  void _internal_set_radius(double value);
233  public:
234 
235  // @@protoc_insertion_point(class_scope:ignition.msgs.SphereGeom)
236  private:
237  class _Internal;
238 
239  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
240  typedef void InternalArenaConstructable_;
241  typedef void DestructorSkippable_;
242  ::ignition::msgs::Header* header_;
243  double radius_;
244  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
245  friend struct ::TableStruct_ignition_2fmsgs_2fspheregeom_2eproto;
246 };
247 // ===================================================================
248 
249 
250 // ===================================================================
251 
252 #ifdef __GNUC__
253  #pragma GCC diagnostic push
254  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
255 #endif // __GNUC__
256 // SphereGeom
257 
258 // .ignition.msgs.Header header = 1;
259 inline bool SphereGeom::_internal_has_header() const {
260  return this != internal_default_instance() && header_ != nullptr;
261 }
262 inline bool SphereGeom::has_header() const {
263  return _internal_has_header();
264 }
265 inline const ::ignition::msgs::Header& SphereGeom::_internal_header() const {
266  const ::ignition::msgs::Header* p = header_;
267  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
269 }
270 inline const ::ignition::msgs::Header& SphereGeom::header() const {
271  // @@protoc_insertion_point(field_get:ignition.msgs.SphereGeom.header)
272  return _internal_header();
273 }
275  ::ignition::msgs::Header* header) {
276  if (GetArenaForAllocation() == nullptr) {
277  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
278  }
279  header_ = header;
280  if (header) {
281 
282  } else {
283 
284  }
285  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.SphereGeom.header)
286 }
287 inline ::ignition::msgs::Header* SphereGeom::release_header() {
288 
289  ::ignition::msgs::Header* temp = header_;
290  header_ = nullptr;
291 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
292  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
293  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
294  if (GetArenaForAllocation() == nullptr) { delete old; }
295 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
296  if (GetArenaForAllocation() != nullptr) {
297  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
298  }
299 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
300  return temp;
301 }
302 inline ::ignition::msgs::Header* SphereGeom::unsafe_arena_release_header() {
303  // @@protoc_insertion_point(field_release:ignition.msgs.SphereGeom.header)
304 
305  ::ignition::msgs::Header* temp = header_;
306  header_ = nullptr;
307  return temp;
308 }
309 inline ::ignition::msgs::Header* SphereGeom::_internal_mutable_header() {
310 
311  if (header_ == nullptr) {
312  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
313  header_ = p;
314  }
315  return header_;
316 }
317 inline ::ignition::msgs::Header* SphereGeom::mutable_header() {
318  ::ignition::msgs::Header* _msg = _internal_mutable_header();
319  // @@protoc_insertion_point(field_mutable:ignition.msgs.SphereGeom.header)
320  return _msg;
321 }
323  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
324  if (message_arena == nullptr) {
325  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
326  }
327  if (header) {
328  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
329  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
330  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
331  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
332  if (message_arena != submessage_arena) {
333  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
334  message_arena, header, submessage_arena);
335  }
336 
337  } else {
338 
339  }
340  header_ = header;
341  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SphereGeom.header)
342 }
343 
344 // double radius = 2;
346  radius_ = 0;
347 }
348 inline double SphereGeom::_internal_radius() const {
349  return radius_;
350 }
351 inline double SphereGeom::radius() const {
352  // @@protoc_insertion_point(field_get:ignition.msgs.SphereGeom.radius)
353  return _internal_radius();
354 }
355 inline void SphereGeom::_internal_set_radius(double value) {
356 
357  radius_ = value;
358 }
359 inline void SphereGeom::set_radius(double value) {
360  _internal_set_radius(value);
361  // @@protoc_insertion_point(field_set:ignition.msgs.SphereGeom.radius)
362 }
363 
364 #ifdef __GNUC__
365  #pragma GCC diagnostic pop
366 #endif // __GNUC__
367 
372 // @@protoc_insertion_point(namespace_scope)
373 
374 } // namespace msgs
375 } // namespace ignition
376 
377 #ifdef _MSC_VER
378 #pragma warning(pop)
379 #endif
380 // @@protoc_insertion_point(global_scope)
381 
382 #include <google/protobuf/port_undef.inc>
383 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fspheregeom_2eproto
Definition: header.pb.h:265
Definition: spheregeom.pb.h:84
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: spheregeom.pb.h:120
SphereGeom(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
bool has_header() const
Definition: spheregeom.pb.h:262
SphereGeom(const SphereGeom &from)
::ignition::msgs::Header * mutable_header()
Definition: spheregeom.pb.h:317
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: spheregeom.pb.h:114
void clear_radius()
Definition: spheregeom.pb.h:345
double radius() const
Definition: spheregeom.pb.h:351
void UnsafeArenaSwap(SphereGeom *other)
Definition: spheregeom.pb.h:149
SphereGeom()
Definition: spheregeom.pb.h:86
SphereGeom * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: spheregeom.pb.h:157
void Swap(SphereGeom *other)
Definition: spheregeom.pb.h:136
friend void swap(SphereGeom &a, SphereGeom &b)
Definition: spheregeom.pb.h:133
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: spheregeom.pb.h:274
constexpr SphereGeom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const SphereGeom * internal_default_instance()
Definition: spheregeom.pb.h:126
void set_radius(double value)
Definition: spheregeom.pb.h:359
static const SphereGeom & default_instance()
Definition: spheregeom.pb.h:123
SphereGeom & operator=(SphereGeom &&from) noexcept
Definition: spheregeom.pb.h:100
void set_allocated_header(::ignition::msgs::Header *header)
Definition: spheregeom.pb.h:322
SphereGeom(SphereGeom &&from) noexcept
Definition: spheregeom.pb.h:91
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: spheregeom.pb.h:287
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: spheregeom.pb.h:117
const ::ignition::msgs::Header & header() const
Definition: spheregeom.pb.h:270
static const ClassData _class_data_
Definition: spheregeom.pb.h:195
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: spheregeom.pb.h:302
SphereGeom & operator=(const SphereGeom &from)
Definition: spheregeom.pb.h:96
void CopyFrom(const SphereGeom &from)
void MergeFrom(const SphereGeom &from)
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const SphereGeom > ConstSphereGeomSharedPtr
Definition: spheregeom.pb.h:371
std::unique_ptr< SphereGeom > SphereGeomUniquePtr
Definition: spheregeom.pb.h:368
std::shared_ptr< SphereGeom > SphereGeomSharedPtr
Definition: spheregeom.pb.h:370
IGNITION_MSGS_VISIBLE SphereGeomDefaultTypeInternal _SphereGeom_default_instance_
std::unique_ptr< const SphereGeom > ConstSphereGeomUniquePtr
Definition: spheregeom.pb.h:369
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fspheregeom_2eproto
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)