4 #ifndef PROTOBUF_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto__INCLUDED 5 #define PROTOBUF_goby_2facomms_2fprotobuf_2fstore_5fserver_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/acomms/protobuf/modem_message.pb.h" 28 #include <boost/units/quantity.hpp> 29 #include <boost/units/absolute.hpp> 30 #include <boost/units/dimensionless_type.hpp> 31 #include <boost/units/make_scaled_unit.hpp> 39 void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto();
40 void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto();
41 void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto();
43 class StoreServerRequest;
44 class StoreServerResponse;
60 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
61 return _unknown_fields_;
64 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65 return &_unknown_fields_;
68 static const ::google::protobuf::Descriptor* descriptor();
76 void CopyFrom(const ::google::protobuf::Message& from);
77 void MergeFrom(const ::google::protobuf::Message& from);
81 bool IsInitialized()
const;
84 bool MergePartialFromCodedStream(
85 ::google::protobuf::io::CodedInputStream* input);
86 void SerializeWithCachedSizes(
87 ::google::protobuf::io::CodedOutputStream* output)
const;
88 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
89 int GetCachedSize()
const {
return _cached_size_; }
93 void SetCachedSize(
int size)
const;
95 ::google::protobuf::Metadata GetMetadata()
const;
102 inline bool has_modem_id()
const;
103 inline void clear_modem_id();
104 static const int kModemIdFieldNumber = 1;
105 inline ::google::protobuf::int32 modem_id()
const;
106 inline void set_modem_id(::google::protobuf::int32 value);
109 inline int outbox_size()
const;
110 inline void clear_outbox();
111 static const int kOutboxFieldNumber = 2;
112 inline const ::goby::acomms::protobuf::ModemTransmission& outbox(
int index)
const;
113 inline ::goby::acomms::protobuf::ModemTransmission* mutable_outbox(
int index);
114 inline ::goby::acomms::protobuf::ModemTransmission* add_outbox();
115 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
117 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
121 inline bool has_request_id()
const;
122 inline void clear_request_id();
123 static const int kRequestIdFieldNumber = 3;
124 inline ::google::protobuf::uint64 request_id()
const;
125 inline void set_request_id(::google::protobuf::uint64 value);
129 inline void set_has_modem_id();
130 inline void clear_has_modem_id();
131 inline void set_has_request_id();
132 inline void clear_has_request_id();
134 ::google::protobuf::UnknownFieldSet _unknown_fields_;
136 ::google::protobuf::uint32 _has_bits_[1];
137 mutable int _cached_size_;
138 ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > outbox_;
139 ::google::protobuf::uint64 request_id_;
140 ::google::protobuf::int32 modem_id_;
141 friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto();
142 friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto();
143 friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto();
145 void InitAsDefaultInstance();
162 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
163 return _unknown_fields_;
166 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
167 return &_unknown_fields_;
170 static const ::google::protobuf::Descriptor* descriptor();
178 void CopyFrom(const ::google::protobuf::Message& from);
179 void MergeFrom(const ::google::protobuf::Message& from);
183 bool IsInitialized()
const;
185 int ByteSize()
const;
186 bool MergePartialFromCodedStream(
187 ::google::protobuf::io::CodedInputStream* input);
188 void SerializeWithCachedSizes(
189 ::google::protobuf::io::CodedOutputStream* output)
const;
190 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
191 int GetCachedSize()
const {
return _cached_size_; }
195 void SetCachedSize(
int size)
const;
197 ::google::protobuf::Metadata GetMetadata()
const;
204 inline bool has_modem_id()
const;
205 inline void clear_modem_id();
206 static const int kModemIdFieldNumber = 1;
207 inline ::google::protobuf::int32 modem_id()
const;
208 inline void set_modem_id(::google::protobuf::int32 value);
211 inline int inbox_size()
const;
212 inline void clear_inbox();
213 static const int kInboxFieldNumber = 2;
214 inline const ::goby::acomms::protobuf::ModemTransmission& inbox(
int index)
const;
215 inline ::goby::acomms::protobuf::ModemTransmission* mutable_inbox(
int index);
216 inline ::goby::acomms::protobuf::ModemTransmission* add_inbox();
217 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
219 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
223 inline bool has_request_id()
const;
224 inline void clear_request_id();
225 static const int kRequestIdFieldNumber = 3;
226 inline ::google::protobuf::uint64 request_id()
const;
227 inline void set_request_id(::google::protobuf::uint64 value);
231 inline void set_has_modem_id();
232 inline void clear_has_modem_id();
233 inline void set_has_request_id();
234 inline void clear_has_request_id();
236 ::google::protobuf::UnknownFieldSet _unknown_fields_;
238 ::google::protobuf::uint32 _has_bits_[1];
239 mutable int _cached_size_;
240 ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > inbox_;
241 ::google::protobuf::uint64 request_id_;
242 ::google::protobuf::int32 modem_id_;
243 friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto();
244 friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto();
245 friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto();
247 void InitAsDefaultInstance();
258 inline bool StoreServerRequest::has_modem_id()
const {
259 return (_has_bits_[0] & 0x00000001u) != 0;
261 inline void StoreServerRequest::set_has_modem_id() {
262 _has_bits_[0] |= 0x00000001u;
264 inline void StoreServerRequest::clear_has_modem_id() {
265 _has_bits_[0] &= ~0x00000001u;
267 inline void StoreServerRequest::clear_modem_id() {
269 clear_has_modem_id();
271 inline ::google::protobuf::int32 StoreServerRequest::modem_id()
const {
275 inline void StoreServerRequest::set_modem_id(::google::protobuf::int32 value) {
282 inline int StoreServerRequest::outbox_size()
const {
283 return outbox_.size();
285 inline void StoreServerRequest::clear_outbox() {
288 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerRequest::outbox(
int index)
const {
290 return outbox_.Get(index);
292 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::mutable_outbox(
int index) {
294 return outbox_.Mutable(index);
296 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::add_outbox() {
298 return outbox_.Add();
300 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
301 StoreServerRequest::outbox()
const {
305 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
306 StoreServerRequest::mutable_outbox() {
312 inline bool StoreServerRequest::has_request_id()
const {
313 return (_has_bits_[0] & 0x00000004u) != 0;
315 inline void StoreServerRequest::set_has_request_id() {
316 _has_bits_[0] |= 0x00000004u;
318 inline void StoreServerRequest::clear_has_request_id() {
319 _has_bits_[0] &= ~0x00000004u;
321 inline void StoreServerRequest::clear_request_id() {
322 request_id_ = GOOGLE_ULONGLONG(0);
323 clear_has_request_id();
325 inline ::google::protobuf::uint64 StoreServerRequest::request_id()
const {
329 inline void StoreServerRequest::set_request_id(::google::protobuf::uint64 value) {
330 set_has_request_id();
340 inline bool StoreServerResponse::has_modem_id()
const {
341 return (_has_bits_[0] & 0x00000001u) != 0;
343 inline void StoreServerResponse::set_has_modem_id() {
344 _has_bits_[0] |= 0x00000001u;
346 inline void StoreServerResponse::clear_has_modem_id() {
347 _has_bits_[0] &= ~0x00000001u;
349 inline void StoreServerResponse::clear_modem_id() {
351 clear_has_modem_id();
353 inline ::google::protobuf::int32 StoreServerResponse::modem_id()
const {
357 inline void StoreServerResponse::set_modem_id(::google::protobuf::int32 value) {
364 inline int StoreServerResponse::inbox_size()
const {
365 return inbox_.size();
367 inline void StoreServerResponse::clear_inbox() {
370 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerResponse::inbox(
int index)
const {
372 return inbox_.Get(index);
374 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::mutable_inbox(
int index) {
376 return inbox_.Mutable(index);
378 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::add_inbox() {
382 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
383 StoreServerResponse::inbox()
const {
387 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
388 StoreServerResponse::mutable_inbox() {
394 inline bool StoreServerResponse::has_request_id()
const {
395 return (_has_bits_[0] & 0x00000004u) != 0;
397 inline void StoreServerResponse::set_has_request_id() {
398 _has_bits_[0] |= 0x00000004u;
400 inline void StoreServerResponse::clear_has_request_id() {
401 _has_bits_[0] &= ~0x00000004u;
403 inline void StoreServerResponse::clear_request_id() {
404 request_id_ = GOOGLE_ULONGLONG(0);
405 clear_has_request_id();
407 inline ::google::protobuf::uint64 StoreServerResponse::request_id()
const {
411 inline void StoreServerResponse::set_request_id(::google::protobuf::uint64 value) {
412 set_has_request_id();
435 #endif // PROTOBUF_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto__INCLUDED
The global namespace for the Goby project.