Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
basic_node_report.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/test/unit/moos/translator1/basic_node_report.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2funit_2fmoos_2ftranslator1_2fbasic_5fnode_5freport_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2funit_2fmoos_2ftranslator1_2fbasic_5fnode_5freport_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_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
33#include <boost/units/quantity.hpp>
34#include <boost/units/absolute.hpp>
35#include <boost/units/dimensionless_type.hpp>
36#include <boost/units/make_scaled_unit.hpp>
37// @@protoc_insertion_point(includes)
38#include <google/protobuf/port_def.inc>
39#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2funit_2fmoos_2ftranslator1_2fbasic_5fnode_5freport_2eproto
40PROTOBUF_NAMESPACE_OPEN
41namespace internal {
42class AnyMetadata;
43} // namespace internal
44PROTOBUF_NAMESPACE_CLOSE
45
46// Internal implementation detail -- do not use these members.
50extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2funit_2fmoos_2ftranslator1_2fbasic_5fnode_5freport_2eproto;
51namespace goby {
52namespace test {
53namespace moos {
54namespace protobuf {
55class BasicNodeReport;
56struct BasicNodeReportDefaultTypeInternal;
57extern BasicNodeReportDefaultTypeInternal _BasicNodeReport_default_instance_;
58} // namespace protobuf
59} // namespace moos
60} // namespace test
61} // namespace goby
62PROTOBUF_NAMESPACE_OPEN
63template<> ::goby::test::moos::protobuf::BasicNodeReport* Arena::CreateMaybeMessage<::goby::test::moos::protobuf::BasicNodeReport>(Arena*);
64PROTOBUF_NAMESPACE_CLOSE
65namespace goby {
66namespace test {
67namespace moos {
68namespace protobuf {
69
70// ===================================================================
71
72class BasicNodeReport final :
73 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.moos.protobuf.BasicNodeReport) */ {
74 public:
75 inline BasicNodeReport() : BasicNodeReport(nullptr) {}
76 ~BasicNodeReport() override;
77 explicit PROTOBUF_CONSTEXPR BasicNodeReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
78
81 : BasicNodeReport() {
82 *this = ::std::move(from);
83 }
84
86 CopyFrom(from);
87 return *this;
88 }
89 inline BasicNodeReport& operator=(BasicNodeReport&& from) noexcept {
90 if (this == &from) return *this;
91 if (GetOwningArena() == from.GetOwningArena()
92 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
93 && GetOwningArena() != nullptr
94 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
95 ) {
96 InternalSwap(&from);
97 } else {
98 CopyFrom(from);
99 }
100 return *this;
101 }
102
103 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
104 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
105 }
106 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
107 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
108 }
109
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
111 return GetDescriptor();
112 }
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
114 return default_instance().GetMetadata().descriptor;
115 }
116 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
117 return default_instance().GetMetadata().reflection;
118 }
121 }
123 return reinterpret_cast<const BasicNodeReport*>(
125 }
126 static constexpr int kIndexInFileMessages =
127 0;
128
130 a.Swap(&b);
131 }
132 inline void Swap(BasicNodeReport* other) {
133 if (other == this) return;
134 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
135 if (GetOwningArena() != nullptr &&
136 GetOwningArena() == other->GetOwningArena()) {
137 #else // PROTOBUF_FORCE_COPY_IN_SWAP
138 if (GetOwningArena() == other->GetOwningArena()) {
139 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
140 InternalSwap(other);
141 } else {
142 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
143 }
144 }
146 if (other == this) return;
147 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
148 InternalSwap(other);
149 }
150
151 // implements Message ----------------------------------------------
152
153 BasicNodeReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
154 return CreateMaybeMessage<BasicNodeReport>(arena);
155 }
156 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
157 void CopyFrom(const BasicNodeReport& from);
158 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
159 void MergeFrom( const BasicNodeReport& from) {
160 BasicNodeReport::MergeImpl(*this, from);
161 }
162 private:
163 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
164 public:
165 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
166 bool IsInitialized() const final;
167
168 size_t ByteSizeLong() const final;
169 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
171 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
173
174 private:
175 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
176 void SharedDtor();
177 void SetCachedSize(int size) const final;
178 void InternalSwap(BasicNodeReport* other);
179
180 private:
181 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183 return "goby.test.moos.protobuf.BasicNodeReport";
184 }
185 protected:
186 explicit BasicNodeReport(::PROTOBUF_NAMESPACE_ID::Arena* arena,
187 bool is_message_owned = false);
188 public:
189
190 static const ClassData _class_data_;
191 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
192
193 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
194
195 // nested types ----------------------------------------------------
196
197 // accessors -------------------------------------------------------
198
199 enum : int {
211 };
212 // repeated int32 repeat = 10;
213 int repeat_size() const;
214 private:
215 int _internal_repeat_size() const;
216 public:
217 void clear_repeat();
218 private:
219 int32_t _internal_repeat(int index) const;
220 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
221 _internal_repeat() const;
222 void _internal_add_repeat(int32_t value);
223 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
224 _internal_mutable_repeat();
225 public:
226 int32_t repeat(int index) const;
227 void set_repeat(int index, int32_t value);
228 void add_repeat(int32_t value);
229 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
230 repeat() const;
231 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
233
234 // optional string Name = 1;
235 bool has_name() const;
236 private:
237 bool _internal_has_name() const;
238 public:
239 void clear_name();
240 const std::string& name() const;
241 template <typename ArgT0 = const std::string&, typename... ArgT>
242 void set_name(ArgT0&& arg0, ArgT... args);
243 std::string* mutable_name();
244 PROTOBUF_NODISCARD std::string* release_name();
245 void set_allocated_name(std::string* name);
246 private:
247 const std::string& _internal_name() const;
248 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
249 std::string* _internal_mutable_name();
250 public:
251
252 // optional double y = 3;
253 bool has_y() const;
254 private:
255 bool _internal_has_y() const;
256 public:
257 void clear_y();
258 double y() const;
259 void set_y(double value);
260 private:
261 double _internal_y() const;
262 void _internal_set_y(double value);
263 public:
264
265 // optional double speed = 4;
266 bool has_speed() const;
267 private:
268 bool _internal_has_speed() const;
269 public:
270 void clear_speed();
271 double speed() const;
272 void set_speed(double value);
273 private:
274 double _internal_speed() const;
275 void _internal_set_speed(double value);
276 public:
277
278 // optional double depth = 6;
279 bool has_depth() const;
280 private:
281 bool _internal_has_depth() const;
282 public:
283 void clear_depth();
284 double depth() const;
285 void set_depth(double value);
286 private:
287 double _internal_depth() const;
288 void _internal_set_depth(double value);
289 public:
290
291 // optional double altitude = 7;
292 bool has_altitude() const;
293 private:
294 bool _internal_has_altitude() const;
295 public:
296 void clear_altitude();
297 double altitude() const;
298 void set_altitude(double value);
299 private:
300 double _internal_altitude() const;
301 void _internal_set_altitude(double value);
302 public:
303
304 // optional double lat = 8;
305 bool has_lat() const;
306 private:
307 bool _internal_has_lat() const;
308 public:
309 void clear_lat();
310 double lat() const;
311 void set_lat(double value);
312 private:
313 double _internal_lat() const;
314 void _internal_set_lat(double value);
315 public:
316
317 // optional double lon = 9;
318 bool has_lon() const;
319 private:
320 bool _internal_has_lon() const;
321 public:
322 void clear_lon();
323 double lon() const;
324 void set_lon(double value);
325 private:
326 double _internal_lon() const;
327 void _internal_set_lon(double value);
328 public:
329
330 // optional double time = 200;
331 bool has_time() const;
332 private:
333 bool _internal_has_time() const;
334 public:
335 void clear_time();
336 double time() const;
337 void set_time(double value);
338 private:
339 double _internal_time() const;
340 void _internal_set_time(double value);
341 public:
342
343 // optional double heading = 201;
344 bool has_heading() const;
345 private:
346 bool _internal_has_heading() const;
347 public:
348 void clear_heading();
349 double heading() const;
350 void set_heading(double value);
351 private:
352 double _internal_heading() const;
353 void _internal_set_heading(double value);
354 public:
355
356 // optional double x = 202;
357 bool has_x() const;
358 private:
359 bool _internal_has_x() const;
360 public:
361 void clear_x();
362 double x() const;
363 void set_x(double value);
364 private:
365 double _internal_x() const;
366 void _internal_set_x(double value);
367 public:
368
369 // @@protoc_insertion_point(class_scope:goby.test.moos.protobuf.BasicNodeReport)
370 private:
371 class _Internal;
372
373 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
374 typedef void InternalArenaConstructable_;
375 typedef void DestructorSkippable_;
376 struct Impl_ {
377 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
378 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
379 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > repeat_;
380 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
381 double y_;
382 double speed_;
383 double depth_;
384 double altitude_;
385 double lat_;
386 double lon_;
387 double time_;
388 double heading_;
389 double x_;
390 };
391 union { Impl_ _impl_; };
392 friend struct ::TableStruct_goby_2ftest_2funit_2fmoos_2ftranslator1_2fbasic_5fnode_5freport_2eproto;
393};
394// ===================================================================
395
396
397// ===================================================================
398
399#ifdef __GNUC__
400 #pragma GCC diagnostic push
401 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
402#endif // __GNUC__
403// BasicNodeReport
404
405// optional string Name = 1;
406inline bool BasicNodeReport::_internal_has_name() const {
407 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
408 return value;
409}
410inline bool BasicNodeReport::has_name() const {
411 return _internal_has_name();
412}
414 _impl_.name_.ClearToEmpty();
415 _impl_._has_bits_[0] &= ~0x00000001u;
416}
417inline const std::string& BasicNodeReport::name() const {
418 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.Name)
419 return _internal_name();
420}
421template <typename ArgT0, typename... ArgT>
422inline PROTOBUF_ALWAYS_INLINE
423void BasicNodeReport::set_name(ArgT0&& arg0, ArgT... args) {
424 _impl_._has_bits_[0] |= 0x00000001u;
425 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
426 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.Name)
427}
428inline std::string* BasicNodeReport::mutable_name() {
429 std::string* _s = _internal_mutable_name();
430 // @@protoc_insertion_point(field_mutable:goby.test.moos.protobuf.BasicNodeReport.Name)
431 return _s;
432}
433inline const std::string& BasicNodeReport::_internal_name() const {
434 return _impl_.name_.Get();
435}
436inline void BasicNodeReport::_internal_set_name(const std::string& value) {
437 _impl_._has_bits_[0] |= 0x00000001u;
438 _impl_.name_.Set(value, GetArenaForAllocation());
439}
440inline std::string* BasicNodeReport::_internal_mutable_name() {
441 _impl_._has_bits_[0] |= 0x00000001u;
442 return _impl_.name_.Mutable(GetArenaForAllocation());
443}
444inline std::string* BasicNodeReport::release_name() {
445 // @@protoc_insertion_point(field_release:goby.test.moos.protobuf.BasicNodeReport.Name)
446 if (!_internal_has_name()) {
447 return nullptr;
448 }
449 _impl_._has_bits_[0] &= ~0x00000001u;
450 auto* p = _impl_.name_.Release();
451#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
452 if (_impl_.name_.IsDefault()) {
453 _impl_.name_.Set("", GetArenaForAllocation());
454 }
455#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
456 return p;
457}
458inline void BasicNodeReport::set_allocated_name(std::string* name) {
459 if (name != nullptr) {
460 _impl_._has_bits_[0] |= 0x00000001u;
461 } else {
462 _impl_._has_bits_[0] &= ~0x00000001u;
463 }
464 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
465#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
466 if (_impl_.name_.IsDefault()) {
467 _impl_.name_.Set("", GetArenaForAllocation());
468 }
469#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
470 // @@protoc_insertion_point(field_set_allocated:goby.test.moos.protobuf.BasicNodeReport.Name)
471}
472
473// optional double x = 202;
474inline bool BasicNodeReport::_internal_has_x() const {
475 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
476 return value;
477}
478inline bool BasicNodeReport::has_x() const {
479 return _internal_has_x();
480}
482 _impl_.x_ = 0;
483 _impl_._has_bits_[0] &= ~0x00000200u;
484}
485inline double BasicNodeReport::_internal_x() const {
486 return _impl_.x_;
487}
488inline double BasicNodeReport::x() const {
489 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.x)
490 return _internal_x();
491}
492inline void BasicNodeReport::_internal_set_x(double value) {
493 _impl_._has_bits_[0] |= 0x00000200u;
494 _impl_.x_ = value;
495}
496inline void BasicNodeReport::set_x(double value) {
497 _internal_set_x(value);
498 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.x)
499}
500
501// optional double y = 3;
502inline bool BasicNodeReport::_internal_has_y() const {
503 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
504 return value;
505}
506inline bool BasicNodeReport::has_y() const {
507 return _internal_has_y();
508}
510 _impl_.y_ = 0;
511 _impl_._has_bits_[0] &= ~0x00000002u;
512}
513inline double BasicNodeReport::_internal_y() const {
514 return _impl_.y_;
515}
516inline double BasicNodeReport::y() const {
517 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.y)
518 return _internal_y();
519}
520inline void BasicNodeReport::_internal_set_y(double value) {
521 _impl_._has_bits_[0] |= 0x00000002u;
522 _impl_.y_ = value;
523}
524inline void BasicNodeReport::set_y(double value) {
525 _internal_set_y(value);
526 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.y)
527}
528
529// optional double speed = 4;
530inline bool BasicNodeReport::_internal_has_speed() const {
531 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
532 return value;
533}
534inline bool BasicNodeReport::has_speed() const {
535 return _internal_has_speed();
536}
538 _impl_.speed_ = 0;
539 _impl_._has_bits_[0] &= ~0x00000004u;
540}
541inline double BasicNodeReport::_internal_speed() const {
542 return _impl_.speed_;
543}
544inline double BasicNodeReport::speed() const {
545 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.speed)
546 return _internal_speed();
547}
548inline void BasicNodeReport::_internal_set_speed(double value) {
549 _impl_._has_bits_[0] |= 0x00000004u;
550 _impl_.speed_ = value;
551}
552inline void BasicNodeReport::set_speed(double value) {
553 _internal_set_speed(value);
554 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.speed)
555}
556
557// optional double heading = 201;
558inline bool BasicNodeReport::_internal_has_heading() const {
559 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
560 return value;
561}
562inline bool BasicNodeReport::has_heading() const {
563 return _internal_has_heading();
564}
566 _impl_.heading_ = 0;
567 _impl_._has_bits_[0] &= ~0x00000100u;
568}
569inline double BasicNodeReport::_internal_heading() const {
570 return _impl_.heading_;
571}
572inline double BasicNodeReport::heading() const {
573 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.heading)
574 return _internal_heading();
575}
576inline void BasicNodeReport::_internal_set_heading(double value) {
577 _impl_._has_bits_[0] |= 0x00000100u;
578 _impl_.heading_ = value;
579}
580inline void BasicNodeReport::set_heading(double value) {
581 _internal_set_heading(value);
582 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.heading)
583}
584
585// optional double depth = 6;
586inline bool BasicNodeReport::_internal_has_depth() const {
587 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
588 return value;
589}
590inline bool BasicNodeReport::has_depth() const {
591 return _internal_has_depth();
592}
594 _impl_.depth_ = 0;
595 _impl_._has_bits_[0] &= ~0x00000008u;
596}
597inline double BasicNodeReport::_internal_depth() const {
598 return _impl_.depth_;
599}
600inline double BasicNodeReport::depth() const {
601 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.depth)
602 return _internal_depth();
603}
604inline void BasicNodeReport::_internal_set_depth(double value) {
605 _impl_._has_bits_[0] |= 0x00000008u;
606 _impl_.depth_ = value;
607}
608inline void BasicNodeReport::set_depth(double value) {
609 _internal_set_depth(value);
610 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.depth)
611}
612
613// optional double altitude = 7;
614inline bool BasicNodeReport::_internal_has_altitude() const {
615 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
616 return value;
617}
618inline bool BasicNodeReport::has_altitude() const {
619 return _internal_has_altitude();
620}
622 _impl_.altitude_ = 0;
623 _impl_._has_bits_[0] &= ~0x00000010u;
624}
625inline double BasicNodeReport::_internal_altitude() const {
626 return _impl_.altitude_;
627}
628inline double BasicNodeReport::altitude() const {
629 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.altitude)
630 return _internal_altitude();
631}
632inline void BasicNodeReport::_internal_set_altitude(double value) {
633 _impl_._has_bits_[0] |= 0x00000010u;
634 _impl_.altitude_ = value;
635}
636inline void BasicNodeReport::set_altitude(double value) {
637 _internal_set_altitude(value);
638 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.altitude)
639}
640
641// optional double lat = 8;
642inline bool BasicNodeReport::_internal_has_lat() const {
643 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
644 return value;
645}
646inline bool BasicNodeReport::has_lat() const {
647 return _internal_has_lat();
648}
650 _impl_.lat_ = 0;
651 _impl_._has_bits_[0] &= ~0x00000020u;
652}
653inline double BasicNodeReport::_internal_lat() const {
654 return _impl_.lat_;
655}
656inline double BasicNodeReport::lat() const {
657 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.lat)
658 return _internal_lat();
659}
660inline void BasicNodeReport::_internal_set_lat(double value) {
661 _impl_._has_bits_[0] |= 0x00000020u;
662 _impl_.lat_ = value;
663}
664inline void BasicNodeReport::set_lat(double value) {
665 _internal_set_lat(value);
666 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.lat)
667}
668
669// optional double lon = 9;
670inline bool BasicNodeReport::_internal_has_lon() const {
671 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
672 return value;
673}
674inline bool BasicNodeReport::has_lon() const {
675 return _internal_has_lon();
676}
678 _impl_.lon_ = 0;
679 _impl_._has_bits_[0] &= ~0x00000040u;
680}
681inline double BasicNodeReport::_internal_lon() const {
682 return _impl_.lon_;
683}
684inline double BasicNodeReport::lon() const {
685 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.lon)
686 return _internal_lon();
687}
688inline void BasicNodeReport::_internal_set_lon(double value) {
689 _impl_._has_bits_[0] |= 0x00000040u;
690 _impl_.lon_ = value;
691}
692inline void BasicNodeReport::set_lon(double value) {
693 _internal_set_lon(value);
694 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.lon)
695}
696
697// optional double time = 200;
698inline bool BasicNodeReport::_internal_has_time() const {
699 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
700 return value;
701}
702inline bool BasicNodeReport::has_time() const {
703 return _internal_has_time();
704}
706 _impl_.time_ = 0;
707 _impl_._has_bits_[0] &= ~0x00000080u;
708}
709inline double BasicNodeReport::_internal_time() const {
710 return _impl_.time_;
711}
712inline double BasicNodeReport::time() const {
713 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.time)
714 return _internal_time();
715}
716inline void BasicNodeReport::_internal_set_time(double value) {
717 _impl_._has_bits_[0] |= 0x00000080u;
718 _impl_.time_ = value;
719}
720inline void BasicNodeReport::set_time(double value) {
721 _internal_set_time(value);
722 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.time)
723}
724
725// repeated int32 repeat = 10;
726inline int BasicNodeReport::_internal_repeat_size() const {
727 return _impl_.repeat_.size();
728}
730 return _internal_repeat_size();
731}
733 _impl_.repeat_.Clear();
734}
735inline int32_t BasicNodeReport::_internal_repeat(int index) const {
736 return _impl_.repeat_.Get(index);
737}
738inline int32_t BasicNodeReport::repeat(int index) const {
739 // @@protoc_insertion_point(field_get:goby.test.moos.protobuf.BasicNodeReport.repeat)
740 return _internal_repeat(index);
741}
742inline void BasicNodeReport::set_repeat(int index, int32_t value) {
743 _impl_.repeat_.Set(index, value);
744 // @@protoc_insertion_point(field_set:goby.test.moos.protobuf.BasicNodeReport.repeat)
745}
746inline void BasicNodeReport::_internal_add_repeat(int32_t value) {
747 _impl_.repeat_.Add(value);
748}
749inline void BasicNodeReport::add_repeat(int32_t value) {
750 _internal_add_repeat(value);
751 // @@protoc_insertion_point(field_add:goby.test.moos.protobuf.BasicNodeReport.repeat)
752}
753inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
754BasicNodeReport::_internal_repeat() const {
755 return _impl_.repeat_;
756}
757inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
759 // @@protoc_insertion_point(field_list:goby.test.moos.protobuf.BasicNodeReport.repeat)
760 return _internal_repeat();
761}
762inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
763BasicNodeReport::_internal_mutable_repeat() {
764 return &_impl_.repeat_;
765}
766inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
768 // @@protoc_insertion_point(field_mutable_list:goby.test.moos.protobuf.BasicNodeReport.repeat)
769 return _internal_mutable_repeat();
770}
771
772#ifdef __GNUC__
773 #pragma GCC diagnostic pop
774#endif // __GNUC__
775
776// @@protoc_insertion_point(namespace_scope)
777
778} // namespace protobuf
779} // namespace moos
780} // namespace test
781} // namespace goby
782
783// @@protoc_insertion_point(global_scope)
784
785#include <google/protobuf/port_undef.inc>
786#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2funit_2fmoos_2ftranslator1_2fbasic_5fnode_5freport_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2funit_2fmoos_2ftranslator1_2fbasic_5fnode_5freport_2eproto
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const BasicNodeReport * internal_default_instance()
BasicNodeReport & operator=(BasicNodeReport &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
BasicNodeReport(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const BasicNodeReport & default_instance()
BasicNodeReport * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > & repeat() const
PROTOBUF_NODISCARD std::string * release_name()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_CONSTEXPR BasicNodeReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_name(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > * mutable_repeat()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
friend void swap(BasicNodeReport &a, BasicNodeReport &b)
void CopyFrom(const BasicNodeReport &from)
void MergeFrom(const BasicNodeReport &from)
BasicNodeReport & operator=(const BasicNodeReport &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
BasicNodeReport(BasicNodeReport &&from) noexcept
BasicNodeReport(const BasicNodeReport &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
BasicNodeReportDefaultTypeInternal _BasicNodeReport_default_instance_
The global namespace for the Goby project.