4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fplanegeom_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fplanegeom_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fplanegeom_2eproto IGNITION_MSGS_VISIBLE
53 static const ::google::protobuf::internal::ParseTableField entries[];
54 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55 static const ::google::protobuf::internal::ParseTable schema[1];
56 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57 static const ::google::protobuf::internal::SerializationTable serialization_table[];
58 static const ::google::protobuf::uint32 offsets[];
65 class PlaneGeomDefaultTypeInternal;
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PlaneGeom* Arena::CreateMaybeMessage<::ignition::msgs::PlaneGeom>(Arena*);
79 class IGNITION_MSGS_VISIBLE
PlaneGeom :
public ::google::protobuf::Message {
93 *
this = ::std::move(from);
96 inline PlaneGeom& operator=(PlaneGeom&& from) noexcept {
97 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
98 if (
this != &from) InternalSwap(&from);
105 static const ::google::protobuf::Descriptor* descriptor();
106 static const PlaneGeom& default_instance();
108 static void InitAsDefaultInstance();
110 return reinterpret_cast<const PlaneGeom*
>(
113 static constexpr
int kIndexInFileMessages =
124 return CreateMaybeMessage<PlaneGeom>(NULL);
128 return CreateMaybeMessage<PlaneGeom>(arena);
130 void CopyFrom(const ::google::protobuf::Message& from)
final;
131 void MergeFrom(const ::google::protobuf::Message& from)
final;
135 bool IsInitialized() const final;
137 size_t ByteSizeLong() const final;
138 bool MergePartialFromCodedStream(
139 ::
google::protobuf::io::CodedInputStream* input) final;
140 void SerializeWithCachedSizes(
141 ::
google::protobuf::io::CodedOutputStream* output) const final;
142 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
143 bool deterministic, ::
google::protobuf::uint8* target) const final;
144 int GetCachedSize() const final {
return _cached_size_.Get(); }
149 void SetCachedSize(
int size)
const final;
152 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
155 inline void* MaybeArenaPtr()
const {
160 ::google::protobuf::Metadata GetMetadata() const final;
167 bool has_header() const;
169 static const
int kHeaderFieldNumber = 1;
179 bool has_normal() const;
181 static const
int kNormalFieldNumber = 2;
191 bool has_size() const;
193 static const
int kSizeFieldNumber = 3;
204 static const
int kDFieldNumber = 4;
206 void set_d(
double value);
211 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
216 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
225 #pragma GCC diagnostic push
226 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
232 return this != internal_default_instance() && header_ != NULL;
234 inline const ::ignition::msgs::Header& PlaneGeom::_internal_header()
const {
238 const ::ignition::msgs::Header* p = header_;
252 if (header_ == NULL) {
253 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
260 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
261 if (message_arena == NULL) {
262 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
265 ::google::protobuf::Arena* submessage_arena = NULL;
266 if (message_arena != submessage_arena) {
267 header = ::google::protobuf::internal::GetOwnedMessage(
268 message_arena, header, submessage_arena);
280 return this != internal_default_instance() && normal_ != NULL;
282 inline const ::ignition::msgs::Vector3d& PlaneGeom::_internal_normal()
const {
286 const ::ignition::msgs::Vector3d* p = normal_;
300 if (normal_ == NULL) {
301 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
308 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
309 if (message_arena == NULL) {
310 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(normal_);
313 ::google::protobuf::Arena* submessage_arena = NULL;
314 if (message_arena != submessage_arena) {
315 normal = ::google::protobuf::internal::GetOwnedMessage(
316 message_arena, normal, submessage_arena);
328 return this != internal_default_instance() && size_ != NULL;
330 inline const ::ignition::msgs::Vector2d& PlaneGeom::_internal_size()
const {
334 const ::ignition::msgs::Vector2d* p = size_;
349 auto* p = CreateMaybeMessage<::ignition::msgs::Vector2d>(GetArenaNoVirtual());
356 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
357 if (message_arena == NULL) {
358 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(size_);
361 ::google::protobuf::Arena* submessage_arena = NULL;
362 if (message_arena != submessage_arena) {
363 size = ::google::protobuf::internal::GetOwnedMessage(
364 message_arena, size, submessage_arena);
389 #pragma GCC diagnostic pop
406 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fplanegeom_2eproto