Ignition Msgs

API Reference

5.8.1
boxgeom.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/boxgeom.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fboxgeom_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fboxgeom_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_2fboxgeom_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_2fboxgeom_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_2fboxgeom_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class BoxGeom;
72 class BoxGeomDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern BoxGeomDefaultTypeInternal _BoxGeom_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::BoxGeom* Arena::CreateMaybeMessage<::ignition::msgs::BoxGeom>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE BoxGeom PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.BoxGeom) */ {
86  public:
87  inline BoxGeom() : BoxGeom(nullptr) {}
88  virtual ~BoxGeom();
89 
90  BoxGeom(const BoxGeom& from);
91  BoxGeom(BoxGeom&& from) noexcept
92  : BoxGeom() {
93  *this = ::std::move(from);
94  }
95 
96  inline BoxGeom& operator=(const BoxGeom& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline BoxGeom& operator=(BoxGeom&& 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 BoxGeom& default_instance();
119 
120  static inline const BoxGeom* internal_default_instance() {
121  return reinterpret_cast<const BoxGeom*>(
123  }
124  static constexpr int kIndexInFileMessages =
125  0;
126 
127  friend void swap(BoxGeom& a, BoxGeom& b) {
128  a.Swap(&b);
129  }
130  inline void Swap(BoxGeom* 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(BoxGeom* other) {
139  if (other == this) return;
140  GOOGLE_DCHECK(GetArena() == other->GetArena());
141  InternalSwap(other);
142  }
143 
144  // implements Message ----------------------------------------------
145 
146  inline BoxGeom* New() const final {
147  return CreateMaybeMessage<BoxGeom>(nullptr);
148  }
149 
150  BoxGeom* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
151  return CreateMaybeMessage<BoxGeom>(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 BoxGeom& from);
156  void MergeFrom(const BoxGeom& 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(BoxGeom* other);
171  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173  return "ignition.msgs.BoxGeom";
174  }
175  protected:
176  explicit BoxGeom(::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_2fboxgeom_2eproto);
186  return ::descriptor_table_ignition_2fmsgs_2fboxgeom_2eproto.file_level_metadata[kIndexInFileMessages];
187  }
188 
189  public:
190 
191  // nested types ----------------------------------------------------
192 
193  // accessors -------------------------------------------------------
194 
195  enum : int {
196  kHeaderFieldNumber = 1,
197  kSizeFieldNumber = 2,
198  };
199  // .ignition.msgs.Header header = 1;
200  bool has_header() const;
201  private:
202  bool _internal_has_header() const;
203  public:
204  void clear_header();
205  const ::ignition::msgs::Header& header() const;
206  ::ignition::msgs::Header* release_header();
207  ::ignition::msgs::Header* mutable_header();
208  void set_allocated_header(::ignition::msgs::Header* header);
209  private:
210  const ::ignition::msgs::Header& _internal_header() const;
211  ::ignition::msgs::Header* _internal_mutable_header();
212  public:
214  ::ignition::msgs::Header* header);
215  ::ignition::msgs::Header* unsafe_arena_release_header();
216 
217  // .ignition.msgs.Vector3d size = 2;
218  bool has_size() const;
219  private:
220  bool _internal_has_size() const;
221  public:
222  void clear_size();
223  const ::ignition::msgs::Vector3d& size() const;
224  ::ignition::msgs::Vector3d* release_size();
225  ::ignition::msgs::Vector3d* mutable_size();
226  void set_allocated_size(::ignition::msgs::Vector3d* size);
227  private:
228  const ::ignition::msgs::Vector3d& _internal_size() const;
229  ::ignition::msgs::Vector3d* _internal_mutable_size();
230  public:
232  ::ignition::msgs::Vector3d* size);
233  ::ignition::msgs::Vector3d* unsafe_arena_release_size();
234 
235  // @@protoc_insertion_point(class_scope:ignition.msgs.BoxGeom)
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  ::ignition::msgs::Vector3d* size_;
244  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
245  friend struct ::TableStruct_ignition_2fmsgs_2fboxgeom_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 // BoxGeom
257 
258 // .ignition.msgs.Header header = 1;
259 inline bool BoxGeom::_internal_has_header() const {
260  return this != internal_default_instance() && header_ != nullptr;
261 }
262 inline bool BoxGeom::has_header() const {
263  return _internal_has_header();
264 }
265 inline const ::ignition::msgs::Header& BoxGeom::_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& BoxGeom::header() const {
271  // @@protoc_insertion_point(field_get:ignition.msgs.BoxGeom.header)
272  return _internal_header();
273 }
274 inline void BoxGeom::unsafe_arena_set_allocated_header(
275  ::ignition::msgs::Header* header) {
276  if (GetArena() == 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.BoxGeom.header)
286 }
287 inline ::ignition::msgs::Header* BoxGeom::release_header() {
288 
289  ::ignition::msgs::Header* temp = header_;
290  header_ = nullptr;
291  if (GetArena() != nullptr) {
292  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
293  }
294  return temp;
295 }
296 inline ::ignition::msgs::Header* BoxGeom::unsafe_arena_release_header() {
297  // @@protoc_insertion_point(field_release:ignition.msgs.BoxGeom.header)
298 
299  ::ignition::msgs::Header* temp = header_;
300  header_ = nullptr;
301  return temp;
302 }
303 inline ::ignition::msgs::Header* BoxGeom::_internal_mutable_header() {
304 
305  if (header_ == nullptr) {
306  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
307  header_ = p;
308  }
309  return header_;
310 }
311 inline ::ignition::msgs::Header* BoxGeom::mutable_header() {
312  // @@protoc_insertion_point(field_mutable:ignition.msgs.BoxGeom.header)
313  return _internal_mutable_header();
314 }
315 inline void BoxGeom::set_allocated_header(::ignition::msgs::Header* header) {
316  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
317  if (message_arena == nullptr) {
318  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
319  }
320  if (header) {
321  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
322  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
323  if (message_arena != submessage_arena) {
324  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
325  message_arena, header, submessage_arena);
326  }
327 
328  } else {
329 
330  }
331  header_ = header;
332  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.BoxGeom.header)
333 }
334 
335 // .ignition.msgs.Vector3d size = 2;
336 inline bool BoxGeom::_internal_has_size() const {
337  return this != internal_default_instance() && size_ != nullptr;
338 }
339 inline bool BoxGeom::has_size() const {
340  return _internal_has_size();
341 }
342 inline const ::ignition::msgs::Vector3d& BoxGeom::_internal_size() const {
343  const ::ignition::msgs::Vector3d* p = size_;
344  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
346 }
347 inline const ::ignition::msgs::Vector3d& BoxGeom::size() const {
348  // @@protoc_insertion_point(field_get:ignition.msgs.BoxGeom.size)
349  return _internal_size();
350 }
351 inline void BoxGeom::unsafe_arena_set_allocated_size(
352  ::ignition::msgs::Vector3d* size) {
353  if (GetArena() == nullptr) {
354  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(size_);
355  }
356  size_ = size;
357  if (size) {
358 
359  } else {
360 
361  }
362  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.BoxGeom.size)
363 }
364 inline ::ignition::msgs::Vector3d* BoxGeom::release_size() {
365 
366  ::ignition::msgs::Vector3d* temp = size_;
367  size_ = nullptr;
368  if (GetArena() != nullptr) {
369  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
370  }
371  return temp;
372 }
373 inline ::ignition::msgs::Vector3d* BoxGeom::unsafe_arena_release_size() {
374  // @@protoc_insertion_point(field_release:ignition.msgs.BoxGeom.size)
375 
376  ::ignition::msgs::Vector3d* temp = size_;
377  size_ = nullptr;
378  return temp;
379 }
380 inline ::ignition::msgs::Vector3d* BoxGeom::_internal_mutable_size() {
381 
382  if (size_ == nullptr) {
383  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
384  size_ = p;
385  }
386  return size_;
387 }
388 inline ::ignition::msgs::Vector3d* BoxGeom::mutable_size() {
389  // @@protoc_insertion_point(field_mutable:ignition.msgs.BoxGeom.size)
390  return _internal_mutable_size();
391 }
392 inline void BoxGeom::set_allocated_size(::ignition::msgs::Vector3d* size) {
393  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
394  if (message_arena == nullptr) {
395  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(size_);
396  }
397  if (size) {
398  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
399  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(size)->GetArena();
400  if (message_arena != submessage_arena) {
401  size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
402  message_arena, size, submessage_arena);
403  }
404 
405  } else {
406 
407  }
408  size_ = size;
409  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.BoxGeom.size)
410 }
411 
412 #ifdef __GNUC__
413  #pragma GCC diagnostic pop
414 #endif // __GNUC__
415 
420 // @@protoc_insertion_point(namespace_scope)
421 
422 } // namespace msgs
423 } // namespace ignition
424 
425 #ifdef _MSC_VER
426 #pragma warning(pop)
427 #endif
428 // @@protoc_insertion_point(global_scope)
429 
430 #include <google/protobuf/port_undef.inc>
431 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fboxgeom_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fboxgeom_2eproto
const ::ignition::msgs::Vector3d & size() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: boxgeom.pb.h:115
void UnsafeArenaSwap(BoxGeom *other)
Definition: boxgeom.pb.h:138
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: boxgeom.pb.h:109
static const BoxGeom & default_instance()
BoxGeom * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: boxgeom.pb.h:150
void CopyFrom(const BoxGeom &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
BoxGeom(const BoxGeom &from)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
static const BoxGeom * internal_default_instance()
Definition: boxgeom.pb.h:120
::ignition::msgs::Vector3d * release_size()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
BoxGeom(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_allocated_size(::ignition::msgs::Vector3d *size)
BoxGeom(BoxGeom &&from) noexcept
Definition: boxgeom.pb.h:91
void unsafe_arena_set_allocated_size(::ignition::msgs::Vector3d *size)
friend void swap(BoxGeom &a, BoxGeom &b)
Definition: boxgeom.pb.h:127
void set_allocated_header(::ignition::msgs::Header *header)
::ignition::msgs::Vector3d * mutable_size()
BoxGeom & operator=(BoxGeom &&from) noexcept
Definition: boxgeom.pb.h:100
BoxGeom * New() const final
Definition: boxgeom.pb.h:146
::ignition::msgs::Vector3d * unsafe_arena_release_size()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
BoxGeom()
Definition: boxgeom.pb.h:87
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: boxgeom.pb.h:112
void MergeFrom(const BoxGeom &from)
BoxGeom & operator=(const BoxGeom &from)
Definition: boxgeom.pb.h:96
void Swap(BoxGeom *other)
Definition: boxgeom.pb.h:130
const ::ignition::msgs::Header & header() const
std::unique_ptr< BoxGeom > BoxGeomUniquePtr
Definition: boxgeom.pb.h:416
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::shared_ptr< const BoxGeom > ConstBoxGeomSharedPtr
Definition: boxgeom.pb.h:419
std::shared_ptr< BoxGeom > BoxGeomSharedPtr
Definition: boxgeom.pb.h:418
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< const BoxGeom > ConstBoxGeomUniquePtr
Definition: boxgeom.pb.h:417
IGNITION_MSGS_VISIBLE BoxGeomDefaultTypeInternal _BoxGeom_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)