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 < 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>
39 #pragma GCC system_header
42 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
45 #include <sys/sysmacros.h>
50 #include <google/protobuf/port_def.inc>
51 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fplanegeom_2eproto IGNITION_MSGS_VISIBLE
52 PROTOBUF_NAMESPACE_OPEN
56 PROTOBUF_NAMESPACE_CLOSE
60 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
66 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
67 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
68 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
74 class PlaneGeomDefaultTypeInternal;
78 PROTOBUF_NAMESPACE_OPEN
79 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PlaneGeom* Arena::CreateMaybeMessage<::ignition::msgs::PlaneGeom>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
86 class IGNITION_MSGS_VISIBLE PlaneGeom PROTOBUF_FINAL :
87 public ::PROTOBUF_NAMESPACE_ID::Message {
95 *
this = ::std::move(from);
98 inline PlaneGeom&
operator=(
const PlaneGeom& from) {
102 inline PlaneGeom&
operator=(PlaneGeom&& from) noexcept {
103 if (GetArena() == from.GetArena()) {
104 if (
this != &from) InternalSwap(&from);
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
112 return GetDescriptor();
115 return GetMetadataStatic().descriptor;
118 return GetMetadataStatic().reflection;
124 return reinterpret_cast<const PlaneGeom*
>(
127 static constexpr
int kIndexInFileMessages =
130 friend void swap(PlaneGeom& a, PlaneGeom& b) {
133 inline void Swap(PlaneGeom* other) {
134 if (other ==
this)
return;
135 if (GetArena() == other->GetArena()) {
138 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
142 if (other ==
this)
return;
143 GOOGLE_DCHECK(GetArena() == other->GetArena());
149 inline PlaneGeom*
New() const final {
150 return CreateMaybeMessage<PlaneGeom>(
nullptr);
153 PlaneGeom*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
154 return CreateMaybeMessage<PlaneGeom>(arena);
156 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
157 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
160 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
161 bool IsInitialized() const final;
163 size_t ByteSizeLong() const final;
164 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
165 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
166 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
167 int GetCachedSize() const final {
return _cached_size_.Get(); }
170 inline void SharedCtor();
171 inline void SharedDtor();
172 void SetCachedSize(
int size)
const final;
173 void InternalSwap(PlaneGeom* other);
174 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176 return "ignition.msgs.PlaneGeom";
179 explicit PlaneGeom(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181 static void ArenaDtor(
void*
object);
182 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
187 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
199 kHeaderFieldNumber = 1,
200 kNormalFieldNumber = 2,
201 kSizeFieldNumber = 3,
207 bool _internal_has_header()
const;
210 const ::ignition::msgs::Header&
header()
const;
215 const ::ignition::msgs::Header& _internal_header()
const;
216 ::ignition::msgs::Header* _internal_mutable_header();
219 ::ignition::msgs::Header* header);
225 bool _internal_has_normal()
const;
228 const ::ignition::msgs::Vector3d&
normal()
const;
233 const ::ignition::msgs::Vector3d& _internal_normal()
const;
234 ::ignition::msgs::Vector3d* _internal_mutable_normal();
237 ::ignition::msgs::Vector3d* normal);
243 bool _internal_has_size()
const;
246 const ::ignition::msgs::Vector2d&
size()
const;
251 const ::ignition::msgs::Vector2d& _internal_size()
const;
252 ::ignition::msgs::Vector2d* _internal_mutable_size();
255 ::ignition::msgs::Vector2d* size);
263 double _internal_d()
const;
264 void _internal_set_d(
double value);
271 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
272 typedef void InternalArenaConstructable_;
273 typedef void DestructorSkippable_;
274 ::ignition::msgs::Header* header_;
275 ::ignition::msgs::Vector3d* normal_;
276 ::ignition::msgs::Vector2d* size_;
278 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
279 friend struct ::TableStruct_ignition_2fmsgs_2fplanegeom_2eproto;
287 #pragma GCC diagnostic push
288 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
293 inline bool PlaneGeom::_internal_has_header()
const {
294 return this != internal_default_instance() && header_ !=
nullptr;
296 inline bool PlaneGeom::has_header()
const {
297 return _internal_has_header();
299 inline const ::ignition::msgs::Header& PlaneGeom::_internal_header()
const {
300 const ::ignition::msgs::Header* p = header_;
301 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
304 inline const ::ignition::msgs::Header& PlaneGeom::header()
const {
306 return _internal_header();
308 inline void PlaneGeom::unsafe_arena_set_allocated_header(
309 ::ignition::msgs::Header* header) {
310 if (GetArena() ==
nullptr) {
311 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
321 inline ::ignition::msgs::Header* PlaneGeom::release_header() {
322 auto temp = unsafe_arena_release_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() {
397 auto temp = unsafe_arena_release_normal();
398 if (GetArena() !=
nullptr) {
399 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
403 inline ::ignition::msgs::Vector3d* PlaneGeom::unsafe_arena_release_normal() {
406 ::ignition::msgs::Vector3d* temp = normal_;
410 inline ::ignition::msgs::Vector3d* PlaneGeom::_internal_mutable_normal() {
412 if (normal_ ==
nullptr) {
413 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
418 inline ::ignition::msgs::Vector3d* PlaneGeom::mutable_normal() {
420 return _internal_mutable_normal();
422 inline void PlaneGeom::set_allocated_normal(::ignition::msgs::Vector3d* normal) {
423 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
424 if (message_arena ==
nullptr) {
425 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(normal_);
428 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
429 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(normal)->GetArena();
430 if (message_arena != submessage_arena) {
431 normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
432 message_arena, normal, submessage_arena);
443 inline bool PlaneGeom::_internal_has_size()
const {
444 return this != internal_default_instance() && size_ !=
nullptr;
446 inline bool PlaneGeom::has_size()
const {
447 return _internal_has_size();
449 inline const ::ignition::msgs::Vector2d& PlaneGeom::_internal_size()
const {
450 const ::ignition::msgs::Vector2d* p = size_;
451 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Vector2d*
>(
454 inline const ::ignition::msgs::Vector2d& PlaneGeom::size()
const {
456 return _internal_size();
458 inline void PlaneGeom::unsafe_arena_set_allocated_size(
459 ::ignition::msgs::Vector2d* size) {
460 if (GetArena() ==
nullptr) {
461 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(size_);
471 inline ::ignition::msgs::Vector2d* PlaneGeom::release_size() {
472 auto temp = unsafe_arena_release_size();
473 if (GetArena() !=
nullptr) {
474 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
478 inline ::ignition::msgs::Vector2d* PlaneGeom::unsafe_arena_release_size() {
481 ::ignition::msgs::Vector2d* temp = size_;
485 inline ::ignition::msgs::Vector2d* PlaneGeom::_internal_mutable_size() {
487 if (size_ ==
nullptr) {
488 auto* p = CreateMaybeMessage<::ignition::msgs::Vector2d>(GetArena());
493 inline ::ignition::msgs::Vector2d* PlaneGeom::mutable_size() {
495 return _internal_mutable_size();
497 inline void PlaneGeom::set_allocated_size(::ignition::msgs::Vector2d* size) {
498 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
499 if (message_arena ==
nullptr) {
500 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(size_);
503 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
504 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(size)->GetArena();
505 if (message_arena != submessage_arena) {
506 size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
507 message_arena, size, submessage_arena);
518 inline void PlaneGeom::clear_d() {
521 inline double PlaneGeom::_internal_d()
const {
524 inline double PlaneGeom::d()
const {
526 return _internal_d();
528 inline void PlaneGeom::_internal_set_d(
double value) {
532 inline void PlaneGeom::set_d(
double value) {
533 _internal_set_d(value);
538 #pragma GCC diagnostic pop
555 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fplanegeom_2eproto
static void InitAsDefaultInstance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:117
PlaneGeom * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:149
void UnsafeArenaSwap(PlaneGeom *other)
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:141
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: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:111
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: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:98
::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: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:123
::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: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:89
PlaneGeom & operator=(PlaneGeom &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:102
void MergeFrom(const PlaneGeom &from)
::ignition::msgs::Vector3d * mutable_normal()
friend void swap(PlaneGeom &a, PlaneGeom &b)
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:130
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_size(::ignition::msgs::Vector2d *size)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:114
PlaneGeom * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:153
::ignition::msgs::Vector2d * mutable_size()
PlaneGeom(PlaneGeom &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:93
PlaneGeom(const PlaneGeom &from)
::ignition::msgs::Vector2d * unsafe_arena_release_size()
const ::ignition::msgs::Header & header() const
void Swap(PlaneGeom *other)
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:133
IGNITION_MSGS_VISIBLE PlaneGeomDefaultTypeInternal _PlaneGeom_default_instance_
std::unique_ptr< const PlaneGeom > ConstPlaneGeomUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:542
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::unique_ptr< PlaneGeom > PlaneGeomUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:541
std::shared_ptr< PlaneGeom > PlaneGeomSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:543
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE Vector2dDefaultTypeInternal _Vector2d_default_instance_
std::shared_ptr< const PlaneGeom > ConstPlaneGeomSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:544
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/planegeom.pb.h:59
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)