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