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 < 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
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.
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 uint32_t offsets[];
72 struct AxisAlignedBoxDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::AxisAlignedBox* Arena::CreateMaybeMessage<::ignition::msgs::AxisAlignedBox>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
85 public ::PROTOBUF_NAMESPACE_ID::Message {
89 explicit constexpr
AxisAlignedBox(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
94 *
this = ::std::move(from);
102 if (
this == &from)
return *
this;
103 if (GetOwningArena() == from.GetOwningArena()
104 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
105 && GetOwningArena() !=
nullptr
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
116 return GetDescriptor();
119 return default_instance().GetMetadata().descriptor;
122 return default_instance().GetMetadata().reflection;
125 return *internal_default_instance();
131 static constexpr
int kIndexInFileMessages =
138 if (other ==
this)
return;
139 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
140 if (GetOwningArena() !=
nullptr &&
141 GetOwningArena() == other->GetOwningArena()) {
143 if (GetOwningArena() == other->GetOwningArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
159 return CreateMaybeMessage<AxisAlignedBox>(arena);
161 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
166 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
168 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
169 bool IsInitialized() const final;
171 size_t ByteSizeLong() const final;
172 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
173 uint8_t* _InternalSerialize(
174 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 int GetCachedSize() const final {
return _cached_size_.Get(); }
180 void SetCachedSize(
int size)
const final;
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "ignition.msgs.AxisAlignedBox";
190 bool is_message_owned =
false);
192 static void ArenaDtor(
void*
object);
193 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
199 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
206 kHeaderFieldNumber = 1,
207 kMinCornerFieldNumber = 2,
208 kMaxCornerFieldNumber = 3,
211 bool has_header()
const;
213 bool _internal_has_header()
const;
216 const ::ignition::msgs::Header& header()
const;
217 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
221 const ::ignition::msgs::Header& _internal_header()
const;
224 void unsafe_arena_set_allocated_header(
229 bool has_min_corner()
const;
231 bool _internal_has_min_corner()
const;
234 const ::ignition::msgs::Vector3d& min_corner()
const;
235 PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_min_corner();
239 const ::ignition::msgs::Vector3d& _internal_min_corner()
const;
242 void unsafe_arena_set_allocated_min_corner(
247 bool has_max_corner()
const;
249 bool _internal_has_max_corner()
const;
252 const ::ignition::msgs::Vector3d& max_corner()
const;
253 PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_max_corner();
257 const ::ignition::msgs::Vector3d& _internal_max_corner()
const;
260 void unsafe_arena_set_allocated_max_corner(
268 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
269 typedef void InternalArenaConstructable_;
270 typedef void DestructorSkippable_;
274 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
275 friend struct ::TableStruct_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto;
283 #pragma GCC diagnostic push
284 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
289 inline bool AxisAlignedBox::_internal_has_header()
const {
290 return this != internal_default_instance() && header_ !=
nullptr;
293 return _internal_has_header();
295 inline const ::ignition::msgs::Header& AxisAlignedBox::_internal_header()
const {
296 const ::ignition::msgs::Header* p = header_;
302 return _internal_header();
306 if (GetArenaForAllocation() ==
nullptr) {
307 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
321 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
322 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
323 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
324 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
326 if (GetArenaForAllocation() !=
nullptr) {
327 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
339 inline ::ignition::msgs::Header* AxisAlignedBox::_internal_mutable_header() {
341 if (header_ ==
nullptr) {
342 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
353 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
354 if (message_arena ==
nullptr) {
355 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
358 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
359 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
360 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
361 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
362 if (message_arena != submessage_arena) {
363 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
364 message_arena, header, submessage_arena);
375 inline bool AxisAlignedBox::_internal_has_min_corner()
const {
376 return this != internal_default_instance() && min_corner_ !=
nullptr;
379 return _internal_has_min_corner();
381 inline const ::ignition::msgs::Vector3d& AxisAlignedBox::_internal_min_corner()
const {
382 const ::ignition::msgs::Vector3d* p = min_corner_;
388 return _internal_min_corner();
392 if (GetArenaForAllocation() ==
nullptr) {
393 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(min_corner_);
395 min_corner_ = min_corner;
406 min_corner_ =
nullptr;
407 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
408 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
409 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
410 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
412 if (GetArenaForAllocation() !=
nullptr) {
413 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
422 min_corner_ =
nullptr;
425 inline ::ignition::msgs::Vector3d* AxisAlignedBox::_internal_mutable_min_corner() {
427 if (min_corner_ ==
nullptr) {
428 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaForAllocation());
439 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
440 if (message_arena ==
nullptr) {
441 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(min_corner_);
444 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
445 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
446 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
447 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(min_corner));
448 if (message_arena != submessage_arena) {
449 min_corner = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
450 message_arena, min_corner, submessage_arena);
456 min_corner_ = min_corner;
461 inline bool AxisAlignedBox::_internal_has_max_corner()
const {
462 return this != internal_default_instance() && max_corner_ !=
nullptr;
465 return _internal_has_max_corner();
467 inline const ::ignition::msgs::Vector3d& AxisAlignedBox::_internal_max_corner()
const {
468 const ::ignition::msgs::Vector3d* p = max_corner_;
474 return _internal_max_corner();
478 if (GetArenaForAllocation() ==
nullptr) {
479 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(max_corner_);
481 max_corner_ = max_corner;
492 max_corner_ =
nullptr;
493 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
494 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
495 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
496 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
498 if (GetArenaForAllocation() !=
nullptr) {
499 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
508 max_corner_ =
nullptr;
511 inline ::ignition::msgs::Vector3d* AxisAlignedBox::_internal_mutable_max_corner() {
513 if (max_corner_ ==
nullptr) {
514 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaForAllocation());
525 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
526 if (message_arena ==
nullptr) {
527 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(max_corner_);
530 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
531 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
532 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
533 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(max_corner));
534 if (message_arena != submessage_arena) {
535 max_corner = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
536 message_arena, max_corner, submessage_arena);
542 max_corner_ = max_corner;
547 #pragma GCC diagnostic pop
564 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto
Definition: axis_aligned_box.pb.h:85
AxisAlignedBox * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: axis_aligned_box.pb.h:158
bool has_min_corner() const
Definition: axis_aligned_box.pb.h:378
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: axis_aligned_box.pb.h:121
bool has_header() const
Definition: axis_aligned_box.pb.h:292
::ignition::msgs::Header * mutable_header()
Definition: axis_aligned_box.pb.h:347
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::ignition::msgs::Vector3d & min_corner() const
Definition: axis_aligned_box.pb.h:386
AxisAlignedBox & operator=(const AxisAlignedBox &from)
Definition: axis_aligned_box.pb.h:97
static const AxisAlignedBox * internal_default_instance()
Definition: axis_aligned_box.pb.h:127
void Swap(AxisAlignedBox *other)
Definition: axis_aligned_box.pb.h:137
void set_allocated_max_corner(::ignition::msgs::Vector3d *max_corner)
Definition: axis_aligned_box.pb.h:524
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: axis_aligned_box.pb.h:115
AxisAlignedBox(const AxisAlignedBox &from)
AxisAlignedBox()
Definition: axis_aligned_box.pb.h:87
AxisAlignedBox & operator=(AxisAlignedBox &&from) noexcept
Definition: axis_aligned_box.pb.h:101
void unsafe_arena_set_allocated_min_corner(::ignition::msgs::Vector3d *min_corner)
Definition: axis_aligned_box.pb.h:390
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: axis_aligned_box.pb.h:304
void set_allocated_min_corner(::ignition::msgs::Vector3d *min_corner)
Definition: axis_aligned_box.pb.h:438
static const AxisAlignedBox & default_instance()
Definition: axis_aligned_box.pb.h:124
constexpr AxisAlignedBox(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
bool has_max_corner() const
Definition: axis_aligned_box.pb.h:464
~AxisAlignedBox() override
void CopyFrom(const AxisAlignedBox &from)
void unsafe_arena_set_allocated_max_corner(::ignition::msgs::Vector3d *max_corner)
Definition: axis_aligned_box.pb.h:476
::ignition::msgs::Vector3d * unsafe_arena_release_min_corner()
Definition: axis_aligned_box.pb.h:418
void set_allocated_header(::ignition::msgs::Header *header)
Definition: axis_aligned_box.pb.h:352
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: axis_aligned_box.pb.h:317
::ignition::msgs::Vector3d * mutable_max_corner()
Definition: axis_aligned_box.pb.h:519
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
AxisAlignedBox(AxisAlignedBox &&from) noexcept
Definition: axis_aligned_box.pb.h:92
AxisAlignedBox(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const AxisAlignedBox &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: axis_aligned_box.pb.h:118
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_max_corner()
Definition: axis_aligned_box.pb.h:489
const ::ignition::msgs::Header & header() const
Definition: axis_aligned_box.pb.h:300
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_min_corner()
Definition: axis_aligned_box.pb.h:403
friend void swap(AxisAlignedBox &a, AxisAlignedBox &b)
Definition: axis_aligned_box.pb.h:134
const ::ignition::msgs::Vector3d & max_corner() const
Definition: axis_aligned_box.pb.h:472
static const ClassData _class_data_
Definition: axis_aligned_box.pb.h:196
::ignition::msgs::Vector3d * mutable_min_corner()
Definition: axis_aligned_box.pb.h:433
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: axis_aligned_box.pb.h:332
::ignition::msgs::Vector3d * unsafe_arena_release_max_corner()
Definition: axis_aligned_box.pb.h:504
void UnsafeArenaSwap(AxisAlignedBox *other)
Definition: axis_aligned_box.pb.h:150
Definition: vector3d.pb.h:84
std::unique_ptr< AxisAlignedBox > AxisAlignedBoxUniquePtr
Definition: axis_aligned_box.pb.h:550
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::shared_ptr< AxisAlignedBox > AxisAlignedBoxSharedPtr
Definition: axis_aligned_box.pb.h:552
std::unique_ptr< const AxisAlignedBox > ConstAxisAlignedBoxUniquePtr
Definition: axis_aligned_box.pb.h:551
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const AxisAlignedBox > ConstAxisAlignedBoxSharedPtr
Definition: axis_aligned_box.pb.h:553
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)