4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fboxgeom_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fboxgeom_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_2fboxgeom_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 BoxGeomDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::BoxGeom* Arena::CreateMaybeMessage<::ignition::msgs::BoxGeom>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE
BoxGeom final :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
89 explicit constexpr
BoxGeom(::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();
128 return reinterpret_cast<const BoxGeom*
>(
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());
158 BoxGeom*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
159 return CreateMaybeMessage<BoxGeom>(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;
181 void InternalSwap(
BoxGeom* other);
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "ignition.msgs.BoxGeom";
189 explicit BoxGeom(::PROTOBUF_NAMESPACE_ID::Arena* arena,
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 kSizeFieldNumber = 2,
210 bool has_header()
const;
212 bool _internal_has_header()
const;
215 const ::ignition::msgs::Header& header()
const;
216 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
220 const ::ignition::msgs::Header& _internal_header()
const;
223 void unsafe_arena_set_allocated_header(
228 bool has_size()
const;
230 bool _internal_has_size()
const;
233 const ::ignition::msgs::Vector3d& size()
const;
234 PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_size();
238 const ::ignition::msgs::Vector3d& _internal_size()
const;
241 void unsafe_arena_set_allocated_size(
249 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
250 typedef void InternalArenaConstructable_;
251 typedef void DestructorSkippable_;
254 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
255 friend struct ::TableStruct_ignition_2fmsgs_2fboxgeom_2eproto;
263 #pragma GCC diagnostic push
264 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
269 inline bool BoxGeom::_internal_has_header()
const {
270 return this != internal_default_instance() && header_ !=
nullptr;
273 return _internal_has_header();
275 inline const ::ignition::msgs::Header& BoxGeom::_internal_header()
const {
276 const ::ignition::msgs::Header* p = header_;
282 return _internal_header();
286 if (GetArenaForAllocation() ==
nullptr) {
287 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
301 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
302 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
303 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
304 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
306 if (GetArenaForAllocation() !=
nullptr) {
307 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
319 inline ::ignition::msgs::Header* BoxGeom::_internal_mutable_header() {
321 if (header_ ==
nullptr) {
322 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
333 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
334 if (message_arena ==
nullptr) {
335 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
338 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
339 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
340 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
341 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
342 if (message_arena != submessage_arena) {
343 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
344 message_arena, header, submessage_arena);
355 inline bool BoxGeom::_internal_has_size()
const {
356 return this != internal_default_instance() && size_ !=
nullptr;
359 return _internal_has_size();
361 inline const ::ignition::msgs::Vector3d& BoxGeom::_internal_size()
const {
362 const ::ignition::msgs::Vector3d* p = size_;
368 return _internal_size();
372 if (GetArenaForAllocation() ==
nullptr) {
373 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(size_);
387 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
388 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
389 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
390 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
392 if (GetArenaForAllocation() !=
nullptr) {
393 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
405 inline ::ignition::msgs::Vector3d* BoxGeom::_internal_mutable_size() {
407 if (size_ ==
nullptr) {
408 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaForAllocation());
419 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
420 if (message_arena ==
nullptr) {
421 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(size_);
424 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
425 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
426 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
427 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(size));
428 if (message_arena != submessage_arena) {
429 size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
430 message_arena, size, submessage_arena);
441 #pragma GCC diagnostic pop
458 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fboxgeom_2eproto
Definition: boxgeom.pb.h:85
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: boxgeom.pb.h:121
const ::ignition::msgs::Vector3d & size() const
Definition: boxgeom.pb.h:366
bool has_header() const
Definition: boxgeom.pb.h:272
void UnsafeArenaSwap(BoxGeom *other)
Definition: boxgeom.pb.h:150
::ignition::msgs::Header * mutable_header()
Definition: boxgeom.pb.h:327
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_size()
Definition: boxgeom.pb.h:383
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: boxgeom.pb.h:115
static const BoxGeom & default_instance()
Definition: boxgeom.pb.h:124
BoxGeom * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: boxgeom.pb.h:158
void CopyFrom(const BoxGeom &from)
BoxGeom(const BoxGeom &from)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: boxgeom.pb.h:284
static const BoxGeom * internal_default_instance()
Definition: boxgeom.pb.h:127
bool has_size() const
Definition: boxgeom.pb.h:358
void set_allocated_size(::ignition::msgs::Vector3d *size)
Definition: boxgeom.pb.h:418
::ignition::msgs::Vector3d * unsafe_arena_release_size()
Definition: boxgeom.pb.h:398
BoxGeom(BoxGeom &&from) noexcept
Definition: boxgeom.pb.h:92
BoxGeom(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void unsafe_arena_set_allocated_size(::ignition::msgs::Vector3d *size)
Definition: boxgeom.pb.h:370
friend void swap(BoxGeom &a, BoxGeom &b)
Definition: boxgeom.pb.h:134
void set_allocated_header(::ignition::msgs::Header *header)
Definition: boxgeom.pb.h:332
BoxGeom & operator=(BoxGeom &&from) noexcept
Definition: boxgeom.pb.h:101
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: boxgeom.pb.h:297
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
BoxGeom()
Definition: boxgeom.pb.h:87
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: boxgeom.pb.h:118
void MergeFrom(const BoxGeom &from)
constexpr BoxGeom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
BoxGeom & operator=(const BoxGeom &from)
Definition: boxgeom.pb.h:97
const ::ignition::msgs::Header & header() const
Definition: boxgeom.pb.h:280
static const ClassData _class_data_
Definition: boxgeom.pb.h:196
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: boxgeom.pb.h:312
void Swap(BoxGeom *other)
Definition: boxgeom.pb.h:137
::ignition::msgs::Vector3d * mutable_size()
Definition: boxgeom.pb.h:413
Definition: vector3d.pb.h:84
std::unique_ptr< BoxGeom > BoxGeomUniquePtr
Definition: boxgeom.pb.h:444
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::shared_ptr< const BoxGeom > ConstBoxGeomSharedPtr
Definition: boxgeom.pb.h:447
std::shared_ptr< BoxGeom > BoxGeomSharedPtr
Definition: boxgeom.pb.h:446
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< const BoxGeom > ConstBoxGeomUniquePtr
Definition: boxgeom.pb.h:445
IGNITION_MSGS_VISIBLE BoxGeomDefaultTypeInternal _BoxGeom_default_instance_
Definition: actor.pb.h:52
Definition: boxgeom.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)