4 #ifndef PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_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.
22 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
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>
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto
47 static const ::google::protobuf::internal::ParseTableField
entries[];
48 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
49 static const ::google::protobuf::internal::ParseTable
schema[3];
60 class PublishToolConfig;
61 class PublishToolConfigDefaultTypeInternal;
63 class SubscribeToolConfig;
64 class SubscribeToolConfigDefaultTypeInternal;
66 class ZeroMQToolConfig;
67 class ZeroMQToolConfigDefaultTypeInternal;
109 return ::google::protobuf::internal::NameOfEnum(
114 return ::google::protobuf::internal::ParseNamedEnum<ZeroMQToolConfig_Action>(
133 *
this = ::std::move(from);
137 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
138 if (
this != &from) InternalSwap(&from);
146 return _internal_metadata_.unknown_fields();
149 return _internal_metadata_.mutable_unknown_fields();
152 static const ::google::protobuf::Descriptor*
descriptor();
171 return CreateMaybeMessage<ZeroMQToolConfig>(NULL);
175 return CreateMaybeMessage<ZeroMQToolConfig>(arena);
177 void CopyFrom(const ::google::protobuf::Message& from)
final;
178 void MergeFrom(const ::google::protobuf::Message& from)
final;
186 ::
google::protobuf::io::CodedInputStream* input) final;
188 ::
google::protobuf::io::CodedOutputStream* output) const final;
190 bool deterministic, ::
google::protobuf::uint8* target) const final;
196 void SetCachedSize(
int size)
const final;
199 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
202 inline void* MaybeArenaPtr()
const {
251 static inline const ::google::protobuf::EnumDescriptor*
270 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
272 const ::goby::middleware::protobuf::AppConfig&
app()
const;
287 void clear_has_app();
288 void set_has_action();
289 void clear_has_action();
291 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
292 ::google::protobuf::internal::HasBits<1> _has_bits_;
293 mutable ::google::protobuf::internal::CachedSize _cached_size_;
296 friend struct ::protobuf_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto::TableStruct;
314 *
this = ::std::move(from);
318 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
319 if (
this != &from) InternalSwap(&from);
327 return _internal_metadata_.unknown_fields();
330 return _internal_metadata_.mutable_unknown_fields();
333 static const ::google::protobuf::Descriptor*
descriptor();
352 return CreateMaybeMessage<PublishToolConfig>(NULL);
356 return CreateMaybeMessage<PublishToolConfig>(arena);
358 void CopyFrom(const ::google::protobuf::Message& from)
final;
359 void MergeFrom(const ::google::protobuf::Message& from)
final;
367 ::
google::protobuf::io::CodedInputStream* input) final;
369 ::
google::protobuf::io::CodedOutputStream* output) const final;
371 bool deterministic, ::
google::protobuf::uint8* target) const final;
377 void SetCachedSize(
int size)
const final;
380 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
383 inline void* MaybeArenaPtr()
const {
420 const ::std::string&
group()
const;
435 const ::std::string&
type()
const;
450 const ::std::string&
value()
const;
466 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
468 const ::goby::middleware::protobuf::AppConfig&
app()
const;
478 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
480 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
488 void clear_has_app();
489 void set_has_interprocess();
490 void clear_has_interprocess();
491 void set_has_group();
492 void clear_has_group();
494 void clear_has_type();
495 void set_has_value();
496 void clear_has_value();
499 size_t RequiredFieldsByteSizeFallback()
const;
501 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
502 ::google::protobuf::internal::HasBits<1> _has_bits_;
503 mutable ::google::protobuf::internal::CachedSize _cached_size_;
505 ::google::protobuf::internal::ArenaStringPtr group_;
506 ::google::protobuf::internal::ArenaStringPtr type_;
507 ::google::protobuf::internal::ArenaStringPtr value_;
510 friend struct ::protobuf_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto::TableStruct;
528 *
this = ::std::move(from);
532 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
533 if (
this != &from) InternalSwap(&from);
541 return _internal_metadata_.unknown_fields();
544 return _internal_metadata_.mutable_unknown_fields();
547 static const ::google::protobuf::Descriptor*
descriptor();
566 return CreateMaybeMessage<SubscribeToolConfig>(NULL);
570 return CreateMaybeMessage<SubscribeToolConfig>(arena);
572 void CopyFrom(const ::google::protobuf::Message& from)
final;
573 void MergeFrom(const ::google::protobuf::Message& from)
final;
581 ::
google::protobuf::io::CodedInputStream* input) final;
583 ::
google::protobuf::io::CodedOutputStream* output) const final;
585 bool deterministic, ::
google::protobuf::uint8* target) const final;
591 void SetCachedSize(
int size)
const final;
594 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
597 inline void* MaybeArenaPtr()
const {
664 const ::std::string&
scheme()
const;
670 void set_scheme(
const char* value,
size_t size);
680 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
682 const ::goby::middleware::protobuf::AppConfig&
app()
const;
692 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
694 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
709 void clear_has_app();
710 void set_has_interprocess();
711 void clear_has_interprocess();
712 void set_has_group_regex();
713 void clear_has_group_regex();
714 void set_has_type_regex();
715 void clear_has_type_regex();
716 void set_has_scheme();
717 void clear_has_scheme();
718 void set_has_include_internal_groups();
719 void clear_has_include_internal_groups();
721 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
722 ::google::protobuf::internal::HasBits<1> _has_bits_;
723 mutable ::google::protobuf::internal::CachedSize _cached_size_;
728 ::google::protobuf::internal::ArenaStringPtr group_regex_;
732 ::google::protobuf::internal::ArenaStringPtr type_regex_;
733 ::google::protobuf::internal::ArenaStringPtr scheme_;
736 bool include_internal_groups_;
737 friend struct ::protobuf_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto::TableStruct;
745 #pragma GCC diagnostic push
746 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
752 return (_has_bits_[0] & 0x00000001u) != 0;
754 inline void ZeroMQToolConfig::set_has_app() {
755 _has_bits_[0] |= 0x00000001u;
757 inline void ZeroMQToolConfig::clear_has_app() {
758 _has_bits_[0] &= ~0x00000001u;
760 inline const ::goby::middleware::protobuf::AppConfig& ZeroMQToolConfig::_internal_app()
const {
764 const ::goby::middleware::protobuf::AppConfig* p = app_;
779 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
787 if (message_arena == NULL) {
792 if (message_arena != submessage_arena) {
793 app = ::google::protobuf::internal::GetOwnedMessage(
794 message_arena,
app, submessage_arena);
806 return (_has_bits_[0] & 0x00000002u) != 0;
808 inline void ZeroMQToolConfig::set_has_action() {
809 _has_bits_[0] |= 0x00000002u;
811 inline void ZeroMQToolConfig::clear_has_action() {
812 _has_bits_[0] &= ~0x00000002u;
835 return (_has_bits_[0] & 0x00000008u) != 0;
837 inline void PublishToolConfig::set_has_app() {
838 _has_bits_[0] |= 0x00000008u;
840 inline void PublishToolConfig::clear_has_app() {
841 _has_bits_[0] &= ~0x00000008u;
843 inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::_internal_app()
const {
847 const ::goby::middleware::protobuf::AppConfig* p = app_;
862 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
870 if (message_arena == NULL) {
875 if (message_arena != submessage_arena) {
876 app = ::google::protobuf::internal::GetOwnedMessage(
877 message_arena,
app, submessage_arena);
889 return (_has_bits_[0] & 0x00000010u) != 0;
891 inline void PublishToolConfig::set_has_interprocess() {
892 _has_bits_[0] |= 0x00000010u;
894 inline void PublishToolConfig::clear_has_interprocess() {
895 _has_bits_[0] &= ~0x00000010u;
897 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& PublishToolConfig::_internal_interprocess()
const {
898 return *interprocess_;
901 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
908 clear_has_interprocess();
910 interprocess_ = NULL;
914 set_has_interprocess();
915 if (interprocess_ == NULL) {
916 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
920 return interprocess_;
924 if (message_arena == NULL) {
929 if (message_arena != submessage_arena) {
930 interprocess = ::google::protobuf::internal::GetOwnedMessage(
933 set_has_interprocess();
935 clear_has_interprocess();
943 return (_has_bits_[0] & 0x00000001u) != 0;
945 inline void PublishToolConfig::set_has_group() {
946 _has_bits_[0] |= 0x00000001u;
948 inline void PublishToolConfig::clear_has_group() {
949 _has_bits_[0] &= ~0x00000001u;
957 return group_.GetNoArena();
973 GOOGLE_DCHECK(
value != NULL);
981 ::std::string(
reinterpret_cast<const char*
>(
value), size));
1009 return (_has_bits_[0] & 0x00000002u) != 0;
1011 inline void PublishToolConfig::set_has_type() {
1012 _has_bits_[0] |= 0x00000002u;
1014 inline void PublishToolConfig::clear_has_type() {
1015 _has_bits_[0] &= ~0x00000002u;
1023 return type_.GetNoArena();
1039 GOOGLE_DCHECK(
value != NULL);
1047 ::std::string(
reinterpret_cast<const char*
>(
value), size));
1075 return (_has_bits_[0] & 0x00000004u) != 0;
1077 inline void PublishToolConfig::set_has_value() {
1078 _has_bits_[0] |= 0x00000004u;
1080 inline void PublishToolConfig::clear_has_value() {
1081 _has_bits_[0] &= ~0x00000004u;
1089 return value_.GetNoArena();
1105 GOOGLE_DCHECK(
value != NULL);
1113 ::std::string(
reinterpret_cast<const char*
>(
value), size));
1130 if (
value != NULL) {
1141 return load_shared_library_.size();
1144 load_shared_library_.Clear();
1148 return load_shared_library_.Get(index);
1152 return load_shared_library_.Mutable(index);
1156 load_shared_library_.Mutable(index)->assign(
value);
1161 load_shared_library_.Mutable(index)->assign(std::move(
value));
1165 GOOGLE_DCHECK(
value != NULL);
1166 load_shared_library_.Mutable(index)->assign(
value);
1170 load_shared_library_.Mutable(index)->assign(
1171 reinterpret_cast<const char*
>(
value), size);
1176 return load_shared_library_.Add();
1179 load_shared_library_.Add()->assign(
value);
1184 load_shared_library_.Add(std::move(
value));
1189 GOOGLE_DCHECK(
value != NULL);
1190 load_shared_library_.Add()->assign(
value);
1194 load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(
value), size);
1197 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1200 return load_shared_library_;
1202 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1205 return &load_shared_library_;
1214 return (_has_bits_[0] & 0x00000008u) != 0;
1216 inline void SubscribeToolConfig::set_has_app() {
1217 _has_bits_[0] |= 0x00000008u;
1219 inline void SubscribeToolConfig::clear_has_app() {
1220 _has_bits_[0] &= ~0x00000008u;
1222 inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::_internal_app()
const {
1226 const ::goby::middleware::protobuf::AppConfig* p = app_;
1241 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
1249 if (message_arena == NULL) {
1254 if (message_arena != submessage_arena) {
1255 app = ::google::protobuf::internal::GetOwnedMessage(
1256 message_arena,
app, submessage_arena);
1268 return (_has_bits_[0] & 0x00000010u) != 0;
1270 inline void SubscribeToolConfig::set_has_interprocess() {
1271 _has_bits_[0] |= 0x00000010u;
1273 inline void SubscribeToolConfig::clear_has_interprocess() {
1274 _has_bits_[0] &= ~0x00000010u;
1276 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& SubscribeToolConfig::_internal_interprocess()
const {
1277 return *interprocess_;
1280 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
1287 clear_has_interprocess();
1289 interprocess_ = NULL;
1293 set_has_interprocess();
1294 if (interprocess_ == NULL) {
1295 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
1299 return interprocess_;
1303 if (message_arena == NULL) {
1308 if (message_arena != submessage_arena) {
1309 interprocess = ::google::protobuf::internal::GetOwnedMessage(
1312 set_has_interprocess();
1314 clear_has_interprocess();
1322 return (_has_bits_[0] & 0x00000001u) != 0;
1324 inline void SubscribeToolConfig::set_has_group_regex() {
1325 _has_bits_[0] |= 0x00000001u;
1327 inline void SubscribeToolConfig::clear_has_group_regex() {
1328 _has_bits_[0] &= ~0x00000001u;
1332 clear_has_group_regex();
1336 return group_regex_.GetNoArena();
1339 set_has_group_regex();
1345 set_has_group_regex();
1346 group_regex_.SetNoArena(
1352 GOOGLE_DCHECK(value != NULL);
1353 set_has_group_regex();
1358 set_has_group_regex();
1360 ::std::string(
reinterpret_cast<const char*
>(value), size));
1364 set_has_group_regex();
1373 clear_has_group_regex();
1378 set_has_group_regex();
1380 clear_has_group_regex();
1388 return (_has_bits_[0] & 0x00000002u) != 0;
1390 inline void SubscribeToolConfig::set_has_type_regex() {
1391 _has_bits_[0] |= 0x00000002u;
1393 inline void SubscribeToolConfig::clear_has_type_regex() {
1394 _has_bits_[0] &= ~0x00000002u;
1398 clear_has_type_regex();
1402 return type_regex_.GetNoArena();
1405 set_has_type_regex();
1411 set_has_type_regex();
1412 type_regex_.SetNoArena(
1418 GOOGLE_DCHECK(value != NULL);
1419 set_has_type_regex();
1424 set_has_type_regex();
1426 ::std::string(
reinterpret_cast<const char*
>(value), size));
1430 set_has_type_regex();
1439 clear_has_type_regex();
1444 set_has_type_regex();
1446 clear_has_type_regex();
1454 return (_has_bits_[0] & 0x00000004u) != 0;
1456 inline void SubscribeToolConfig::set_has_scheme() {
1457 _has_bits_[0] |= 0x00000004u;
1459 inline void SubscribeToolConfig::clear_has_scheme() {
1460 _has_bits_[0] &= ~0x00000004u;
1468 return scheme_.GetNoArena();
1484 GOOGLE_DCHECK(value != NULL);
1492 ::std::string(
reinterpret_cast<const char*
>(value), size));
1520 return load_shared_library_.size();
1523 load_shared_library_.Clear();
1527 return load_shared_library_.Get(index);
1531 return load_shared_library_.Mutable(index);
1535 load_shared_library_.Mutable(index)->assign(value);
1540 load_shared_library_.Mutable(index)->assign(std::move(value));
1544 GOOGLE_DCHECK(value != NULL);
1545 load_shared_library_.Mutable(index)->assign(value);
1549 load_shared_library_.Mutable(index)->assign(
1550 reinterpret_cast<const char*
>(value), size);
1555 return load_shared_library_.Add();
1558 load_shared_library_.Add()->assign(value);
1563 load_shared_library_.Add(std::move(value));
1568 GOOGLE_DCHECK(value != NULL);
1569 load_shared_library_.Add()->assign(value);
1573 load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1576 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1579 return load_shared_library_;
1581 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1584 return &load_shared_library_;
1589 return (_has_bits_[0] & 0x00000020u) != 0;
1591 inline void SubscribeToolConfig::set_has_include_internal_groups() {
1592 _has_bits_[0] |= 0x00000020u;
1594 inline void SubscribeToolConfig::clear_has_include_internal_groups() {
1595 _has_bits_[0] &= ~0x00000020u;
1598 include_internal_groups_ =
false;
1599 clear_has_include_internal_groups();
1603 return include_internal_groups_;
1606 set_has_include_internal_groups();
1607 include_internal_groups_ = value;
1612 #pragma GCC diagnostic pop
1627 namespace protobuf {
1631 inline const EnumDescriptor* GetEnumDescriptor< ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action>() {
1640 #endif // PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto