4 #ifndef PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fmodem_5fid_5flookup_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fmodem_5fid_5flookup_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>
34 #include <boost/units/quantity.hpp>
35 #include <boost/units/absolute.hpp>
36 #include <boost/units/dimensionless_type.hpp>
37 #include <boost/units/make_scaled_unit.hpp>
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmoos_2fprotobuf_2fmodem_5fid_5flookup_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[1];
57 class ModemIdEntryDefaultTypeInternal;
86 return ::google::protobuf::internal::NameOfEnum(
91 return ::google::protobuf::internal::ParseNamedEnum<ModemIdEntry_VehicleType>(
110 *
this = ::std::move(from);
114 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
115 if (
this != &from) InternalSwap(&from);
123 return _internal_metadata_.unknown_fields();
126 return _internal_metadata_.mutable_unknown_fields();
129 static const ::google::protobuf::Descriptor*
descriptor();
148 return CreateMaybeMessage<ModemIdEntry>(NULL);
152 return CreateMaybeMessage<ModemIdEntry>(arena);
154 void CopyFrom(const ::google::protobuf::Message& from)
final;
155 void MergeFrom(const ::google::protobuf::Message& from)
final;
163 ::
google::protobuf::io::CodedInputStream* input) final;
165 ::
google::protobuf::io::CodedOutputStream* output) const final;
167 bool deterministic, ::
google::protobuf::uint8* target) const final;
173 void SetCachedSize(
int size)
const final;
176 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
179 inline void* MaybeArenaPtr()
const {
210 static inline const ::google::protobuf::EnumDescriptor*
228 const ::std::string&
name()
const;
229 void set_name(const ::std::string& value);
231 void set_name(::std::string&& value);
234 void set_name(
const char* value,
size_t size);
255 void set_has_modem_id();
256 void clear_has_modem_id();
258 void clear_has_name();
260 void clear_has_type();
263 size_t RequiredFieldsByteSizeFallback()
const;
265 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
266 ::google::protobuf::internal::HasBits<1> _has_bits_;
267 mutable ::google::protobuf::internal::CachedSize _cached_size_;
268 ::google::protobuf::internal::ArenaStringPtr name_;
271 friend struct ::protobuf_goby_2fmoos_2fprotobuf_2fmodem_5fid_5flookup_2eproto::TableStruct;
279 #pragma GCC diagnostic push
280 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
286 return (_has_bits_[0] & 0x00000002u) != 0;
288 inline void ModemIdEntry::set_has_modem_id() {
289 _has_bits_[0] |= 0x00000002u;
291 inline void ModemIdEntry::clear_has_modem_id() {
292 _has_bits_[0] &= ~0x00000002u;
296 clear_has_modem_id();
310 return (_has_bits_[0] & 0x00000001u) != 0;
312 inline void ModemIdEntry::set_has_name() {
313 _has_bits_[0] |= 0x00000001u;
315 inline void ModemIdEntry::clear_has_name() {
316 _has_bits_[0] &= ~0x00000001u;
324 return name_.GetNoArena();
340 GOOGLE_DCHECK(value != NULL);
348 ::std::string(
reinterpret_cast<const char*
>(value), size));
376 return (_has_bits_[0] & 0x00000004u) != 0;
378 inline void ModemIdEntry::set_has_type() {
379 _has_bits_[0] |= 0x00000004u;
381 inline void ModemIdEntry::clear_has_type() {
382 _has_bits_[0] &= ~0x00000004u;
400 #pragma GCC diagnostic pop
414 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::ModemIdEntry_VehicleType>() {
423 #endif // PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fmodem_5fid_5flookup_2eproto