4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpropagation_5fparticle_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpropagation_5fparticle_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>
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_2fpropagation_5fparticle_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::AuxillaryParseTableField 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[];
71 class PropagationParticle;
72 class PropagationParticleDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PropagationParticle* Arena::CreateMaybeMessage<::ignition::msgs::PropagationParticle>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE PropagationParticle PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
92 : PropagationParticle() {
93 *
this = ::std::move(from);
96 inline PropagationParticle&
operator=(
const PropagationParticle& from) {
100 inline PropagationParticle&
operator=(PropagationParticle&& from) noexcept {
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;
122 return reinterpret_cast<const PropagationParticle*
>(
125 static constexpr
int kIndexInFileMessages =
128 friend void swap(PropagationParticle& a, PropagationParticle& b) {
131 inline void Swap(PropagationParticle* 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 PropagationParticle*
New() const final {
148 return CreateMaybeMessage<PropagationParticle>(
nullptr);
151 PropagationParticle*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
152 return CreateMaybeMessage<PropagationParticle>(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(PropagationParticle* other);
172 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174 return "ignition.msgs.PropagationParticle";
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,
200 kSignalLevelFieldNumber = 4,
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);
225 double _internal_x()
const;
226 void _internal_set_x(
double value);
234 double _internal_y()
const;
235 void _internal_set_y(
double value);
243 double _internal_signal_level()
const;
244 void _internal_set_signal_level(
double value);
251 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
252 typedef void InternalArenaConstructable_;
253 typedef void DestructorSkippable_;
254 ::ignition::msgs::Header* header_;
257 double signal_level_;
258 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
259 friend struct ::TableStruct_ignition_2fmsgs_2fpropagation_5fparticle_2eproto;
267 #pragma GCC diagnostic push
268 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
273 inline bool PropagationParticle::_internal_has_header()
const {
274 return this != internal_default_instance() && header_ !=
nullptr;
276 inline bool PropagationParticle::has_header()
const {
277 return _internal_has_header();
279 inline const ::ignition::msgs::Header& PropagationParticle::_internal_header()
const {
280 const ::ignition::msgs::Header* p = header_;
281 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
284 inline const ::ignition::msgs::Header& PropagationParticle::header()
const {
286 return _internal_header();
288 inline void PropagationParticle::unsafe_arena_set_allocated_header(
289 ::ignition::msgs::Header* header) {
290 if (GetArena() ==
nullptr) {
291 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
301 inline ::ignition::msgs::Header* PropagationParticle::release_header() {
302 auto temp = unsafe_arena_release_header();
303 if (GetArena() !=
nullptr) {
304 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
308 inline ::ignition::msgs::Header* PropagationParticle::unsafe_arena_release_header() {
311 ::ignition::msgs::Header* temp = header_;
315 inline ::ignition::msgs::Header* PropagationParticle::_internal_mutable_header() {
317 if (header_ ==
nullptr) {
318 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
323 inline ::ignition::msgs::Header* PropagationParticle::mutable_header() {
325 return _internal_mutable_header();
327 inline void PropagationParticle::set_allocated_header(::ignition::msgs::Header* header) {
328 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
329 if (message_arena ==
nullptr) {
330 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
333 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
334 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
335 if (message_arena != submessage_arena) {
336 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
337 message_arena, header, submessage_arena);
348 inline void PropagationParticle::clear_x() {
351 inline double PropagationParticle::_internal_x()
const {
354 inline double PropagationParticle::x()
const {
356 return _internal_x();
358 inline void PropagationParticle::_internal_set_x(
double value) {
362 inline void PropagationParticle::set_x(
double value) {
363 _internal_set_x(value);
368 inline void PropagationParticle::clear_y() {
371 inline double PropagationParticle::_internal_y()
const {
374 inline double PropagationParticle::y()
const {
376 return _internal_y();
378 inline void PropagationParticle::_internal_set_y(
double value) {
382 inline void PropagationParticle::set_y(
double value) {
383 _internal_set_y(value);
388 inline void PropagationParticle::clear_signal_level() {
391 inline double PropagationParticle::_internal_signal_level()
const {
392 return signal_level_;
394 inline double PropagationParticle::signal_level()
const {
396 return _internal_signal_level();
398 inline void PropagationParticle::_internal_set_signal_level(
double value) {
400 signal_level_ = value;
402 inline void PropagationParticle::set_signal_level(
double value) {
403 _internal_set_signal_level(value);
408 #pragma GCC diagnostic pop
425 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpropagation_5fparticle_2eproto
static void InitAsDefaultInstance()
void CopyFrom(const PropagationParticle &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:115
PropagationParticle(PropagationParticle &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:91
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const PropagationParticle &from)
::ignition::msgs::Header * release_header()
::ignition::msgs::Header * mutable_header()
PropagationParticle()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:87
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:109
void set_signal_level(double value)
static const PropagationParticle & default_instance()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
PropagationParticle(::PROTOBUF_NAMESPACE_ID::Arena *arena)
PropagationParticle & operator=(PropagationParticle &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:100
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
static const PropagationParticle * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:121
virtual ~PropagationParticle()
PropagationParticle * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:151
PropagationParticle * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:147
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_allocated_header(::ignition::msgs::Header *header)
void UnsafeArenaSwap(PropagationParticle *other)
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:139
double signal_level() const
friend void swap(PropagationParticle &a, PropagationParticle &b)
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:128
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:112
void clear_signal_level()
PropagationParticle & operator=(const PropagationParticle &from)
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:96
PropagationParticle(const PropagationParticle &from)
const ::ignition::msgs::Header & header() const
void Swap(PropagationParticle *other)
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:131
std::unique_ptr< PropagationParticle > PropagationParticleUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:411
std::shared_ptr< PropagationParticle > PropagationParticleSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:413
IGNITION_MSGS_VISIBLE PropagationParticleDefaultTypeInternal _PropagationParticle_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const PropagationParticle > ConstPropagationParticleSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:414
std::unique_ptr< const PropagationParticle > ConstPropagationParticleUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:412
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:57
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)