Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
gps_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/zeromq/protobuf/gps_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgps_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgps_5fconfig_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < 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.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
41// @@protoc_insertion_point(includes)
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fgps_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
45namespace internal {
46class AnyMetadata;
47} // namespace internal
48PROTOBUF_NAMESPACE_CLOSE
49
50// Internal implementation detail -- do not use these members.
54extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgps_5fconfig_2eproto;
55namespace goby {
56namespace apps {
57namespace zeromq {
58namespace protobuf {
59class GPSDConfig;
60struct GPSDConfigDefaultTypeInternal;
61extern GPSDConfigDefaultTypeInternal _GPSDConfig_default_instance_;
62} // namespace protobuf
63} // namespace zeromq
64} // namespace apps
65} // namespace goby
66PROTOBUF_NAMESPACE_OPEN
67template<> ::goby::apps::zeromq::protobuf::GPSDConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GPSDConfig>(Arena*);
68PROTOBUF_NAMESPACE_CLOSE
69namespace goby {
70namespace apps {
71namespace zeromq {
72namespace protobuf {
73
74// ===================================================================
75
76class GPSDConfig final :
77 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.GPSDConfig) */ {
78 public:
79 inline GPSDConfig() : GPSDConfig(nullptr) {}
80 ~GPSDConfig() override;
81 explicit PROTOBUF_CONSTEXPR GPSDConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
82
83 GPSDConfig(const GPSDConfig& from);
84 GPSDConfig(GPSDConfig&& from) noexcept
85 : GPSDConfig() {
86 *this = ::std::move(from);
87 }
88
89 inline GPSDConfig& operator=(const GPSDConfig& from) {
90 CopyFrom(from);
91 return *this;
92 }
93 inline GPSDConfig& operator=(GPSDConfig&& from) noexcept {
94 if (this == &from) return *this;
95 if (GetOwningArena() == from.GetOwningArena()
96 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
97 && GetOwningArena() != nullptr
98 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
99 ) {
100 InternalSwap(&from);
101 } else {
102 CopyFrom(from);
103 }
104 return *this;
105 }
106
107 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
108 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
109 }
110 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
111 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
112 }
113
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115 return GetDescriptor();
116 }
117 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118 return default_instance().GetMetadata().descriptor;
119 }
120 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121 return default_instance().GetMetadata().reflection;
122 }
123 static const GPSDConfig& default_instance() {
125 }
126 static inline const GPSDConfig* internal_default_instance() {
127 return reinterpret_cast<const GPSDConfig*>(
129 }
130 static constexpr int kIndexInFileMessages =
131 0;
132
133 friend void swap(GPSDConfig& a, GPSDConfig& b) {
134 a.Swap(&b);
135 }
136 inline void Swap(GPSDConfig* other) {
137 if (other == this) return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() != nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
141 #else // PROTOBUF_FORCE_COPY_IN_SWAP
142 if (GetOwningArena() == other->GetOwningArena()) {
143 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144 InternalSwap(other);
145 } else {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147 }
148 }
150 if (other == this) return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 InternalSwap(other);
153 }
154
155 // implements Message ----------------------------------------------
156
157 GPSDConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158 return CreateMaybeMessage<GPSDConfig>(arena);
159 }
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161 void CopyFrom(const GPSDConfig& from);
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163 void MergeFrom( const GPSDConfig& from) {
164 GPSDConfig::MergeImpl(*this, from);
165 }
166 private:
167 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
168 public:
169 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
170 bool IsInitialized() const final;
171
172 size_t ByteSizeLong() const final;
173 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
175 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
177
178 private:
179 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
180 void SharedDtor();
181 void SetCachedSize(int size) const final;
182 void InternalSwap(GPSDConfig* other);
183
184 private:
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "goby.apps.zeromq.protobuf.GPSDConfig";
188 }
189 protected:
190 explicit GPSDConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
191 bool is_message_owned = false);
192 public:
193
194 static const ClassData _class_data_;
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
196
197 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198
199 // nested types ----------------------------------------------------
200
201 // accessors -------------------------------------------------------
202
203 enum : int {
208 };
209 // repeated string device_name = 5;
210 int device_name_size() const;
211 private:
212 int _internal_device_name_size() const;
213 public:
214 void clear_device_name();
215 const std::string& device_name(int index) const;
216 std::string* mutable_device_name(int index);
217 void set_device_name(int index, const std::string& value);
218 void set_device_name(int index, std::string&& value);
219 void set_device_name(int index, const char* value);
220 void set_device_name(int index, const char* value, size_t size);
221 std::string* add_device_name();
222 void add_device_name(const std::string& value);
223 void add_device_name(std::string&& value);
224 void add_device_name(const char* value);
225 void add_device_name(const char* value, size_t size);
226 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& device_name() const;
227 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_device_name();
228 private:
229 const std::string& _internal_device_name(int index) const;
230 std::string* _internal_add_device_name();
231 public:
232
233 // optional .goby.middleware.protobuf.AppConfig app = 1;
234 bool has_app() const;
235 private:
236 bool _internal_has_app() const;
237 public:
238 void clear_app();
239 const ::goby::middleware::protobuf::AppConfig& app() const;
240 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
243 private:
244 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
245 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
246 public:
250
251 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
252 bool has_interprocess() const;
253 private:
254 bool _internal_has_interprocess() const;
255 public:
257 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
258 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
261 private:
262 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
263 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
264 public:
268
269 // required .goby.middleware.protobuf.TCPClientConfig gpsd = 3;
270 bool has_gpsd() const;
271 private:
272 bool _internal_has_gpsd() const;
273 public:
275 const ::goby::middleware::protobuf::TCPClientConfig& gpsd() const;
276 PROTOBUF_NODISCARD ::goby::middleware::protobuf::TCPClientConfig* release_gpsd();
279 private:
280 const ::goby::middleware::protobuf::TCPClientConfig& _internal_gpsd() const;
281 ::goby::middleware::protobuf::TCPClientConfig* _internal_mutable_gpsd();
282 public:
286
287 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.GPSDConfig)
288 private:
289 class _Internal;
290
291 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
292 typedef void InternalArenaConstructable_;
293 typedef void DestructorSkippable_;
294 struct Impl_ {
295 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
296 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
297 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> device_name_;
301 };
302 union { Impl_ _impl_; };
303 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgps_5fconfig_2eproto;
304};
305// ===================================================================
306
307
308// ===================================================================
309
310#ifdef __GNUC__
311 #pragma GCC diagnostic push
312 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
313#endif // __GNUC__
314// GPSDConfig
315
316// optional .goby.middleware.protobuf.AppConfig app = 1;
317inline bool GPSDConfig::_internal_has_app() const {
318 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
319 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
320 return value;
321}
322inline bool GPSDConfig::has_app() const {
323 return _internal_has_app();
324}
325inline const ::goby::middleware::protobuf::AppConfig& GPSDConfig::_internal_app() const {
326 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
327 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
329}
330inline const ::goby::middleware::protobuf::AppConfig& GPSDConfig::app() const {
331 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GPSDConfig.app)
332 return _internal_app();
333}
336 if (GetArenaForAllocation() == nullptr) {
337 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
338 }
339 _impl_.app_ = app;
340 if (app) {
341 _impl_._has_bits_[0] |= 0x00000001u;
342 } else {
343 _impl_._has_bits_[0] &= ~0x00000001u;
344 }
345 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GPSDConfig.app)
346}
347inline ::goby::middleware::protobuf::AppConfig* GPSDConfig::release_app() {
348 _impl_._has_bits_[0] &= ~0x00000001u;
350 _impl_.app_ = nullptr;
351#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
352 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
353 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
354 if (GetArenaForAllocation() == nullptr) { delete old; }
355#else // PROTOBUF_FORCE_COPY_IN_RELEASE
356 if (GetArenaForAllocation() != nullptr) {
357 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
358 }
359#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
360 return temp;
361}
362inline ::goby::middleware::protobuf::AppConfig* GPSDConfig::unsafe_arena_release_app() {
363 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GPSDConfig.app)
364 _impl_._has_bits_[0] &= ~0x00000001u;
366 _impl_.app_ = nullptr;
367 return temp;
368}
369inline ::goby::middleware::protobuf::AppConfig* GPSDConfig::_internal_mutable_app() {
370 _impl_._has_bits_[0] |= 0x00000001u;
371 if (_impl_.app_ == nullptr) {
372 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
373 _impl_.app_ = p;
374 }
375 return _impl_.app_;
376}
377inline ::goby::middleware::protobuf::AppConfig* GPSDConfig::mutable_app() {
378 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
379 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GPSDConfig.app)
380 return _msg;
381}
383 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
384 if (message_arena == nullptr) {
385 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
386 }
387 if (app) {
388 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
389 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
390 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
391 if (message_arena != submessage_arena) {
392 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
393 message_arena, app, submessage_arena);
394 }
395 _impl_._has_bits_[0] |= 0x00000001u;
396 } else {
397 _impl_._has_bits_[0] &= ~0x00000001u;
398 }
399 _impl_.app_ = app;
400 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GPSDConfig.app)
401}
402
403// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
404inline bool GPSDConfig::_internal_has_interprocess() const {
405 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
406 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
407 return value;
408}
409inline bool GPSDConfig::has_interprocess() const {
410 return _internal_has_interprocess();
411}
412inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GPSDConfig::_internal_interprocess() const {
413 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
414 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
416}
417inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GPSDConfig::interprocess() const {
418 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GPSDConfig.interprocess)
419 return _internal_interprocess();
420}
423 if (GetArenaForAllocation() == nullptr) {
424 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
425 }
426 _impl_.interprocess_ = interprocess;
427 if (interprocess) {
428 _impl_._has_bits_[0] |= 0x00000002u;
429 } else {
430 _impl_._has_bits_[0] &= ~0x00000002u;
431 }
432 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GPSDConfig.interprocess)
433}
434inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GPSDConfig::release_interprocess() {
435 _impl_._has_bits_[0] &= ~0x00000002u;
437 _impl_.interprocess_ = nullptr;
438#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
439 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
440 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
441 if (GetArenaForAllocation() == nullptr) { delete old; }
442#else // PROTOBUF_FORCE_COPY_IN_RELEASE
443 if (GetArenaForAllocation() != nullptr) {
444 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
445 }
446#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
447 return temp;
448}
449inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GPSDConfig::unsafe_arena_release_interprocess() {
450 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GPSDConfig.interprocess)
451 _impl_._has_bits_[0] &= ~0x00000002u;
453 _impl_.interprocess_ = nullptr;
454 return temp;
455}
456inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GPSDConfig::_internal_mutable_interprocess() {
457 _impl_._has_bits_[0] |= 0x00000002u;
458 if (_impl_.interprocess_ == nullptr) {
460 _impl_.interprocess_ = p;
461 }
462 return _impl_.interprocess_;
463}
464inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GPSDConfig::mutable_interprocess() {
465 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
466 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GPSDConfig.interprocess)
467 return _msg;
468}
470 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
471 if (message_arena == nullptr) {
472 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
473 }
474 if (interprocess) {
475 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
476 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
477 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
478 if (message_arena != submessage_arena) {
479 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
480 message_arena, interprocess, submessage_arena);
481 }
482 _impl_._has_bits_[0] |= 0x00000002u;
483 } else {
484 _impl_._has_bits_[0] &= ~0x00000002u;
485 }
486 _impl_.interprocess_ = interprocess;
487 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GPSDConfig.interprocess)
488}
489
490// required .goby.middleware.protobuf.TCPClientConfig gpsd = 3;
491inline bool GPSDConfig::_internal_has_gpsd() const {
492 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
493 PROTOBUF_ASSUME(!value || _impl_.gpsd_ != nullptr);
494 return value;
495}
496inline bool GPSDConfig::has_gpsd() const {
497 return _internal_has_gpsd();
498}
499inline const ::goby::middleware::protobuf::TCPClientConfig& GPSDConfig::_internal_gpsd() const {
500 const ::goby::middleware::protobuf::TCPClientConfig* p = _impl_.gpsd_;
501 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::TCPClientConfig&>(
503}
504inline const ::goby::middleware::protobuf::TCPClientConfig& GPSDConfig::gpsd() const {
505 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GPSDConfig.gpsd)
506 return _internal_gpsd();
507}
510 if (GetArenaForAllocation() == nullptr) {
511 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gpsd_);
512 }
513 _impl_.gpsd_ = gpsd;
514 if (gpsd) {
515 _impl_._has_bits_[0] |= 0x00000004u;
516 } else {
517 _impl_._has_bits_[0] &= ~0x00000004u;
518 }
519 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GPSDConfig.gpsd)
520}
521inline ::goby::middleware::protobuf::TCPClientConfig* GPSDConfig::release_gpsd() {
522 _impl_._has_bits_[0] &= ~0x00000004u;
524 _impl_.gpsd_ = nullptr;
525#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
526 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
527 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
528 if (GetArenaForAllocation() == nullptr) { delete old; }
529#else // PROTOBUF_FORCE_COPY_IN_RELEASE
530 if (GetArenaForAllocation() != nullptr) {
531 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
532 }
533#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
534 return temp;
535}
536inline ::goby::middleware::protobuf::TCPClientConfig* GPSDConfig::unsafe_arena_release_gpsd() {
537 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GPSDConfig.gpsd)
538 _impl_._has_bits_[0] &= ~0x00000004u;
540 _impl_.gpsd_ = nullptr;
541 return temp;
542}
543inline ::goby::middleware::protobuf::TCPClientConfig* GPSDConfig::_internal_mutable_gpsd() {
544 _impl_._has_bits_[0] |= 0x00000004u;
545 if (_impl_.gpsd_ == nullptr) {
547 _impl_.gpsd_ = p;
548 }
549 return _impl_.gpsd_;
550}
551inline ::goby::middleware::protobuf::TCPClientConfig* GPSDConfig::mutable_gpsd() {
552 ::goby::middleware::protobuf::TCPClientConfig* _msg = _internal_mutable_gpsd();
553 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GPSDConfig.gpsd)
554 return _msg;
555}
557 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
558 if (message_arena == nullptr) {
559 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gpsd_);
560 }
561 if (gpsd) {
562 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
563 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
564 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gpsd));
565 if (message_arena != submessage_arena) {
566 gpsd = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
567 message_arena, gpsd, submessage_arena);
568 }
569 _impl_._has_bits_[0] |= 0x00000004u;
570 } else {
571 _impl_._has_bits_[0] &= ~0x00000004u;
572 }
573 _impl_.gpsd_ = gpsd;
574 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GPSDConfig.gpsd)
575}
576
577// repeated string device_name = 5;
578inline int GPSDConfig::_internal_device_name_size() const {
579 return _impl_.device_name_.size();
580}
582 return _internal_device_name_size();
583}
585 _impl_.device_name_.Clear();
586}
587inline std::string* GPSDConfig::add_device_name() {
588 std::string* _s = _internal_add_device_name();
589 // @@protoc_insertion_point(field_add_mutable:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
590 return _s;
591}
592inline const std::string& GPSDConfig::_internal_device_name(int index) const {
593 return _impl_.device_name_.Get(index);
594}
595inline const std::string& GPSDConfig::device_name(int index) const {
596 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
597 return _internal_device_name(index);
598}
599inline std::string* GPSDConfig::mutable_device_name(int index) {
600 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
601 return _impl_.device_name_.Mutable(index);
602}
603inline void GPSDConfig::set_device_name(int index, const std::string& value) {
604 _impl_.device_name_.Mutable(index)->assign(value);
605 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
606}
607inline void GPSDConfig::set_device_name(int index, std::string&& value) {
608 _impl_.device_name_.Mutable(index)->assign(std::move(value));
609 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
610}
611inline void GPSDConfig::set_device_name(int index, const char* value) {
612 GOOGLE_DCHECK(value != nullptr);
613 _impl_.device_name_.Mutable(index)->assign(value);
614 // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
615}
616inline void GPSDConfig::set_device_name(int index, const char* value, size_t size) {
617 _impl_.device_name_.Mutable(index)->assign(
618 reinterpret_cast<const char*>(value), size);
619 // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
620}
621inline std::string* GPSDConfig::_internal_add_device_name() {
622 return _impl_.device_name_.Add();
623}
624inline void GPSDConfig::add_device_name(const std::string& value) {
625 _impl_.device_name_.Add()->assign(value);
626 // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
627}
628inline void GPSDConfig::add_device_name(std::string&& value) {
629 _impl_.device_name_.Add(std::move(value));
630 // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
631}
632inline void GPSDConfig::add_device_name(const char* value) {
633 GOOGLE_DCHECK(value != nullptr);
634 _impl_.device_name_.Add()->assign(value);
635 // @@protoc_insertion_point(field_add_char:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
636}
637inline void GPSDConfig::add_device_name(const char* value, size_t size) {
638 _impl_.device_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
639 // @@protoc_insertion_point(field_add_pointer:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
640}
641inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
643 // @@protoc_insertion_point(field_list:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
644 return _impl_.device_name_;
645}
646inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
648 // @@protoc_insertion_point(field_mutable_list:goby.apps.zeromq.protobuf.GPSDConfig.device_name)
649 return &_impl_.device_name_;
650}
651
652#ifdef __GNUC__
653 #pragma GCC diagnostic pop
654#endif // __GNUC__
655
656// @@protoc_insertion_point(namespace_scope)
657
658} // namespace protobuf
659} // namespace zeromq
660} // namespace apps
661} // namespace goby
662
663// @@protoc_insertion_point(global_scope)
664
665#include <google/protobuf/port_undef.inc>
666#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgps_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
GPSDConfig & operator=(GPSDConfig &&from) noexcept
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
::goby::middleware::protobuf::TCPClientConfig * unsafe_arena_release_gpsd()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const GPSDConfig * internal_default_instance()
::goby::middleware::protobuf::AppConfig * mutable_app()
GPSDConfig & operator=(const GPSDConfig &from)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
void unsafe_arena_set_allocated_gpsd(::goby::middleware::protobuf::TCPClientConfig *gpsd)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & device_name() const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_device_name()
GPSDConfig(GPSDConfig &&from) noexcept
friend void swap(GPSDConfig &a, GPSDConfig &b)
void CopyFrom(const GPSDConfig &from)
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
static const GPSDConfig & default_instance()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_device_name(int index, const std::string &value)
void MergeFrom(const GPSDConfig &from)
GPSDConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_gpsd(::goby::middleware::protobuf::TCPClientConfig *gpsd)
::goby::middleware::protobuf::TCPClientConfig * mutable_gpsd()
PROTOBUF_CONSTEXPR GPSDConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
const ::goby::middleware::protobuf::TCPClientConfig & gpsd() const
GPSDConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::goby::middleware::protobuf::AppConfig & app() const
PROTOBUF_NODISCARD::goby::middleware::protobuf::TCPClientConfig * release_gpsd()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgps_5fconfig_2eproto
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
GPSDConfigDefaultTypeInternal _GPSDConfig_default_instance_
TCPClientConfigDefaultTypeInternal _TCPClientConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::TCPClientConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::TCPClientConfig >(Arena *)