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