Goby3  3.1.5
2024.05.14
terminate_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/terminate_config.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fterminate_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fterminate_5fconfig_2eproto
6 
7 #include <limits>
8 #include <string>
9 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.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> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
43 
44 #include <boost/units/systems/si.hpp>
45 // @@protoc_insertion_point(includes)
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fterminate_5fconfig_2eproto
48 PROTOBUF_NAMESPACE_OPEN
49 namespace internal {
50 class AnyMetadata;
51 } // namespace internal
52 PROTOBUF_NAMESPACE_CLOSE
53 
54 // Internal implementation detail -- do not use these members.
56  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
63  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 };
66 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fterminate_5fconfig_2eproto;
67 namespace goby {
68 namespace apps {
69 namespace zeromq {
70 namespace protobuf {
71 class TerminateConfig;
72 class TerminateConfigDefaultTypeInternal;
73 extern TerminateConfigDefaultTypeInternal _TerminateConfig_default_instance_;
74 } // namespace protobuf
75 } // namespace zeromq
76 } // namespace apps
77 } // namespace goby
78 PROTOBUF_NAMESPACE_OPEN
79 template<> ::goby::apps::zeromq::protobuf::TerminateConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::TerminateConfig>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
81 namespace goby {
82 namespace apps {
83 namespace zeromq {
84 namespace protobuf {
85 
86 // ===================================================================
87 
88 class TerminateConfig PROTOBUF_FINAL :
89  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.TerminateConfig) */ {
90  public:
91  inline TerminateConfig() : TerminateConfig(nullptr) {};
92  virtual ~TerminateConfig();
93 
94  TerminateConfig(const TerminateConfig& from);
95  TerminateConfig(TerminateConfig&& from) noexcept
96  : TerminateConfig() {
97  *this = ::std::move(from);
98  }
99 
100  inline TerminateConfig& operator=(const TerminateConfig& from) {
101  CopyFrom(from);
102  return *this;
103  }
104  inline TerminateConfig& operator=(TerminateConfig&& from) noexcept {
105  if (GetArena() == from.GetArena()) {
106  if (this != &from) InternalSwap(&from);
107  } else {
108  CopyFrom(from);
109  }
110  return *this;
111  }
112 
113  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
114  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
115  }
116  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
117  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
118  }
119 
120  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
121  return GetDescriptor();
122  }
123  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
124  return GetMetadataStatic().descriptor;
125  }
126  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
127  return GetMetadataStatic().reflection;
128  }
129  static const TerminateConfig& default_instance();
130 
131  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
132  static inline const TerminateConfig* internal_default_instance() {
133  return reinterpret_cast<const TerminateConfig*>(
135  }
136  static constexpr int kIndexInFileMessages =
137  0;
138 
139  friend void swap(TerminateConfig& a, TerminateConfig& b) {
140  a.Swap(&b);
141  }
142  inline void Swap(TerminateConfig* other) {
143  if (other == this) return;
144  if (GetArena() == other->GetArena()) {
145  InternalSwap(other);
146  } else {
147  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
148  }
149  }
150  void UnsafeArenaSwap(TerminateConfig* other) {
151  if (other == this) return;
152  GOOGLE_DCHECK(GetArena() == other->GetArena());
153  InternalSwap(other);
154  }
155 
156  // implements Message ----------------------------------------------
157 
158  inline TerminateConfig* New() const final {
159  return CreateMaybeMessage<TerminateConfig>(nullptr);
160  }
161 
162  TerminateConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
163  return CreateMaybeMessage<TerminateConfig>(arena);
164  }
165  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
166  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
167  void CopyFrom(const TerminateConfig& from);
168  void MergeFrom(const TerminateConfig& from);
169  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
170  bool IsInitialized() const final;
171 
172  size_t ByteSizeLong() 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(); }
177 
178  private:
179  inline void SharedCtor();
180  inline void SharedDtor();
181  void SetCachedSize(int size) const final;
182  void InternalSwap(TerminateConfig* other);
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "goby.apps.zeromq.protobuf.TerminateConfig";
186  }
187  protected:
188  explicit TerminateConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
189  private:
190  static void ArenaDtor(void* object);
191  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192  public:
193 
194  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
195  private:
196  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
197  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2fzeromq_2fprotobuf_2fterminate_5fconfig_2eproto);
199  }
200 
201  public:
202 
203  // nested types ----------------------------------------------------
204 
205  // accessors -------------------------------------------------------
206 
207  enum : int {
208  kTargetNameFieldNumber = 3,
209  kTargetPidFieldNumber = 4,
210  kAppFieldNumber = 1,
211  kInterprocessFieldNumber = 2,
212  kResponseTimeoutFieldNumber = 5,
213  };
214  // repeated string target_name = 3;
215  int target_name_size() const;
216  private:
217  int _internal_target_name_size() const;
218  public:
220  const std::string& target_name(int index) const;
221  std::string* mutable_target_name(int index);
222  void set_target_name(int index, const std::string& value);
223  void set_target_name(int index, std::string&& value);
224  void set_target_name(int index, const char* value);
225  void set_target_name(int index, const char* value, size_t size);
226  std::string* add_target_name();
227  void add_target_name(const std::string& value);
228  void add_target_name(std::string&& value);
229  void add_target_name(const char* value);
230  void add_target_name(const char* value, size_t size);
231  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& target_name() const;
232  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_target_name();
233  private:
234  const std::string& _internal_target_name(int index) const;
235  std::string* _internal_add_target_name();
236  public:
237 
238  // repeated uint32 target_pid = 4;
239  int target_pid_size() const;
240  private:
241  int _internal_target_pid_size() const;
242  public:
244  private:
245  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_target_pid(int index) const;
246  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
247  _internal_target_pid() const;
248  void _internal_add_target_pid(::PROTOBUF_NAMESPACE_ID::uint32 value);
249  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
250  _internal_mutable_target_pid();
251  public:
255  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
256  target_pid() const;
257  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
259 
260  // optional .goby.middleware.protobuf.AppConfig app = 1;
261  bool has_app() const;
262  private:
263  bool _internal_has_app() const;
264  public:
265  void clear_app();
266  const ::goby::middleware::protobuf::AppConfig& app() const;
267  ::goby::middleware::protobuf::AppConfig* release_app();
268  ::goby::middleware::protobuf::AppConfig* mutable_app();
269  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
270  private:
271  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
272  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
273  public:
275  ::goby::middleware::protobuf::AppConfig* app);
276  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
277 
278  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
279  bool has_interprocess() const;
280  private:
281  bool _internal_has_interprocess() const;
282  public:
284  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
285  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
286  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
287  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
288  private:
289  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
290  ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
291  public:
293  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
294  ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
295 
296  // optional float response_timeout = 5 [default = 10, (.dccl.field) = {
297  bool has_response_timeout() const;
298  private:
299  bool _internal_has_response_timeout() const;
300  public:
302  float response_timeout() const;
303  void set_response_timeout(float value);
304  private:
305  float _internal_response_timeout() const;
306  void _internal_set_response_timeout(float value);
307  public:
308 
310 
311  typedef boost::units::unit<response_timeout_dimension,boost::units::si::system> response_timeout_unit;
312 
313  template<typename Quantity >
314  void set_response_timeout_with_units(Quantity value_w_units)
315  { set_response_timeout(boost::units::quantity<response_timeout_unit,float >(value_w_units).value() ); };
316 
317  template<typename Quantity >
319  { return Quantity(response_timeout() * response_timeout_unit()); };
320 
321  boost::units::quantity< response_timeout_unit,float > response_timeout_with_units() const
322  { return response_timeout_with_units<boost::units::quantity< response_timeout_unit,float > >(); };
323 
324  // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.TerminateConfig)
325  private:
326  class _Internal;
327 
328  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
329  typedef void InternalArenaConstructable_;
330  typedef void DestructorSkippable_;
331  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
332  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
333  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> target_name_;
334  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > target_pid_;
335  ::goby::middleware::protobuf::AppConfig* app_;
336  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
337  float response_timeout_;
338  friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fterminate_5fconfig_2eproto;
339 };
340 // ===================================================================
341 
342 
343 // ===================================================================
344 
345 #ifdef __GNUC__
346  #pragma GCC diagnostic push
347  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
348 #endif // __GNUC__
349 // TerminateConfig
350 
351 // optional .goby.middleware.protobuf.AppConfig app = 1;
352 inline bool TerminateConfig::_internal_has_app() const {
353  bool value = (_has_bits_[0] & 0x00000001u) != 0;
354  PROTOBUF_ASSUME(!value || app_ != nullptr);
355  return value;
356 }
357 inline bool TerminateConfig::has_app() const {
358  return _internal_has_app();
359 }
360 inline const ::goby::middleware::protobuf::AppConfig& TerminateConfig::_internal_app() const {
361  const ::goby::middleware::protobuf::AppConfig* p = app_;
362  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
364 }
365 inline const ::goby::middleware::protobuf::AppConfig& TerminateConfig::app() const {
366  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.TerminateConfig.app)
367  return _internal_app();
368 }
369 inline void TerminateConfig::unsafe_arena_set_allocated_app(
370  ::goby::middleware::protobuf::AppConfig* app) {
371  if (GetArena() == nullptr) {
372  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
373  }
374  app_ = app;
375  if (app) {
376  _has_bits_[0] |= 0x00000001u;
377  } else {
378  _has_bits_[0] &= ~0x00000001u;
379  }
380  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.TerminateConfig.app)
381 }
382 inline ::goby::middleware::protobuf::AppConfig* TerminateConfig::release_app() {
383  auto temp = unsafe_arena_release_app();
384  if (GetArena() != nullptr) {
385  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
386  }
387  return temp;
388 }
389 inline ::goby::middleware::protobuf::AppConfig* TerminateConfig::unsafe_arena_release_app() {
390  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.TerminateConfig.app)
391  _has_bits_[0] &= ~0x00000001u;
392  ::goby::middleware::protobuf::AppConfig* temp = app_;
393  app_ = nullptr;
394  return temp;
395 }
396 inline ::goby::middleware::protobuf::AppConfig* TerminateConfig::_internal_mutable_app() {
397  _has_bits_[0] |= 0x00000001u;
398  if (app_ == nullptr) {
399  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
400  app_ = p;
401  }
402  return app_;
403 }
404 inline ::goby::middleware::protobuf::AppConfig* TerminateConfig::mutable_app() {
405  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.TerminateConfig.app)
406  return _internal_mutable_app();
407 }
408 inline void TerminateConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
409  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
410  if (message_arena == nullptr) {
411  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
412  }
413  if (app) {
414  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
415  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
416  if (message_arena != submessage_arena) {
417  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
418  message_arena, app, submessage_arena);
419  }
420  _has_bits_[0] |= 0x00000001u;
421  } else {
422  _has_bits_[0] &= ~0x00000001u;
423  }
424  app_ = app;
425  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.TerminateConfig.app)
426 }
427 
428 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
429 inline bool TerminateConfig::_internal_has_interprocess() const {
430  bool value = (_has_bits_[0] & 0x00000002u) != 0;
431  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
432  return value;
433 }
434 inline bool TerminateConfig::has_interprocess() const {
435  return _internal_has_interprocess();
436 }
437 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TerminateConfig::_internal_interprocess() const {
438  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
439  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
441 }
442 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TerminateConfig::interprocess() const {
443  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.TerminateConfig.interprocess)
444  return _internal_interprocess();
445 }
446 inline void TerminateConfig::unsafe_arena_set_allocated_interprocess(
447  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
448  if (GetArena() == nullptr) {
449  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
450  }
451  interprocess_ = interprocess;
452  if (interprocess) {
453  _has_bits_[0] |= 0x00000002u;
454  } else {
455  _has_bits_[0] &= ~0x00000002u;
456  }
457  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.TerminateConfig.interprocess)
458 }
459 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TerminateConfig::release_interprocess() {
460  auto temp = unsafe_arena_release_interprocess();
461  if (GetArena() != nullptr) {
462  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
463  }
464  return temp;
465 }
466 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TerminateConfig::unsafe_arena_release_interprocess() {
467  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.TerminateConfig.interprocess)
468  _has_bits_[0] &= ~0x00000002u;
469  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
470  interprocess_ = nullptr;
471  return temp;
472 }
473 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TerminateConfig::_internal_mutable_interprocess() {
474  _has_bits_[0] |= 0x00000002u;
475  if (interprocess_ == nullptr) {
476  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
477  interprocess_ = p;
478  }
479  return interprocess_;
480 }
481 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TerminateConfig::mutable_interprocess() {
482  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.TerminateConfig.interprocess)
483  return _internal_mutable_interprocess();
484 }
485 inline void TerminateConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
486  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
487  if (message_arena == nullptr) {
488  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
489  }
490  if (interprocess) {
491  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
492  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
493  if (message_arena != submessage_arena) {
494  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
495  message_arena, interprocess, submessage_arena);
496  }
497  _has_bits_[0] |= 0x00000002u;
498  } else {
499  _has_bits_[0] &= ~0x00000002u;
500  }
501  interprocess_ = interprocess;
502  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.TerminateConfig.interprocess)
503 }
504 
505 // repeated string target_name = 3;
506 inline int TerminateConfig::_internal_target_name_size() const {
507  return target_name_.size();
508 }
509 inline int TerminateConfig::target_name_size() const {
510  return _internal_target_name_size();
511 }
512 inline void TerminateConfig::clear_target_name() {
513  target_name_.Clear();
514 }
515 inline std::string* TerminateConfig::add_target_name() {
516  // @@protoc_insertion_point(field_add_mutable:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
517  return _internal_add_target_name();
518 }
519 inline const std::string& TerminateConfig::_internal_target_name(int index) const {
520  return target_name_.Get(index);
521 }
522 inline const std::string& TerminateConfig::target_name(int index) const {
523  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
524  return _internal_target_name(index);
525 }
526 inline std::string* TerminateConfig::mutable_target_name(int index) {
527  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
528  return target_name_.Mutable(index);
529 }
530 inline void TerminateConfig::set_target_name(int index, const std::string& value) {
531  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
532  target_name_.Mutable(index)->assign(value);
533 }
534 inline void TerminateConfig::set_target_name(int index, std::string&& value) {
535  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
536  target_name_.Mutable(index)->assign(std::move(value));
537 }
538 inline void TerminateConfig::set_target_name(int index, const char* value) {
539  GOOGLE_DCHECK(value != nullptr);
540  target_name_.Mutable(index)->assign(value);
541  // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
542 }
543 inline void TerminateConfig::set_target_name(int index, const char* value, size_t size) {
544  target_name_.Mutable(index)->assign(
545  reinterpret_cast<const char*>(value), size);
546  // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
547 }
548 inline std::string* TerminateConfig::_internal_add_target_name() {
549  return target_name_.Add();
550 }
551 inline void TerminateConfig::add_target_name(const std::string& value) {
552  target_name_.Add()->assign(value);
553  // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
554 }
555 inline void TerminateConfig::add_target_name(std::string&& value) {
556  target_name_.Add(std::move(value));
557  // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
558 }
559 inline void TerminateConfig::add_target_name(const char* value) {
560  GOOGLE_DCHECK(value != nullptr);
561  target_name_.Add()->assign(value);
562  // @@protoc_insertion_point(field_add_char:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
563 }
564 inline void TerminateConfig::add_target_name(const char* value, size_t size) {
565  target_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
566  // @@protoc_insertion_point(field_add_pointer:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
567 }
568 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
569 TerminateConfig::target_name() const {
570  // @@protoc_insertion_point(field_list:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
571  return target_name_;
572 }
573 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
574 TerminateConfig::mutable_target_name() {
575  // @@protoc_insertion_point(field_mutable_list:goby.apps.zeromq.protobuf.TerminateConfig.target_name)
576  return &target_name_;
577 }
578 
579 // repeated uint32 target_pid = 4;
580 inline int TerminateConfig::_internal_target_pid_size() const {
581  return target_pid_.size();
582 }
583 inline int TerminateConfig::target_pid_size() const {
584  return _internal_target_pid_size();
585 }
586 inline void TerminateConfig::clear_target_pid() {
587  target_pid_.Clear();
588 }
589 inline ::PROTOBUF_NAMESPACE_ID::uint32 TerminateConfig::_internal_target_pid(int index) const {
590  return target_pid_.Get(index);
591 }
592 inline ::PROTOBUF_NAMESPACE_ID::uint32 TerminateConfig::target_pid(int index) const {
593  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.TerminateConfig.target_pid)
594  return _internal_target_pid(index);
595 }
596 inline void TerminateConfig::set_target_pid(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) {
597  target_pid_.Set(index, value);
598  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.TerminateConfig.target_pid)
599 }
600 inline void TerminateConfig::_internal_add_target_pid(::PROTOBUF_NAMESPACE_ID::uint32 value) {
601  target_pid_.Add(value);
602 }
603 inline void TerminateConfig::add_target_pid(::PROTOBUF_NAMESPACE_ID::uint32 value) {
604  _internal_add_target_pid(value);
605  // @@protoc_insertion_point(field_add:goby.apps.zeromq.protobuf.TerminateConfig.target_pid)
606 }
607 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
608 TerminateConfig::_internal_target_pid() const {
609  return target_pid_;
610 }
611 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
612 TerminateConfig::target_pid() const {
613  // @@protoc_insertion_point(field_list:goby.apps.zeromq.protobuf.TerminateConfig.target_pid)
614  return _internal_target_pid();
615 }
616 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
617 TerminateConfig::_internal_mutable_target_pid() {
618  return &target_pid_;
619 }
620 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
621 TerminateConfig::mutable_target_pid() {
622  // @@protoc_insertion_point(field_mutable_list:goby.apps.zeromq.protobuf.TerminateConfig.target_pid)
623  return _internal_mutable_target_pid();
624 }
625 
626 // optional float response_timeout = 5 [default = 10, (.dccl.field) = {
627 inline bool TerminateConfig::_internal_has_response_timeout() const {
628  bool value = (_has_bits_[0] & 0x00000004u) != 0;
629  return value;
630 }
631 inline bool TerminateConfig::has_response_timeout() const {
632  return _internal_has_response_timeout();
633 }
634 inline void TerminateConfig::clear_response_timeout() {
635  response_timeout_ = 10;
636  _has_bits_[0] &= ~0x00000004u;
637 }
638 inline float TerminateConfig::_internal_response_timeout() const {
639  return response_timeout_;
640 }
641 inline float TerminateConfig::response_timeout() const {
642  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.TerminateConfig.response_timeout)
643  return _internal_response_timeout();
644 }
645 inline void TerminateConfig::_internal_set_response_timeout(float value) {
646  _has_bits_[0] |= 0x00000004u;
647  response_timeout_ = value;
648 }
649 inline void TerminateConfig::set_response_timeout(float value) {
650  _internal_set_response_timeout(value);
651  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.TerminateConfig.response_timeout)
652 }
653 
654 #ifdef __GNUC__
655  #pragma GCC diagnostic pop
656 #endif // __GNUC__
657 
658 // @@protoc_insertion_point(namespace_scope)
659 
660 } // namespace protobuf
661 } // namespace zeromq
662 } // namespace apps
663 } // namespace goby
664 
665 // @@protoc_insertion_point(global_scope)
666 
667 #include <google/protobuf/port_undef.inc>
668 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fterminate_5fconfig_2eproto
void add_target_name(const std::string &value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
TerminateConfig(TerminateConfig &&from) noexcept
void set_target_name(int index, const char *value, size_t size)
void add_target_name(const char *value, size_t size)
void set_target_name(int index, std::string &&value)
::goby::middleware::protobuf::AppConfig * mutable_app()
void CopyFrom(const TerminateConfig &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
boost::units::quantity< response_timeout_unit, float > response_timeout_with_units() const
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void set_response_timeout_with_units(Quantity value_w_units)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > & target_pid() const
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
void add_target_pid(::PROTOBUF_NAMESPACE_ID::uint32 value)
friend void swap(TerminateConfig &a, TerminateConfig &b)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & target_name() const
TerminateConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
boost::units::unit< response_timeout_dimension, boost::units::si::system > response_timeout_unit
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
TerminateConfig & operator=(TerminateConfig &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_target_pid(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value)
::PROTOBUF_NAMESPACE_ID::uint32 target_pid(int index) const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const std::string & target_name(int index) const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void add_target_name(std::string &&value)
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > * mutable_target_pid()
void set_target_name(int index, const char *value)
std::string * mutable_target_name(int index)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const TerminateConfig * internal_default_instance()
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
const ::goby::middleware::protobuf::AppConfig & app() const
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
TerminateConfig & operator=(const TerminateConfig &from)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void set_target_name(int index, const std::string &value)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
TerminateConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const TerminateConfig & default_instance()
void MergeFrom(const TerminateConfig &from)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_target_name()
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type response_timeout_dimension
::goby::middleware::protobuf::AppConfig * release_app()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
TerminateConfig(const TerminateConfig &from)
@ value
the parser finished reading a JSON value
TerminateConfigDefaultTypeInternal _TerminateConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
std::uint32_t uint32
type
Generic JSON types used in JWTs.
Definition: jwt.h:2072
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] 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[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fterminate_5fconfig_2eproto