4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2futil_2fprotobuf_2fdebug_5flogger_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2futil_2fprotobuf_2fdebug_5flogger_2eproto
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
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.
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>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
35#include "dccl/option_extensions.pb.h"
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
41#include <boost/units/systems/si.hpp>
43#include <google/protobuf/port_def.inc>
44#define PROTOBUF_INTERNAL_EXPORT_goby_2futil_2fprotobuf_2fdebug_5flogger_2eproto
45PROTOBUF_NAMESPACE_OPEN
49PROTOBUF_NAMESPACE_CLOSE
60struct GLogConfigDefaultTypeInternal;
63struct GLogConfig_FileLogDefaultTypeInternal;
66struct GLogConfig_FileLog_OmitDefaultTypeInternal;
71PROTOBUF_NAMESPACE_OPEN
75PROTOBUF_NAMESPACE_CLOSE
96 static_assert(::std::is_same<T, GLogConfig_Verbosity>::value ||
97 ::std::is_integral<T>::value,
98 "Incorrect type passed to function GLogConfig_Verbosity_Name.");
99 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
104 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GLogConfig_Verbosity>(
110 public ::PROTOBUF_NAMESPACE_ID::Message {
119 *
this = ::std::move(from);
127 if (
this == &from)
return *
this;
128 if (GetOwningArena() == from.GetOwningArena()
129 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
130 && GetOwningArena() !=
nullptr
141 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
144 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
147 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
170 if (other ==
this)
return;
171 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
172 if (GetOwningArena() !=
nullptr &&
173 GetOwningArena() == other->GetOwningArena()) {
175 if (GetOwningArena() == other->GetOwningArena()) {
179 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
183 if (other ==
this)
return;
184 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
191 return CreateMaybeMessage<GLogConfig_FileLog_Omit>(arena);
193 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
195 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
197 GLogConfig_FileLog_Omit::MergeImpl(*
this, from);
200 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
202 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
208 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
212 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
214 void SetCachedSize(
int size)
const final;
218 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
219 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
220 return "goby.util.protobuf.GLogConfig.FileLog.Omit";
224 bool is_message_owned =
false);
228 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
243 bool _internal_has_file_timestamp()
const;
249 bool _internal_file_timestamp()
const;
250 void _internal_set_file_timestamp(
bool value);
256 bool _internal_has_latest_symlink()
const;
262 bool _internal_latest_symlink()
const;
263 void _internal_set_latest_symlink(
bool value);
270 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
271 typedef void InternalArenaConstructable_;
272 typedef void DestructorSkippable_;
274 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
275 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
276 bool file_timestamp_;
277 bool latest_symlink_;
280 friend struct ::TableStruct_goby_2futil_2fprotobuf_2fdebug_5flogger_2eproto;
285 public ::PROTOBUF_NAMESPACE_ID::Message {
289 explicit PROTOBUF_CONSTEXPR
GLogConfig_FileLog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
294 *
this = ::std::move(from);
302 if (
this == &from)
return *
this;
303 if (GetOwningArena() == from.GetOwningArena()
304 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
305 && GetOwningArena() !=
nullptr
316 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
319 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
322 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
345 if (other ==
this)
return;
346 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
347 if (GetOwningArena() !=
nullptr &&
348 GetOwningArena() == other->GetOwningArena()) {
350 if (GetOwningArena() == other->GetOwningArena()) {
354 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
358 if (other ==
this)
return;
359 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
366 return CreateMaybeMessage<GLogConfig_FileLog>(arena);
368 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
370 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
372 GLogConfig_FileLog::MergeImpl(*
this, from);
375 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
377 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
383 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
387 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
389 void SetCachedSize(
int size)
const final;
393 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
394 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
395 return "goby.util.protobuf.GLogConfig.FileLog";
399 bool is_message_owned =
false);
403 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
421 bool has_file_name()
const;
423 bool _internal_has_file_name()
const;
425 void clear_file_name();
426 const std::string& file_name()
const;
427 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
433 const std::string& _internal_file_name()
const;
434 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_file_name(
const std::string& value);
435 std::string* _internal_mutable_file_name();
441 bool _internal_has_file_dir()
const;
444 const std::string&
file_dir()
const;
445 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
451 const std::string& _internal_file_dir()
const;
452 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_file_dir(
const std::string& value);
453 std::string* _internal_mutable_file_dir();
459 bool _internal_has_omit()
const;
462 const ::goby::util::protobuf::GLogConfig_FileLog_Omit&
omit()
const;
463 PROTOBUF_NODISCARD ::goby::util::protobuf::GLogConfig_FileLog_Omit*
release_omit();
467 const ::goby::util::protobuf::GLogConfig_FileLog_Omit& _internal_omit()
const;
477 bool _internal_has_log_rotate_sec()
const;
483 uint32_t _internal_log_rotate_sec()
const;
484 void _internal_set_log_rotate_sec(uint32_t value);
490 bool _internal_has_verbosity()
const;
504 template<
typename Quantity >
506 {
set_log_rotate_sec(boost::units::quantity<log_rotate_sec_unit,google::protobuf::uint32 >(value_w_units).value() ); };
508 template<
typename Quantity >
519 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
520 typedef void InternalArenaConstructable_;
521 typedef void DestructorSkippable_;
523 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
524 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
525 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_file_name_;
526 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_name_;
527 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_dir_;
529 uint32_t log_rotate_sec_;
533 friend struct ::TableStruct_goby_2futil_2fprotobuf_2fdebug_5flogger_2eproto;
538 public ::PROTOBUF_NAMESPACE_ID::Message {
542 explicit PROTOBUF_CONSTEXPR
GLogConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
547 *
this = ::std::move(from);
555 if (
this == &from)
return *
this;
556 if (GetOwningArena() == from.GetOwningArena()
557 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
558 && GetOwningArena() !=
nullptr
569 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
572 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
575 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
598 if (other ==
this)
return;
599 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
600 if (GetOwningArena() !=
nullptr &&
601 GetOwningArena() == other->GetOwningArena()) {
603 if (GetOwningArena() == other->GetOwningArena()) {
607 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
611 if (other ==
this)
return;
612 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
618 GLogConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
619 return CreateMaybeMessage<GLogConfig>(arena);
621 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
623 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
625 GLogConfig::MergeImpl(*
this, from);
628 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
630 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
636 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
640 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
642 void SetCachedSize(
int size)
const final;
646 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
647 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
648 return "goby.util.protobuf.GLogConfig";
652 bool is_message_owned =
false);
656 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
686 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
692 static_assert(::std::is_same<T, Verbosity>::value ||
693 ::std::is_integral<T>::value,
694 "Incorrect type passed to function Verbosity_Name.");
711 bool has_file_log()
const;
713 bool _internal_has_file_log()
const;
715 void clear_file_log();
716 const ::goby::util::protobuf::GLogConfig_FileLog& file_log()
const;
717 PROTOBUF_NODISCARD ::goby::util::protobuf::GLogConfig_FileLog* release_file_log();
721 const ::goby::util::protobuf::GLogConfig_FileLog& _internal_file_log()
const;
724 void unsafe_arena_set_allocated_file_log(
729 bool has_show_gui()
const;
731 bool _internal_has_show_gui()
const;
733 void clear_show_gui();
734 bool show_gui()
const;
735 void set_show_gui(
bool value);
737 bool _internal_show_gui()
const;
738 void _internal_set_show_gui(
bool value);
742 bool has_show_dccl_log()
const;
744 bool _internal_has_show_dccl_log()
const;
746 void clear_show_dccl_log();
747 bool show_dccl_log()
const;
748 void set_show_dccl_log(
bool value);
750 bool _internal_show_dccl_log()
const;
751 void _internal_set_show_dccl_log(
bool value);
755 bool has_tty_verbosity()
const;
757 bool _internal_has_tty_verbosity()
const;
759 void clear_tty_verbosity();
771 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
772 typedef void InternalArenaConstructable_;
773 typedef void DestructorSkippable_;
775 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
776 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
783 friend struct ::TableStruct_goby_2futil_2fprotobuf_2fdebug_5flogger_2eproto;
791 #pragma GCC diagnostic push
792 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
797inline bool GLogConfig_FileLog_Omit::_internal_has_file_timestamp()
const {
798 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
802 return _internal_has_file_timestamp();
805 _impl_.file_timestamp_ =
false;
806 _impl_._has_bits_[0] &= ~0x00000001u;
808inline bool GLogConfig_FileLog_Omit::_internal_file_timestamp()
const {
809 return _impl_.file_timestamp_;
813 return _internal_file_timestamp();
815inline void GLogConfig_FileLog_Omit::_internal_set_file_timestamp(
bool value) {
816 _impl_._has_bits_[0] |= 0x00000001u;
817 _impl_.file_timestamp_ = value;
820 _internal_set_file_timestamp(value);
825inline bool GLogConfig_FileLog_Omit::_internal_has_latest_symlink()
const {
826 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
830 return _internal_has_latest_symlink();
833 _impl_.latest_symlink_ =
false;
834 _impl_._has_bits_[0] &= ~0x00000002u;
836inline bool GLogConfig_FileLog_Omit::_internal_latest_symlink()
const {
837 return _impl_.latest_symlink_;
841 return _internal_latest_symlink();
843inline void GLogConfig_FileLog_Omit::_internal_set_latest_symlink(
bool value) {
844 _impl_._has_bits_[0] |= 0x00000002u;
845 _impl_.latest_symlink_ = value;
848 _internal_set_latest_symlink(value);
857inline bool GLogConfig_FileLog::_internal_has_file_name()
const {
858 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
862 return _internal_has_file_name();
865 _impl_.file_name_.ClearToDefault(::goby::util::protobuf::GLogConfig_FileLog::Impl_::_i_give_permission_to_break_this_code_default_file_name_, GetArenaForAllocation());
866 _impl_._has_bits_[0] &= ~0x00000001u;
870 if (
_impl_.file_name_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_file_name_.get();
871 return _internal_file_name();
873template <
typename ArgT0,
typename... ArgT>
874inline PROTOBUF_ALWAYS_INLINE
876 _impl_._has_bits_[0] |= 0x00000001u;
877 _impl_.file_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
881 std::string* _s = _internal_mutable_file_name();
885inline const std::string& GLogConfig_FileLog::_internal_file_name()
const {
886 return _impl_.file_name_.Get();
888inline void GLogConfig_FileLog::_internal_set_file_name(
const std::string& value) {
889 _impl_._has_bits_[0] |= 0x00000001u;
890 _impl_.file_name_.Set(value, GetArenaForAllocation());
892inline std::string* GLogConfig_FileLog::_internal_mutable_file_name() {
893 _impl_._has_bits_[0] |= 0x00000001u;
894 return _impl_.file_name_.Mutable(::goby::util::protobuf::GLogConfig_FileLog::Impl_::_i_give_permission_to_break_this_code_default_file_name_, GetArenaForAllocation());
898 if (!_internal_has_file_name()) {
901 _impl_._has_bits_[0] &= ~0x00000001u;
902 auto* p =
_impl_.file_name_.Release();
907 _impl_._has_bits_[0] |= 0x00000001u;
909 _impl_._has_bits_[0] &= ~0x00000001u;
916inline bool GLogConfig_FileLog::_internal_has_file_dir()
const {
917 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
921 return _internal_has_file_dir();
924 _impl_.file_dir_.ClearToEmpty();
925 _impl_._has_bits_[0] &= ~0x00000002u;
929 return _internal_file_dir();
931template <
typename ArgT0,
typename... ArgT>
932inline PROTOBUF_ALWAYS_INLINE
934 _impl_._has_bits_[0] |= 0x00000002u;
935 _impl_.file_dir_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
939 std::string* _s = _internal_mutable_file_dir();
943inline const std::string& GLogConfig_FileLog::_internal_file_dir()
const {
944 return _impl_.file_dir_.Get();
946inline void GLogConfig_FileLog::_internal_set_file_dir(
const std::string& value) {
947 _impl_._has_bits_[0] |= 0x00000002u;
948 _impl_.file_dir_.Set(value, GetArenaForAllocation());
950inline std::string* GLogConfig_FileLog::_internal_mutable_file_dir() {
951 _impl_._has_bits_[0] |= 0x00000002u;
952 return _impl_.file_dir_.Mutable(GetArenaForAllocation());
956 if (!_internal_has_file_dir()) {
959 _impl_._has_bits_[0] &= ~0x00000002u;
960 auto* p =
_impl_.file_dir_.Release();
961#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
962 if (
_impl_.file_dir_.IsDefault()) {
963 _impl_.file_dir_.Set(
"", GetArenaForAllocation());
970 _impl_._has_bits_[0] |= 0x00000002u;
972 _impl_._has_bits_[0] &= ~0x00000002u;
975#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
976 if (
_impl_.file_dir_.IsDefault()) {
977 _impl_.file_dir_.Set(
"", GetArenaForAllocation());
984inline bool GLogConfig_FileLog::_internal_has_verbosity()
const {
985 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
989 return _internal_has_verbosity();
993 _impl_._has_bits_[0] &= ~0x00000010u;
995inline ::goby::util::protobuf::GLogConfig_Verbosity GLogConfig_FileLog::_internal_verbosity()
const {
1000 return _internal_verbosity();
1004 _impl_._has_bits_[0] |= 0x00000010u;
1005 _impl_.verbosity_ = value;
1008 _internal_set_verbosity(value);
1013inline bool GLogConfig_FileLog::_internal_has_log_rotate_sec()
const {
1014 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1018 return _internal_has_log_rotate_sec();
1021 _impl_.log_rotate_sec_ = 0u;
1022 _impl_._has_bits_[0] &= ~0x00000008u;
1024inline uint32_t GLogConfig_FileLog::_internal_log_rotate_sec()
const {
1025 return _impl_.log_rotate_sec_;
1029 return _internal_log_rotate_sec();
1031inline void GLogConfig_FileLog::_internal_set_log_rotate_sec(uint32_t value) {
1032 _impl_._has_bits_[0] |= 0x00000008u;
1033 _impl_.log_rotate_sec_ = value;
1036 _internal_set_log_rotate_sec(value);
1041inline bool GLogConfig_FileLog::_internal_has_omit()
const {
1042 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1043 PROTOBUF_ASSUME(!value || _impl_.omit_ !=
nullptr);
1047 return _internal_has_omit();
1051 _impl_._has_bits_[0] &= ~0x00000004u;
1053inline const ::goby::util::protobuf::GLogConfig_FileLog_Omit& GLogConfig_FileLog::_internal_omit()
const {
1054 const ::goby::util::protobuf::GLogConfig_FileLog_Omit* p = _impl_.omit_;
1060 return _internal_omit();
1064 if (GetArenaForAllocation() ==
nullptr) {
1065 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.omit_);
1069 _impl_._has_bits_[0] |= 0x00000004u;
1071 _impl_._has_bits_[0] &= ~0x00000004u;
1076 _impl_._has_bits_[0] &= ~0x00000004u;
1079#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1080 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1081 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1082 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1084 if (GetArenaForAllocation() !=
nullptr) {
1085 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1092 _impl_._has_bits_[0] &= ~0x00000004u;
1097inline ::goby::util::protobuf::GLogConfig_FileLog_Omit* GLogConfig_FileLog::_internal_mutable_omit() {
1098 _impl_._has_bits_[0] |= 0x00000004u;
1099 if (_impl_.omit_ ==
nullptr) {
1103 return _impl_.omit_;
1111 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1112 if (message_arena ==
nullptr) {
1116 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1117 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
omit);
1118 if (message_arena != submessage_arena) {
1119 omit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1120 message_arena,
omit, submessage_arena);
1122 _impl_._has_bits_[0] |= 0x00000004u;
1124 _impl_._has_bits_[0] &= ~0x00000004u;
1135inline bool GLogConfig::_internal_has_tty_verbosity()
const {
1136 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1140 return _internal_has_tty_verbosity();
1143 _impl_.tty_verbosity_ = 1;
1144 _impl_._has_bits_[0] &= ~0x00000008u;
1146inline ::goby::util::protobuf::GLogConfig_Verbosity GLogConfig::_internal_tty_verbosity()
const {
1151 return _internal_tty_verbosity();
1155 _impl_._has_bits_[0] |= 0x00000008u;
1156 _impl_.tty_verbosity_ = value;
1159 _internal_set_tty_verbosity(value);
1164inline bool GLogConfig::_internal_has_show_gui()
const {
1165 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1169 return _internal_has_show_gui();
1172 _impl_.show_gui_ =
false;
1173 _impl_._has_bits_[0] &= ~0x00000002u;
1175inline bool GLogConfig::_internal_show_gui()
const {
1176 return _impl_.show_gui_;
1180 return _internal_show_gui();
1182inline void GLogConfig::_internal_set_show_gui(
bool value) {
1183 _impl_._has_bits_[0] |= 0x00000002u;
1184 _impl_.show_gui_ = value;
1187 _internal_set_show_gui(value);
1192inline bool GLogConfig::_internal_has_file_log()
const {
1193 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1194 PROTOBUF_ASSUME(!value || _impl_.file_log_ !=
nullptr);
1198 return _internal_has_file_log();
1201 if (
_impl_.file_log_ !=
nullptr)
_impl_.file_log_->Clear();
1202 _impl_._has_bits_[0] &= ~0x00000001u;
1204inline const ::goby::util::protobuf::GLogConfig_FileLog& GLogConfig::_internal_file_log()
const {
1205 const ::goby::util::protobuf::GLogConfig_FileLog* p = _impl_.file_log_;
1211 return _internal_file_log();
1215 if (GetArenaForAllocation() ==
nullptr) {
1216 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.file_log_);
1220 _impl_._has_bits_[0] |= 0x00000001u;
1222 _impl_._has_bits_[0] &= ~0x00000001u;
1227 _impl_._has_bits_[0] &= ~0x00000001u;
1229 _impl_.file_log_ =
nullptr;
1230#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1231 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1232 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1233 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1235 if (GetArenaForAllocation() !=
nullptr) {
1236 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1243 _impl_._has_bits_[0] &= ~0x00000001u;
1245 _impl_.file_log_ =
nullptr;
1248inline ::goby::util::protobuf::GLogConfig_FileLog* GLogConfig::_internal_mutable_file_log() {
1249 _impl_._has_bits_[0] |= 0x00000001u;
1250 if (_impl_.file_log_ ==
nullptr) {
1252 _impl_.file_log_ = p;
1254 return _impl_.file_log_;
1262 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1263 if (message_arena ==
nullptr) {
1267 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1268 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
file_log);
1269 if (message_arena != submessage_arena) {
1270 file_log = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1271 message_arena,
file_log, submessage_arena);
1273 _impl_._has_bits_[0] |= 0x00000001u;
1275 _impl_._has_bits_[0] &= ~0x00000001u;
1282inline bool GLogConfig::_internal_has_show_dccl_log()
const {
1283 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1287 return _internal_has_show_dccl_log();
1290 _impl_.show_dccl_log_ =
false;
1291 _impl_._has_bits_[0] &= ~0x00000004u;
1293inline bool GLogConfig::_internal_show_dccl_log()
const {
1294 return _impl_.show_dccl_log_;
1298 return _internal_show_dccl_log();
1300inline void GLogConfig::_internal_set_show_dccl_log(
bool value) {
1301 _impl_._has_bits_[0] |= 0x00000004u;
1302 _impl_.show_dccl_log_ = value;
1305 _internal_set_show_dccl_log(value);
1310 #pragma GCC diagnostic pop
1323PROTOBUF_NAMESPACE_OPEN
1328 return ::goby::util::protobuf::GLogConfig_Verbosity_descriptor();
1331PROTOBUF_NAMESPACE_CLOSE
1335#include <google/protobuf/port_undef.inc>
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
bool has_latest_symlink() const
bool has_file_timestamp() const
GLogConfig_FileLog_Omit * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
bool latest_symlink() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void clear_latest_symlink()
void CopyFrom(const GLogConfig_FileLog_Omit &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const GLogConfig_FileLog_Omit &from)
GLogConfig_FileLog_Omit()
GLogConfig_FileLog_Omit(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
GLogConfig_FileLog_Omit & operator=(GLogConfig_FileLog_Omit &&from) noexcept
void Swap(GLogConfig_FileLog_Omit *other)
static const GLogConfig_FileLog_Omit * internal_default_instance()
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GLogConfig_FileLog_Omit & operator=(const GLogConfig_FileLog_Omit &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
bool file_timestamp() const
void clear_file_timestamp()
static const GLogConfig_FileLog_Omit & default_instance()
friend void swap(GLogConfig_FileLog_Omit &a, GLogConfig_FileLog_Omit &b)
void set_latest_symlink(bool value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(GLogConfig_FileLog_Omit *other)
GLogConfig_FileLog_Omit(GLogConfig_FileLog_Omit &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static constexpr int kIndexInFileMessages
int GetCachedSize() const final
PROTOBUF_CONSTEXPR GLogConfig_FileLog_Omit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
@ kLatestSymlinkFieldNumber
@ kFileTimestampFieldNumber
~GLogConfig_FileLog_Omit() override
GLogConfig_FileLog_Omit(const GLogConfig_FileLog_Omit &from)
bool IsInitialized() const final
void set_file_timestamp(bool value)
size_t ByteSizeLong() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_NODISCARD std::string * release_file_dir()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void CopyFrom(const GLogConfig_FileLog &from)
void set_allocated_file_dir(std::string *file_dir)
const std::string & file_name() const
PROTOBUF_NODISCARD::goby::util::protobuf::GLogConfig_FileLog_Omit * release_omit()
void set_allocated_file_name(std::string *file_name)
GLogConfig_FileLog(const GLogConfig_FileLog &from)
size_t ByteSizeLong() const final
bool has_verbosity() const
friend void swap(GLogConfig_FileLog &a, GLogConfig_FileLog &b)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::goby::util::protobuf::GLogConfig_Verbosity verbosity() const
bool has_file_dir() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_log_rotate_sec_with_units(Quantity value_w_units)
void set_file_dir(ArgT0 &&arg0, ArgT... args)
PROTOBUF_CONSTEXPR GLogConfig_FileLog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD std::string * release_file_name()
::goby::util::protobuf::GLogConfig_FileLog_Omit * mutable_omit()
GLogConfig_FileLog(GLogConfig_FileLog &&from) noexcept
static const GLogConfig_FileLog & default_instance()
boost::units::quantity< log_rotate_sec_unit, google::protobuf::uint32 > log_rotate_sec_with_units() const
boost::units::unit< log_rotate_sec_dimension, boost::units::si::system > log_rotate_sec_unit
GLogConfig_FileLog & operator=(const GLogConfig_FileLog &from)
void set_file_name(ArgT0 &&arg0, ArgT... args)
const ::goby::util::protobuf::GLogConfig_FileLog_Omit & omit() const
void Swap(GLogConfig_FileLog *other)
@ kLogRotateSecFieldNumber
GLogConfig_FileLog & operator=(GLogConfig_FileLog &&from) noexcept
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const GLogConfig_FileLog * internal_default_instance()
void MergeFrom(const GLogConfig_FileLog &from)
static constexpr int kIndexInFileMessages
::goby::util::protobuf::GLogConfig_FileLog_Omit * unsafe_arena_release_omit()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_omit(::goby::util::protobuf::GLogConfig_FileLog_Omit *omit)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const std::string & file_dir() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(GLogConfig_FileLog *other)
~GLogConfig_FileLog() override
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
int GetCachedSize() const final
bool IsInitialized() const final
uint32_t log_rotate_sec() const
Quantity log_rotate_sec_with_units() const
void unsafe_arena_set_allocated_omit(::goby::util::protobuf::GLogConfig_FileLog_Omit *omit)
GLogConfig_FileLog(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
std::string * mutable_file_dir()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_file_name() const
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type log_rotate_sec_dimension
GLogConfig_FileLog_Omit Omit
void set_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value)
bool has_log_rotate_sec() const
std::string * mutable_file_name()
static const ClassData _class_data_
void set_log_rotate_sec(uint32_t value)
GLogConfig_FileLog * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void clear_log_rotate_sec()
GLogConfig & operator=(GLogConfig &&from) noexcept
static constexpr Verbosity Verbosity_MIN
void Swap(GLogConfig *other)
static constexpr Verbosity DEBUG1
static constexpr Verbosity Verbosity_MAX
::goby::util::protobuf::GLogConfig_Verbosity tty_verbosity() const
static const std::string & Verbosity_Name(T enum_t_value)
static constexpr Verbosity VERBOSE
static const ClassData _class_data_
const ::goby::util::protobuf::GLogConfig_FileLog & file_log() const
::goby::util::protobuf::GLogConfig_FileLog * mutable_file_log()
bool has_tty_verbosity() const
void UnsafeArenaSwap(GLogConfig *other)
static constexpr Verbosity DEBUG2
static constexpr Verbosity WARN
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static bool Verbosity_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Verbosity *value)
static bool Verbosity_IsValid(int value)
int GetCachedSize() const final
void set_tty_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value)
void set_allocated_file_log(::goby::util::protobuf::GLogConfig_FileLog *file_log)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static constexpr Verbosity QUIET
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_show_gui(bool value)
GLogConfig_Verbosity Verbosity
::goby::util::protobuf::GLogConfig_FileLog * unsafe_arena_release_file_log()
static const GLogConfig * internal_default_instance()
void set_show_dccl_log(bool value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void unsafe_arena_set_allocated_file_log(::goby::util::protobuf::GLogConfig_FileLog *file_log)
static constexpr int kIndexInFileMessages
GLogConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GLogConfig(const GLogConfig &from)
static const GLogConfig & default_instance()
bool has_show_gui() const
void clear_tty_verbosity()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
bool has_file_log() const
bool has_show_dccl_log() const
bool show_dccl_log() const
static constexpr int Verbosity_ARRAYSIZE
friend void swap(GLogConfig &a, GLogConfig &b)
bool IsInitialized() const final
void MergeFrom(const GLogConfig &from)
@ kShowDcclLogFieldNumber
@ kTtyVerbosityFieldNumber
GLogConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_NODISCARD::goby::util::protobuf::GLogConfig_FileLog * release_file_log()
GLogConfig(GLogConfig &&from) noexcept
static constexpr Verbosity DEBUG3
PROTOBUF_CONSTEXPR GLogConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void clear_show_dccl_log()
size_t ByteSizeLong() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
GLogConfig_FileLog FileLog
void CopyFrom(const GLogConfig &from)
GLogConfig & operator=(const GLogConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Verbosity_descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::goby::util::protobuf::GLogConfig_FileLog * Arena::CreateMaybeMessage<::goby::util::protobuf::GLogConfig_FileLog >(Arena *)
::goby::util::protobuf::GLogConfig_FileLog_Omit * Arena::CreateMaybeMessage<::goby::util::protobuf::GLogConfig_FileLog_Omit >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::goby::util::protobuf::GLogConfig_Verbosity >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2futil_2fprotobuf_2fdebug_5flogger_2eproto
*brief create JSON pointer *sa reference_tokens const string_t const string_t & b
*brief create JSON pointer *sa reference_tokens const string_t & a
*brief remove last reference token *sa JSON pointer has no nullptr
*brief write string representation of the JSON pointer to stream *sa const json_pointer & ptr
bool GLogConfig_Verbosity_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GLogConfig_Verbosity *value)
GLogConfig_FileLogDefaultTypeInternal _GLogConfig_FileLog_default_instance_
bool GLogConfig_Verbosity_IsValid(int value)
constexpr int GLogConfig_Verbosity_Verbosity_ARRAYSIZE
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GLogConfig_Verbosity_descriptor()
GLogConfigDefaultTypeInternal _GLogConfig_default_instance_
constexpr GLogConfig_Verbosity GLogConfig_Verbosity_Verbosity_MAX
@ GLogConfig_Verbosity_WARN
@ GLogConfig_Verbosity_DEBUG3
@ GLogConfig_Verbosity_QUIET
@ GLogConfig_Verbosity_DEBUG1
@ GLogConfig_Verbosity_VERBOSE
@ GLogConfig_Verbosity_DEBUG2
constexpr GLogConfig_Verbosity GLogConfig_Verbosity_Verbosity_MIN
GLogConfig_FileLog_OmitDefaultTypeInternal _GLogConfig_FileLog_Omit_default_instance_
const std::string & GLogConfig_Verbosity_Name(T enum_t_value)
The global namespace for the Goby project.
static const uint32_t offsets[]