4 #ifndef PROTOBUF_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto__INCLUDED 5 #define PROTOBUF_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 2006000 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 2006001 < 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/generated_message_util.h> 23 #include <google/protobuf/message.h> 24 #include <google/protobuf/repeated_field.h> 25 #include <google/protobuf/extension_set.h> 26 #include <google/protobuf/unknown_field_set.h> 27 #include "goby/common/protobuf/option_extensions.pb.h" 28 #include "goby/acomms/protobuf/driver_base.pb.h" 29 #include "goby/common/protobuf/zero_mq_node_config.pb.h" 30 #include <boost/units/quantity.hpp> 31 #include <boost/units/absolute.hpp> 32 #include <boost/units/dimensionless_type.hpp> 33 #include <boost/units/make_scaled_unit.hpp> 37 void protobuf_AddDesc_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto();
38 void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto();
39 void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto();
58 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
59 return _unknown_fields_;
62 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
63 return &_unknown_fields_;
66 static const ::google::protobuf::Descriptor* descriptor();
74 void CopyFrom(const ::google::protobuf::Message& from);
75 void MergeFrom(const ::google::protobuf::Message& from);
79 bool IsInitialized()
const;
82 bool MergePartialFromCodedStream(
83 ::google::protobuf::io::CodedInputStream* input);
84 void SerializeWithCachedSizes(
85 ::google::protobuf::io::CodedOutputStream* output)
const;
86 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
87 int GetCachedSize()
const {
return _cached_size_; }
91 void SetCachedSize(
int size)
const;
93 ::google::protobuf::Metadata GetMetadata()
const;
100 inline bool has_modem_id()
const;
101 inline void clear_modem_id();
102 static const int kModemIdFieldNumber = 1;
103 inline ::google::protobuf::int32 modem_id()
const;
104 inline void set_modem_id(::google::protobuf::int32 value);
107 inline bool has_imei()
const;
108 inline void clear_imei();
109 static const int kImeiFieldNumber = 2;
110 inline const ::std::string& imei()
const;
111 inline void set_imei(const ::std::string& value);
112 inline void set_imei(
const char* value);
113 inline void set_imei(
const char* value,
size_t size);
114 inline ::std::string* mutable_imei();
115 inline ::std::string* release_imei();
116 inline void set_allocated_imei(::std::string* imei);
120 inline void set_has_modem_id();
121 inline void clear_has_modem_id();
122 inline void set_has_imei();
123 inline void clear_has_imei();
125 ::google::protobuf::UnknownFieldSet _unknown_fields_;
127 ::google::protobuf::uint32 _has_bits_[1];
128 mutable int _cached_size_;
129 ::std::string* imei_;
130 ::google::protobuf::int32 modem_id_;
131 friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto();
132 friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto();
133 friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto();
135 void InitAsDefaultInstance();
152 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
153 return _unknown_fields_;
156 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
157 return &_unknown_fields_;
160 static const ::google::protobuf::Descriptor* descriptor();
168 void CopyFrom(const ::google::protobuf::Message& from);
169 void MergeFrom(const ::google::protobuf::Message& from);
173 bool IsInitialized()
const;
175 int ByteSize()
const;
176 bool MergePartialFromCodedStream(
177 ::google::protobuf::io::CodedInputStream* input);
178 void SerializeWithCachedSizes(
179 ::google::protobuf::io::CodedOutputStream* output)
const;
180 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
181 int GetCachedSize()
const {
return _cached_size_; }
185 void SetCachedSize(
int size)
const;
187 ::google::protobuf::Metadata GetMetadata()
const;
195 static const int kRudicsServerPortFieldNumber = 1421;
197 ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::uint32 >, 13,
false >
199 static const int kMoSbdServerPortFieldNumber = 1422;
200 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
201 ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::uint32 >, 13,
false >
203 static const int kMtSbdServerAddressFieldNumber = 1423;
204 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
205 ::google::protobuf::internal::StringTypeTraits, 9,
false >
206 mt_sbd_server_address;
207 static const int kMtSbdServerPortFieldNumber = 1424;
208 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
209 ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::uint32 >, 13,
false >
211 static const int kModemIdToImeiFieldNumber = 1425;
212 static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
213 ::google::protobuf::internal::RepeatedMessageTypeTraits< ::IridiumShoreDriverConfig_ModemIDIMEIPair >, 11,
false >
218 ::google::protobuf::UnknownFieldSet _unknown_fields_;
220 ::google::protobuf::uint32 _has_bits_[1];
221 mutable int _cached_size_;
222 friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto();
223 friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto();
224 friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto();
226 void InitAsDefaultInstance();
237 inline bool IridiumShoreDriverConfig_ModemIDIMEIPair::has_modem_id()
const {
238 return (_has_bits_[0] & 0x00000001u) != 0;
240 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_has_modem_id() {
241 _has_bits_[0] |= 0x00000001u;
243 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::clear_has_modem_id() {
244 _has_bits_[0] &= ~0x00000001u;
246 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::clear_modem_id() {
248 clear_has_modem_id();
250 inline ::google::protobuf::int32 IridiumShoreDriverConfig_ModemIDIMEIPair::modem_id()
const {
254 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_modem_id(::google::protobuf::int32 value) {
261 inline bool IridiumShoreDriverConfig_ModemIDIMEIPair::has_imei()
const {
262 return (_has_bits_[0] & 0x00000002u) != 0;
264 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_has_imei() {
265 _has_bits_[0] |= 0x00000002u;
267 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::clear_has_imei() {
268 _has_bits_[0] &= ~0x00000002u;
270 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::clear_imei() {
271 if (imei_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
276 inline const ::std::string& IridiumShoreDriverConfig_ModemIDIMEIPair::imei()
const {
280 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_imei(const ::std::string& value) {
282 if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
283 imei_ = new ::std::string;
285 imei_->assign(value);
288 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_imei(
const char* value) {
290 if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
291 imei_ = new ::std::string;
293 imei_->assign(value);
296 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_imei(
const char* value,
size_t size) {
298 if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
299 imei_ = new ::std::string;
301 imei_->assign(reinterpret_cast<const char*>(value), size);
304 inline ::std::string* IridiumShoreDriverConfig_ModemIDIMEIPair::mutable_imei() {
306 if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
307 imei_ = new ::std::string;
312 inline ::std::string* IridiumShoreDriverConfig_ModemIDIMEIPair::release_imei() {
314 if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
317 ::std::string* temp = imei_;
318 imei_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
322 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_allocated_imei(::std::string* imei) {
323 if (imei_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
331 imei_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
354 #endif // PROTOBUF_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto__INCLUDED