4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fwireless_5fnode_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fwireless_5fnode_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>
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_2fwireless_5fnode_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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
71 class WirelessNodeDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WirelessNode* Arena::CreateMaybeMessage<::ignition::msgs::WirelessNode>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE WirelessNode PROTOBUF_FINAL :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
92 *
this = ::std::move(from);
95 inline WirelessNode&
operator=(
const WirelessNode& from) {
99 inline WirelessNode&
operator=(WirelessNode&& from) noexcept {
100 if (GetArena() == from.GetArena()) {
101 if (
this != &from) InternalSwap(&from);
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
109 return GetDescriptor();
112 return GetMetadataStatic().descriptor;
115 return GetMetadataStatic().reflection;
120 return reinterpret_cast<const WirelessNode*
>(
123 static constexpr
int kIndexInFileMessages =
126 friend void swap(WirelessNode& a, WirelessNode& b) {
129 inline void Swap(WirelessNode* other) {
130 if (other ==
this)
return;
131 if (GetArena() == other->GetArena()) {
134 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
138 if (other ==
this)
return;
139 GOOGLE_DCHECK(GetArena() == other->GetArena());
145 inline WirelessNode*
New() const final {
146 return CreateMaybeMessage<WirelessNode>(
nullptr);
149 WirelessNode*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
150 return CreateMaybeMessage<WirelessNode>(arena);
152 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
153 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
156 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
157 bool IsInitialized() const final;
159 size_t ByteSizeLong() const final;
160 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
161 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
162 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
163 int GetCachedSize() const final {
return _cached_size_.Get(); }
166 inline void SharedCtor();
167 inline void SharedDtor();
168 void SetCachedSize(
int size)
const final;
169 void InternalSwap(WirelessNode* other);
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "ignition.msgs.WirelessNode";
177 static void ArenaDtor(
void*
object);
178 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 kEssidFieldNumber = 2,
196 kHeaderFieldNumber = 1,
197 kFrequencyFieldNumber = 3,
198 kSignalLevelFieldNumber = 4,
212 void _internal_set_essid(
const std::string& value);
219 bool _internal_has_header()
const;
222 const ::ignition::msgs::Header&
header()
const;
227 const ::ignition::msgs::Header& _internal_header()
const;
228 ::ignition::msgs::Header* _internal_mutable_header();
231 ::ignition::msgs::Header* header);
239 double _internal_frequency()
const;
240 void _internal_set_frequency(
double value);
248 double _internal_signal_level()
const;
249 void _internal_set_signal_level(
double value);
256 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
257 typedef void InternalArenaConstructable_;
258 typedef void DestructorSkippable_;
259 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr essid_;
260 ::ignition::msgs::Header* header_;
262 double signal_level_;
263 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
264 friend struct ::TableStruct_ignition_2fmsgs_2fwireless_5fnode_2eproto;
272 #pragma GCC diagnostic push
273 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
278 inline bool WirelessNode::_internal_has_header()
const {
279 return this != internal_default_instance() && header_ !=
nullptr;
281 inline bool WirelessNode::has_header()
const {
282 return _internal_has_header();
284 inline const ::ignition::msgs::Header& WirelessNode::_internal_header()
const {
285 const ::ignition::msgs::Header* p = header_;
286 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
289 inline const ::ignition::msgs::Header& WirelessNode::header()
const {
291 return _internal_header();
293 inline void WirelessNode::unsafe_arena_set_allocated_header(
294 ::ignition::msgs::Header* header) {
295 if (GetArena() ==
nullptr) {
296 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
306 inline ::ignition::msgs::Header* WirelessNode::release_header() {
308 ::ignition::msgs::Header* temp = header_;
310 if (GetArena() !=
nullptr) {
311 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
315 inline ::ignition::msgs::Header* WirelessNode::unsafe_arena_release_header() {
318 ::ignition::msgs::Header* temp = header_;
322 inline ::ignition::msgs::Header* WirelessNode::_internal_mutable_header() {
324 if (header_ ==
nullptr) {
325 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
330 inline ::ignition::msgs::Header* WirelessNode::mutable_header() {
332 return _internal_mutable_header();
334 inline void WirelessNode::set_allocated_header(::ignition::msgs::Header* header) {
335 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
336 if (message_arena ==
nullptr) {
337 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
340 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
341 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
342 if (message_arena != submessage_arena) {
343 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
344 message_arena, header, submessage_arena);
355 inline void WirelessNode::clear_essid() {
356 essid_.ClearToEmpty();
358 inline const std::string& WirelessNode::essid()
const {
360 return _internal_essid();
362 inline void WirelessNode::set_essid(
const std::string& value) {
363 _internal_set_essid(value);
366 inline std::string* WirelessNode::mutable_essid() {
368 return _internal_mutable_essid();
370 inline const std::string& WirelessNode::_internal_essid()
const {
373 inline void WirelessNode::_internal_set_essid(
const std::string& value) {
375 essid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
377 inline void WirelessNode::set_essid(
std::string&& value) {
380 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
383 inline void WirelessNode::set_essid(
const char* value) {
384 GOOGLE_DCHECK(value !=
nullptr);
386 essid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
389 inline void WirelessNode::set_essid(
const char* value,
392 essid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
393 reinterpret_cast<const char*
>(value), size), GetArena());
396 inline std::string* WirelessNode::_internal_mutable_essid() {
398 return essid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
400 inline std::string* WirelessNode::release_essid() {
402 return essid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
404 inline void WirelessNode::set_allocated_essid(
std::string* essid) {
405 if (essid !=
nullptr) {
410 essid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), essid,
416 inline void WirelessNode::clear_frequency() {
419 inline double WirelessNode::_internal_frequency()
const {
422 inline double WirelessNode::frequency()
const {
424 return _internal_frequency();
426 inline void WirelessNode::_internal_set_frequency(
double value) {
430 inline void WirelessNode::set_frequency(
double value) {
431 _internal_set_frequency(value);
436 inline void WirelessNode::clear_signal_level() {
439 inline double WirelessNode::_internal_signal_level()
const {
440 return signal_level_;
442 inline double WirelessNode::signal_level()
const {
444 return _internal_signal_level();
446 inline void WirelessNode::_internal_set_signal_level(
double value) {
448 signal_level_ = value;
450 inline void WirelessNode::set_signal_level(
double value) {
451 _internal_set_signal_level(value);
456 #pragma GCC diagnostic pop
473 #include <google/protobuf/port_undef.inc>
WirelessNode * New() const final
Definition: wireless_node.pb.h:145
static const WirelessNode & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: wireless_node.pb.h:114
static const WirelessNode * internal_default_instance()
Definition: wireless_node.pb.h:119
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
std::string * release_essid()
void set_essid(const char *value)
::ignition::msgs::Header * mutable_header()
void set_essid(std::string &&value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: wireless_node.pb.h:108
void set_signal_level(double value)
const std::string & essid() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void Swap(WirelessNode *other)
Definition: wireless_node.pb.h:129
WirelessNode * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: wireless_node.pb.h:149
WirelessNode & operator=(const WirelessNode &from)
Definition: wireless_node.pb.h:95
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_essid(const std::string &value)
::ignition::msgs::Header * unsafe_arena_release_header()
WirelessNode(WirelessNode &&from) noexcept
Definition: wireless_node.pb.h:90
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
WirelessNode & operator=(WirelessNode &&from) noexcept
Definition: wireless_node.pb.h:99
void UnsafeArenaSwap(WirelessNode *other)
Definition: wireless_node.pb.h:137
void set_frequency(double value)
void set_allocated_header(::ignition::msgs::Header *header)
void set_essid(const char *value, size_t size)
WirelessNode(const WirelessNode &from)
double signal_level() const
void CopyFrom(const WirelessNode &from)
void set_allocated_essid(std::string *essid)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void MergeFrom(const WirelessNode &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: wireless_node.pb.h:111
friend void swap(WirelessNode &a, WirelessNode &b)
Definition: wireless_node.pb.h:126
void clear_signal_level()
std::string * mutable_essid()
WirelessNode()
Definition: wireless_node.pb.h:86
const ::ignition::msgs::Header & header() const
WirelessNode(::PROTOBUF_NAMESPACE_ID::Arena *arena)
IGNITION_MSGS_VISIBLE WirelessNodeDefaultTypeInternal _WirelessNode_default_instance_
std::unique_ptr< const WirelessNode > ConstWirelessNodeUniquePtr
Definition: wireless_node.pb.h:460
std::unique_ptr< WirelessNode > WirelessNodeUniquePtr
Definition: wireless_node.pb.h:459
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< WirelessNode > WirelessNodeSharedPtr
Definition: wireless_node.pb.h:461
std::shared_ptr< const WirelessNode > ConstWirelessNodeSharedPtr
Definition: wireless_node.pb.h:462
Definition: actor.pb.h:52
Definition: wireless_node.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)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fwireless_5fnode_2eproto