4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_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>
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>
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
47 static const ::google::protobuf::internal::ParseTableField
entries[];
48 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
49 static const ::google::protobuf::internal::ParseTable
schema[1];
60 class MMDriverTest2ConfigDefaultTypeInternal;
90 *
this = ::std::move(from);
94 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95 if (
this != &from) InternalSwap(&from);
103 return _internal_metadata_.unknown_fields();
106 return _internal_metadata_.mutable_unknown_fields();
109 static const ::google::protobuf::Descriptor*
descriptor();
128 return CreateMaybeMessage<MMDriverTest2Config>(NULL);
132 return CreateMaybeMessage<MMDriverTest2Config>(arena);
134 void CopyFrom(const ::google::protobuf::Message& from)
final;
135 void MergeFrom(const ::google::protobuf::Message& from)
final;
143 ::
google::protobuf::io::CodedInputStream* input) final;
145 ::
google::protobuf::io::CodedOutputStream* output) const final;
147 bool deterministic, ::
google::protobuf::uint8* target) const final;
153 void SetCachedSize(
int size)
const final;
156 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
159 inline void* MaybeArenaPtr()
const {
175 ::
google::protobuf::RepeatedPtrField< ::
goby::acomms::protobuf::ModemTransmission >*
177 const ::
goby::acomms::protobuf::ModemTransmission&
transmission(
int index) const;
179 const ::
google::protobuf::RepeatedPtrField< ::
goby::acomms::protobuf::ModemTransmission >&
187 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
189 const ::
goby::middleware::protobuf::AppConfig&
app() const;
199 const ::
goby::acomms::protobuf::DriverConfig& _internal_mm1_cfg() const;
201 const ::
goby::acomms::protobuf::DriverConfig&
mm1_cfg() const;
211 const ::
goby::acomms::protobuf::DriverConfig& _internal_mm2_cfg() const;
213 const ::
goby::acomms::protobuf::DriverConfig&
mm2_cfg() const;
228 void clear_has_app();
229 void set_has_mm1_cfg();
230 void clear_has_mm1_cfg();
231 void set_has_mm2_cfg();
232 void clear_has_mm2_cfg();
233 void set_has_repeat();
234 void clear_has_repeat();
237 size_t RequiredFieldsByteSizeFallback() const;
239 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
240 ::
google::protobuf::internal::HasBits<1> _has_bits_;
241 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
242 ::
google::protobuf::RepeatedPtrField< ::
goby::acomms::protobuf::ModemTransmission > transmission_;
243 ::
goby::middleware::protobuf::AppConfig* app_;
244 ::
goby::acomms::protobuf::DriverConfig* mm1_cfg_;
245 ::
goby::acomms::protobuf::DriverConfig* mm2_cfg_;
255 #pragma GCC diagnostic push
256 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
262 return (_has_bits_[0] & 0x00000001u) != 0;
264 inline void MMDriverTest2Config::set_has_app() {
265 _has_bits_[0] |= 0x00000001u;
267 inline void MMDriverTest2Config::clear_has_app() {
268 _has_bits_[0] &= ~0x00000001u;
270 inline const ::goby::middleware::protobuf::AppConfig& MMDriverTest2Config::_internal_app()
const {
274 const ::goby::middleware::protobuf::AppConfig* p = app_;
289 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
297 if (message_arena == NULL) {
302 if (message_arena != submessage_arena) {
303 app = ::google::protobuf::internal::GetOwnedMessage(
304 message_arena,
app, submessage_arena);
316 return (_has_bits_[0] & 0x00000002u) != 0;
318 inline void MMDriverTest2Config::set_has_mm1_cfg() {
319 _has_bits_[0] |= 0x00000002u;
321 inline void MMDriverTest2Config::clear_has_mm1_cfg() {
322 _has_bits_[0] &= ~0x00000002u;
324 inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::_internal_mm1_cfg()
const {
328 const ::goby::acomms::protobuf::DriverConfig* p = mm1_cfg_;
342 if (mm1_cfg_ == NULL) {
343 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig>(GetArenaNoVirtual());
351 if (message_arena == NULL) {
356 if (message_arena != submessage_arena) {
357 mm1_cfg = ::google::protobuf::internal::GetOwnedMessage(
358 message_arena,
mm1_cfg, submessage_arena);
370 return (_has_bits_[0] & 0x00000004u) != 0;
372 inline void MMDriverTest2Config::set_has_mm2_cfg() {
373 _has_bits_[0] |= 0x00000004u;
375 inline void MMDriverTest2Config::clear_has_mm2_cfg() {
376 _has_bits_[0] &= ~0x00000004u;
378 inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::_internal_mm2_cfg()
const {
382 const ::goby::acomms::protobuf::DriverConfig* p = mm2_cfg_;
396 if (mm2_cfg_ == NULL) {
397 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig>(GetArenaNoVirtual());
405 if (message_arena == NULL) {
410 if (message_arena != submessage_arena) {
411 mm2_cfg = ::google::protobuf::internal::GetOwnedMessage(
412 message_arena,
mm2_cfg, submessage_arena);
424 return transmission_.size();
428 return transmission_.Mutable(index);
430 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
433 return &transmission_;
437 return transmission_.Get(index);
441 return transmission_.Add();
443 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
446 return transmission_;
451 return (_has_bits_[0] & 0x00000008u) != 0;
453 inline void MMDriverTest2Config::set_has_repeat() {
454 _has_bits_[0] |= 0x00000008u;
456 inline void MMDriverTest2Config::clear_has_repeat() {
457 _has_bits_[0] &= ~0x00000008u;
474 #pragma GCC diagnostic pop
485 #endif // PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto