4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fdccl3_2ftest_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fdccl3_2ftest_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"
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
41 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2ftest_2facomms_2fdccl3_2ftest_2eproto
46 static const ::google::protobuf::internal::ParseTableField
entries[];
47 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
48 static const ::google::protobuf::internal::ParseTable
schema[1];
60 class GobyMessageDefaultTypeInternal;
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<GobyMessage>(NULL);
134 return CreateMaybeMessage<GobyMessage>(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 {
176 const ::std::
string&
telegram() const;
192 const ::goby::test::acomms::protobuf::Header& _internal_header()
const;
194 const ::goby::test::acomms::protobuf::Header&
header()
const;
202 void set_has_telegram();
203 void clear_has_telegram();
204 void set_has_header();
205 void clear_has_header();
208 size_t RequiredFieldsByteSizeFallback()
const;
210 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
211 ::google::protobuf::internal::HasBits<1> _has_bits_;
212 mutable ::google::protobuf::internal::CachedSize _cached_size_;
213 ::google::protobuf::internal::ArenaStringPtr telegram_;
215 friend struct ::protobuf_goby_2ftest_2facomms_2fdccl3_2ftest_2eproto::TableStruct;
223 #pragma GCC diagnostic push
224 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
230 return (_has_bits_[0] & 0x00000001u) != 0;
232 inline void GobyMessage::set_has_telegram() {
233 _has_bits_[0] |= 0x00000001u;
235 inline void GobyMessage::clear_has_telegram() {
236 _has_bits_[0] &= ~0x00000001u;
240 clear_has_telegram();
244 return telegram_.GetNoArena();
254 telegram_.SetNoArena(
260 GOOGLE_DCHECK(value != NULL);
268 ::std::string(
reinterpret_cast<const char*
>(value), size));
281 clear_has_telegram();
288 clear_has_telegram();
296 return (_has_bits_[0] & 0x00000002u) != 0;
298 inline void GobyMessage::set_has_header() {
299 _has_bits_[0] |= 0x00000002u;
301 inline void GobyMessage::clear_has_header() {
302 _has_bits_[0] &= ~0x00000002u;
304 inline const ::goby::test::acomms::protobuf::Header& GobyMessage::_internal_header()
const {
308 const ::goby::test::acomms::protobuf::Header* p = header_;
322 if (header_ == NULL) {
323 auto* p = CreateMaybeMessage<::goby::test::acomms::protobuf::Header>(GetArenaNoVirtual());
331 if (message_arena == NULL) {
336 if (message_arena != submessage_arena) {
337 header = ::google::protobuf::internal::GetOwnedMessage(
338 message_arena,
header, submessage_arena);
349 #pragma GCC diagnostic pop
361 #endif // PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fdccl3_2ftest_2eproto