4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_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.
22 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
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>
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[2];
57 class TimeUpdateRequest;
58 class TimeUpdateRequestDefaultTypeInternal;
60 class TimeUpdateResponse;
61 class TimeUpdateResponseDefaultTypeInternal;
92 *
this = ::std::move(from);
96 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97 if (
this != &from) InternalSwap(&from);
105 return _internal_metadata_.unknown_fields();
108 return _internal_metadata_.mutable_unknown_fields();
111 static const ::google::protobuf::Descriptor*
descriptor();
130 return CreateMaybeMessage<TimeUpdateRequest>(NULL);
134 return CreateMaybeMessage<TimeUpdateRequest>(arena);
136 void CopyFrom(const ::google::protobuf::Message& from)
final;
137 void MergeFrom(const ::google::protobuf::Message& from)
final;
145 ::
google::protobuf::io::CodedInputStream* input) final;
147 ::
google::protobuf::io::CodedOutputStream* output) const final;
149 bool deterministic, ::
google::protobuf::uint8* target) const final;
155 void SetCachedSize(
int size)
const final;
158 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
161 inline void* MaybeArenaPtr()
const {
204 void clear_has_src();
206 void clear_has_dest();
208 void clear_has_time();
209 void set_has_update_time_for_id();
210 void clear_has_update_time_for_id();
213 size_t RequiredFieldsByteSizeFallback()
const;
215 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
216 ::google::protobuf::internal::HasBits<1> _has_bits_;
217 mutable ::google::protobuf::internal::CachedSize _cached_size_;
222 friend struct ::protobuf_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto::TableStruct;
240 *
this = ::std::move(from);
244 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
245 if (
this != &from) InternalSwap(&from);
253 return _internal_metadata_.unknown_fields();
256 return _internal_metadata_.mutable_unknown_fields();
259 static const ::google::protobuf::Descriptor*
descriptor();
278 return CreateMaybeMessage<TimeUpdateResponse>(NULL);
282 return CreateMaybeMessage<TimeUpdateResponse>(arena);
284 void CopyFrom(const ::google::protobuf::Message& from)
final;
285 void MergeFrom(const ::google::protobuf::Message& from)
final;
293 ::
google::protobuf::io::CodedInputStream* input) final;
295 ::
google::protobuf::io::CodedOutputStream* output) const final;
297 bool deterministic, ::
google::protobuf::uint8* target) const final;
303 void SetCachedSize(
int size)
const final;
306 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
309 inline void* MaybeArenaPtr()
const {
359 void clear_has_src();
361 void clear_has_dest();
363 void clear_has_time();
364 void set_has_time_of_flight_microsec();
365 void clear_has_time_of_flight_microsec();
366 void set_has_request_src();
367 void clear_has_request_src();
370 size_t RequiredFieldsByteSizeFallback()
const;
372 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
373 ::google::protobuf::internal::HasBits<1> _has_bits_;
374 mutable ::google::protobuf::internal::CachedSize _cached_size_;
380 friend struct ::protobuf_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto::TableStruct;
388 #pragma GCC diagnostic push
389 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
395 return (_has_bits_[0] & 0x00000001u) != 0;
397 inline void TimeUpdateRequest::set_has_src() {
398 _has_bits_[0] |= 0x00000001u;
400 inline void TimeUpdateRequest::clear_has_src() {
401 _has_bits_[0] &= ~0x00000001u;
419 return (_has_bits_[0] & 0x00000002u) != 0;
421 inline void TimeUpdateRequest::set_has_dest() {
422 _has_bits_[0] |= 0x00000002u;
424 inline void TimeUpdateRequest::clear_has_dest() {
425 _has_bits_[0] &= ~0x00000002u;
443 return (_has_bits_[0] & 0x00000004u) != 0;
445 inline void TimeUpdateRequest::set_has_time() {
446 _has_bits_[0] |= 0x00000004u;
448 inline void TimeUpdateRequest::clear_has_time() {
449 _has_bits_[0] &= ~0x00000004u;
452 time_ = GOOGLE_ULONGLONG(0);
467 return (_has_bits_[0] & 0x00000008u) != 0;
469 inline void TimeUpdateRequest::set_has_update_time_for_id() {
470 _has_bits_[0] |= 0x00000008u;
472 inline void TimeUpdateRequest::clear_has_update_time_for_id() {
473 _has_bits_[0] &= ~0x00000008u;
476 update_time_for_id_ = 0;
477 clear_has_update_time_for_id();
481 return update_time_for_id_;
484 set_has_update_time_for_id();
485 update_time_for_id_ = value;
495 return (_has_bits_[0] & 0x00000001u) != 0;
497 inline void TimeUpdateResponse::set_has_src() {
498 _has_bits_[0] |= 0x00000001u;
500 inline void TimeUpdateResponse::clear_has_src() {
501 _has_bits_[0] &= ~0x00000001u;
519 return (_has_bits_[0] & 0x00000002u) != 0;
521 inline void TimeUpdateResponse::set_has_dest() {
522 _has_bits_[0] |= 0x00000002u;
524 inline void TimeUpdateResponse::clear_has_dest() {
525 _has_bits_[0] &= ~0x00000002u;
543 return (_has_bits_[0] & 0x00000004u) != 0;
545 inline void TimeUpdateResponse::set_has_time() {
546 _has_bits_[0] |= 0x00000004u;
548 inline void TimeUpdateResponse::clear_has_time() {
549 _has_bits_[0] &= ~0x00000004u;
552 time_ = GOOGLE_ULONGLONG(0);
567 return (_has_bits_[0] & 0x00000008u) != 0;
569 inline void TimeUpdateResponse::set_has_time_of_flight_microsec() {
570 _has_bits_[0] |= 0x00000008u;
572 inline void TimeUpdateResponse::clear_has_time_of_flight_microsec() {
573 _has_bits_[0] &= ~0x00000008u;
576 time_of_flight_microsec_ = GOOGLE_ULONGLONG(0);
577 clear_has_time_of_flight_microsec();
581 return time_of_flight_microsec_;
584 set_has_time_of_flight_microsec();
585 time_of_flight_microsec_ = value;
591 return (_has_bits_[0] & 0x00000010u) != 0;
593 inline void TimeUpdateResponse::set_has_request_src() {
594 _has_bits_[0] |= 0x00000010u;
596 inline void TimeUpdateResponse::clear_has_request_src() {
597 _has_bits_[0] &= ~0x00000010u;
601 clear_has_request_src();
608 set_has_request_src();
609 request_src_ = value;
614 #pragma GCC diagnostic pop
627 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2ftime_5fupdate_2eproto