4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto
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
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.
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>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
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[];
72 class AxisAlignedBoxDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::AxisAlignedBox* Arena::CreateMaybeMessage<::ignition::msgs::AxisAlignedBox>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE AxisAlignedBox PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
93 *
this = ::std::move(from);
96 inline AxisAlignedBox&
operator=(
const AxisAlignedBox& from) {
100 inline AxisAlignedBox&
operator=(AxisAlignedBox&& from) noexcept {
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
110 return GetDescriptor();
113 return GetMetadataStatic().descriptor;
116 return GetMetadataStatic().reflection;
121 return reinterpret_cast<const AxisAlignedBox*
>(
124 static constexpr
int kIndexInFileMessages =
127 friend void swap(AxisAlignedBox& a, AxisAlignedBox& b) {
130 inline void Swap(AxisAlignedBox* other) {
131 if (other ==
this)
return;
132 if (GetArena() == other->GetArena()) {
135 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
139 if (other ==
this)
return;
140 GOOGLE_DCHECK(GetArena() == other->GetArena());
146 inline AxisAlignedBox*
New() const final {
147 return CreateMaybeMessage<AxisAlignedBox>(
nullptr);
150 AxisAlignedBox*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
151 return CreateMaybeMessage<AxisAlignedBox>(arena);
153 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
154 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
157 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
158 bool IsInitialized() const final;
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(); }
167 inline void SharedCtor();
168 inline void SharedDtor();
169 void SetCachedSize(
int size)
const final;
170 void InternalSwap(AxisAlignedBox* other);
171 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173 return "ignition.msgs.AxisAlignedBox";
178 static void ArenaDtor(
void*
object);
179 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
196 kHeaderFieldNumber = 1,
197 kMinCornerFieldNumber = 2,
198 kMaxCornerFieldNumber = 3,
203 bool _internal_has_header()
const;
206 const ::ignition::msgs::Header&
header()
const;
211 const ::ignition::msgs::Header& _internal_header()
const;
212 ::ignition::msgs::Header* _internal_mutable_header();
215 ::ignition::msgs::Header* header);
221 bool _internal_has_min_corner()
const;
229 const ::ignition::msgs::Vector3d& _internal_min_corner()
const;
230 ::ignition::msgs::Vector3d* _internal_mutable_min_corner();
233 ::ignition::msgs::Vector3d* min_corner);
239 bool _internal_has_max_corner()
const;
247 const ::ignition::msgs::Vector3d& _internal_max_corner()
const;
248 ::ignition::msgs::Vector3d* _internal_mutable_max_corner();
251 ::ignition::msgs::Vector3d* max_corner);
258 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
259 typedef void InternalArenaConstructable_;
260 typedef void DestructorSkippable_;
261 ::ignition::msgs::Header* header_;
262 ::ignition::msgs::Vector3d* min_corner_;
263 ::ignition::msgs::Vector3d* max_corner_;
264 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
265 friend struct ::TableStruct_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto;
273 #pragma GCC diagnostic push
274 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
279 inline bool AxisAlignedBox::_internal_has_header()
const {
280 return this != internal_default_instance() && header_ !=
nullptr;
282 inline bool AxisAlignedBox::has_header()
const {
283 return _internal_has_header();
285 inline const ::ignition::msgs::Header& AxisAlignedBox::_internal_header()
const {
286 const ::ignition::msgs::Header* p = header_;
287 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
290 inline const ::ignition::msgs::Header& AxisAlignedBox::header()
const {
292 return _internal_header();
294 inline void AxisAlignedBox::unsafe_arena_set_allocated_header(
295 ::ignition::msgs::Header* header) {
296 if (GetArena() ==
nullptr) {
297 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
307 inline ::ignition::msgs::Header* AxisAlignedBox::release_header() {
309 ::ignition::msgs::Header* temp = header_;
311 if (GetArena() !=
nullptr) {
312 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
316 inline ::ignition::msgs::Header* AxisAlignedBox::unsafe_arena_release_header() {
319 ::ignition::msgs::Header* temp = header_;
323 inline ::ignition::msgs::Header* AxisAlignedBox::_internal_mutable_header() {
325 if (header_ ==
nullptr) {
326 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
331 inline ::ignition::msgs::Header* AxisAlignedBox::mutable_header() {
333 return _internal_mutable_header();
335 inline void AxisAlignedBox::set_allocated_header(::ignition::msgs::Header* header) {
336 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
337 if (message_arena ==
nullptr) {
338 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
341 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
342 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
343 if (message_arena != submessage_arena) {
344 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
345 message_arena, header, submessage_arena);
356 inline bool AxisAlignedBox::_internal_has_min_corner()
const {
357 return this != internal_default_instance() && min_corner_ !=
nullptr;
359 inline bool AxisAlignedBox::has_min_corner()
const {
360 return _internal_has_min_corner();
362 inline const ::ignition::msgs::Vector3d& AxisAlignedBox::_internal_min_corner()
const {
363 const ::ignition::msgs::Vector3d* p = min_corner_;
364 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Vector3d&
>(
367 inline const ::ignition::msgs::Vector3d& AxisAlignedBox::min_corner()
const {
369 return _internal_min_corner();
371 inline void AxisAlignedBox::unsafe_arena_set_allocated_min_corner(
372 ::ignition::msgs::Vector3d* min_corner) {
373 if (GetArena() ==
nullptr) {
374 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(min_corner_);
376 min_corner_ = min_corner;
384 inline ::ignition::msgs::Vector3d* AxisAlignedBox::release_min_corner() {
386 ::ignition::msgs::Vector3d* temp = min_corner_;
387 min_corner_ =
nullptr;
388 if (GetArena() !=
nullptr) {
389 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
393 inline ::ignition::msgs::Vector3d* AxisAlignedBox::unsafe_arena_release_min_corner() {
396 ::ignition::msgs::Vector3d* temp = min_corner_;
397 min_corner_ =
nullptr;
400 inline ::ignition::msgs::Vector3d* AxisAlignedBox::_internal_mutable_min_corner() {
402 if (min_corner_ ==
nullptr) {
403 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
408 inline ::ignition::msgs::Vector3d* AxisAlignedBox::mutable_min_corner() {
410 return _internal_mutable_min_corner();
412 inline void AxisAlignedBox::set_allocated_min_corner(::ignition::msgs::Vector3d* min_corner) {
413 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
414 if (message_arena ==
nullptr) {
415 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(min_corner_);
418 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
419 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(min_corner)->GetArena();
420 if (message_arena != submessage_arena) {
421 min_corner = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
422 message_arena, min_corner, submessage_arena);
428 min_corner_ = min_corner;
433 inline bool AxisAlignedBox::_internal_has_max_corner()
const {
434 return this != internal_default_instance() && max_corner_ !=
nullptr;
436 inline bool AxisAlignedBox::has_max_corner()
const {
437 return _internal_has_max_corner();
439 inline const ::ignition::msgs::Vector3d& AxisAlignedBox::_internal_max_corner()
const {
440 const ::ignition::msgs::Vector3d* p = max_corner_;
441 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Vector3d&
>(
444 inline const ::ignition::msgs::Vector3d& AxisAlignedBox::max_corner()
const {
446 return _internal_max_corner();
448 inline void AxisAlignedBox::unsafe_arena_set_allocated_max_corner(
449 ::ignition::msgs::Vector3d* max_corner) {
450 if (GetArena() ==
nullptr) {
451 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(max_corner_);
453 max_corner_ = max_corner;
461 inline ::ignition::msgs::Vector3d* AxisAlignedBox::release_max_corner() {
463 ::ignition::msgs::Vector3d* temp = max_corner_;
464 max_corner_ =
nullptr;
465 if (GetArena() !=
nullptr) {
466 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
470 inline ::ignition::msgs::Vector3d* AxisAlignedBox::unsafe_arena_release_max_corner() {
473 ::ignition::msgs::Vector3d* temp = max_corner_;
474 max_corner_ =
nullptr;
477 inline ::ignition::msgs::Vector3d* AxisAlignedBox::_internal_mutable_max_corner() {
479 if (max_corner_ ==
nullptr) {
480 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
485 inline ::ignition::msgs::Vector3d* AxisAlignedBox::mutable_max_corner() {
487 return _internal_mutable_max_corner();
489 inline void AxisAlignedBox::set_allocated_max_corner(::ignition::msgs::Vector3d* max_corner) {
490 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
491 if (message_arena ==
nullptr) {
492 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(max_corner_);
495 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
496 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(max_corner)->GetArena();
497 if (message_arena != submessage_arena) {
498 max_corner = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
499 message_arena, max_corner, submessage_arena);
505 max_corner_ = max_corner;
510 #pragma GCC diagnostic pop
527 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto
bool has_min_corner() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: axis_aligned_box.pb.h:115
AxisAlignedBox * New() const final
Definition: axis_aligned_box.pb.h:146
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
AxisAlignedBox & operator=(const AxisAlignedBox &from)
Definition: axis_aligned_box.pb.h:96
AxisAlignedBox(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const AxisAlignedBox * internal_default_instance()
Definition: axis_aligned_box.pb.h:120
void Swap(AxisAlignedBox *other)
Definition: axis_aligned_box.pb.h:130
::ignition::msgs::Vector3d * unsafe_arena_release_min_corner()
::ignition::msgs::Header * mutable_header()
::ignition::msgs::Vector3d * release_min_corner()
::ignition::msgs::Vector3d * release_max_corner()
void set_allocated_max_corner(::ignition::msgs::Vector3d *max_corner)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: axis_aligned_box.pb.h:109
::ignition::msgs::Vector3d * unsafe_arena_release_max_corner()
AxisAlignedBox(const AxisAlignedBox &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
AxisAlignedBox()
Definition: axis_aligned_box.pb.h:87
AxisAlignedBox & operator=(AxisAlignedBox &&from) noexcept
Definition: axis_aligned_box.pb.h:100
AxisAlignedBox * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: axis_aligned_box.pb.h:150
void unsafe_arena_set_allocated_min_corner(::ignition::msgs::Vector3d *min_corner)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_allocated_min_corner(::ignition::msgs::Vector3d *min_corner)
const ::ignition::msgs::Vector3d & max_corner() const
static const AxisAlignedBox & default_instance()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
bool has_max_corner() const
void CopyFrom(const AxisAlignedBox &from)
void unsafe_arena_set_allocated_max_corner(::ignition::msgs::Vector3d *max_corner)
void set_allocated_header(::ignition::msgs::Header *header)
AxisAlignedBox(AxisAlignedBox &&from) noexcept
Definition: axis_aligned_box.pb.h:91
virtual ~AxisAlignedBox()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void MergeFrom(const AxisAlignedBox &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: axis_aligned_box.pb.h:112
::ignition::msgs::Vector3d * mutable_min_corner()
::ignition::msgs::Vector3d * mutable_max_corner()
friend void swap(AxisAlignedBox &a, AxisAlignedBox &b)
Definition: axis_aligned_box.pb.h:127
void UnsafeArenaSwap(AxisAlignedBox *other)
Definition: axis_aligned_box.pb.h:138
const ::ignition::msgs::Vector3d & min_corner() const
const ::ignition::msgs::Header & header() const
std::unique_ptr< AxisAlignedBox > AxisAlignedBoxUniquePtr
Definition: axis_aligned_box.pb.h:513
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::shared_ptr< AxisAlignedBox > AxisAlignedBoxSharedPtr
Definition: axis_aligned_box.pb.h:515
std::unique_ptr< const AxisAlignedBox > ConstAxisAlignedBoxUniquePtr
Definition: axis_aligned_box.pb.h:514
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const AxisAlignedBox > ConstAxisAlignedBoxSharedPtr
Definition: axis_aligned_box.pb.h:516
IGNITION_MSGS_VISIBLE AxisAlignedBoxDefaultTypeInternal _AxisAlignedBox_default_instance_
Definition: actor.pb.h:52
Definition: axis_aligned_box.pb.h:57
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)