4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fmodem_5fdriver_5fstatus_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fmodem_5fdriver_5fstatus_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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #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_2facomms_2fprotobuf_2fmodem_5fdriver_5fstatus_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];
58 class ModemDriverStatus;
59 class ModemDriverStatusDefaultTypeInternal;
88 return ::google::protobuf::internal::NameOfEnum(
93 return ::google::protobuf::internal::ParseNamedEnum<ModemDriverStatus_Status>(
112 *
this = ::std::move(from);
116 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
117 if (
this != &from) InternalSwap(&from);
125 return _internal_metadata_.unknown_fields();
128 return _internal_metadata_.mutable_unknown_fields();
131 static const ::google::protobuf::Descriptor*
descriptor();
150 return CreateMaybeMessage<ModemDriverStatus>(NULL);
154 return CreateMaybeMessage<ModemDriverStatus>(arena);
156 void CopyFrom(const ::google::protobuf::Message& from)
final;
157 void MergeFrom(const ::google::protobuf::Message& from)
final;
165 ::
google::protobuf::io::CodedInputStream* input) final;
167 ::
google::protobuf::io::CodedOutputStream* output) const final;
169 bool deterministic, ::
google::protobuf::uint8* target) const final;
175 void SetCachedSize(
int size)
const final;
178 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
181 inline void* MaybeArenaPtr()
const {
212 static inline const ::google::protobuf::EnumDescriptor*
265 void clear_has_src();
267 void clear_has_dest();
269 void clear_has_time();
270 void set_has_status();
271 void clear_has_status();
272 void set_has_n_resets();
273 void clear_has_n_resets();
276 size_t RequiredFieldsByteSizeFallback()
const;
278 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
279 ::google::protobuf::internal::HasBits<1> _has_bits_;
280 mutable ::google::protobuf::internal::CachedSize _cached_size_;
286 friend struct ::protobuf_goby_2facomms_2fprotobuf_2fmodem_5fdriver_5fstatus_2eproto::TableStruct;
294 #pragma GCC diagnostic push
295 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
301 return (_has_bits_[0] & 0x00000001u) != 0;
303 inline void ModemDriverStatus::set_has_src() {
304 _has_bits_[0] |= 0x00000001u;
306 inline void ModemDriverStatus::clear_has_src() {
307 _has_bits_[0] &= ~0x00000001u;
325 return (_has_bits_[0] & 0x00000002u) != 0;
327 inline void ModemDriverStatus::set_has_dest() {
328 _has_bits_[0] |= 0x00000002u;
330 inline void ModemDriverStatus::clear_has_dest() {
331 _has_bits_[0] &= ~0x00000002u;
349 return (_has_bits_[0] & 0x00000004u) != 0;
351 inline void ModemDriverStatus::set_has_time() {
352 _has_bits_[0] |= 0x00000004u;
354 inline void ModemDriverStatus::clear_has_time() {
355 _has_bits_[0] &= ~0x00000004u;
373 return (_has_bits_[0] & 0x00000008u) != 0;
375 inline void ModemDriverStatus::set_has_status() {
376 _has_bits_[0] |= 0x00000008u;
378 inline void ModemDriverStatus::clear_has_status() {
379 _has_bits_[0] &= ~0x00000008u;
398 return (_has_bits_[0] & 0x00000010u) != 0;
400 inline void ModemDriverStatus::set_has_n_resets() {
401 _has_bits_[0] |= 0x00000010u;
403 inline void ModemDriverStatus::clear_has_n_resets() {
404 _has_bits_[0] &= ~0x00000010u;
408 clear_has_n_resets();
421 #pragma GCC diagnostic pop
435 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::ModemDriverStatus_Status>() {
444 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fmodem_5fdriver_5fstatus_2eproto