Goby v2
iridium_shore_driver.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/iridium_shore_driver.proto
3 
4 #ifndef PROTOBUF_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto__INCLUDED
5 #define PROTOBUF_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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>
34 // @@protoc_insertion_point(includes)
35 
36 // Internal implementation detail -- do not call these.
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();
40 
43 
44 // ===================================================================
45 
46 class IridiumShoreDriverConfig_ModemIDIMEIPair : public ::google::protobuf::Message {
47  public:
50 
52 
54  CopyFrom(from);
55  return *this;
56  }
57 
58  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
59  return _unknown_fields_;
60  }
61 
62  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
63  return &_unknown_fields_;
64  }
65 
66  static const ::google::protobuf::Descriptor* descriptor();
67  static const IridiumShoreDriverConfig_ModemIDIMEIPair& default_instance();
68 
70 
71  // implements Message ----------------------------------------------
72 
74  void CopyFrom(const ::google::protobuf::Message& from);
75  void MergeFrom(const ::google::protobuf::Message& from);
76  void CopyFrom(const IridiumShoreDriverConfig_ModemIDIMEIPair& from);
77  void MergeFrom(const IridiumShoreDriverConfig_ModemIDIMEIPair& from);
78  void Clear();
79  bool IsInitialized() const;
80 
81  int ByteSize() 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_; }
88  private:
89  void SharedCtor();
90  void SharedDtor();
91  void SetCachedSize(int size) const;
92  public:
93  ::google::protobuf::Metadata GetMetadata() const;
94 
95  // nested types ----------------------------------------------------
96 
97  // accessors -------------------------------------------------------
98 
99  // required int32 modem_id = 1;
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);
105 
106  // required string imei = 2;
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);
117 
118  // @@protoc_insertion_point(class_scope:IridiumShoreDriverConfig.ModemIDIMEIPair)
119  private:
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();
124 
125  ::google::protobuf::UnknownFieldSet _unknown_fields_;
126 
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();
134 
135  void InitAsDefaultInstance();
136  static IridiumShoreDriverConfig_ModemIDIMEIPair* default_instance_;
137 };
138 // -------------------------------------------------------------------
139 
140 class IridiumShoreDriverConfig : public ::google::protobuf::Message {
141  public:
143  virtual ~IridiumShoreDriverConfig();
144 
146 
147  inline IridiumShoreDriverConfig& operator=(const IridiumShoreDriverConfig& from) {
148  CopyFrom(from);
149  return *this;
150  }
151 
152  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
153  return _unknown_fields_;
154  }
155 
156  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
157  return &_unknown_fields_;
158  }
159 
160  static const ::google::protobuf::Descriptor* descriptor();
161  static const IridiumShoreDriverConfig& default_instance();
162 
163  void Swap(IridiumShoreDriverConfig* other);
164 
165  // implements Message ----------------------------------------------
166 
167  IridiumShoreDriverConfig* New() const;
168  void CopyFrom(const ::google::protobuf::Message& from);
169  void MergeFrom(const ::google::protobuf::Message& from);
170  void CopyFrom(const IridiumShoreDriverConfig& from);
171  void MergeFrom(const IridiumShoreDriverConfig& from);
172  void Clear();
173  bool IsInitialized() const;
174 
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_; }
182  private:
183  void SharedCtor();
184  void SharedDtor();
185  void SetCachedSize(int size) const;
186  public:
187  ::google::protobuf::Metadata GetMetadata() const;
188 
189  // nested types ----------------------------------------------------
190 
192 
193  // accessors -------------------------------------------------------
194 
195  static const int kRudicsServerPortFieldNumber = 1421;
196  static ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
197  ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::uint32 >, 13, false >
198  rudics_server_port;
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 >
202  mo_sbd_server_port;
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 >
210  mt_sbd_server_port;
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 >
214  modem_id_to_imei;
215  // @@protoc_insertion_point(class_scope:IridiumShoreDriverConfig)
216  private:
217 
218  ::google::protobuf::UnknownFieldSet _unknown_fields_;
219 
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();
225 
226  void InitAsDefaultInstance();
227  static IridiumShoreDriverConfig* default_instance_;
228 };
229 // ===================================================================
230 
231 
232 // ===================================================================
233 
234 // IridiumShoreDriverConfig_ModemIDIMEIPair
235 
236 // required int32 modem_id = 1;
237 inline bool IridiumShoreDriverConfig_ModemIDIMEIPair::has_modem_id() const {
238  return (_has_bits_[0] & 0x00000001u) != 0;
239 }
240 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_has_modem_id() {
241  _has_bits_[0] |= 0x00000001u;
242 }
243 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::clear_has_modem_id() {
244  _has_bits_[0] &= ~0x00000001u;
245 }
246 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::clear_modem_id() {
247  modem_id_ = 0;
248  clear_has_modem_id();
249 }
250 inline ::google::protobuf::int32 IridiumShoreDriverConfig_ModemIDIMEIPair::modem_id() const {
251  // @@protoc_insertion_point(field_get:IridiumShoreDriverConfig.ModemIDIMEIPair.modem_id)
252  return modem_id_;
253 }
254 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_modem_id(::google::protobuf::int32 value) {
255  set_has_modem_id();
256  modem_id_ = value;
257  // @@protoc_insertion_point(field_set:IridiumShoreDriverConfig.ModemIDIMEIPair.modem_id)
258 }
259 
260 // required string imei = 2;
261 inline bool IridiumShoreDriverConfig_ModemIDIMEIPair::has_imei() const {
262  return (_has_bits_[0] & 0x00000002u) != 0;
263 }
264 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_has_imei() {
265  _has_bits_[0] |= 0x00000002u;
266 }
267 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::clear_has_imei() {
268  _has_bits_[0] &= ~0x00000002u;
269 }
270 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::clear_imei() {
271  if (imei_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
272  imei_->clear();
273  }
274  clear_has_imei();
275 }
276 inline const ::std::string& IridiumShoreDriverConfig_ModemIDIMEIPair::imei() const {
277  // @@protoc_insertion_point(field_get:IridiumShoreDriverConfig.ModemIDIMEIPair.imei)
278  return *imei_;
279 }
280 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_imei(const ::std::string& value) {
281  set_has_imei();
282  if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
283  imei_ = new ::std::string;
284  }
285  imei_->assign(value);
286  // @@protoc_insertion_point(field_set:IridiumShoreDriverConfig.ModemIDIMEIPair.imei)
287 }
288 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_imei(const char* value) {
289  set_has_imei();
290  if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
291  imei_ = new ::std::string;
292  }
293  imei_->assign(value);
294  // @@protoc_insertion_point(field_set_char:IridiumShoreDriverConfig.ModemIDIMEIPair.imei)
295 }
296 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_imei(const char* value, size_t size) {
297  set_has_imei();
298  if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
299  imei_ = new ::std::string;
300  }
301  imei_->assign(reinterpret_cast<const char*>(value), size);
302  // @@protoc_insertion_point(field_set_pointer:IridiumShoreDriverConfig.ModemIDIMEIPair.imei)
303 }
304 inline ::std::string* IridiumShoreDriverConfig_ModemIDIMEIPair::mutable_imei() {
305  set_has_imei();
306  if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
307  imei_ = new ::std::string;
308  }
309  // @@protoc_insertion_point(field_mutable:IridiumShoreDriverConfig.ModemIDIMEIPair.imei)
310  return imei_;
311 }
312 inline ::std::string* IridiumShoreDriverConfig_ModemIDIMEIPair::release_imei() {
313  clear_has_imei();
314  if (imei_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
315  return NULL;
316  } else {
317  ::std::string* temp = imei_;
318  imei_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
319  return temp;
320  }
321 }
322 inline void IridiumShoreDriverConfig_ModemIDIMEIPair::set_allocated_imei(::std::string* imei) {
323  if (imei_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
324  delete imei_;
325  }
326  if (imei) {
327  set_has_imei();
328  imei_ = imei;
329  } else {
330  clear_has_imei();
331  imei_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
332  }
333  // @@protoc_insertion_point(field_set_allocated:IridiumShoreDriverConfig.ModemIDIMEIPair.imei)
334 }
335 
336 // -------------------------------------------------------------------
337 
338 // IridiumShoreDriverConfig
339 
340 
341 // @@protoc_insertion_point(namespace_scope)
342 
343 #ifndef SWIG
344 namespace google {
345 namespace protobuf {
346 
347 
348 } // namespace google
349 } // namespace protobuf
350 #endif // SWIG
351 
352 // @@protoc_insertion_point(global_scope)
353 
354 #endif // PROTOBUF_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto__INCLUDED