4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcylindergeom_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcylindergeom_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>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fcylindergeom_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 static const uint32_t offsets[];
71 struct CylinderGeomDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::CylinderGeom* Arena::CreateMaybeMessage<::ignition::msgs::CylinderGeom>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 public ::PROTOBUF_NAMESPACE_ID::Message {
88 explicit constexpr
CylinderGeom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
93 *
this = ::std::move(from);
101 if (
this == &from)
return *
this;
102 if (GetOwningArena() == from.GetOwningArena()
103 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104 && GetOwningArena() !=
nullptr
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
115 return GetDescriptor();
118 return default_instance().GetMetadata().descriptor;
121 return default_instance().GetMetadata().reflection;
124 return *internal_default_instance();
130 static constexpr
int kIndexInFileMessages =
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 return CreateMaybeMessage<CylinderGeom>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 bool IsInitialized() const final;
170 size_t ByteSizeLong() const final;
171 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
172 uint8_t* _InternalSerialize(
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.CylinderGeom";
189 bool is_message_owned =
false);
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205 kHeaderFieldNumber = 1,
206 kRadiusFieldNumber = 2,
207 kLengthFieldNumber = 3,
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(
229 double radius()
const;
230 void set_radius(
double value);
232 double _internal_radius()
const;
233 void _internal_set_radius(
double value);
238 double length()
const;
239 void set_length(
double value);
241 double _internal_length()
const;
242 void _internal_set_length(
double value);
249 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
250 typedef void InternalArenaConstructable_;
251 typedef void DestructorSkippable_;
255 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
256 friend struct ::TableStruct_ignition_2fmsgs_2fcylindergeom_2eproto;
264 #pragma GCC diagnostic push
265 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
270 inline bool CylinderGeom::_internal_has_header()
const {
271 return this != internal_default_instance() && header_ !=
nullptr;
274 return _internal_has_header();
276 inline const ::ignition::msgs::Header& CylinderGeom::_internal_header()
const {
277 const ::ignition::msgs::Header* p = header_;
283 return _internal_header();
287 if (GetArenaForAllocation() ==
nullptr) {
288 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
302 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
303 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
304 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
305 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
307 if (GetArenaForAllocation() !=
nullptr) {
308 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
320 inline ::ignition::msgs::Header* CylinderGeom::_internal_mutable_header() {
322 if (header_ ==
nullptr) {
323 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
334 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
335 if (message_arena ==
nullptr) {
336 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
339 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
340 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
341 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
342 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
343 if (message_arena != submessage_arena) {
344 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
345 message_arena, header, submessage_arena);
359 inline double CylinderGeom::_internal_radius()
const {
364 return _internal_radius();
366 inline void CylinderGeom::_internal_set_radius(
double value) {
371 _internal_set_radius(value);
379 inline double CylinderGeom::_internal_length()
const {
384 return _internal_length();
386 inline void CylinderGeom::_internal_set_length(
double value) {
391 _internal_set_length(value);
396 #pragma GCC diagnostic pop
413 #include <google/protobuf/port_undef.inc>
Definition: cylindergeom.pb.h:84
void MergeFrom(const CylinderGeom &from)
void Swap(CylinderGeom *other)
Definition: cylindergeom.pb.h:136
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: cylindergeom.pb.h:120
bool has_header() const
Definition: cylindergeom.pb.h:273
::ignition::msgs::Header * mutable_header()
Definition: cylindergeom.pb.h:328
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_length(double value)
Definition: cylindergeom.pb.h:390
void clear_length()
Definition: cylindergeom.pb.h:376
CylinderGeom(CylinderGeom &&from) noexcept
Definition: cylindergeom.pb.h:91
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: cylindergeom.pb.h:114
void clear_radius()
Definition: cylindergeom.pb.h:356
CylinderGeom & operator=(CylinderGeom &&from) noexcept
Definition: cylindergeom.pb.h:100
CylinderGeom(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
double radius() const
Definition: cylindergeom.pb.h:362
void CopyFrom(const CylinderGeom &from)
constexpr CylinderGeom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(CylinderGeom *other)
Definition: cylindergeom.pb.h:149
CylinderGeom * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: cylindergeom.pb.h:157
static const CylinderGeom * internal_default_instance()
Definition: cylindergeom.pb.h:126
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: cylindergeom.pb.h:285
CylinderGeom & operator=(const CylinderGeom &from)
Definition: cylindergeom.pb.h:96
double length() const
Definition: cylindergeom.pb.h:382
void set_radius(double value)
Definition: cylindergeom.pb.h:370
CylinderGeom()
Definition: cylindergeom.pb.h:86
void set_allocated_header(::ignition::msgs::Header *header)
Definition: cylindergeom.pb.h:333
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: cylindergeom.pb.h:298
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: cylindergeom.pb.h:117
CylinderGeom(const CylinderGeom &from)
const ::ignition::msgs::Header & header() const
Definition: cylindergeom.pb.h:281
static const ClassData _class_data_
Definition: cylindergeom.pb.h:195
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: cylindergeom.pb.h:313
friend void swap(CylinderGeom &a, CylinderGeom &b)
Definition: cylindergeom.pb.h:133
static const CylinderGeom & default_instance()
Definition: cylindergeom.pb.h:123
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fcylindergeom_2eproto
std::shared_ptr< const CylinderGeom > ConstCylinderGeomSharedPtr
Definition: cylindergeom.pb.h:402
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< CylinderGeom > CylinderGeomUniquePtr
Definition: cylindergeom.pb.h:399
IGNITION_MSGS_VISIBLE CylinderGeomDefaultTypeInternal _CylinderGeom_default_instance_
std::shared_ptr< CylinderGeom > CylinderGeomSharedPtr
Definition: cylindergeom.pb.h:401
std::unique_ptr< const CylinderGeom > ConstCylinderGeomUniquePtr
Definition: cylindergeom.pb.h:400
Definition: actor.pb.h:52
Definition: cylindergeom.pb.h:56
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)