Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
time_update.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/acomms/protobuf/time_update.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2ftime_5fupdate_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 "dccl/option_extensions.pb.h"
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
51extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto;
52namespace goby {
53namespace acomms {
54namespace protobuf {
55class TimeUpdateRequest;
56struct TimeUpdateRequestDefaultTypeInternal;
57extern TimeUpdateRequestDefaultTypeInternal _TimeUpdateRequest_default_instance_;
58class TimeUpdateResponse;
59struct TimeUpdateResponseDefaultTypeInternal;
60extern TimeUpdateResponseDefaultTypeInternal _TimeUpdateResponse_default_instance_;
61} // namespace protobuf
62} // namespace acomms
63} // namespace goby
64PROTOBUF_NAMESPACE_OPEN
65template<> ::goby::acomms::protobuf::TimeUpdateRequest* Arena::CreateMaybeMessage<::goby::acomms::protobuf::TimeUpdateRequest>(Arena*);
66template<> ::goby::acomms::protobuf::TimeUpdateResponse* Arena::CreateMaybeMessage<::goby::acomms::protobuf::TimeUpdateResponse>(Arena*);
67PROTOBUF_NAMESPACE_CLOSE
68namespace goby {
69namespace acomms {
70namespace protobuf {
71
72// ===================================================================
73
74class TimeUpdateRequest final :
75 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.TimeUpdateRequest) */ {
76 public:
77 inline TimeUpdateRequest() : TimeUpdateRequest(nullptr) {}
79 explicit PROTOBUF_CONSTEXPR TimeUpdateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
80
84 *this = ::std::move(from);
85 }
86
88 CopyFrom(from);
89 return *this;
90 }
92 if (this == &from) return *this;
93 if (GetOwningArena() == from.GetOwningArena()
94 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
95 && GetOwningArena() != nullptr
96 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
97 ) {
98 InternalSwap(&from);
99 } else {
100 CopyFrom(from);
101 }
102 return *this;
103 }
104
105 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
106 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
107 }
108 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
109 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
110 }
111
112 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
113 return GetDescriptor();
114 }
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
116 return default_instance().GetMetadata().descriptor;
117 }
118 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
119 return default_instance().GetMetadata().reflection;
120 }
123 }
125 return reinterpret_cast<const TimeUpdateRequest*>(
127 }
128 static constexpr int kIndexInFileMessages =
129 0;
130
132 a.Swap(&b);
133 }
134 inline void Swap(TimeUpdateRequest* other) {
135 if (other == this) return;
136 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
137 if (GetOwningArena() != nullptr &&
138 GetOwningArena() == other->GetOwningArena()) {
139 #else // PROTOBUF_FORCE_COPY_IN_SWAP
140 if (GetOwningArena() == other->GetOwningArena()) {
141 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
142 InternalSwap(other);
143 } else {
144 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
145 }
146 }
148 if (other == this) return;
149 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
150 InternalSwap(other);
151 }
152
153 // implements Message ----------------------------------------------
154
155 TimeUpdateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
156 return CreateMaybeMessage<TimeUpdateRequest>(arena);
157 }
158 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
159 void CopyFrom(const TimeUpdateRequest& from);
160 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
161 void MergeFrom( const TimeUpdateRequest& from) {
162 TimeUpdateRequest::MergeImpl(*this, from);
163 }
164 private:
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
166 public:
167 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
168 bool IsInitialized() const final;
169
170 size_t ByteSizeLong() const final;
171 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
175
176 private:
177 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
178 void SharedDtor();
179 void SetCachedSize(int size) const final;
180 void InternalSwap(TimeUpdateRequest* other);
181
182 private:
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.acomms.protobuf.TimeUpdateRequest";
186 }
187 protected:
188 explicit TimeUpdateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
189 bool is_message_owned = false);
190 public:
191
192 static const ClassData _class_data_;
193 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
194
195 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
196
197 // nested types ----------------------------------------------------
198
199 // accessors -------------------------------------------------------
200
201 enum : int {
206 };
207 // required int32 src = 1 [(.dccl.field) = {
208 bool has_src() const;
209 private:
210 bool _internal_has_src() const;
211 public:
212 void clear_src();
213 int32_t src() const;
214 void set_src(int32_t value);
215 private:
216 int32_t _internal_src() const;
217 void _internal_set_src(int32_t value);
218 public:
219
220 // optional int32 dest = 2 [(.dccl.field) = {
221 bool has_dest() const;
222 private:
223 bool _internal_has_dest() const;
224 public:
225 void clear_dest();
226 int32_t dest() const;
227 void set_dest(int32_t value);
228 private:
229 int32_t _internal_dest() const;
230 void _internal_set_dest(int32_t value);
231 public:
232
233 // required uint64 time = 3 [(.dccl.field) = {
234 bool has_time() const;
235 private:
236 bool _internal_has_time() const;
237 public:
238 void clear_time();
239 uint64_t time() const;
240 void set_time(uint64_t value);
241 private:
242 uint64_t _internal_time() const;
243 void _internal_set_time(uint64_t value);
244 public:
245
246 // required int32 update_time_for_id = 4 [(.dccl.field) = {
247 bool has_update_time_for_id() const;
248 private:
249 bool _internal_has_update_time_for_id() const;
250 public:
252 int32_t update_time_for_id() const;
253 void set_update_time_for_id(int32_t value);
254 private:
255 int32_t _internal_update_time_for_id() const;
256 void _internal_set_update_time_for_id(int32_t value);
257 public:
258
260 // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.TimeUpdateRequest)
261 private:
262 class _Internal;
263
264 // helper for ByteSizeLong()
265 size_t RequiredFieldsByteSizeFallback() const;
266
267 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
268 typedef void InternalArenaConstructable_;
269 typedef void DestructorSkippable_;
270 struct Impl_ {
271 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
272 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
273 int32_t src_;
274 int32_t dest_;
275 uint64_t time_;
276 int32_t update_time_for_id_;
277 };
278 union { Impl_ _impl_; };
279 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto;
280};
281// -------------------------------------------------------------------
282
284 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.TimeUpdateResponse) */ {
285 public:
288 explicit PROTOBUF_CONSTEXPR TimeUpdateResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
289
293 *this = ::std::move(from);
294 }
295
297 CopyFrom(from);
298 return *this;
299 }
301 if (this == &from) return *this;
302 if (GetOwningArena() == from.GetOwningArena()
303 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
304 && GetOwningArena() != nullptr
305 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
306 ) {
307 InternalSwap(&from);
308 } else {
309 CopyFrom(from);
310 }
311 return *this;
312 }
313
314 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
315 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
316 }
317 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
318 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
319 }
320
321 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
322 return GetDescriptor();
323 }
324 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
325 return default_instance().GetMetadata().descriptor;
326 }
327 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
328 return default_instance().GetMetadata().reflection;
329 }
331 return *internal_default_instance();
332 }
334 return reinterpret_cast<const TimeUpdateResponse*>(
336 }
337 static constexpr int kIndexInFileMessages =
338 1;
339
341 a.Swap(&b);
342 }
343 inline void Swap(TimeUpdateResponse* other) {
344 if (other == this) return;
345 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
346 if (GetOwningArena() != nullptr &&
347 GetOwningArena() == other->GetOwningArena()) {
348 #else // PROTOBUF_FORCE_COPY_IN_SWAP
349 if (GetOwningArena() == other->GetOwningArena()) {
350 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
351 InternalSwap(other);
352 } else {
353 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
354 }
355 }
357 if (other == this) return;
358 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
359 InternalSwap(other);
360 }
361
362 // implements Message ----------------------------------------------
363
364 TimeUpdateResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
365 return CreateMaybeMessage<TimeUpdateResponse>(arena);
366 }
367 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
368 void CopyFrom(const TimeUpdateResponse& from);
369 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
370 void MergeFrom( const TimeUpdateResponse& from) {
371 TimeUpdateResponse::MergeImpl(*this, from);
372 }
373 private:
374 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
375 public:
376 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
377 bool IsInitialized() const final;
378
379 size_t ByteSizeLong() const final;
380 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
381 uint8_t* _InternalSerialize(
382 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
383 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
384
385 private:
386 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
387 void SharedDtor();
388 void SetCachedSize(int size) const final;
389 void InternalSwap(TimeUpdateResponse* other);
390
391 private:
392 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
393 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
394 return "goby.acomms.protobuf.TimeUpdateResponse";
395 }
396 protected:
397 explicit TimeUpdateResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
398 bool is_message_owned = false);
399 public:
400
401 static const ClassData _class_data_;
402 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
403
404 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
405
406 // nested types ----------------------------------------------------
407
408 // accessors -------------------------------------------------------
409
410 enum : int {
411 kSrcFieldNumber = 1,
412 kDestFieldNumber = 2,
413 kTimeFieldNumber = 3,
414 kTimeOfFlightMicrosecFieldNumber = 4,
415 kRequestSrcFieldNumber = 5,
416 };
417 // required int32 src = 1 [(.dccl.field) = {
418 bool has_src() const;
419 private:
420 bool _internal_has_src() const;
421 public:
422 void clear_src();
423 int32_t src() const;
424 void set_src(int32_t value);
425 private:
426 int32_t _internal_src() const;
427 void _internal_set_src(int32_t value);
428 public:
429
430 // optional int32 dest = 2 [(.dccl.field) = {
431 bool has_dest() const;
432 private:
433 bool _internal_has_dest() const;
434 public:
435 void clear_dest();
436 int32_t dest() const;
437 void set_dest(int32_t value);
438 private:
439 int32_t _internal_dest() const;
440 void _internal_set_dest(int32_t value);
441 public:
442
443 // required uint64 time = 3 [(.dccl.field) = {
444 bool has_time() const;
445 private:
446 bool _internal_has_time() const;
447 public:
448 void clear_time();
449 uint64_t time() const;
450 void set_time(uint64_t value);
451 private:
452 uint64_t _internal_time() const;
453 void _internal_set_time(uint64_t value);
454 public:
455
456 // required uint64 time_of_flight_microsec = 4 [(.dccl.field) = {
457 bool has_time_of_flight_microsec() const;
458 private:
459 bool _internal_has_time_of_flight_microsec() const;
460 public:
461 void clear_time_of_flight_microsec();
462 uint64_t time_of_flight_microsec() const;
463 void set_time_of_flight_microsec(uint64_t value);
464 private:
465 uint64_t _internal_time_of_flight_microsec() const;
466 void _internal_set_time_of_flight_microsec(uint64_t value);
467 public:
468
469 // optional int32 request_src = 5 [(.dccl.field) = {
470 bool has_request_src() const;
471 private:
472 bool _internal_has_request_src() const;
473 public:
474 void clear_request_src();
475 int32_t request_src() const;
476 void set_request_src(int32_t value);
477 private:
478 int32_t _internal_request_src() const;
479 void _internal_set_request_src(int32_t value);
480 public:
481
482 enum DCCLParameters { DCCL_ID = 517, DCCL_MAX_BYTES = 32 };
483 // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.TimeUpdateResponse)
484 private:
485 class _Internal;
486
487 // helper for ByteSizeLong()
488 size_t RequiredFieldsByteSizeFallback() const;
489
490 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
491 typedef void InternalArenaConstructable_;
492 typedef void DestructorSkippable_;
493 struct Impl_ {
494 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
495 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
496 int32_t src_;
497 int32_t dest_;
498 uint64_t time_;
499 uint64_t time_of_flight_microsec_;
500 int32_t request_src_;
501 };
502 union { Impl_ _impl_; };
503 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto;
504};
505// ===================================================================
506
507
508// ===================================================================
509
510#ifdef __GNUC__
511 #pragma GCC diagnostic push
512 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
513#endif // __GNUC__
514// TimeUpdateRequest
515
516// required int32 src = 1 [(.dccl.field) = {
517inline bool TimeUpdateRequest::_internal_has_src() const {
518 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
519 return value;
520}
521inline bool TimeUpdateRequest::has_src() const {
522 return _internal_has_src();
523}
524inline void TimeUpdateRequest::clear_src() {
525 _impl_.src_ = 0;
526 _impl_._has_bits_[0] &= ~0x00000001u;
527}
528inline int32_t TimeUpdateRequest::_internal_src() const {
529 return _impl_.src_;
530}
531inline int32_t TimeUpdateRequest::src() const {
532 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TimeUpdateRequest.src)
533 return _internal_src();
534}
535inline void TimeUpdateRequest::_internal_set_src(int32_t value) {
536 _impl_._has_bits_[0] |= 0x00000001u;
537 _impl_.src_ = value;
538}
539inline void TimeUpdateRequest::set_src(int32_t value) {
540 _internal_set_src(value);
541 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TimeUpdateRequest.src)
542}
543
544// optional int32 dest = 2 [(.dccl.field) = {
545inline bool TimeUpdateRequest::_internal_has_dest() const {
546 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
547 return value;
548}
549inline bool TimeUpdateRequest::has_dest() const {
550 return _internal_has_dest();
551}
552inline void TimeUpdateRequest::clear_dest() {
553 _impl_.dest_ = 0;
554 _impl_._has_bits_[0] &= ~0x00000002u;
555}
556inline int32_t TimeUpdateRequest::_internal_dest() const {
557 return _impl_.dest_;
558}
559inline int32_t TimeUpdateRequest::dest() const {
560 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TimeUpdateRequest.dest)
561 return _internal_dest();
562}
563inline void TimeUpdateRequest::_internal_set_dest(int32_t value) {
564 _impl_._has_bits_[0] |= 0x00000002u;
565 _impl_.dest_ = value;
566}
567inline void TimeUpdateRequest::set_dest(int32_t value) {
568 _internal_set_dest(value);
569 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TimeUpdateRequest.dest)
570}
571
572// required uint64 time = 3 [(.dccl.field) = {
573inline bool TimeUpdateRequest::_internal_has_time() const {
574 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
575 return value;
576}
577inline bool TimeUpdateRequest::has_time() const {
578 return _internal_has_time();
579}
580inline void TimeUpdateRequest::clear_time() {
581 _impl_.time_ = uint64_t{0u};
582 _impl_._has_bits_[0] &= ~0x00000004u;
583}
584inline uint64_t TimeUpdateRequest::_internal_time() const {
585 return _impl_.time_;
586}
587inline uint64_t TimeUpdateRequest::time() const {
588 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TimeUpdateRequest.time)
589 return _internal_time();
590}
591inline void TimeUpdateRequest::_internal_set_time(uint64_t value) {
592 _impl_._has_bits_[0] |= 0x00000004u;
593 _impl_.time_ = value;
594}
595inline void TimeUpdateRequest::set_time(uint64_t value) {
596 _internal_set_time(value);
597 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TimeUpdateRequest.time)
598}
599
600// required int32 update_time_for_id = 4 [(.dccl.field) = {
601inline bool TimeUpdateRequest::_internal_has_update_time_for_id() const {
602 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
603 return value;
604}
605inline bool TimeUpdateRequest::has_update_time_for_id() const {
606 return _internal_has_update_time_for_id();
607}
608inline void TimeUpdateRequest::clear_update_time_for_id() {
609 _impl_.update_time_for_id_ = 0;
610 _impl_._has_bits_[0] &= ~0x00000008u;
611}
612inline int32_t TimeUpdateRequest::_internal_update_time_for_id() const {
613 return _impl_.update_time_for_id_;
614}
615inline int32_t TimeUpdateRequest::update_time_for_id() const {
616 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TimeUpdateRequest.update_time_for_id)
617 return _internal_update_time_for_id();
618}
619inline void TimeUpdateRequest::_internal_set_update_time_for_id(int32_t value) {
620 _impl_._has_bits_[0] |= 0x00000008u;
621 _impl_.update_time_for_id_ = value;
622}
623inline void TimeUpdateRequest::set_update_time_for_id(int32_t value) {
624 _internal_set_update_time_for_id(value);
625 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TimeUpdateRequest.update_time_for_id)
626}
627
628// -------------------------------------------------------------------
629
630// TimeUpdateResponse
631
632// required int32 src = 1 [(.dccl.field) = {
633inline bool TimeUpdateResponse::_internal_has_src() const {
634 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
635 return value;
636}
637inline bool TimeUpdateResponse::has_src() const {
638 return _internal_has_src();
639}
640inline void TimeUpdateResponse::clear_src() {
641 _impl_.src_ = 0;
642 _impl_._has_bits_[0] &= ~0x00000001u;
643}
644inline int32_t TimeUpdateResponse::_internal_src() const {
645 return _impl_.src_;
646}
647inline int32_t TimeUpdateResponse::src() const {
648 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TimeUpdateResponse.src)
649 return _internal_src();
650}
651inline void TimeUpdateResponse::_internal_set_src(int32_t value) {
652 _impl_._has_bits_[0] |= 0x00000001u;
653 _impl_.src_ = value;
654}
655inline void TimeUpdateResponse::set_src(int32_t value) {
656 _internal_set_src(value);
657 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TimeUpdateResponse.src)
658}
659
660// optional int32 dest = 2 [(.dccl.field) = {
661inline bool TimeUpdateResponse::_internal_has_dest() const {
662 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
663 return value;
664}
665inline bool TimeUpdateResponse::has_dest() const {
666 return _internal_has_dest();
667}
668inline void TimeUpdateResponse::clear_dest() {
669 _impl_.dest_ = 0;
670 _impl_._has_bits_[0] &= ~0x00000002u;
671}
672inline int32_t TimeUpdateResponse::_internal_dest() const {
673 return _impl_.dest_;
674}
675inline int32_t TimeUpdateResponse::dest() const {
676 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TimeUpdateResponse.dest)
677 return _internal_dest();
678}
679inline void TimeUpdateResponse::_internal_set_dest(int32_t value) {
680 _impl_._has_bits_[0] |= 0x00000002u;
681 _impl_.dest_ = value;
682}
683inline void TimeUpdateResponse::set_dest(int32_t value) {
684 _internal_set_dest(value);
685 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TimeUpdateResponse.dest)
686}
687
688// required uint64 time = 3 [(.dccl.field) = {
689inline bool TimeUpdateResponse::_internal_has_time() const {
690 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
691 return value;
692}
693inline bool TimeUpdateResponse::has_time() const {
694 return _internal_has_time();
695}
696inline void TimeUpdateResponse::clear_time() {
697 _impl_.time_ = uint64_t{0u};
698 _impl_._has_bits_[0] &= ~0x00000004u;
699}
700inline uint64_t TimeUpdateResponse::_internal_time() const {
701 return _impl_.time_;
702}
703inline uint64_t TimeUpdateResponse::time() const {
704 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TimeUpdateResponse.time)
705 return _internal_time();
706}
707inline void TimeUpdateResponse::_internal_set_time(uint64_t value) {
708 _impl_._has_bits_[0] |= 0x00000004u;
709 _impl_.time_ = value;
710}
711inline void TimeUpdateResponse::set_time(uint64_t value) {
712 _internal_set_time(value);
713 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TimeUpdateResponse.time)
714}
715
716// required uint64 time_of_flight_microsec = 4 [(.dccl.field) = {
717inline bool TimeUpdateResponse::_internal_has_time_of_flight_microsec() const {
718 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
719 return value;
720}
721inline bool TimeUpdateResponse::has_time_of_flight_microsec() const {
722 return _internal_has_time_of_flight_microsec();
723}
724inline void TimeUpdateResponse::clear_time_of_flight_microsec() {
725 _impl_.time_of_flight_microsec_ = uint64_t{0u};
726 _impl_._has_bits_[0] &= ~0x00000008u;
727}
728inline uint64_t TimeUpdateResponse::_internal_time_of_flight_microsec() const {
729 return _impl_.time_of_flight_microsec_;
730}
731inline uint64_t TimeUpdateResponse::time_of_flight_microsec() const {
732 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TimeUpdateResponse.time_of_flight_microsec)
733 return _internal_time_of_flight_microsec();
734}
735inline void TimeUpdateResponse::_internal_set_time_of_flight_microsec(uint64_t value) {
736 _impl_._has_bits_[0] |= 0x00000008u;
737 _impl_.time_of_flight_microsec_ = value;
738}
739inline void TimeUpdateResponse::set_time_of_flight_microsec(uint64_t value) {
740 _internal_set_time_of_flight_microsec(value);
741 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TimeUpdateResponse.time_of_flight_microsec)
742}
743
744// optional int32 request_src = 5 [(.dccl.field) = {
745inline bool TimeUpdateResponse::_internal_has_request_src() const {
746 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
747 return value;
748}
749inline bool TimeUpdateResponse::has_request_src() const {
750 return _internal_has_request_src();
751}
752inline void TimeUpdateResponse::clear_request_src() {
753 _impl_.request_src_ = 0;
754 _impl_._has_bits_[0] &= ~0x00000010u;
755}
756inline int32_t TimeUpdateResponse::_internal_request_src() const {
757 return _impl_.request_src_;
758}
759inline int32_t TimeUpdateResponse::request_src() const {
760 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TimeUpdateResponse.request_src)
761 return _internal_request_src();
762}
763inline void TimeUpdateResponse::_internal_set_request_src(int32_t value) {
764 _impl_._has_bits_[0] |= 0x00000010u;
765 _impl_.request_src_ = value;
766}
767inline void TimeUpdateResponse::set_request_src(int32_t value) {
768 _internal_set_request_src(value);
769 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TimeUpdateResponse.request_src)
770}
771
772#ifdef __GNUC__
773 #pragma GCC diagnostic pop
774#endif // __GNUC__
775// -------------------------------------------------------------------
776
777
778// @@protoc_insertion_point(namespace_scope)
779
780} // namespace protobuf
781} // namespace acomms
782} // namespace goby
783
784// @@protoc_insertion_point(global_scope)
785
786#include <google/protobuf/port_undef.inc>
787#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto
TimeUpdateRequest & operator=(TimeUpdateRequest &&from) noexcept
TimeUpdateRequest & operator=(const TimeUpdateRequest &from)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
TimeUpdateRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const TimeUpdateRequest & default_instance()
void UnsafeArenaSwap(TimeUpdateRequest *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(TimeUpdateRequest *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
TimeUpdateRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
TimeUpdateRequest(const TimeUpdateRequest &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(TimeUpdateRequest &a, TimeUpdateRequest &b)
TimeUpdateRequest(TimeUpdateRequest &&from) noexcept
void MergeFrom(const TimeUpdateRequest &from)
PROTOBUF_CONSTEXPR TimeUpdateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void CopyFrom(const TimeUpdateRequest &from)
static const TimeUpdateRequest * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
TimeUpdateResponse(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
TimeUpdateResponse(TimeUpdateResponse &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void Swap(TimeUpdateResponse *other)
TimeUpdateResponse & operator=(TimeUpdateResponse &&from) noexcept
static const TimeUpdateResponse & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TimeUpdateResponse * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
friend void swap(TimeUpdateResponse &a, TimeUpdateResponse &b)
PROTOBUF_CONSTEXPR TimeUpdateResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
TimeUpdateResponse(const TimeUpdateResponse &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const TimeUpdateResponse * internal_default_instance()
void MergeFrom(const TimeUpdateResponse &from)
void UnsafeArenaSwap(TimeUpdateResponse *other)
TimeUpdateResponse & operator=(const TimeUpdateResponse &from)
void CopyFrom(const TimeUpdateResponse &from)
TimeUpdateRequestDefaultTypeInternal _TimeUpdateRequest_default_instance_
TimeUpdateResponseDefaultTypeInternal _TimeUpdateResponse_default_instance_
The global namespace for the Goby project.
#define ByteSizeLong
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto