JaiaBot  1.19.0
JaiaBot micro-AUV software
config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: bin/failure_reporter/config.proto
3 
4 #ifndef PROTOBUF_INCLUDED_bin_2ffailure_5freporter_2fconfig_2eproto
5 #define PROTOBUF_INCLUDED_bin_2ffailure_5freporter_2fconfig_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>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "goby/middleware/protobuf/app_config.pb.h"
35 #include "goby/zeromq/protobuf/interprocess_config.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 // @@protoc_insertion_point(includes)
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_bin_2ffailure_5freporter_2fconfig_2eproto
43 
45 // Internal implementation detail -- do not use these members.
46 struct TableStruct {
47  static const ::google::protobuf::internal::ParseTableField entries[];
48  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
49  static const ::google::protobuf::internal::ParseTable schema[1];
50  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
51  static const ::google::protobuf::internal::SerializationTable serialization_table[];
52  static const ::google::protobuf::uint32 offsets[];
53 };
54 void AddDescriptors();
55 } // namespace protobuf_bin_2ffailure_5freporter_2fconfig_2eproto
56 namespace jaiabot {
57 namespace config {
58 class FailureReporter;
59 class FailureReporterDefaultTypeInternal;
60 extern FailureReporterDefaultTypeInternal _FailureReporter_default_instance_;
61 } // namespace config
62 } // namespace jaiabot
63 namespace google {
64 namespace protobuf {
65 template<> ::jaiabot::config::FailureReporter* Arena::CreateMaybeMessage<::jaiabot::config::FailureReporter>(Arena*);
66 } // namespace protobuf
67 } // namespace google
68 namespace jaiabot {
69 namespace config {
70 
74 };
75 bool FailureReporter_State_IsValid(int value);
79 
80 const ::google::protobuf::EnumDescriptor* FailureReporter_State_descriptor();
81 inline const ::std::string& FailureReporter_State_Name(FailureReporter_State value) {
82  return ::google::protobuf::internal::NameOfEnum(
84 }
86  const ::std::string& name, FailureReporter_State* value) {
87  return ::google::protobuf::internal::ParseNamedEnum<FailureReporter_State>(
88  FailureReporter_State_descriptor(), name, value);
89 }
90 // ===================================================================
91 
92 class FailureReporter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.FailureReporter) */ {
93  public:
95  virtual ~FailureReporter();
96 
97  FailureReporter(const FailureReporter& from);
98 
99  inline FailureReporter& operator=(const FailureReporter& from) {
100  CopyFrom(from);
101  return *this;
102  }
103  #if LANG_CXX11
104  FailureReporter(FailureReporter&& from) noexcept
105  : FailureReporter() {
106  *this = ::std::move(from);
107  }
108 
109  inline FailureReporter& operator=(FailureReporter&& from) noexcept {
110  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
111  if (this != &from) InternalSwap(&from);
112  } else {
113  CopyFrom(from);
114  }
115  return *this;
116  }
117  #endif
118  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
119  return _internal_metadata_.unknown_fields();
120  }
121  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
122  return _internal_metadata_.mutable_unknown_fields();
123  }
124 
125  static const ::google::protobuf::Descriptor* descriptor();
126  static const FailureReporter& default_instance();
127 
128  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
130  return reinterpret_cast<const FailureReporter*>(
132  }
133  static constexpr int kIndexInFileMessages =
134  0;
135 
136  void Swap(FailureReporter* other);
137  friend void swap(FailureReporter& a, FailureReporter& b) {
138  a.Swap(&b);
139  }
140 
141  // implements Message ----------------------------------------------
142 
143  inline FailureReporter* New() const final {
144  return CreateMaybeMessage<FailureReporter>(NULL);
145  }
146 
147  FailureReporter* New(::google::protobuf::Arena* arena) const final {
148  return CreateMaybeMessage<FailureReporter>(arena);
149  }
150  void CopyFrom(const ::google::protobuf::Message& from) final;
151  void MergeFrom(const ::google::protobuf::Message& from) final;
152  void CopyFrom(const FailureReporter& from);
153  void MergeFrom(const FailureReporter& from);
154  void Clear() final;
155  bool IsInitialized() const final;
156 
157  size_t ByteSizeLong() const final;
159  ::google::protobuf::io::CodedInputStream* input) final;
161  ::google::protobuf::io::CodedOutputStream* output) const final;
163  bool deterministic, ::google::protobuf::uint8* target) const final;
164  int GetCachedSize() const final { return _cached_size_.Get(); }
165 
166  private:
167  void SharedCtor();
168  void SharedDtor();
169  void SetCachedSize(int size) const final;
170  void InternalSwap(FailureReporter* other);
171  private:
172  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
173  return NULL;
174  }
175  inline void* MaybeArenaPtr() const {
176  return NULL;
177  }
178  public:
179 
180  ::google::protobuf::Metadata GetMetadata() const final;
181 
182  // nested types ----------------------------------------------------
183 
185  static const State START =
187  static const State STOP =
189  static inline bool State_IsValid(int value) {
190  return FailureReporter_State_IsValid(value);
191  }
192  static const State State_MIN =
194  static const State State_MAX =
196  static const int State_ARRAYSIZE =
198  static inline const ::google::protobuf::EnumDescriptor*
201  }
202  static inline const ::std::string& State_Name(State value) {
203  return FailureReporter_State_Name(value);
204  }
205  static inline bool State_Parse(const ::std::string& name,
206  State* value) {
207  return FailureReporter_State_Parse(name, value);
208  }
209 
210  // accessors -------------------------------------------------------
211 
212  // required string log_dir = 9;
213  bool has_log_dir() const;
214  void clear_log_dir();
215  static const int kLogDirFieldNumber = 9;
216  const ::std::string& log_dir() const;
217  void set_log_dir(const ::std::string& value);
218  #if LANG_CXX11
219  void set_log_dir(::std::string&& value);
220  #endif
221  void set_log_dir(const char* value);
222  void set_log_dir(const char* value, size_t size);
223  ::std::string* mutable_log_dir();
224  ::std::string* release_log_dir();
225  void set_allocated_log_dir(::std::string* log_dir);
226 
227  // required string service_name = 12;
228  bool has_service_name() const;
229  void clear_service_name();
230  static const int kServiceNameFieldNumber = 12;
231  const ::std::string& service_name() const;
232  void set_service_name(const ::std::string& value);
233  #if LANG_CXX11
234  void set_service_name(::std::string&& value);
235  #endif
236  void set_service_name(const char* value);
237  void set_service_name(const char* value, size_t size);
238  ::std::string* mutable_service_name();
239  ::std::string* release_service_name();
240  void set_allocated_service_name(::std::string* service_name);
241 
242  // optional string service_result = 13;
243  bool has_service_result() const;
244  void clear_service_result();
245  static const int kServiceResultFieldNumber = 13;
246  const ::std::string& service_result() const;
247  void set_service_result(const ::std::string& value);
248  #if LANG_CXX11
249  void set_service_result(::std::string&& value);
250  #endif
251  void set_service_result(const char* value);
252  void set_service_result(const char* value, size_t size);
253  ::std::string* mutable_service_result();
254  ::std::string* release_service_result();
255  void set_allocated_service_result(::std::string* service_result);
256 
257  // optional .goby.middleware.protobuf.AppConfig app = 1;
258  bool has_app() const;
259  void clear_app();
260  static const int kAppFieldNumber = 1;
261  private:
262  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
263  public:
264  const ::goby::middleware::protobuf::AppConfig& app() const;
265  ::goby::middleware::protobuf::AppConfig* release_app();
266  ::goby::middleware::protobuf::AppConfig* mutable_app();
267  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
268 
269  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
270  bool has_interprocess() const;
271  void clear_interprocess();
272  static const int kInterprocessFieldNumber = 2;
273  private:
274  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
275  public:
276  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
277  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
278  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
279  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
280 
281  // required .jaiabot.protobuf.Error error_code = 11;
282  bool has_error_code() const;
283  void clear_error_code();
284  static const int kErrorCodeFieldNumber = 11;
287 
288  // required .jaiabot.config.FailureReporter.State state = 10;
289  bool has_state() const;
290  void clear_state();
291  static const int kStateFieldNumber = 10;
294 
295  // optional int32 num_attempts = 14 [default = 5];
296  bool has_num_attempts() const;
297  void clear_num_attempts();
298  static const int kNumAttemptsFieldNumber = 14;
299  ::google::protobuf::int32 num_attempts() const;
300  void set_num_attempts(::google::protobuf::int32 value);
301 
302  // @@protoc_insertion_point(class_scope:jaiabot.config.FailureReporter)
303  private:
304  void set_has_app();
305  void clear_has_app();
306  void set_has_interprocess();
307  void clear_has_interprocess();
308  void set_has_log_dir();
309  void clear_has_log_dir();
310  void set_has_state();
311  void clear_has_state();
312  void set_has_error_code();
313  void clear_has_error_code();
314  void set_has_service_name();
315  void clear_has_service_name();
316  void set_has_service_result();
317  void clear_has_service_result();
318  void set_has_num_attempts();
319  void clear_has_num_attempts();
320 
321  // helper for ByteSizeLong()
322  size_t RequiredFieldsByteSizeFallback() const;
323 
324  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
325  ::google::protobuf::internal::HasBits<1> _has_bits_;
326  mutable ::google::protobuf::internal::CachedSize _cached_size_;
327  ::google::protobuf::internal::ArenaStringPtr log_dir_;
328  ::google::protobuf::internal::ArenaStringPtr service_name_;
329  ::google::protobuf::internal::ArenaStringPtr service_result_;
330  ::goby::middleware::protobuf::AppConfig* app_;
331  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
332  int error_code_;
333  int state_;
334  ::google::protobuf::int32 num_attempts_;
335  friend struct ::protobuf_bin_2ffailure_5freporter_2fconfig_2eproto::TableStruct;
336 };
337 // ===================================================================
338 
339 
340 // ===================================================================
341 
342 #ifdef __GNUC__
343  #pragma GCC diagnostic push
344  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
345 #endif // __GNUC__
346 // FailureReporter
347 
348 // optional .goby.middleware.protobuf.AppConfig app = 1;
349 inline bool FailureReporter::has_app() const {
350  return (_has_bits_[0] & 0x00000008u) != 0;
351 }
352 inline void FailureReporter::set_has_app() {
353  _has_bits_[0] |= 0x00000008u;
354 }
355 inline void FailureReporter::clear_has_app() {
356  _has_bits_[0] &= ~0x00000008u;
357 }
358 inline const ::goby::middleware::protobuf::AppConfig& FailureReporter::_internal_app() const {
359  return *app_;
360 }
361 inline const ::goby::middleware::protobuf::AppConfig& FailureReporter::app() const {
362  const ::goby::middleware::protobuf::AppConfig* p = app_;
363  // @@protoc_insertion_point(field_get:jaiabot.config.FailureReporter.app)
364  return p != NULL ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
365  &::goby::middleware::protobuf::_AppConfig_default_instance_);
366 }
367 inline ::goby::middleware::protobuf::AppConfig* FailureReporter::release_app() {
368  // @@protoc_insertion_point(field_release:jaiabot.config.FailureReporter.app)
369  clear_has_app();
370  ::goby::middleware::protobuf::AppConfig* temp = app_;
371  app_ = NULL;
372  return temp;
373 }
374 inline ::goby::middleware::protobuf::AppConfig* FailureReporter::mutable_app() {
375  set_has_app();
376  if (app_ == NULL) {
377  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
378  app_ = p;
379  }
380  // @@protoc_insertion_point(field_mutable:jaiabot.config.FailureReporter.app)
381  return app_;
382 }
383 inline void FailureReporter::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
384  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
385  if (message_arena == NULL) {
386  delete reinterpret_cast< ::google::protobuf::MessageLite*>(app_);
387  }
388  if (app) {
389  ::google::protobuf::Arena* submessage_arena = NULL;
390  if (message_arena != submessage_arena) {
391  app = ::google::protobuf::internal::GetOwnedMessage(
392  message_arena, app, submessage_arena);
393  }
394  set_has_app();
395  } else {
396  clear_has_app();
397  }
398  app_ = app;
399  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.FailureReporter.app)
400 }
401 
402 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
404  return (_has_bits_[0] & 0x00000010u) != 0;
405 }
406 inline void FailureReporter::set_has_interprocess() {
407  _has_bits_[0] |= 0x00000010u;
408 }
409 inline void FailureReporter::clear_has_interprocess() {
410  _has_bits_[0] &= ~0x00000010u;
411 }
412 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FailureReporter::_internal_interprocess() const {
413  return *interprocess_;
414 }
415 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FailureReporter::interprocess() const {
416  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
417  // @@protoc_insertion_point(field_get:jaiabot.config.FailureReporter.interprocess)
418  return p != NULL ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
419  &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
420 }
421 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FailureReporter::release_interprocess() {
422  // @@protoc_insertion_point(field_release:jaiabot.config.FailureReporter.interprocess)
423  clear_has_interprocess();
424  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
425  interprocess_ = NULL;
426  return temp;
427 }
428 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FailureReporter::mutable_interprocess() {
429  set_has_interprocess();
430  if (interprocess_ == NULL) {
431  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
432  interprocess_ = p;
433  }
434  // @@protoc_insertion_point(field_mutable:jaiabot.config.FailureReporter.interprocess)
435  return interprocess_;
436 }
437 inline void FailureReporter::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
438  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
439  if (message_arena == NULL) {
440  delete reinterpret_cast< ::google::protobuf::MessageLite*>(interprocess_);
441  }
442  if (interprocess) {
443  ::google::protobuf::Arena* submessage_arena = NULL;
444  if (message_arena != submessage_arena) {
445  interprocess = ::google::protobuf::internal::GetOwnedMessage(
446  message_arena, interprocess, submessage_arena);
447  }
448  set_has_interprocess();
449  } else {
450  clear_has_interprocess();
451  }
452  interprocess_ = interprocess;
453  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.FailureReporter.interprocess)
454 }
455 
456 // required string log_dir = 9;
457 inline bool FailureReporter::has_log_dir() const {
458  return (_has_bits_[0] & 0x00000001u) != 0;
459 }
460 inline void FailureReporter::set_has_log_dir() {
461  _has_bits_[0] |= 0x00000001u;
462 }
463 inline void FailureReporter::clear_has_log_dir() {
464  _has_bits_[0] &= ~0x00000001u;
465 }
467  log_dir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
468  clear_has_log_dir();
469 }
470 inline const ::std::string& FailureReporter::log_dir() const {
471  // @@protoc_insertion_point(field_get:jaiabot.config.FailureReporter.log_dir)
472  return log_dir_.GetNoArena();
473 }
474 inline void FailureReporter::set_log_dir(const ::std::string& value) {
475  set_has_log_dir();
476  log_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
477  // @@protoc_insertion_point(field_set:jaiabot.config.FailureReporter.log_dir)
478 }
479 #if LANG_CXX11
480 inline void FailureReporter::set_log_dir(::std::string&& value) {
481  set_has_log_dir();
482  log_dir_.SetNoArena(
483  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
484  // @@protoc_insertion_point(field_set_rvalue:jaiabot.config.FailureReporter.log_dir)
485 }
486 #endif
487 inline void FailureReporter::set_log_dir(const char* value) {
488  GOOGLE_DCHECK(value != NULL);
489  set_has_log_dir();
490  log_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
491  // @@protoc_insertion_point(field_set_char:jaiabot.config.FailureReporter.log_dir)
492 }
493 inline void FailureReporter::set_log_dir(const char* value, size_t size) {
494  set_has_log_dir();
495  log_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
496  ::std::string(reinterpret_cast<const char*>(value), size));
497  // @@protoc_insertion_point(field_set_pointer:jaiabot.config.FailureReporter.log_dir)
498 }
499 inline ::std::string* FailureReporter::mutable_log_dir() {
500  set_has_log_dir();
501  // @@protoc_insertion_point(field_mutable:jaiabot.config.FailureReporter.log_dir)
502  return log_dir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
503 }
504 inline ::std::string* FailureReporter::release_log_dir() {
505  // @@protoc_insertion_point(field_release:jaiabot.config.FailureReporter.log_dir)
506  if (!has_log_dir()) {
507  return NULL;
508  }
509  clear_has_log_dir();
510  return log_dir_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
511 }
512 inline void FailureReporter::set_allocated_log_dir(::std::string* log_dir) {
513  if (log_dir != NULL) {
514  set_has_log_dir();
515  } else {
516  clear_has_log_dir();
517  }
518  log_dir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), log_dir);
519  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.FailureReporter.log_dir)
520 }
521 
522 // required .jaiabot.config.FailureReporter.State state = 10;
523 inline bool FailureReporter::has_state() const {
524  return (_has_bits_[0] & 0x00000040u) != 0;
525 }
526 inline void FailureReporter::set_has_state() {
527  _has_bits_[0] |= 0x00000040u;
528 }
529 inline void FailureReporter::clear_has_state() {
530  _has_bits_[0] &= ~0x00000040u;
531 }
533  state_ = 1;
534  clear_has_state();
535 }
537  // @@protoc_insertion_point(field_get:jaiabot.config.FailureReporter.state)
538  return static_cast< ::jaiabot::config::FailureReporter_State >(state_);
539 }
542  set_has_state();
543  state_ = value;
544  // @@protoc_insertion_point(field_set:jaiabot.config.FailureReporter.state)
545 }
546 
547 // required .jaiabot.protobuf.Error error_code = 11;
548 inline bool FailureReporter::has_error_code() const {
549  return (_has_bits_[0] & 0x00000020u) != 0;
550 }
551 inline void FailureReporter::set_has_error_code() {
552  _has_bits_[0] |= 0x00000020u;
553 }
554 inline void FailureReporter::clear_has_error_code() {
555  _has_bits_[0] &= ~0x00000020u;
556 }
558  error_code_ = 0;
559  clear_has_error_code();
560 }
562  // @@protoc_insertion_point(field_get:jaiabot.config.FailureReporter.error_code)
563  return static_cast< ::jaiabot::protobuf::Error >(error_code_);
564 }
566  assert(::jaiabot::protobuf::Error_IsValid(value));
567  set_has_error_code();
568  error_code_ = value;
569  // @@protoc_insertion_point(field_set:jaiabot.config.FailureReporter.error_code)
570 }
571 
572 // required string service_name = 12;
574  return (_has_bits_[0] & 0x00000002u) != 0;
575 }
576 inline void FailureReporter::set_has_service_name() {
577  _has_bits_[0] |= 0x00000002u;
578 }
579 inline void FailureReporter::clear_has_service_name() {
580  _has_bits_[0] &= ~0x00000002u;
581 }
583  service_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
584  clear_has_service_name();
585 }
586 inline const ::std::string& FailureReporter::service_name() const {
587  // @@protoc_insertion_point(field_get:jaiabot.config.FailureReporter.service_name)
588  return service_name_.GetNoArena();
589 }
590 inline void FailureReporter::set_service_name(const ::std::string& value) {
591  set_has_service_name();
592  service_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
593  // @@protoc_insertion_point(field_set:jaiabot.config.FailureReporter.service_name)
594 }
595 #if LANG_CXX11
596 inline void FailureReporter::set_service_name(::std::string&& value) {
597  set_has_service_name();
598  service_name_.SetNoArena(
599  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
600  // @@protoc_insertion_point(field_set_rvalue:jaiabot.config.FailureReporter.service_name)
601 }
602 #endif
603 inline void FailureReporter::set_service_name(const char* value) {
604  GOOGLE_DCHECK(value != NULL);
605  set_has_service_name();
606  service_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
607  // @@protoc_insertion_point(field_set_char:jaiabot.config.FailureReporter.service_name)
608 }
609 inline void FailureReporter::set_service_name(const char* value, size_t size) {
610  set_has_service_name();
611  service_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
612  ::std::string(reinterpret_cast<const char*>(value), size));
613  // @@protoc_insertion_point(field_set_pointer:jaiabot.config.FailureReporter.service_name)
614 }
615 inline ::std::string* FailureReporter::mutable_service_name() {
616  set_has_service_name();
617  // @@protoc_insertion_point(field_mutable:jaiabot.config.FailureReporter.service_name)
618  return service_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
619 }
620 inline ::std::string* FailureReporter::release_service_name() {
621  // @@protoc_insertion_point(field_release:jaiabot.config.FailureReporter.service_name)
622  if (!has_service_name()) {
623  return NULL;
624  }
625  clear_has_service_name();
626  return service_name_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
627 }
628 inline void FailureReporter::set_allocated_service_name(::std::string* service_name) {
629  if (service_name != NULL) {
630  set_has_service_name();
631  } else {
632  clear_has_service_name();
633  }
634  service_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), service_name);
635  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.FailureReporter.service_name)
636 }
637 
638 // optional string service_result = 13;
640  return (_has_bits_[0] & 0x00000004u) != 0;
641 }
642 inline void FailureReporter::set_has_service_result() {
643  _has_bits_[0] |= 0x00000004u;
644 }
645 inline void FailureReporter::clear_has_service_result() {
646  _has_bits_[0] &= ~0x00000004u;
647 }
649  service_result_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
650  clear_has_service_result();
651 }
652 inline const ::std::string& FailureReporter::service_result() const {
653  // @@protoc_insertion_point(field_get:jaiabot.config.FailureReporter.service_result)
654  return service_result_.GetNoArena();
655 }
656 inline void FailureReporter::set_service_result(const ::std::string& value) {
657  set_has_service_result();
658  service_result_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
659  // @@protoc_insertion_point(field_set:jaiabot.config.FailureReporter.service_result)
660 }
661 #if LANG_CXX11
662 inline void FailureReporter::set_service_result(::std::string&& value) {
663  set_has_service_result();
664  service_result_.SetNoArena(
665  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
666  // @@protoc_insertion_point(field_set_rvalue:jaiabot.config.FailureReporter.service_result)
667 }
668 #endif
669 inline void FailureReporter::set_service_result(const char* value) {
670  GOOGLE_DCHECK(value != NULL);
671  set_has_service_result();
672  service_result_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
673  // @@protoc_insertion_point(field_set_char:jaiabot.config.FailureReporter.service_result)
674 }
675 inline void FailureReporter::set_service_result(const char* value, size_t size) {
676  set_has_service_result();
677  service_result_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
678  ::std::string(reinterpret_cast<const char*>(value), size));
679  // @@protoc_insertion_point(field_set_pointer:jaiabot.config.FailureReporter.service_result)
680 }
682  set_has_service_result();
683  // @@protoc_insertion_point(field_mutable:jaiabot.config.FailureReporter.service_result)
684  return service_result_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
685 }
687  // @@protoc_insertion_point(field_release:jaiabot.config.FailureReporter.service_result)
688  if (!has_service_result()) {
689  return NULL;
690  }
691  clear_has_service_result();
692  return service_result_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
693 }
694 inline void FailureReporter::set_allocated_service_result(::std::string* service_result) {
695  if (service_result != NULL) {
696  set_has_service_result();
697  } else {
698  clear_has_service_result();
699  }
700  service_result_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), service_result);
701  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.FailureReporter.service_result)
702 }
703 
704 // optional int32 num_attempts = 14 [default = 5];
706  return (_has_bits_[0] & 0x00000080u) != 0;
707 }
708 inline void FailureReporter::set_has_num_attempts() {
709  _has_bits_[0] |= 0x00000080u;
710 }
711 inline void FailureReporter::clear_has_num_attempts() {
712  _has_bits_[0] &= ~0x00000080u;
713 }
715  num_attempts_ = 5;
716  clear_has_num_attempts();
717 }
718 inline ::google::protobuf::int32 FailureReporter::num_attempts() const {
719  // @@protoc_insertion_point(field_get:jaiabot.config.FailureReporter.num_attempts)
720  return num_attempts_;
721 }
722 inline void FailureReporter::set_num_attempts(::google::protobuf::int32 value) {
723  set_has_num_attempts();
724  num_attempts_ = value;
725  // @@protoc_insertion_point(field_set:jaiabot.config.FailureReporter.num_attempts)
726 }
727 
728 #ifdef __GNUC__
729  #pragma GCC diagnostic pop
730 #endif // __GNUC__
731 
732 // @@protoc_insertion_point(namespace_scope)
733 
734 } // namespace config
735 } // namespace jaiabot
736 
737 namespace google {
738 namespace protobuf {
739 
740 template <> struct is_proto_enum< ::jaiabot::config::FailureReporter_State> : ::std::true_type {};
741 template <>
742 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::config::FailureReporter_State>() {
744 }
745 
746 } // namespace protobuf
747 } // namespace google
748 
749 // @@protoc_insertion_point(global_scope)
750 
751 #endif // PROTOBUF_INCLUDED_bin_2ffailure_5freporter_2fconfig_2eproto
jaiabot::config::FailureReporter::kServiceResultFieldNumber
static const int kServiceResultFieldNumber
Definition: config.pb.h:245
jaiabot::config::FailureReporter::clear_log_dir
void clear_log_dir()
Definition: config.pb.h:466
jaiabot::config::FailureReporter::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
jaiabot::config::_FailureReporter_default_instance_
FailureReporterDefaultTypeInternal _FailureReporter_default_instance_
jaiabot::config::FailureReporter::state
::jaiabot::config::FailureReporter_State state() const
Definition: config.pb.h:536
jaiabot::config::FailureReporter_State_Name
const ::std::string & FailureReporter_State_Name(FailureReporter_State value)
Definition: config.pb.h:81
jaiabot::config::FailureReporter::num_attempts
::google::protobuf::int32 num_attempts() const
Definition: config.pb.h:718
jaiabot::config::FailureReporter::interprocess
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Definition: config.pb.h:415
jaiabot::config::FailureReporter::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
protobuf_bin_2ffailure_5freporter_2fconfig_2eproto::TableStruct
Definition: config.pb.h:46
jaiabot::config::FailureReporter::State_IsValid
static bool State_IsValid(int value)
Definition: config.pb.h:189
jaiabot::config::FailureReporter::ByteSizeLong
size_t ByteSizeLong() const final
jaiabot::config::FailureReporter::release_service_result
::std::string * release_service_result()
Definition: config.pb.h:686
jaiabot::config::FailureReporter::set_allocated_interprocess
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition: config.pb.h:437
jaiabot::config::FailureReporter::set_num_attempts
void set_num_attempts(::google::protobuf::int32 value)
Definition: config.pb.h:722
jaiabot::config::FailureReporter::FailureReporter
FailureReporter()
jaiabot::config::FailureReporter::InitAsDefaultInstance
static void InitAsDefaultInstance()
protobuf_bin_2ffailure_5freporter_2fconfig_2eproto
Definition: config.pb.h:44
jaiabot::config::FailureReporter::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
protobuf_bin_2ffailure_5freporter_2fconfig_2eproto::AddDescriptors
void AddDescriptors()
jaiabot::config::FailureReporter_State_Parse
bool FailureReporter_State_Parse(const ::std::string &name, FailureReporter_State *value)
Definition: config.pb.h:85
protobuf_bin_2ffailure_5freporter_2fconfig_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: config.pb.h:49
jaiabot::config::FailureReporter::app
const ::goby::middleware::protobuf::AppConfig & app() const
Definition: config.pb.h:361
jaiabot::config::FailureReporter_State_State_MIN
const FailureReporter_State FailureReporter_State_State_MIN
Definition: config.pb.h:76
jaiabot::config::FailureReporter::swap
friend void swap(FailureReporter &a, FailureReporter &b)
Definition: config.pb.h:137
jaiabot::config::FailureReporter_State_State_ARRAYSIZE
const int FailureReporter_State_State_ARRAYSIZE
Definition: config.pb.h:78
jaiabot::config::FailureReporter::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: config.pb.h:118
jaiabot::config::FailureReporter::clear_service_name
void clear_service_name()
Definition: config.pb.h:582
jaiabot::config::FailureReporter::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
jaiabot::config::FailureReporter::has_service_result
bool has_service_result() const
Definition: config.pb.h:639
jaiabot::config::FailureReporter::set_error_code
void set_error_code(::jaiabot::protobuf::Error value)
Definition: config.pb.h:565
jaiabot::config::FailureReporter::kInterprocessFieldNumber
static const int kInterprocessFieldNumber
Definition: config.pb.h:272
jaiabot::config::FailureReporter::kAppFieldNumber
static const int kAppFieldNumber
Definition: config.pb.h:260
jaiabot::config::FailureReporter::set_allocated_service_result
void set_allocated_service_result(::std::string *service_result)
Definition: config.pb.h:694
jaiabot::config::FailureReporter::set_allocated_app
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition: config.pb.h:383
jaiabot::config::FailureReporter::State_MAX
static const State State_MAX
Definition: config.pb.h:194
jaiabot::config::FailureReporter::GetCachedSize
int GetCachedSize() const final
Definition: config.pb.h:164
jaiabot::config::FailureReporter::~FailureReporter
virtual ~FailureReporter()
jaiabot::udp::protobuf::config
extern ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::google::protobuf::internal::MessageTypeTraits< ::jaiabot::udp::protobuf::Config >, 11, false > config
Definition: udp_driver.pb.h:566
jaiabot::protobuf::Error_IsValid
bool Error_IsValid(int value)
jaiabot::config::FailureReporter::error_code
::jaiabot::protobuf::Error error_code() const
Definition: config.pb.h:561
jaiabot::config::FailureReporter::State_descriptor
static const ::google::protobuf::EnumDescriptor * State_descriptor()
Definition: config.pb.h:199
jaiabot::config::FailureReporter_State_IsValid
bool FailureReporter_State_IsValid(int value)
jaiabot::config::FailureReporter::START
static const State START
Definition: config.pb.h:185
jaiabot::config::FailureReporter
Definition: config.pb.h:92
jaiabot::config::FailureReporter::descriptor
static const ::google::protobuf::Descriptor * descriptor()
jaiabot::config::FailureReporter::State_MIN
static const State State_MIN
Definition: config.pb.h:192
jaiabot::config::FailureReporter::release_service_name
::std::string * release_service_name()
Definition: config.pb.h:620
jaiabot::config::FailureReporter_State
FailureReporter_State
Definition: config.pb.h:71
jaiabot::config::FailureReporter::has_interprocess
bool has_interprocess() const
Definition: config.pb.h:403
jaiabot::config::FailureReporter::clear_num_attempts
void clear_num_attempts()
Definition: config.pb.h:714
jaiabot::config::FailureReporter::release_log_dir
::std::string * release_log_dir()
Definition: config.pb.h:504
jaiabot::config::FailureReporter::has_service_name
bool has_service_name() const
Definition: config.pb.h:573
jaiabot::config::FailureReporter::mutable_service_result
::std::string * mutable_service_result()
Definition: config.pb.h:681
jaiabot::config::FailureReporter::default_instance
static const FailureReporter & default_instance()
jaiabot::config::FailureReporter::kServiceNameFieldNumber
static const int kServiceNameFieldNumber
Definition: config.pb.h:230
jaiabot::config::FailureReporter_State_descriptor
const ::google::protobuf::EnumDescriptor * FailureReporter_State_descriptor()
jaiabot::config::FailureReporter::kStateFieldNumber
static const int kStateFieldNumber
Definition: config.pb.h:291
jaiabot::config::FailureReporter::has_num_attempts
bool has_num_attempts() const
Definition: config.pb.h:705
jaiabot::config::FailureReporter::has_log_dir
bool has_log_dir() const
Definition: config.pb.h:457
jaiabot::config::FailureReporter::set_service_name
void set_service_name(const ::std::string &value)
Definition: config.pb.h:590
jaiabot::config::FailureReporter::log_dir
const ::std::string & log_dir() const
Definition: config.pb.h:470
jaiabot::config::FailureReporter::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
jaiabot::config::FailureReporter::has_error_code
bool has_error_code() const
Definition: config.pb.h:548
jaiabot::config::FailureReporter::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: config.pb.h:133
jaiabot::config::FailureReporter::set_log_dir
void set_log_dir(const ::std::string &value)
Definition: config.pb.h:474
jaiabot::config::FailureReporter::set_allocated_log_dir
void set_allocated_log_dir(::std::string *log_dir)
Definition: config.pb.h:512
protobuf_bin_2ffailure_5freporter_2fconfig_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: config.pb.h:52
jaiabot::config::FailureReporter::mutable_service_name
::std::string * mutable_service_name()
Definition: config.pb.h:615
jaiabot::config::FailureReporter::operator=
FailureReporter & operator=(const FailureReporter &from)
Definition: config.pb.h:99
jaiabot::config::FailureReporter::Swap
void Swap(FailureReporter *other)
jaiabot::config::FailureReporter::State_Name
static const ::std::string & State_Name(State value)
Definition: config.pb.h:202
jaiabot::config::FailureReporter::New
FailureReporter * New(::google::protobuf::Arena *arena) const final
Definition: config.pb.h:147
jaiabot::config::FailureReporter::has_state
bool has_state() const
Definition: config.pb.h:523
jaiabot::protobuf::Error
Error
Definition: health.pb.h:268
jaiabot::config::FailureReporter::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: config.pb.h:121
jaiabot::config::FailureReporter_State_START
@ FailureReporter_State_START
Definition: config.pb.h:72
protobuf_bin_2ffailure_5freporter_2fconfig_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: config.pb.h:50
jaiabot::config::FailureReporter::set_allocated_service_name
void set_allocated_service_name(::std::string *service_name)
Definition: config.pb.h:628
jaiabot::config::FailureReporter::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
jaiabot::config::FailureReporter::mutable_app
::goby::middleware::protobuf::AppConfig * mutable_app()
Definition: config.pb.h:374
jaiabot::config::FailureReporter::IsInitialized
bool IsInitialized() const final
jaiabot::config::FailureReporter::set_state
void set_state(::jaiabot::config::FailureReporter_State value)
Definition: config.pb.h:540
health.pb.h
jaiabot::config::FailureReporter::release_interprocess
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
Definition: config.pb.h:421
jaiabot::config::FailureReporter::service_result
const ::std::string & service_result() const
Definition: config.pb.h:652
jaiabot::config::FailureReporter::Clear
void Clear() final
jaiabot
Definition: config.pb.h:56
protobuf_bin_2ffailure_5freporter_2fconfig_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: config.pb.h:51
jaiabot::config::FailureReporter::clear_app
void clear_app()
jaiabot::config::FailureReporter::State_Parse
static bool State_Parse(const ::std::string &name, State *value)
Definition: config.pb.h:205
jaiabot::config::FailureReporter::kNumAttemptsFieldNumber
static const int kNumAttemptsFieldNumber
Definition: config.pb.h:298
jaiabot::config::FailureReporter::clear_error_code
void clear_error_code()
Definition: config.pb.h:557
jaiabot::config::FailureReporter_State_State_MAX
const FailureReporter_State FailureReporter_State_State_MAX
Definition: config.pb.h:77
jaiabot::config::FailureReporter::kErrorCodeFieldNumber
static const int kErrorCodeFieldNumber
Definition: config.pb.h:284
protobuf_bin_2ffailure_5freporter_2fconfig_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: config.pb.h:47
jaiabot::config::FailureReporter_State_STOP
@ FailureReporter_State_STOP
Definition: config.pb.h:73
protobuf_bin_2ffailure_5freporter_2fconfig_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: config.pb.h:48
jaiabot::config::FailureReporter::mutable_interprocess
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Definition: config.pb.h:428
jaiabot::config::FailureReporter::kLogDirFieldNumber
static const int kLogDirFieldNumber
Definition: config.pb.h:215
jaiabot::config::FailureReporter::New
FailureReporter * New() const final
Definition: config.pb.h:143
jaiabot::config::FailureReporter::clear_interprocess
void clear_interprocess()
jaiabot::config::FailureReporter::release_app
::goby::middleware::protobuf::AppConfig * release_app()
Definition: config.pb.h:367
jaiabot::config::FailureReporter::clear_service_result
void clear_service_result()
Definition: config.pb.h:648
jaiabot::config::FailureReporter::internal_default_instance
static const FailureReporter * internal_default_instance()
Definition: config.pb.h:129
jaiabot::config::FailureReporter::STOP
static const State STOP
Definition: config.pb.h:187
jaiabot::config::FailureReporter::set_service_result
void set_service_result(const ::std::string &value)
Definition: config.pb.h:656
jaiabot::config::FailureReporter::has_app
bool has_app() const
Definition: config.pb.h:349
jaiabot::config::FailureReporter::mutable_log_dir
::std::string * mutable_log_dir()
Definition: config.pb.h:499
jaiabot::config::FailureReporter::service_name
const ::std::string & service_name() const
Definition: config.pb.h:586
jaiabot::config::FailureReporter::clear_state
void clear_state()
Definition: config.pb.h:532
google
Definition: config.pb.h:63
jaiabot::config::FailureReporter::State_ARRAYSIZE
static const int State_ARRAYSIZE
Definition: config.pb.h:196