Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
coroner.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/middleware/protobuf/coroner.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_bases.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/metadata_lite.h>
29#include <google/protobuf/generated_message_reflection.h>
31#include <google/protobuf/repeated_field.h> // IWYU pragma: export
32#include <google/protobuf/extension_set.h> // IWYU pragma: export
33#include <google/protobuf/generated_enum_reflection.h>
34#include <google/protobuf/unknown_field_set.h>
35#include "dccl/option_extensions.pb.h"
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
40
41#include <boost/units/systems/si.hpp>
42// @@protoc_insertion_point(includes)
43#include <google/protobuf/port_def.inc>
44#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto
45PROTOBUF_NAMESPACE_OPEN
46namespace internal {
47class AnyMetadata;
48} // namespace internal
49PROTOBUF_NAMESPACE_CLOSE
50
51// Internal implementation detail -- do not use these members.
55extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto;
56namespace goby {
57namespace middleware {
58namespace protobuf {
59class HealthRequest;
60struct HealthRequestDefaultTypeInternal;
61extern HealthRequestDefaultTypeInternal _HealthRequest_default_instance_;
62class ProcessHealth;
63struct ProcessHealthDefaultTypeInternal;
64extern ProcessHealthDefaultTypeInternal _ProcessHealth_default_instance_;
65class ThreadHealth;
66struct ThreadHealthDefaultTypeInternal;
67extern ThreadHealthDefaultTypeInternal _ThreadHealth_default_instance_;
68class VehicleHealth;
69struct VehicleHealthDefaultTypeInternal;
70extern VehicleHealthDefaultTypeInternal _VehicleHealth_default_instance_;
71} // namespace protobuf
72} // namespace middleware
73} // namespace goby
74PROTOBUF_NAMESPACE_OPEN
75template<> ::goby::middleware::protobuf::HealthRequest* Arena::CreateMaybeMessage<::goby::middleware::protobuf::HealthRequest>(Arena*);
76template<> ::goby::middleware::protobuf::ProcessHealth* Arena::CreateMaybeMessage<::goby::middleware::protobuf::ProcessHealth>(Arena*);
77template<> ::goby::middleware::protobuf::ThreadHealth* Arena::CreateMaybeMessage<::goby::middleware::protobuf::ThreadHealth>(Arena*);
78template<> ::goby::middleware::protobuf::VehicleHealth* Arena::CreateMaybeMessage<::goby::middleware::protobuf::VehicleHealth>(Arena*);
79PROTOBUF_NAMESPACE_CLOSE
80namespace goby {
81namespace middleware {
82namespace protobuf {
83
89bool HealthState_IsValid(int value);
93
94const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HealthState_descriptor();
95template<typename T>
96inline const std::string& HealthState_Name(T enum_t_value) {
97 static_assert(::std::is_same<T, HealthState>::value ||
98 ::std::is_integral<T>::value,
99 "Incorrect type passed to function HealthState_Name.");
100 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
101 HealthState_descriptor(), enum_t_value);
102}
104 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HealthState* value) {
105 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<HealthState>(
106 HealthState_descriptor(), name, value);
107}
112bool Error_IsValid(int value);
115constexpr int Error_ARRAYSIZE = Error_MAX + 1;
116
117const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Error_descriptor();
118template<typename T>
119inline const std::string& Error_Name(T enum_t_value) {
120 static_assert(::std::is_same<T, Error>::value ||
121 ::std::is_integral<T>::value,
122 "Incorrect type passed to function Error_Name.");
123 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
124 Error_descriptor(), enum_t_value);
125}
126inline bool Error_Parse(
127 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Error* value) {
128 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Error>(
129 Error_descriptor(), name, value);
130}
131// ===================================================================
132
133class HealthRequest final :
134 public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.HealthRequest) */ {
135 public:
136 inline HealthRequest() : HealthRequest(nullptr) {}
137 explicit PROTOBUF_CONSTEXPR HealthRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
138
141 : HealthRequest() {
142 *this = ::std::move(from);
143 }
144
145 inline HealthRequest& operator=(const HealthRequest& from) {
146 CopyFrom(from);
147 return *this;
148 }
149 inline HealthRequest& operator=(HealthRequest&& from) noexcept {
150 if (this == &from) return *this;
151 if (GetOwningArena() == from.GetOwningArena()
152 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
153 && GetOwningArena() != nullptr
154 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
155 ) {
156 InternalSwap(&from);
157 } else {
158 CopyFrom(from);
159 }
160 return *this;
161 }
162
163 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
164 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
165 }
166 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
167 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
168 }
169
170 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
171 return GetDescriptor();
172 }
173 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
174 return default_instance().GetMetadata().descriptor;
175 }
176 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
177 return default_instance().GetMetadata().reflection;
178 }
181 }
183 return reinterpret_cast<const HealthRequest*>(
185 }
186 static constexpr int kIndexInFileMessages =
187 0;
188
189 friend void swap(HealthRequest& a, HealthRequest& b) {
190 a.Swap(&b);
191 }
192 inline void Swap(HealthRequest* other) {
193 if (other == this) return;
194 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
195 if (GetOwningArena() != nullptr &&
196 GetOwningArena() == other->GetOwningArena()) {
197 #else // PROTOBUF_FORCE_COPY_IN_SWAP
198 if (GetOwningArena() == other->GetOwningArena()) {
199 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
200 InternalSwap(other);
201 } else {
202 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
203 }
204 }
206 if (other == this) return;
207 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
208 InternalSwap(other);
209 }
210
211 // implements Message ----------------------------------------------
212
213 HealthRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
214 return CreateMaybeMessage<HealthRequest>(arena);
215 }
216 using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
217 inline void CopyFrom(const HealthRequest& from) {
218 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
219 }
220 using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
221 void MergeFrom(const HealthRequest& from) {
222 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
223 }
224 public:
225
226 private:
227 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
228 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
229 return "goby.middleware.protobuf.HealthRequest";
230 }
231 protected:
232 explicit HealthRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
233 bool is_message_owned = false);
234 public:
235
236 static const ClassData _class_data_;
237 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
238
239 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
240
241 // nested types ----------------------------------------------------
242
243 // accessors -------------------------------------------------------
244
245 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.HealthRequest)
246 private:
247 class _Internal;
248
249 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
250 typedef void InternalArenaConstructable_;
251 typedef void DestructorSkippable_;
252 struct Impl_ {
253 };
254 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto;
255};
256// -------------------------------------------------------------------
257
258class ThreadHealth final :
259 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.ThreadHealth) */ {
260 public:
261 inline ThreadHealth() : ThreadHealth(nullptr) {}
262 ~ThreadHealth() override;
263 explicit PROTOBUF_CONSTEXPR ThreadHealth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
264
266 ThreadHealth(ThreadHealth&& from) noexcept
267 : ThreadHealth() {
268 *this = ::std::move(from);
269 }
270
271 inline ThreadHealth& operator=(const ThreadHealth& from) {
272 CopyFrom(from);
273 return *this;
274 }
275 inline ThreadHealth& operator=(ThreadHealth&& from) noexcept {
276 if (this == &from) return *this;
277 if (GetOwningArena() == from.GetOwningArena()
278 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
279 && GetOwningArena() != nullptr
280 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
281 ) {
282 InternalSwap(&from);
283 } else {
284 CopyFrom(from);
285 }
286 return *this;
287 }
288
289 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
290 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
291 }
292 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
293 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
294 }
295
296 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
297 return GetDescriptor();
298 }
299 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
300 return default_instance().GetMetadata().descriptor;
301 }
302 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
303 return default_instance().GetMetadata().reflection;
304 }
306 return *internal_default_instance();
307 }
308 enum TIdCase {
309 kThreadId = 2,
310 kThreadIdApple = 4,
311 T_ID_NOT_SET = 0,
312 };
313
315 return reinterpret_cast<const ThreadHealth*>(
317 }
318 static constexpr int kIndexInFileMessages =
319 1;
320
321 friend void swap(ThreadHealth& a, ThreadHealth& b) {
322 a.Swap(&b);
323 }
324 inline void Swap(ThreadHealth* other) {
325 if (other == this) return;
326 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
327 if (GetOwningArena() != nullptr &&
328 GetOwningArena() == other->GetOwningArena()) {
329 #else // PROTOBUF_FORCE_COPY_IN_SWAP
330 if (GetOwningArena() == other->GetOwningArena()) {
331 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
332 InternalSwap(other);
333 } else {
334 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
335 }
336 }
338 if (other == this) return;
339 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
340 InternalSwap(other);
341 }
342
343 // implements Message ----------------------------------------------
344
345 ThreadHealth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
346 return CreateMaybeMessage<ThreadHealth>(arena);
347 }
348 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
349 void CopyFrom(const ThreadHealth& from);
350 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
351 void MergeFrom( const ThreadHealth& from) {
352 ThreadHealth::MergeImpl(*this, from);
353 }
354 private:
355 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
356 public:
357 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
358 bool IsInitialized() const final;
359
360 size_t ByteSizeLong() const final;
361 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
362 uint8_t* _InternalSerialize(
363 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
364 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
365
366 private:
367 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
368 void SharedDtor();
369 void SetCachedSize(int size) const final;
370 void InternalSwap(ThreadHealth* other);
371
372 private:
373 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
374 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
375 return "goby.middleware.protobuf.ThreadHealth";
376 }
377 protected:
378 explicit ThreadHealth(::PROTOBUF_NAMESPACE_ID::Arena* arena,
379 bool is_message_owned = false);
380 public:
381
382 static const ClassData _class_data_;
383 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
384
385 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
386
387 // nested types ----------------------------------------------------
388
389 // accessors -------------------------------------------------------
390
391 enum : int {
392 kChildFieldNumber = 11,
393 kNameFieldNumber = 1,
394 kErrorMessageFieldNumber = 21,
395 kUidFieldNumber = 3,
396 kStateFieldNumber = 10,
397 kErrorFieldNumber = 20,
398 kThreadIdFieldNumber = 2,
399 kThreadIdAppleFieldNumber = 4,
400 };
401 // repeated .goby.middleware.protobuf.ThreadHealth child = 11;
402 int child_size() const;
403 private:
404 int _internal_child_size() const;
405 public:
406 void clear_child();
407 ::goby::middleware::protobuf::ThreadHealth* mutable_child(int index);
408 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ThreadHealth >*
409 mutable_child();
410 private:
411 const ::goby::middleware::protobuf::ThreadHealth& _internal_child(int index) const;
412 ::goby::middleware::protobuf::ThreadHealth* _internal_add_child();
413 public:
414 const ::goby::middleware::protobuf::ThreadHealth& child(int index) const;
416 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ThreadHealth >&
417 child() const;
418
419 // required string name = 1;
420 bool has_name() const;
421 private:
422 bool _internal_has_name() const;
423 public:
424 void clear_name();
425 const std::string& name() const;
426 template <typename ArgT0 = const std::string&, typename... ArgT>
427 void set_name(ArgT0&& arg0, ArgT... args);
428 std::string* mutable_name();
429 PROTOBUF_NODISCARD std::string* release_name();
430 void set_allocated_name(std::string* name);
431 private:
432 const std::string& _internal_name() const;
433 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
434 std::string* _internal_mutable_name();
435 public:
436
437 // optional string error_message = 21;
438 bool has_error_message() const;
439 private:
440 bool _internal_has_error_message() const;
441 public:
442 void clear_error_message();
443 const std::string& error_message() const;
444 template <typename ArgT0 = const std::string&, typename... ArgT>
445 void set_error_message(ArgT0&& arg0, ArgT... args);
446 std::string* mutable_error_message();
447 PROTOBUF_NODISCARD std::string* release_error_message();
448 void set_allocated_error_message(std::string* error_message);
449 private:
450 const std::string& _internal_error_message() const;
451 inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_message(const std::string& value);
452 std::string* _internal_mutable_error_message();
453 public:
454
455 // optional int32 uid = 3;
456 bool has_uid() const;
457 private:
458 bool _internal_has_uid() const;
459 public:
460 void clear_uid();
461 int32_t uid() const;
462 void set_uid(int32_t value);
463 private:
464 int32_t _internal_uid() const;
465 void _internal_set_uid(int32_t value);
466 public:
467
468 // required .goby.middleware.protobuf.HealthState state = 10;
469 bool has_state() const;
470 private:
471 bool _internal_has_state() const;
472 public:
473 void clear_state();
475 void set_state(::goby::middleware::protobuf::HealthState value);
476 private:
477 ::goby::middleware::protobuf::HealthState _internal_state() const;
478 void _internal_set_state(::goby::middleware::protobuf::HealthState value);
479 public:
480
481 // optional .goby.middleware.protobuf.Error error = 20;
482 bool has_error() const;
483 private:
484 bool _internal_has_error() const;
485 public:
486 void clear_error();
488 void set_error(::goby::middleware::protobuf::Error value);
489 private:
490 ::goby::middleware::protobuf::Error _internal_error() const;
491 void _internal_set_error(::goby::middleware::protobuf::Error value);
492 public:
493
494 // int32 thread_id = 2;
495 bool has_thread_id() const;
496 private:
497 bool _internal_has_thread_id() const;
498 public:
499 void clear_thread_id();
500 int32_t thread_id() const;
501 void set_thread_id(int32_t value);
502 private:
503 int32_t _internal_thread_id() const;
504 void _internal_set_thread_id(int32_t value);
505 public:
506
507 // uint64 thread_id_apple = 4;
508 bool has_thread_id_apple() const;
509 private:
510 bool _internal_has_thread_id_apple() const;
511 public:
512 void clear_thread_id_apple();
513 uint64_t thread_id_apple() const;
514 void set_thread_id_apple(uint64_t value);
515 private:
516 uint64_t _internal_thread_id_apple() const;
517 void _internal_set_thread_id_apple(uint64_t value);
518 public:
519
520
521 template <typename _proto_TypeTraits,
522 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
523 bool _is_packed>
524 inline bool HasExtension(
525 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
526 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
527
528 return _impl_._extensions_.Has(id.number());
529 }
530
531 template <typename _proto_TypeTraits,
532 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
533 bool _is_packed>
534 inline void ClearExtension(
535 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
536 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
537 _impl_._extensions_.ClearExtension(id.number());
538
539 }
540
541 template <typename _proto_TypeTraits,
542 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
543 bool _is_packed>
544 inline int ExtensionSize(
545 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
546 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
547
548 return _impl_._extensions_.ExtensionSize(id.number());
549 }
550
551 template <typename _proto_TypeTraits,
552 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
553 bool _is_packed>
554 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
555 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
556 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
557
558 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
559 id.default_value());
560 }
561
562 template <typename _proto_TypeTraits,
563 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
564 bool _is_packed>
565 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
566 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
567 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
568
569 return _proto_TypeTraits::Mutable(id.number(), _field_type,
570 &_impl_._extensions_);
571 }
572
573 template <typename _proto_TypeTraits,
574 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
575 bool _is_packed>
576 inline void SetExtension(
577 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
578 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
579 typename _proto_TypeTraits::Singular::ConstType value) {
580 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
581
582 }
583
584 template <typename _proto_TypeTraits,
585 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
586 bool _is_packed>
588 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
589 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
590 typename _proto_TypeTraits::Singular::MutableType value) {
591 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
592 &_impl_._extensions_);
593
594 }
595 template <typename _proto_TypeTraits,
596 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
597 bool _is_packed>
599 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
600 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
601 typename _proto_TypeTraits::Singular::MutableType value) {
602 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
603 value, &_impl_._extensions_);
604
605 }
606 template <typename _proto_TypeTraits,
607 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
608 bool _is_packed>
609 PROTOBUF_NODISCARD inline
610 typename _proto_TypeTraits::Singular::MutableType
612 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
613 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
614
615 return _proto_TypeTraits::Release(id.number(), _field_type,
616 &_impl_._extensions_);
617 }
618 template <typename _proto_TypeTraits,
619 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
620 bool _is_packed>
621 inline typename _proto_TypeTraits::Singular::MutableType
623 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
624 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
625
626 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
627 &_impl_._extensions_);
628 }
629
630 template <typename _proto_TypeTraits,
631 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
632 bool _is_packed>
633 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
634 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
635 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
636 int index) const {
637
638 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
639 }
640
641 template <typename _proto_TypeTraits,
642 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
643 bool _is_packed>
644 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
645 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
646 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
647 int index) {
648
649 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
650 }
651
652 template <typename _proto_TypeTraits,
653 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
654 bool _is_packed>
655 inline void SetExtension(
656 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
657 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
658 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
659 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
660
661 }
662
663 template <typename _proto_TypeTraits,
664 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
665 bool _is_packed>
666 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
667 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
668 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
669 typename _proto_TypeTraits::Repeated::MutableType to_add =
670 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
671
672 return to_add;
673 }
674
675 template <typename _proto_TypeTraits,
676 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
677 bool _is_packed>
678 inline void AddExtension(
679 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
680 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
681 typename _proto_TypeTraits::Repeated::ConstType value) {
682 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
683 &_impl_._extensions_);
684
685 }
686
687 template <typename _proto_TypeTraits,
688 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
689 bool _is_packed>
690 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
692 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
693 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
694
695 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
696 }
697
698 template <typename _proto_TypeTraits,
699 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
700 bool _is_packed>
701 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
703 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
704 ThreadHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
705
706 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
707 _is_packed, &_impl_._extensions_);
708 }
709
711 TIdCase t_id_case() const;
712 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.ThreadHealth)
713 private:
714 class _Internal;
715 void set_has_thread_id();
716 void set_has_thread_id_apple();
717
718 inline bool has_t_id() const;
719 inline void clear_has_t_id();
720
721 // helper for ByteSizeLong()
722 size_t RequiredFieldsByteSizeFallback() const;
723
724 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
725 typedef void InternalArenaConstructable_;
726 typedef void DestructorSkippable_;
727 struct Impl_ {
728 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
729
730 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
731 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
732 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ThreadHealth > child_;
733 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
734 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_;
735 int32_t uid_;
736 int state_;
737 int error_;
738 union TIdUnion {
739 constexpr TIdUnion() : _constinit_{} {}
740 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
741 int32_t thread_id_;
743 } t_id_;
744 uint32_t _oneof_case_[1];
745
746 };
747 union { Impl_ _impl_; };
748 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto;
749};
750// -------------------------------------------------------------------
751
752class ProcessHealth final :
753 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.ProcessHealth) */ {
754 public:
755 inline ProcessHealth() : ProcessHealth(nullptr) {}
756 ~ProcessHealth() override;
757 explicit PROTOBUF_CONSTEXPR ProcessHealth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
758
761 : ProcessHealth() {
762 *this = ::std::move(from);
763 }
764
765 inline ProcessHealth& operator=(const ProcessHealth& from) {
766 CopyFrom(from);
767 return *this;
768 }
769 inline ProcessHealth& operator=(ProcessHealth&& from) noexcept {
770 if (this == &from) return *this;
771 if (GetOwningArena() == from.GetOwningArena()
772 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
773 && GetOwningArena() != nullptr
774 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
775 ) {
776 InternalSwap(&from);
777 } else {
778 CopyFrom(from);
779 }
780 return *this;
781 }
782
783 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
784 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
785 }
786 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
787 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
788 }
789
790 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
791 return GetDescriptor();
792 }
793 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
794 return default_instance().GetMetadata().descriptor;
795 }
796 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
797 return default_instance().GetMetadata().reflection;
798 }
800 return *internal_default_instance();
801 }
803 return reinterpret_cast<const ProcessHealth*>(
805 }
806 static constexpr int kIndexInFileMessages =
807 2;
808
809 friend void swap(ProcessHealth& a, ProcessHealth& b) {
810 a.Swap(&b);
811 }
812 inline void Swap(ProcessHealth* other) {
813 if (other == this) return;
814 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
815 if (GetOwningArena() != nullptr &&
816 GetOwningArena() == other->GetOwningArena()) {
817 #else // PROTOBUF_FORCE_COPY_IN_SWAP
818 if (GetOwningArena() == other->GetOwningArena()) {
819 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
820 InternalSwap(other);
821 } else {
822 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
823 }
824 }
826 if (other == this) return;
827 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
828 InternalSwap(other);
829 }
830
831 // implements Message ----------------------------------------------
832
833 ProcessHealth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
834 return CreateMaybeMessage<ProcessHealth>(arena);
835 }
836 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
837 void CopyFrom(const ProcessHealth& from);
838 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
839 void MergeFrom( const ProcessHealth& from) {
840 ProcessHealth::MergeImpl(*this, from);
841 }
842 private:
843 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
844 public:
845 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
846 bool IsInitialized() const final;
847
848 size_t ByteSizeLong() const final;
849 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
850 uint8_t* _InternalSerialize(
851 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
852 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
853
854 private:
855 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
856 void SharedDtor();
857 void SetCachedSize(int size) const final;
858 void InternalSwap(ProcessHealth* other);
859
860 private:
861 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
862 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
863 return "goby.middleware.protobuf.ProcessHealth";
864 }
865 protected:
866 explicit ProcessHealth(::PROTOBUF_NAMESPACE_ID::Arena* arena,
867 bool is_message_owned = false);
868 public:
869
870 static const ClassData _class_data_;
871 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
872
873 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
874
875 // nested types ----------------------------------------------------
876
877 // accessors -------------------------------------------------------
878
879 enum : int {
880 kNameFieldNumber = 1,
881 kMainFieldNumber = 10,
882 kPidFieldNumber = 2,
883 };
884 // required string name = 1;
885 bool has_name() const;
886 private:
887 bool _internal_has_name() const;
888 public:
889 void clear_name();
890 const std::string& name() const;
891 template <typename ArgT0 = const std::string&, typename... ArgT>
892 void set_name(ArgT0&& arg0, ArgT... args);
893 std::string* mutable_name();
894 PROTOBUF_NODISCARD std::string* release_name();
895 void set_allocated_name(std::string* name);
896 private:
897 const std::string& _internal_name() const;
898 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
899 std::string* _internal_mutable_name();
900 public:
901
902 // required .goby.middleware.protobuf.ThreadHealth main = 10;
903 bool has_main() const;
904 private:
905 bool _internal_has_main() const;
906 public:
907 void clear_main();
908 const ::goby::middleware::protobuf::ThreadHealth& main() const;
909 PROTOBUF_NODISCARD ::goby::middleware::protobuf::ThreadHealth* release_main();
911 void set_allocated_main(::goby::middleware::protobuf::ThreadHealth* main);
912 private:
913 const ::goby::middleware::protobuf::ThreadHealth& _internal_main() const;
914 ::goby::middleware::protobuf::ThreadHealth* _internal_mutable_main();
915 public:
916 void unsafe_arena_set_allocated_main(
918 ::goby::middleware::protobuf::ThreadHealth* unsafe_arena_release_main();
919
920 // optional uint32 pid = 2;
921 bool has_pid() const;
922 private:
923 bool _internal_has_pid() const;
924 public:
925 void clear_pid();
926 uint32_t pid() const;
927 void set_pid(uint32_t value);
928 private:
929 uint32_t _internal_pid() const;
930 void _internal_set_pid(uint32_t value);
931 public:
932
933
934 template <typename _proto_TypeTraits,
935 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
936 bool _is_packed>
937 inline bool HasExtension(
938 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
939 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
940
941 return _impl_._extensions_.Has(id.number());
942 }
943
944 template <typename _proto_TypeTraits,
945 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
946 bool _is_packed>
947 inline void ClearExtension(
948 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
949 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
950 _impl_._extensions_.ClearExtension(id.number());
951
952 }
953
954 template <typename _proto_TypeTraits,
955 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
956 bool _is_packed>
957 inline int ExtensionSize(
958 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
959 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
960
961 return _impl_._extensions_.ExtensionSize(id.number());
962 }
963
964 template <typename _proto_TypeTraits,
965 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
966 bool _is_packed>
967 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
968 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
969 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
970
971 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
972 id.default_value());
973 }
974
975 template <typename _proto_TypeTraits,
976 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
977 bool _is_packed>
978 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
979 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
980 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
981
982 return _proto_TypeTraits::Mutable(id.number(), _field_type,
983 &_impl_._extensions_);
984 }
985
986 template <typename _proto_TypeTraits,
987 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
988 bool _is_packed>
989 inline void SetExtension(
990 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
991 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
992 typename _proto_TypeTraits::Singular::ConstType value) {
993 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
994
995 }
996
997 template <typename _proto_TypeTraits,
998 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
999 bool _is_packed>
1001 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1002 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1003 typename _proto_TypeTraits::Singular::MutableType value) {
1004 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
1005 &_impl_._extensions_);
1006
1007 }
1008 template <typename _proto_TypeTraits,
1009 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1010 bool _is_packed>
1012 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1013 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1014 typename _proto_TypeTraits::Singular::MutableType value) {
1015 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
1016 value, &_impl_._extensions_);
1017
1018 }
1019 template <typename _proto_TypeTraits,
1020 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1021 bool _is_packed>
1022 PROTOBUF_NODISCARD inline
1023 typename _proto_TypeTraits::Singular::MutableType
1025 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1026 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1027
1028 return _proto_TypeTraits::Release(id.number(), _field_type,
1029 &_impl_._extensions_);
1030 }
1031 template <typename _proto_TypeTraits,
1032 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1033 bool _is_packed>
1034 inline typename _proto_TypeTraits::Singular::MutableType
1036 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1037 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1038
1039 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
1040 &_impl_._extensions_);
1041 }
1042
1043 template <typename _proto_TypeTraits,
1044 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1045 bool _is_packed>
1046 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
1047 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1048 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1049 int index) const {
1050
1051 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
1052 }
1053
1054 template <typename _proto_TypeTraits,
1055 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1056 bool _is_packed>
1057 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
1058 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1059 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1060 int index) {
1061
1062 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
1063 }
1064
1065 template <typename _proto_TypeTraits,
1066 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1067 bool _is_packed>
1068 inline void SetExtension(
1069 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1070 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1071 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
1072 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
1073
1074 }
1075
1076 template <typename _proto_TypeTraits,
1077 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1078 bool _is_packed>
1079 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
1080 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1081 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1082 typename _proto_TypeTraits::Repeated::MutableType to_add =
1083 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
1084
1085 return to_add;
1086 }
1087
1088 template <typename _proto_TypeTraits,
1089 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1090 bool _is_packed>
1091 inline void AddExtension(
1092 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1093 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1094 typename _proto_TypeTraits::Repeated::ConstType value) {
1095 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
1096 &_impl_._extensions_);
1097
1098 }
1099
1100 template <typename _proto_TypeTraits,
1101 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1102 bool _is_packed>
1103 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
1105 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1106 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1107
1108 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
1109 }
1110
1111 template <typename _proto_TypeTraits,
1112 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1113 bool _is_packed>
1114 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
1116 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1117 ProcessHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1118
1119 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
1120 _is_packed, &_impl_._extensions_);
1121 }
1122
1123 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.ProcessHealth)
1124 private:
1125 class _Internal;
1126
1127 // helper for ByteSizeLong()
1128 size_t RequiredFieldsByteSizeFallback() const;
1129
1130 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1131 typedef void InternalArenaConstructable_;
1132 typedef void DestructorSkippable_;
1133 struct Impl_ {
1134 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
1135
1136 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1137 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1138 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1140 uint32_t pid_;
1141 };
1142 union { Impl_ _impl_; };
1143 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto;
1144};
1145// -------------------------------------------------------------------
1146
1147class VehicleHealth final :
1148 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.VehicleHealth) */ {
1149 public:
1150 inline VehicleHealth() : VehicleHealth(nullptr) {}
1151 ~VehicleHealth() override;
1152 explicit PROTOBUF_CONSTEXPR VehicleHealth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1153
1156 : VehicleHealth() {
1157 *this = ::std::move(from);
1158 }
1159
1161 CopyFrom(from);
1162 return *this;
1163 }
1164 inline VehicleHealth& operator=(VehicleHealth&& from) noexcept {
1165 if (this == &from) return *this;
1166 if (GetOwningArena() == from.GetOwningArena()
1167 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1168 && GetOwningArena() != nullptr
1169 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1170 ) {
1171 InternalSwap(&from);
1172 } else {
1173 CopyFrom(from);
1174 }
1175 return *this;
1176 }
1177
1178 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1179 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1180 }
1181 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1182 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1183 }
1184
1185 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1186 return GetDescriptor();
1187 }
1188 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1189 return default_instance().GetMetadata().descriptor;
1190 }
1191 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1192 return default_instance().GetMetadata().reflection;
1193 }
1195 return *internal_default_instance();
1196 }
1198 return reinterpret_cast<const VehicleHealth*>(
1200 }
1201 static constexpr int kIndexInFileMessages =
1202 3;
1203
1204 friend void swap(VehicleHealth& a, VehicleHealth& b) {
1205 a.Swap(&b);
1206 }
1207 inline void Swap(VehicleHealth* other) {
1208 if (other == this) return;
1209 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1210 if (GetOwningArena() != nullptr &&
1211 GetOwningArena() == other->GetOwningArena()) {
1212 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1213 if (GetOwningArena() == other->GetOwningArena()) {
1214 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1215 InternalSwap(other);
1216 } else {
1217 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1218 }
1219 }
1221 if (other == this) return;
1222 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1223 InternalSwap(other);
1224 }
1225
1226 // implements Message ----------------------------------------------
1227
1228 VehicleHealth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1229 return CreateMaybeMessage<VehicleHealth>(arena);
1230 }
1231 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1232 void CopyFrom(const VehicleHealth& from);
1233 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1234 void MergeFrom( const VehicleHealth& from) {
1235 VehicleHealth::MergeImpl(*this, from);
1236 }
1237 private:
1238 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1239 public:
1240 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1241 bool IsInitialized() const final;
1242
1243 size_t ByteSizeLong() const final;
1244 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1245 uint8_t* _InternalSerialize(
1246 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1247 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1248
1249 private:
1250 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1251 void SharedDtor();
1252 void SetCachedSize(int size) const final;
1253 void InternalSwap(VehicleHealth* other);
1254
1255 private:
1256 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1257 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1258 return "goby.middleware.protobuf.VehicleHealth";
1259 }
1260 protected:
1261 explicit VehicleHealth(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1262 bool is_message_owned = false);
1263 public:
1264
1265 static const ClassData _class_data_;
1266 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1267
1268 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1269
1270 // nested types ----------------------------------------------------
1271
1272 // accessors -------------------------------------------------------
1273
1274 enum : int {
1275 kProcessFieldNumber = 11,
1276 kPlatformFieldNumber = 2,
1277 kTimeFieldNumber = 1,
1278 kStateFieldNumber = 10,
1279 };
1280 // repeated .goby.middleware.protobuf.ProcessHealth process = 11;
1281 int process_size() const;
1282 private:
1283 int _internal_process_size() const;
1284 public:
1285 void clear_process();
1286 ::goby::middleware::protobuf::ProcessHealth* mutable_process(int index);
1287 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ProcessHealth >*
1288 mutable_process();
1289 private:
1290 const ::goby::middleware::protobuf::ProcessHealth& _internal_process(int index) const;
1291 ::goby::middleware::protobuf::ProcessHealth* _internal_add_process();
1292 public:
1293 const ::goby::middleware::protobuf::ProcessHealth& process(int index) const;
1295 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ProcessHealth >&
1296 process() const;
1297
1298 // required string platform = 2;
1299 bool has_platform() const;
1300 private:
1301 bool _internal_has_platform() const;
1302 public:
1303 void clear_platform();
1304 const std::string& platform() const;
1305 template <typename ArgT0 = const std::string&, typename... ArgT>
1306 void set_platform(ArgT0&& arg0, ArgT... args);
1307 std::string* mutable_platform();
1308 PROTOBUF_NODISCARD std::string* release_platform();
1309 void set_allocated_platform(std::string* platform);
1310 private:
1311 const std::string& _internal_platform() const;
1312 inline PROTOBUF_ALWAYS_INLINE void _internal_set_platform(const std::string& value);
1313 std::string* _internal_mutable_platform();
1314 public:
1315
1316 // required uint64 time = 1 [(.dccl.field) = {
1317 bool has_time() const;
1318 private:
1319 bool _internal_has_time() const;
1320 public:
1321 void clear_time();
1322 uint64_t time() const;
1323 void set_time(uint64_t value);
1324 private:
1325 uint64_t _internal_time() const;
1326 void _internal_set_time(uint64_t value);
1327 public:
1328
1329 // required .goby.middleware.protobuf.HealthState state = 10;
1330 bool has_state() const;
1331 private:
1332 bool _internal_has_state() const;
1333 public:
1334 void clear_state();
1336 void set_state(::goby::middleware::protobuf::HealthState value);
1337 private:
1338 ::goby::middleware::protobuf::HealthState _internal_state() const;
1339 void _internal_set_state(::goby::middleware::protobuf::HealthState value);
1340 public:
1341
1342
1343 template <typename _proto_TypeTraits,
1344 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1345 bool _is_packed>
1346 inline bool HasExtension(
1347 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1348 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1349
1350 return _impl_._extensions_.Has(id.number());
1351 }
1352
1353 template <typename _proto_TypeTraits,
1354 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1355 bool _is_packed>
1356 inline void ClearExtension(
1357 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1358 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1359 _impl_._extensions_.ClearExtension(id.number());
1360
1361 }
1362
1363 template <typename _proto_TypeTraits,
1364 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1365 bool _is_packed>
1366 inline int ExtensionSize(
1367 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1368 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1369
1370 return _impl_._extensions_.ExtensionSize(id.number());
1371 }
1372
1373 template <typename _proto_TypeTraits,
1374 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1375 bool _is_packed>
1376 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
1377 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1378 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1379
1380 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
1381 id.default_value());
1382 }
1383
1384 template <typename _proto_TypeTraits,
1385 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1386 bool _is_packed>
1387 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
1388 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1389 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1390
1391 return _proto_TypeTraits::Mutable(id.number(), _field_type,
1392 &_impl_._extensions_);
1393 }
1394
1395 template <typename _proto_TypeTraits,
1396 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1397 bool _is_packed>
1398 inline void SetExtension(
1399 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1400 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1401 typename _proto_TypeTraits::Singular::ConstType value) {
1402 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
1403
1404 }
1405
1406 template <typename _proto_TypeTraits,
1407 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1408 bool _is_packed>
1410 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1411 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1412 typename _proto_TypeTraits::Singular::MutableType value) {
1413 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
1414 &_impl_._extensions_);
1415
1416 }
1417 template <typename _proto_TypeTraits,
1418 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1419 bool _is_packed>
1421 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1422 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1423 typename _proto_TypeTraits::Singular::MutableType value) {
1424 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
1425 value, &_impl_._extensions_);
1426
1427 }
1428 template <typename _proto_TypeTraits,
1429 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1430 bool _is_packed>
1431 PROTOBUF_NODISCARD inline
1432 typename _proto_TypeTraits::Singular::MutableType
1434 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1435 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1436
1437 return _proto_TypeTraits::Release(id.number(), _field_type,
1438 &_impl_._extensions_);
1439 }
1440 template <typename _proto_TypeTraits,
1441 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1442 bool _is_packed>
1443 inline typename _proto_TypeTraits::Singular::MutableType
1445 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1446 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1447
1448 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
1449 &_impl_._extensions_);
1450 }
1451
1452 template <typename _proto_TypeTraits,
1453 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1454 bool _is_packed>
1455 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
1456 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1457 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1458 int index) const {
1459
1460 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
1461 }
1462
1463 template <typename _proto_TypeTraits,
1464 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1465 bool _is_packed>
1466 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
1467 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1468 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1469 int index) {
1470
1471 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
1472 }
1473
1474 template <typename _proto_TypeTraits,
1475 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1476 bool _is_packed>
1477 inline void SetExtension(
1478 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1479 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1480 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
1481 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
1482
1483 }
1484
1485 template <typename _proto_TypeTraits,
1486 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1487 bool _is_packed>
1488 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
1489 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1490 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1491 typename _proto_TypeTraits::Repeated::MutableType to_add =
1492 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
1493
1494 return to_add;
1495 }
1496
1497 template <typename _proto_TypeTraits,
1498 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1499 bool _is_packed>
1500 inline void AddExtension(
1501 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1502 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id,
1503 typename _proto_TypeTraits::Repeated::ConstType value) {
1504 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
1505 &_impl_._extensions_);
1506
1507 }
1508
1509 template <typename _proto_TypeTraits,
1510 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1511 bool _is_packed>
1512 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
1514 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1515 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1516
1517 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
1518 }
1519
1520 template <typename _proto_TypeTraits,
1521 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1522 bool _is_packed>
1523 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
1525 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1526 VehicleHealth, _proto_TypeTraits, _field_type, _is_packed>& id) {
1527
1528 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
1529 _is_packed, &_impl_._extensions_);
1530 }
1531
1532 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type time_dimension;
1533
1534 typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_unit;
1535
1536 template<typename Quantity >
1537 void set_time_with_units(Quantity value_w_units)
1538 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1539
1540 template<typename Quantity >
1541 Quantity time_with_units() const
1542 { return Quantity(time() * time_unit()); };
1543
1544 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
1545 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1546
1547 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.VehicleHealth)
1548 private:
1549 class _Internal;
1550
1551 // helper for ByteSizeLong()
1552 size_t RequiredFieldsByteSizeFallback() const;
1553
1554 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1555 typedef void InternalArenaConstructable_;
1556 typedef void DestructorSkippable_;
1557 struct Impl_ {
1558 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
1559
1560 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1561 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1562 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ProcessHealth > process_;
1563 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_;
1564 uint64_t time_;
1565 int state_;
1566 };
1567 union { Impl_ _impl_; };
1568 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto;
1569};
1570// ===================================================================
1571
1572
1573// ===================================================================
1574
1575#ifdef __GNUC__
1576 #pragma GCC diagnostic push
1577 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1578#endif // __GNUC__
1579// HealthRequest
1580
1581// -------------------------------------------------------------------
1582
1583// ThreadHealth
1584
1585// required string name = 1;
1586inline bool ThreadHealth::_internal_has_name() const {
1587 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1588 return value;
1589}
1590inline bool ThreadHealth::has_name() const {
1591 return _internal_has_name();
1592}
1593inline void ThreadHealth::clear_name() {
1594 _impl_.name_.ClearToEmpty();
1595 _impl_._has_bits_[0] &= ~0x00000001u;
1596}
1597inline const std::string& ThreadHealth::name() const {
1598 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ThreadHealth.name)
1599 return _internal_name();
1600}
1601template <typename ArgT0, typename... ArgT>
1602inline PROTOBUF_ALWAYS_INLINE
1603void ThreadHealth::set_name(ArgT0&& arg0, ArgT... args) {
1604 _impl_._has_bits_[0] |= 0x00000001u;
1605 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1606 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.ThreadHealth.name)
1607}
1608inline std::string* ThreadHealth::mutable_name() {
1609 std::string* _s = _internal_mutable_name();
1610 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.ThreadHealth.name)
1611 return _s;
1612}
1613inline const std::string& ThreadHealth::_internal_name() const {
1614 return _impl_.name_.Get();
1615}
1616inline void ThreadHealth::_internal_set_name(const std::string& value) {
1617 _impl_._has_bits_[0] |= 0x00000001u;
1618 _impl_.name_.Set(value, GetArenaForAllocation());
1619}
1620inline std::string* ThreadHealth::_internal_mutable_name() {
1621 _impl_._has_bits_[0] |= 0x00000001u;
1622 return _impl_.name_.Mutable(GetArenaForAllocation());
1623}
1624inline std::string* ThreadHealth::release_name() {
1625 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.ThreadHealth.name)
1626 if (!_internal_has_name()) {
1627 return nullptr;
1628 }
1629 _impl_._has_bits_[0] &= ~0x00000001u;
1630 auto* p = _impl_.name_.Release();
1631#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1632 if (_impl_.name_.IsDefault()) {
1633 _impl_.name_.Set("", GetArenaForAllocation());
1634 }
1635#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1636 return p;
1637}
1638inline void ThreadHealth::set_allocated_name(std::string* name) {
1639 if (name != nullptr) {
1640 _impl_._has_bits_[0] |= 0x00000001u;
1641 } else {
1642 _impl_._has_bits_[0] &= ~0x00000001u;
1643 }
1644 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1645#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1646 if (_impl_.name_.IsDefault()) {
1647 _impl_.name_.Set("", GetArenaForAllocation());
1648 }
1649#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1650 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.ThreadHealth.name)
1651}
1652
1653// int32 thread_id = 2;
1654inline bool ThreadHealth::_internal_has_thread_id() const {
1655 return t_id_case() == kThreadId;
1656}
1657inline bool ThreadHealth::has_thread_id() const {
1658 return _internal_has_thread_id();
1659}
1660inline void ThreadHealth::set_has_thread_id() {
1661 _impl_._oneof_case_[0] = kThreadId;
1662}
1663inline void ThreadHealth::clear_thread_id() {
1664 if (_internal_has_thread_id()) {
1665 _impl_.t_id_.thread_id_ = 0;
1666 clear_has_t_id();
1667 }
1668}
1669inline int32_t ThreadHealth::_internal_thread_id() const {
1670 if (_internal_has_thread_id()) {
1671 return _impl_.t_id_.thread_id_;
1672 }
1673 return 0;
1674}
1675inline void ThreadHealth::_internal_set_thread_id(int32_t value) {
1676 if (!_internal_has_thread_id()) {
1677 clear_t_id();
1678 set_has_thread_id();
1679 }
1680 _impl_.t_id_.thread_id_ = value;
1681}
1682inline int32_t ThreadHealth::thread_id() const {
1683 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ThreadHealth.thread_id)
1684 return _internal_thread_id();
1685}
1686inline void ThreadHealth::set_thread_id(int32_t value) {
1687 _internal_set_thread_id(value);
1688 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.ThreadHealth.thread_id)
1689}
1690
1691// uint64 thread_id_apple = 4;
1692inline bool ThreadHealth::_internal_has_thread_id_apple() const {
1693 return t_id_case() == kThreadIdApple;
1694}
1695inline bool ThreadHealth::has_thread_id_apple() const {
1696 return _internal_has_thread_id_apple();
1697}
1698inline void ThreadHealth::set_has_thread_id_apple() {
1699 _impl_._oneof_case_[0] = kThreadIdApple;
1700}
1701inline void ThreadHealth::clear_thread_id_apple() {
1702 if (_internal_has_thread_id_apple()) {
1703 _impl_.t_id_.thread_id_apple_ = uint64_t{0u};
1704 clear_has_t_id();
1705 }
1706}
1707inline uint64_t ThreadHealth::_internal_thread_id_apple() const {
1708 if (_internal_has_thread_id_apple()) {
1709 return _impl_.t_id_.thread_id_apple_;
1710 }
1711 return uint64_t{0u};
1712}
1713inline void ThreadHealth::_internal_set_thread_id_apple(uint64_t value) {
1714 if (!_internal_has_thread_id_apple()) {
1715 clear_t_id();
1716 set_has_thread_id_apple();
1717 }
1718 _impl_.t_id_.thread_id_apple_ = value;
1719}
1720inline uint64_t ThreadHealth::thread_id_apple() const {
1721 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ThreadHealth.thread_id_apple)
1722 return _internal_thread_id_apple();
1723}
1724inline void ThreadHealth::set_thread_id_apple(uint64_t value) {
1725 _internal_set_thread_id_apple(value);
1726 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.ThreadHealth.thread_id_apple)
1727}
1728
1729// optional int32 uid = 3;
1730inline bool ThreadHealth::_internal_has_uid() const {
1731 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1732 return value;
1733}
1734inline bool ThreadHealth::has_uid() const {
1735 return _internal_has_uid();
1736}
1737inline void ThreadHealth::clear_uid() {
1738 _impl_.uid_ = 0;
1739 _impl_._has_bits_[0] &= ~0x00000004u;
1740}
1741inline int32_t ThreadHealth::_internal_uid() const {
1742 return _impl_.uid_;
1743}
1744inline int32_t ThreadHealth::uid() const {
1745 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ThreadHealth.uid)
1746 return _internal_uid();
1747}
1748inline void ThreadHealth::_internal_set_uid(int32_t value) {
1749 _impl_._has_bits_[0] |= 0x00000004u;
1750 _impl_.uid_ = value;
1751}
1752inline void ThreadHealth::set_uid(int32_t value) {
1753 _internal_set_uid(value);
1754 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.ThreadHealth.uid)
1755}
1756
1757// required .goby.middleware.protobuf.HealthState state = 10;
1758inline bool ThreadHealth::_internal_has_state() const {
1759 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1760 return value;
1761}
1762inline bool ThreadHealth::has_state() const {
1763 return _internal_has_state();
1764}
1765inline void ThreadHealth::clear_state() {
1766 _impl_.state_ = 1;
1767 _impl_._has_bits_[0] &= ~0x00000008u;
1768}
1769inline ::goby::middleware::protobuf::HealthState ThreadHealth::_internal_state() const {
1770 return static_cast< ::goby::middleware::protobuf::HealthState >(_impl_.state_);
1771}
1772inline ::goby::middleware::protobuf::HealthState ThreadHealth::state() const {
1773 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ThreadHealth.state)
1774 return _internal_state();
1775}
1776inline void ThreadHealth::_internal_set_state(::goby::middleware::protobuf::HealthState value) {
1778 _impl_._has_bits_[0] |= 0x00000008u;
1779 _impl_.state_ = value;
1780}
1781inline void ThreadHealth::set_state(::goby::middleware::protobuf::HealthState value) {
1782 _internal_set_state(value);
1783 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.ThreadHealth.state)
1784}
1785
1786// repeated .goby.middleware.protobuf.ThreadHealth child = 11;
1787inline int ThreadHealth::_internal_child_size() const {
1788 return _impl_.child_.size();
1789}
1790inline int ThreadHealth::child_size() const {
1791 return _internal_child_size();
1792}
1793inline void ThreadHealth::clear_child() {
1794 _impl_.child_.Clear();
1795}
1796inline ::goby::middleware::protobuf::ThreadHealth* ThreadHealth::mutable_child(int index) {
1797 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.ThreadHealth.child)
1798 return _impl_.child_.Mutable(index);
1799}
1800inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ThreadHealth >*
1801ThreadHealth::mutable_child() {
1802 // @@protoc_insertion_point(field_mutable_list:goby.middleware.protobuf.ThreadHealth.child)
1803 return &_impl_.child_;
1804}
1805inline const ::goby::middleware::protobuf::ThreadHealth& ThreadHealth::_internal_child(int index) const {
1806 return _impl_.child_.Get(index);
1807}
1808inline const ::goby::middleware::protobuf::ThreadHealth& ThreadHealth::child(int index) const {
1809 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ThreadHealth.child)
1810 return _internal_child(index);
1811}
1812inline ::goby::middleware::protobuf::ThreadHealth* ThreadHealth::_internal_add_child() {
1813 return _impl_.child_.Add();
1814}
1815inline ::goby::middleware::protobuf::ThreadHealth* ThreadHealth::add_child() {
1816 ::goby::middleware::protobuf::ThreadHealth* _add = _internal_add_child();
1817 // @@protoc_insertion_point(field_add:goby.middleware.protobuf.ThreadHealth.child)
1818 return _add;
1819}
1820inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ThreadHealth >&
1821ThreadHealth::child() const {
1822 // @@protoc_insertion_point(field_list:goby.middleware.protobuf.ThreadHealth.child)
1823 return _impl_.child_;
1824}
1825
1826// optional .goby.middleware.protobuf.Error error = 20;
1827inline bool ThreadHealth::_internal_has_error() const {
1828 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1829 return value;
1830}
1831inline bool ThreadHealth::has_error() const {
1832 return _internal_has_error();
1833}
1834inline void ThreadHealth::clear_error() {
1835 _impl_.error_ = 1;
1836 _impl_._has_bits_[0] &= ~0x00000010u;
1837}
1838inline ::goby::middleware::protobuf::Error ThreadHealth::_internal_error() const {
1839 return static_cast< ::goby::middleware::protobuf::Error >(_impl_.error_);
1840}
1841inline ::goby::middleware::protobuf::Error ThreadHealth::error() const {
1842 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ThreadHealth.error)
1843 return _internal_error();
1844}
1845inline void ThreadHealth::_internal_set_error(::goby::middleware::protobuf::Error value) {
1847 _impl_._has_bits_[0] |= 0x00000010u;
1848 _impl_.error_ = value;
1849}
1850inline void ThreadHealth::set_error(::goby::middleware::protobuf::Error value) {
1851 _internal_set_error(value);
1852 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.ThreadHealth.error)
1853}
1854
1855// optional string error_message = 21;
1856inline bool ThreadHealth::_internal_has_error_message() const {
1857 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1858 return value;
1859}
1860inline bool ThreadHealth::has_error_message() const {
1861 return _internal_has_error_message();
1862}
1863inline void ThreadHealth::clear_error_message() {
1864 _impl_.error_message_.ClearToEmpty();
1865 _impl_._has_bits_[0] &= ~0x00000002u;
1866}
1867inline const std::string& ThreadHealth::error_message() const {
1868 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ThreadHealth.error_message)
1869 return _internal_error_message();
1870}
1871template <typename ArgT0, typename... ArgT>
1872inline PROTOBUF_ALWAYS_INLINE
1873void ThreadHealth::set_error_message(ArgT0&& arg0, ArgT... args) {
1874 _impl_._has_bits_[0] |= 0x00000002u;
1875 _impl_.error_message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1876 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.ThreadHealth.error_message)
1877}
1878inline std::string* ThreadHealth::mutable_error_message() {
1879 std::string* _s = _internal_mutable_error_message();
1880 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.ThreadHealth.error_message)
1881 return _s;
1882}
1883inline const std::string& ThreadHealth::_internal_error_message() const {
1884 return _impl_.error_message_.Get();
1885}
1886inline void ThreadHealth::_internal_set_error_message(const std::string& value) {
1887 _impl_._has_bits_[0] |= 0x00000002u;
1888 _impl_.error_message_.Set(value, GetArenaForAllocation());
1889}
1890inline std::string* ThreadHealth::_internal_mutable_error_message() {
1891 _impl_._has_bits_[0] |= 0x00000002u;
1892 return _impl_.error_message_.Mutable(GetArenaForAllocation());
1893}
1894inline std::string* ThreadHealth::release_error_message() {
1895 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.ThreadHealth.error_message)
1896 if (!_internal_has_error_message()) {
1897 return nullptr;
1898 }
1899 _impl_._has_bits_[0] &= ~0x00000002u;
1900 auto* p = _impl_.error_message_.Release();
1901#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1902 if (_impl_.error_message_.IsDefault()) {
1903 _impl_.error_message_.Set("", GetArenaForAllocation());
1904 }
1905#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1906 return p;
1907}
1908inline void ThreadHealth::set_allocated_error_message(std::string* error_message) {
1909 if (error_message != nullptr) {
1910 _impl_._has_bits_[0] |= 0x00000002u;
1911 } else {
1912 _impl_._has_bits_[0] &= ~0x00000002u;
1913 }
1914 _impl_.error_message_.SetAllocated(error_message, GetArenaForAllocation());
1915#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1916 if (_impl_.error_message_.IsDefault()) {
1917 _impl_.error_message_.Set("", GetArenaForAllocation());
1918 }
1919#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1920 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.ThreadHealth.error_message)
1921}
1922
1923inline bool ThreadHealth::has_t_id() const {
1924 return t_id_case() != T_ID_NOT_SET;
1925}
1926inline void ThreadHealth::clear_has_t_id() {
1927 _impl_._oneof_case_[0] = T_ID_NOT_SET;
1928}
1929inline ThreadHealth::TIdCase ThreadHealth::t_id_case() const {
1930 return ThreadHealth::TIdCase(_impl_._oneof_case_[0]);
1931}
1932// -------------------------------------------------------------------
1933
1934// ProcessHealth
1935
1936// required string name = 1;
1937inline bool ProcessHealth::_internal_has_name() const {
1938 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1939 return value;
1940}
1941inline bool ProcessHealth::has_name() const {
1942 return _internal_has_name();
1943}
1944inline void ProcessHealth::clear_name() {
1945 _impl_.name_.ClearToEmpty();
1946 _impl_._has_bits_[0] &= ~0x00000001u;
1947}
1948inline const std::string& ProcessHealth::name() const {
1949 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ProcessHealth.name)
1950 return _internal_name();
1951}
1952template <typename ArgT0, typename... ArgT>
1953inline PROTOBUF_ALWAYS_INLINE
1954void ProcessHealth::set_name(ArgT0&& arg0, ArgT... args) {
1955 _impl_._has_bits_[0] |= 0x00000001u;
1956 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1957 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.ProcessHealth.name)
1958}
1959inline std::string* ProcessHealth::mutable_name() {
1960 std::string* _s = _internal_mutable_name();
1961 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.ProcessHealth.name)
1962 return _s;
1963}
1964inline const std::string& ProcessHealth::_internal_name() const {
1965 return _impl_.name_.Get();
1966}
1967inline void ProcessHealth::_internal_set_name(const std::string& value) {
1968 _impl_._has_bits_[0] |= 0x00000001u;
1969 _impl_.name_.Set(value, GetArenaForAllocation());
1970}
1971inline std::string* ProcessHealth::_internal_mutable_name() {
1972 _impl_._has_bits_[0] |= 0x00000001u;
1973 return _impl_.name_.Mutable(GetArenaForAllocation());
1974}
1975inline std::string* ProcessHealth::release_name() {
1976 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.ProcessHealth.name)
1977 if (!_internal_has_name()) {
1978 return nullptr;
1979 }
1980 _impl_._has_bits_[0] &= ~0x00000001u;
1981 auto* p = _impl_.name_.Release();
1982#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1983 if (_impl_.name_.IsDefault()) {
1984 _impl_.name_.Set("", GetArenaForAllocation());
1985 }
1986#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1987 return p;
1988}
1989inline void ProcessHealth::set_allocated_name(std::string* name) {
1990 if (name != nullptr) {
1991 _impl_._has_bits_[0] |= 0x00000001u;
1992 } else {
1993 _impl_._has_bits_[0] &= ~0x00000001u;
1994 }
1995 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1996#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1997 if (_impl_.name_.IsDefault()) {
1998 _impl_.name_.Set("", GetArenaForAllocation());
1999 }
2000#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2001 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.ProcessHealth.name)
2002}
2003
2004// optional uint32 pid = 2;
2005inline bool ProcessHealth::_internal_has_pid() const {
2006 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2007 return value;
2008}
2009inline bool ProcessHealth::has_pid() const {
2010 return _internal_has_pid();
2011}
2012inline void ProcessHealth::clear_pid() {
2013 _impl_.pid_ = 0u;
2014 _impl_._has_bits_[0] &= ~0x00000004u;
2015}
2016inline uint32_t ProcessHealth::_internal_pid() const {
2017 return _impl_.pid_;
2018}
2019inline uint32_t ProcessHealth::pid() const {
2020 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ProcessHealth.pid)
2021 return _internal_pid();
2022}
2023inline void ProcessHealth::_internal_set_pid(uint32_t value) {
2024 _impl_._has_bits_[0] |= 0x00000004u;
2025 _impl_.pid_ = value;
2026}
2027inline void ProcessHealth::set_pid(uint32_t value) {
2028 _internal_set_pid(value);
2029 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.ProcessHealth.pid)
2030}
2031
2032// required .goby.middleware.protobuf.ThreadHealth main = 10;
2033inline bool ProcessHealth::_internal_has_main() const {
2034 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2035 PROTOBUF_ASSUME(!value || _impl_.main_ != nullptr);
2036 return value;
2037}
2038inline bool ProcessHealth::has_main() const {
2039 return _internal_has_main();
2040}
2041inline void ProcessHealth::clear_main() {
2042 if (_impl_.main_ != nullptr) _impl_.main_->Clear();
2043 _impl_._has_bits_[0] &= ~0x00000002u;
2044}
2045inline const ::goby::middleware::protobuf::ThreadHealth& ProcessHealth::_internal_main() const {
2046 const ::goby::middleware::protobuf::ThreadHealth* p = _impl_.main_;
2047 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::ThreadHealth&>(
2049}
2050inline const ::goby::middleware::protobuf::ThreadHealth& ProcessHealth::main() const {
2051 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.ProcessHealth.main)
2052 return _internal_main();
2053}
2054inline void ProcessHealth::unsafe_arena_set_allocated_main(
2056 if (GetArenaForAllocation() == nullptr) {
2057 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.main_);
2058 }
2059 _impl_.main_ = main;
2060 if (main) {
2061 _impl_._has_bits_[0] |= 0x00000002u;
2062 } else {
2063 _impl_._has_bits_[0] &= ~0x00000002u;
2064 }
2065 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.protobuf.ProcessHealth.main)
2066}
2067inline ::goby::middleware::protobuf::ThreadHealth* ProcessHealth::release_main() {
2068 _impl_._has_bits_[0] &= ~0x00000002u;
2069 ::goby::middleware::protobuf::ThreadHealth* temp = _impl_.main_;
2070 _impl_.main_ = nullptr;
2071#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2072 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2073 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2074 if (GetArenaForAllocation() == nullptr) { delete old; }
2075#else // PROTOBUF_FORCE_COPY_IN_RELEASE
2076 if (GetArenaForAllocation() != nullptr) {
2077 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2078 }
2079#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2080 return temp;
2081}
2082inline ::goby::middleware::protobuf::ThreadHealth* ProcessHealth::unsafe_arena_release_main() {
2083 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.ProcessHealth.main)
2084 _impl_._has_bits_[0] &= ~0x00000002u;
2085 ::goby::middleware::protobuf::ThreadHealth* temp = _impl_.main_;
2086 _impl_.main_ = nullptr;
2087 return temp;
2088}
2089inline ::goby::middleware::protobuf::ThreadHealth* ProcessHealth::_internal_mutable_main() {
2090 _impl_._has_bits_[0] |= 0x00000002u;
2091 if (_impl_.main_ == nullptr) {
2092 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::ThreadHealth>(GetArenaForAllocation());
2093 _impl_.main_ = p;
2094 }
2095 return _impl_.main_;
2096}
2097inline ::goby::middleware::protobuf::ThreadHealth* ProcessHealth::mutable_main() {
2098 ::goby::middleware::protobuf::ThreadHealth* _msg = _internal_mutable_main();
2099 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.ProcessHealth.main)
2100 return _msg;
2101}
2102inline void ProcessHealth::set_allocated_main(::goby::middleware::protobuf::ThreadHealth* main) {
2103 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2104 if (message_arena == nullptr) {
2105 delete _impl_.main_;
2106 }
2107 if (main) {
2108 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2109 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(main);
2110 if (message_arena != submessage_arena) {
2111 main = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2112 message_arena, main, submessage_arena);
2113 }
2114 _impl_._has_bits_[0] |= 0x00000002u;
2115 } else {
2116 _impl_._has_bits_[0] &= ~0x00000002u;
2117 }
2118 _impl_.main_ = main;
2119 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.ProcessHealth.main)
2120}
2121
2122// -------------------------------------------------------------------
2123
2124// VehicleHealth
2125
2126// required uint64 time = 1 [(.dccl.field) = {
2127inline bool VehicleHealth::_internal_has_time() const {
2128 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2129 return value;
2130}
2131inline bool VehicleHealth::has_time() const {
2132 return _internal_has_time();
2133}
2134inline void VehicleHealth::clear_time() {
2135 _impl_.time_ = uint64_t{0u};
2136 _impl_._has_bits_[0] &= ~0x00000002u;
2137}
2138inline uint64_t VehicleHealth::_internal_time() const {
2139 return _impl_.time_;
2140}
2141inline uint64_t VehicleHealth::time() const {
2142 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.VehicleHealth.time)
2143 return _internal_time();
2144}
2145inline void VehicleHealth::_internal_set_time(uint64_t value) {
2146 _impl_._has_bits_[0] |= 0x00000002u;
2147 _impl_.time_ = value;
2148}
2149inline void VehicleHealth::set_time(uint64_t value) {
2150 _internal_set_time(value);
2151 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.VehicleHealth.time)
2152}
2153
2154// required string platform = 2;
2155inline bool VehicleHealth::_internal_has_platform() const {
2156 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2157 return value;
2158}
2159inline bool VehicleHealth::has_platform() const {
2160 return _internal_has_platform();
2161}
2162inline void VehicleHealth::clear_platform() {
2163 _impl_.platform_.ClearToEmpty();
2164 _impl_._has_bits_[0] &= ~0x00000001u;
2165}
2166inline const std::string& VehicleHealth::platform() const {
2167 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.VehicleHealth.platform)
2168 return _internal_platform();
2169}
2170template <typename ArgT0, typename... ArgT>
2171inline PROTOBUF_ALWAYS_INLINE
2172void VehicleHealth::set_platform(ArgT0&& arg0, ArgT... args) {
2173 _impl_._has_bits_[0] |= 0x00000001u;
2174 _impl_.platform_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2175 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.VehicleHealth.platform)
2176}
2177inline std::string* VehicleHealth::mutable_platform() {
2178 std::string* _s = _internal_mutable_platform();
2179 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.VehicleHealth.platform)
2180 return _s;
2181}
2182inline const std::string& VehicleHealth::_internal_platform() const {
2183 return _impl_.platform_.Get();
2184}
2185inline void VehicleHealth::_internal_set_platform(const std::string& value) {
2186 _impl_._has_bits_[0] |= 0x00000001u;
2187 _impl_.platform_.Set(value, GetArenaForAllocation());
2188}
2189inline std::string* VehicleHealth::_internal_mutable_platform() {
2190 _impl_._has_bits_[0] |= 0x00000001u;
2191 return _impl_.platform_.Mutable(GetArenaForAllocation());
2192}
2193inline std::string* VehicleHealth::release_platform() {
2194 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.VehicleHealth.platform)
2195 if (!_internal_has_platform()) {
2196 return nullptr;
2197 }
2198 _impl_._has_bits_[0] &= ~0x00000001u;
2199 auto* p = _impl_.platform_.Release();
2200#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2201 if (_impl_.platform_.IsDefault()) {
2202 _impl_.platform_.Set("", GetArenaForAllocation());
2203 }
2204#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2205 return p;
2206}
2207inline void VehicleHealth::set_allocated_platform(std::string* platform) {
2208 if (platform != nullptr) {
2209 _impl_._has_bits_[0] |= 0x00000001u;
2210 } else {
2211 _impl_._has_bits_[0] &= ~0x00000001u;
2212 }
2213 _impl_.platform_.SetAllocated(platform, GetArenaForAllocation());
2214#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2215 if (_impl_.platform_.IsDefault()) {
2216 _impl_.platform_.Set("", GetArenaForAllocation());
2217 }
2218#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2219 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.VehicleHealth.platform)
2220}
2221
2222// required .goby.middleware.protobuf.HealthState state = 10;
2223inline bool VehicleHealth::_internal_has_state() const {
2224 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2225 return value;
2226}
2227inline bool VehicleHealth::has_state() const {
2228 return _internal_has_state();
2229}
2230inline void VehicleHealth::clear_state() {
2231 _impl_.state_ = 1;
2232 _impl_._has_bits_[0] &= ~0x00000004u;
2233}
2234inline ::goby::middleware::protobuf::HealthState VehicleHealth::_internal_state() const {
2235 return static_cast< ::goby::middleware::protobuf::HealthState >(_impl_.state_);
2236}
2237inline ::goby::middleware::protobuf::HealthState VehicleHealth::state() const {
2238 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.VehicleHealth.state)
2239 return _internal_state();
2240}
2241inline void VehicleHealth::_internal_set_state(::goby::middleware::protobuf::HealthState value) {
2243 _impl_._has_bits_[0] |= 0x00000004u;
2244 _impl_.state_ = value;
2245}
2246inline void VehicleHealth::set_state(::goby::middleware::protobuf::HealthState value) {
2247 _internal_set_state(value);
2248 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.VehicleHealth.state)
2249}
2250
2251// repeated .goby.middleware.protobuf.ProcessHealth process = 11;
2252inline int VehicleHealth::_internal_process_size() const {
2253 return _impl_.process_.size();
2254}
2255inline int VehicleHealth::process_size() const {
2256 return _internal_process_size();
2257}
2258inline void VehicleHealth::clear_process() {
2259 _impl_.process_.Clear();
2260}
2261inline ::goby::middleware::protobuf::ProcessHealth* VehicleHealth::mutable_process(int index) {
2262 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.VehicleHealth.process)
2263 return _impl_.process_.Mutable(index);
2264}
2265inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ProcessHealth >*
2266VehicleHealth::mutable_process() {
2267 // @@protoc_insertion_point(field_mutable_list:goby.middleware.protobuf.VehicleHealth.process)
2268 return &_impl_.process_;
2269}
2270inline const ::goby::middleware::protobuf::ProcessHealth& VehicleHealth::_internal_process(int index) const {
2271 return _impl_.process_.Get(index);
2272}
2273inline const ::goby::middleware::protobuf::ProcessHealth& VehicleHealth::process(int index) const {
2274 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.VehicleHealth.process)
2275 return _internal_process(index);
2276}
2277inline ::goby::middleware::protobuf::ProcessHealth* VehicleHealth::_internal_add_process() {
2278 return _impl_.process_.Add();
2279}
2280inline ::goby::middleware::protobuf::ProcessHealth* VehicleHealth::add_process() {
2281 ::goby::middleware::protobuf::ProcessHealth* _add = _internal_add_process();
2282 // @@protoc_insertion_point(field_add:goby.middleware.protobuf.VehicleHealth.process)
2283 return _add;
2284}
2285inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::ProcessHealth >&
2286VehicleHealth::process() const {
2287 // @@protoc_insertion_point(field_list:goby.middleware.protobuf.VehicleHealth.process)
2288 return _impl_.process_;
2289}
2290
2291#ifdef __GNUC__
2292 #pragma GCC diagnostic pop
2293#endif // __GNUC__
2294// -------------------------------------------------------------------
2295
2296// -------------------------------------------------------------------
2297
2298// -------------------------------------------------------------------
2299
2300
2301// @@protoc_insertion_point(namespace_scope)
2302
2303} // namespace protobuf
2304} // namespace middleware
2305} // namespace goby
2306
2307PROTOBUF_NAMESPACE_OPEN
2308
2309template <> struct is_proto_enum< ::goby::middleware::protobuf::HealthState> : ::std::true_type {};
2310template <>
2312 return ::goby::middleware::protobuf::HealthState_descriptor();
2313}
2314template <> struct is_proto_enum< ::goby::middleware::protobuf::Error> : ::std::true_type {};
2315template <>
2317 return ::goby::middleware::protobuf::Error_descriptor();
2318}
2319
2320PROTOBUF_NAMESPACE_CLOSE
2321
2322// @@protoc_insertion_point(global_scope)
2323
2324#include <google/protobuf/port_undef.inc>
2325#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition coroner.pb.h:163
PROTOBUF_CONSTEXPR HealthRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
HealthRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
HealthRequest & operator=(HealthRequest &&from) noexcept
Definition coroner.pb.h:149
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition coroner.pb.h:176
static const HealthRequest * internal_default_instance()
Definition coroner.pb.h:182
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition coroner.pb.h:170
friend void swap(HealthRequest &a, HealthRequest &b)
Definition coroner.pb.h:189
void MergeFrom(const HealthRequest &from)
Definition coroner.pb.h:221
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition coroner.pb.h:166
HealthRequest(const HealthRequest &from)
void UnsafeArenaSwap(HealthRequest *other)
Definition coroner.pb.h:205
HealthRequest & operator=(const HealthRequest &from)
Definition coroner.pb.h:145
void CopyFrom(const HealthRequest &from)
Definition coroner.pb.h:217
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
Definition coroner.pb.h:249
HealthRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition coroner.pb.h:213
void Swap(HealthRequest *other)
Definition coroner.pb.h:192
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition coroner.pb.h:173
static const HealthRequest & default_instance()
Definition coroner.pb.h:179
HealthRequest(HealthRequest &&from) noexcept
Definition coroner.pb.h:140
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition coroner.pb.h:786
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
Definition coroner.pb.h:967
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition coroner.pb.h:796
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition coroner.pb.h:783
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition coroner.pb.h:793
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
ProcessHealth(ProcessHealth &&from) noexcept
Definition coroner.pb.h:760
ProcessHealth * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition coroner.pb.h:833
void MergeFrom(const ProcessHealth &from)
Definition coroner.pb.h:839
ProcessHealth & operator=(ProcessHealth &&from) noexcept
Definition coroner.pb.h:769
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition coroner.pb.h:790
static const ProcessHealth & default_instance()
Definition coroner.pb.h:799
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_name(ArgT0 &&arg0, ArgT... args)
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
Definition coroner.pb.h:989
ProcessHealth(const ProcessHealth &from)
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
Definition coroner.pb.h:947
static const ProcessHealth * internal_default_instance()
Definition coroner.pb.h:802
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
Definition coroner.pb.h:957
ProcessHealth & operator=(const ProcessHealth &from)
Definition coroner.pb.h:765
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
friend void swap(ProcessHealth &a, ProcessHealth &b)
Definition coroner.pb.h:809
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
Definition coroner.pb.h:978
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
ProcessHealth(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_CONSTEXPR ProcessHealth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(ProcessHealth *other)
Definition coroner.pb.h:825
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
Definition coroner.pb.h:937
void Swap(ProcessHealth *other)
Definition coroner.pb.h:812
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ProcessHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
void CopyFrom(const ProcessHealth &from)
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
Definition coroner.pb.h:576
ThreadHealth(ThreadHealth &&from) noexcept
Definition coroner.pb.h:266
void CopyFrom(const ThreadHealth &from)
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
Definition coroner.pb.h:622
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
Definition coroner.pb.h:544
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition coroner.pb.h:292
PROTOBUF_CONSTEXPR ThreadHealth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
Definition coroner.pb.h:678
void set_error_message(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition coroner.pb.h:296
void UnsafeArenaSwap(ThreadHealth *other)
Definition coroner.pb.h:337
void set_name(ArgT0 &&arg0, ArgT... args)
ThreadHealth(const ThreadHealth &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition coroner.pb.h:302
ThreadHealth(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ThreadHealth * internal_default_instance()
Definition coroner.pb.h:314
friend void swap(ThreadHealth &a, ThreadHealth &b)
Definition coroner.pb.h:321
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
Definition coroner.pb.h:554
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
Definition coroner.pb.h:633
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
Definition coroner.pb.h:611
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
Definition coroner.pb.h:655
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
Definition coroner.pb.h:565
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
Definition coroner.pb.h:534
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
Definition coroner.pb.h:691
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
Definition coroner.pb.h:644
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition coroner.pb.h:299
void MergeFrom(const ThreadHealth &from)
Definition coroner.pb.h:351
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
Definition coroner.pb.h:598
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
Definition coroner.pb.h:587
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
ThreadHealth & operator=(ThreadHealth &&from) noexcept
Definition coroner.pb.h:275
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
Definition coroner.pb.h:524
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
ThreadHealth * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition coroner.pb.h:345
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition coroner.pb.h:289
static const ThreadHealth & default_instance()
Definition coroner.pb.h:305
ThreadHealth & operator=(const ThreadHealth &from)
Definition coroner.pb.h:271
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
Definition coroner.pb.h:666
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ThreadHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
Definition coroner.pb.h:702
void set_platform(ArgT0 &&arg0, ArgT... args)
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
void CopyFrom(const VehicleHealth &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
VehicleHealth(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
void MergeFrom(const VehicleHealth &from)
PROTOBUF_CONSTEXPR VehicleHealth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
VehicleHealth & operator=(VehicleHealth &&from) noexcept
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
static const VehicleHealth * internal_default_instance()
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
VehicleHealth(VehicleHealth &&from) noexcept
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
VehicleHealth * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
friend void swap(VehicleHealth &a, VehicleHealth &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
void set_time_with_units(Quantity value_w_units)
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
VehicleHealth(const VehicleHealth &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id) const
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type time_dimension
VehicleHealth & operator=(const VehicleHealth &from)
static const VehicleHealth & default_instance()
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id)
void UnsafeArenaSwap(VehicleHealth *other)
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< VehicleHealth, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
::goby::middleware::protobuf::ThreadHealth * Arena::CreateMaybeMessage<::goby::middleware::protobuf::ThreadHealth >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::goby::middleware::protobuf::Error >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fcoroner_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::middleware::protobuf::HealthState >()
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Error_descriptor()
bool Error_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Error *value)
Definition coroner.pb.h:126
const std::string & Error_Name(T enum_t_value)
Definition coroner.pb.h:119
HealthRequestDefaultTypeInternal _HealthRequest_default_instance_
ProcessHealthDefaultTypeInternal _ProcessHealth_default_instance_
VehicleHealthDefaultTypeInternal _VehicleHealth_default_instance_
ThreadHealthDefaultTypeInternal _ThreadHealth_default_instance_
bool Error_IsValid(int value)
constexpr HealthState HealthState_MIN
Definition coroner.pb.h:90
constexpr Error Error_MAX
Definition coroner.pb.h:114
constexpr int Error_ARRAYSIZE
Definition coroner.pb.h:115
bool HealthState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HealthState *value)
Definition coroner.pb.h:103
constexpr Error Error_MIN
Definition coroner.pb.h:113
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * HealthState_descriptor()
constexpr int HealthState_ARRAYSIZE
Definition coroner.pb.h:92
constexpr HealthState HealthState_MAX
Definition coroner.pb.h:91
const std::string & HealthState_Name(T enum_t_value)
Definition coroner.pb.h:96
bool HealthState_IsValid(int value)
std::string thread_id(std::thread::id i=std::this_thread::get_id())
Definition common.h:53
The global namespace for the Goby project.
#define ByteSizeLong
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
Definition coroner.pb.h:740