4 #ifndef PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2flogger_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2flogger_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/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.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 #include <boost/units/systems/si.hpp>
44 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fzeromq_2fprotobuf_2flogger_5fconfig_2eproto
49 static const ::google::protobuf::internal::ParseTableField
entries[];
50 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
51 static const ::google::protobuf::internal::ParseTable
schema[4];
63 class LoggerConfigDefaultTypeInternal;
65 class LoggerConfig_Omit;
66 class LoggerConfig_OmitDefaultTypeInternal;
69 class PlaybackConfigDefaultTypeInternal;
71 class PlaybackConfig_TypeFilter;
72 class PlaybackConfig_TypeFilterDefaultTypeInternal;
107 *
this = ::std::move(from);
111 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
112 if (
this != &from) InternalSwap(&from);
120 return _internal_metadata_.unknown_fields();
123 return _internal_metadata_.mutable_unknown_fields();
126 static const ::google::protobuf::Descriptor*
descriptor();
145 return CreateMaybeMessage<LoggerConfig_Omit>(NULL);
149 return CreateMaybeMessage<LoggerConfig_Omit>(arena);
151 void CopyFrom(const ::google::protobuf::Message& from)
final;
152 void MergeFrom(const ::google::protobuf::Message& from)
final;
160 ::
google::protobuf::io::CodedInputStream* input) final;
162 ::
google::protobuf::io::CodedOutputStream* output) const final;
164 bool deterministic, ::
google::protobuf::uint8* target) const final;
170 void SetCachedSize(
int size)
const final;
173 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
176 inline void* MaybeArenaPtr()
const {
203 void set_has_file_timestamp();
204 void clear_has_file_timestamp();
205 void set_has_latest_symlink();
206 void clear_has_latest_symlink();
208 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
209 ::
google::protobuf::internal::HasBits<1> _has_bits_;
210 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
211 bool file_timestamp_;
212 bool latest_symlink_;
231 *
this = ::std::move(from);
234 inline LoggerConfig&
operator=(LoggerConfig&& from) noexcept {
235 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
236 if (
this != &from) InternalSwap(&from);
244 return _internal_metadata_.unknown_fields();
247 return _internal_metadata_.mutable_unknown_fields();
250 static const ::google::protobuf::Descriptor*
descriptor();
269 return CreateMaybeMessage<LoggerConfig>(NULL);
273 return CreateMaybeMessage<LoggerConfig>(arena);
275 void CopyFrom(const ::google::protobuf::Message& from)
final;
276 void MergeFrom(const ::google::protobuf::Message& from)
final;
284 ::
google::protobuf::io::CodedInputStream* input) final;
286 ::
google::protobuf::io::CodedOutputStream* output) const final;
288 bool deterministic, ::
google::protobuf::uint8* target) const final;
294 void SetCachedSize(
int size)
const final;
297 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
300 inline void* MaybeArenaPtr()
const {
314 int load_shared_library_size() const;
315 void clear_load_shared_library();
316 static const
int kLoadSharedLibraryFieldNumber = 10;
317 const ::std::
string& load_shared_library(
int index) const;
318 ::std::
string* mutable_load_shared_library(
int index);
319 void set_load_shared_library(
int index, const ::std::
string& value);
321 void set_load_shared_library(
int index, ::std::string&& value);
323 void set_load_shared_library(
int index,
const char* value);
324 void set_load_shared_library(
int index,
const char* value,
size_t size);
325 ::std::string* add_load_shared_library();
326 void add_load_shared_library(const ::std::string& value);
328 void add_load_shared_library(::std::string&& value);
330 void add_load_shared_library(
const char* value);
331 void add_load_shared_library(
const char* value,
size_t size);
332 const ::google::protobuf::RepeatedPtrField< ::std::string>& load_shared_library()
const;
336 bool has_log_dir()
const;
337 void clear_log_dir();
338 static const int kLogDirFieldNumber = 3;
339 const ::std::string& log_dir()
const;
340 void set_log_dir(const ::std::string& value);
342 void set_log_dir(::std::string&& value);
344 void set_log_dir(
const char* value);
345 void set_log_dir(
const char* value,
size_t size);
346 ::std::string* mutable_log_dir();
347 ::std::string* release_log_dir();
348 void set_allocated_log_dir(::std::string* log_dir);
351 bool has_type_regex()
const;
352 void clear_type_regex();
353 static const int kTypeRegexFieldNumber = 4;
354 const ::std::string& type_regex()
const;
355 void set_type_regex(const ::std::string& value);
357 void set_type_regex(::std::string&& value);
359 void set_type_regex(
const char* value);
360 void set_type_regex(
const char* value,
size_t size);
361 ::std::string* mutable_type_regex();
362 ::std::string* release_type_regex();
363 void set_allocated_type_regex(::std::string* type_regex);
366 bool has_group_regex()
const;
367 void clear_group_regex();
368 static const int kGroupRegexFieldNumber = 5;
369 const ::std::string& group_regex()
const;
370 void set_group_regex(const ::std::string& value);
372 void set_group_regex(::std::string&& value);
374 void set_group_regex(
const char* value);
375 void set_group_regex(
const char* value,
size_t size);
376 ::std::string* mutable_group_regex();
377 ::std::string* release_group_regex();
378 void set_allocated_group_regex(::std::string* group_regex);
381 bool has_app()
const;
383 static const int kAppFieldNumber = 1;
385 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
387 const ::goby::middleware::protobuf::AppConfig& app()
const;
393 bool has_interprocess()
const;
394 void clear_interprocess();
395 static const int kInterprocessFieldNumber = 2;
397 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
399 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
405 bool has_omit()
const;
407 static const int kOmitFieldNumber = 6;
409 const ::goby::apps::zeromq::protobuf::LoggerConfig_Omit& _internal_omit()
const;
411 const ::goby::apps::zeromq::protobuf::LoggerConfig_Omit& omit()
const;
417 bool has_log_at_startup()
const;
418 void clear_log_at_startup();
419 static const int kLogAtStartupFieldNumber = 12;
420 bool log_at_startup()
const;
421 void set_log_at_startup(
bool value);
426 void clear_has_app();
427 void set_has_interprocess();
428 void clear_has_interprocess();
429 void set_has_log_dir();
430 void clear_has_log_dir();
431 void set_has_type_regex();
432 void clear_has_type_regex();
433 void set_has_group_regex();
434 void clear_has_group_regex();
436 void clear_has_omit();
437 void set_has_log_at_startup();
438 void clear_has_log_at_startup();
440 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
441 ::google::protobuf::internal::HasBits<1> _has_bits_;
442 mutable ::google::protobuf::internal::CachedSize _cached_size_;
444 ::google::protobuf::internal::ArenaStringPtr log_dir_;
448 ::google::protobuf::internal::ArenaStringPtr type_regex_;
452 ::google::protobuf::internal::ArenaStringPtr group_regex_;
456 bool log_at_startup_;
457 friend struct ::protobuf_goby_2fzeromq_2fprotobuf_2flogger_5fconfig_2eproto::TableStruct;
475 *
this = ::std::move(from);
478 inline PlaybackConfig_TypeFilter&
operator=(PlaybackConfig_TypeFilter&& from) noexcept {
479 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
480 if (
this != &from) InternalSwap(&from);
488 return _internal_metadata_.unknown_fields();
491 return _internal_metadata_.mutable_unknown_fields();
494 static const ::google::protobuf::Descriptor*
descriptor();
513 return CreateMaybeMessage<PlaybackConfig_TypeFilter>(NULL);
517 return CreateMaybeMessage<PlaybackConfig_TypeFilter>(arena);
519 void CopyFrom(const ::google::protobuf::Message& from)
final;
520 void MergeFrom(const ::google::protobuf::Message& from)
final;
528 ::
google::protobuf::io::CodedInputStream* input) final;
530 ::
google::protobuf::io::CodedOutputStream* output) const final;
532 bool deterministic, ::
google::protobuf::uint8* target) const final;
538 void SetCachedSize(
int size)
const final;
541 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
544 inline void* MaybeArenaPtr()
const {
556 bool has_regex() const;
558 static const
int kRegexFieldNumber = 2;
559 const ::std::
string& regex() const;
560 void set_regex(const ::std::
string& value);
562 void set_regex(::std::string&& value);
564 void set_regex(
const char* value);
565 void set_regex(
const char* value,
size_t size);
566 ::std::string* mutable_regex();
567 ::std::string* release_regex();
568 void set_allocated_regex(::std::string* regex);
571 bool has_scheme()
const;
573 static const int kSchemeFieldNumber = 1;
579 void set_has_scheme();
580 void clear_has_scheme();
581 void set_has_regex();
582 void clear_has_regex();
584 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
585 ::google::protobuf::internal::HasBits<1> _has_bits_;
586 mutable ::google::protobuf::internal::CachedSize _cached_size_;
590 ::google::protobuf::internal::ArenaStringPtr regex_;
592 friend struct ::protobuf_goby_2fzeromq_2fprotobuf_2flogger_5fconfig_2eproto::TableStruct;
610 *
this = ::std::move(from);
613 inline PlaybackConfig&
operator=(PlaybackConfig&& from) noexcept {
614 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
615 if (
this != &from) InternalSwap(&from);
623 return _internal_metadata_.unknown_fields();
626 return _internal_metadata_.mutable_unknown_fields();
629 static const ::google::protobuf::Descriptor*
descriptor();
648 return CreateMaybeMessage<PlaybackConfig>(NULL);
652 return CreateMaybeMessage<PlaybackConfig>(arena);
654 void CopyFrom(const ::google::protobuf::Message& from)
final;
655 void MergeFrom(const ::google::protobuf::Message& from)
final;
663 ::
google::protobuf::io::CodedInputStream* input) final;
665 ::
google::protobuf::io::CodedOutputStream* output) const final;
667 bool deterministic, ::
google::protobuf::uint8* target) const final;
673 void SetCachedSize(
int size)
const final;
676 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
679 inline void* MaybeArenaPtr()
const {
693 int type_filter_size() const;
694 void clear_type_filter();
695 static const
int kTypeFilterFieldNumber = 21;
698 mutable_type_filter();
705 int load_shared_library_size() const;
706 void clear_load_shared_library();
707 static const
int kLoadSharedLibraryFieldNumber = 40;
708 const ::std::
string& load_shared_library(
int index) const;
709 ::std::
string* mutable_load_shared_library(
int index);
710 void set_load_shared_library(
int index, const ::std::
string& value);
712 void set_load_shared_library(
int index, ::std::string&& value);
714 void set_load_shared_library(
int index,
const char* value);
715 void set_load_shared_library(
int index,
const char* value,
size_t size);
716 ::std::string* add_load_shared_library();
717 void add_load_shared_library(const ::std::string& value);
719 void add_load_shared_library(::std::string&& value);
721 void add_load_shared_library(
const char* value);
722 void add_load_shared_library(
const char* value,
size_t size);
723 const ::google::protobuf::RepeatedPtrField< ::std::string>& load_shared_library()
const;
727 bool has_input_file()
const;
728 void clear_input_file();
729 static const int kInputFileFieldNumber = 10;
730 const ::std::string& input_file()
const;
731 void set_input_file(const ::std::string& value);
733 void set_input_file(::std::string&& value);
735 void set_input_file(
const char* value);
736 void set_input_file(
const char* value,
size_t size);
737 ::std::string* mutable_input_file();
738 ::std::string* release_input_file();
739 void set_allocated_input_file(::std::string* input_file);
742 bool has_group_regex()
const;
743 void clear_group_regex();
744 static const int kGroupRegexFieldNumber = 20;
745 const ::std::string& group_regex()
const;
746 void set_group_regex(const ::std::string& value);
748 void set_group_regex(::std::string&& value);
750 void set_group_regex(
const char* value);
751 void set_group_regex(
const char* value,
size_t size);
752 ::std::string* mutable_group_regex();
753 ::std::string* release_group_regex();
754 void set_allocated_group_regex(::std::string* group_regex);
757 bool has_app()
const;
759 static const int kAppFieldNumber = 1;
761 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
763 const ::goby::middleware::protobuf::AppConfig& app()
const;
769 bool has_interprocess()
const;
770 void clear_interprocess();
771 static const int kInterprocessFieldNumber = 2;
773 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
775 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
781 bool has_start_from_offset()
const;
782 void clear_start_from_offset();
783 static const int kStartFromOffsetFieldNumber = 13;
784 double start_from_offset()
const;
785 void set_start_from_offset(
double value);
788 bool has_rate()
const;
790 static const int kRateFieldNumber = 11;
792 void set_rate(
double value);
795 bool has_playback_start_delay()
const;
796 void clear_playback_start_delay();
797 static const int kPlaybackStartDelayFieldNumber = 12;
798 double playback_start_delay()
const;
799 void set_playback_start_delay(
double value);
805 template<
typename Quantity >
807 { set_playback_start_delay(boost::units::quantity<playback_start_delay_unit,double >(value_w_units).value() ); };
809 template<
typename Quantity >
814 {
return playback_start_delay_with_units<boost::units::quantity< playback_start_delay_unit,double > >(); };
820 template<
typename Quantity >
822 { set_start_from_offset(boost::units::quantity<start_from_offset_unit,double >(value_w_units).value() ); };
824 template<
typename Quantity >
829 {
return start_from_offset_with_units<boost::units::quantity< start_from_offset_unit,double > >(); };
834 void clear_has_app();
835 void set_has_interprocess();
836 void clear_has_interprocess();
837 void set_has_input_file();
838 void clear_has_input_file();
840 void clear_has_rate();
841 void set_has_playback_start_delay();
842 void clear_has_playback_start_delay();
843 void set_has_start_from_offset();
844 void clear_has_start_from_offset();
845 void set_has_group_regex();
846 void clear_has_group_regex();
848 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
849 ::google::protobuf::internal::HasBits<1> _has_bits_;
850 mutable ::google::protobuf::internal::CachedSize _cached_size_;
853 ::google::protobuf::internal::ArenaStringPtr input_file_;
857 ::google::protobuf::internal::ArenaStringPtr group_regex_;
860 double start_from_offset_;
862 double playback_start_delay_;
863 friend struct ::protobuf_goby_2fzeromq_2fprotobuf_2flogger_5fconfig_2eproto::TableStruct;
871 #pragma GCC diagnostic push
872 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
878 return (_has_bits_[0] & 0x00000001u) != 0;
880 inline void LoggerConfig_Omit::set_has_file_timestamp() {
881 _has_bits_[0] |= 0x00000001u;
883 inline void LoggerConfig_Omit::clear_has_file_timestamp() {
884 _has_bits_[0] &= ~0x00000001u;
887 file_timestamp_ =
false;
888 clear_has_file_timestamp();
892 return file_timestamp_;
895 set_has_file_timestamp();
896 file_timestamp_ = value;
902 return (_has_bits_[0] & 0x00000002u) != 0;
904 inline void LoggerConfig_Omit::set_has_latest_symlink() {
905 _has_bits_[0] |= 0x00000002u;
907 inline void LoggerConfig_Omit::clear_has_latest_symlink() {
908 _has_bits_[0] &= ~0x00000002u;
911 latest_symlink_ =
false;
912 clear_has_latest_symlink();
916 return latest_symlink_;
919 set_has_latest_symlink();
920 latest_symlink_ = value;
930 return (_has_bits_[0] & 0x00000008u) != 0;
932 inline void LoggerConfig::set_has_app() {
933 _has_bits_[0] |= 0x00000008u;
935 inline void LoggerConfig::clear_has_app() {
936 _has_bits_[0] &= ~0x00000008u;
938 inline const ::goby::middleware::protobuf::AppConfig& LoggerConfig::_internal_app()
const {
942 const ::goby::middleware::protobuf::AppConfig* p = app_;
957 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
965 if (message_arena == NULL) {
970 if (message_arena != submessage_arena) {
971 app = ::google::protobuf::internal::GetOwnedMessage(
972 message_arena, app, submessage_arena);
984 return (_has_bits_[0] & 0x00000010u) != 0;
986 inline void LoggerConfig::set_has_interprocess() {
987 _has_bits_[0] |= 0x00000010u;
989 inline void LoggerConfig::clear_has_interprocess() {
990 _has_bits_[0] &= ~0x00000010u;
992 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& LoggerConfig::_internal_interprocess()
const {
993 return *interprocess_;
996 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
1003 clear_has_interprocess();
1005 interprocess_ = NULL;
1009 set_has_interprocess();
1010 if (interprocess_ == NULL) {
1011 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
1015 return interprocess_;
1019 if (message_arena == NULL) {
1024 if (message_arena != submessage_arena) {
1025 interprocess = ::google::protobuf::internal::GetOwnedMessage(
1026 message_arena, interprocess, submessage_arena);
1028 set_has_interprocess();
1030 clear_has_interprocess();
1032 interprocess_ = interprocess;
1038 return (_has_bits_[0] & 0x00000001u) != 0;
1040 inline void LoggerConfig::set_has_log_dir() {
1041 _has_bits_[0] |= 0x00000001u;
1043 inline void LoggerConfig::clear_has_log_dir() {
1044 _has_bits_[0] &= ~0x00000001u;
1048 clear_has_log_dir();
1052 return log_dir_.GetNoArena();
1062 log_dir_.SetNoArena(
1068 GOOGLE_DCHECK(value != NULL);
1076 ::std::string(
reinterpret_cast<const char*
>(value), size));
1086 if (!has_log_dir()) {
1089 clear_has_log_dir();
1093 if (log_dir != NULL) {
1096 clear_has_log_dir();
1104 return (_has_bits_[0] & 0x00000002u) != 0;
1106 inline void LoggerConfig::set_has_type_regex() {
1107 _has_bits_[0] |= 0x00000002u;
1109 inline void LoggerConfig::clear_has_type_regex() {
1110 _has_bits_[0] &= ~0x00000002u;
1114 clear_has_type_regex();
1118 return type_regex_.GetNoArena();
1121 set_has_type_regex();
1127 set_has_type_regex();
1128 type_regex_.SetNoArena(
1134 GOOGLE_DCHECK(value != NULL);
1135 set_has_type_regex();
1140 set_has_type_regex();
1142 ::std::string(
reinterpret_cast<const char*
>(value), size));
1146 set_has_type_regex();
1152 if (!has_type_regex()) {
1155 clear_has_type_regex();
1159 if (type_regex != NULL) {
1160 set_has_type_regex();
1162 clear_has_type_regex();
1170 return (_has_bits_[0] & 0x00000004u) != 0;
1172 inline void LoggerConfig::set_has_group_regex() {
1173 _has_bits_[0] |= 0x00000004u;
1175 inline void LoggerConfig::clear_has_group_regex() {
1176 _has_bits_[0] &= ~0x00000004u;
1180 clear_has_group_regex();
1184 return group_regex_.GetNoArena();
1187 set_has_group_regex();
1193 set_has_group_regex();
1194 group_regex_.SetNoArena(
1200 GOOGLE_DCHECK(value != NULL);
1201 set_has_group_regex();
1206 set_has_group_regex();
1208 ::std::string(
reinterpret_cast<const char*
>(value), size));
1212 set_has_group_regex();
1218 if (!has_group_regex()) {
1221 clear_has_group_regex();
1225 if (group_regex != NULL) {
1226 set_has_group_regex();
1228 clear_has_group_regex();
1236 return (_has_bits_[0] & 0x00000020u) != 0;
1238 inline void LoggerConfig::set_has_omit() {
1239 _has_bits_[0] |= 0x00000020u;
1241 inline void LoggerConfig::clear_has_omit() {
1242 _has_bits_[0] &= ~0x00000020u;
1245 if (omit_ != NULL) omit_->Clear();
1248 inline const ::goby::apps::zeromq::protobuf::LoggerConfig_Omit& LoggerConfig::_internal_omit()
const {
1252 const ::goby::apps::zeromq::protobuf::LoggerConfig_Omit* p = omit_;
1266 if (omit_ == NULL) {
1267 auto* p = CreateMaybeMessage<::goby::apps::zeromq::protobuf::LoggerConfig_Omit>(GetArenaNoVirtual());
1275 if (message_arena == NULL) {
1280 if (message_arena != submessage_arena) {
1281 omit = ::google::protobuf::internal::GetOwnedMessage(
1282 message_arena, omit, submessage_arena);
1294 return load_shared_library_.size();
1297 load_shared_library_.Clear();
1301 return load_shared_library_.Get(index);
1305 return load_shared_library_.Mutable(index);
1309 load_shared_library_.Mutable(index)->assign(value);
1314 load_shared_library_.Mutable(index)->assign(std::move(value));
1318 GOOGLE_DCHECK(value != NULL);
1319 load_shared_library_.Mutable(index)->assign(value);
1323 load_shared_library_.Mutable(index)->assign(
1324 reinterpret_cast<const char*
>(value), size);
1329 return load_shared_library_.Add();
1332 load_shared_library_.Add()->assign(value);
1337 load_shared_library_.Add(std::move(value));
1342 GOOGLE_DCHECK(value != NULL);
1343 load_shared_library_.Add()->assign(value);
1347 load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1350 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1353 return load_shared_library_;
1355 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1358 return &load_shared_library_;
1363 return (_has_bits_[0] & 0x00000040u) != 0;
1365 inline void LoggerConfig::set_has_log_at_startup() {
1366 _has_bits_[0] |= 0x00000040u;
1368 inline void LoggerConfig::clear_has_log_at_startup() {
1369 _has_bits_[0] &= ~0x00000040u;
1372 log_at_startup_ =
true;
1373 clear_has_log_at_startup();
1377 return log_at_startup_;
1380 set_has_log_at_startup();
1381 log_at_startup_ = value;
1391 return (_has_bits_[0] & 0x00000002u) != 0;
1393 inline void PlaybackConfig_TypeFilter::set_has_scheme() {
1394 _has_bits_[0] |= 0x00000002u;
1396 inline void PlaybackConfig_TypeFilter::clear_has_scheme() {
1397 _has_bits_[0] &= ~0x00000002u;
1415 return (_has_bits_[0] & 0x00000001u) != 0;
1417 inline void PlaybackConfig_TypeFilter::set_has_regex() {
1418 _has_bits_[0] |= 0x00000001u;
1420 inline void PlaybackConfig_TypeFilter::clear_has_regex() {
1421 _has_bits_[0] &= ~0x00000001u;
1429 return regex_.GetNoArena();
1445 GOOGLE_DCHECK(value != NULL);
1453 ::std::string(
reinterpret_cast<const char*
>(value), size));
1470 if (regex != NULL) {
1485 return (_has_bits_[0] & 0x00000004u) != 0;
1487 inline void PlaybackConfig::set_has_app() {
1488 _has_bits_[0] |= 0x00000004u;
1490 inline void PlaybackConfig::clear_has_app() {
1491 _has_bits_[0] &= ~0x00000004u;
1493 inline const ::goby::middleware::protobuf::AppConfig& PlaybackConfig::_internal_app()
const {
1497 const ::goby::middleware::protobuf::AppConfig* p = app_;
1512 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
1520 if (message_arena == NULL) {
1525 if (message_arena != submessage_arena) {
1526 app = ::google::protobuf::internal::GetOwnedMessage(
1527 message_arena, app, submessage_arena);
1539 return (_has_bits_[0] & 0x00000008u) != 0;
1541 inline void PlaybackConfig::set_has_interprocess() {
1542 _has_bits_[0] |= 0x00000008u;
1544 inline void PlaybackConfig::clear_has_interprocess() {
1545 _has_bits_[0] &= ~0x00000008u;
1547 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& PlaybackConfig::_internal_interprocess()
const {
1548 return *interprocess_;
1551 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
1558 clear_has_interprocess();
1560 interprocess_ = NULL;
1564 set_has_interprocess();
1565 if (interprocess_ == NULL) {
1566 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
1570 return interprocess_;
1574 if (message_arena == NULL) {
1579 if (message_arena != submessage_arena) {
1580 interprocess = ::google::protobuf::internal::GetOwnedMessage(
1581 message_arena, interprocess, submessage_arena);
1583 set_has_interprocess();
1585 clear_has_interprocess();
1587 interprocess_ = interprocess;
1593 return (_has_bits_[0] & 0x00000001u) != 0;
1595 inline void PlaybackConfig::set_has_input_file() {
1596 _has_bits_[0] |= 0x00000001u;
1598 inline void PlaybackConfig::clear_has_input_file() {
1599 _has_bits_[0] &= ~0x00000001u;
1603 clear_has_input_file();
1607 return input_file_.GetNoArena();
1610 set_has_input_file();
1616 set_has_input_file();
1617 input_file_.SetNoArena(
1623 GOOGLE_DCHECK(value != NULL);
1624 set_has_input_file();
1629 set_has_input_file();
1631 ::std::string(
reinterpret_cast<const char*
>(value), size));
1635 set_has_input_file();
1641 if (!has_input_file()) {
1644 clear_has_input_file();
1648 if (input_file != NULL) {
1649 set_has_input_file();
1651 clear_has_input_file();
1659 return (_has_bits_[0] & 0x00000020u) != 0;
1661 inline void PlaybackConfig::set_has_rate() {
1662 _has_bits_[0] |= 0x00000020u;
1664 inline void PlaybackConfig::clear_has_rate() {
1665 _has_bits_[0] &= ~0x00000020u;
1683 return (_has_bits_[0] & 0x00000040u) != 0;
1685 inline void PlaybackConfig::set_has_playback_start_delay() {
1686 _has_bits_[0] |= 0x00000040u;
1688 inline void PlaybackConfig::clear_has_playback_start_delay() {
1689 _has_bits_[0] &= ~0x00000040u;
1692 playback_start_delay_ = 1;
1693 clear_has_playback_start_delay();
1697 return playback_start_delay_;
1700 set_has_playback_start_delay();
1701 playback_start_delay_ = value;
1707 return (_has_bits_[0] & 0x00000010u) != 0;
1709 inline void PlaybackConfig::set_has_start_from_offset() {
1710 _has_bits_[0] |= 0x00000010u;
1712 inline void PlaybackConfig::clear_has_start_from_offset() {
1713 _has_bits_[0] &= ~0x00000010u;
1716 start_from_offset_ = 0;
1717 clear_has_start_from_offset();
1721 return start_from_offset_;
1724 set_has_start_from_offset();
1725 start_from_offset_ = value;
1731 return (_has_bits_[0] & 0x00000002u) != 0;
1733 inline void PlaybackConfig::set_has_group_regex() {
1734 _has_bits_[0] |= 0x00000002u;
1736 inline void PlaybackConfig::clear_has_group_regex() {
1737 _has_bits_[0] &= ~0x00000002u;
1741 clear_has_group_regex();
1745 return group_regex_.GetNoArena();
1748 set_has_group_regex();
1754 set_has_group_regex();
1755 group_regex_.SetNoArena(
1761 GOOGLE_DCHECK(value != NULL);
1762 set_has_group_regex();
1767 set_has_group_regex();
1769 ::std::string(
reinterpret_cast<const char*
>(value), size));
1773 set_has_group_regex();
1779 if (!has_group_regex()) {
1782 clear_has_group_regex();
1786 if (group_regex != NULL) {
1787 set_has_group_regex();
1789 clear_has_group_regex();
1797 return type_filter_.size();
1800 type_filter_.Clear();
1804 return type_filter_.Mutable(index);
1806 inline ::google::protobuf::RepeatedPtrField< ::goby::apps::zeromq::protobuf::PlaybackConfig_TypeFilter >*
1809 return &type_filter_;
1813 return type_filter_.Get(index);
1817 return type_filter_.Add();
1819 inline const ::google::protobuf::RepeatedPtrField< ::goby::apps::zeromq::protobuf::PlaybackConfig_TypeFilter >&
1822 return type_filter_;
1827 return load_shared_library_.size();
1830 load_shared_library_.Clear();
1834 return load_shared_library_.Get(index);
1838 return load_shared_library_.Mutable(index);
1842 load_shared_library_.Mutable(index)->assign(value);
1847 load_shared_library_.Mutable(index)->assign(std::move(value));
1851 GOOGLE_DCHECK(value != NULL);
1852 load_shared_library_.Mutable(index)->assign(value);
1856 load_shared_library_.Mutable(index)->assign(
1857 reinterpret_cast<const char*
>(value), size);
1862 return load_shared_library_.Add();
1865 load_shared_library_.Add()->assign(value);
1870 load_shared_library_.Add(std::move(value));
1875 GOOGLE_DCHECK(value != NULL);
1876 load_shared_library_.Add()->assign(value);
1880 load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1883 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1886 return load_shared_library_;
1888 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1891 return &load_shared_library_;
1895 #pragma GCC diagnostic pop
1913 #endif // PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2flogger_5fconfig_2eproto