Goby v2
file_transfer_config.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/apps/acomms/goby_file_transfer/file_transfer_config.proto
3 
4 #ifndef PROTOBUF_goby_2fapps_2facomms_2fgoby_5ffile_5ftransfer_2ffile_5ftransfer_5fconfig_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fapps_2facomms_2fgoby_5ffile_5ftransfer_2ffile_5ftransfer_5fconfig_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/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 #include "goby/common/protobuf/option_extensions.pb.h"
29 #include "goby/common/protobuf/app_base_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 namespace goby {
37 namespace acomms {
38 namespace protobuf {
39 
40 // Internal implementation detail -- do not call these.
41 void protobuf_AddDesc_goby_2fapps_2facomms_2fgoby_5ffile_5ftransfer_2ffile_5ftransfer_5fconfig_2eproto();
42 void protobuf_AssignDesc_goby_2fapps_2facomms_2fgoby_5ffile_5ftransfer_2ffile_5ftransfer_5fconfig_2eproto();
43 void protobuf_ShutdownFile_goby_2fapps_2facomms_2fgoby_5ffile_5ftransfer_2ffile_5ftransfer_5fconfig_2eproto();
44 
45 class FileTransferConfig;
46 
47 enum FileTransferConfig_Action {
48  FileTransferConfig_Action_WAIT = 0,
49  FileTransferConfig_Action_PUSH = 1,
50  FileTransferConfig_Action_PULL = 2
51 };
52 bool FileTransferConfig_Action_IsValid(int value);
53 const FileTransferConfig_Action FileTransferConfig_Action_Action_MIN = FileTransferConfig_Action_WAIT;
54 const FileTransferConfig_Action FileTransferConfig_Action_Action_MAX = FileTransferConfig_Action_PULL;
55 const int FileTransferConfig_Action_Action_ARRAYSIZE = FileTransferConfig_Action_Action_MAX + 1;
56 
57 const ::google::protobuf::EnumDescriptor* FileTransferConfig_Action_descriptor();
58 inline const ::std::string& FileTransferConfig_Action_Name(FileTransferConfig_Action value) {
59  return ::google::protobuf::internal::NameOfEnum(
60  FileTransferConfig_Action_descriptor(), value);
61 }
62 inline bool FileTransferConfig_Action_Parse(
63  const ::std::string& name, FileTransferConfig_Action* value) {
64  return ::google::protobuf::internal::ParseNamedEnum<FileTransferConfig_Action>(
65  FileTransferConfig_Action_descriptor(), name, value);
66 }
67 // ===================================================================
68 
69 class FileTransferConfig : public ::google::protobuf::Message {
70  public:
72  virtual ~FileTransferConfig();
73 
75 
76  inline FileTransferConfig& operator=(const FileTransferConfig& from) {
77  CopyFrom(from);
78  return *this;
79  }
80 
81  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
82  return _unknown_fields_;
83  }
84 
85  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
86  return &_unknown_fields_;
87  }
88 
89  static const ::google::protobuf::Descriptor* descriptor();
90  static const FileTransferConfig& default_instance();
91 
92  void Swap(FileTransferConfig* other);
93 
94  // implements Message ----------------------------------------------
95 
96  FileTransferConfig* New() const;
97  void CopyFrom(const ::google::protobuf::Message& from);
98  void MergeFrom(const ::google::protobuf::Message& from);
99  void CopyFrom(const FileTransferConfig& from);
100  void MergeFrom(const FileTransferConfig& from);
101  void Clear();
102  bool IsInitialized() const;
103 
104  int ByteSize() const;
105  bool MergePartialFromCodedStream(
106  ::google::protobuf::io::CodedInputStream* input);
107  void SerializeWithCachedSizes(
108  ::google::protobuf::io::CodedOutputStream* output) const;
109  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
110  int GetCachedSize() const { return _cached_size_; }
111  private:
112  void SharedCtor();
113  void SharedDtor();
114  void SetCachedSize(int size) const;
115  public:
116  ::google::protobuf::Metadata GetMetadata() const;
117 
118  // nested types ----------------------------------------------------
119 
120  typedef FileTransferConfig_Action Action;
121  static const Action WAIT = FileTransferConfig_Action_WAIT;
122  static const Action PUSH = FileTransferConfig_Action_PUSH;
123  static const Action PULL = FileTransferConfig_Action_PULL;
124  static inline bool Action_IsValid(int value) {
125  return FileTransferConfig_Action_IsValid(value);
126  }
127  static const Action Action_MIN =
128  FileTransferConfig_Action_Action_MIN;
129  static const Action Action_MAX =
130  FileTransferConfig_Action_Action_MAX;
131  static const int Action_ARRAYSIZE =
132  FileTransferConfig_Action_Action_ARRAYSIZE;
133  static inline const ::google::protobuf::EnumDescriptor*
134  Action_descriptor() {
135  return FileTransferConfig_Action_descriptor();
136  }
137  static inline const ::std::string& Action_Name(Action value) {
138  return FileTransferConfig_Action_Name(value);
139  }
140  static inline bool Action_Parse(const ::std::string& name,
141  Action* value) {
142  return FileTransferConfig_Action_Parse(name, value);
143  }
144 
145  // accessors -------------------------------------------------------
146 
147  // optional .AppBaseConfig base = 1;
148  inline bool has_base() const;
149  inline void clear_base();
150  static const int kBaseFieldNumber = 1;
151  inline const ::AppBaseConfig& base() const;
152  inline ::AppBaseConfig* mutable_base();
153  inline ::AppBaseConfig* release_base();
154  inline void set_allocated_base(::AppBaseConfig* base);
155 
156  // optional bool daemon = 2 [default = false];
157  inline bool has_daemon() const;
158  inline void clear_daemon();
159  static const int kDaemonFieldNumber = 2;
160  inline bool daemon() const;
161  inline void set_daemon(bool value);
162 
163  // required int32 local_id = 3;
164  inline bool has_local_id() const;
165  inline void clear_local_id();
166  static const int kLocalIdFieldNumber = 3;
167  inline ::google::protobuf::int32 local_id() const;
168  inline void set_local_id(::google::protobuf::int32 value);
169 
170  // optional int32 remote_id = 4;
171  inline bool has_remote_id() const;
172  inline void clear_remote_id();
173  static const int kRemoteIdFieldNumber = 4;
174  inline ::google::protobuf::int32 remote_id() const;
175  inline void set_remote_id(::google::protobuf::int32 value);
176 
177  // optional string local_file = 5;
178  inline bool has_local_file() const;
179  inline void clear_local_file();
180  static const int kLocalFileFieldNumber = 5;
181  inline const ::std::string& local_file() const;
182  inline void set_local_file(const ::std::string& value);
183  inline void set_local_file(const char* value);
184  inline void set_local_file(const char* value, size_t size);
185  inline ::std::string* mutable_local_file();
186  inline ::std::string* release_local_file();
187  inline void set_allocated_local_file(::std::string* local_file);
188 
189  // optional string remote_file = 6;
190  inline bool has_remote_file() const;
191  inline void clear_remote_file();
192  static const int kRemoteFileFieldNumber = 6;
193  inline const ::std::string& remote_file() const;
194  inline void set_remote_file(const ::std::string& value);
195  inline void set_remote_file(const char* value);
196  inline void set_remote_file(const char* value, size_t size);
197  inline ::std::string* mutable_remote_file();
198  inline ::std::string* release_remote_file();
199  inline void set_allocated_remote_file(::std::string* remote_file);
200 
201  // optional .goby.acomms.protobuf.FileTransferConfig.Action action = 10 [default = WAIT];
202  inline bool has_action() const;
203  inline void clear_action();
204  static const int kActionFieldNumber = 10;
205  inline ::goby::acomms::protobuf::FileTransferConfig_Action action() const;
206  inline void set_action(::goby::acomms::protobuf::FileTransferConfig_Action value);
207 
208  // optional double request_timeout = 11 [default = 600];
209  inline bool has_request_timeout() const;
210  inline void clear_request_timeout();
211  static const int kRequestTimeoutFieldNumber = 11;
212  inline double request_timeout() const;
213  inline void set_request_timeout(double value);
214 
215  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.FileTransferConfig)
216  private:
217  inline void set_has_base();
218  inline void clear_has_base();
219  inline void set_has_daemon();
220  inline void clear_has_daemon();
221  inline void set_has_local_id();
222  inline void clear_has_local_id();
223  inline void set_has_remote_id();
224  inline void clear_has_remote_id();
225  inline void set_has_local_file();
226  inline void clear_has_local_file();
227  inline void set_has_remote_file();
228  inline void clear_has_remote_file();
229  inline void set_has_action();
230  inline void clear_has_action();
231  inline void set_has_request_timeout();
232  inline void clear_has_request_timeout();
233 
234  ::google::protobuf::UnknownFieldSet _unknown_fields_;
235 
236  ::google::protobuf::uint32 _has_bits_[1];
237  mutable int _cached_size_;
238  ::AppBaseConfig* base_;
239  bool daemon_;
240  ::google::protobuf::int32 local_id_;
241  ::std::string* local_file_;
242  ::google::protobuf::int32 remote_id_;
243  int action_;
244  ::std::string* remote_file_;
245  double request_timeout_;
246  friend void protobuf_AddDesc_goby_2fapps_2facomms_2fgoby_5ffile_5ftransfer_2ffile_5ftransfer_5fconfig_2eproto();
247  friend void protobuf_AssignDesc_goby_2fapps_2facomms_2fgoby_5ffile_5ftransfer_2ffile_5ftransfer_5fconfig_2eproto();
248  friend void protobuf_ShutdownFile_goby_2fapps_2facomms_2fgoby_5ffile_5ftransfer_2ffile_5ftransfer_5fconfig_2eproto();
249 
250  void InitAsDefaultInstance();
251  static FileTransferConfig* default_instance_;
252 };
253 // ===================================================================
254 
255 
256 // ===================================================================
257 
258 // FileTransferConfig
259 
260 // optional .AppBaseConfig base = 1;
261 inline bool FileTransferConfig::has_base() const {
262  return (_has_bits_[0] & 0x00000001u) != 0;
263 }
264 inline void FileTransferConfig::set_has_base() {
265  _has_bits_[0] |= 0x00000001u;
266 }
267 inline void FileTransferConfig::clear_has_base() {
268  _has_bits_[0] &= ~0x00000001u;
269 }
270 inline void FileTransferConfig::clear_base() {
271  if (base_ != NULL) base_->::AppBaseConfig::Clear();
272  clear_has_base();
273 }
274 inline const ::AppBaseConfig& FileTransferConfig::base() const {
275  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileTransferConfig.base)
276  return base_ != NULL ? *base_ : *default_instance_->base_;
277 }
278 inline ::AppBaseConfig* FileTransferConfig::mutable_base() {
279  set_has_base();
280  if (base_ == NULL) base_ = new ::AppBaseConfig;
281  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.FileTransferConfig.base)
282  return base_;
283 }
284 inline ::AppBaseConfig* FileTransferConfig::release_base() {
285  clear_has_base();
286  ::AppBaseConfig* temp = base_;
287  base_ = NULL;
288  return temp;
289 }
290 inline void FileTransferConfig::set_allocated_base(::AppBaseConfig* base) {
291  delete base_;
292  base_ = base;
293  if (base) {
294  set_has_base();
295  } else {
296  clear_has_base();
297  }
298  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.FileTransferConfig.base)
299 }
300 
301 // optional bool daemon = 2 [default = false];
302 inline bool FileTransferConfig::has_daemon() const {
303  return (_has_bits_[0] & 0x00000002u) != 0;
304 }
305 inline void FileTransferConfig::set_has_daemon() {
306  _has_bits_[0] |= 0x00000002u;
307 }
308 inline void FileTransferConfig::clear_has_daemon() {
309  _has_bits_[0] &= ~0x00000002u;
310 }
311 inline void FileTransferConfig::clear_daemon() {
312  daemon_ = false;
313  clear_has_daemon();
314 }
315 inline bool FileTransferConfig::daemon() const {
316  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileTransferConfig.daemon)
317  return daemon_;
318 }
319 inline void FileTransferConfig::set_daemon(bool value) {
320  set_has_daemon();
321  daemon_ = value;
322  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileTransferConfig.daemon)
323 }
324 
325 // required int32 local_id = 3;
326 inline bool FileTransferConfig::has_local_id() const {
327  return (_has_bits_[0] & 0x00000004u) != 0;
328 }
329 inline void FileTransferConfig::set_has_local_id() {
330  _has_bits_[0] |= 0x00000004u;
331 }
332 inline void FileTransferConfig::clear_has_local_id() {
333  _has_bits_[0] &= ~0x00000004u;
334 }
335 inline void FileTransferConfig::clear_local_id() {
336  local_id_ = 0;
337  clear_has_local_id();
338 }
339 inline ::google::protobuf::int32 FileTransferConfig::local_id() const {
340  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileTransferConfig.local_id)
341  return local_id_;
342 }
343 inline void FileTransferConfig::set_local_id(::google::protobuf::int32 value) {
344  set_has_local_id();
345  local_id_ = value;
346  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileTransferConfig.local_id)
347 }
348 
349 // optional int32 remote_id = 4;
350 inline bool FileTransferConfig::has_remote_id() const {
351  return (_has_bits_[0] & 0x00000008u) != 0;
352 }
353 inline void FileTransferConfig::set_has_remote_id() {
354  _has_bits_[0] |= 0x00000008u;
355 }
356 inline void FileTransferConfig::clear_has_remote_id() {
357  _has_bits_[0] &= ~0x00000008u;
358 }
359 inline void FileTransferConfig::clear_remote_id() {
360  remote_id_ = 0;
361  clear_has_remote_id();
362 }
363 inline ::google::protobuf::int32 FileTransferConfig::remote_id() const {
364  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileTransferConfig.remote_id)
365  return remote_id_;
366 }
367 inline void FileTransferConfig::set_remote_id(::google::protobuf::int32 value) {
368  set_has_remote_id();
369  remote_id_ = value;
370  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileTransferConfig.remote_id)
371 }
372 
373 // optional string local_file = 5;
374 inline bool FileTransferConfig::has_local_file() const {
375  return (_has_bits_[0] & 0x00000010u) != 0;
376 }
377 inline void FileTransferConfig::set_has_local_file() {
378  _has_bits_[0] |= 0x00000010u;
379 }
380 inline void FileTransferConfig::clear_has_local_file() {
381  _has_bits_[0] &= ~0x00000010u;
382 }
383 inline void FileTransferConfig::clear_local_file() {
384  if (local_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
385  local_file_->clear();
386  }
387  clear_has_local_file();
388 }
389 inline const ::std::string& FileTransferConfig::local_file() const {
390  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileTransferConfig.local_file)
391  return *local_file_;
392 }
393 inline void FileTransferConfig::set_local_file(const ::std::string& value) {
394  set_has_local_file();
395  if (local_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
396  local_file_ = new ::std::string;
397  }
398  local_file_->assign(value);
399  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileTransferConfig.local_file)
400 }
401 inline void FileTransferConfig::set_local_file(const char* value) {
402  set_has_local_file();
403  if (local_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
404  local_file_ = new ::std::string;
405  }
406  local_file_->assign(value);
407  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.FileTransferConfig.local_file)
408 }
409 inline void FileTransferConfig::set_local_file(const char* value, size_t size) {
410  set_has_local_file();
411  if (local_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
412  local_file_ = new ::std::string;
413  }
414  local_file_->assign(reinterpret_cast<const char*>(value), size);
415  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.FileTransferConfig.local_file)
416 }
417 inline ::std::string* FileTransferConfig::mutable_local_file() {
418  set_has_local_file();
419  if (local_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
420  local_file_ = new ::std::string;
421  }
422  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.FileTransferConfig.local_file)
423  return local_file_;
424 }
425 inline ::std::string* FileTransferConfig::release_local_file() {
426  clear_has_local_file();
427  if (local_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
428  return NULL;
429  } else {
430  ::std::string* temp = local_file_;
431  local_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
432  return temp;
433  }
434 }
435 inline void FileTransferConfig::set_allocated_local_file(::std::string* local_file) {
436  if (local_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
437  delete local_file_;
438  }
439  if (local_file) {
440  set_has_local_file();
441  local_file_ = local_file;
442  } else {
443  clear_has_local_file();
444  local_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
445  }
446  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.FileTransferConfig.local_file)
447 }
448 
449 // optional string remote_file = 6;
450 inline bool FileTransferConfig::has_remote_file() const {
451  return (_has_bits_[0] & 0x00000020u) != 0;
452 }
453 inline void FileTransferConfig::set_has_remote_file() {
454  _has_bits_[0] |= 0x00000020u;
455 }
456 inline void FileTransferConfig::clear_has_remote_file() {
457  _has_bits_[0] &= ~0x00000020u;
458 }
459 inline void FileTransferConfig::clear_remote_file() {
460  if (remote_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
461  remote_file_->clear();
462  }
463  clear_has_remote_file();
464 }
465 inline const ::std::string& FileTransferConfig::remote_file() const {
466  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileTransferConfig.remote_file)
467  return *remote_file_;
468 }
469 inline void FileTransferConfig::set_remote_file(const ::std::string& value) {
470  set_has_remote_file();
471  if (remote_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
472  remote_file_ = new ::std::string;
473  }
474  remote_file_->assign(value);
475  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileTransferConfig.remote_file)
476 }
477 inline void FileTransferConfig::set_remote_file(const char* value) {
478  set_has_remote_file();
479  if (remote_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
480  remote_file_ = new ::std::string;
481  }
482  remote_file_->assign(value);
483  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.FileTransferConfig.remote_file)
484 }
485 inline void FileTransferConfig::set_remote_file(const char* value, size_t size) {
486  set_has_remote_file();
487  if (remote_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
488  remote_file_ = new ::std::string;
489  }
490  remote_file_->assign(reinterpret_cast<const char*>(value), size);
491  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.FileTransferConfig.remote_file)
492 }
493 inline ::std::string* FileTransferConfig::mutable_remote_file() {
494  set_has_remote_file();
495  if (remote_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
496  remote_file_ = new ::std::string;
497  }
498  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.FileTransferConfig.remote_file)
499  return remote_file_;
500 }
501 inline ::std::string* FileTransferConfig::release_remote_file() {
502  clear_has_remote_file();
503  if (remote_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
504  return NULL;
505  } else {
506  ::std::string* temp = remote_file_;
507  remote_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
508  return temp;
509  }
510 }
511 inline void FileTransferConfig::set_allocated_remote_file(::std::string* remote_file) {
512  if (remote_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
513  delete remote_file_;
514  }
515  if (remote_file) {
516  set_has_remote_file();
517  remote_file_ = remote_file;
518  } else {
519  clear_has_remote_file();
520  remote_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
521  }
522  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.FileTransferConfig.remote_file)
523 }
524 
525 // optional .goby.acomms.protobuf.FileTransferConfig.Action action = 10 [default = WAIT];
526 inline bool FileTransferConfig::has_action() const {
527  return (_has_bits_[0] & 0x00000040u) != 0;
528 }
529 inline void FileTransferConfig::set_has_action() {
530  _has_bits_[0] |= 0x00000040u;
531 }
532 inline void FileTransferConfig::clear_has_action() {
533  _has_bits_[0] &= ~0x00000040u;
534 }
535 inline void FileTransferConfig::clear_action() {
536  action_ = 0;
537  clear_has_action();
538 }
539 inline ::goby::acomms::protobuf::FileTransferConfig_Action FileTransferConfig::action() const {
540  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileTransferConfig.action)
541  return static_cast< ::goby::acomms::protobuf::FileTransferConfig_Action >(action_);
542 }
543 inline void FileTransferConfig::set_action(::goby::acomms::protobuf::FileTransferConfig_Action value) {
544  assert(::goby::acomms::protobuf::FileTransferConfig_Action_IsValid(value));
545  set_has_action();
546  action_ = value;
547  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileTransferConfig.action)
548 }
549 
550 // optional double request_timeout = 11 [default = 600];
551 inline bool FileTransferConfig::has_request_timeout() const {
552  return (_has_bits_[0] & 0x00000080u) != 0;
553 }
554 inline void FileTransferConfig::set_has_request_timeout() {
555  _has_bits_[0] |= 0x00000080u;
556 }
557 inline void FileTransferConfig::clear_has_request_timeout() {
558  _has_bits_[0] &= ~0x00000080u;
559 }
560 inline void FileTransferConfig::clear_request_timeout() {
561  request_timeout_ = 600;
562  clear_has_request_timeout();
563 }
564 inline double FileTransferConfig::request_timeout() const {
565  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileTransferConfig.request_timeout)
566  return request_timeout_;
567 }
568 inline void FileTransferConfig::set_request_timeout(double value) {
569  set_has_request_timeout();
570  request_timeout_ = value;
571  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileTransferConfig.request_timeout)
572 }
573 
574 
575 // @@protoc_insertion_point(namespace_scope)
576 
577 } // namespace protobuf
578 } // namespace acomms
579 } // namespace goby
580 
581 #ifndef SWIG
582 namespace google {
583 namespace protobuf {
584 
585 template <> struct is_proto_enum< ::goby::acomms::protobuf::FileTransferConfig_Action> : ::google::protobuf::internal::true_type {};
586 template <>
587 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::FileTransferConfig_Action>() {
588  return ::goby::acomms::protobuf::FileTransferConfig_Action_descriptor();
589 }
590 
591 } // namespace google
592 } // namespace protobuf
593 #endif // SWIG
594 
595 // @@protoc_insertion_point(global_scope)
596 
597 #endif // PROTOBUF_goby_2fapps_2facomms_2fgoby_5ffile_5ftransfer_2ffile_5ftransfer_5fconfig_2eproto__INCLUDED
The global namespace for the Goby project.