4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fplanegeom_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fplanegeom_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>
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_2fplanegeom_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::AuxiliaryParseTableField 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 PlaneGeomDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PlaneGeom* Arena::CreateMaybeMessage<::ignition::msgs::PlaneGeom>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
85 class IGNITION_MSGS_VISIBLE PlaneGeom PROTOBUF_FINAL :
86 public ::PROTOBUF_NAMESPACE_ID::Message {
94 *
this = ::std::move(from);
97 inline PlaneGeom&
operator=(
const PlaneGeom& from) {
101 inline PlaneGeom&
operator=(PlaneGeom&& 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;
122 return reinterpret_cast<const PlaneGeom*
>(
125 static constexpr
int kIndexInFileMessages =
128 friend void swap(PlaneGeom& a, PlaneGeom& b) {
131 inline void Swap(PlaneGeom* other) {
132 if (other ==
this)
return;
133 if (GetArena() == other->GetArena()) {
136 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
140 if (other ==
this)
return;
141 GOOGLE_DCHECK(GetArena() == other->GetArena());
147 inline PlaneGeom*
New() const final {
148 return CreateMaybeMessage<PlaneGeom>(
nullptr);
151 PlaneGeom*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
152 return CreateMaybeMessage<PlaneGeom>(arena);
154 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
155 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
158 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
159 bool IsInitialized() const final;
161 size_t ByteSizeLong() const final;
162 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
163 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
164 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
165 int GetCachedSize() const final {
return _cached_size_.Get(); }
168 inline void SharedCtor();
169 inline void SharedDtor();
170 void SetCachedSize(
int size)
const final;
171 void InternalSwap(PlaneGeom* other);
172 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174 return "ignition.msgs.PlaneGeom";
177 explicit PlaneGeom(::PROTOBUF_NAMESPACE_ID::Arena* arena);
179 static void ArenaDtor(
void*
object);
180 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
197 kHeaderFieldNumber = 1,
198 kNormalFieldNumber = 2,
199 kSizeFieldNumber = 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_normal()
const;
226 const ::ignition::msgs::Vector3d&
normal()
const;
231 const ::ignition::msgs::Vector3d& _internal_normal()
const;
232 ::ignition::msgs::Vector3d* _internal_mutable_normal();
235 ::ignition::msgs::Vector3d* normal);
241 bool _internal_has_size()
const;
244 const ::ignition::msgs::Vector2d&
size()
const;
249 const ::ignition::msgs::Vector2d& _internal_size()
const;
250 ::ignition::msgs::Vector2d* _internal_mutable_size();
253 ::ignition::msgs::Vector2d* size);
261 double _internal_d()
const;
262 void _internal_set_d(
double value);
269 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
270 typedef void InternalArenaConstructable_;
271 typedef void DestructorSkippable_;
272 ::ignition::msgs::Header* header_;
273 ::ignition::msgs::Vector3d* normal_;
274 ::ignition::msgs::Vector2d* size_;
276 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
277 friend struct ::TableStruct_ignition_2fmsgs_2fplanegeom_2eproto;
285 #pragma GCC diagnostic push
286 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
291 inline bool PlaneGeom::_internal_has_header()
const {
292 return this != internal_default_instance() && header_ !=
nullptr;
294 inline bool PlaneGeom::has_header()
const {
295 return _internal_has_header();
297 inline const ::ignition::msgs::Header& PlaneGeom::_internal_header()
const {
298 const ::ignition::msgs::Header* p = header_;
299 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
302 inline const ::ignition::msgs::Header& PlaneGeom::header()
const {
304 return _internal_header();
306 inline void PlaneGeom::unsafe_arena_set_allocated_header(
307 ::ignition::msgs::Header* header) {
308 if (GetArena() ==
nullptr) {
309 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
319 inline ::ignition::msgs::Header* PlaneGeom::release_header() {
321 ::ignition::msgs::Header* temp = header_;
323 if (GetArena() !=
nullptr) {
324 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
328 inline ::ignition::msgs::Header* PlaneGeom::unsafe_arena_release_header() {
331 ::ignition::msgs::Header* temp = header_;
335 inline ::ignition::msgs::Header* PlaneGeom::_internal_mutable_header() {
337 if (header_ ==
nullptr) {
338 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
343 inline ::ignition::msgs::Header* PlaneGeom::mutable_header() {
345 return _internal_mutable_header();
347 inline void PlaneGeom::set_allocated_header(::ignition::msgs::Header* header) {
348 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
349 if (message_arena ==
nullptr) {
350 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
353 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
354 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
355 if (message_arena != submessage_arena) {
356 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
357 message_arena, header, submessage_arena);
368 inline bool PlaneGeom::_internal_has_normal()
const {
369 return this != internal_default_instance() && normal_ !=
nullptr;
371 inline bool PlaneGeom::has_normal()
const {
372 return _internal_has_normal();
374 inline const ::ignition::msgs::Vector3d& PlaneGeom::_internal_normal()
const {
375 const ::ignition::msgs::Vector3d* p = normal_;
376 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Vector3d&
>(
379 inline const ::ignition::msgs::Vector3d& PlaneGeom::normal()
const {
381 return _internal_normal();
383 inline void PlaneGeom::unsafe_arena_set_allocated_normal(
384 ::ignition::msgs::Vector3d* normal) {
385 if (GetArena() ==
nullptr) {
386 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(normal_);
396 inline ::ignition::msgs::Vector3d* PlaneGeom::release_normal() {
398 ::ignition::msgs::Vector3d* temp = normal_;
400 if (GetArena() !=
nullptr) {
401 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
405 inline ::ignition::msgs::Vector3d* PlaneGeom::unsafe_arena_release_normal() {
408 ::ignition::msgs::Vector3d* temp = normal_;
412 inline ::ignition::msgs::Vector3d* PlaneGeom::_internal_mutable_normal() {
414 if (normal_ ==
nullptr) {
415 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
420 inline ::ignition::msgs::Vector3d* PlaneGeom::mutable_normal() {
422 return _internal_mutable_normal();
424 inline void PlaneGeom::set_allocated_normal(::ignition::msgs::Vector3d* normal) {
425 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
426 if (message_arena ==
nullptr) {
427 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(normal_);
430 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
431 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(normal)->GetArena();
432 if (message_arena != submessage_arena) {
433 normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
434 message_arena, normal, submessage_arena);
445 inline bool PlaneGeom::_internal_has_size()
const {
446 return this != internal_default_instance() && size_ !=
nullptr;
448 inline bool PlaneGeom::has_size()
const {
449 return _internal_has_size();
451 inline const ::ignition::msgs::Vector2d& PlaneGeom::_internal_size()
const {
452 const ::ignition::msgs::Vector2d* p = size_;
453 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Vector2d&
>(
456 inline const ::ignition::msgs::Vector2d& PlaneGeom::size()
const {
458 return _internal_size();
460 inline void PlaneGeom::unsafe_arena_set_allocated_size(
461 ::ignition::msgs::Vector2d* size) {
462 if (GetArena() ==
nullptr) {
463 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(size_);
473 inline ::ignition::msgs::Vector2d* PlaneGeom::release_size() {
475 ::ignition::msgs::Vector2d* temp = size_;
477 if (GetArena() !=
nullptr) {
478 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
482 inline ::ignition::msgs::Vector2d* PlaneGeom::unsafe_arena_release_size() {
485 ::ignition::msgs::Vector2d* temp = size_;
489 inline ::ignition::msgs::Vector2d* PlaneGeom::_internal_mutable_size() {
491 if (size_ ==
nullptr) {
492 auto* p = CreateMaybeMessage<::ignition::msgs::Vector2d>(GetArena());
497 inline ::ignition::msgs::Vector2d* PlaneGeom::mutable_size() {
499 return _internal_mutable_size();
501 inline void PlaneGeom::set_allocated_size(::ignition::msgs::Vector2d* size) {
502 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
503 if (message_arena ==
nullptr) {
504 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(size_);
507 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
508 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(size)->GetArena();
509 if (message_arena != submessage_arena) {
510 size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
511 message_arena, size, submessage_arena);
522 inline void PlaneGeom::clear_d() {
525 inline double PlaneGeom::_internal_d()
const {
528 inline double PlaneGeom::d()
const {
530 return _internal_d();
532 inline void PlaneGeom::_internal_set_d(
double value) {
536 inline void PlaneGeom::set_d(
double value) {
537 _internal_set_d(value);
542 #pragma GCC diagnostic pop
559 #include <google/protobuf/port_undef.inc>
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: planegeom.pb.h:116
PlaneGeom * New() const final
Definition: planegeom.pb.h:147
void UnsafeArenaSwap(PlaneGeom *other)
Definition: planegeom.pb.h:139
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
::ignition::msgs::Vector2d * release_size()
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: planegeom.pb.h:110
const ::ignition::msgs::Vector3d & normal() const
void unsafe_arena_set_allocated_size(::ignition::msgs::Vector2d *size)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
PlaneGeom & operator=(const PlaneGeom &from)
Definition: planegeom.pb.h:97
::ignition::msgs::Vector3d * release_normal()
const ::ignition::msgs::Vector2d & size() const
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void CopyFrom(const PlaneGeom &from)
static const PlaneGeom & default_instance()
static const PlaneGeom * internal_default_instance()
Definition: planegeom.pb.h:121
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::ignition::msgs::Vector3d * unsafe_arena_release_normal()
void set_allocated_normal(::ignition::msgs::Vector3d *normal)
void unsafe_arena_set_allocated_normal(::ignition::msgs::Vector3d *normal)
PlaneGeom(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_allocated_header(::ignition::msgs::Header *header)
PlaneGeom()
Definition: planegeom.pb.h:88
PlaneGeom & operator=(PlaneGeom &&from) noexcept
Definition: planegeom.pb.h:101
void MergeFrom(const PlaneGeom &from)
::ignition::msgs::Vector3d * mutable_normal()
friend void swap(PlaneGeom &a, PlaneGeom &b)
Definition: planegeom.pb.h:128
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_size(::ignition::msgs::Vector2d *size)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: planegeom.pb.h:113
PlaneGeom * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: planegeom.pb.h:151
::ignition::msgs::Vector2d * mutable_size()
PlaneGeom(PlaneGeom &&from) noexcept
Definition: planegeom.pb.h:92
PlaneGeom(const PlaneGeom &from)
::ignition::msgs::Vector2d * unsafe_arena_release_size()
const ::ignition::msgs::Header & header() const
void Swap(PlaneGeom *other)
Definition: planegeom.pb.h:131
IGNITION_MSGS_VISIBLE PlaneGeomDefaultTypeInternal _PlaneGeom_default_instance_
std::unique_ptr< const PlaneGeom > ConstPlaneGeomUniquePtr
Definition: planegeom.pb.h:546
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::unique_ptr< PlaneGeom > PlaneGeomUniquePtr
Definition: planegeom.pb.h:545
std::shared_ptr< PlaneGeom > PlaneGeomSharedPtr
Definition: planegeom.pb.h:547
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE Vector2dDefaultTypeInternal _Vector2d_default_instance_
std::shared_ptr< const PlaneGeom > ConstPlaneGeomSharedPtr
Definition: planegeom.pb.h:548
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fplanegeom_2eproto
Definition: planegeom.pb.h:58
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)