Goby3  3.1.5
2024.05.14
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 PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
45 
47 // Internal implementation detail -- do not use these members.
48 struct TableStruct {
49  static const ::google::protobuf::internal::ParseTableField entries[];
50  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
51  static const ::google::protobuf::internal::ParseTable schema[1];
52  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
53  static const ::google::protobuf::internal::SerializationTable serialization_table[];
55 };
56 void AddDescriptors();
57 } // namespace protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
58 namespace goby {
59 namespace apps {
60 namespace zeromq {
61 namespace protobuf {
62 class CoronerConfig;
63 class CoronerConfigDefaultTypeInternal;
64 extern CoronerConfigDefaultTypeInternal _CoronerConfig_default_instance_;
65 } // namespace protobuf
66 } // namespace zeromq
67 } // namespace apps
68 } // namespace goby
69 namespace google {
70 namespace protobuf {
71 template<> ::goby::apps::zeromq::protobuf::CoronerConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::CoronerConfig>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace goby {
75 namespace apps {
76 namespace zeromq {
77 namespace protobuf {
78 
79 // ===================================================================
80 
81 class CoronerConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.CoronerConfig) */ {
82  public:
83  CoronerConfig();
84  virtual ~CoronerConfig();
85 
86  CoronerConfig(const CoronerConfig& from);
87 
88  inline CoronerConfig& operator=(const CoronerConfig& from) {
89  CopyFrom(from);
90  return *this;
91  }
92  #if LANG_CXX11
93  CoronerConfig(CoronerConfig&& from) noexcept
94  : CoronerConfig() {
95  *this = ::std::move(from);
96  }
97 
98  inline CoronerConfig& operator=(CoronerConfig&& from) noexcept {
99  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
100  if (this != &from) InternalSwap(&from);
101  } else {
102  CopyFrom(from);
103  }
104  return *this;
105  }
106  #endif
107  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
108  return _internal_metadata_.unknown_fields();
109  }
110  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
111  return _internal_metadata_.mutable_unknown_fields();
112  }
113 
114  static const ::google::protobuf::Descriptor* descriptor();
115  static const CoronerConfig& default_instance();
116 
117  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
118  static inline const CoronerConfig* internal_default_instance() {
119  return reinterpret_cast<const CoronerConfig*>(
121  }
122  static constexpr int kIndexInFileMessages =
123  0;
124 
125  void Swap(CoronerConfig* other);
126  friend void swap(CoronerConfig& a, CoronerConfig& b) {
127  a.Swap(&b);
128  }
129 
130  // implements Message ----------------------------------------------
131 
132  inline CoronerConfig* New() const final {
133  return CreateMaybeMessage<CoronerConfig>(NULL);
134  }
135 
136  CoronerConfig* New(::google::protobuf::Arena* arena) const final {
137  return CreateMaybeMessage<CoronerConfig>(arena);
138  }
139  void CopyFrom(const ::google::protobuf::Message& from) final;
140  void MergeFrom(const ::google::protobuf::Message& from) final;
141  void CopyFrom(const CoronerConfig& from);
142  void MergeFrom(const CoronerConfig& from);
143  void Clear() final;
144  bool IsInitialized() const final;
145 
146  size_t ByteSizeLong() const final;
148  ::google::protobuf::io::CodedInputStream* input) final;
150  ::google::protobuf::io::CodedOutputStream* output) const final;
152  bool deterministic, ::google::protobuf::uint8* target) const final;
153  int GetCachedSize() const final { return _cached_size_.Get(); }
154 
155  private:
156  void SharedCtor();
157  void SharedDtor();
158  void SetCachedSize(int size) const final;
159  void InternalSwap(CoronerConfig* other);
160  private:
161  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
162  return NULL;
163  }
164  inline void* MaybeArenaPtr() const {
165  return NULL;
166  }
167  public:
168 
170 
171  // nested types ----------------------------------------------------
172 
173  // accessors -------------------------------------------------------
174 
175  // repeated string expected_name = 10;
176  int expected_name_size() const;
177  void clear_expected_name();
178  static const int kExpectedNameFieldNumber = 10;
179  const ::std::string& expected_name(int index) const;
180  ::std::string* mutable_expected_name(int index);
181  void set_expected_name(int index, const ::std::string& value);
182  #if LANG_CXX11
183  void set_expected_name(int index, ::std::string&& value);
184  #endif
185  void set_expected_name(int index, const char* value);
186  void set_expected_name(int index, const char* value, size_t size);
187  ::std::string* add_expected_name();
188  void add_expected_name(const ::std::string& value);
189  #if LANG_CXX11
190  void add_expected_name(::std::string&& value);
191  #endif
192  void add_expected_name(const char* value);
193  void add_expected_name(const char* value, size_t size);
194  const ::google::protobuf::RepeatedPtrField< ::std::string>& expected_name() const;
196 
197  // optional string report_file = 23;
198  bool has_report_file() const;
199  void clear_report_file();
200  static const int kReportFileFieldNumber = 23;
201  const ::std::string& report_file() const;
202  void set_report_file(const ::std::string& value);
203  #if LANG_CXX11
204  void set_report_file(::std::string&& value);
205  #endif
206  void set_report_file(const char* value);
207  void set_report_file(const char* value, size_t size);
208  ::std::string* mutable_report_file();
209  ::std::string* release_report_file();
210  void set_allocated_report_file(::std::string* report_file);
211 
212  // optional .goby.middleware.protobuf.AppConfig app = 1;
213  bool has_app() const;
214  void clear_app();
215  static const int kAppFieldNumber = 1;
216  private:
217  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
218  public:
219  const ::goby::middleware::protobuf::AppConfig& app() const;
223 
224  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
225  bool has_interprocess() const;
226  void clear_interprocess();
227  static const int kInterprocessFieldNumber = 2;
228  private:
229  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
230  public:
231  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
235 
236  // optional bool auto_add_new_apps = 22 [default = false];
237  bool has_auto_add_new_apps() const;
239  static const int kAutoAddNewAppsFieldNumber = 22;
240  bool auto_add_new_apps() const;
241  void set_auto_add_new_apps(bool value);
242 
243  // optional float request_interval = 20 [default = 10, (.dccl.field) = {
244  bool has_request_interval() const;
245  void clear_request_interval();
246  static const int kRequestIntervalFieldNumber = 20;
247  float request_interval() const;
248  void set_request_interval(float value);
249 
250  // optional float response_timeout = 21 [default = 5, (.dccl.field) = {
251  bool has_response_timeout() const;
252  void clear_response_timeout();
253  static const int kResponseTimeoutFieldNumber = 21;
254  float response_timeout() const;
255  void set_response_timeout(float value);
256 
258 
259  typedef boost::units::unit<request_interval_dimension,boost::units::si::system> request_interval_unit;
260 
261  template<typename Quantity >
262  void set_request_interval_with_units(Quantity value_w_units)
263  { set_request_interval(boost::units::quantity<request_interval_unit,float >(value_w_units).value() ); };
264 
265  template<typename Quantity >
267  { return Quantity(request_interval() * request_interval_unit()); };
268 
269  boost::units::quantity< request_interval_unit,float > request_interval_with_units() const
270  { return request_interval_with_units<boost::units::quantity< request_interval_unit,float > >(); };
271 
273 
274  typedef boost::units::unit<response_timeout_dimension,boost::units::si::system> response_timeout_unit;
275 
276  template<typename Quantity >
277  void set_response_timeout_with_units(Quantity value_w_units)
278  { set_response_timeout(boost::units::quantity<response_timeout_unit,float >(value_w_units).value() ); };
279 
280  template<typename Quantity >
282  { return Quantity(response_timeout() * response_timeout_unit()); };
283 
284  boost::units::quantity< response_timeout_unit,float > response_timeout_with_units() const
285  { return response_timeout_with_units<boost::units::quantity< response_timeout_unit,float > >(); };
286 
287  // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.CoronerConfig)
288  private:
289  void set_has_app();
290  void clear_has_app();
291  void set_has_interprocess();
292  void clear_has_interprocess();
293  void set_has_request_interval();
294  void clear_has_request_interval();
295  void set_has_response_timeout();
296  void clear_has_response_timeout();
297  void set_has_auto_add_new_apps();
298  void clear_has_auto_add_new_apps();
299  void set_has_report_file();
300  void clear_has_report_file();
301 
302  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
303  ::google::protobuf::internal::HasBits<1> _has_bits_;
304  mutable ::google::protobuf::internal::CachedSize _cached_size_;
306  ::google::protobuf::internal::ArenaStringPtr report_file_;
309  bool auto_add_new_apps_;
310  float request_interval_;
311  float response_timeout_;
312  friend struct ::protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto::TableStruct;
313 };
314 // ===================================================================
315 
316 
317 // ===================================================================
318 
319 #ifdef __GNUC__
320  #pragma GCC diagnostic push
321  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
322 #endif // __GNUC__
323 // CoronerConfig
324 
325 // optional .goby.middleware.protobuf.AppConfig app = 1;
326 inline bool CoronerConfig::has_app() const {
327  return (_has_bits_[0] & 0x00000002u) != 0;
328 }
329 inline void CoronerConfig::set_has_app() {
330  _has_bits_[0] |= 0x00000002u;
331 }
332 inline void CoronerConfig::clear_has_app() {
333  _has_bits_[0] &= ~0x00000002u;
334 }
335 inline const ::goby::middleware::protobuf::AppConfig& CoronerConfig::_internal_app() const {
336  return *app_;
337 }
338 inline const ::goby::middleware::protobuf::AppConfig& CoronerConfig::app() const {
339  const ::goby::middleware::protobuf::AppConfig* p = app_;
340  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.app)
341  return p != NULL ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
343 }
344 inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::release_app() {
345  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.CoronerConfig.app)
346  clear_has_app();
348  app_ = NULL;
349  return temp;
350 }
351 inline ::goby::middleware::protobuf::AppConfig* CoronerConfig::mutable_app() {
352  set_has_app();
353  if (app_ == NULL) {
354  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
355  app_ = p;
356  }
357  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.CoronerConfig.app)
358  return app_;
359 }
361  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
362  if (message_arena == NULL) {
363  delete reinterpret_cast< ::google::protobuf::MessageLite*>(app_);
364  }
365  if (app) {
366  ::google::protobuf::Arena* submessage_arena = NULL;
367  if (message_arena != submessage_arena) {
368  app = ::google::protobuf::internal::GetOwnedMessage(
369  message_arena, app, submessage_arena);
370  }
371  set_has_app();
372  } else {
373  clear_has_app();
374  }
375  app_ = app;
376  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.CoronerConfig.app)
377 }
378 
379 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
380 inline bool CoronerConfig::has_interprocess() const {
381  return (_has_bits_[0] & 0x00000004u) != 0;
382 }
383 inline void CoronerConfig::set_has_interprocess() {
384  _has_bits_[0] |= 0x00000004u;
385 }
386 inline void CoronerConfig::clear_has_interprocess() {
387  _has_bits_[0] &= ~0x00000004u;
388 }
389 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CoronerConfig::_internal_interprocess() const {
390  return *interprocess_;
391 }
392 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CoronerConfig::interprocess() const {
393  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
394  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.interprocess)
395  return p != NULL ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
397 }
398 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::release_interprocess() {
399  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.CoronerConfig.interprocess)
400  clear_has_interprocess();
402  interprocess_ = NULL;
403  return temp;
404 }
405 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CoronerConfig::mutable_interprocess() {
406  set_has_interprocess();
407  if (interprocess_ == NULL) {
408  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
409  interprocess_ = p;
410  }
411  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.CoronerConfig.interprocess)
412  return interprocess_;
413 }
415  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
416  if (message_arena == NULL) {
417  delete reinterpret_cast< ::google::protobuf::MessageLite*>(interprocess_);
418  }
419  if (interprocess) {
420  ::google::protobuf::Arena* submessage_arena = NULL;
421  if (message_arena != submessage_arena) {
422  interprocess = ::google::protobuf::internal::GetOwnedMessage(
423  message_arena, interprocess, submessage_arena);
424  }
425  set_has_interprocess();
426  } else {
427  clear_has_interprocess();
428  }
429  interprocess_ = interprocess;
430  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.CoronerConfig.interprocess)
431 }
432 
433 // repeated string expected_name = 10;
435  return expected_name_.size();
436 }
438  expected_name_.Clear();
439 }
440 inline const ::std::string& CoronerConfig::expected_name(int index) const {
441  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
442  return expected_name_.Get(index);
443 }
444 inline ::std::string* CoronerConfig::mutable_expected_name(int index) {
445  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
446  return expected_name_.Mutable(index);
447 }
448 inline void CoronerConfig::set_expected_name(int index, const ::std::string& value) {
449  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
450  expected_name_.Mutable(index)->assign(value);
451 }
452 #if LANG_CXX11
453 inline void CoronerConfig::set_expected_name(int index, ::std::string&& value) {
454  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
455  expected_name_.Mutable(index)->assign(std::move(value));
456 }
457 #endif
458 inline void CoronerConfig::set_expected_name(int index, const char* value) {
459  GOOGLE_DCHECK(value != NULL);
460  expected_name_.Mutable(index)->assign(value);
461  // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
462 }
463 inline void CoronerConfig::set_expected_name(int index, const char* value, size_t size) {
464  expected_name_.Mutable(index)->assign(
465  reinterpret_cast<const char*>(value), size);
466  // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
467 }
468 inline ::std::string* CoronerConfig::add_expected_name() {
469  // @@protoc_insertion_point(field_add_mutable:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
470  return expected_name_.Add();
471 }
472 inline void CoronerConfig::add_expected_name(const ::std::string& value) {
473  expected_name_.Add()->assign(value);
474  // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
475 }
476 #if LANG_CXX11
477 inline void CoronerConfig::add_expected_name(::std::string&& value) {
478  expected_name_.Add(std::move(value));
479  // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
480 }
481 #endif
482 inline void CoronerConfig::add_expected_name(const char* value) {
483  GOOGLE_DCHECK(value != NULL);
484  expected_name_.Add()->assign(value);
485  // @@protoc_insertion_point(field_add_char:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
486 }
487 inline void CoronerConfig::add_expected_name(const char* value, size_t size) {
488  expected_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
489  // @@protoc_insertion_point(field_add_pointer:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
490 }
491 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
493  // @@protoc_insertion_point(field_list:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
494  return expected_name_;
495 }
496 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
498  // @@protoc_insertion_point(field_mutable_list:goby.apps.zeromq.protobuf.CoronerConfig.expected_name)
499  return &expected_name_;
500 }
501 
502 // optional float request_interval = 20 [default = 10, (.dccl.field) = {
504  return (_has_bits_[0] & 0x00000010u) != 0;
505 }
506 inline void CoronerConfig::set_has_request_interval() {
507  _has_bits_[0] |= 0x00000010u;
508 }
509 inline void CoronerConfig::clear_has_request_interval() {
510  _has_bits_[0] &= ~0x00000010u;
511 }
513  request_interval_ = 10;
514  clear_has_request_interval();
515 }
516 inline float CoronerConfig::request_interval() const {
517  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.request_interval)
518  return request_interval_;
519 }
520 inline void CoronerConfig::set_request_interval(float value) {
521  set_has_request_interval();
522  request_interval_ = value;
523  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.request_interval)
524 }
525 
526 // optional float response_timeout = 21 [default = 5, (.dccl.field) = {
528  return (_has_bits_[0] & 0x00000020u) != 0;
529 }
530 inline void CoronerConfig::set_has_response_timeout() {
531  _has_bits_[0] |= 0x00000020u;
532 }
533 inline void CoronerConfig::clear_has_response_timeout() {
534  _has_bits_[0] &= ~0x00000020u;
535 }
537  response_timeout_ = 5;
538  clear_has_response_timeout();
539 }
540 inline float CoronerConfig::response_timeout() const {
541  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.response_timeout)
542  return response_timeout_;
543 }
544 inline void CoronerConfig::set_response_timeout(float value) {
545  set_has_response_timeout();
546  response_timeout_ = value;
547  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.response_timeout)
548 }
549 
550 // optional bool auto_add_new_apps = 22 [default = false];
552  return (_has_bits_[0] & 0x00000008u) != 0;
553 }
554 inline void CoronerConfig::set_has_auto_add_new_apps() {
555  _has_bits_[0] |= 0x00000008u;
556 }
557 inline void CoronerConfig::clear_has_auto_add_new_apps() {
558  _has_bits_[0] &= ~0x00000008u;
559 }
561  auto_add_new_apps_ = false;
562  clear_has_auto_add_new_apps();
563 }
564 inline bool CoronerConfig::auto_add_new_apps() const {
565  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.auto_add_new_apps)
566  return auto_add_new_apps_;
567 }
568 inline void CoronerConfig::set_auto_add_new_apps(bool value) {
569  set_has_auto_add_new_apps();
570  auto_add_new_apps_ = value;
571  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.auto_add_new_apps)
572 }
573 
574 // optional string report_file = 23;
575 inline bool CoronerConfig::has_report_file() const {
576  return (_has_bits_[0] & 0x00000001u) != 0;
577 }
578 inline void CoronerConfig::set_has_report_file() {
579  _has_bits_[0] |= 0x00000001u;
580 }
581 inline void CoronerConfig::clear_has_report_file() {
582  _has_bits_[0] &= ~0x00000001u;
583 }
585  report_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
586  clear_has_report_file();
587 }
588 inline const ::std::string& CoronerConfig::report_file() const {
589  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
590  return report_file_.GetNoArena();
591 }
592 inline void CoronerConfig::set_report_file(const ::std::string& value) {
593  set_has_report_file();
594  report_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
595  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
596 }
597 #if LANG_CXX11
598 inline void CoronerConfig::set_report_file(::std::string&& value) {
599  set_has_report_file();
600  report_file_.SetNoArena(
602  // @@protoc_insertion_point(field_set_rvalue:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
603 }
604 #endif
605 inline void CoronerConfig::set_report_file(const char* value) {
606  GOOGLE_DCHECK(value != NULL);
607  set_has_report_file();
608  report_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
609  // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
610 }
611 inline void CoronerConfig::set_report_file(const char* value, size_t size) {
612  set_has_report_file();
613  report_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
614  ::std::string(reinterpret_cast<const char*>(value), size));
615  // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
616 }
617 inline ::std::string* CoronerConfig::mutable_report_file() {
618  set_has_report_file();
619  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
620  return report_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
621 }
622 inline ::std::string* CoronerConfig::release_report_file() {
623  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
624  if (!has_report_file()) {
625  return NULL;
626  }
627  clear_has_report_file();
628  return report_file_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
629 }
630 inline void CoronerConfig::set_allocated_report_file(::std::string* report_file) {
631  if (report_file != NULL) {
632  set_has_report_file();
633  } else {
634  clear_has_report_file();
635  }
636  report_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), report_file);
637  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.CoronerConfig.report_file)
638 }
639 
640 #ifdef __GNUC__
641  #pragma GCC diagnostic pop
642 #endif // __GNUC__
643 
644 // @@protoc_insertion_point(namespace_scope)
645 
646 } // namespace protobuf
647 } // namespace zeromq
648 } // namespace apps
649 } // namespace goby
650 
651 // @@protoc_insertion_point(global_scope)
652 
653 #endif // PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto
Definition: coroner_config.pb.h:46
protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto::AddDescriptors
void AddDescriptors()
goby::apps::zeromq::protobuf::CoronerConfig::has_interprocess
bool has_interprocess() const
Definition: coroner_config.pb.h:380
google::protobuf::RepeatedPtrField< ::std::string >
goby::apps::zeromq::protobuf::CoronerConfig::has_response_timeout
bool has_response_timeout() const
Definition: coroner_config.pb.h:527
google::protobuf::internal::GetEmptyStringAlreadyInited
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:133
goby::zeromq::protobuf::InterProcessPortalConfig
Definition: interprocess_config.pb.h:97
goby::apps::zeromq::protobuf::CoronerConfig::set_response_timeout
void set_response_timeout(float value)
Definition: coroner_config.pb.h:544
goby::middleware::protobuf::AppConfig
Definition: app_config.pb.h:767
goby::apps::zeromq::protobuf::CoronerConfig::kReportFileFieldNumber
static const int kReportFileFieldNumber
Definition: coroner_config.pb.h:200
goby::apps::zeromq::protobuf::CoronerConfig::kRequestIntervalFieldNumber
static const int kRequestIntervalFieldNumber
Definition: coroner_config.pb.h:246
goby::apps::zeromq::protobuf::CoronerConfig::clear_response_timeout
void clear_response_timeout()
Definition: coroner_config.pb.h:536
goby::apps::zeromq::protobuf::CoronerConfig::set_request_interval_with_units
void set_request_interval_with_units(Quantity value_w_units)
Definition: coroner_config.pb.h:262
protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: coroner_config.pb.h:50
goby::apps::zeromq::protobuf::CoronerConfig::response_timeout_dimension
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type response_timeout_dimension
Definition: coroner_config.pb.h:270
goby::apps::zeromq::protobuf::CoronerConfig::Swap
void Swap(CoronerConfig *other)
goby::apps::zeromq::protobuf::CoronerConfig::has_auto_add_new_apps
bool has_auto_add_new_apps() const
Definition: coroner_config.pb.h:551
goby::apps::zeromq::protobuf::CoronerConfig::kInterprocessFieldNumber
static const int kInterprocessFieldNumber
Definition: coroner_config.pb.h:227
goby::apps::zeromq::protobuf::CoronerConfig::request_interval_unit
boost::units::unit< request_interval_dimension, boost::units::si::system > request_interval_unit
Definition: coroner_config.pb.h:259
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::apps::zeromq::protobuf::CoronerConfig::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::apps::zeromq::protobuf::CoronerConfig::release_report_file
::std::string * release_report_file()
Definition: coroner_config.pb.h:622
goby::apps::zeromq::protobuf::CoronerConfig::auto_add_new_apps
bool auto_add_new_apps() const
Definition: coroner_config.pb.h:564
goby::apps::zeromq::protobuf::CoronerConfig::response_timeout_with_units
boost::units::quantity< response_timeout_unit, float > response_timeout_with_units() const
Definition: coroner_config.pb.h:284
goby::apps::zeromq::protobuf::CoronerConfig::IsInitialized
bool IsInitialized() const final
goby::apps::zeromq::protobuf::CoronerConfig::response_timeout_with_units
Quantity response_timeout_with_units() const
Definition: coroner_config.pb.h:281
goby::apps::zeromq::protobuf::CoronerConfig::kExpectedNameFieldNumber
static const int kExpectedNameFieldNumber
Definition: coroner_config.pb.h:178
protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: coroner_config.pb.h:53
goby::apps::zeromq::protobuf::CoronerConfig::kAppFieldNumber
static const int kAppFieldNumber
Definition: coroner_config.pb.h:215
goby::apps::zeromq::protobuf::CoronerConfig::CoronerConfig
CoronerConfig()
goby::apps::zeromq::protobuf::CoronerConfig::set_auto_add_new_apps
void set_auto_add_new_apps(bool value)
Definition: coroner_config.pb.h:568
protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: coroner_config.pb.h:52
goby::apps::zeromq::protobuf::CoronerConfig::set_request_interval
void set_request_interval(float value)
Definition: coroner_config.pb.h:520
goby::apps::zeromq::protobuf::CoronerConfig::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
google::protobuf::MessageLite
Definition: message_lite.h:164
goby::apps::zeromq::protobuf::CoronerConfig::New
CoronerConfig * New() const final
Definition: coroner_config.pb.h:132
goby::apps::zeromq::protobuf::CoronerConfig::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: coroner_config.pb.h:110
goby::apps::zeromq::protobuf::CoronerConfig::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::apps::zeromq::protobuf::CoronerConfig::interprocess
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Definition: coroner_config.pb.h:392
goby::apps::zeromq::protobuf::CoronerConfig::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::apps::zeromq::protobuf::CoronerConfig::release_interprocess
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
Definition: coroner_config.pb.h:398
google::protobuf::Arena
Definition: arena.h:244
goby::apps::zeromq::protobuf::CoronerConfig::has_app
bool has_app() const
Definition: coroner_config.pb.h:326
goby::apps::zeromq::protobuf::CoronerConfig::GetCachedSize
int GetCachedSize() const final
Definition: coroner_config.pb.h:153
interprocess_config.pb.h
goby::apps::zeromq::protobuf::CoronerConfig::release_app
::goby::middleware::protobuf::AppConfig * release_app()
Definition: coroner_config.pb.h:344
goby::apps::zeromq::protobuf::CoronerConfig::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: coroner_config.pb.h:107
goby::apps::zeromq::protobuf::CoronerConfig::response_timeout
float response_timeout() const
Definition: coroner_config.pb.h:540
goby::apps::zeromq::protobuf::CoronerConfig::swap
friend void swap(CoronerConfig &a, CoronerConfig &b)
Definition: coroner_config.pb.h:126
goby::apps::zeromq::protobuf::CoronerConfig::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::apps::zeromq::protobuf::CoronerConfig::request_interval_with_units
boost::units::quantity< request_interval_unit, float > request_interval_with_units() const
Definition: coroner_config.pb.h:269
goby::apps::zeromq::protobuf::CoronerConfig::default_instance
static const CoronerConfig & default_instance()
message.h
goby::apps::zeromq::protobuf::CoronerConfig::operator=
CoronerConfig & operator=(const CoronerConfig &from)
Definition: coroner_config.pb.h:88
goby::apps::zeromq::protobuf::CoronerConfig::set_allocated_report_file
void set_allocated_report_file(::std::string *report_file)
Definition: coroner_config.pb.h:630
goby::apps::zeromq::protobuf::CoronerConfig::has_report_file
bool has_report_file() const
Definition: coroner_config.pb.h:575
goby::apps::zeromq::protobuf::CoronerConfig::has_request_interval
bool has_request_interval() const
Definition: coroner_config.pb.h:503
goby::apps::zeromq::protobuf::CoronerConfig::request_interval_with_units
Quantity request_interval_with_units() const
Definition: coroner_config.pb.h:266
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::apps::zeromq::protobuf::CoronerConfig::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::apps::zeromq::protobuf::CoronerConfig::clear_report_file
void clear_report_file()
Definition: coroner_config.pb.h:584
goby::apps::zeromq::protobuf::CoronerConfig::mutable_report_file
::std::string * mutable_report_file()
Definition: coroner_config.pb.h:617
goby::apps::zeromq::protobuf::CoronerConfig::add_expected_name
::std::string * add_expected_name()
Definition: coroner_config.pb.h:468
goby::apps::zeromq::protobuf::CoronerConfig::mutable_interprocess
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Definition: coroner_config.pb.h:405
goby::apps::zeromq::protobuf::CoronerConfig::kAutoAddNewAppsFieldNumber
static const int kAutoAddNewAppsFieldNumber
Definition: coroner_config.pb.h:239
goby::apps::zeromq::protobuf::CoronerConfig::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::apps::zeromq::protobuf::CoronerConfig::clear_request_interval
void clear_request_interval()
Definition: coroner_config.pb.h:512
jwt::json::type
type
Generic JSON types used in JWTs.
Definition: jwt.h:2071
goby::apps::zeromq::protobuf::CoronerConfig
Definition: coroner_config.pb.h:81
goby::apps::zeromq::protobuf::CoronerConfig::mutable_expected_name
::google::protobuf::RepeatedPtrField< ::std::string > * mutable_expected_name()
Definition: coroner_config.pb.h:497
google::protobuf::Metadata
Definition: message.h:174
protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto::TableStruct
Definition: coroner_config.pb.h:48
goby::apps::zeromq::protobuf::CoronerConfig::app
const ::goby::middleware::protobuf::AppConfig & app() const
Definition: coroner_config.pb.h:338
goby::apps::zeromq::protobuf::CoronerConfig::request_interval
float request_interval() const
Definition: coroner_config.pb.h:516
google::protobuf::Message
Definition: message.h:189
protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: coroner_config.pb.h:49
goby::apps::zeromq::protobuf::CoronerConfig::set_response_timeout_with_units
void set_response_timeout_with_units(Quantity value_w_units)
Definition: coroner_config.pb.h:277
goby::apps::zeromq::protobuf::CoronerConfig::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: coroner_config.pb.h:122
goby::apps::zeromq::protobuf::CoronerConfig::request_interval_dimension
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type request_interval_dimension
Definition: coroner_config.pb.h:257
goby::apps::zeromq::protobuf::CoronerConfig::mutable_app
::goby::middleware::protobuf::AppConfig * mutable_app()
Definition: coroner_config.pb.h:351
goby::apps::zeromq::protobuf::CoronerConfig::clear_interprocess
void clear_interprocess()
goby::middleware::protobuf::_AppConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
goby::apps::zeromq::protobuf::CoronerConfig::kResponseTimeoutFieldNumber
static const int kResponseTimeoutFieldNumber
Definition: coroner_config.pb.h:253
protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: coroner_config.pb.h:54
arena.h
goby::apps::zeromq::protobuf::CoronerConfig::set_expected_name
void set_expected_name(int index, const ::std::string &value)
Definition: coroner_config.pb.h:448
goby::apps::zeromq::protobuf::CoronerConfig::InitAsDefaultInstance
static void InitAsDefaultInstance()
option_extensions.pb.h
goby::apps::zeromq::protobuf::CoronerConfig::expected_name
const ::google::protobuf::RepeatedPtrField< ::std::string > & expected_name() const
Definition: coroner_config.pb.h:492
goby::apps::zeromq::protobuf::CoronerConfig::expected_name_size
int expected_name_size() const
Definition: coroner_config.pb.h:434
goby::apps::zeromq::protobuf::CoronerConfig::~CoronerConfig
virtual ~CoronerConfig()
goby::apps::zeromq::protobuf::CoronerConfig::ByteSizeLong
size_t ByteSizeLong() const final
goby::apps::zeromq::protobuf::CoronerConfig::report_file
const ::std::string & report_file() const
Definition: coroner_config.pb.h:588
goby::apps::zeromq::protobuf::CoronerConfig::Clear
void Clear() final
app_config.pb.h
goby::apps::zeromq::protobuf::CoronerConfig::clear_expected_name
void clear_expected_name()
Definition: coroner_config.pb.h:437
goby::apps::zeromq::protobuf::CoronerConfig::New
CoronerConfig * New(::google::protobuf::Arena *arena) const final
Definition: coroner_config.pb.h:136
goby::apps::zeromq::protobuf::CoronerConfig::set_allocated_app
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition: coroner_config.pb.h:360
goby::apps::zeromq::protobuf::CoronerConfig::clear_auto_add_new_apps
void clear_auto_add_new_apps()
Definition: coroner_config.pb.h:560
goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
goby::apps::zeromq::protobuf::CoronerConfig::internal_default_instance
static const CoronerConfig * internal_default_instance()
Definition: coroner_config.pb.h:118
goby::apps::zeromq::protobuf::CoronerConfig::clear_app
void clear_app()
google
Definition: dccl.h:57
protobuf_goby_2fzeromq_2fprotobuf_2fcoroner_5fconfig_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: coroner_config.pb.h:51
goby::apps::zeromq::protobuf::_CoronerConfig_default_instance_
CoronerConfigDefaultTypeInternal _CoronerConfig_default_instance_
goby::apps::zeromq::protobuf::CoronerConfig::response_timeout_unit
boost::units::unit< response_timeout_dimension, boost::units::si::system > response_timeout_unit
Definition: coroner_config.pb.h:274
goby::apps::zeromq::protobuf::CoronerConfig::set_report_file
void set_report_file(const ::std::string &value)
Definition: coroner_config.pb.h:592
goby::apps::zeromq::protobuf::CoronerConfig::set_allocated_interprocess
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition: coroner_config.pb.h:414