4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_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>
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 <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
59struct LogToolConfigDefaultTypeInternal;
65PROTOBUF_NAMESPACE_OPEN
67PROTOBUF_NAMESPACE_CLOSE
86 static_assert(::std::is_same<T, LogToolConfig_OutputFormat>::value ||
87 ::std::is_integral<T>::value,
88 "Incorrect type passed to function LogToolConfig_OutputFormat_Name.");
89 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
94 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<LogToolConfig_OutputFormat>(
100 public ::PROTOBUF_NAMESPACE_ID::Message {
104 explicit PROTOBUF_CONSTEXPR
LogToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
109 *
this = ::std::move(from);
117 if (
this == &from)
return *
this;
118 if (GetOwningArena() == from.GetOwningArena()
119 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
120 && GetOwningArena() !=
nullptr
131 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
134 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
137 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
160 if (other ==
this)
return;
161 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
162 if (GetOwningArena() !=
nullptr &&
163 GetOwningArena() == other->GetOwningArena()) {
165 if (GetOwningArena() == other->GetOwningArena()) {
169 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
173 if (other ==
this)
return;
174 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
181 return CreateMaybeMessage<LogToolConfig>(arena);
183 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
185 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
187 LogToolConfig::MergeImpl(*
this, from);
190 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
192 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
198 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
202 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
204 void SetCachedSize(
int size)
const final;
208 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
209 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
210 return "goby.apps.middleware.protobuf.LogToolConfig";
214 bool is_message_owned =
false);
218 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
240 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
246 static_assert(::std::is_same<T, OutputFormat>::value ||
247 ::std::is_integral<T>::value,
248 "Incorrect type passed to function OutputFormat_Name.");
275 int _internal_load_shared_library_size()
const;
292 const std::string& _internal_load_shared_library(
int index)
const;
293 std::string* _internal_add_load_shared_library();
299 bool _internal_has_input_file()
const;
303 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
309 const std::string& _internal_input_file()
const;
310 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_input_file(
const std::string& value);
311 std::string* _internal_mutable_input_file();
317 bool _internal_has_type_regex()
const;
321 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
327 const std::string& _internal_type_regex()
const;
328 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type_regex(
const std::string& value);
329 std::string* _internal_mutable_type_regex();
335 bool _internal_has_group_regex()
const;
339 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
345 const std::string& _internal_group_regex()
const;
346 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group_regex(
const std::string& value);
347 std::string* _internal_mutable_group_regex();
353 bool _internal_has_exclude_type_regex()
const;
357 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
363 const std::string& _internal_exclude_type_regex()
const;
364 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_exclude_type_regex(
const std::string& value);
365 std::string* _internal_mutable_exclude_type_regex();
371 bool _internal_has_exclude_group_regex()
const;
375 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
381 const std::string& _internal_exclude_group_regex()
const;
382 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_exclude_group_regex(
const std::string& value);
383 std::string* _internal_mutable_exclude_group_regex();
389 bool _internal_has_output_file()
const;
393 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
399 const std::string& _internal_output_file()
const;
400 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_output_file(
const std::string& value);
401 std::string* _internal_mutable_output_file();
407 bool _internal_has_app()
const;
410 const ::goby::middleware::protobuf::AppConfig&
app()
const;
411 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
415 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
425 bool _internal_has_hdf5_chunk_length()
const;
431 int32_t _internal_hdf5_chunk_length()
const;
432 void _internal_set_hdf5_chunk_length(int32_t value);
438 bool _internal_has_hdf5_compression_level()
const;
444 int32_t _internal_hdf5_compression_level()
const;
445 void _internal_set_hdf5_compression_level(int32_t value);
451 bool _internal_has_format()
const;
464 bool _internal_has_write_hdf5_zero_length_dim()
const;
470 bool _internal_write_hdf5_zero_length_dim()
const;
471 void _internal_set_write_hdf5_zero_length_dim(
bool value);
478 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
479 typedef void InternalArenaConstructable_;
480 typedef void DestructorSkippable_;
482 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
483 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
484 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
485 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr input_file_;
486 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_type_regex_;
487 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_regex_;
488 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_group_regex_;
489 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_regex_;
490 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr exclude_type_regex_;
491 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr exclude_group_regex_;
492 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_file_;
494 int32_t hdf5_chunk_length_;
495 int32_t hdf5_compression_level_;
497 bool write_hdf5_zero_length_dim_;
500 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto;
508 #pragma GCC diagnostic push
509 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
514inline bool LogToolConfig::_internal_has_app()
const {
515 bool value = (
_impl_._has_bits_[0] & 0x00000040u) != 0;
516 PROTOBUF_ASSUME(!value ||
_impl_.app_ !=
nullptr);
520 return _internal_has_app();
522inline const ::goby::middleware::protobuf::AppConfig& LogToolConfig::_internal_app()
const {
523 const ::goby::middleware::protobuf::AppConfig* p =
_impl_.app_;
529 return _internal_app();
533 if (GetArenaForAllocation() ==
nullptr) {
534 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
538 _impl_._has_bits_[0] |= 0x00000040u;
540 _impl_._has_bits_[0] &= ~0x00000040u;
545 _impl_._has_bits_[0] &= ~0x00000040u;
548#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
549 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
550 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
551 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
553 if (GetArenaForAllocation() !=
nullptr) {
554 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
561 _impl_._has_bits_[0] &= ~0x00000040u;
566inline ::goby::middleware::protobuf::AppConfig* LogToolConfig::_internal_mutable_app() {
567 _impl_._has_bits_[0] |= 0x00000040u;
568 if (
_impl_.app_ ==
nullptr) {
580 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
581 if (message_arena ==
nullptr) {
582 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
585 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
586 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
587 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
app));
588 if (message_arena != submessage_arena) {
589 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
590 message_arena,
app, submessage_arena);
592 _impl_._has_bits_[0] |= 0x00000040u;
594 _impl_._has_bits_[0] &= ~0x00000040u;
601inline bool LogToolConfig::_internal_has_input_file()
const {
602 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
606 return _internal_has_input_file();
609 _impl_.input_file_.ClearToEmpty();
610 _impl_._has_bits_[0] &= ~0x00000001u;
614 return _internal_input_file();
616template <
typename ArgT0,
typename... ArgT>
617inline PROTOBUF_ALWAYS_INLINE
619 _impl_._has_bits_[0] |= 0x00000001u;
620 _impl_.input_file_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
624 std::string* _s = _internal_mutable_input_file();
628inline const std::string& LogToolConfig::_internal_input_file()
const {
629 return _impl_.input_file_.Get();
631inline void LogToolConfig::_internal_set_input_file(
const std::string& value) {
632 _impl_._has_bits_[0] |= 0x00000001u;
633 _impl_.input_file_.Set(value, GetArenaForAllocation());
635inline std::string* LogToolConfig::_internal_mutable_input_file() {
636 _impl_._has_bits_[0] |= 0x00000001u;
637 return _impl_.input_file_.Mutable(GetArenaForAllocation());
641 if (!_internal_has_input_file()) {
644 _impl_._has_bits_[0] &= ~0x00000001u;
645 auto* p =
_impl_.input_file_.Release();
646#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
647 if (
_impl_.input_file_.IsDefault()) {
648 _impl_.input_file_.Set(
"", GetArenaForAllocation());
655 _impl_._has_bits_[0] |= 0x00000001u;
657 _impl_._has_bits_[0] &= ~0x00000001u;
660#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
661 if (
_impl_.input_file_.IsDefault()) {
662 _impl_.input_file_.Set(
"", GetArenaForAllocation());
669inline bool LogToolConfig::_internal_has_type_regex()
const {
670 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
674 return _internal_has_type_regex();
677 _impl_.type_regex_.ClearToDefault(::goby::apps::middleware::protobuf::LogToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
678 _impl_._has_bits_[0] &= ~0x00000002u;
682 if (
_impl_.type_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_type_regex_.get();
683 return _internal_type_regex();
685template <
typename ArgT0,
typename... ArgT>
686inline PROTOBUF_ALWAYS_INLINE
688 _impl_._has_bits_[0] |= 0x00000002u;
689 _impl_.type_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
693 std::string* _s = _internal_mutable_type_regex();
697inline const std::string& LogToolConfig::_internal_type_regex()
const {
698 return _impl_.type_regex_.Get();
700inline void LogToolConfig::_internal_set_type_regex(
const std::string& value) {
701 _impl_._has_bits_[0] |= 0x00000002u;
702 _impl_.type_regex_.Set(value, GetArenaForAllocation());
704inline std::string* LogToolConfig::_internal_mutable_type_regex() {
705 _impl_._has_bits_[0] |= 0x00000002u;
706 return _impl_.type_regex_.Mutable(::goby::apps::middleware::protobuf::LogToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
710 if (!_internal_has_type_regex()) {
713 _impl_._has_bits_[0] &= ~0x00000002u;
714 auto* p =
_impl_.type_regex_.Release();
719 _impl_._has_bits_[0] |= 0x00000002u;
721 _impl_._has_bits_[0] &= ~0x00000002u;
728inline bool LogToolConfig::_internal_has_group_regex()
const {
729 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
733 return _internal_has_group_regex();
736 _impl_.group_regex_.ClearToDefault(::goby::apps::middleware::protobuf::LogToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
737 _impl_._has_bits_[0] &= ~0x00000004u;
741 if (
_impl_.group_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_group_regex_.get();
742 return _internal_group_regex();
744template <
typename ArgT0,
typename... ArgT>
745inline PROTOBUF_ALWAYS_INLINE
747 _impl_._has_bits_[0] |= 0x00000004u;
748 _impl_.group_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
752 std::string* _s = _internal_mutable_group_regex();
756inline const std::string& LogToolConfig::_internal_group_regex()
const {
757 return _impl_.group_regex_.Get();
759inline void LogToolConfig::_internal_set_group_regex(
const std::string& value) {
760 _impl_._has_bits_[0] |= 0x00000004u;
761 _impl_.group_regex_.Set(value, GetArenaForAllocation());
763inline std::string* LogToolConfig::_internal_mutable_group_regex() {
764 _impl_._has_bits_[0] |= 0x00000004u;
765 return _impl_.group_regex_.Mutable(::goby::apps::middleware::protobuf::LogToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
769 if (!_internal_has_group_regex()) {
772 _impl_._has_bits_[0] &= ~0x00000004u;
773 auto* p =
_impl_.group_regex_.Release();
778 _impl_._has_bits_[0] |= 0x00000004u;
780 _impl_._has_bits_[0] &= ~0x00000004u;
787inline bool LogToolConfig::_internal_has_exclude_type_regex()
const {
788 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
792 return _internal_has_exclude_type_regex();
795 _impl_.exclude_type_regex_.ClearToEmpty();
796 _impl_._has_bits_[0] &= ~0x00000008u;
800 return _internal_exclude_type_regex();
802template <
typename ArgT0,
typename... ArgT>
803inline PROTOBUF_ALWAYS_INLINE
805 _impl_._has_bits_[0] |= 0x00000008u;
806 _impl_.exclude_type_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
810 std::string* _s = _internal_mutable_exclude_type_regex();
814inline const std::string& LogToolConfig::_internal_exclude_type_regex()
const {
815 return _impl_.exclude_type_regex_.Get();
817inline void LogToolConfig::_internal_set_exclude_type_regex(
const std::string& value) {
818 _impl_._has_bits_[0] |= 0x00000008u;
819 _impl_.exclude_type_regex_.Set(value, GetArenaForAllocation());
821inline std::string* LogToolConfig::_internal_mutable_exclude_type_regex() {
822 _impl_._has_bits_[0] |= 0x00000008u;
823 return _impl_.exclude_type_regex_.Mutable(GetArenaForAllocation());
827 if (!_internal_has_exclude_type_regex()) {
830 _impl_._has_bits_[0] &= ~0x00000008u;
831 auto* p =
_impl_.exclude_type_regex_.Release();
832#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
833 if (
_impl_.exclude_type_regex_.IsDefault()) {
834 _impl_.exclude_type_regex_.Set(
"", GetArenaForAllocation());
841 _impl_._has_bits_[0] |= 0x00000008u;
843 _impl_._has_bits_[0] &= ~0x00000008u;
846#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
847 if (
_impl_.exclude_type_regex_.IsDefault()) {
848 _impl_.exclude_type_regex_.Set(
"", GetArenaForAllocation());
855inline bool LogToolConfig::_internal_has_exclude_group_regex()
const {
856 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
860 return _internal_has_exclude_group_regex();
863 _impl_.exclude_group_regex_.ClearToEmpty();
864 _impl_._has_bits_[0] &= ~0x00000010u;
868 return _internal_exclude_group_regex();
870template <
typename ArgT0,
typename... ArgT>
871inline PROTOBUF_ALWAYS_INLINE
873 _impl_._has_bits_[0] |= 0x00000010u;
874 _impl_.exclude_group_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
878 std::string* _s = _internal_mutable_exclude_group_regex();
882inline const std::string& LogToolConfig::_internal_exclude_group_regex()
const {
883 return _impl_.exclude_group_regex_.Get();
885inline void LogToolConfig::_internal_set_exclude_group_regex(
const std::string& value) {
886 _impl_._has_bits_[0] |= 0x00000010u;
887 _impl_.exclude_group_regex_.Set(value, GetArenaForAllocation());
889inline std::string* LogToolConfig::_internal_mutable_exclude_group_regex() {
890 _impl_._has_bits_[0] |= 0x00000010u;
891 return _impl_.exclude_group_regex_.Mutable(GetArenaForAllocation());
895 if (!_internal_has_exclude_group_regex()) {
898 _impl_._has_bits_[0] &= ~0x00000010u;
899 auto* p =
_impl_.exclude_group_regex_.Release();
900#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
901 if (
_impl_.exclude_group_regex_.IsDefault()) {
902 _impl_.exclude_group_regex_.Set(
"", GetArenaForAllocation());
909 _impl_._has_bits_[0] |= 0x00000010u;
911 _impl_._has_bits_[0] &= ~0x00000010u;
914#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
915 if (
_impl_.exclude_group_regex_.IsDefault()) {
916 _impl_.exclude_group_regex_.Set(
"", GetArenaForAllocation());
923inline bool LogToolConfig::_internal_has_output_file()
const {
924 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
928 return _internal_has_output_file();
931 _impl_.output_file_.ClearToEmpty();
932 _impl_._has_bits_[0] &= ~0x00000020u;
936 return _internal_output_file();
938template <
typename ArgT0,
typename... ArgT>
939inline PROTOBUF_ALWAYS_INLINE
941 _impl_._has_bits_[0] |= 0x00000020u;
942 _impl_.output_file_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
946 std::string* _s = _internal_mutable_output_file();
950inline const std::string& LogToolConfig::_internal_output_file()
const {
951 return _impl_.output_file_.Get();
953inline void LogToolConfig::_internal_set_output_file(
const std::string& value) {
954 _impl_._has_bits_[0] |= 0x00000020u;
955 _impl_.output_file_.Set(value, GetArenaForAllocation());
957inline std::string* LogToolConfig::_internal_mutable_output_file() {
958 _impl_._has_bits_[0] |= 0x00000020u;
959 return _impl_.output_file_.Mutable(GetArenaForAllocation());
963 if (!_internal_has_output_file()) {
966 _impl_._has_bits_[0] &= ~0x00000020u;
967 auto* p =
_impl_.output_file_.Release();
968#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
969 if (
_impl_.output_file_.IsDefault()) {
970 _impl_.output_file_.Set(
"", GetArenaForAllocation());
977 _impl_._has_bits_[0] |= 0x00000020u;
979 _impl_._has_bits_[0] &= ~0x00000020u;
982#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
983 if (
_impl_.output_file_.IsDefault()) {
984 _impl_.output_file_.Set(
"", GetArenaForAllocation());
991inline bool LogToolConfig::_internal_has_format()
const {
992 bool value = (
_impl_._has_bits_[0] & 0x00000200u) != 0;
996 return _internal_has_format();
1000 _impl_._has_bits_[0] &= ~0x00000200u;
1002inline ::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat LogToolConfig::_internal_format()
const {
1007 return _internal_format();
1011 _impl_._has_bits_[0] |= 0x00000200u;
1015 _internal_set_format(value);
1020inline bool LogToolConfig::_internal_has_write_hdf5_zero_length_dim()
const {
1021 bool value = (
_impl_._has_bits_[0] & 0x00000400u) != 0;
1025 return _internal_has_write_hdf5_zero_length_dim();
1028 _impl_.write_hdf5_zero_length_dim_ =
true;
1029 _impl_._has_bits_[0] &= ~0x00000400u;
1031inline bool LogToolConfig::_internal_write_hdf5_zero_length_dim()
const {
1032 return _impl_.write_hdf5_zero_length_dim_;
1036 return _internal_write_hdf5_zero_length_dim();
1038inline void LogToolConfig::_internal_set_write_hdf5_zero_length_dim(
bool value) {
1039 _impl_._has_bits_[0] |= 0x00000400u;
1040 _impl_.write_hdf5_zero_length_dim_ = value;
1043 _internal_set_write_hdf5_zero_length_dim(value);
1048inline bool LogToolConfig::_internal_has_hdf5_chunk_length()
const {
1049 bool value = (
_impl_._has_bits_[0] & 0x00000080u) != 0;
1053 return _internal_has_hdf5_chunk_length();
1056 _impl_.hdf5_chunk_length_ = 0;
1057 _impl_._has_bits_[0] &= ~0x00000080u;
1059inline int32_t LogToolConfig::_internal_hdf5_chunk_length()
const {
1060 return _impl_.hdf5_chunk_length_;
1064 return _internal_hdf5_chunk_length();
1066inline void LogToolConfig::_internal_set_hdf5_chunk_length(int32_t value) {
1067 _impl_._has_bits_[0] |= 0x00000080u;
1068 _impl_.hdf5_chunk_length_ = value;
1071 _internal_set_hdf5_chunk_length(value);
1076inline bool LogToolConfig::_internal_has_hdf5_compression_level()
const {
1077 bool value = (
_impl_._has_bits_[0] & 0x00000100u) != 0;
1081 return _internal_has_hdf5_compression_level();
1084 _impl_.hdf5_compression_level_ = 0;
1085 _impl_._has_bits_[0] &= ~0x00000100u;
1087inline int32_t LogToolConfig::_internal_hdf5_compression_level()
const {
1088 return _impl_.hdf5_compression_level_;
1092 return _internal_hdf5_compression_level();
1094inline void LogToolConfig::_internal_set_hdf5_compression_level(int32_t value) {
1095 _impl_._has_bits_[0] |= 0x00000100u;
1096 _impl_.hdf5_compression_level_ = value;
1099 _internal_set_hdf5_compression_level(value);
1104inline int LogToolConfig::_internal_load_shared_library_size()
const {
1105 return _impl_.load_shared_library_.size();
1108 return _internal_load_shared_library_size();
1111 _impl_.load_shared_library_.Clear();
1114 std::string* _s = _internal_add_load_shared_library();
1118inline const std::string& LogToolConfig::_internal_load_shared_library(
int index)
const {
1119 return _impl_.load_shared_library_.Get(index);
1123 return _internal_load_shared_library(index);
1127 return _impl_.load_shared_library_.Mutable(index);
1130 _impl_.load_shared_library_.Mutable(index)->assign(value);
1134 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1138 GOOGLE_DCHECK(value !=
nullptr);
1139 _impl_.load_shared_library_.Mutable(index)->assign(value);
1143 _impl_.load_shared_library_.Mutable(index)->assign(
1144 reinterpret_cast<const char*
>(value), size);
1147inline std::string* LogToolConfig::_internal_add_load_shared_library() {
1148 return _impl_.load_shared_library_.Add();
1151 _impl_.load_shared_library_.Add()->assign(value);
1155 _impl_.load_shared_library_.Add(std::move(value));
1159 GOOGLE_DCHECK(value !=
nullptr);
1160 _impl_.load_shared_library_.Add()->assign(value);
1164 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1167inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1170 return _impl_.load_shared_library_;
1172inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1175 return &
_impl_.load_shared_library_;
1179 #pragma GCC diagnostic pop
1189PROTOBUF_NAMESPACE_OPEN
1194 return ::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat_descriptor();
1197PROTOBUF_NAMESPACE_CLOSE
1201#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
bool LogToolConfig_OutputFormat_IsValid(int value)
constexpr LogToolConfig_OutputFormat LogToolConfig_OutputFormat_OutputFormat_MIN
constexpr LogToolConfig_OutputFormat LogToolConfig_OutputFormat_OutputFormat_MAX
bool LogToolConfig_OutputFormat_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LogToolConfig_OutputFormat *value)
LogToolConfigDefaultTypeInternal _LogToolConfig_default_instance_
const std::string & LogToolConfig_OutputFormat_Name(T enum_t_value)
LogToolConfig_OutputFormat
@ LogToolConfig_OutputFormat_JSON
@ LogToolConfig_OutputFormat_DEBUG_TEXT
@ LogToolConfig_OutputFormat_HDF5
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LogToolConfig_OutputFormat_descriptor()
constexpr int LogToolConfig_OutputFormat_OutputFormat_ARRAYSIZE
AppConfigDefaultTypeInternal _AppConfig_default_instance_
The global namespace for the Goby project.