Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
tool_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/tool_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ftool_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/generated_enum_reflection.h>
33#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_2ftool_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_2ftool_5fconfig_2eproto;
55namespace goby {
56namespace apps {
57namespace zeromq {
58namespace protobuf {
59class PublishToolConfig;
60struct PublishToolConfigDefaultTypeInternal;
61extern PublishToolConfigDefaultTypeInternal _PublishToolConfig_default_instance_;
62class SubscribeToolConfig;
63struct SubscribeToolConfigDefaultTypeInternal;
64extern SubscribeToolConfigDefaultTypeInternal _SubscribeToolConfig_default_instance_;
65class ZeroMQToolConfig;
66struct ZeroMQToolConfigDefaultTypeInternal;
67extern ZeroMQToolConfigDefaultTypeInternal _ZeroMQToolConfig_default_instance_;
68} // namespace protobuf
69} // namespace zeromq
70} // namespace apps
71} // namespace goby
72PROTOBUF_NAMESPACE_OPEN
73template<> ::goby::apps::zeromq::protobuf::PublishToolConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::PublishToolConfig>(Arena*);
74template<> ::goby::apps::zeromq::protobuf::SubscribeToolConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::SubscribeToolConfig>(Arena*);
75template<> ::goby::apps::zeromq::protobuf::ZeroMQToolConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::ZeroMQToolConfig>(Arena*);
76PROTOBUF_NAMESPACE_CLOSE
77namespace goby {
78namespace apps {
79namespace zeromq {
80namespace protobuf {
81
103
104const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ZeroMQToolConfig_Action_descriptor();
105template<typename T>
106inline const std::string& ZeroMQToolConfig_Action_Name(T enum_t_value) {
107 static_assert(::std::is_same<T, ZeroMQToolConfig_Action>::value ||
108 ::std::is_integral<T>::value,
109 "Incorrect type passed to function ZeroMQToolConfig_Action_Name.");
110 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
111 ZeroMQToolConfig_Action_descriptor(), enum_t_value);
112}
114 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ZeroMQToolConfig_Action* value) {
115 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ZeroMQToolConfig_Action>(
117}
118// ===================================================================
119
120class ZeroMQToolConfig final :
121 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.ZeroMQToolConfig) */ {
122 public:
123 inline ZeroMQToolConfig() : ZeroMQToolConfig(nullptr) {}
125 explicit PROTOBUF_CONSTEXPR ZeroMQToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
126
129 : ZeroMQToolConfig() {
130 *this = ::std::move(from);
131 }
132
134 CopyFrom(from);
135 return *this;
136 }
137 inline ZeroMQToolConfig& operator=(ZeroMQToolConfig&& from) noexcept {
138 if (this == &from) return *this;
139 if (GetOwningArena() == from.GetOwningArena()
140 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
141 && GetOwningArena() != nullptr
142 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
143 ) {
144 InternalSwap(&from);
145 } else {
146 CopyFrom(from);
147 }
148 return *this;
149 }
150
151 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
152 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
153 }
154 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
155 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
156 }
157
158 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
159 return GetDescriptor();
160 }
161 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
162 return default_instance().GetMetadata().descriptor;
163 }
164 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
165 return default_instance().GetMetadata().reflection;
166 }
169 }
171 return reinterpret_cast<const ZeroMQToolConfig*>(
173 }
174 static constexpr int kIndexInFileMessages =
175 0;
176
178 a.Swap(&b);
179 }
180 inline void Swap(ZeroMQToolConfig* other) {
181 if (other == this) return;
182 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
183 if (GetOwningArena() != nullptr &&
184 GetOwningArena() == other->GetOwningArena()) {
185 #else // PROTOBUF_FORCE_COPY_IN_SWAP
186 if (GetOwningArena() == other->GetOwningArena()) {
187 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
188 InternalSwap(other);
189 } else {
190 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
191 }
192 }
194 if (other == this) return;
195 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
196 InternalSwap(other);
197 }
198
199 // implements Message ----------------------------------------------
200
201 ZeroMQToolConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
202 return CreateMaybeMessage<ZeroMQToolConfig>(arena);
203 }
204 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
205 void CopyFrom(const ZeroMQToolConfig& from);
206 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
207 void MergeFrom( const ZeroMQToolConfig& from) {
208 ZeroMQToolConfig::MergeImpl(*this, from);
209 }
210 private:
211 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
212 public:
213 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
214 bool IsInitialized() const final;
215
216 size_t ByteSizeLong() const final;
217 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
219 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
220 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
221
222 private:
223 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
224 void SharedDtor();
225 void SetCachedSize(int size) const final;
226 void InternalSwap(ZeroMQToolConfig* other);
227
228 private:
229 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
230 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
231 return "goby.apps.zeromq.protobuf.ZeroMQToolConfig";
232 }
233 protected:
234 explicit ZeroMQToolConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
235 bool is_message_owned = false);
236 public:
237
238 static const ClassData _class_data_;
239 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
240
241 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
242
243 // nested types ----------------------------------------------------
244
246 static constexpr Action help =
248 static constexpr Action terminate =
250 static constexpr Action publish =
252 static constexpr Action subscribe =
254 static constexpr Action playback =
256 static constexpr Action daemon =
258 static constexpr Action logger =
260 static constexpr Action coroner =
262 static constexpr Action intervehicle_portal =
264 static constexpr Action gps =
266 static constexpr Action frontseat_interface =
268 static constexpr Action geov =
270 static constexpr Action liaison =
272 static constexpr Action opencpn =
274 static constexpr Action moos_gateway =
276 static inline bool Action_IsValid(int value) {
278 }
279 static constexpr Action Action_MIN =
281 static constexpr Action Action_MAX =
283 static constexpr int Action_ARRAYSIZE =
285 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
289 template<typename T>
290 static inline const std::string& Action_Name(T enum_t_value) {
291 static_assert(::std::is_same<T, Action>::value ||
292 ::std::is_integral<T>::value,
293 "Incorrect type passed to function Action_Name.");
294 return ZeroMQToolConfig_Action_Name(enum_t_value);
295 }
296 static inline bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
297 Action* value) {
298 return ZeroMQToolConfig_Action_Parse(name, value);
299 }
300
301 // accessors -------------------------------------------------------
302
303 enum : int {
306 };
307 // optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
308 bool has_app() const;
309 private:
310 bool _internal_has_app() const;
311 public:
312 void clear_app();
313 const ::goby::middleware::protobuf::AppConfig& app() const;
314 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
317 private:
318 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
319 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
320 public:
324
325 // optional .goby.apps.zeromq.protobuf.ZeroMQToolConfig.Action action = 2 [default = help, (.goby.field) = {
326 bool has_action() const;
327 private:
328 bool _internal_has_action() const;
329 public:
330 void clear_action();
333 private:
335 void _internal_set_action(::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action value);
336 public:
337
338 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.ZeroMQToolConfig)
339 private:
340 class _Internal;
341
342 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
343 typedef void InternalArenaConstructable_;
344 typedef void DestructorSkippable_;
345 struct Impl_ {
346 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
347 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
349 int action_;
350 };
351 union { Impl_ _impl_; };
352 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto;
353};
354// -------------------------------------------------------------------
355
356class PublishToolConfig final :
357 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.PublishToolConfig) */ {
358 public:
361 explicit PROTOBUF_CONSTEXPR PublishToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
362
366 *this = ::std::move(from);
367 }
368
370 CopyFrom(from);
371 return *this;
372 }
374 if (this == &from) return *this;
375 if (GetOwningArena() == from.GetOwningArena()
376 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
377 && GetOwningArena() != nullptr
378 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
379 ) {
380 InternalSwap(&from);
381 } else {
382 CopyFrom(from);
383 }
384 return *this;
385 }
386
387 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
388 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
389 }
390 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
391 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
392 }
393
394 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
395 return GetDescriptor();
396 }
397 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
398 return default_instance().GetMetadata().descriptor;
399 }
400 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
401 return default_instance().GetMetadata().reflection;
402 }
404 return *internal_default_instance();
405 }
407 return reinterpret_cast<const PublishToolConfig*>(
408 &_PublishToolConfig_default_instance_);
409 }
410 static constexpr int kIndexInFileMessages =
411 1;
412
414 a.Swap(&b);
415 }
416 inline void Swap(PublishToolConfig* other) {
417 if (other == this) return;
418 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
419 if (GetOwningArena() != nullptr &&
420 GetOwningArena() == other->GetOwningArena()) {
421 #else // PROTOBUF_FORCE_COPY_IN_SWAP
422 if (GetOwningArena() == other->GetOwningArena()) {
423 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
424 InternalSwap(other);
425 } else {
426 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
427 }
428 }
430 if (other == this) return;
431 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
432 InternalSwap(other);
433 }
434
435 // implements Message ----------------------------------------------
436
437 PublishToolConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
438 return CreateMaybeMessage<PublishToolConfig>(arena);
439 }
440 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
441 void CopyFrom(const PublishToolConfig& from);
442 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
443 void MergeFrom( const PublishToolConfig& from) {
444 PublishToolConfig::MergeImpl(*this, from);
445 }
446 private:
447 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
448 public:
449 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
450 bool IsInitialized() const final;
451
452 size_t ByteSizeLong() const final;
453 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
454 uint8_t* _InternalSerialize(
455 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
456 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
457
458 private:
459 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
460 void SharedDtor();
461 void SetCachedSize(int size) const final;
462 void InternalSwap(PublishToolConfig* other);
463
464 private:
465 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
466 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
467 return "goby.apps.zeromq.protobuf.PublishToolConfig";
468 }
469 protected:
470 explicit PublishToolConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
471 bool is_message_owned = false);
472 public:
473
474 static const ClassData _class_data_;
475 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
476
477 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
478
479 // nested types ----------------------------------------------------
480
481 // accessors -------------------------------------------------------
482
483 enum : int {
484 kLoadSharedLibraryFieldNumber = 20,
485 kGroupFieldNumber = 10,
486 kTypeFieldNumber = 11,
487 kValueFieldNumber = 12,
488 kAppFieldNumber = 1,
489 kInterprocessFieldNumber = 2,
490 kSettleSecondsFieldNumber = 30,
491 };
492 // repeated string load_shared_library = 20 [(.goby.field) = {
493 int load_shared_library_size() const;
494 private:
495 int _internal_load_shared_library_size() const;
496 public:
497 void clear_load_shared_library();
498 const std::string& load_shared_library(int index) const;
499 std::string* mutable_load_shared_library(int index);
500 void set_load_shared_library(int index, const std::string& value);
501 void set_load_shared_library(int index, std::string&& value);
502 void set_load_shared_library(int index, const char* value);
503 void set_load_shared_library(int index, const char* value, size_t size);
504 std::string* add_load_shared_library();
505 void add_load_shared_library(const std::string& value);
506 void add_load_shared_library(std::string&& value);
507 void add_load_shared_library(const char* value);
508 void add_load_shared_library(const char* value, size_t size);
509 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library() const;
510 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
511 private:
512 const std::string& _internal_load_shared_library(int index) const;
513 std::string* _internal_add_load_shared_library();
514 public:
515
516 // required string group = 10 [(.goby.field) = {
517 bool has_group() const;
518 private:
519 bool _internal_has_group() const;
520 public:
521 void clear_group();
522 const std::string& group() const;
523 template <typename ArgT0 = const std::string&, typename... ArgT>
524 void set_group(ArgT0&& arg0, ArgT... args);
525 std::string* mutable_group();
526 PROTOBUF_NODISCARD std::string* release_group();
527 void set_allocated_group(std::string* group);
528 private:
529 const std::string& _internal_group() const;
530 inline PROTOBUF_ALWAYS_INLINE void _internal_set_group(const std::string& value);
531 std::string* _internal_mutable_group();
532 public:
533
534 // required string type = 11 [(.goby.field) = {
535 bool has_type() const;
536 private:
537 bool _internal_has_type() const;
538 public:
539 void clear_type();
540 const std::string& type() const;
541 template <typename ArgT0 = const std::string&, typename... ArgT>
542 void set_type(ArgT0&& arg0, ArgT... args);
543 std::string* mutable_type();
544 PROTOBUF_NODISCARD std::string* release_type();
545 void set_allocated_type(std::string* type);
546 private:
547 const std::string& _internal_type() const;
548 inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
549 std::string* _internal_mutable_type();
550 public:
551
552 // required string value = 12 [(.goby.field) = {
553 bool has_value() const;
554 private:
555 bool _internal_has_value() const;
556 public:
557 void clear_value();
558 const std::string& value() const;
559 template <typename ArgT0 = const std::string&, typename... ArgT>
560 void set_value(ArgT0&& arg0, ArgT... args);
561 std::string* mutable_value();
562 PROTOBUF_NODISCARD std::string* release_value();
563 void set_allocated_value(std::string* value);
564 private:
565 const std::string& _internal_value() const;
566 inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
567 std::string* _internal_mutable_value();
568 public:
569
570 // optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
571 bool has_app() const;
572 private:
573 bool _internal_has_app() const;
574 public:
575 void clear_app();
576 const ::goby::middleware::protobuf::AppConfig& app() const;
577 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
579 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
580 private:
581 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
582 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
583 public:
584 void unsafe_arena_set_allocated_app(
586 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
587
588 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
589 bool has_interprocess() const;
590 private:
591 bool _internal_has_interprocess() const;
592 public:
594 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
595 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
597 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
598 private:
599 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
600 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
601 public:
602 void unsafe_arena_set_allocated_interprocess(
604 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
605
606 // optional double settle_seconds = 30 [default = 0, (.goby.field) = {
607 bool has_settle_seconds() const;
608 private:
609 bool _internal_has_settle_seconds() const;
610 public:
611 void clear_settle_seconds();
612 double settle_seconds() const;
613 void set_settle_seconds(double value);
614 private:
615 double _internal_settle_seconds() const;
616 void _internal_set_settle_seconds(double value);
617 public:
618
619 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.PublishToolConfig)
620 private:
621 class _Internal;
622
623 // helper for ByteSizeLong()
624 size_t RequiredFieldsByteSizeFallback() const;
625
626 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
627 typedef void InternalArenaConstructable_;
628 typedef void DestructorSkippable_;
629 struct Impl_ {
630 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
631 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
632 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
633 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
634 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
635 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
638 double settle_seconds_;
639 };
640 union { Impl_ _impl_; };
641 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto;
642};
643// -------------------------------------------------------------------
644
646 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.SubscribeToolConfig) */ {
647 public:
650 explicit PROTOBUF_CONSTEXPR SubscribeToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
651
655 *this = ::std::move(from);
656 }
657
659 CopyFrom(from);
660 return *this;
661 }
663 if (this == &from) return *this;
664 if (GetOwningArena() == from.GetOwningArena()
665 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
666 && GetOwningArena() != nullptr
667 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
668 ) {
669 InternalSwap(&from);
670 } else {
671 CopyFrom(from);
672 }
673 return *this;
674 }
675
676 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
677 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
678 }
679 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
680 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
681 }
682
683 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
684 return GetDescriptor();
685 }
686 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
687 return default_instance().GetMetadata().descriptor;
688 }
689 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
690 return default_instance().GetMetadata().reflection;
691 }
693 return *internal_default_instance();
694 }
696 return reinterpret_cast<const SubscribeToolConfig*>(
697 &_SubscribeToolConfig_default_instance_);
698 }
699 static constexpr int kIndexInFileMessages =
700 2;
701
703 a.Swap(&b);
704 }
705 inline void Swap(SubscribeToolConfig* other) {
706 if (other == this) return;
707 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
708 if (GetOwningArena() != nullptr &&
709 GetOwningArena() == other->GetOwningArena()) {
710 #else // PROTOBUF_FORCE_COPY_IN_SWAP
711 if (GetOwningArena() == other->GetOwningArena()) {
712 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
713 InternalSwap(other);
714 } else {
715 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
716 }
717 }
719 if (other == this) return;
720 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
721 InternalSwap(other);
722 }
723
724 // implements Message ----------------------------------------------
725
726 SubscribeToolConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
727 return CreateMaybeMessage<SubscribeToolConfig>(arena);
728 }
729 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
730 void CopyFrom(const SubscribeToolConfig& from);
731 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
732 void MergeFrom( const SubscribeToolConfig& from) {
733 SubscribeToolConfig::MergeImpl(*this, from);
734 }
735 private:
736 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
737 public:
738 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
739 bool IsInitialized() const final;
740
741 size_t ByteSizeLong() const final;
742 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
743 uint8_t* _InternalSerialize(
744 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
745 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
746
747 private:
748 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
749 void SharedDtor();
750 void SetCachedSize(int size) const final;
751 void InternalSwap(SubscribeToolConfig* other);
752
753 private:
754 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
755 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
756 return "goby.apps.zeromq.protobuf.SubscribeToolConfig";
757 }
758 protected:
759 explicit SubscribeToolConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
760 bool is_message_owned = false);
761 public:
762
763 static const ClassData _class_data_;
764 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
765
766 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
767
768 // nested types ----------------------------------------------------
769
770 // accessors -------------------------------------------------------
771
772 enum : int {
773 kLoadSharedLibraryFieldNumber = 20,
774 kGroupRegexFieldNumber = 10,
775 kTypeRegexFieldNumber = 11,
776 kSchemeFieldNumber = 12,
777 kAppFieldNumber = 1,
778 kInterprocessFieldNumber = 2,
779 kIncludeInternalGroupsFieldNumber = 30,
780 };
781 // repeated string load_shared_library = 20 [(.goby.field) = {
782 int load_shared_library_size() const;
783 private:
784 int _internal_load_shared_library_size() const;
785 public:
786 void clear_load_shared_library();
787 const std::string& load_shared_library(int index) const;
788 std::string* mutable_load_shared_library(int index);
789 void set_load_shared_library(int index, const std::string& value);
790 void set_load_shared_library(int index, std::string&& value);
791 void set_load_shared_library(int index, const char* value);
792 void set_load_shared_library(int index, const char* value, size_t size);
793 std::string* add_load_shared_library();
794 void add_load_shared_library(const std::string& value);
795 void add_load_shared_library(std::string&& value);
796 void add_load_shared_library(const char* value);
797 void add_load_shared_library(const char* value, size_t size);
798 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library() const;
799 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
800 private:
801 const std::string& _internal_load_shared_library(int index) const;
802 std::string* _internal_add_load_shared_library();
803 public:
804
805 // optional string group_regex = 10 [default = ".*", (.goby.field) = {
806 bool has_group_regex() const;
807 private:
808 bool _internal_has_group_regex() const;
809 public:
810 void clear_group_regex();
811 const std::string& group_regex() const;
812 template <typename ArgT0 = const std::string&, typename... ArgT>
813 void set_group_regex(ArgT0&& arg0, ArgT... args);
814 std::string* mutable_group_regex();
815 PROTOBUF_NODISCARD std::string* release_group_regex();
816 void set_allocated_group_regex(std::string* group_regex);
817 private:
818 const std::string& _internal_group_regex() const;
819 inline PROTOBUF_ALWAYS_INLINE void _internal_set_group_regex(const std::string& value);
820 std::string* _internal_mutable_group_regex();
821 public:
822
823 // optional string type_regex = 11 [default = ".*", (.goby.field) = {
824 bool has_type_regex() const;
825 private:
826 bool _internal_has_type_regex() const;
827 public:
828 void clear_type_regex();
829 const std::string& type_regex() const;
830 template <typename ArgT0 = const std::string&, typename... ArgT>
831 void set_type_regex(ArgT0&& arg0, ArgT... args);
832 std::string* mutable_type_regex();
833 PROTOBUF_NODISCARD std::string* release_type_regex();
834 void set_allocated_type_regex(std::string* type_regex);
835 private:
836 const std::string& _internal_type_regex() const;
837 inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_regex(const std::string& value);
838 std::string* _internal_mutable_type_regex();
839 public:
840
841 // optional string scheme = 12 [(.goby.field) = {
842 bool has_scheme() const;
843 private:
844 bool _internal_has_scheme() const;
845 public:
846 void clear_scheme();
847 const std::string& scheme() const;
848 template <typename ArgT0 = const std::string&, typename... ArgT>
849 void set_scheme(ArgT0&& arg0, ArgT... args);
850 std::string* mutable_scheme();
851 PROTOBUF_NODISCARD std::string* release_scheme();
852 void set_allocated_scheme(std::string* scheme);
853 private:
854 const std::string& _internal_scheme() const;
855 inline PROTOBUF_ALWAYS_INLINE void _internal_set_scheme(const std::string& value);
856 std::string* _internal_mutable_scheme();
857 public:
858
859 // optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
860 bool has_app() const;
861 private:
862 bool _internal_has_app() const;
863 public:
864 void clear_app();
865 const ::goby::middleware::protobuf::AppConfig& app() const;
866 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
868 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
869 private:
870 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
871 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
872 public:
873 void unsafe_arena_set_allocated_app(
875 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
876
877 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
878 bool has_interprocess() const;
879 private:
880 bool _internal_has_interprocess() const;
881 public:
883 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
884 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
886 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
887 private:
888 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
889 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
890 public:
891 void unsafe_arena_set_allocated_interprocess(
893 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
894
895 // optional bool include_internal_groups = 30 [default = false];
896 bool has_include_internal_groups() const;
897 private:
898 bool _internal_has_include_internal_groups() const;
899 public:
900 void clear_include_internal_groups();
901 bool include_internal_groups() const;
902 void set_include_internal_groups(bool value);
903 private:
904 bool _internal_include_internal_groups() const;
905 void _internal_set_include_internal_groups(bool value);
906 public:
907
908 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.SubscribeToolConfig)
909 private:
910 class _Internal;
911
912 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
913 typedef void InternalArenaConstructable_;
914 typedef void DestructorSkippable_;
915 struct Impl_ {
916 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
917 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
918 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
919 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_group_regex_;
920 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_regex_;
921 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_type_regex_;
922 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_regex_;
923 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scheme_;
926 bool include_internal_groups_;
927 };
928 union { Impl_ _impl_; };
929 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto;
930};
931// ===================================================================
932
933
934// ===================================================================
935
936#ifdef __GNUC__
937 #pragma GCC diagnostic push
938 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
939#endif // __GNUC__
940// ZeroMQToolConfig
941
942// optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
943inline bool ZeroMQToolConfig::_internal_has_app() const {
944 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
945 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
946 return value;
947}
948inline bool ZeroMQToolConfig::has_app() const {
949 return _internal_has_app();
950}
951inline const ::goby::middleware::protobuf::AppConfig& ZeroMQToolConfig::_internal_app() const {
952 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
953 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
955}
956inline const ::goby::middleware::protobuf::AppConfig& ZeroMQToolConfig::app() const {
957 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.ZeroMQToolConfig.app)
958 return _internal_app();
959}
960inline void ZeroMQToolConfig::unsafe_arena_set_allocated_app(
962 if (GetArenaForAllocation() == nullptr) {
963 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
964 }
965 _impl_.app_ = app;
966 if (app) {
967 _impl_._has_bits_[0] |= 0x00000001u;
968 } else {
969 _impl_._has_bits_[0] &= ~0x00000001u;
970 }
971 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.ZeroMQToolConfig.app)
972}
973inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::release_app() {
974 _impl_._has_bits_[0] &= ~0x00000001u;
975 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
976 _impl_.app_ = nullptr;
977#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
978 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
979 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
980 if (GetArenaForAllocation() == nullptr) { delete old; }
981#else // PROTOBUF_FORCE_COPY_IN_RELEASE
982 if (GetArenaForAllocation() != nullptr) {
983 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
984 }
985#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
986 return temp;
987}
988inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::unsafe_arena_release_app() {
989 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.ZeroMQToolConfig.app)
990 _impl_._has_bits_[0] &= ~0x00000001u;
991 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
992 _impl_.app_ = nullptr;
993 return temp;
994}
995inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::_internal_mutable_app() {
996 _impl_._has_bits_[0] |= 0x00000001u;
997 if (_impl_.app_ == nullptr) {
998 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
999 _impl_.app_ = p;
1000 }
1001 return _impl_.app_;
1002}
1003inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::mutable_app() {
1004 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
1005 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.ZeroMQToolConfig.app)
1006 return _msg;
1007}
1008inline void ZeroMQToolConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
1009 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1010 if (message_arena == nullptr) {
1011 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
1012 }
1013 if (app) {
1014 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1015 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1016 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
1017 if (message_arena != submessage_arena) {
1018 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1019 message_arena, app, submessage_arena);
1020 }
1021 _impl_._has_bits_[0] |= 0x00000001u;
1022 } else {
1023 _impl_._has_bits_[0] &= ~0x00000001u;
1024 }
1025 _impl_.app_ = app;
1026 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.ZeroMQToolConfig.app)
1027}
1028
1029// optional .goby.apps.zeromq.protobuf.ZeroMQToolConfig.Action action = 2 [default = help, (.goby.field) = {
1030inline bool ZeroMQToolConfig::_internal_has_action() const {
1031 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1032 return value;
1033}
1034inline bool ZeroMQToolConfig::has_action() const {
1035 return _internal_has_action();
1036}
1037inline void ZeroMQToolConfig::clear_action() {
1038 _impl_.action_ = 0;
1039 _impl_._has_bits_[0] &= ~0x00000002u;
1040}
1041inline ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action ZeroMQToolConfig::_internal_action() const {
1042 return static_cast< ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action >(_impl_.action_);
1043}
1044inline ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action ZeroMQToolConfig::action() const {
1045 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.ZeroMQToolConfig.action)
1046 return _internal_action();
1047}
1048inline void ZeroMQToolConfig::_internal_set_action(::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action value) {
1050 _impl_._has_bits_[0] |= 0x00000002u;
1051 _impl_.action_ = value;
1052}
1053inline void ZeroMQToolConfig::set_action(::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action value) {
1054 _internal_set_action(value);
1055 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.ZeroMQToolConfig.action)
1056}
1057
1058// -------------------------------------------------------------------
1059
1060// PublishToolConfig
1061
1062// optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
1063inline bool PublishToolConfig::_internal_has_app() const {
1064 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1065 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
1066 return value;
1067}
1068inline bool PublishToolConfig::has_app() const {
1069 return _internal_has_app();
1070}
1071inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::_internal_app() const {
1072 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1073 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
1075}
1076inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::app() const {
1077 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.PublishToolConfig.app)
1078 return _internal_app();
1079}
1080inline void PublishToolConfig::unsafe_arena_set_allocated_app(
1082 if (GetArenaForAllocation() == nullptr) {
1083 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
1084 }
1085 _impl_.app_ = app;
1086 if (app) {
1087 _impl_._has_bits_[0] |= 0x00000008u;
1088 } else {
1089 _impl_._has_bits_[0] &= ~0x00000008u;
1090 }
1091 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.PublishToolConfig.app)
1092}
1093inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::release_app() {
1094 _impl_._has_bits_[0] &= ~0x00000008u;
1095 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1096 _impl_.app_ = nullptr;
1097#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1098 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1099 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1100 if (GetArenaForAllocation() == nullptr) { delete old; }
1101#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1102 if (GetArenaForAllocation() != nullptr) {
1103 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1104 }
1105#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1106 return temp;
1107}
1108inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::unsafe_arena_release_app() {
1109 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.PublishToolConfig.app)
1110 _impl_._has_bits_[0] &= ~0x00000008u;
1111 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1112 _impl_.app_ = nullptr;
1113 return temp;
1114}
1115inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::_internal_mutable_app() {
1116 _impl_._has_bits_[0] |= 0x00000008u;
1117 if (_impl_.app_ == nullptr) {
1118 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
1119 _impl_.app_ = p;
1120 }
1121 return _impl_.app_;
1122}
1123inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::mutable_app() {
1124 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
1125 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.PublishToolConfig.app)
1126 return _msg;
1127}
1128inline void PublishToolConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
1129 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1130 if (message_arena == nullptr) {
1131 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
1132 }
1133 if (app) {
1134 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1135 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1136 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
1137 if (message_arena != submessage_arena) {
1138 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1139 message_arena, app, submessage_arena);
1140 }
1141 _impl_._has_bits_[0] |= 0x00000008u;
1142 } else {
1143 _impl_._has_bits_[0] &= ~0x00000008u;
1144 }
1145 _impl_.app_ = app;
1146 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.PublishToolConfig.app)
1147}
1148
1149// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
1150inline bool PublishToolConfig::_internal_has_interprocess() const {
1151 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1152 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
1153 return value;
1154}
1155inline bool PublishToolConfig::has_interprocess() const {
1156 return _internal_has_interprocess();
1157}
1158inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& PublishToolConfig::_internal_interprocess() const {
1159 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1160 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
1162}
1163inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& PublishToolConfig::interprocess() const {
1164 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.PublishToolConfig.interprocess)
1165 return _internal_interprocess();
1166}
1167inline void PublishToolConfig::unsafe_arena_set_allocated_interprocess(
1169 if (GetArenaForAllocation() == nullptr) {
1170 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1171 }
1172 _impl_.interprocess_ = interprocess;
1173 if (interprocess) {
1174 _impl_._has_bits_[0] |= 0x00000010u;
1175 } else {
1176 _impl_._has_bits_[0] &= ~0x00000010u;
1177 }
1178 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.PublishToolConfig.interprocess)
1179}
1180inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::release_interprocess() {
1181 _impl_._has_bits_[0] &= ~0x00000010u;
1182 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1183 _impl_.interprocess_ = nullptr;
1184#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1185 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1186 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1187 if (GetArenaForAllocation() == nullptr) { delete old; }
1188#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1189 if (GetArenaForAllocation() != nullptr) {
1190 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1191 }
1192#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1193 return temp;
1194}
1195inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::unsafe_arena_release_interprocess() {
1196 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.PublishToolConfig.interprocess)
1197 _impl_._has_bits_[0] &= ~0x00000010u;
1198 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1199 _impl_.interprocess_ = nullptr;
1200 return temp;
1201}
1202inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::_internal_mutable_interprocess() {
1203 _impl_._has_bits_[0] |= 0x00000010u;
1204 if (_impl_.interprocess_ == nullptr) {
1206 _impl_.interprocess_ = p;
1207 }
1208 return _impl_.interprocess_;
1209}
1210inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::mutable_interprocess() {
1211 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
1212 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.PublishToolConfig.interprocess)
1213 return _msg;
1214}
1215inline void PublishToolConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1216 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1217 if (message_arena == nullptr) {
1218 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1219 }
1220 if (interprocess) {
1221 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1222 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1223 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
1224 if (message_arena != submessage_arena) {
1225 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1226 message_arena, interprocess, submessage_arena);
1227 }
1228 _impl_._has_bits_[0] |= 0x00000010u;
1229 } else {
1230 _impl_._has_bits_[0] &= ~0x00000010u;
1231 }
1232 _impl_.interprocess_ = interprocess;
1233 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.PublishToolConfig.interprocess)
1234}
1235
1236// required string group = 10 [(.goby.field) = {
1237inline bool PublishToolConfig::_internal_has_group() const {
1238 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1239 return value;
1240}
1241inline bool PublishToolConfig::has_group() const {
1242 return _internal_has_group();
1243}
1244inline void PublishToolConfig::clear_group() {
1245 _impl_.group_.ClearToEmpty();
1246 _impl_._has_bits_[0] &= ~0x00000001u;
1247}
1248inline const std::string& PublishToolConfig::group() const {
1249 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.PublishToolConfig.group)
1250 return _internal_group();
1251}
1252template <typename ArgT0, typename... ArgT>
1253inline PROTOBUF_ALWAYS_INLINE
1254void PublishToolConfig::set_group(ArgT0&& arg0, ArgT... args) {
1255 _impl_._has_bits_[0] |= 0x00000001u;
1256 _impl_.group_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1257 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.PublishToolConfig.group)
1258}
1259inline std::string* PublishToolConfig::mutable_group() {
1260 std::string* _s = _internal_mutable_group();
1261 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.PublishToolConfig.group)
1262 return _s;
1263}
1264inline const std::string& PublishToolConfig::_internal_group() const {
1265 return _impl_.group_.Get();
1266}
1267inline void PublishToolConfig::_internal_set_group(const std::string& value) {
1268 _impl_._has_bits_[0] |= 0x00000001u;
1269 _impl_.group_.Set(value, GetArenaForAllocation());
1270}
1271inline std::string* PublishToolConfig::_internal_mutable_group() {
1272 _impl_._has_bits_[0] |= 0x00000001u;
1273 return _impl_.group_.Mutable(GetArenaForAllocation());
1274}
1275inline std::string* PublishToolConfig::release_group() {
1276 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.PublishToolConfig.group)
1277 if (!_internal_has_group()) {
1278 return nullptr;
1279 }
1280 _impl_._has_bits_[0] &= ~0x00000001u;
1281 auto* p = _impl_.group_.Release();
1282#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1283 if (_impl_.group_.IsDefault()) {
1284 _impl_.group_.Set("", GetArenaForAllocation());
1285 }
1286#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1287 return p;
1288}
1289inline void PublishToolConfig::set_allocated_group(std::string* group) {
1290 if (group != nullptr) {
1291 _impl_._has_bits_[0] |= 0x00000001u;
1292 } else {
1293 _impl_._has_bits_[0] &= ~0x00000001u;
1294 }
1295 _impl_.group_.SetAllocated(group, GetArenaForAllocation());
1296#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1297 if (_impl_.group_.IsDefault()) {
1298 _impl_.group_.Set("", GetArenaForAllocation());
1299 }
1300#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1301 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.PublishToolConfig.group)
1302}
1303
1304// required string type = 11 [(.goby.field) = {
1305inline bool PublishToolConfig::_internal_has_type() const {
1306 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1307 return value;
1308}
1309inline bool PublishToolConfig::has_type() const {
1310 return _internal_has_type();
1311}
1312inline void PublishToolConfig::clear_type() {
1313 _impl_.type_.ClearToEmpty();
1314 _impl_._has_bits_[0] &= ~0x00000002u;
1315}
1316inline const std::string& PublishToolConfig::type() const {
1317 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.PublishToolConfig.type)
1318 return _internal_type();
1319}
1320template <typename ArgT0, typename... ArgT>
1321inline PROTOBUF_ALWAYS_INLINE
1322void PublishToolConfig::set_type(ArgT0&& arg0, ArgT... args) {
1323 _impl_._has_bits_[0] |= 0x00000002u;
1324 _impl_.type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1325 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.PublishToolConfig.type)
1326}
1327inline std::string* PublishToolConfig::mutable_type() {
1328 std::string* _s = _internal_mutable_type();
1329 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.PublishToolConfig.type)
1330 return _s;
1331}
1332inline const std::string& PublishToolConfig::_internal_type() const {
1333 return _impl_.type_.Get();
1334}
1335inline void PublishToolConfig::_internal_set_type(const std::string& value) {
1336 _impl_._has_bits_[0] |= 0x00000002u;
1337 _impl_.type_.Set(value, GetArenaForAllocation());
1338}
1339inline std::string* PublishToolConfig::_internal_mutable_type() {
1340 _impl_._has_bits_[0] |= 0x00000002u;
1341 return _impl_.type_.Mutable(GetArenaForAllocation());
1342}
1343inline std::string* PublishToolConfig::release_type() {
1344 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.PublishToolConfig.type)
1345 if (!_internal_has_type()) {
1346 return nullptr;
1347 }
1348 _impl_._has_bits_[0] &= ~0x00000002u;
1349 auto* p = _impl_.type_.Release();
1350#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1351 if (_impl_.type_.IsDefault()) {
1352 _impl_.type_.Set("", GetArenaForAllocation());
1353 }
1354#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1355 return p;
1356}
1357inline void PublishToolConfig::set_allocated_type(std::string* type) {
1358 if (type != nullptr) {
1359 _impl_._has_bits_[0] |= 0x00000002u;
1360 } else {
1361 _impl_._has_bits_[0] &= ~0x00000002u;
1362 }
1363 _impl_.type_.SetAllocated(type, GetArenaForAllocation());
1364#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1365 if (_impl_.type_.IsDefault()) {
1366 _impl_.type_.Set("", GetArenaForAllocation());
1367 }
1368#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1369 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.PublishToolConfig.type)
1370}
1371
1372// required string value = 12 [(.goby.field) = {
1373inline bool PublishToolConfig::_internal_has_value() const {
1374 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1375 return value;
1376}
1377inline bool PublishToolConfig::has_value() const {
1378 return _internal_has_value();
1379}
1380inline void PublishToolConfig::clear_value() {
1381 _impl_.value_.ClearToEmpty();
1382 _impl_._has_bits_[0] &= ~0x00000004u;
1383}
1384inline const std::string& PublishToolConfig::value() const {
1385 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.PublishToolConfig.value)
1386 return _internal_value();
1387}
1388template <typename ArgT0, typename... ArgT>
1389inline PROTOBUF_ALWAYS_INLINE
1390void PublishToolConfig::set_value(ArgT0&& arg0, ArgT... args) {
1391 _impl_._has_bits_[0] |= 0x00000004u;
1392 _impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1393 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.PublishToolConfig.value)
1394}
1395inline std::string* PublishToolConfig::mutable_value() {
1396 std::string* _s = _internal_mutable_value();
1397 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.PublishToolConfig.value)
1398 return _s;
1399}
1400inline const std::string& PublishToolConfig::_internal_value() const {
1401 return _impl_.value_.Get();
1402}
1403inline void PublishToolConfig::_internal_set_value(const std::string& value) {
1404 _impl_._has_bits_[0] |= 0x00000004u;
1405 _impl_.value_.Set(value, GetArenaForAllocation());
1406}
1407inline std::string* PublishToolConfig::_internal_mutable_value() {
1408 _impl_._has_bits_[0] |= 0x00000004u;
1409 return _impl_.value_.Mutable(GetArenaForAllocation());
1410}
1411inline std::string* PublishToolConfig::release_value() {
1412 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.PublishToolConfig.value)
1413 if (!_internal_has_value()) {
1414 return nullptr;
1415 }
1416 _impl_._has_bits_[0] &= ~0x00000004u;
1417 auto* p = _impl_.value_.Release();
1418#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1419 if (_impl_.value_.IsDefault()) {
1420 _impl_.value_.Set("", GetArenaForAllocation());
1421 }
1422#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1423 return p;
1424}
1425inline void PublishToolConfig::set_allocated_value(std::string* value) {
1426 if (value != nullptr) {
1427 _impl_._has_bits_[0] |= 0x00000004u;
1428 } else {
1429 _impl_._has_bits_[0] &= ~0x00000004u;
1430 }
1431 _impl_.value_.SetAllocated(value, GetArenaForAllocation());
1432#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1433 if (_impl_.value_.IsDefault()) {
1434 _impl_.value_.Set("", GetArenaForAllocation());
1435 }
1436#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1437 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.PublishToolConfig.value)
1438}
1439
1440// repeated string load_shared_library = 20 [(.goby.field) = {
1441inline int PublishToolConfig::_internal_load_shared_library_size() const {
1442 return _impl_.load_shared_library_.size();
1443}
1444inline int PublishToolConfig::load_shared_library_size() const {
1445 return _internal_load_shared_library_size();
1446}
1447inline void PublishToolConfig::clear_load_shared_library() {
1448 _impl_.load_shared_library_.Clear();
1449}
1450inline std::string* PublishToolConfig::add_load_shared_library() {
1451 std::string* _s = _internal_add_load_shared_library();
1452 // @@protoc_insertion_point(field_add_mutable:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1453 return _s;
1454}
1455inline const std::string& PublishToolConfig::_internal_load_shared_library(int index) const {
1456 return _impl_.load_shared_library_.Get(index);
1457}
1458inline const std::string& PublishToolConfig::load_shared_library(int index) const {
1459 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1460 return _internal_load_shared_library(index);
1461}
1462inline std::string* PublishToolConfig::mutable_load_shared_library(int index) {
1463 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1464 return _impl_.load_shared_library_.Mutable(index);
1465}
1466inline void PublishToolConfig::set_load_shared_library(int index, const std::string& value) {
1467 _impl_.load_shared_library_.Mutable(index)->assign(value);
1468 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1469}
1470inline void PublishToolConfig::set_load_shared_library(int index, std::string&& value) {
1471 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1472 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1473}
1474inline void PublishToolConfig::set_load_shared_library(int index, const char* value) {
1475 GOOGLE_DCHECK(value != nullptr);
1476 _impl_.load_shared_library_.Mutable(index)->assign(value);
1477 // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1478}
1479inline void PublishToolConfig::set_load_shared_library(int index, const char* value, size_t size) {
1480 _impl_.load_shared_library_.Mutable(index)->assign(
1481 reinterpret_cast<const char*>(value), size);
1482 // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1483}
1484inline std::string* PublishToolConfig::_internal_add_load_shared_library() {
1485 return _impl_.load_shared_library_.Add();
1486}
1487inline void PublishToolConfig::add_load_shared_library(const std::string& value) {
1488 _impl_.load_shared_library_.Add()->assign(value);
1489 // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1490}
1491inline void PublishToolConfig::add_load_shared_library(std::string&& value) {
1492 _impl_.load_shared_library_.Add(std::move(value));
1493 // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1494}
1495inline void PublishToolConfig::add_load_shared_library(const char* value) {
1496 GOOGLE_DCHECK(value != nullptr);
1497 _impl_.load_shared_library_.Add()->assign(value);
1498 // @@protoc_insertion_point(field_add_char:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1499}
1500inline void PublishToolConfig::add_load_shared_library(const char* value, size_t size) {
1501 _impl_.load_shared_library_.Add()->assign(reinterpret_cast<const char*>(value), size);
1502 // @@protoc_insertion_point(field_add_pointer:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1503}
1504inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1505PublishToolConfig::load_shared_library() const {
1506 // @@protoc_insertion_point(field_list:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1507 return _impl_.load_shared_library_;
1508}
1509inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1510PublishToolConfig::mutable_load_shared_library() {
1511 // @@protoc_insertion_point(field_mutable_list:goby.apps.zeromq.protobuf.PublishToolConfig.load_shared_library)
1512 return &_impl_.load_shared_library_;
1513}
1514
1515// optional double settle_seconds = 30 [default = 0, (.goby.field) = {
1516inline bool PublishToolConfig::_internal_has_settle_seconds() const {
1517 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1518 return value;
1519}
1520inline bool PublishToolConfig::has_settle_seconds() const {
1521 return _internal_has_settle_seconds();
1522}
1523inline void PublishToolConfig::clear_settle_seconds() {
1524 _impl_.settle_seconds_ = 0;
1525 _impl_._has_bits_[0] &= ~0x00000020u;
1526}
1527inline double PublishToolConfig::_internal_settle_seconds() const {
1528 return _impl_.settle_seconds_;
1529}
1530inline double PublishToolConfig::settle_seconds() const {
1531 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.PublishToolConfig.settle_seconds)
1532 return _internal_settle_seconds();
1533}
1534inline void PublishToolConfig::_internal_set_settle_seconds(double value) {
1535 _impl_._has_bits_[0] |= 0x00000020u;
1536 _impl_.settle_seconds_ = value;
1537}
1538inline void PublishToolConfig::set_settle_seconds(double value) {
1539 _internal_set_settle_seconds(value);
1540 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.PublishToolConfig.settle_seconds)
1541}
1542
1543// -------------------------------------------------------------------
1544
1545// SubscribeToolConfig
1546
1547// optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
1548inline bool SubscribeToolConfig::_internal_has_app() const {
1549 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1550 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
1551 return value;
1552}
1553inline bool SubscribeToolConfig::has_app() const {
1554 return _internal_has_app();
1555}
1556inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::_internal_app() const {
1557 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1558 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
1560}
1561inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::app() const {
1562 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.SubscribeToolConfig.app)
1563 return _internal_app();
1564}
1565inline void SubscribeToolConfig::unsafe_arena_set_allocated_app(
1567 if (GetArenaForAllocation() == nullptr) {
1568 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
1569 }
1570 _impl_.app_ = app;
1571 if (app) {
1572 _impl_._has_bits_[0] |= 0x00000008u;
1573 } else {
1574 _impl_._has_bits_[0] &= ~0x00000008u;
1575 }
1576 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.SubscribeToolConfig.app)
1577}
1578inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::release_app() {
1579 _impl_._has_bits_[0] &= ~0x00000008u;
1580 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1581 _impl_.app_ = nullptr;
1582#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1583 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1584 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1585 if (GetArenaForAllocation() == nullptr) { delete old; }
1586#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1587 if (GetArenaForAllocation() != nullptr) {
1588 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1589 }
1590#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1591 return temp;
1592}
1593inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::unsafe_arena_release_app() {
1594 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.SubscribeToolConfig.app)
1595 _impl_._has_bits_[0] &= ~0x00000008u;
1596 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1597 _impl_.app_ = nullptr;
1598 return temp;
1599}
1600inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::_internal_mutable_app() {
1601 _impl_._has_bits_[0] |= 0x00000008u;
1602 if (_impl_.app_ == nullptr) {
1603 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
1604 _impl_.app_ = p;
1605 }
1606 return _impl_.app_;
1607}
1608inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::mutable_app() {
1609 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
1610 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.SubscribeToolConfig.app)
1611 return _msg;
1612}
1613inline void SubscribeToolConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
1614 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1615 if (message_arena == nullptr) {
1616 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
1617 }
1618 if (app) {
1619 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1620 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1621 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
1622 if (message_arena != submessage_arena) {
1623 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1624 message_arena, app, submessage_arena);
1625 }
1626 _impl_._has_bits_[0] |= 0x00000008u;
1627 } else {
1628 _impl_._has_bits_[0] &= ~0x00000008u;
1629 }
1630 _impl_.app_ = app;
1631 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.SubscribeToolConfig.app)
1632}
1633
1634// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
1635inline bool SubscribeToolConfig::_internal_has_interprocess() const {
1636 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1637 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
1638 return value;
1639}
1640inline bool SubscribeToolConfig::has_interprocess() const {
1641 return _internal_has_interprocess();
1642}
1643inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& SubscribeToolConfig::_internal_interprocess() const {
1644 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1645 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
1647}
1648inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& SubscribeToolConfig::interprocess() const {
1649 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.SubscribeToolConfig.interprocess)
1650 return _internal_interprocess();
1651}
1652inline void SubscribeToolConfig::unsafe_arena_set_allocated_interprocess(
1654 if (GetArenaForAllocation() == nullptr) {
1655 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1656 }
1657 _impl_.interprocess_ = interprocess;
1658 if (interprocess) {
1659 _impl_._has_bits_[0] |= 0x00000010u;
1660 } else {
1661 _impl_._has_bits_[0] &= ~0x00000010u;
1662 }
1663 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.SubscribeToolConfig.interprocess)
1664}
1665inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::release_interprocess() {
1666 _impl_._has_bits_[0] &= ~0x00000010u;
1667 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1668 _impl_.interprocess_ = nullptr;
1669#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1670 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1671 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1672 if (GetArenaForAllocation() == nullptr) { delete old; }
1673#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1674 if (GetArenaForAllocation() != nullptr) {
1675 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1676 }
1677#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1678 return temp;
1679}
1680inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::unsafe_arena_release_interprocess() {
1681 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.SubscribeToolConfig.interprocess)
1682 _impl_._has_bits_[0] &= ~0x00000010u;
1683 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1684 _impl_.interprocess_ = nullptr;
1685 return temp;
1686}
1687inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::_internal_mutable_interprocess() {
1688 _impl_._has_bits_[0] |= 0x00000010u;
1689 if (_impl_.interprocess_ == nullptr) {
1691 _impl_.interprocess_ = p;
1692 }
1693 return _impl_.interprocess_;
1694}
1695inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::mutable_interprocess() {
1696 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
1697 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.SubscribeToolConfig.interprocess)
1698 return _msg;
1699}
1700inline void SubscribeToolConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1701 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1702 if (message_arena == nullptr) {
1703 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1704 }
1705 if (interprocess) {
1706 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1707 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1708 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
1709 if (message_arena != submessage_arena) {
1710 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1711 message_arena, interprocess, submessage_arena);
1712 }
1713 _impl_._has_bits_[0] |= 0x00000010u;
1714 } else {
1715 _impl_._has_bits_[0] &= ~0x00000010u;
1716 }
1717 _impl_.interprocess_ = interprocess;
1718 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.SubscribeToolConfig.interprocess)
1719}
1720
1721// optional string group_regex = 10 [default = ".*", (.goby.field) = {
1722inline bool SubscribeToolConfig::_internal_has_group_regex() const {
1723 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1724 return value;
1725}
1726inline bool SubscribeToolConfig::has_group_regex() const {
1727 return _internal_has_group_regex();
1728}
1729inline void SubscribeToolConfig::clear_group_regex() {
1730 _impl_.group_regex_.ClearToDefault(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1731 _impl_._has_bits_[0] &= ~0x00000001u;
1732}
1733inline const std::string& SubscribeToolConfig::group_regex() const {
1734 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.SubscribeToolConfig.group_regex)
1735 if (_impl_.group_regex_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_group_regex_.get();
1736 return _internal_group_regex();
1737}
1738template <typename ArgT0, typename... ArgT>
1739inline PROTOBUF_ALWAYS_INLINE
1740void SubscribeToolConfig::set_group_regex(ArgT0&& arg0, ArgT... args) {
1741 _impl_._has_bits_[0] |= 0x00000001u;
1742 _impl_.group_regex_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1743 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.SubscribeToolConfig.group_regex)
1744}
1745inline std::string* SubscribeToolConfig::mutable_group_regex() {
1746 std::string* _s = _internal_mutable_group_regex();
1747 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.SubscribeToolConfig.group_regex)
1748 return _s;
1749}
1750inline const std::string& SubscribeToolConfig::_internal_group_regex() const {
1751 return _impl_.group_regex_.Get();
1752}
1753inline void SubscribeToolConfig::_internal_set_group_regex(const std::string& value) {
1754 _impl_._has_bits_[0] |= 0x00000001u;
1755 _impl_.group_regex_.Set(value, GetArenaForAllocation());
1756}
1757inline std::string* SubscribeToolConfig::_internal_mutable_group_regex() {
1758 _impl_._has_bits_[0] |= 0x00000001u;
1759 return _impl_.group_regex_.Mutable(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1760}
1761inline std::string* SubscribeToolConfig::release_group_regex() {
1762 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.SubscribeToolConfig.group_regex)
1763 if (!_internal_has_group_regex()) {
1764 return nullptr;
1765 }
1766 _impl_._has_bits_[0] &= ~0x00000001u;
1767 auto* p = _impl_.group_regex_.Release();
1768 return p;
1769}
1770inline void SubscribeToolConfig::set_allocated_group_regex(std::string* group_regex) {
1771 if (group_regex != nullptr) {
1772 _impl_._has_bits_[0] |= 0x00000001u;
1773 } else {
1774 _impl_._has_bits_[0] &= ~0x00000001u;
1775 }
1776 _impl_.group_regex_.SetAllocated(group_regex, GetArenaForAllocation());
1777 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.SubscribeToolConfig.group_regex)
1778}
1779
1780// optional string type_regex = 11 [default = ".*", (.goby.field) = {
1781inline bool SubscribeToolConfig::_internal_has_type_regex() const {
1782 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1783 return value;
1784}
1785inline bool SubscribeToolConfig::has_type_regex() const {
1786 return _internal_has_type_regex();
1787}
1788inline void SubscribeToolConfig::clear_type_regex() {
1789 _impl_.type_regex_.ClearToDefault(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1790 _impl_._has_bits_[0] &= ~0x00000002u;
1791}
1792inline const std::string& SubscribeToolConfig::type_regex() const {
1793 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.SubscribeToolConfig.type_regex)
1794 if (_impl_.type_regex_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_type_regex_.get();
1795 return _internal_type_regex();
1796}
1797template <typename ArgT0, typename... ArgT>
1798inline PROTOBUF_ALWAYS_INLINE
1799void SubscribeToolConfig::set_type_regex(ArgT0&& arg0, ArgT... args) {
1800 _impl_._has_bits_[0] |= 0x00000002u;
1801 _impl_.type_regex_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1802 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.SubscribeToolConfig.type_regex)
1803}
1804inline std::string* SubscribeToolConfig::mutable_type_regex() {
1805 std::string* _s = _internal_mutable_type_regex();
1806 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.SubscribeToolConfig.type_regex)
1807 return _s;
1808}
1809inline const std::string& SubscribeToolConfig::_internal_type_regex() const {
1810 return _impl_.type_regex_.Get();
1811}
1812inline void SubscribeToolConfig::_internal_set_type_regex(const std::string& value) {
1813 _impl_._has_bits_[0] |= 0x00000002u;
1814 _impl_.type_regex_.Set(value, GetArenaForAllocation());
1815}
1816inline std::string* SubscribeToolConfig::_internal_mutable_type_regex() {
1817 _impl_._has_bits_[0] |= 0x00000002u;
1818 return _impl_.type_regex_.Mutable(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1819}
1820inline std::string* SubscribeToolConfig::release_type_regex() {
1821 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.SubscribeToolConfig.type_regex)
1822 if (!_internal_has_type_regex()) {
1823 return nullptr;
1824 }
1825 _impl_._has_bits_[0] &= ~0x00000002u;
1826 auto* p = _impl_.type_regex_.Release();
1827 return p;
1828}
1829inline void SubscribeToolConfig::set_allocated_type_regex(std::string* type_regex) {
1830 if (type_regex != nullptr) {
1831 _impl_._has_bits_[0] |= 0x00000002u;
1832 } else {
1833 _impl_._has_bits_[0] &= ~0x00000002u;
1834 }
1835 _impl_.type_regex_.SetAllocated(type_regex, GetArenaForAllocation());
1836 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.SubscribeToolConfig.type_regex)
1837}
1838
1839// optional string scheme = 12 [(.goby.field) = {
1840inline bool SubscribeToolConfig::_internal_has_scheme() const {
1841 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1842 return value;
1843}
1844inline bool SubscribeToolConfig::has_scheme() const {
1845 return _internal_has_scheme();
1846}
1847inline void SubscribeToolConfig::clear_scheme() {
1848 _impl_.scheme_.ClearToEmpty();
1849 _impl_._has_bits_[0] &= ~0x00000004u;
1850}
1851inline const std::string& SubscribeToolConfig::scheme() const {
1852 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.SubscribeToolConfig.scheme)
1853 return _internal_scheme();
1854}
1855template <typename ArgT0, typename... ArgT>
1856inline PROTOBUF_ALWAYS_INLINE
1857void SubscribeToolConfig::set_scheme(ArgT0&& arg0, ArgT... args) {
1858 _impl_._has_bits_[0] |= 0x00000004u;
1859 _impl_.scheme_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1860 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.SubscribeToolConfig.scheme)
1861}
1862inline std::string* SubscribeToolConfig::mutable_scheme() {
1863 std::string* _s = _internal_mutable_scheme();
1864 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.SubscribeToolConfig.scheme)
1865 return _s;
1866}
1867inline const std::string& SubscribeToolConfig::_internal_scheme() const {
1868 return _impl_.scheme_.Get();
1869}
1870inline void SubscribeToolConfig::_internal_set_scheme(const std::string& value) {
1871 _impl_._has_bits_[0] |= 0x00000004u;
1872 _impl_.scheme_.Set(value, GetArenaForAllocation());
1873}
1874inline std::string* SubscribeToolConfig::_internal_mutable_scheme() {
1875 _impl_._has_bits_[0] |= 0x00000004u;
1876 return _impl_.scheme_.Mutable(GetArenaForAllocation());
1877}
1878inline std::string* SubscribeToolConfig::release_scheme() {
1879 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.SubscribeToolConfig.scheme)
1880 if (!_internal_has_scheme()) {
1881 return nullptr;
1882 }
1883 _impl_._has_bits_[0] &= ~0x00000004u;
1884 auto* p = _impl_.scheme_.Release();
1885#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1886 if (_impl_.scheme_.IsDefault()) {
1887 _impl_.scheme_.Set("", GetArenaForAllocation());
1888 }
1889#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1890 return p;
1891}
1892inline void SubscribeToolConfig::set_allocated_scheme(std::string* scheme) {
1893 if (scheme != nullptr) {
1894 _impl_._has_bits_[0] |= 0x00000004u;
1895 } else {
1896 _impl_._has_bits_[0] &= ~0x00000004u;
1897 }
1898 _impl_.scheme_.SetAllocated(scheme, GetArenaForAllocation());
1899#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1900 if (_impl_.scheme_.IsDefault()) {
1901 _impl_.scheme_.Set("", GetArenaForAllocation());
1902 }
1903#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1904 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.SubscribeToolConfig.scheme)
1905}
1906
1907// repeated string load_shared_library = 20 [(.goby.field) = {
1908inline int SubscribeToolConfig::_internal_load_shared_library_size() const {
1909 return _impl_.load_shared_library_.size();
1910}
1911inline int SubscribeToolConfig::load_shared_library_size() const {
1912 return _internal_load_shared_library_size();
1913}
1914inline void SubscribeToolConfig::clear_load_shared_library() {
1915 _impl_.load_shared_library_.Clear();
1916}
1917inline std::string* SubscribeToolConfig::add_load_shared_library() {
1918 std::string* _s = _internal_add_load_shared_library();
1919 // @@protoc_insertion_point(field_add_mutable:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1920 return _s;
1921}
1922inline const std::string& SubscribeToolConfig::_internal_load_shared_library(int index) const {
1923 return _impl_.load_shared_library_.Get(index);
1924}
1925inline const std::string& SubscribeToolConfig::load_shared_library(int index) const {
1926 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1927 return _internal_load_shared_library(index);
1928}
1929inline std::string* SubscribeToolConfig::mutable_load_shared_library(int index) {
1930 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1931 return _impl_.load_shared_library_.Mutable(index);
1932}
1933inline void SubscribeToolConfig::set_load_shared_library(int index, const std::string& value) {
1934 _impl_.load_shared_library_.Mutable(index)->assign(value);
1935 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1936}
1937inline void SubscribeToolConfig::set_load_shared_library(int index, std::string&& value) {
1938 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1939 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1940}
1941inline void SubscribeToolConfig::set_load_shared_library(int index, const char* value) {
1942 GOOGLE_DCHECK(value != nullptr);
1943 _impl_.load_shared_library_.Mutable(index)->assign(value);
1944 // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1945}
1946inline void SubscribeToolConfig::set_load_shared_library(int index, const char* value, size_t size) {
1947 _impl_.load_shared_library_.Mutable(index)->assign(
1948 reinterpret_cast<const char*>(value), size);
1949 // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1950}
1951inline std::string* SubscribeToolConfig::_internal_add_load_shared_library() {
1952 return _impl_.load_shared_library_.Add();
1953}
1954inline void SubscribeToolConfig::add_load_shared_library(const std::string& value) {
1955 _impl_.load_shared_library_.Add()->assign(value);
1956 // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1957}
1958inline void SubscribeToolConfig::add_load_shared_library(std::string&& value) {
1959 _impl_.load_shared_library_.Add(std::move(value));
1960 // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1961}
1962inline void SubscribeToolConfig::add_load_shared_library(const char* value) {
1963 GOOGLE_DCHECK(value != nullptr);
1964 _impl_.load_shared_library_.Add()->assign(value);
1965 // @@protoc_insertion_point(field_add_char:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1966}
1967inline void SubscribeToolConfig::add_load_shared_library(const char* value, size_t size) {
1968 _impl_.load_shared_library_.Add()->assign(reinterpret_cast<const char*>(value), size);
1969 // @@protoc_insertion_point(field_add_pointer:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1970}
1971inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1972SubscribeToolConfig::load_shared_library() const {
1973 // @@protoc_insertion_point(field_list:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1974 return _impl_.load_shared_library_;
1975}
1976inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1977SubscribeToolConfig::mutable_load_shared_library() {
1978 // @@protoc_insertion_point(field_mutable_list:goby.apps.zeromq.protobuf.SubscribeToolConfig.load_shared_library)
1979 return &_impl_.load_shared_library_;
1980}
1981
1982// optional bool include_internal_groups = 30 [default = false];
1983inline bool SubscribeToolConfig::_internal_has_include_internal_groups() const {
1984 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1985 return value;
1986}
1987inline bool SubscribeToolConfig::has_include_internal_groups() const {
1988 return _internal_has_include_internal_groups();
1989}
1990inline void SubscribeToolConfig::clear_include_internal_groups() {
1991 _impl_.include_internal_groups_ = false;
1992 _impl_._has_bits_[0] &= ~0x00000020u;
1993}
1994inline bool SubscribeToolConfig::_internal_include_internal_groups() const {
1995 return _impl_.include_internal_groups_;
1996}
1997inline bool SubscribeToolConfig::include_internal_groups() const {
1998 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.SubscribeToolConfig.include_internal_groups)
1999 return _internal_include_internal_groups();
2000}
2001inline void SubscribeToolConfig::_internal_set_include_internal_groups(bool value) {
2002 _impl_._has_bits_[0] |= 0x00000020u;
2003 _impl_.include_internal_groups_ = value;
2004}
2005inline void SubscribeToolConfig::set_include_internal_groups(bool value) {
2006 _internal_set_include_internal_groups(value);
2007 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.SubscribeToolConfig.include_internal_groups)
2008}
2009
2010#ifdef __GNUC__
2011 #pragma GCC diagnostic pop
2012#endif // __GNUC__
2013// -------------------------------------------------------------------
2014
2015// -------------------------------------------------------------------
2016
2017
2018// @@protoc_insertion_point(namespace_scope)
2019
2020} // namespace protobuf
2021} // namespace zeromq
2022} // namespace apps
2023} // namespace goby
2024
2025PROTOBUF_NAMESPACE_OPEN
2026
2027template <> struct is_proto_enum< ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action> : ::std::true_type {};
2028template <>
2030 return ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action_descriptor();
2031}
2032
2033PROTOBUF_NAMESPACE_CLOSE
2034
2035// @@protoc_insertion_point(global_scope)
2036
2037#include <google/protobuf/port_undef.inc>
2038#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
void set_value(ArgT0 &&arg0, ArgT... args)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PublishToolConfig(PublishToolConfig &&from) noexcept
PublishToolConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_type(ArgT0 &&arg0, ArgT... args)
PublishToolConfig & operator=(PublishToolConfig &&from) noexcept
void CopyFrom(const PublishToolConfig &from)
static const PublishToolConfig & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const PublishToolConfig * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PublishToolConfig & operator=(const PublishToolConfig &from)
PROTOBUF_CONSTEXPR PublishToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(PublishToolConfig *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_group(ArgT0 &&arg0, ArgT... args)
void MergeFrom(const PublishToolConfig &from)
PublishToolConfig(const PublishToolConfig &from)
friend void swap(PublishToolConfig &a, PublishToolConfig &b)
PublishToolConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
SubscribeToolConfig(SubscribeToolConfig &&from) noexcept
friend void swap(SubscribeToolConfig &a, SubscribeToolConfig &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
SubscribeToolConfig(const SubscribeToolConfig &from)
SubscribeToolConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const SubscribeToolConfig * internal_default_instance()
SubscribeToolConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_type_regex(ArgT0 &&arg0, ArgT... args)
void MergeFrom(const SubscribeToolConfig &from)
void set_scheme(ArgT0 &&arg0, ArgT... args)
void UnsafeArenaSwap(SubscribeToolConfig *other)
void CopyFrom(const SubscribeToolConfig &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
SubscribeToolConfig & operator=(const SubscribeToolConfig &from)
SubscribeToolConfig & operator=(SubscribeToolConfig &&from) noexcept
void set_group_regex(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const SubscribeToolConfig & default_instance()
PROTOBUF_CONSTEXPR SubscribeToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Action_descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
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()
ZeroMQToolConfig & operator=(const ZeroMQToolConfig &from)
ZeroMQToolConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(ZeroMQToolConfig &a, ZeroMQToolConfig &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
ZeroMQToolConfig(const ZeroMQToolConfig &from)
static bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Action *value)
static const std::string & Action_Name(T enum_t_value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_CONSTEXPR ZeroMQToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
ZeroMQToolConfig(ZeroMQToolConfig &&from) noexcept
void MergeFrom(const ZeroMQToolConfig &from)
ZeroMQToolConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ZeroMQToolConfig & default_instance()
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action action() const
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
static const ZeroMQToolConfig * internal_default_instance()
void CopyFrom(const ZeroMQToolConfig &from)
void UnsafeArenaSwap(ZeroMQToolConfig *other)
void set_action(::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action value)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
ZeroMQToolConfig & operator=(ZeroMQToolConfig &&from) noexcept
::goby::middleware::protobuf::AppConfig * mutable_app()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::goby::middleware::protobuf::AppConfig & app() const
goby::util::logger::GroupSetter group(std::string n)
bool ZeroMQToolConfig_Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ZeroMQToolConfig_Action *value)
constexpr ZeroMQToolConfig_Action ZeroMQToolConfig_Action_Action_MIN
bool ZeroMQToolConfig_Action_IsValid(int value)
constexpr ZeroMQToolConfig_Action ZeroMQToolConfig_Action_Action_MAX
constexpr int ZeroMQToolConfig_Action_Action_ARRAYSIZE
ZeroMQToolConfigDefaultTypeInternal _ZeroMQToolConfig_default_instance_
const std::string & ZeroMQToolConfig_Action_Name(T enum_t_value)
SubscribeToolConfigDefaultTypeInternal _SubscribeToolConfig_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ZeroMQToolConfig_Action_descriptor()
PublishToolConfigDefaultTypeInternal _PublishToolConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
#define ByteSizeLong
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action >()