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