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 < 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
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.
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>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
38 #pragma GCC system_header
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
44 #include <sys/sysmacros.h>
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
55 PROTOBUF_NAMESPACE_CLOSE
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
65 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
73 class AxisAlignedBoxDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::AxisAlignedBox* Arena::CreateMaybeMessage<::ignition::msgs::AxisAlignedBox>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
85 class IGNITION_MSGS_VISIBLE AxisAlignedBox PROTOBUF_FINAL :
86 public ::PROTOBUF_NAMESPACE_ID::Message {
94 *
this = ::std::move(from);
97 inline AxisAlignedBox&
operator=(
const AxisAlignedBox& from) {
101 inline AxisAlignedBox&
operator=(AxisAlignedBox&& from) noexcept {
102 if (GetArena() == from.GetArena()) {
103 if (
this != &from) InternalSwap(&from);
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
111 return GetDescriptor();
114 return GetMetadataStatic().descriptor;
117 return GetMetadataStatic().reflection;
123 return reinterpret_cast<const AxisAlignedBox*
>(
126 static constexpr
int kIndexInFileMessages =
129 friend void swap(AxisAlignedBox& a, AxisAlignedBox& b) {
132 inline void Swap(AxisAlignedBox* other) {
133 if (other ==
this)
return;
134 if (GetArena() == other->GetArena()) {
137 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
141 if (other ==
this)
return;
142 GOOGLE_DCHECK(GetArena() == other->GetArena());
148 inline AxisAlignedBox*
New() const final {
149 return CreateMaybeMessage<AxisAlignedBox>(
nullptr);
152 AxisAlignedBox*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
153 return CreateMaybeMessage<AxisAlignedBox>(arena);
155 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
156 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
159 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
160 bool IsInitialized() const final;
162 size_t ByteSizeLong() const final;
163 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
164 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
165 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
166 int GetCachedSize() const final {
return _cached_size_.Get(); }
169 inline void SharedCtor();
170 inline void SharedDtor();
171 void SetCachedSize(
int size)
const final;
172 void InternalSwap(AxisAlignedBox* other);
173 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
174 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
175 return "ignition.msgs.AxisAlignedBox";
180 static void ArenaDtor(
void*
object);
181 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
186 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
198 kHeaderFieldNumber = 1,
199 kMinCornerFieldNumber = 2,
200 kMaxCornerFieldNumber = 3,
205 bool _internal_has_header()
const;
208 const ::ignition::msgs::Header&
header()
const;
213 const ::ignition::msgs::Header& _internal_header()
const;
214 ::ignition::msgs::Header* _internal_mutable_header();
217 ::ignition::msgs::Header* header);
223 bool _internal_has_min_corner()
const;
231 const ::ignition::msgs::Vector3d& _internal_min_corner()
const;
232 ::ignition::msgs::Vector3d* _internal_mutable_min_corner();
235 ::ignition::msgs::Vector3d* min_corner);
241 bool _internal_has_max_corner()
const;
249 const ::ignition::msgs::Vector3d& _internal_max_corner()
const;
250 ::ignition::msgs::Vector3d* _internal_mutable_max_corner();
253 ::ignition::msgs::Vector3d* max_corner);
260 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
261 typedef void InternalArenaConstructable_;
262 typedef void DestructorSkippable_;
263 ::ignition::msgs::Header* header_;
264 ::ignition::msgs::Vector3d* min_corner_;
265 ::ignition::msgs::Vector3d* max_corner_;
266 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
267 friend struct ::TableStruct_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto;
275 #pragma GCC diagnostic push
276 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
281 inline bool AxisAlignedBox::_internal_has_header()
const {
282 return this != internal_default_instance() && header_ !=
nullptr;
284 inline bool AxisAlignedBox::has_header()
const {
285 return _internal_has_header();
287 inline const ::ignition::msgs::Header& AxisAlignedBox::_internal_header()
const {
288 const ::ignition::msgs::Header* p = header_;
289 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
292 inline const ::ignition::msgs::Header& AxisAlignedBox::header()
const {
294 return _internal_header();
296 inline void AxisAlignedBox::unsafe_arena_set_allocated_header(
297 ::ignition::msgs::Header* header) {
298 if (GetArena() ==
nullptr) {
299 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
309 inline ::ignition::msgs::Header* AxisAlignedBox::release_header() {
310 auto temp = unsafe_arena_release_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() {
385 auto temp = unsafe_arena_release_min_corner();
386 if (GetArena() !=
nullptr) {
387 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
391 inline ::ignition::msgs::Vector3d* AxisAlignedBox::unsafe_arena_release_min_corner() {
394 ::ignition::msgs::Vector3d* temp = min_corner_;
395 min_corner_ =
nullptr;
398 inline ::ignition::msgs::Vector3d* AxisAlignedBox::_internal_mutable_min_corner() {
400 if (min_corner_ ==
nullptr) {
401 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
406 inline ::ignition::msgs::Vector3d* AxisAlignedBox::mutable_min_corner() {
408 return _internal_mutable_min_corner();
410 inline void AxisAlignedBox::set_allocated_min_corner(::ignition::msgs::Vector3d* min_corner) {
411 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
412 if (message_arena ==
nullptr) {
413 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(min_corner_);
416 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
417 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(min_corner)->GetArena();
418 if (message_arena != submessage_arena) {
419 min_corner = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
420 message_arena, min_corner, submessage_arena);
426 min_corner_ = min_corner;
431 inline bool AxisAlignedBox::_internal_has_max_corner()
const {
432 return this != internal_default_instance() && max_corner_ !=
nullptr;
434 inline bool AxisAlignedBox::has_max_corner()
const {
435 return _internal_has_max_corner();
437 inline const ::ignition::msgs::Vector3d& AxisAlignedBox::_internal_max_corner()
const {
438 const ::ignition::msgs::Vector3d* p = max_corner_;
439 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Vector3d*
>(
442 inline const ::ignition::msgs::Vector3d& AxisAlignedBox::max_corner()
const {
444 return _internal_max_corner();
446 inline void AxisAlignedBox::unsafe_arena_set_allocated_max_corner(
447 ::ignition::msgs::Vector3d* max_corner) {
448 if (GetArena() ==
nullptr) {
449 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(max_corner_);
451 max_corner_ = max_corner;
459 inline ::ignition::msgs::Vector3d* AxisAlignedBox::release_max_corner() {
460 auto temp = unsafe_arena_release_max_corner();
461 if (GetArena() !=
nullptr) {
462 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
466 inline ::ignition::msgs::Vector3d* AxisAlignedBox::unsafe_arena_release_max_corner() {
469 ::ignition::msgs::Vector3d* temp = max_corner_;
470 max_corner_ =
nullptr;
473 inline ::ignition::msgs::Vector3d* AxisAlignedBox::_internal_mutable_max_corner() {
475 if (max_corner_ ==
nullptr) {
476 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
481 inline ::ignition::msgs::Vector3d* AxisAlignedBox::mutable_max_corner() {
483 return _internal_mutable_max_corner();
485 inline void AxisAlignedBox::set_allocated_max_corner(::ignition::msgs::Vector3d* max_corner) {
486 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
487 if (message_arena ==
nullptr) {
488 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(max_corner_);
491 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
492 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(max_corner)->GetArena();
493 if (message_arena != submessage_arena) {
494 max_corner = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
495 message_arena, max_corner, submessage_arena);
501 max_corner_ = max_corner;
506 #pragma GCC diagnostic pop
523 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2faxis_5faligned_5fbox_2eproto
static void InitAsDefaultInstance()
bool has_min_corner() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:116
AxisAlignedBox * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:148
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
AxisAlignedBox & operator=(const AxisAlignedBox &from)
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:97
AxisAlignedBox(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const AxisAlignedBox * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:122
void Swap(AxisAlignedBox *other)
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:132
::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: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:110
::ignition::msgs::Vector3d * unsafe_arena_release_max_corner()
AxisAlignedBox(const AxisAlignedBox &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
AxisAlignedBox()
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:88
AxisAlignedBox & operator=(AxisAlignedBox &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:101
AxisAlignedBox * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:152
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: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:92
virtual ~AxisAlignedBox()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void MergeFrom(const AxisAlignedBox &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:113
::ignition::msgs::Vector3d * mutable_min_corner()
::ignition::msgs::Vector3d * mutable_max_corner()
friend void swap(AxisAlignedBox &a, AxisAlignedBox &b)
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:129
void UnsafeArenaSwap(AxisAlignedBox *other)
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:140
const ::ignition::msgs::Vector3d & min_corner() const
const ::ignition::msgs::Header & header() const
std::unique_ptr< AxisAlignedBox > AxisAlignedBoxUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:509
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::shared_ptr< AxisAlignedBox > AxisAlignedBoxSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:511
std::unique_ptr< const AxisAlignedBox > ConstAxisAlignedBoxUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:510
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const AxisAlignedBox > ConstAxisAlignedBoxSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:512
IGNITION_MSGS_VISIBLE AxisAlignedBoxDefaultTypeInternal _AxisAlignedBox_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/axis_aligned_box.pb.h:58
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)