Goby3 3.1.5a
2024.05.23
Loading...
Searching...
No Matches
log_tool_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/middleware/protobuf/log_tool_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
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>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto;
54namespace goby {
55namespace apps {
56namespace middleware {
57namespace protobuf {
58class LogToolConfig;
59struct LogToolConfigDefaultTypeInternal;
60extern LogToolConfigDefaultTypeInternal _LogToolConfig_default_instance_;
61} // namespace protobuf
62} // namespace middleware
63} // namespace apps
64} // namespace goby
65PROTOBUF_NAMESPACE_OPEN
66template<> ::goby::apps::middleware::protobuf::LogToolConfig* Arena::CreateMaybeMessage<::goby::apps::middleware::protobuf::LogToolConfig>(Arena*);
67PROTOBUF_NAMESPACE_CLOSE
68namespace goby {
69namespace apps {
70namespace middleware {
71namespace protobuf {
72
82
83const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LogToolConfig_OutputFormat_descriptor();
84template<typename T>
85inline const std::string& LogToolConfig_OutputFormat_Name(T enum_t_value) {
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(
91}
93 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LogToolConfig_OutputFormat* value) {
94 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<LogToolConfig_OutputFormat>(
96}
97// ===================================================================
98
99class LogToolConfig final :
100 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.middleware.protobuf.LogToolConfig) */ {
101 public:
102 inline LogToolConfig() : LogToolConfig(nullptr) {}
103 ~LogToolConfig() override;
104 explicit PROTOBUF_CONSTEXPR LogToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
105
108 : LogToolConfig() {
109 *this = ::std::move(from);
110 }
111
112 inline LogToolConfig& operator=(const LogToolConfig& from) {
113 CopyFrom(from);
114 return *this;
115 }
116 inline LogToolConfig& operator=(LogToolConfig&& from) noexcept {
117 if (this == &from) return *this;
118 if (GetOwningArena() == from.GetOwningArena()
119 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
120 && GetOwningArena() != nullptr
121 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
122 ) {
123 InternalSwap(&from);
124 } else {
125 CopyFrom(from);
126 }
127 return *this;
128 }
129
130 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
131 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
132 }
133 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
134 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
135 }
136
137 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
138 return GetDescriptor();
139 }
140 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
141 return default_instance().GetMetadata().descriptor;
142 }
143 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
144 return default_instance().GetMetadata().reflection;
145 }
148 }
150 return reinterpret_cast<const LogToolConfig*>(
152 }
153 static constexpr int kIndexInFileMessages =
154 0;
155
156 friend void swap(LogToolConfig& a, LogToolConfig& b) {
157 a.Swap(&b);
158 }
159 inline void Swap(LogToolConfig* other) {
160 if (other == this) return;
161 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
162 if (GetOwningArena() != nullptr &&
163 GetOwningArena() == other->GetOwningArena()) {
164 #else // PROTOBUF_FORCE_COPY_IN_SWAP
165 if (GetOwningArena() == other->GetOwningArena()) {
166 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
167 InternalSwap(other);
168 } else {
169 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
170 }
171 }
173 if (other == this) return;
174 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
175 InternalSwap(other);
176 }
177
178 // implements Message ----------------------------------------------
179
180 LogToolConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
181 return CreateMaybeMessage<LogToolConfig>(arena);
182 }
183 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
184 void CopyFrom(const LogToolConfig& from);
185 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
186 void MergeFrom( const LogToolConfig& from) {
187 LogToolConfig::MergeImpl(*this, from);
188 }
189 private:
190 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
191 public:
192 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
193 bool IsInitialized() const final;
194
195 size_t ByteSizeLong() const final;
196 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
198 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
199 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
200
201 private:
202 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
203 void SharedDtor();
204 void SetCachedSize(int size) const final;
205 void InternalSwap(LogToolConfig* other);
206
207 private:
208 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
209 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
210 return "goby.apps.middleware.protobuf.LogToolConfig";
211 }
212 protected:
213 explicit LogToolConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
214 bool is_message_owned = false);
215 public:
216
217 static const ClassData _class_data_;
218 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
219
220 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
221
222 // nested types ----------------------------------------------------
223
225 static constexpr OutputFormat DEBUG_TEXT =
227 static constexpr OutputFormat HDF5 =
229 static constexpr OutputFormat JSON =
231 static inline bool OutputFormat_IsValid(int value) {
233 }
238 static constexpr int OutputFormat_ARRAYSIZE =
240 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
244 template<typename T>
245 static inline const std::string& OutputFormat_Name(T enum_t_value) {
246 static_assert(::std::is_same<T, OutputFormat>::value ||
247 ::std::is_integral<T>::value,
248 "Incorrect type passed to function OutputFormat_Name.");
249 return LogToolConfig_OutputFormat_Name(enum_t_value);
250 }
251 static inline bool OutputFormat_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
252 OutputFormat* value) {
253 return LogToolConfig_OutputFormat_Parse(name, value);
254 }
255
256 // accessors -------------------------------------------------------
257
258 enum : int {
271 };
272 // repeated string load_shared_library = 40 [(.goby.field) = {
273 int load_shared_library_size() const;
274 private:
275 int _internal_load_shared_library_size() const;
276 public:
278 const std::string& load_shared_library(int index) const;
279 std::string* mutable_load_shared_library(int index);
280 void set_load_shared_library(int index, const std::string& value);
281 void set_load_shared_library(int index, std::string&& value);
282 void set_load_shared_library(int index, const char* value);
283 void set_load_shared_library(int index, const char* value, size_t size);
284 std::string* add_load_shared_library();
285 void add_load_shared_library(const std::string& value);
286 void add_load_shared_library(std::string&& value);
287 void add_load_shared_library(const char* value);
288 void add_load_shared_library(const char* value, size_t size);
289 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library() const;
290 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
291 private:
292 const std::string& _internal_load_shared_library(int index) const;
293 std::string* _internal_add_load_shared_library();
294 public:
295
296 // required string input_file = 10 [(.goby.field) = {
297 bool has_input_file() const;
298 private:
299 bool _internal_has_input_file() const;
300 public:
301 void clear_input_file();
302 const std::string& input_file() const;
303 template <typename ArgT0 = const std::string&, typename... ArgT>
304 void set_input_file(ArgT0&& arg0, ArgT... args);
305 std::string* mutable_input_file();
306 PROTOBUF_NODISCARD std::string* release_input_file();
307 void set_allocated_input_file(std::string* input_file);
308 private:
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();
312 public:
313
314 // optional string type_regex = 15 [default = ".*", (.goby.field) = {
315 bool has_type_regex() const;
316 private:
317 bool _internal_has_type_regex() const;
318 public:
319 void clear_type_regex();
320 const std::string& type_regex() const;
321 template <typename ArgT0 = const std::string&, typename... ArgT>
322 void set_type_regex(ArgT0&& arg0, ArgT... args);
323 std::string* mutable_type_regex();
324 PROTOBUF_NODISCARD std::string* release_type_regex();
325 void set_allocated_type_regex(std::string* type_regex);
326 private:
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();
330 public:
331
332 // optional string group_regex = 16 [default = ".*", (.goby.field) = {
333 bool has_group_regex() const;
334 private:
335 bool _internal_has_group_regex() const;
336 public:
337 void clear_group_regex();
338 const std::string& group_regex() const;
339 template <typename ArgT0 = const std::string&, typename... ArgT>
340 void set_group_regex(ArgT0&& arg0, ArgT... args);
341 std::string* mutable_group_regex();
342 PROTOBUF_NODISCARD std::string* release_group_regex();
343 void set_allocated_group_regex(std::string* group_regex);
344 private:
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();
348 public:
349
350 // optional string exclude_type_regex = 17 [default = "", (.goby.field) = {
351 bool has_exclude_type_regex() const;
352 private:
353 bool _internal_has_exclude_type_regex() const;
354 public:
356 const std::string& exclude_type_regex() const;
357 template <typename ArgT0 = const std::string&, typename... ArgT>
358 void set_exclude_type_regex(ArgT0&& arg0, ArgT... args);
359 std::string* mutable_exclude_type_regex();
360 PROTOBUF_NODISCARD std::string* release_exclude_type_regex();
362 private:
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();
366 public:
367
368 // optional string exclude_group_regex = 18 [default = "", (.goby.field) = {
369 bool has_exclude_group_regex() const;
370 private:
371 bool _internal_has_exclude_group_regex() const;
372 public:
374 const std::string& exclude_group_regex() const;
375 template <typename ArgT0 = const std::string&, typename... ArgT>
376 void set_exclude_group_regex(ArgT0&& arg0, ArgT... args);
377 std::string* mutable_exclude_group_regex();
378 PROTOBUF_NODISCARD std::string* release_exclude_group_regex();
380 private:
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();
384 public:
385
386 // optional string output_file = 20 [(.goby.field) = {
387 bool has_output_file() const;
388 private:
389 bool _internal_has_output_file() const;
390 public:
391 void clear_output_file();
392 const std::string& output_file() const;
393 template <typename ArgT0 = const std::string&, typename... ArgT>
394 void set_output_file(ArgT0&& arg0, ArgT... args);
395 std::string* mutable_output_file();
396 PROTOBUF_NODISCARD std::string* release_output_file();
397 void set_allocated_output_file(std::string* output_file);
398 private:
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();
402 public:
403
404 // optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
405 bool has_app() const;
406 private:
407 bool _internal_has_app() const;
408 public:
409 void clear_app();
410 const ::goby::middleware::protobuf::AppConfig& app() const;
411 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
414 private:
415 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
416 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
417 public:
421
422 // optional int32 hdf5_chunk_length = 32 [(.goby.field) = {
423 bool has_hdf5_chunk_length() const;
424 private:
425 bool _internal_has_hdf5_chunk_length() const;
426 public:
428 int32_t hdf5_chunk_length() const;
429 void set_hdf5_chunk_length(int32_t value);
430 private:
431 int32_t _internal_hdf5_chunk_length() const;
432 void _internal_set_hdf5_chunk_length(int32_t value);
433 public:
434
435 // optional int32 hdf5_compression_level = 33 [(.goby.field) = {
436 bool has_hdf5_compression_level() const;
437 private:
438 bool _internal_has_hdf5_compression_level() const;
439 public:
441 int32_t hdf5_compression_level() const;
442 void set_hdf5_compression_level(int32_t value);
443 private:
444 int32_t _internal_hdf5_compression_level() const;
445 void _internal_set_hdf5_compression_level(int32_t value);
446 public:
447
448 // optional .goby.apps.middleware.protobuf.LogToolConfig.OutputFormat format = 30 [default = DEBUG_TEXT, (.goby.field) = {
449 bool has_format() const;
450 private:
451 bool _internal_has_format() const;
452 public:
453 void clear_format();
456 private:
459 public:
460
461 // optional bool write_hdf5_zero_length_dim = 31 [default = true, (.goby.field) = {
463 private:
464 bool _internal_has_write_hdf5_zero_length_dim() const;
465 public:
467 bool write_hdf5_zero_length_dim() const;
468 void set_write_hdf5_zero_length_dim(bool value);
469 private:
470 bool _internal_write_hdf5_zero_length_dim() const;
471 void _internal_set_write_hdf5_zero_length_dim(bool value);
472 public:
473
474 // @@protoc_insertion_point(class_scope:goby.apps.middleware.protobuf.LogToolConfig)
475 private:
476 class _Internal;
477
478 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
479 typedef void InternalArenaConstructable_;
480 typedef void DestructorSkippable_;
481 struct Impl_ {
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_;
496 int format_;
497 bool write_hdf5_zero_length_dim_;
498 };
499 union { Impl_ _impl_; };
500 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto;
501};
502// ===================================================================
503
504
505// ===================================================================
506
507#ifdef __GNUC__
508 #pragma GCC diagnostic push
509 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
510#endif // __GNUC__
511// LogToolConfig
512
513// optional .goby.middleware.protobuf.AppConfig app = 1 [(.goby.field) = {
514inline bool LogToolConfig::_internal_has_app() const {
515 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
516 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
517 return value;
518}
519inline bool LogToolConfig::has_app() const {
520 return _internal_has_app();
521}
522inline const ::goby::middleware::protobuf::AppConfig& LogToolConfig::_internal_app() const {
523 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
524 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
526}
527inline const ::goby::middleware::protobuf::AppConfig& LogToolConfig::app() const {
528 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.app)
529 return _internal_app();
530}
533 if (GetArenaForAllocation() == nullptr) {
534 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
535 }
536 _impl_.app_ = app;
537 if (app) {
538 _impl_._has_bits_[0] |= 0x00000040u;
539 } else {
540 _impl_._has_bits_[0] &= ~0x00000040u;
541 }
542 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.middleware.protobuf.LogToolConfig.app)
543}
544inline ::goby::middleware::protobuf::AppConfig* LogToolConfig::release_app() {
545 _impl_._has_bits_[0] &= ~0x00000040u;
547 _impl_.app_ = nullptr;
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; }
552#else // PROTOBUF_FORCE_COPY_IN_RELEASE
553 if (GetArenaForAllocation() != nullptr) {
554 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
555 }
556#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
557 return temp;
558}
559inline ::goby::middleware::protobuf::AppConfig* LogToolConfig::unsafe_arena_release_app() {
560 // @@protoc_insertion_point(field_release:goby.apps.middleware.protobuf.LogToolConfig.app)
561 _impl_._has_bits_[0] &= ~0x00000040u;
563 _impl_.app_ = nullptr;
564 return temp;
565}
566inline ::goby::middleware::protobuf::AppConfig* LogToolConfig::_internal_mutable_app() {
567 _impl_._has_bits_[0] |= 0x00000040u;
568 if (_impl_.app_ == nullptr) {
569 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
570 _impl_.app_ = p;
571 }
572 return _impl_.app_;
573}
574inline ::goby::middleware::protobuf::AppConfig* LogToolConfig::mutable_app() {
575 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
576 // @@protoc_insertion_point(field_mutable:goby.apps.middleware.protobuf.LogToolConfig.app)
577 return _msg;
578}
580 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
581 if (message_arena == nullptr) {
582 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
583 }
584 if (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);
591 }
592 _impl_._has_bits_[0] |= 0x00000040u;
593 } else {
594 _impl_._has_bits_[0] &= ~0x00000040u;
595 }
596 _impl_.app_ = app;
597 // @@protoc_insertion_point(field_set_allocated:goby.apps.middleware.protobuf.LogToolConfig.app)
598}
599
600// required string input_file = 10 [(.goby.field) = {
601inline bool LogToolConfig::_internal_has_input_file() const {
602 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
603 return value;
604}
605inline bool LogToolConfig::has_input_file() const {
606 return _internal_has_input_file();
607}
609 _impl_.input_file_.ClearToEmpty();
610 _impl_._has_bits_[0] &= ~0x00000001u;
611}
612inline const std::string& LogToolConfig::input_file() const {
613 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.input_file)
614 return _internal_input_file();
615}
616template <typename ArgT0, typename... ArgT>
617inline PROTOBUF_ALWAYS_INLINE
618void LogToolConfig::set_input_file(ArgT0&& arg0, ArgT... args) {
619 _impl_._has_bits_[0] |= 0x00000001u;
620 _impl_.input_file_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
621 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.input_file)
622}
624 std::string* _s = _internal_mutable_input_file();
625 // @@protoc_insertion_point(field_mutable:goby.apps.middleware.protobuf.LogToolConfig.input_file)
626 return _s;
627}
628inline const std::string& LogToolConfig::_internal_input_file() const {
629 return _impl_.input_file_.Get();
630}
631inline void LogToolConfig::_internal_set_input_file(const std::string& value) {
632 _impl_._has_bits_[0] |= 0x00000001u;
633 _impl_.input_file_.Set(value, GetArenaForAllocation());
634}
635inline std::string* LogToolConfig::_internal_mutable_input_file() {
636 _impl_._has_bits_[0] |= 0x00000001u;
637 return _impl_.input_file_.Mutable(GetArenaForAllocation());
638}
640 // @@protoc_insertion_point(field_release:goby.apps.middleware.protobuf.LogToolConfig.input_file)
641 if (!_internal_has_input_file()) {
642 return nullptr;
643 }
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());
649 }
650#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
651 return p;
652}
654 if (input_file != nullptr) {
655 _impl_._has_bits_[0] |= 0x00000001u;
656 } else {
657 _impl_._has_bits_[0] &= ~0x00000001u;
658 }
659 _impl_.input_file_.SetAllocated(input_file, GetArenaForAllocation());
660#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
661 if (_impl_.input_file_.IsDefault()) {
662 _impl_.input_file_.Set("", GetArenaForAllocation());
663 }
664#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
665 // @@protoc_insertion_point(field_set_allocated:goby.apps.middleware.protobuf.LogToolConfig.input_file)
666}
667
668// optional string type_regex = 15 [default = ".*", (.goby.field) = {
669inline bool LogToolConfig::_internal_has_type_regex() const {
670 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
671 return value;
672}
673inline bool LogToolConfig::has_type_regex() const {
674 return _internal_has_type_regex();
675}
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;
679}
680inline const std::string& LogToolConfig::type_regex() const {
681 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.type_regex)
682 if (_impl_.type_regex_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_type_regex_.get();
683 return _internal_type_regex();
684}
685template <typename ArgT0, typename... ArgT>
686inline PROTOBUF_ALWAYS_INLINE
687void LogToolConfig::set_type_regex(ArgT0&& arg0, ArgT... args) {
688 _impl_._has_bits_[0] |= 0x00000002u;
689 _impl_.type_regex_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
690 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.type_regex)
691}
693 std::string* _s = _internal_mutable_type_regex();
694 // @@protoc_insertion_point(field_mutable:goby.apps.middleware.protobuf.LogToolConfig.type_regex)
695 return _s;
696}
697inline const std::string& LogToolConfig::_internal_type_regex() const {
698 return _impl_.type_regex_.Get();
699}
700inline void LogToolConfig::_internal_set_type_regex(const std::string& value) {
701 _impl_._has_bits_[0] |= 0x00000002u;
702 _impl_.type_regex_.Set(value, GetArenaForAllocation());
703}
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());
707}
709 // @@protoc_insertion_point(field_release:goby.apps.middleware.protobuf.LogToolConfig.type_regex)
710 if (!_internal_has_type_regex()) {
711 return nullptr;
712 }
713 _impl_._has_bits_[0] &= ~0x00000002u;
714 auto* p = _impl_.type_regex_.Release();
715 return p;
716}
718 if (type_regex != nullptr) {
719 _impl_._has_bits_[0] |= 0x00000002u;
720 } else {
721 _impl_._has_bits_[0] &= ~0x00000002u;
722 }
723 _impl_.type_regex_.SetAllocated(type_regex, GetArenaForAllocation());
724 // @@protoc_insertion_point(field_set_allocated:goby.apps.middleware.protobuf.LogToolConfig.type_regex)
725}
726
727// optional string group_regex = 16 [default = ".*", (.goby.field) = {
728inline bool LogToolConfig::_internal_has_group_regex() const {
729 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
730 return value;
731}
733 return _internal_has_group_regex();
734}
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;
738}
739inline const std::string& LogToolConfig::group_regex() const {
740 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.group_regex)
741 if (_impl_.group_regex_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_group_regex_.get();
742 return _internal_group_regex();
743}
744template <typename ArgT0, typename... ArgT>
745inline PROTOBUF_ALWAYS_INLINE
746void LogToolConfig::set_group_regex(ArgT0&& arg0, ArgT... args) {
747 _impl_._has_bits_[0] |= 0x00000004u;
748 _impl_.group_regex_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
749 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.group_regex)
750}
752 std::string* _s = _internal_mutable_group_regex();
753 // @@protoc_insertion_point(field_mutable:goby.apps.middleware.protobuf.LogToolConfig.group_regex)
754 return _s;
755}
756inline const std::string& LogToolConfig::_internal_group_regex() const {
757 return _impl_.group_regex_.Get();
758}
759inline void LogToolConfig::_internal_set_group_regex(const std::string& value) {
760 _impl_._has_bits_[0] |= 0x00000004u;
761 _impl_.group_regex_.Set(value, GetArenaForAllocation());
762}
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());
766}
768 // @@protoc_insertion_point(field_release:goby.apps.middleware.protobuf.LogToolConfig.group_regex)
769 if (!_internal_has_group_regex()) {
770 return nullptr;
771 }
772 _impl_._has_bits_[0] &= ~0x00000004u;
773 auto* p = _impl_.group_regex_.Release();
774 return p;
775}
777 if (group_regex != nullptr) {
778 _impl_._has_bits_[0] |= 0x00000004u;
779 } else {
780 _impl_._has_bits_[0] &= ~0x00000004u;
781 }
782 _impl_.group_regex_.SetAllocated(group_regex, GetArenaForAllocation());
783 // @@protoc_insertion_point(field_set_allocated:goby.apps.middleware.protobuf.LogToolConfig.group_regex)
784}
785
786// optional string exclude_type_regex = 17 [default = "", (.goby.field) = {
787inline bool LogToolConfig::_internal_has_exclude_type_regex() const {
788 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
789 return value;
790}
792 return _internal_has_exclude_type_regex();
793}
795 _impl_.exclude_type_regex_.ClearToEmpty();
796 _impl_._has_bits_[0] &= ~0x00000008u;
797}
798inline const std::string& LogToolConfig::exclude_type_regex() const {
799 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.exclude_type_regex)
800 return _internal_exclude_type_regex();
801}
802template <typename ArgT0, typename... ArgT>
803inline PROTOBUF_ALWAYS_INLINE
804void LogToolConfig::set_exclude_type_regex(ArgT0&& arg0, ArgT... args) {
805 _impl_._has_bits_[0] |= 0x00000008u;
806 _impl_.exclude_type_regex_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
807 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.exclude_type_regex)
808}
810 std::string* _s = _internal_mutable_exclude_type_regex();
811 // @@protoc_insertion_point(field_mutable:goby.apps.middleware.protobuf.LogToolConfig.exclude_type_regex)
812 return _s;
813}
814inline const std::string& LogToolConfig::_internal_exclude_type_regex() const {
815 return _impl_.exclude_type_regex_.Get();
816}
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());
820}
821inline std::string* LogToolConfig::_internal_mutable_exclude_type_regex() {
822 _impl_._has_bits_[0] |= 0x00000008u;
823 return _impl_.exclude_type_regex_.Mutable(GetArenaForAllocation());
824}
826 // @@protoc_insertion_point(field_release:goby.apps.middleware.protobuf.LogToolConfig.exclude_type_regex)
827 if (!_internal_has_exclude_type_regex()) {
828 return nullptr;
829 }
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());
835 }
836#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
837 return p;
838}
840 if (exclude_type_regex != nullptr) {
841 _impl_._has_bits_[0] |= 0x00000008u;
842 } else {
843 _impl_._has_bits_[0] &= ~0x00000008u;
844 }
845 _impl_.exclude_type_regex_.SetAllocated(exclude_type_regex, GetArenaForAllocation());
846#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
847 if (_impl_.exclude_type_regex_.IsDefault()) {
848 _impl_.exclude_type_regex_.Set("", GetArenaForAllocation());
849 }
850#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
851 // @@protoc_insertion_point(field_set_allocated:goby.apps.middleware.protobuf.LogToolConfig.exclude_type_regex)
852}
853
854// optional string exclude_group_regex = 18 [default = "", (.goby.field) = {
855inline bool LogToolConfig::_internal_has_exclude_group_regex() const {
856 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
857 return value;
858}
860 return _internal_has_exclude_group_regex();
861}
863 _impl_.exclude_group_regex_.ClearToEmpty();
864 _impl_._has_bits_[0] &= ~0x00000010u;
865}
866inline const std::string& LogToolConfig::exclude_group_regex() const {
867 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.exclude_group_regex)
868 return _internal_exclude_group_regex();
869}
870template <typename ArgT0, typename... ArgT>
871inline PROTOBUF_ALWAYS_INLINE
872void LogToolConfig::set_exclude_group_regex(ArgT0&& arg0, ArgT... args) {
873 _impl_._has_bits_[0] |= 0x00000010u;
874 _impl_.exclude_group_regex_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
875 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.exclude_group_regex)
876}
878 std::string* _s = _internal_mutable_exclude_group_regex();
879 // @@protoc_insertion_point(field_mutable:goby.apps.middleware.protobuf.LogToolConfig.exclude_group_regex)
880 return _s;
881}
882inline const std::string& LogToolConfig::_internal_exclude_group_regex() const {
883 return _impl_.exclude_group_regex_.Get();
884}
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());
888}
889inline std::string* LogToolConfig::_internal_mutable_exclude_group_regex() {
890 _impl_._has_bits_[0] |= 0x00000010u;
891 return _impl_.exclude_group_regex_.Mutable(GetArenaForAllocation());
892}
894 // @@protoc_insertion_point(field_release:goby.apps.middleware.protobuf.LogToolConfig.exclude_group_regex)
895 if (!_internal_has_exclude_group_regex()) {
896 return nullptr;
897 }
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());
903 }
904#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
905 return p;
906}
908 if (exclude_group_regex != nullptr) {
909 _impl_._has_bits_[0] |= 0x00000010u;
910 } else {
911 _impl_._has_bits_[0] &= ~0x00000010u;
912 }
913 _impl_.exclude_group_regex_.SetAllocated(exclude_group_regex, GetArenaForAllocation());
914#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
915 if (_impl_.exclude_group_regex_.IsDefault()) {
916 _impl_.exclude_group_regex_.Set("", GetArenaForAllocation());
917 }
918#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
919 // @@protoc_insertion_point(field_set_allocated:goby.apps.middleware.protobuf.LogToolConfig.exclude_group_regex)
920}
921
922// optional string output_file = 20 [(.goby.field) = {
923inline bool LogToolConfig::_internal_has_output_file() const {
924 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
925 return value;
926}
928 return _internal_has_output_file();
929}
931 _impl_.output_file_.ClearToEmpty();
932 _impl_._has_bits_[0] &= ~0x00000020u;
933}
934inline const std::string& LogToolConfig::output_file() const {
935 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.output_file)
936 return _internal_output_file();
937}
938template <typename ArgT0, typename... ArgT>
939inline PROTOBUF_ALWAYS_INLINE
940void LogToolConfig::set_output_file(ArgT0&& arg0, ArgT... args) {
941 _impl_._has_bits_[0] |= 0x00000020u;
942 _impl_.output_file_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
943 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.output_file)
944}
946 std::string* _s = _internal_mutable_output_file();
947 // @@protoc_insertion_point(field_mutable:goby.apps.middleware.protobuf.LogToolConfig.output_file)
948 return _s;
949}
950inline const std::string& LogToolConfig::_internal_output_file() const {
951 return _impl_.output_file_.Get();
952}
953inline void LogToolConfig::_internal_set_output_file(const std::string& value) {
954 _impl_._has_bits_[0] |= 0x00000020u;
955 _impl_.output_file_.Set(value, GetArenaForAllocation());
956}
957inline std::string* LogToolConfig::_internal_mutable_output_file() {
958 _impl_._has_bits_[0] |= 0x00000020u;
959 return _impl_.output_file_.Mutable(GetArenaForAllocation());
960}
962 // @@protoc_insertion_point(field_release:goby.apps.middleware.protobuf.LogToolConfig.output_file)
963 if (!_internal_has_output_file()) {
964 return nullptr;
965 }
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());
971 }
972#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
973 return p;
974}
976 if (output_file != nullptr) {
977 _impl_._has_bits_[0] |= 0x00000020u;
978 } else {
979 _impl_._has_bits_[0] &= ~0x00000020u;
980 }
981 _impl_.output_file_.SetAllocated(output_file, GetArenaForAllocation());
982#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
983 if (_impl_.output_file_.IsDefault()) {
984 _impl_.output_file_.Set("", GetArenaForAllocation());
985 }
986#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
987 // @@protoc_insertion_point(field_set_allocated:goby.apps.middleware.protobuf.LogToolConfig.output_file)
988}
989
990// optional .goby.apps.middleware.protobuf.LogToolConfig.OutputFormat format = 30 [default = DEBUG_TEXT, (.goby.field) = {
991inline bool LogToolConfig::_internal_has_format() const {
992 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
993 return value;
994}
995inline bool LogToolConfig::has_format() const {
996 return _internal_has_format();
997}
999 _impl_.format_ = 1;
1000 _impl_._has_bits_[0] &= ~0x00000200u;
1001}
1002inline ::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat LogToolConfig::_internal_format() const {
1004}
1005inline ::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat LogToolConfig::format() const {
1006 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.format)
1007 return _internal_format();
1008}
1009inline void LogToolConfig::_internal_set_format(::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat value) {
1011 _impl_._has_bits_[0] |= 0x00000200u;
1012 _impl_.format_ = value;
1013}
1015 _internal_set_format(value);
1016 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.format)
1017}
1018
1019// optional bool write_hdf5_zero_length_dim = 31 [default = true, (.goby.field) = {
1020inline bool LogToolConfig::_internal_has_write_hdf5_zero_length_dim() const {
1021 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1022 return value;
1023}
1025 return _internal_has_write_hdf5_zero_length_dim();
1026}
1028 _impl_.write_hdf5_zero_length_dim_ = true;
1029 _impl_._has_bits_[0] &= ~0x00000400u;
1030}
1031inline bool LogToolConfig::_internal_write_hdf5_zero_length_dim() const {
1032 return _impl_.write_hdf5_zero_length_dim_;
1033}
1035 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.write_hdf5_zero_length_dim)
1036 return _internal_write_hdf5_zero_length_dim();
1037}
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;
1041}
1043 _internal_set_write_hdf5_zero_length_dim(value);
1044 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.write_hdf5_zero_length_dim)
1045}
1046
1047// optional int32 hdf5_chunk_length = 32 [(.goby.field) = {
1048inline bool LogToolConfig::_internal_has_hdf5_chunk_length() const {
1049 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1050 return value;
1051}
1053 return _internal_has_hdf5_chunk_length();
1054}
1056 _impl_.hdf5_chunk_length_ = 0;
1057 _impl_._has_bits_[0] &= ~0x00000080u;
1058}
1059inline int32_t LogToolConfig::_internal_hdf5_chunk_length() const {
1060 return _impl_.hdf5_chunk_length_;
1061}
1062inline int32_t LogToolConfig::hdf5_chunk_length() const {
1063 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.hdf5_chunk_length)
1064 return _internal_hdf5_chunk_length();
1065}
1066inline void LogToolConfig::_internal_set_hdf5_chunk_length(int32_t value) {
1067 _impl_._has_bits_[0] |= 0x00000080u;
1068 _impl_.hdf5_chunk_length_ = value;
1069}
1070inline void LogToolConfig::set_hdf5_chunk_length(int32_t value) {
1071 _internal_set_hdf5_chunk_length(value);
1072 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.hdf5_chunk_length)
1073}
1074
1075// optional int32 hdf5_compression_level = 33 [(.goby.field) = {
1076inline bool LogToolConfig::_internal_has_hdf5_compression_level() const {
1077 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1078 return value;
1079}
1081 return _internal_has_hdf5_compression_level();
1082}
1084 _impl_.hdf5_compression_level_ = 0;
1085 _impl_._has_bits_[0] &= ~0x00000100u;
1086}
1087inline int32_t LogToolConfig::_internal_hdf5_compression_level() const {
1088 return _impl_.hdf5_compression_level_;
1089}
1091 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.hdf5_compression_level)
1092 return _internal_hdf5_compression_level();
1093}
1094inline void LogToolConfig::_internal_set_hdf5_compression_level(int32_t value) {
1095 _impl_._has_bits_[0] |= 0x00000100u;
1096 _impl_.hdf5_compression_level_ = value;
1097}
1099 _internal_set_hdf5_compression_level(value);
1100 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.hdf5_compression_level)
1101}
1102
1103// repeated string load_shared_library = 40 [(.goby.field) = {
1104inline int LogToolConfig::_internal_load_shared_library_size() const {
1105 return _impl_.load_shared_library_.size();
1106}
1108 return _internal_load_shared_library_size();
1109}
1111 _impl_.load_shared_library_.Clear();
1112}
1114 std::string* _s = _internal_add_load_shared_library();
1115 // @@protoc_insertion_point(field_add_mutable:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1116 return _s;
1117}
1118inline const std::string& LogToolConfig::_internal_load_shared_library(int index) const {
1119 return _impl_.load_shared_library_.Get(index);
1120}
1121inline const std::string& LogToolConfig::load_shared_library(int index) const {
1122 // @@protoc_insertion_point(field_get:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1123 return _internal_load_shared_library(index);
1124}
1125inline std::string* LogToolConfig::mutable_load_shared_library(int index) {
1126 // @@protoc_insertion_point(field_mutable:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1127 return _impl_.load_shared_library_.Mutable(index);
1128}
1129inline void LogToolConfig::set_load_shared_library(int index, const std::string& value) {
1130 _impl_.load_shared_library_.Mutable(index)->assign(value);
1131 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1132}
1133inline void LogToolConfig::set_load_shared_library(int index, std::string&& value) {
1134 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1135 // @@protoc_insertion_point(field_set:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1136}
1137inline void LogToolConfig::set_load_shared_library(int index, const char* value) {
1138 GOOGLE_DCHECK(value != nullptr);
1139 _impl_.load_shared_library_.Mutable(index)->assign(value);
1140 // @@protoc_insertion_point(field_set_char:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1141}
1142inline void LogToolConfig::set_load_shared_library(int index, const char* value, size_t size) {
1143 _impl_.load_shared_library_.Mutable(index)->assign(
1144 reinterpret_cast<const char*>(value), size);
1145 // @@protoc_insertion_point(field_set_pointer:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1146}
1147inline std::string* LogToolConfig::_internal_add_load_shared_library() {
1148 return _impl_.load_shared_library_.Add();
1149}
1150inline void LogToolConfig::add_load_shared_library(const std::string& value) {
1151 _impl_.load_shared_library_.Add()->assign(value);
1152 // @@protoc_insertion_point(field_add:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1153}
1154inline void LogToolConfig::add_load_shared_library(std::string&& value) {
1155 _impl_.load_shared_library_.Add(std::move(value));
1156 // @@protoc_insertion_point(field_add:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1157}
1158inline void LogToolConfig::add_load_shared_library(const char* value) {
1159 GOOGLE_DCHECK(value != nullptr);
1160 _impl_.load_shared_library_.Add()->assign(value);
1161 // @@protoc_insertion_point(field_add_char:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1162}
1163inline void LogToolConfig::add_load_shared_library(const char* value, size_t size) {
1164 _impl_.load_shared_library_.Add()->assign(reinterpret_cast<const char*>(value), size);
1165 // @@protoc_insertion_point(field_add_pointer:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1166}
1167inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1169 // @@protoc_insertion_point(field_list:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1170 return _impl_.load_shared_library_;
1171}
1172inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1174 // @@protoc_insertion_point(field_mutable_list:goby.apps.middleware.protobuf.LogToolConfig.load_shared_library)
1175 return &_impl_.load_shared_library_;
1176}
1177
1178#ifdef __GNUC__
1179 #pragma GCC diagnostic pop
1180#endif // __GNUC__
1181
1182// @@protoc_insertion_point(namespace_scope)
1183
1184} // namespace protobuf
1185} // namespace middleware
1186} // namespace apps
1187} // namespace goby
1188
1189PROTOBUF_NAMESPACE_OPEN
1190
1191template <> struct is_proto_enum< ::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat> : ::std::true_type {};
1192template <>
1194 return ::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat_descriptor();
1195}
1196
1197PROTOBUF_NAMESPACE_CLOSE
1198
1199// @@protoc_insertion_point(global_scope)
1200
1201#include <google/protobuf/port_undef.inc>
1202#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
void set_allocated_exclude_type_regex(std::string *exclude_type_regex)
PROTOBUF_NODISCARD std::string * release_exclude_type_regex()
void set_load_shared_library(int index, const std::string &value)
void set_output_file(ArgT0 &&arg0, ArgT... args)
void set_format(::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
LogToolConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_allocated_type_regex(std::string *type_regex)
::goby::middleware::protobuf::AppConfig * mutable_app()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_load_shared_library()
void set_group_regex(ArgT0 &&arg0, ArgT... args)
static bool OutputFormat_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OutputFormat *value)
void set_allocated_exclude_group_regex(std::string *exclude_group_regex)
void CopyFrom(const LogToolConfig &from)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
PROTOBUF_NODISCARD std::string * release_exclude_group_regex()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_input_file(std::string *input_file)
PROTOBUF_NODISCARD std::string * release_group_regex()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const std::string & OutputFormat_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * OutputFormat_descriptor()
static const LogToolConfig * internal_default_instance()
friend void swap(LogToolConfig &a, LogToolConfig &b)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_exclude_type_regex(ArgT0 &&arg0, ArgT... args)
void set_input_file(ArgT0 &&arg0, ArgT... args)
const ::goby::middleware::protobuf::AppConfig & app() const
LogToolConfig & operator=(const LogToolConfig &from)
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
LogToolConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
LogToolConfig & operator=(LogToolConfig &&from) noexcept
void set_allocated_group_regex(std::string *group_regex)
void set_allocated_output_file(std::string *output_file)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat format() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
PROTOBUF_NODISCARD std::string * release_type_regex()
void set_exclude_group_regex(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & load_shared_library() const
PROTOBUF_NODISCARD std::string * release_input_file()
PROTOBUF_NODISCARD std::string * release_output_file()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_CONSTEXPR LogToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_type_regex(ArgT0 &&arg0, ArgT... args)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2flog_5ftool_5fconfig_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::apps::middleware::protobuf::LogToolConfig_OutputFormat >()
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)
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.