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 < 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_2fwireless_5fnode_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[];
72 class WirelessNodeDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WirelessNode* Arena::CreateMaybeMessage<::ignition::msgs::WirelessNode>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE WirelessNode PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
93 *
this = ::std::move(from);
96 inline WirelessNode&
operator=(
const WirelessNode& from) {
100 inline WirelessNode&
operator=(WirelessNode&& 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 WirelessNode*
>(
125 static constexpr
int kIndexInFileMessages =
128 friend void swap(WirelessNode& a, WirelessNode& b) {
131 inline void Swap(WirelessNode* 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 WirelessNode*
New() const final {
148 return CreateMaybeMessage<WirelessNode>(
nullptr);
151 WirelessNode*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
152 return CreateMaybeMessage<WirelessNode>(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(WirelessNode* other);
172 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174 return "ignition.msgs.WirelessNode";
179 static void ArenaDtor(
void*
object);
180 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
197 kEssidFieldNumber = 2,
198 kHeaderFieldNumber = 1,
199 kFrequencyFieldNumber = 3,
200 kSignalLevelFieldNumber = 4,
212 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
213 " string fields are deprecated and will be removed in a"
215 std::
string* unsafe_arena_release_essid();
216 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
217 "
string fields are deprecated and will be removed in a"
219 void unsafe_arena_set_allocated_essid(
222 const
std::
string& _internal_essid() const;
223 void _internal_set_essid(const
std::
string& value);
224 std::
string* _internal_mutable_essid();
228 bool has_header() const;
230 bool _internal_has_header() const;
236 void set_allocated_header(::
ignition::msgs::Header* header);
238 const ::
ignition::msgs::Header& _internal_header() const;
239 ::
ignition::msgs::Header* _internal_mutable_header();
241 void unsafe_arena_set_allocated_header(
243 ::
ignition::msgs::Header* unsafe_arena_release_header();
246 void clear_frequency();
247 double frequency() const;
248 void set_frequency(
double value);
250 double _internal_frequency() const;
251 void _internal_set_frequency(
double value);
255 void clear_signal_level();
256 double signal_level() const;
257 void set_signal_level(
double value);
259 double _internal_signal_level() const;
260 void _internal_set_signal_level(
double value);
267 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
268 typedef
void InternalArenaConstructable_;
269 typedef
void DestructorSkippable_;
270 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr essid_;
273 double signal_level_;
274 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
283 #pragma GCC diagnostic push
284 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
289 inline bool WirelessNode::_internal_has_header()
const {
290 return this != internal_default_instance() && header_ !=
nullptr;
292 inline bool WirelessNode::has_header()
const {
293 return _internal_has_header();
295 inline const ::ignition::msgs::Header& WirelessNode::_internal_header()
const {
296 const ::ignition::msgs::Header* p = header_;
297 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
300 inline const ::ignition::msgs::Header& WirelessNode::header()
const {
302 return _internal_header();
304 inline void WirelessNode::unsafe_arena_set_allocated_header(
305 ::ignition::msgs::Header* header) {
306 if (GetArena() ==
nullptr) {
307 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
317 inline ::ignition::msgs::Header* WirelessNode::release_header() {
318 auto temp = unsafe_arena_release_header();
319 if (GetArena() !=
nullptr) {
320 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
324 inline ::ignition::msgs::Header* WirelessNode::unsafe_arena_release_header() {
327 ::ignition::msgs::Header* temp = header_;
331 inline ::ignition::msgs::Header* WirelessNode::_internal_mutable_header() {
333 if (header_ ==
nullptr) {
334 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
339 inline ::ignition::msgs::Header* WirelessNode::mutable_header() {
341 return _internal_mutable_header();
343 inline void WirelessNode::set_allocated_header(::ignition::msgs::Header* header) {
344 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
345 if (message_arena ==
nullptr) {
346 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
349 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
350 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
351 if (message_arena != submessage_arena) {
352 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
353 message_arena, header, submessage_arena);
364 inline void WirelessNode::clear_essid() {
365 essid_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
367 inline const std::string& WirelessNode::essid()
const {
369 return _internal_essid();
371 inline void WirelessNode::set_essid(
const std::string& value) {
372 _internal_set_essid(value);
375 inline std::string* WirelessNode::mutable_essid() {
377 return _internal_mutable_essid();
379 inline const std::string& WirelessNode::_internal_essid()
const {
382 inline void WirelessNode::_internal_set_essid(
const std::string& value) {
384 essid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
386 inline void WirelessNode::set_essid(
std::string&& value) {
389 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
392 inline void WirelessNode::set_essid(
const char* value) {
393 GOOGLE_DCHECK(value !=
nullptr);
395 essid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
399 inline void WirelessNode::set_essid(
const char* value,
402 essid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
403 reinterpret_cast<const char*
>(value), size), GetArena());
406 inline std::string* WirelessNode::_internal_mutable_essid() {
408 return essid_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
410 inline std::string* WirelessNode::release_essid() {
412 return essid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
414 inline void WirelessNode::set_allocated_essid(
std::string* essid) {
415 if (essid !=
nullptr) {
420 essid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), essid,
424 inline std::string* WirelessNode::unsafe_arena_release_essid() {
426 GOOGLE_DCHECK(GetArena() !=
nullptr);
428 return essid_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
431 inline void WirelessNode::unsafe_arena_set_allocated_essid(
433 GOOGLE_DCHECK(GetArena() !=
nullptr);
434 if (essid !=
nullptr) {
439 essid_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
445 inline void WirelessNode::clear_frequency() {
448 inline double WirelessNode::_internal_frequency()
const {
451 inline double WirelessNode::frequency()
const {
453 return _internal_frequency();
455 inline void WirelessNode::_internal_set_frequency(
double value) {
459 inline void WirelessNode::set_frequency(
double value) {
460 _internal_set_frequency(value);
465 inline void WirelessNode::clear_signal_level() {
468 inline double WirelessNode::_internal_signal_level()
const {
469 return signal_level_;
471 inline double WirelessNode::signal_level()
const {
473 return _internal_signal_level();
475 inline void WirelessNode::_internal_set_signal_level(
double value) {
477 signal_level_ = value;
479 inline void WirelessNode::set_signal_level(
double value) {
480 _internal_set_signal_level(value);
485 #pragma GCC diagnostic pop
502 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fwireless_5fnode_2eproto
WirelessNode * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:147
static void InitAsDefaultInstance()
static const WirelessNode & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:115
static const WirelessNode * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:121
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
std::string * release_essid()
void set_essid(const char *value)
void set_essid(std::string &&value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:109
const std::string & essid() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void Swap(WirelessNode *other)
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:131
WirelessNode * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:151
WirelessNode & operator=(const WirelessNode &from)
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:96
void set_essid(const std::string &value)
WirelessNode(WirelessNode &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:91
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
WirelessNode & operator=(WirelessNode &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:100
void UnsafeArenaSwap(WirelessNode *other)
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:139
void set_essid(const char *value, size_t size)
WirelessNode(const WirelessNode &from)
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: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:112
friend void swap(WirelessNode &a, WirelessNode &b)
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:128
std::string * mutable_essid()
WirelessNode()
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:87
WirelessNode(::PROTOBUF_NAMESPACE_ID::Arena *arena)
IGNITION_MSGS_VISIBLE WirelessNodeDefaultTypeInternal _WirelessNode_default_instance_
std::unique_ptr< const WirelessNode > ConstWirelessNodeUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:489
std::unique_ptr< WirelessNode > WirelessNodeUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:488
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< WirelessNode > WirelessNodeSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:490
std::shared_ptr< const WirelessNode > ConstWirelessNodeSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.pb.h:491
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/wireless_node.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)