Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
coroner_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/zeromq/protobuf/coroner_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fcoroner_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/unknown_field_set.h>
36#include "dccl/option_extensions.pb.h"
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
41
42#include <boost/units/systems/si.hpp>
43// @@protoc_insertion_point(includes)
44#include <google/protobuf/port_def.inc>
45#define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
46PROTOBUF_NAMESPACE_OPEN
47namespace internal {
48class AnyMetadata;
49} // namespace internal
50PROTOBUF_NAMESPACE_CLOSE
51
52// Internal implementation detail -- do not use these members.
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto;
57namespace goby {
58namespace apps {
59namespace zeromq {
60namespace protobuf {
61class CoronerConfig;
62struct CoronerConfigDefaultTypeInternal;
63extern CoronerConfigDefaultTypeInternal _CoronerConfig_default_instance_;
64} // namespace protobuf
65} // namespace zeromq
66} // namespace apps
67} // namespace goby
68PROTOBUF_NAMESPACE_OPEN
69template<> ::goby::apps::zeromq::protobuf::CoronerConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::CoronerConfig>(Arena*);
70PROTOBUF_NAMESPACE_CLOSE
71namespace goby {
72namespace apps {
73namespace zeromq {
74namespace protobuf {
75
76// ===================================================================
77
78class CoronerConfig final :
79 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.CoronerConfig) */ {
80 public:
81 inline CoronerConfig() : CoronerConfig(nullptr) {}
82 ~CoronerConfig() override;
83 explicit PROTOBUF_CONSTEXPR CoronerConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
84
87 : CoronerConfig() {
88 *this = ::std::move(from);
89 }
90
91 inline CoronerConfig& operator=(const CoronerConfig& from) {
92 CopyFrom(from);
93 return *this;
94 }
95 inline CoronerConfig& operator=(CoronerConfig&& from) noexcept {
96 if (this == &from) return *this;
97 if (GetOwningArena() == from.GetOwningArena()
98 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
99 && GetOwningArena() != nullptr
100 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
101 ) {
102 InternalSwap(&from);
103 } else {
104 CopyFrom(from);
105 }
106 return *this;
107 }
108
109 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
111 }
112 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
114 }
115
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
117 return GetDescriptor();
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
120 return default_instance().GetMetadata().descriptor;
121 }
122 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
123 return default_instance().GetMetadata().reflection;
124 }
127 }
129 return reinterpret_cast<const CoronerConfig*>(
131 }
132 static constexpr int kIndexInFileMessages =
133 0;
134
135 friend void swap(CoronerConfig& a, CoronerConfig& b) {
136 a.Swap(&b);
137 }
138 inline void Swap(CoronerConfig* other) {
139 if (other == this) return;
140 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() != nullptr &&
142 GetOwningArena() == other->GetOwningArena()) {
143 #else // PROTOBUF_FORCE_COPY_IN_SWAP
144 if (GetOwningArena() == other->GetOwningArena()) {
145 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
146 InternalSwap(other);
147 } else {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
149 }
150 }
152 if (other == this) return;
153 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154 InternalSwap(other);
155 }
156
157 // implements Message ----------------------------------------------
158
159 CoronerConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
160 return CreateMaybeMessage<CoronerConfig>(arena);
161 }
162 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 void CopyFrom(const CoronerConfig& from);
164 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 void MergeFrom( const CoronerConfig& from) {
166 CoronerConfig::MergeImpl(*this, from);
167 }
168 private:
169 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
170 public:
171 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
172 bool IsInitialized() const final;
173
174 size_t ByteSizeLong() const final;
175 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
177 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
179
180 private:
181 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
182 void SharedDtor();
183 void SetCachedSize(int size) const final;
184 void InternalSwap(CoronerConfig* other);
185
186 private:
187 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189 return "goby.apps.zeromq.protobuf.CoronerConfig";
190 }
191 protected:
192 explicit CoronerConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
193 bool is_message_owned = false);
194 public:
195
196 static const ClassData _class_data_;
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
198
199 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
200
201 // nested types ----------------------------------------------------
202
203 // accessors -------------------------------------------------------
204
205 enum : int {
213 };
214 // repeated string expected_name = 10;
215 int expected_name_size() const;
216 private:
217 int _internal_expected_name_size() const;
218 public:
219 void clear_expected_name();
220 const std::string& expected_name(int index) const;
221 std::string* mutable_expected_name(int index);
222 void set_expected_name(int index, const std::string& value);
223 void set_expected_name(int index, std::string&& value);
224 void set_expected_name(int index, const char* value);
225 void set_expected_name(int index, const char* value, size_t size);
226 std::string* add_expected_name();
227 void add_expected_name(const std::string& value);
228 void add_expected_name(std::string&& value);
229 void add_expected_name(const char* value);
230 void add_expected_name(const char* value, size_t size);
231 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& expected_name() const;
232 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_expected_name();
233 private:
234 const std::string& _internal_expected_name(int index) const;
235 std::string* _internal_add_expected_name();
236 public:
237
238 // optional string report_file = 23;
239 bool has_report_file() const;
240 private:
241 bool _internal_has_report_file() const;
242 public:
243 void clear_report_file();
244 const std::string& report_file() const;
245 template <typename ArgT0 = const std::string&, typename... ArgT>
246 void set_report_file(ArgT0&& arg0, ArgT... args);
247 std::string* mutable_report_file();
248 PROTOBUF_NODISCARD std::string* release_report_file();
249 void set_allocated_report_file(std::string* report_file);
250 private:
251 const std::string& _internal_report_file() const;
252 inline PROTOBUF_ALWAYS_INLINE void _internal_set_report_file(const std::string& value);
253 std::string* _internal_mutable_report_file();
254 public:
255
256 // optional .goby.middleware.protobuf.AppConfig app = 1;
257 bool has_app() const;
258 private:
259 bool _internal_has_app() const;
260 public:
261 void clear_app();
262 const ::goby::middleware::protobuf::AppConfig& app() const;
263 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
266 private:
267 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
268 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
269 public:
273
274 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
275 bool has_interprocess() const;
276 private:
277 bool _internal_has_interprocess() const;
278 public:
280 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
281 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
284 private:
285 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
286 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
287 public:
291
292 // optional bool auto_add_new_apps = 22 [default = false];
293 bool has_auto_add_new_apps() const;
294 private:
295 bool _internal_has_auto_add_new_apps() const;
296 public:
298 bool auto_add_new_apps() const;
299 void set_auto_add_new_apps(bool value);
300 private:
301 bool _internal_auto_add_new_apps() const;
302 void _internal_set_auto_add_new_apps(bool value);
303 public:
304
305 // optional float request_interval = 20 [default = 10, (.dccl.field) = {
306 bool has_request_interval() const;
307 private:
308 bool _internal_has_request_interval() const;
309 public:
311 float request_interval() const;
312 void set_request_interval(float value);
313 private:
314 float _internal_request_interval() const;
315 void _internal_set_request_interval(float value);
316 public:
317
318 // optional float response_timeout = 21 [default = 5, (.dccl.field) = {
319 bool has_response_timeout() const;
320 private:
321 bool _internal_has_response_timeout() const;
322 public:
324 float response_timeout() const;
325 void set_response_timeout(float value);
326 private:
327 float _internal_response_timeout() const;
328 void _internal_set_response_timeout(float value);
329 public:
330
331 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type request_interval_dimension;
332
333 typedef boost::units::unit<request_interval_dimension,boost::units::si::system> request_interval_unit;
334
335 template<typename Quantity >
336 void set_request_interval_with_units(Quantity value_w_units)
337 { set_request_interval(boost::units::quantity<request_interval_unit,float >(value_w_units).value() ); };
338
339 template<typename Quantity >
341 { return Quantity(request_interval() * request_interval_unit()); };
342
343 boost::units::quantity< request_interval_unit,float > request_interval_with_units() const
344 { return request_interval_with_units<boost::units::quantity< request_interval_unit,float > >(); };
345
346 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type response_timeout_dimension;
347
348 typedef boost::units::unit<response_timeout_dimension,boost::units::si::system> response_timeout_unit;
349
350 template<typename Quantity >
351 void set_response_timeout_with_units(Quantity value_w_units)
352 { set_response_timeout(boost::units::quantity<response_timeout_unit,float >(value_w_units).value() ); };
353
354 template<typename Quantity >
356 { return Quantity(response_timeout() * response_timeout_unit()); };
357
358 boost::units::quantity< response_timeout_unit,float > response_timeout_with_units() const
359 { return response_timeout_with_units<boost::units::quantity< response_timeout_unit,float > >(); };
360
361 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.CoronerConfig)
362 private:
363 class _Internal;
364
365 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
366 typedef void InternalArenaConstructable_;
367 typedef void DestructorSkippable_;
368 struct Impl_ {
369 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
370 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
371 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> expected_name_;
372 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr report_file_;
375 bool auto_add_new_apps_;
376 float request_interval_;
377 float response_timeout_;
378 };
379 union { Impl_ _impl_; };
380 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto;
381};
382// ===================================================================
383
384
385// ===================================================================
386
387#ifdef __GNUC__
388 #pragma GCC diagnostic push
389 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
390#endif // __GNUC__
391// CoronerConfig
392
393// optional .goby.middleware.protobuf.AppConfig app = 1;
394inline bool CoronerConfig::_internal_has_app() const {
395 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
396 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
397 return value;
398}
399inline bool CoronerConfig::has_app() const {
400 return _internal_has_app();
401}
402inline const ::goby::middleware::protobuf::AppConfig& CoronerConfig::_internal_app() const {
403 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
404 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
406}
407inline const ::goby::middleware::protobuf::AppConfig& CoronerConfig::app() const {
408 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.app)
409 return _internal_app();
410}
413 if (GetArenaForAllocation() == nullptr) {
414 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
415 }
416 _impl_.app_ = app;
417 if (app) {
418 _impl_._has_bits_[0] |= 0x00000002u;
419 } else {
420 _impl_._has_bits_[0] &= ~0x00000002u;
421 }
422 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.CoronerConfig.app)
423}
424inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::release_app() {
425 _impl_._has_bits_[0] &= ~0x00000002u;
427 _impl_.app_ = nullptr;
428#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
429 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
430 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
431 if (GetArenaForAllocation() == nullptr) { delete old; }
432#else // PROTOBUF_FORCE_COPY_IN_RELEASE
433 if (GetArenaForAllocation() != nullptr) {
434 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
435 }
436#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
437 return temp;
438}
439inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::unsafe_arena_release_app() {
440 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.CoronerConfig.app)
441 _impl_._has_bits_[0] &= ~0x00000002u;
443 _impl_.app_ = nullptr;
444 return temp;
445}
446inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::_internal_mutable_app() {
447 _impl_._has_bits_[0] |= 0x00000002u;
448 if (_impl_.app_ == nullptr) {
449 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
450 _impl_.app_ = p;
451 }
452 return _impl_.app_;
453}
454inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::mutable_app() {
455 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
456 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.CoronerConfig.app)
457 return _msg;
458}
460 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
461 if (message_arena == nullptr) {
462 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
463 }
464 if (app) {
465 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
466 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
467 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
468 if (message_arena != submessage_arena) {
469 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
470 message_arena, app, submessage_arena);
471 }
472 _impl_._has_bits_[0] |= 0x00000002u;
473 } else {
474 _impl_._has_bits_[0] &= ~0x00000002u;
475 }
476 _impl_.app_ = app;
477 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.CoronerConfig.app)
478}
479
480// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
481inline bool CoronerConfig::_internal_has_interprocess() const {
482 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
483 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
484 return value;
485}
487 return _internal_has_interprocess();
488}
489inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CoronerConfig::_internal_interprocess() const {
490 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
491 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
493}
494inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CoronerConfig::interprocess() const {
495 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.interprocess)
496 return _internal_interprocess();
497}
500 if (GetArenaForAllocation() == nullptr) {
501 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
502 }
503 _impl_.interprocess_ = interprocess;
504 if (interprocess) {
505 _impl_._has_bits_[0] |= 0x00000004u;
506 } else {
507 _impl_._has_bits_[0] &= ~0x00000004u;
508 }
509 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.CoronerConfig.interprocess)
510}
511inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::release_interprocess() {
512 _impl_._has_bits_[0] &= ~0x00000004u;
514 _impl_.interprocess_ = nullptr;
515#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
516 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
517 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
518 if (GetArenaForAllocation() == nullptr) { delete old; }
519#else // PROTOBUF_FORCE_COPY_IN_RELEASE
520 if (GetArenaForAllocation() != nullptr) {
521 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
522 }
523#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
524 return temp;
525}
526inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::unsafe_arena_release_interprocess() {
527 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.CoronerConfig.interprocess)
528 _impl_._has_bits_[0] &= ~0x00000004u;
530 _impl_.interprocess_ = nullptr;
531 return temp;
532}
533inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::_internal_mutable_interprocess() {
534 _impl_._has_bits_[0] |= 0x00000004u;
535 if (_impl_.interprocess_ == nullptr) {
537 _impl_.interprocess_ = p;
538 }
539 return _impl_.interprocess_;
540}
541inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::mutable_interprocess() {
542 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
543 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.CoronerConfig.interprocess)
544 return _msg;
545}
547 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
548 if (message_arena == nullptr) {
549 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
550 }
551 if (interprocess) {
552 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
553 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
554 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
555 if (message_arena != submessage_arena) {
556 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
557 message_arena, interprocess, submessage_arena);
558 }
559 _impl_._has_bits_[0] |= 0x00000004u;
560 } else {
561 _impl_._has_bits_[0] &= ~0x00000004u;
562 }
563 _impl_.interprocess_ = interprocess;
564 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.CoronerConfig.interprocess)
565}
566
567// repeated string expected_name = 10;
568inline int CoronerConfig::_internal_expected_name_size() const {
569 return _impl_.expected_name_.size();
570}
572 return _internal_expected_name_size();
573}
575 _impl_.expected_name_.Clear();
576}
577inline std::string* CoronerConfig::add_expected_name() {
578 std::string* _s = _internal_add_expected_name();
579 // @@protoc_insertion_point(field_add_mutable:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
580 return _s;
581}
582inline const std::string& CoronerConfig::_internal_expected_name(int index) const {
583 return _impl_.expected_name_.Get(index);
584}
585inline const std::string& CoronerConfig::expected_name(int index) const {
586 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
587 return _internal_expected_name(index);
588}
589inline std::string* CoronerConfig::mutable_expected_name(int index) {
590 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
591 return _impl_.expected_name_.Mutable(index);
592}
593inline void CoronerConfig::set_expected_name(int index, const std::string& value) {
594 _impl_.expected_name_.Mutable(index)->assign(value);
595 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
596}
597inline void CoronerConfig::set_expected_name(int index, std::string&& value) {
598 _impl_.expected_name_.Mutable(index)->assign(std::move(value));
599 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
600}
601inline void CoronerConfig::set_expected_name(int index, const char* value) {
602 GOOGLE_DCHECK(value != nullptr);
603 _impl_.expected_name_.Mutable(index)->assign(value);
604 // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
605}
606inline void CoronerConfig::set_expected_name(int index, const char* value, size_t size) {
607 _impl_.expected_name_.Mutable(index)->assign(
608 reinterpret_cast<const char*>(value), size);
609 // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
610}
611inline std::string* CoronerConfig::_internal_add_expected_name() {
612 return _impl_.expected_name_.Add();
613}
614inline void CoronerConfig::add_expected_name(const std::string& value) {
615 _impl_.expected_name_.Add()->assign(value);
616 // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
617}
618inline void CoronerConfig::add_expected_name(std::string&& value) {
619 _impl_.expected_name_.Add(std::move(value));
620 // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
621}
622inline void CoronerConfig::add_expected_name(const char* value) {
623 GOOGLE_DCHECK(value != nullptr);
624 _impl_.expected_name_.Add()->assign(value);
625 // @@protoc_insertion_point(field_add_char:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
626}
627inline void CoronerConfig::add_expected_name(const char* value, size_t size) {
628 _impl_.expected_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
629 // @@protoc_insertion_point(field_add_pointer:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
630}
631inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
633 // @@protoc_insertion_point(field_list:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
634 return _impl_.expected_name_;
635}
636inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
638 // @@protoc_insertion_point(field_mutable_list:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
639 return &_impl_.expected_name_;
640}
641
642// optional float request_interval = 20 [default = 10, (.dccl.field) = {
643inline bool CoronerConfig::_internal_has_request_interval() const {
644 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
645 return value;
646}
648 return _internal_has_request_interval();
649}
651 _impl_.request_interval_ = 10;
652 _impl_._has_bits_[0] &= ~0x00000010u;
653}
654inline float CoronerConfig::_internal_request_interval() const {
655 return _impl_.request_interval_;
656}
658 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.request_interval)
659 return _internal_request_interval();
660}
661inline void CoronerConfig::_internal_set_request_interval(float value) {
662 _impl_._has_bits_[0] |= 0x00000010u;
663 _impl_.request_interval_ = value;
664}
665inline void CoronerConfig::set_request_interval(float value) {
666 _internal_set_request_interval(value);
667 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.request_interval)
668}
669
670// optional float response_timeout = 21 [default = 5, (.dccl.field) = {
671inline bool CoronerConfig::_internal_has_response_timeout() const {
672 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
673 return value;
674}
676 return _internal_has_response_timeout();
677}
679 _impl_.response_timeout_ = 5;
680 _impl_._has_bits_[0] &= ~0x00000020u;
681}
682inline float CoronerConfig::_internal_response_timeout() const {
683 return _impl_.response_timeout_;
684}
686 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.response_timeout)
687 return _internal_response_timeout();
688}
689inline void CoronerConfig::_internal_set_response_timeout(float value) {
690 _impl_._has_bits_[0] |= 0x00000020u;
691 _impl_.response_timeout_ = value;
692}
693inline void CoronerConfig::set_response_timeout(float value) {
694 _internal_set_response_timeout(value);
695 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.response_timeout)
696}
697
698// optional bool auto_add_new_apps = 22 [default = false];
699inline bool CoronerConfig::_internal_has_auto_add_new_apps() const {
700 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
701 return value;
702}
704 return _internal_has_auto_add_new_apps();
705}
707 _impl_.auto_add_new_apps_ = false;
708 _impl_._has_bits_[0] &= ~0x00000008u;
709}
710inline bool CoronerConfig::_internal_auto_add_new_apps() const {
711 return _impl_.auto_add_new_apps_;
712}
714 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.auto_add_new_apps)
715 return _internal_auto_add_new_apps();
716}
717inline void CoronerConfig::_internal_set_auto_add_new_apps(bool value) {
718 _impl_._has_bits_[0] |= 0x00000008u;
719 _impl_.auto_add_new_apps_ = value;
720}
722 _internal_set_auto_add_new_apps(value);
723 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.auto_add_new_apps)
724}
725
726// optional string report_file = 23;
727inline bool CoronerConfig::_internal_has_report_file() const {
728 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
729 return value;
730}
732 return _internal_has_report_file();
733}
735 _impl_.report_file_.ClearToEmpty();
736 _impl_._has_bits_[0] &= ~0x00000001u;
737}
738inline const std::string& CoronerConfig::report_file() const {
739 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
740 return _internal_report_file();
741}
742template <typename ArgT0, typename... ArgT>
743inline PROTOBUF_ALWAYS_INLINE
744void CoronerConfig::set_report_file(ArgT0&& arg0, ArgT... args) {
745 _impl_._has_bits_[0] |= 0x00000001u;
746 _impl_.report_file_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
747 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
748}
750 std::string* _s = _internal_mutable_report_file();
751 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
752 return _s;
753}
754inline const std::string& CoronerConfig::_internal_report_file() const {
755 return _impl_.report_file_.Get();
756}
757inline void CoronerConfig::_internal_set_report_file(const std::string& value) {
758 _impl_._has_bits_[0] |= 0x00000001u;
759 _impl_.report_file_.Set(value, GetArenaForAllocation());
760}
761inline std::string* CoronerConfig::_internal_mutable_report_file() {
762 _impl_._has_bits_[0] |= 0x00000001u;
763 return _impl_.report_file_.Mutable(GetArenaForAllocation());
764}
766 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
767 if (!_internal_has_report_file()) {
768 return nullptr;
769 }
770 _impl_._has_bits_[0] &= ~0x00000001u;
771 auto* p = _impl_.report_file_.Release();
772#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
773 if (_impl_.report_file_.IsDefault()) {
774 _impl_.report_file_.Set("", GetArenaForAllocation());
775 }
776#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
777 return p;
778}
780 if (report_file != nullptr) {
781 _impl_._has_bits_[0] |= 0x00000001u;
782 } else {
783 _impl_._has_bits_[0] &= ~0x00000001u;
784 }
785 _impl_.report_file_.SetAllocated(report_file, GetArenaForAllocation());
786#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
787 if (_impl_.report_file_.IsDefault()) {
788 _impl_.report_file_.Set("", GetArenaForAllocation());
789 }
790#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
791 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
792}
793
794#ifdef __GNUC__
795 #pragma GCC diagnostic pop
796#endif // __GNUC__
797
798// @@protoc_insertion_point(namespace_scope)
799
800} // namespace protobuf
801} // namespace zeromq
802} // namespace apps
803} // namespace goby
804
805// @@protoc_insertion_point(global_scope)
806
807#include <google/protobuf/port_undef.inc>
808#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
PROTOBUF_CONSTEXPR CoronerConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
void set_report_file(ArgT0 &&arg0, ArgT... args)
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void MergeFrom(const CoronerConfig &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void CopyFrom(const CoronerConfig &from)
CoronerConfig & operator=(const CoronerConfig &from)
friend void swap(CoronerConfig &a, CoronerConfig &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::unit< request_interval_dimension, boost::units::si::system > request_interval_unit
::goby::middleware::protobuf::AppConfig * mutable_app()
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_expected_name()
boost::units::quantity< response_timeout_unit, float > response_timeout_with_units() const
boost::units::quantity< request_interval_unit, float > request_interval_with_units() const
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
CoronerConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const CoronerConfig & default_instance()
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type request_interval_dimension
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_expected_name(int index, const std::string &value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
PROTOBUF_NODISCARD std::string * release_report_file()
void set_response_timeout_with_units(Quantity value_w_units)
CoronerConfig(const CoronerConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
void set_request_interval_with_units(Quantity value_w_units)
CoronerConfig & operator=(CoronerConfig &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
CoronerConfig(CoronerConfig &&from) noexcept
void set_allocated_report_file(std::string *report_file)
static const CoronerConfig * internal_default_instance()
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & expected_name() const
CoronerConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type response_timeout_dimension
const ::goby::middleware::protobuf::AppConfig & app() const
boost::units::unit< response_timeout_dimension, boost::units::si::system > response_timeout_unit
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
CoronerConfigDefaultTypeInternal _CoronerConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.