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 < 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_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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
72 class 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 PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
93 *
this = ::std::move(from);
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 BoxGeom*
>(
124 static constexpr
int kIndexInFileMessages =
127 friend void swap(BoxGeom& a, BoxGeom& b) {
130 inline void Swap(BoxGeom* 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 BoxGeom*
New() const final {
147 return CreateMaybeMessage<BoxGeom>(
nullptr);
150 BoxGeom*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
151 return CreateMaybeMessage<BoxGeom>(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(BoxGeom* other);
171 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173 return "ignition.msgs.BoxGeom";
176 explicit BoxGeom(::PROTOBUF_NAMESPACE_ID::Arena* arena);
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 kSizeFieldNumber = 2,
202 bool _internal_has_header()
const;
205 const ::ignition::msgs::Header&
header()
const;
210 const ::ignition::msgs::Header& _internal_header()
const;
211 ::ignition::msgs::Header* _internal_mutable_header();
214 ::ignition::msgs::Header* header);
220 bool _internal_has_size()
const;
223 const ::ignition::msgs::Vector3d&
size()
const;
228 const ::ignition::msgs::Vector3d& _internal_size()
const;
229 ::ignition::msgs::Vector3d* _internal_mutable_size();
232 ::ignition::msgs::Vector3d* size);
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;
253 #pragma GCC diagnostic push
254 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
259 inline bool BoxGeom::_internal_has_header()
const {
260 return this != internal_default_instance() && header_ !=
nullptr;
262 inline bool BoxGeom::has_header()
const {
263 return _internal_has_header();
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&
>(
270 inline const ::ignition::msgs::Header& BoxGeom::header()
const {
272 return _internal_header();
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_);
287 inline ::ignition::msgs::Header* BoxGeom::release_header() {
289 ::ignition::msgs::Header* temp = header_;
291 if (GetArena() !=
nullptr) {
292 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
296 inline ::ignition::msgs::Header* BoxGeom::unsafe_arena_release_header() {
299 ::ignition::msgs::Header* temp = header_;
303 inline ::ignition::msgs::Header* BoxGeom::_internal_mutable_header() {
305 if (header_ ==
nullptr) {
306 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
311 inline ::ignition::msgs::Header* BoxGeom::mutable_header() {
313 return _internal_mutable_header();
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_);
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);
336 inline bool BoxGeom::_internal_has_size()
const {
337 return this != internal_default_instance() && size_ !=
nullptr;
339 inline bool BoxGeom::has_size()
const {
340 return _internal_has_size();
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&
>(
347 inline const ::ignition::msgs::Vector3d& BoxGeom::size()
const {
349 return _internal_size();
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_);
364 inline ::ignition::msgs::Vector3d* BoxGeom::release_size() {
366 ::ignition::msgs::Vector3d* temp = size_;
368 if (GetArena() !=
nullptr) {
369 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
373 inline ::ignition::msgs::Vector3d* BoxGeom::unsafe_arena_release_size() {
376 ::ignition::msgs::Vector3d* temp = size_;
380 inline ::ignition::msgs::Vector3d* BoxGeom::_internal_mutable_size() {
382 if (size_ ==
nullptr) {
383 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
388 inline ::ignition::msgs::Vector3d* BoxGeom::mutable_size() {
390 return _internal_mutable_size();
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_);
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);
413 #pragma GCC diagnostic pop
430 #include <google/protobuf/port_undef.inc>
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
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)