4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
38 #include "dccl/option_extensions.pb.h"
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
44 #include <boost/units/systems/si.hpp>
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
48 PROTOBUF_NAMESPACE_OPEN
52 PROTOBUF_NAMESPACE_CLOSE
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
72 class CoronerConfigDefaultTypeInternal;
78 PROTOBUF_NAMESPACE_OPEN
79 template<> ::goby::apps::zeromq::protobuf::CoronerConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::CoronerConfig>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
89 public ::PROTOBUF_NAMESPACE_ID::Message {
97 *
this = ::std::move(from);
100 inline CoronerConfig&
operator=(
const CoronerConfig& from) {
104 inline CoronerConfig&
operator=(CoronerConfig&& from) noexcept {
105 if (GetArena() == from.GetArena()) {
106 if (
this != &from) InternalSwap(&from);
114 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
117 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
120 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
121 return GetDescriptor();
124 return GetMetadataStatic().descriptor;
127 return GetMetadataStatic().reflection;
133 return reinterpret_cast<const CoronerConfig*
>(
136 static constexpr
int kIndexInFileMessages =
139 friend void swap(CoronerConfig& a, CoronerConfig& b) {
142 inline void Swap(CoronerConfig* other) {
143 if (other ==
this)
return;
144 if (GetArena() == other->GetArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetArena() == other->GetArena());
158 inline CoronerConfig*
New() const final {
159 return CreateMaybeMessage<CoronerConfig>(
nullptr);
162 CoronerConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
163 return CreateMaybeMessage<CoronerConfig>(arena);
165 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
166 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
169 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
170 bool IsInitialized() const final;
173 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
174 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
175 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 inline void SharedCtor();
180 inline void SharedDtor();
181 void SetCachedSize(
int size)
const final;
182 void InternalSwap(CoronerConfig* other);
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.apps.zeromq.protobuf.CoronerConfig";
190 static void ArenaDtor(
void*
object);
191 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
208 kExpectedNameFieldNumber = 10,
209 kReportFileFieldNumber = 23,
211 kInterprocessFieldNumber = 2,
212 kAutoAddNewAppsFieldNumber = 22,
213 kRequestIntervalFieldNumber = 20,
214 kResponseTimeoutFieldNumber = 21,
219 int _internal_expected_name_size()
const;
233 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
expected_name()
const;
236 const std::string& _internal_expected_name(
int index)
const;
237 std::string* _internal_add_expected_name();
243 bool _internal_has_report_file()
const;
254 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
255 " string fields are deprecated and will be removed in a"
257 std::
string* unsafe_arena_release_report_file();
258 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
259 "
string fields are deprecated and will be removed in a"
261 void unsafe_arena_set_allocated_report_file(
262 std::
string* report_file);
264 const std::
string& _internal_report_file() const;
265 void _internal_set_report_file(const std::
string& value);
266 std::
string* _internal_mutable_report_file();
270 bool has_app() const;
272 bool _internal_has_app() const;
275 const ::
goby::middleware::protobuf::AppConfig& app() const;
276 ::
goby::middleware::protobuf::AppConfig* release_app();
277 ::
goby::middleware::protobuf::AppConfig* mutable_app();
278 void set_allocated_app(::
goby::middleware::protobuf::AppConfig* app);
280 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
281 ::
goby::middleware::protobuf::AppConfig* _internal_mutable_app();
283 void unsafe_arena_set_allocated_app(
284 ::
goby::middleware::protobuf::AppConfig* app);
285 ::
goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
288 bool has_interprocess() const;
290 bool _internal_has_interprocess() const;
292 void clear_interprocess();
293 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
294 ::
goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
295 ::
goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
296 void set_allocated_interprocess(::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
298 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
299 ::
goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
301 void unsafe_arena_set_allocated_interprocess(
302 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
303 ::
goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
306 bool has_auto_add_new_apps() const;
308 bool _internal_has_auto_add_new_apps() const;
310 void clear_auto_add_new_apps();
311 bool auto_add_new_apps() const;
312 void set_auto_add_new_apps(
bool value);
314 bool _internal_auto_add_new_apps() const;
315 void _internal_set_auto_add_new_apps(
bool value);
319 bool has_request_interval() const;
321 bool _internal_has_request_interval() const;
323 void clear_request_interval();
324 float request_interval() const;
325 void set_request_interval(
float value);
327 float _internal_request_interval() const;
328 void _internal_set_request_interval(
float value);
332 bool has_response_timeout() const;
334 bool _internal_has_response_timeout() const;
336 void clear_response_timeout();
337 float response_timeout() const;
338 void set_response_timeout(
float value);
340 float _internal_response_timeout() const;
341 void _internal_set_response_timeout(
float value);
348 template<typename Quantity >
349 void set_request_interval_with_units(Quantity value_w_units)
350 { set_request_interval(boost::units::quantity<request_interval_unit,float >(value_w_units).value() ); };
352 template<
typename Quantity >
357 {
return request_interval_with_units<boost::units::quantity< request_interval_unit,float > >(); };
363 template<
typename Quantity >
365 { set_response_timeout(boost::units::quantity<response_timeout_unit,float >(value_w_units).value() ); };
367 template<
typename Quantity >
372 {
return response_timeout_with_units<boost::units::quantity< response_timeout_unit,float > >(); };
378 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
379 typedef void InternalArenaConstructable_;
380 typedef void DestructorSkippable_;
381 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
382 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
383 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> expected_name_;
384 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr report_file_;
385 ::goby::middleware::protobuf::AppConfig* app_;
386 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
387 bool auto_add_new_apps_;
388 float request_interval_;
389 float response_timeout_;
390 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto;
398 #pragma GCC diagnostic push
399 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
404 inline bool CoronerConfig::_internal_has_app()
const {
405 bool value = (_has_bits_[0] & 0x00000002u) != 0;
406 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
409 inline bool CoronerConfig::has_app()
const {
410 return _internal_has_app();
412 inline const ::goby::middleware::protobuf::AppConfig& CoronerConfig::_internal_app()
const {
413 const ::goby::middleware::protobuf::AppConfig* p = app_;
414 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
417 inline const ::goby::middleware::protobuf::AppConfig& CoronerConfig::app()
const {
419 return _internal_app();
421 inline void CoronerConfig::unsafe_arena_set_allocated_app(
422 ::goby::middleware::protobuf::AppConfig* app) {
423 if (GetArena() ==
nullptr) {
424 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
428 _has_bits_[0] |= 0x00000002u;
430 _has_bits_[0] &= ~0x00000002u;
434 inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::release_app() {
435 auto temp = unsafe_arena_release_app();
436 if (GetArena() !=
nullptr) {
437 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
441 inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::unsafe_arena_release_app() {
443 _has_bits_[0] &= ~0x00000002u;
444 ::goby::middleware::protobuf::AppConfig* temp = app_;
448 inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::_internal_mutable_app() {
449 _has_bits_[0] |= 0x00000002u;
450 if (app_ ==
nullptr) {
451 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
456 inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::mutable_app() {
458 return _internal_mutable_app();
460 inline void CoronerConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
461 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
462 if (message_arena ==
nullptr) {
463 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
466 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
467 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
468 if (message_arena != submessage_arena) {
469 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
470 message_arena, app, submessage_arena);
472 _has_bits_[0] |= 0x00000002u;
474 _has_bits_[0] &= ~0x00000002u;
481 inline bool CoronerConfig::_internal_has_interprocess()
const {
482 bool value = (_has_bits_[0] & 0x00000004u) != 0;
483 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
486 inline bool CoronerConfig::has_interprocess()
const {
487 return _internal_has_interprocess();
489 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CoronerConfig::_internal_interprocess()
const {
490 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
491 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
494 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CoronerConfig::interprocess()
const {
496 return _internal_interprocess();
498 inline void CoronerConfig::unsafe_arena_set_allocated_interprocess(
499 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
500 if (GetArena() ==
nullptr) {
501 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
503 interprocess_ = interprocess;
505 _has_bits_[0] |= 0x00000004u;
507 _has_bits_[0] &= ~0x00000004u;
511 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::release_interprocess() {
512 auto temp = unsafe_arena_release_interprocess();
513 if (GetArena() !=
nullptr) {
514 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
518 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::unsafe_arena_release_interprocess() {
520 _has_bits_[0] &= ~0x00000004u;
521 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
522 interprocess_ =
nullptr;
525 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::_internal_mutable_interprocess() {
526 _has_bits_[0] |= 0x00000004u;
527 if (interprocess_ ==
nullptr) {
528 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
531 return interprocess_;
533 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::mutable_interprocess() {
535 return _internal_mutable_interprocess();
537 inline void CoronerConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
538 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
539 if (message_arena ==
nullptr) {
540 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
543 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
544 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess)->GetArena();
545 if (message_arena != submessage_arena) {
546 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
547 message_arena, interprocess, submessage_arena);
549 _has_bits_[0] |= 0x00000004u;
551 _has_bits_[0] &= ~0x00000004u;
553 interprocess_ = interprocess;
558 inline int CoronerConfig::_internal_expected_name_size()
const {
559 return expected_name_.size();
561 inline int CoronerConfig::expected_name_size()
const {
562 return _internal_expected_name_size();
564 inline void CoronerConfig::clear_expected_name() {
565 expected_name_.Clear();
567 inline std::string* CoronerConfig::add_expected_name() {
569 return _internal_add_expected_name();
571 inline const std::string& CoronerConfig::_internal_expected_name(
int index)
const {
572 return expected_name_.Get(index);
574 inline const std::string& CoronerConfig::expected_name(
int index)
const {
576 return _internal_expected_name(index);
578 inline std::string* CoronerConfig::mutable_expected_name(
int index) {
580 return expected_name_.Mutable(index);
582 inline void CoronerConfig::set_expected_name(
int index,
const std::string& value) {
584 expected_name_.Mutable(index)->assign(value);
586 inline void CoronerConfig::set_expected_name(
int index, std::string&& value) {
588 expected_name_.Mutable(index)->assign(std::move(value));
590 inline void CoronerConfig::set_expected_name(
int index,
const char* value) {
591 GOOGLE_DCHECK(value !=
nullptr);
592 expected_name_.Mutable(index)->assign(value);
595 inline void CoronerConfig::set_expected_name(
int index,
const char* value,
size_t size) {
596 expected_name_.Mutable(index)->assign(
597 reinterpret_cast<const char*
>(value), size);
600 inline std::string* CoronerConfig::_internal_add_expected_name() {
601 return expected_name_.Add();
603 inline void CoronerConfig::add_expected_name(
const std::string& value) {
604 expected_name_.Add()->assign(value);
607 inline void CoronerConfig::add_expected_name(std::string&& value) {
608 expected_name_.Add(std::move(value));
611 inline void CoronerConfig::add_expected_name(
const char* value) {
612 GOOGLE_DCHECK(value !=
nullptr);
613 expected_name_.Add()->assign(value);
616 inline void CoronerConfig::add_expected_name(
const char* value,
size_t size) {
617 expected_name_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
620 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
621 CoronerConfig::expected_name()
const {
623 return expected_name_;
625 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
626 CoronerConfig::mutable_expected_name() {
628 return &expected_name_;
632 inline bool CoronerConfig::_internal_has_request_interval()
const {
633 bool value = (_has_bits_[0] & 0x00000010u) != 0;
636 inline bool CoronerConfig::has_request_interval()
const {
637 return _internal_has_request_interval();
639 inline void CoronerConfig::clear_request_interval() {
640 request_interval_ = 10;
641 _has_bits_[0] &= ~0x00000010u;
643 inline float CoronerConfig::_internal_request_interval()
const {
644 return request_interval_;
646 inline float CoronerConfig::request_interval()
const {
648 return _internal_request_interval();
650 inline void CoronerConfig::_internal_set_request_interval(
float value) {
651 _has_bits_[0] |= 0x00000010u;
652 request_interval_ =
value;
654 inline void CoronerConfig::set_request_interval(
float value) {
655 _internal_set_request_interval(value);
660 inline bool CoronerConfig::_internal_has_response_timeout()
const {
661 bool value = (_has_bits_[0] & 0x00000020u) != 0;
664 inline bool CoronerConfig::has_response_timeout()
const {
665 return _internal_has_response_timeout();
667 inline void CoronerConfig::clear_response_timeout() {
668 response_timeout_ = 5;
669 _has_bits_[0] &= ~0x00000020u;
671 inline float CoronerConfig::_internal_response_timeout()
const {
672 return response_timeout_;
674 inline float CoronerConfig::response_timeout()
const {
676 return _internal_response_timeout();
678 inline void CoronerConfig::_internal_set_response_timeout(
float value) {
679 _has_bits_[0] |= 0x00000020u;
680 response_timeout_ =
value;
682 inline void CoronerConfig::set_response_timeout(
float value) {
683 _internal_set_response_timeout(value);
688 inline bool CoronerConfig::_internal_has_auto_add_new_apps()
const {
689 bool value = (_has_bits_[0] & 0x00000008u) != 0;
692 inline bool CoronerConfig::has_auto_add_new_apps()
const {
693 return _internal_has_auto_add_new_apps();
695 inline void CoronerConfig::clear_auto_add_new_apps() {
696 auto_add_new_apps_ =
false;
697 _has_bits_[0] &= ~0x00000008u;
699 inline bool CoronerConfig::_internal_auto_add_new_apps()
const {
700 return auto_add_new_apps_;
702 inline bool CoronerConfig::auto_add_new_apps()
const {
704 return _internal_auto_add_new_apps();
706 inline void CoronerConfig::_internal_set_auto_add_new_apps(
bool value) {
707 _has_bits_[0] |= 0x00000008u;
708 auto_add_new_apps_ =
value;
710 inline void CoronerConfig::set_auto_add_new_apps(
bool value) {
711 _internal_set_auto_add_new_apps(value);
716 inline bool CoronerConfig::_internal_has_report_file()
const {
717 bool value = (_has_bits_[0] & 0x00000001u) != 0;
720 inline bool CoronerConfig::has_report_file()
const {
721 return _internal_has_report_file();
723 inline void CoronerConfig::clear_report_file() {
725 _has_bits_[0] &= ~0x00000001u;
727 inline const std::string& CoronerConfig::report_file()
const {
729 return _internal_report_file();
731 inline void CoronerConfig::set_report_file(
const std::string& value) {
732 _internal_set_report_file(value);
735 inline std::string* CoronerConfig::mutable_report_file() {
737 return _internal_mutable_report_file();
739 inline const std::string& CoronerConfig::_internal_report_file()
const {
740 return report_file_.Get();
742 inline void CoronerConfig::_internal_set_report_file(
const std::string& value) {
743 _has_bits_[0] |= 0x00000001u;
746 inline void CoronerConfig::set_report_file(std::string&& value) {
747 _has_bits_[0] |= 0x00000001u;
752 inline void CoronerConfig::set_report_file(
const char* value) {
753 GOOGLE_DCHECK(value !=
nullptr);
754 _has_bits_[0] |= 0x00000001u;
759 inline void CoronerConfig::set_report_file(
const char* value,
761 _has_bits_[0] |= 0x00000001u;
763 reinterpret_cast<const char*
>(value), size), GetArena());
766 inline std::string* CoronerConfig::_internal_mutable_report_file() {
767 _has_bits_[0] |= 0x00000001u;
770 inline std::string* CoronerConfig::release_report_file() {
772 if (!_internal_has_report_file()) {
775 _has_bits_[0] &= ~0x00000001u;
778 inline void CoronerConfig::set_allocated_report_file(std::string* report_file) {
779 if (report_file !=
nullptr) {
780 _has_bits_[0] |= 0x00000001u;
782 _has_bits_[0] &= ~0x00000001u;
788 inline std::string* CoronerConfig::unsafe_arena_release_report_file() {
790 GOOGLE_DCHECK(GetArena() !=
nullptr);
791 _has_bits_[0] &= ~0x00000001u;
795 inline void CoronerConfig::unsafe_arena_set_allocated_report_file(
796 std::string* report_file) {
797 GOOGLE_DCHECK(GetArena() !=
nullptr);
798 if (report_file !=
nullptr) {
799 _has_bits_[0] |= 0x00000001u;
801 _has_bits_[0] &= ~0x00000001u;
804 report_file, GetArena());
809 #pragma GCC diagnostic pop
821 #include <google/protobuf/port_undef.inc>
void set_expected_name(int index, const std::string &value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_expected_name()
void clear_expected_name()
void add_expected_name(std::string &&value)
CoronerConfig * New() const final
std::string * mutable_report_file()
friend void swap(CoronerConfig &a, CoronerConfig &b)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
CoronerConfig(CoronerConfig &&from) noexcept
boost::units::quantity< response_timeout_unit, float > response_timeout_with_units() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & expected_name() const
void set_response_timeout_with_units(Quantity value_w_units)
void set_allocated_report_file(std::string *report_file)
void add_expected_name(const char *value, size_t size)
void set_report_file(std::string &&value)
void set_expected_name(int index, const char *value, size_t size)
static void InitAsDefaultInstance()
Quantity response_timeout_with_units() const
const std::string & report_file() const
CoronerConfig & operator=(CoronerConfig &&from) noexcept
std::string * release_report_file()
boost::units::unit< response_timeout_dimension, boost::units::si::system > response_timeout_unit
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_expected_name(int index, const char *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::unit< request_interval_dimension, boost::units::si::system > request_interval_unit
static const CoronerConfig & default_instance()
boost::units::quantity< request_interval_unit, float > request_interval_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const CoronerConfig &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
CoronerConfig(const CoronerConfig &from)
void CopyFrom(const CoronerConfig &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void add_expected_name(const char *value)
void add_expected_name(const std::string &value)
void set_expected_name(int index, std::string &&value)
Quantity request_interval_with_units() const
const std::string & expected_name(int index) const
bool has_report_file() const
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type request_interval_dimension
CoronerConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_report_file(const std::string &value)
static const CoronerConfig * internal_default_instance()
void set_report_file(const char *value)
CoronerConfig & operator=(const CoronerConfig &from)
void set_report_file(const char *value, size_t size)
void Swap(CoronerConfig *other)
CoronerConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
std::string * mutable_expected_name(int index)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type response_timeout_dimension
void UnsafeArenaSwap(CoronerConfig *other)
std::string * add_expected_name()
int expected_name_size() const
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
@ value
the parser finished reading a JSON value
CoronerConfigDefaultTypeInternal _CoronerConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
boost::units::make_system< boost::units::angle::revolution_base_unit, boost::units::metric::minute_base_unit >::type system
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
type
Generic JSON types used in JWTs.
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]