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