Goby3 3.4.0
2026.04.13
Loading...
Searching...
No Matches
tool_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/middleware/protobuf/tool_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto;
54namespace goby {
55namespace middleware {
56namespace protobuf {
57class PublishToolConfig;
58struct PublishToolConfigDefaultTypeInternal;
59extern PublishToolConfigDefaultTypeInternal _PublishToolConfig_default_instance_;
60class SubscribeToolConfig;
61struct SubscribeToolConfigDefaultTypeInternal;
62extern SubscribeToolConfigDefaultTypeInternal _SubscribeToolConfig_default_instance_;
63} // namespace protobuf
64} // namespace middleware
65} // namespace goby
66PROTOBUF_NAMESPACE_OPEN
67template<> ::goby::middleware::protobuf::PublishToolConfig* Arena::CreateMaybeMessage<::goby::middleware::protobuf::PublishToolConfig>(Arena*);
68template<> ::goby::middleware::protobuf::SubscribeToolConfig* Arena::CreateMaybeMessage<::goby::middleware::protobuf::SubscribeToolConfig>(Arena*);
69PROTOBUF_NAMESPACE_CLOSE
70namespace goby {
71namespace middleware {
72namespace protobuf {
73
74// ===================================================================
75
76class PublishToolConfig final :
77 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.PublishToolConfig) */ {
78 public:
79 inline PublishToolConfig() : PublishToolConfig(nullptr) {}
81 explicit PROTOBUF_CONSTEXPR PublishToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
82
86 *this = ::std::move(from);
87 }
88
90 CopyFrom(from);
91 return *this;
92 }
94 if (this == &from) return *this;
95 if (GetOwningArena() == from.GetOwningArena()
96 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
97 && GetOwningArena() != nullptr
98 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
99 ) {
100 InternalSwap(&from);
101 } else {
102 CopyFrom(from);
103 }
104 return *this;
105 }
106
107 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
108 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
109 }
110 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
111 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
112 }
113
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115 return GetDescriptor();
116 }
117 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118 return default_instance().GetMetadata().descriptor;
119 }
120 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121 return default_instance().GetMetadata().reflection;
122 }
125 }
127 return reinterpret_cast<const PublishToolConfig*>(
129 }
130 static constexpr int kIndexInFileMessages =
131 0;
132
134 a.Swap(&b);
135 }
136 inline void Swap(PublishToolConfig* other) {
137 if (other == this) return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() != nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
141 #else // PROTOBUF_FORCE_COPY_IN_SWAP
142 if (GetOwningArena() == other->GetOwningArena()) {
143 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144 InternalSwap(other);
145 } else {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147 }
148 }
150 if (other == this) return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 InternalSwap(other);
153 }
154
155 // implements Message ----------------------------------------------
156
157 PublishToolConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158 return CreateMaybeMessage<PublishToolConfig>(arena);
159 }
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161 void CopyFrom(const PublishToolConfig& from);
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163 void MergeFrom( const PublishToolConfig& from) {
164 PublishToolConfig::MergeImpl(*this, from);
165 }
166 private:
167 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
168 public:
169 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
170 bool IsInitialized() const final;
171
172 size_t ByteSizeLong() const final;
173 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
175 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
177
178 private:
179 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
180 void SharedDtor();
181 void SetCachedSize(int size) const final;
182 void InternalSwap(PublishToolConfig* other);
183
184 private:
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "goby.middleware.protobuf.PublishToolConfig";
188 }
189 protected:
190 explicit PublishToolConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
191 bool is_message_owned = false);
192 public:
193
194 static const ClassData _class_data_;
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
196
197 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198
199 // nested types ----------------------------------------------------
200
201 // accessors -------------------------------------------------------
202
203 enum : int {
210 };
211 // repeated string load_shared_library = 20 [(.goby.field) = {
212 int load_shared_library_size() const;
213 private:
214 int _internal_load_shared_library_size() const;
215 public:
217 const std::string& load_shared_library(int index) const;
218 std::string* mutable_load_shared_library(int index);
219 void set_load_shared_library(int index, const std::string& value);
220 void set_load_shared_library(int index, std::string&& value);
221 void set_load_shared_library(int index, const char* value);
222 void set_load_shared_library(int index, const char* value, size_t size);
223 std::string* add_load_shared_library();
224 void add_load_shared_library(const std::string& value);
225 void add_load_shared_library(std::string&& value);
226 void add_load_shared_library(const char* value);
227 void add_load_shared_library(const char* value, size_t size);
228 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library() const;
229 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
230 private:
231 const std::string& _internal_load_shared_library(int index) const;
232 std::string* _internal_add_load_shared_library();
233 public:
234
235 // required string group = 10 [(.goby.field) = {
236 bool has_group() const;
237 private:
238 bool _internal_has_group() const;
239 public:
240 void clear_group();
241 const std::string& group() const;
242 template <typename ArgT0 = const std::string&, typename... ArgT>
243 void set_group(ArgT0&& arg0, ArgT... args);
244 std::string* mutable_group();
245 PROTOBUF_NODISCARD std::string* release_group();
246 void set_allocated_group(std::string* group);
247 private:
248 const std::string& _internal_group() const;
249 inline PROTOBUF_ALWAYS_INLINE void _internal_set_group(const std::string& value);
250 std::string* _internal_mutable_group();
251 public:
252
253 // required string type = 11 [(.goby.field) = {
254 bool has_type() const;
255 private:
256 bool _internal_has_type() const;
257 public:
258 void clear_type();
259 const std::string& type() const;
260 template <typename ArgT0 = const std::string&, typename... ArgT>
261 void set_type(ArgT0&& arg0, ArgT... args);
262 std::string* mutable_type();
263 PROTOBUF_NODISCARD std::string* release_type();
264 void set_allocated_type(std::string* type);
265 private:
266 const std::string& _internal_type() const;
267 inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
268 std::string* _internal_mutable_type();
269 public:
270
271 // required string value = 12 [(.goby.field) = {
272 bool has_value() const;
273 private:
274 bool _internal_has_value() const;
275 public:
276 void clear_value();
277 const std::string& value() const;
278 template <typename ArgT0 = const std::string&, typename... ArgT>
279 void set_value(ArgT0&& arg0, ArgT... args);
280 std::string* mutable_value();
281 PROTOBUF_NODISCARD std::string* release_value();
282 void set_allocated_value(std::string* value);
283 private:
284 const std::string& _internal_value() const;
285 inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
286 std::string* _internal_mutable_value();
287 public:
288
289 // optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
290 bool has_app() const;
291 private:
292 bool _internal_has_app() const;
293 public:
294 void clear_app();
295 const ::goby::middleware::protobuf::AppConfig& app() const;
296 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
299 private:
300 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
301 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
302 public:
306
307 // optional .goby.udpm.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
308 bool has_interprocess() const;
309 private:
310 bool _internal_has_interprocess() const;
311 public:
313 const ::goby::udpm::protobuf::InterProcessPortalConfig& interprocess() const;
314 PROTOBUF_NODISCARD ::goby::udpm::protobuf::InterProcessPortalConfig* release_interprocess();
317 private:
318 const ::goby::udpm::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
319 ::goby::udpm::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
320 public:
324
325 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.PublishToolConfig)
326 private:
327 class _Internal;
328
329 // helper for ByteSizeLong()
330 size_t RequiredFieldsByteSizeFallback() const;
331
332 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
333 typedef void InternalArenaConstructable_;
334 typedef void DestructorSkippable_;
335 struct Impl_ {
336 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
337 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
338 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
339 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
340 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
341 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
344 };
345 union { Impl_ _impl_; };
346 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto;
347};
348// -------------------------------------------------------------------
349
351 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.SubscribeToolConfig) */ {
352 public:
355 explicit PROTOBUF_CONSTEXPR SubscribeToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
356
360 *this = ::std::move(from);
361 }
362
364 CopyFrom(from);
365 return *this;
366 }
368 if (this == &from) return *this;
369 if (GetOwningArena() == from.GetOwningArena()
370 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
371 && GetOwningArena() != nullptr
372 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
373 ) {
374 InternalSwap(&from);
375 } else {
376 CopyFrom(from);
377 }
378 return *this;
379 }
380
381 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
382 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
383 }
384 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
385 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
386 }
387
388 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
389 return GetDescriptor();
390 }
391 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
392 return default_instance().GetMetadata().descriptor;
393 }
394 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
395 return default_instance().GetMetadata().reflection;
396 }
398 return *internal_default_instance();
399 }
401 return reinterpret_cast<const SubscribeToolConfig*>(
403 }
404 static constexpr int kIndexInFileMessages =
405 1;
406
408 a.Swap(&b);
409 }
410 inline void Swap(SubscribeToolConfig* other) {
411 if (other == this) return;
412 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
413 if (GetOwningArena() != nullptr &&
414 GetOwningArena() == other->GetOwningArena()) {
415 #else // PROTOBUF_FORCE_COPY_IN_SWAP
416 if (GetOwningArena() == other->GetOwningArena()) {
417 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
418 InternalSwap(other);
419 } else {
420 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
421 }
422 }
424 if (other == this) return;
425 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
426 InternalSwap(other);
427 }
428
429 // implements Message ----------------------------------------------
430
431 SubscribeToolConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
432 return CreateMaybeMessage<SubscribeToolConfig>(arena);
433 }
434 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
435 void CopyFrom(const SubscribeToolConfig& from);
436 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
437 void MergeFrom( const SubscribeToolConfig& from) {
438 SubscribeToolConfig::MergeImpl(*this, from);
439 }
440 private:
441 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
442 public:
443 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
444 bool IsInitialized() const final;
445
446 size_t ByteSizeLong() const final;
447 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
448 uint8_t* _InternalSerialize(
449 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
450 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
451
452 private:
453 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
454 void SharedDtor();
455 void SetCachedSize(int size) const final;
456 void InternalSwap(SubscribeToolConfig* other);
457
458 private:
459 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
460 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
461 return "goby.middleware.protobuf.SubscribeToolConfig";
462 }
463 protected:
464 explicit SubscribeToolConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
465 bool is_message_owned = false);
466 public:
467
468 static const ClassData _class_data_;
469 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
470
471 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
472
473 // nested types ----------------------------------------------------
474
475 // accessors -------------------------------------------------------
476
477 enum : int {
478 kLoadSharedLibraryFieldNumber = 20,
479 kGroupRegexFieldNumber = 10,
480 kTypeRegexFieldNumber = 11,
481 kSchemeFieldNumber = 12,
482 kAppFieldNumber = 1,
483 kInterprocessFieldNumber = 2,
484 kIncludeInternalGroupsFieldNumber = 30,
485 };
486 // repeated string load_shared_library = 20 [(.goby.field) = {
487 int load_shared_library_size() const;
488 private:
489 int _internal_load_shared_library_size() const;
490 public:
491 void clear_load_shared_library();
492 const std::string& load_shared_library(int index) const;
493 std::string* mutable_load_shared_library(int index);
494 void set_load_shared_library(int index, const std::string& value);
495 void set_load_shared_library(int index, std::string&& value);
496 void set_load_shared_library(int index, const char* value);
497 void set_load_shared_library(int index, const char* value, size_t size);
498 std::string* add_load_shared_library();
499 void add_load_shared_library(const std::string& value);
500 void add_load_shared_library(std::string&& value);
501 void add_load_shared_library(const char* value);
502 void add_load_shared_library(const char* value, size_t size);
503 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library() const;
504 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
505 private:
506 const std::string& _internal_load_shared_library(int index) const;
507 std::string* _internal_add_load_shared_library();
508 public:
509
510 // optional string group_regex = 10 [default = ".*", (.goby.field) = {
511 bool has_group_regex() const;
512 private:
513 bool _internal_has_group_regex() const;
514 public:
515 void clear_group_regex();
516 const std::string& group_regex() const;
517 template <typename ArgT0 = const std::string&, typename... ArgT>
518 void set_group_regex(ArgT0&& arg0, ArgT... args);
519 std::string* mutable_group_regex();
520 PROTOBUF_NODISCARD std::string* release_group_regex();
521 void set_allocated_group_regex(std::string* group_regex);
522 private:
523 const std::string& _internal_group_regex() const;
524 inline PROTOBUF_ALWAYS_INLINE void _internal_set_group_regex(const std::string& value);
525 std::string* _internal_mutable_group_regex();
526 public:
527
528 // optional string type_regex = 11 [default = ".*", (.goby.field) = {
529 bool has_type_regex() const;
530 private:
531 bool _internal_has_type_regex() const;
532 public:
533 void clear_type_regex();
534 const std::string& type_regex() const;
535 template <typename ArgT0 = const std::string&, typename... ArgT>
536 void set_type_regex(ArgT0&& arg0, ArgT... args);
537 std::string* mutable_type_regex();
538 PROTOBUF_NODISCARD std::string* release_type_regex();
539 void set_allocated_type_regex(std::string* type_regex);
540 private:
541 const std::string& _internal_type_regex() const;
542 inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_regex(const std::string& value);
543 std::string* _internal_mutable_type_regex();
544 public:
545
546 // optional string scheme = 12 [(.goby.field) = {
547 bool has_scheme() const;
548 private:
549 bool _internal_has_scheme() const;
550 public:
551 void clear_scheme();
552 const std::string& scheme() const;
553 template <typename ArgT0 = const std::string&, typename... ArgT>
554 void set_scheme(ArgT0&& arg0, ArgT... args);
555 std::string* mutable_scheme();
556 PROTOBUF_NODISCARD std::string* release_scheme();
557 void set_allocated_scheme(std::string* scheme);
558 private:
559 const std::string& _internal_scheme() const;
560 inline PROTOBUF_ALWAYS_INLINE void _internal_set_scheme(const std::string& value);
561 std::string* _internal_mutable_scheme();
562 public:
563
564 // optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
565 bool has_app() const;
566 private:
567 bool _internal_has_app() const;
568 public:
569 void clear_app();
570 const ::goby::middleware::protobuf::AppConfig& app() const;
571 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
573 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
574 private:
575 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
576 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
577 public:
578 void unsafe_arena_set_allocated_app(
580 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
581
582 // optional .goby.udpm.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
583 bool has_interprocess() const;
584 private:
585 bool _internal_has_interprocess() const;
586 public:
588 const ::goby::udpm::protobuf::InterProcessPortalConfig& interprocess() const;
589 PROTOBUF_NODISCARD ::goby::udpm::protobuf::InterProcessPortalConfig* release_interprocess();
591 void set_allocated_interprocess(::goby::udpm::protobuf::InterProcessPortalConfig* interprocess);
592 private:
593 const ::goby::udpm::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
594 ::goby::udpm::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
595 public:
596 void unsafe_arena_set_allocated_interprocess(
598 ::goby::udpm::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
599
600 // optional bool include_internal_groups = 30 [default = false];
601 bool has_include_internal_groups() const;
602 private:
603 bool _internal_has_include_internal_groups() const;
604 public:
605 void clear_include_internal_groups();
606 bool include_internal_groups() const;
607 void set_include_internal_groups(bool value);
608 private:
609 bool _internal_include_internal_groups() const;
610 void _internal_set_include_internal_groups(bool value);
611 public:
612
613 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.SubscribeToolConfig)
614 private:
615 class _Internal;
616
617 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
618 typedef void InternalArenaConstructable_;
619 typedef void DestructorSkippable_;
620 struct Impl_ {
621 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
622 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
623 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
624 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_group_regex_;
625 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_regex_;
626 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_type_regex_;
627 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_regex_;
628 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scheme_;
631 bool include_internal_groups_;
632 };
633 union { Impl_ _impl_; };
634 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto;
635};
636// ===================================================================
637
638
639// ===================================================================
640
641#ifdef __GNUC__
642 #pragma GCC diagnostic push
643 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
644#endif // __GNUC__
645// PublishToolConfig
646
647// optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
648inline bool PublishToolConfig::_internal_has_app() const {
649 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
650 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
651 return value;
652}
653inline bool PublishToolConfig::has_app() const {
654 return _internal_has_app();
655}
656inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::_internal_app() const {
657 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
658 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
660}
661inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::app() const {
662 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.PublishToolConfig.app)
663 return _internal_app();
664}
665inline void PublishToolConfig::unsafe_arena_set_allocated_app(
667 if (GetArenaForAllocation() == nullptr) {
668 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
669 }
670 _impl_.app_ = app;
671 if (app) {
672 _impl_._has_bits_[0] |= 0x00000008u;
673 } else {
674 _impl_._has_bits_[0] &= ~0x00000008u;
675 }
676 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.protobuf.PublishToolConfig.app)
677}
678inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::release_app() {
679 _impl_._has_bits_[0] &= ~0x00000008u;
680 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
681 _impl_.app_ = nullptr;
682#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
683 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
684 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
685 if (GetArenaForAllocation() == nullptr) { delete old; }
686#else // PROTOBUF_FORCE_COPY_IN_RELEASE
687 if (GetArenaForAllocation() != nullptr) {
688 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
689 }
690#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
691 return temp;
692}
693inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::unsafe_arena_release_app() {
694 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.PublishToolConfig.app)
695 _impl_._has_bits_[0] &= ~0x00000008u;
696 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
697 _impl_.app_ = nullptr;
698 return temp;
699}
700inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::_internal_mutable_app() {
701 _impl_._has_bits_[0] |= 0x00000008u;
702 if (_impl_.app_ == nullptr) {
703 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
704 _impl_.app_ = p;
705 }
706 return _impl_.app_;
707}
708inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::mutable_app() {
709 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
710 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.PublishToolConfig.app)
711 return _msg;
712}
713inline void PublishToolConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
714 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
715 if (message_arena == nullptr) {
716 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
717 }
718 if (app) {
719 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
720 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
721 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
722 if (message_arena != submessage_arena) {
723 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
724 message_arena, app, submessage_arena);
725 }
726 _impl_._has_bits_[0] |= 0x00000008u;
727 } else {
728 _impl_._has_bits_[0] &= ~0x00000008u;
729 }
730 _impl_.app_ = app;
731 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.PublishToolConfig.app)
732}
733
734// optional .goby.udpm.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
735inline bool PublishToolConfig::_internal_has_interprocess() const {
736 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
737 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
738 return value;
739}
740inline bool PublishToolConfig::has_interprocess() const {
741 return _internal_has_interprocess();
742}
743inline const ::goby::udpm::protobuf::InterProcessPortalConfig& PublishToolConfig::_internal_interprocess() const {
744 const ::goby::udpm::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
745 return p != nullptr ? *p : reinterpret_cast<const ::goby::udpm::protobuf::InterProcessPortalConfig&>(
747}
748inline const ::goby::udpm::protobuf::InterProcessPortalConfig& PublishToolConfig::interprocess() const {
749 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.PublishToolConfig.interprocess)
750 return _internal_interprocess();
751}
752inline void PublishToolConfig::unsafe_arena_set_allocated_interprocess(
754 if (GetArenaForAllocation() == nullptr) {
755 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
756 }
757 _impl_.interprocess_ = interprocess;
758 if (interprocess) {
759 _impl_._has_bits_[0] |= 0x00000010u;
760 } else {
761 _impl_._has_bits_[0] &= ~0x00000010u;
762 }
763 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.protobuf.PublishToolConfig.interprocess)
764}
765inline ::goby::udpm::protobuf::InterProcessPortalConfig* PublishToolConfig::release_interprocess() {
766 _impl_._has_bits_[0] &= ~0x00000010u;
767 ::goby::udpm::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
768 _impl_.interprocess_ = nullptr;
769#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
770 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
771 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
772 if (GetArenaForAllocation() == nullptr) { delete old; }
773#else // PROTOBUF_FORCE_COPY_IN_RELEASE
774 if (GetArenaForAllocation() != nullptr) {
775 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
776 }
777#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
778 return temp;
779}
780inline ::goby::udpm::protobuf::InterProcessPortalConfig* PublishToolConfig::unsafe_arena_release_interprocess() {
781 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.PublishToolConfig.interprocess)
782 _impl_._has_bits_[0] &= ~0x00000010u;
783 ::goby::udpm::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
784 _impl_.interprocess_ = nullptr;
785 return temp;
786}
787inline ::goby::udpm::protobuf::InterProcessPortalConfig* PublishToolConfig::_internal_mutable_interprocess() {
788 _impl_._has_bits_[0] |= 0x00000010u;
789 if (_impl_.interprocess_ == nullptr) {
791 _impl_.interprocess_ = p;
792 }
793 return _impl_.interprocess_;
794}
795inline ::goby::udpm::protobuf::InterProcessPortalConfig* PublishToolConfig::mutable_interprocess() {
796 ::goby::udpm::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
797 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.PublishToolConfig.interprocess)
798 return _msg;
799}
800inline void PublishToolConfig::set_allocated_interprocess(::goby::udpm::protobuf::InterProcessPortalConfig* interprocess) {
801 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
802 if (message_arena == nullptr) {
803 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
804 }
805 if (interprocess) {
806 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
807 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
808 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
809 if (message_arena != submessage_arena) {
810 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
811 message_arena, interprocess, submessage_arena);
812 }
813 _impl_._has_bits_[0] |= 0x00000010u;
814 } else {
815 _impl_._has_bits_[0] &= ~0x00000010u;
816 }
817 _impl_.interprocess_ = interprocess;
818 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.PublishToolConfig.interprocess)
819}
820
821// required string group = 10 [(.goby.field) = {
822inline bool PublishToolConfig::_internal_has_group() const {
823 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
824 return value;
825}
826inline bool PublishToolConfig::has_group() const {
827 return _internal_has_group();
828}
829inline void PublishToolConfig::clear_group() {
830 _impl_.group_.ClearToEmpty();
831 _impl_._has_bits_[0] &= ~0x00000001u;
832}
833inline const std::string& PublishToolConfig::group() const {
834 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.PublishToolConfig.group)
835 return _internal_group();
836}
837template <typename ArgT0, typename... ArgT>
838inline PROTOBUF_ALWAYS_INLINE
839void PublishToolConfig::set_group(ArgT0&& arg0, ArgT... args) {
840 _impl_._has_bits_[0] |= 0x00000001u;
841 _impl_.group_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
842 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.PublishToolConfig.group)
843}
844inline std::string* PublishToolConfig::mutable_group() {
845 std::string* _s = _internal_mutable_group();
846 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.PublishToolConfig.group)
847 return _s;
848}
849inline const std::string& PublishToolConfig::_internal_group() const {
850 return _impl_.group_.Get();
851}
852inline void PublishToolConfig::_internal_set_group(const std::string& value) {
853 _impl_._has_bits_[0] |= 0x00000001u;
854 _impl_.group_.Set(value, GetArenaForAllocation());
855}
856inline std::string* PublishToolConfig::_internal_mutable_group() {
857 _impl_._has_bits_[0] |= 0x00000001u;
858 return _impl_.group_.Mutable(GetArenaForAllocation());
859}
860inline std::string* PublishToolConfig::release_group() {
861 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.PublishToolConfig.group)
862 if (!_internal_has_group()) {
863 return nullptr;
864 }
865 _impl_._has_bits_[0] &= ~0x00000001u;
866 auto* p = _impl_.group_.Release();
867#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
868 if (_impl_.group_.IsDefault()) {
869 _impl_.group_.Set("", GetArenaForAllocation());
870 }
871#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
872 return p;
873}
874inline void PublishToolConfig::set_allocated_group(std::string* group) {
875 if (group != nullptr) {
876 _impl_._has_bits_[0] |= 0x00000001u;
877 } else {
878 _impl_._has_bits_[0] &= ~0x00000001u;
879 }
880 _impl_.group_.SetAllocated(group, GetArenaForAllocation());
881#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
882 if (_impl_.group_.IsDefault()) {
883 _impl_.group_.Set("", GetArenaForAllocation());
884 }
885#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
886 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.PublishToolConfig.group)
887}
888
889// required string type = 11 [(.goby.field) = {
890inline bool PublishToolConfig::_internal_has_type() const {
891 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
892 return value;
893}
894inline bool PublishToolConfig::has_type() const {
895 return _internal_has_type();
896}
897inline void PublishToolConfig::clear_type() {
898 _impl_.type_.ClearToEmpty();
899 _impl_._has_bits_[0] &= ~0x00000002u;
900}
901inline const std::string& PublishToolConfig::type() const {
902 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.PublishToolConfig.type)
903 return _internal_type();
904}
905template <typename ArgT0, typename... ArgT>
906inline PROTOBUF_ALWAYS_INLINE
907void PublishToolConfig::set_type(ArgT0&& arg0, ArgT... args) {
908 _impl_._has_bits_[0] |= 0x00000002u;
909 _impl_.type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
910 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.PublishToolConfig.type)
911}
912inline std::string* PublishToolConfig::mutable_type() {
913 std::string* _s = _internal_mutable_type();
914 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.PublishToolConfig.type)
915 return _s;
916}
917inline const std::string& PublishToolConfig::_internal_type() const {
918 return _impl_.type_.Get();
919}
920inline void PublishToolConfig::_internal_set_type(const std::string& value) {
921 _impl_._has_bits_[0] |= 0x00000002u;
922 _impl_.type_.Set(value, GetArenaForAllocation());
923}
924inline std::string* PublishToolConfig::_internal_mutable_type() {
925 _impl_._has_bits_[0] |= 0x00000002u;
926 return _impl_.type_.Mutable(GetArenaForAllocation());
927}
928inline std::string* PublishToolConfig::release_type() {
929 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.PublishToolConfig.type)
930 if (!_internal_has_type()) {
931 return nullptr;
932 }
933 _impl_._has_bits_[0] &= ~0x00000002u;
934 auto* p = _impl_.type_.Release();
935#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
936 if (_impl_.type_.IsDefault()) {
937 _impl_.type_.Set("", GetArenaForAllocation());
938 }
939#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
940 return p;
941}
942inline void PublishToolConfig::set_allocated_type(std::string* type) {
943 if (type != nullptr) {
944 _impl_._has_bits_[0] |= 0x00000002u;
945 } else {
946 _impl_._has_bits_[0] &= ~0x00000002u;
947 }
948 _impl_.type_.SetAllocated(type, GetArenaForAllocation());
949#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
950 if (_impl_.type_.IsDefault()) {
951 _impl_.type_.Set("", GetArenaForAllocation());
952 }
953#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
954 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.PublishToolConfig.type)
955}
956
957// required string value = 12 [(.goby.field) = {
958inline bool PublishToolConfig::_internal_has_value() const {
959 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
960 return value;
961}
962inline bool PublishToolConfig::has_value() const {
963 return _internal_has_value();
964}
965inline void PublishToolConfig::clear_value() {
966 _impl_.value_.ClearToEmpty();
967 _impl_._has_bits_[0] &= ~0x00000004u;
968}
969inline const std::string& PublishToolConfig::value() const {
970 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.PublishToolConfig.value)
971 return _internal_value();
972}
973template <typename ArgT0, typename... ArgT>
974inline PROTOBUF_ALWAYS_INLINE
975void PublishToolConfig::set_value(ArgT0&& arg0, ArgT... args) {
976 _impl_._has_bits_[0] |= 0x00000004u;
977 _impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
978 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.PublishToolConfig.value)
979}
980inline std::string* PublishToolConfig::mutable_value() {
981 std::string* _s = _internal_mutable_value();
982 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.PublishToolConfig.value)
983 return _s;
984}
985inline const std::string& PublishToolConfig::_internal_value() const {
986 return _impl_.value_.Get();
987}
988inline void PublishToolConfig::_internal_set_value(const std::string& value) {
989 _impl_._has_bits_[0] |= 0x00000004u;
990 _impl_.value_.Set(value, GetArenaForAllocation());
991}
992inline std::string* PublishToolConfig::_internal_mutable_value() {
993 _impl_._has_bits_[0] |= 0x00000004u;
994 return _impl_.value_.Mutable(GetArenaForAllocation());
995}
996inline std::string* PublishToolConfig::release_value() {
997 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.PublishToolConfig.value)
998 if (!_internal_has_value()) {
999 return nullptr;
1000 }
1001 _impl_._has_bits_[0] &= ~0x00000004u;
1002 auto* p = _impl_.value_.Release();
1003#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1004 if (_impl_.value_.IsDefault()) {
1005 _impl_.value_.Set("", GetArenaForAllocation());
1006 }
1007#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1008 return p;
1009}
1010inline void PublishToolConfig::set_allocated_value(std::string* value) {
1011 if (value != nullptr) {
1012 _impl_._has_bits_[0] |= 0x00000004u;
1013 } else {
1014 _impl_._has_bits_[0] &= ~0x00000004u;
1015 }
1016 _impl_.value_.SetAllocated(value, GetArenaForAllocation());
1017#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1018 if (_impl_.value_.IsDefault()) {
1019 _impl_.value_.Set("", GetArenaForAllocation());
1020 }
1021#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1022 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.PublishToolConfig.value)
1023}
1024
1025// repeated string load_shared_library = 20 [(.goby.field) = {
1026inline int PublishToolConfig::_internal_load_shared_library_size() const {
1027 return _impl_.load_shared_library_.size();
1028}
1029inline int PublishToolConfig::load_shared_library_size() const {
1030 return _internal_load_shared_library_size();
1031}
1032inline void PublishToolConfig::clear_load_shared_library() {
1033 _impl_.load_shared_library_.Clear();
1034}
1035inline std::string* PublishToolConfig::add_load_shared_library() {
1036 std::string* _s = _internal_add_load_shared_library();
1037 // @@protoc_insertion_point(field_add_mutable:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1038 return _s;
1039}
1040inline const std::string& PublishToolConfig::_internal_load_shared_library(int index) const {
1041 return _impl_.load_shared_library_.Get(index);
1042}
1043inline const std::string& PublishToolConfig::load_shared_library(int index) const {
1044 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1045 return _internal_load_shared_library(index);
1046}
1047inline std::string* PublishToolConfig::mutable_load_shared_library(int index) {
1048 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1049 return _impl_.load_shared_library_.Mutable(index);
1050}
1051inline void PublishToolConfig::set_load_shared_library(int index, const std::string& value) {
1052 _impl_.load_shared_library_.Mutable(index)->assign(value);
1053 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1054}
1055inline void PublishToolConfig::set_load_shared_library(int index, std::string&& value) {
1056 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1057 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1058}
1059inline void PublishToolConfig::set_load_shared_library(int index, const char* value) {
1060 GOOGLE_DCHECK(value != nullptr);
1061 _impl_.load_shared_library_.Mutable(index)->assign(value);
1062 // @@protoc_insertion_point(field_set_char:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1063}
1064inline void PublishToolConfig::set_load_shared_library(int index, const char* value, size_t size) {
1065 _impl_.load_shared_library_.Mutable(index)->assign(
1066 reinterpret_cast<const char*>(value), size);
1067 // @@protoc_insertion_point(field_set_pointer:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1068}
1069inline std::string* PublishToolConfig::_internal_add_load_shared_library() {
1070 return _impl_.load_shared_library_.Add();
1071}
1072inline void PublishToolConfig::add_load_shared_library(const std::string& value) {
1073 _impl_.load_shared_library_.Add()->assign(value);
1074 // @@protoc_insertion_point(field_add:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1075}
1076inline void PublishToolConfig::add_load_shared_library(std::string&& value) {
1077 _impl_.load_shared_library_.Add(std::move(value));
1078 // @@protoc_insertion_point(field_add:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1079}
1080inline void PublishToolConfig::add_load_shared_library(const char* value) {
1081 GOOGLE_DCHECK(value != nullptr);
1082 _impl_.load_shared_library_.Add()->assign(value);
1083 // @@protoc_insertion_point(field_add_char:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1084}
1085inline void PublishToolConfig::add_load_shared_library(const char* value, size_t size) {
1086 _impl_.load_shared_library_.Add()->assign(reinterpret_cast<const char*>(value), size);
1087 // @@protoc_insertion_point(field_add_pointer:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1088}
1089inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1090PublishToolConfig::load_shared_library() const {
1091 // @@protoc_insertion_point(field_list:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1092 return _impl_.load_shared_library_;
1093}
1094inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1095PublishToolConfig::mutable_load_shared_library() {
1096 // @@protoc_insertion_point(field_mutable_list:goby.middleware.protobuf.PublishToolConfig.load_shared_library)
1097 return &_impl_.load_shared_library_;
1098}
1099
1100// -------------------------------------------------------------------
1101
1102// SubscribeToolConfig
1103
1104// optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
1105inline bool SubscribeToolConfig::_internal_has_app() const {
1106 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1107 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
1108 return value;
1109}
1110inline bool SubscribeToolConfig::has_app() const {
1111 return _internal_has_app();
1112}
1113inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::_internal_app() const {
1114 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1115 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
1117}
1118inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::app() const {
1119 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.SubscribeToolConfig.app)
1120 return _internal_app();
1121}
1122inline void SubscribeToolConfig::unsafe_arena_set_allocated_app(
1124 if (GetArenaForAllocation() == nullptr) {
1125 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
1126 }
1127 _impl_.app_ = app;
1128 if (app) {
1129 _impl_._has_bits_[0] |= 0x00000008u;
1130 } else {
1131 _impl_._has_bits_[0] &= ~0x00000008u;
1132 }
1133 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.protobuf.SubscribeToolConfig.app)
1134}
1135inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::release_app() {
1136 _impl_._has_bits_[0] &= ~0x00000008u;
1137 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1138 _impl_.app_ = nullptr;
1139#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1140 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1141 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1142 if (GetArenaForAllocation() == nullptr) { delete old; }
1143#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1144 if (GetArenaForAllocation() != nullptr) {
1145 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1146 }
1147#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1148 return temp;
1149}
1150inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::unsafe_arena_release_app() {
1151 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.SubscribeToolConfig.app)
1152 _impl_._has_bits_[0] &= ~0x00000008u;
1153 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1154 _impl_.app_ = nullptr;
1155 return temp;
1156}
1157inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::_internal_mutable_app() {
1158 _impl_._has_bits_[0] |= 0x00000008u;
1159 if (_impl_.app_ == nullptr) {
1160 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
1161 _impl_.app_ = p;
1162 }
1163 return _impl_.app_;
1164}
1165inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::mutable_app() {
1166 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
1167 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.SubscribeToolConfig.app)
1168 return _msg;
1169}
1170inline void SubscribeToolConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
1171 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1172 if (message_arena == nullptr) {
1173 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
1174 }
1175 if (app) {
1176 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1177 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1178 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
1179 if (message_arena != submessage_arena) {
1180 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1181 message_arena, app, submessage_arena);
1182 }
1183 _impl_._has_bits_[0] |= 0x00000008u;
1184 } else {
1185 _impl_._has_bits_[0] &= ~0x00000008u;
1186 }
1187 _impl_.app_ = app;
1188 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.SubscribeToolConfig.app)
1189}
1190
1191// optional .goby.udpm.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
1192inline bool SubscribeToolConfig::_internal_has_interprocess() const {
1193 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1194 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
1195 return value;
1196}
1197inline bool SubscribeToolConfig::has_interprocess() const {
1198 return _internal_has_interprocess();
1199}
1200inline const ::goby::udpm::protobuf::InterProcessPortalConfig& SubscribeToolConfig::_internal_interprocess() const {
1201 const ::goby::udpm::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1202 return p != nullptr ? *p : reinterpret_cast<const ::goby::udpm::protobuf::InterProcessPortalConfig&>(
1204}
1205inline const ::goby::udpm::protobuf::InterProcessPortalConfig& SubscribeToolConfig::interprocess() const {
1206 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.SubscribeToolConfig.interprocess)
1207 return _internal_interprocess();
1208}
1209inline void SubscribeToolConfig::unsafe_arena_set_allocated_interprocess(
1211 if (GetArenaForAllocation() == nullptr) {
1212 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1213 }
1214 _impl_.interprocess_ = interprocess;
1215 if (interprocess) {
1216 _impl_._has_bits_[0] |= 0x00000010u;
1217 } else {
1218 _impl_._has_bits_[0] &= ~0x00000010u;
1219 }
1220 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.protobuf.SubscribeToolConfig.interprocess)
1221}
1222inline ::goby::udpm::protobuf::InterProcessPortalConfig* SubscribeToolConfig::release_interprocess() {
1223 _impl_._has_bits_[0] &= ~0x00000010u;
1224 ::goby::udpm::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1225 _impl_.interprocess_ = nullptr;
1226#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1227 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1228 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1229 if (GetArenaForAllocation() == nullptr) { delete old; }
1230#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1231 if (GetArenaForAllocation() != nullptr) {
1232 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1233 }
1234#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1235 return temp;
1236}
1237inline ::goby::udpm::protobuf::InterProcessPortalConfig* SubscribeToolConfig::unsafe_arena_release_interprocess() {
1238 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.SubscribeToolConfig.interprocess)
1239 _impl_._has_bits_[0] &= ~0x00000010u;
1240 ::goby::udpm::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1241 _impl_.interprocess_ = nullptr;
1242 return temp;
1243}
1244inline ::goby::udpm::protobuf::InterProcessPortalConfig* SubscribeToolConfig::_internal_mutable_interprocess() {
1245 _impl_._has_bits_[0] |= 0x00000010u;
1246 if (_impl_.interprocess_ == nullptr) {
1248 _impl_.interprocess_ = p;
1249 }
1250 return _impl_.interprocess_;
1251}
1252inline ::goby::udpm::protobuf::InterProcessPortalConfig* SubscribeToolConfig::mutable_interprocess() {
1253 ::goby::udpm::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
1254 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.SubscribeToolConfig.interprocess)
1255 return _msg;
1256}
1257inline void SubscribeToolConfig::set_allocated_interprocess(::goby::udpm::protobuf::InterProcessPortalConfig* interprocess) {
1258 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1259 if (message_arena == nullptr) {
1260 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1261 }
1262 if (interprocess) {
1263 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1264 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1265 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
1266 if (message_arena != submessage_arena) {
1267 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1268 message_arena, interprocess, submessage_arena);
1269 }
1270 _impl_._has_bits_[0] |= 0x00000010u;
1271 } else {
1272 _impl_._has_bits_[0] &= ~0x00000010u;
1273 }
1274 _impl_.interprocess_ = interprocess;
1275 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.SubscribeToolConfig.interprocess)
1276}
1277
1278// optional string group_regex = 10 [default = ".*", (.goby.field) = {
1279inline bool SubscribeToolConfig::_internal_has_group_regex() const {
1280 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1281 return value;
1282}
1283inline bool SubscribeToolConfig::has_group_regex() const {
1284 return _internal_has_group_regex();
1285}
1286inline void SubscribeToolConfig::clear_group_regex() {
1287 _impl_.group_regex_.ClearToDefault(::goby::middleware::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1288 _impl_._has_bits_[0] &= ~0x00000001u;
1289}
1290inline const std::string& SubscribeToolConfig::group_regex() const {
1291 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.SubscribeToolConfig.group_regex)
1292 if (_impl_.group_regex_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_group_regex_.get();
1293 return _internal_group_regex();
1294}
1295template <typename ArgT0, typename... ArgT>
1296inline PROTOBUF_ALWAYS_INLINE
1297void SubscribeToolConfig::set_group_regex(ArgT0&& arg0, ArgT... args) {
1298 _impl_._has_bits_[0] |= 0x00000001u;
1299 _impl_.group_regex_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1300 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.SubscribeToolConfig.group_regex)
1301}
1302inline std::string* SubscribeToolConfig::mutable_group_regex() {
1303 std::string* _s = _internal_mutable_group_regex();
1304 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.SubscribeToolConfig.group_regex)
1305 return _s;
1306}
1307inline const std::string& SubscribeToolConfig::_internal_group_regex() const {
1308 return _impl_.group_regex_.Get();
1309}
1310inline void SubscribeToolConfig::_internal_set_group_regex(const std::string& value) {
1311 _impl_._has_bits_[0] |= 0x00000001u;
1312 _impl_.group_regex_.Set(value, GetArenaForAllocation());
1313}
1314inline std::string* SubscribeToolConfig::_internal_mutable_group_regex() {
1315 _impl_._has_bits_[0] |= 0x00000001u;
1316 return _impl_.group_regex_.Mutable(::goby::middleware::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1317}
1318inline std::string* SubscribeToolConfig::release_group_regex() {
1319 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.SubscribeToolConfig.group_regex)
1320 if (!_internal_has_group_regex()) {
1321 return nullptr;
1322 }
1323 _impl_._has_bits_[0] &= ~0x00000001u;
1324 auto* p = _impl_.group_regex_.Release();
1325 return p;
1326}
1327inline void SubscribeToolConfig::set_allocated_group_regex(std::string* group_regex) {
1328 if (group_regex != nullptr) {
1329 _impl_._has_bits_[0] |= 0x00000001u;
1330 } else {
1331 _impl_._has_bits_[0] &= ~0x00000001u;
1332 }
1333 _impl_.group_regex_.SetAllocated(group_regex, GetArenaForAllocation());
1334 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.SubscribeToolConfig.group_regex)
1335}
1336
1337// optional string type_regex = 11 [default = ".*", (.goby.field) = {
1338inline bool SubscribeToolConfig::_internal_has_type_regex() const {
1339 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1340 return value;
1341}
1342inline bool SubscribeToolConfig::has_type_regex() const {
1343 return _internal_has_type_regex();
1344}
1345inline void SubscribeToolConfig::clear_type_regex() {
1346 _impl_.type_regex_.ClearToDefault(::goby::middleware::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1347 _impl_._has_bits_[0] &= ~0x00000002u;
1348}
1349inline const std::string& SubscribeToolConfig::type_regex() const {
1350 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.SubscribeToolConfig.type_regex)
1351 if (_impl_.type_regex_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_type_regex_.get();
1352 return _internal_type_regex();
1353}
1354template <typename ArgT0, typename... ArgT>
1355inline PROTOBUF_ALWAYS_INLINE
1356void SubscribeToolConfig::set_type_regex(ArgT0&& arg0, ArgT... args) {
1357 _impl_._has_bits_[0] |= 0x00000002u;
1358 _impl_.type_regex_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1359 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.SubscribeToolConfig.type_regex)
1360}
1361inline std::string* SubscribeToolConfig::mutable_type_regex() {
1362 std::string* _s = _internal_mutable_type_regex();
1363 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.SubscribeToolConfig.type_regex)
1364 return _s;
1365}
1366inline const std::string& SubscribeToolConfig::_internal_type_regex() const {
1367 return _impl_.type_regex_.Get();
1368}
1369inline void SubscribeToolConfig::_internal_set_type_regex(const std::string& value) {
1370 _impl_._has_bits_[0] |= 0x00000002u;
1371 _impl_.type_regex_.Set(value, GetArenaForAllocation());
1372}
1373inline std::string* SubscribeToolConfig::_internal_mutable_type_regex() {
1374 _impl_._has_bits_[0] |= 0x00000002u;
1375 return _impl_.type_regex_.Mutable(::goby::middleware::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1376}
1377inline std::string* SubscribeToolConfig::release_type_regex() {
1378 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.SubscribeToolConfig.type_regex)
1379 if (!_internal_has_type_regex()) {
1380 return nullptr;
1381 }
1382 _impl_._has_bits_[0] &= ~0x00000002u;
1383 auto* p = _impl_.type_regex_.Release();
1384 return p;
1385}
1386inline void SubscribeToolConfig::set_allocated_type_regex(std::string* type_regex) {
1387 if (type_regex != nullptr) {
1388 _impl_._has_bits_[0] |= 0x00000002u;
1389 } else {
1390 _impl_._has_bits_[0] &= ~0x00000002u;
1391 }
1392 _impl_.type_regex_.SetAllocated(type_regex, GetArenaForAllocation());
1393 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.SubscribeToolConfig.type_regex)
1394}
1395
1396// optional string scheme = 12 [(.goby.field) = {
1397inline bool SubscribeToolConfig::_internal_has_scheme() const {
1398 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1399 return value;
1400}
1401inline bool SubscribeToolConfig::has_scheme() const {
1402 return _internal_has_scheme();
1403}
1404inline void SubscribeToolConfig::clear_scheme() {
1405 _impl_.scheme_.ClearToEmpty();
1406 _impl_._has_bits_[0] &= ~0x00000004u;
1407}
1408inline const std::string& SubscribeToolConfig::scheme() const {
1409 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.SubscribeToolConfig.scheme)
1410 return _internal_scheme();
1411}
1412template <typename ArgT0, typename... ArgT>
1413inline PROTOBUF_ALWAYS_INLINE
1414void SubscribeToolConfig::set_scheme(ArgT0&& arg0, ArgT... args) {
1415 _impl_._has_bits_[0] |= 0x00000004u;
1416 _impl_.scheme_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1417 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.SubscribeToolConfig.scheme)
1418}
1419inline std::string* SubscribeToolConfig::mutable_scheme() {
1420 std::string* _s = _internal_mutable_scheme();
1421 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.SubscribeToolConfig.scheme)
1422 return _s;
1423}
1424inline const std::string& SubscribeToolConfig::_internal_scheme() const {
1425 return _impl_.scheme_.Get();
1426}
1427inline void SubscribeToolConfig::_internal_set_scheme(const std::string& value) {
1428 _impl_._has_bits_[0] |= 0x00000004u;
1429 _impl_.scheme_.Set(value, GetArenaForAllocation());
1430}
1431inline std::string* SubscribeToolConfig::_internal_mutable_scheme() {
1432 _impl_._has_bits_[0] |= 0x00000004u;
1433 return _impl_.scheme_.Mutable(GetArenaForAllocation());
1434}
1435inline std::string* SubscribeToolConfig::release_scheme() {
1436 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.SubscribeToolConfig.scheme)
1437 if (!_internal_has_scheme()) {
1438 return nullptr;
1439 }
1440 _impl_._has_bits_[0] &= ~0x00000004u;
1441 auto* p = _impl_.scheme_.Release();
1442#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1443 if (_impl_.scheme_.IsDefault()) {
1444 _impl_.scheme_.Set("", GetArenaForAllocation());
1445 }
1446#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1447 return p;
1448}
1449inline void SubscribeToolConfig::set_allocated_scheme(std::string* scheme) {
1450 if (scheme != nullptr) {
1451 _impl_._has_bits_[0] |= 0x00000004u;
1452 } else {
1453 _impl_._has_bits_[0] &= ~0x00000004u;
1454 }
1455 _impl_.scheme_.SetAllocated(scheme, GetArenaForAllocation());
1456#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1457 if (_impl_.scheme_.IsDefault()) {
1458 _impl_.scheme_.Set("", GetArenaForAllocation());
1459 }
1460#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1461 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.SubscribeToolConfig.scheme)
1462}
1463
1464// repeated string load_shared_library = 20 [(.goby.field) = {
1465inline int SubscribeToolConfig::_internal_load_shared_library_size() const {
1466 return _impl_.load_shared_library_.size();
1467}
1468inline int SubscribeToolConfig::load_shared_library_size() const {
1469 return _internal_load_shared_library_size();
1470}
1471inline void SubscribeToolConfig::clear_load_shared_library() {
1472 _impl_.load_shared_library_.Clear();
1473}
1474inline std::string* SubscribeToolConfig::add_load_shared_library() {
1475 std::string* _s = _internal_add_load_shared_library();
1476 // @@protoc_insertion_point(field_add_mutable:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1477 return _s;
1478}
1479inline const std::string& SubscribeToolConfig::_internal_load_shared_library(int index) const {
1480 return _impl_.load_shared_library_.Get(index);
1481}
1482inline const std::string& SubscribeToolConfig::load_shared_library(int index) const {
1483 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1484 return _internal_load_shared_library(index);
1485}
1486inline std::string* SubscribeToolConfig::mutable_load_shared_library(int index) {
1487 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1488 return _impl_.load_shared_library_.Mutable(index);
1489}
1490inline void SubscribeToolConfig::set_load_shared_library(int index, const std::string& value) {
1491 _impl_.load_shared_library_.Mutable(index)->assign(value);
1492 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1493}
1494inline void SubscribeToolConfig::set_load_shared_library(int index, std::string&& value) {
1495 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1496 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1497}
1498inline void SubscribeToolConfig::set_load_shared_library(int index, const char* value) {
1499 GOOGLE_DCHECK(value != nullptr);
1500 _impl_.load_shared_library_.Mutable(index)->assign(value);
1501 // @@protoc_insertion_point(field_set_char:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1502}
1503inline void SubscribeToolConfig::set_load_shared_library(int index, const char* value, size_t size) {
1504 _impl_.load_shared_library_.Mutable(index)->assign(
1505 reinterpret_cast<const char*>(value), size);
1506 // @@protoc_insertion_point(field_set_pointer:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1507}
1508inline std::string* SubscribeToolConfig::_internal_add_load_shared_library() {
1509 return _impl_.load_shared_library_.Add();
1510}
1511inline void SubscribeToolConfig::add_load_shared_library(const std::string& value) {
1512 _impl_.load_shared_library_.Add()->assign(value);
1513 // @@protoc_insertion_point(field_add:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1514}
1515inline void SubscribeToolConfig::add_load_shared_library(std::string&& value) {
1516 _impl_.load_shared_library_.Add(std::move(value));
1517 // @@protoc_insertion_point(field_add:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1518}
1519inline void SubscribeToolConfig::add_load_shared_library(const char* value) {
1520 GOOGLE_DCHECK(value != nullptr);
1521 _impl_.load_shared_library_.Add()->assign(value);
1522 // @@protoc_insertion_point(field_add_char:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1523}
1524inline void SubscribeToolConfig::add_load_shared_library(const char* value, size_t size) {
1525 _impl_.load_shared_library_.Add()->assign(reinterpret_cast<const char*>(value), size);
1526 // @@protoc_insertion_point(field_add_pointer:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1527}
1528inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1529SubscribeToolConfig::load_shared_library() const {
1530 // @@protoc_insertion_point(field_list:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1531 return _impl_.load_shared_library_;
1532}
1533inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1534SubscribeToolConfig::mutable_load_shared_library() {
1535 // @@protoc_insertion_point(field_mutable_list:goby.middleware.protobuf.SubscribeToolConfig.load_shared_library)
1536 return &_impl_.load_shared_library_;
1537}
1538
1539// optional bool include_internal_groups = 30 [default = false];
1540inline bool SubscribeToolConfig::_internal_has_include_internal_groups() const {
1541 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1542 return value;
1543}
1544inline bool SubscribeToolConfig::has_include_internal_groups() const {
1545 return _internal_has_include_internal_groups();
1546}
1547inline void SubscribeToolConfig::clear_include_internal_groups() {
1548 _impl_.include_internal_groups_ = false;
1549 _impl_._has_bits_[0] &= ~0x00000020u;
1550}
1551inline bool SubscribeToolConfig::_internal_include_internal_groups() const {
1552 return _impl_.include_internal_groups_;
1553}
1554inline bool SubscribeToolConfig::include_internal_groups() const {
1555 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.SubscribeToolConfig.include_internal_groups)
1556 return _internal_include_internal_groups();
1557}
1558inline void SubscribeToolConfig::_internal_set_include_internal_groups(bool value) {
1559 _impl_._has_bits_[0] |= 0x00000020u;
1560 _impl_.include_internal_groups_ = value;
1561}
1562inline void SubscribeToolConfig::set_include_internal_groups(bool value) {
1563 _internal_set_include_internal_groups(value);
1564 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.SubscribeToolConfig.include_internal_groups)
1565}
1566
1567#ifdef __GNUC__
1568 #pragma GCC diagnostic pop
1569#endif // __GNUC__
1570// -------------------------------------------------------------------
1571
1572
1573// @@protoc_insertion_point(namespace_scope)
1574
1575} // namespace protobuf
1576} // namespace middleware
1577} // namespace goby
1578
1579// @@protoc_insertion_point(global_scope)
1580
1581#include <google/protobuf/port_undef.inc>
1582#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
PublishToolConfig & operator=(PublishToolConfig &&from) noexcept
void set_load_shared_library(int index, const std::string &value)
void MergeFrom(const PublishToolConfig &from)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & load_shared_library() const
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
::goby::udpm::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
const ::goby::middleware::protobuf::AppConfig & app() const
PublishToolConfig & operator=(const PublishToolConfig &from)
::goby::middleware::protobuf::AppConfig * mutable_app()
PROTOBUF_NODISCARD std::string * release_group()
void unsafe_arena_set_allocated_interprocess(::goby::udpm::protobuf::InterProcessPortalConfig *interprocess)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_NODISCARD std::string * release_type()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PublishToolConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const PublishToolConfig & default_instance()
void set_group(ArgT0 &&arg0, ArgT... args)
PROTOBUF_CONSTEXPR PublishToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(PublishToolConfig *other)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_load_shared_library()
PROTOBUF_NODISCARD std::string * release_value()
PublishToolConfig(PublishToolConfig &&from) noexcept
PublishToolConfig(const PublishToolConfig &from)
const ::goby::udpm::protobuf::InterProcessPortalConfig & interprocess() const
friend void swap(PublishToolConfig &a, PublishToolConfig &b)
void set_allocated_interprocess(::goby::udpm::protobuf::InterProcessPortalConfig *interprocess)
static const PublishToolConfig * internal_default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_type(ArgT0 &&arg0, ArgT... args)
::goby::udpm::protobuf::InterProcessPortalConfig * mutable_interprocess()
void set_value(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const PublishToolConfig &from)
PROTOBUF_NODISCARD::goby::udpm::protobuf::InterProcessPortalConfig * release_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PublishToolConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
SubscribeToolConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void UnsafeArenaSwap(SubscribeToolConfig *other)
void CopyFrom(const SubscribeToolConfig &from)
SubscribeToolConfig & operator=(SubscribeToolConfig &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
friend void swap(SubscribeToolConfig &a, SubscribeToolConfig &b)
void MergeFrom(const SubscribeToolConfig &from)
void set_group_regex(ArgT0 &&arg0, ArgT... args)
void set_type_regex(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR SubscribeToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
SubscribeToolConfig & operator=(const SubscribeToolConfig &from)
SubscribeToolConfig(SubscribeToolConfig &&from) noexcept
static const SubscribeToolConfig * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
SubscribeToolConfig(const SubscribeToolConfig &from)
static const SubscribeToolConfig & default_instance()
SubscribeToolConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_scheme(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
goby::util::logger::GroupSetter group(std::string n)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto
AppConfigDefaultTypeInternal _AppConfig_default_instance_
PublishToolConfigDefaultTypeInternal _PublishToolConfig_default_instance_
SubscribeToolConfigDefaultTypeInternal _SubscribeToolConfig_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.
#define ByteSizeLong
PROTOBUF_NAMESPACE_OPEN ::goby::udpm::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::udpm::protobuf::InterProcessPortalConfig >(Arena *)