Goby3  3.1.5a
2024.05.23
file_transfer.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/file_transfer.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.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> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.h"
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
40 // @@protoc_insertion_point(includes)
41 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto
42 
44 // Internal implementation detail -- do not use these members.
45 struct TableStruct {
46  static const ::google::protobuf::internal::ParseTableField entries[];
47  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
48  static const ::google::protobuf::internal::ParseTable schema[3];
49  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
50  static const ::google::protobuf::internal::SerializationTable serialization_table[];
52 };
53 void AddDescriptors();
54 } // namespace protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto
55 namespace goby {
56 namespace acomms {
57 namespace protobuf {
58 class FileFragment;
59 class FileFragmentDefaultTypeInternal;
60 extern FileFragmentDefaultTypeInternal _FileFragment_default_instance_;
61 class TransferRequest;
62 class TransferRequestDefaultTypeInternal;
63 extern TransferRequestDefaultTypeInternal _TransferRequest_default_instance_;
64 class TransferResponse;
65 class TransferResponseDefaultTypeInternal;
66 extern TransferResponseDefaultTypeInternal _TransferResponse_default_instance_;
67 } // namespace protobuf
68 } // namespace acomms
69 } // namespace goby
70 namespace google {
71 namespace protobuf {
72 template<> ::goby::acomms::protobuf::FileFragment* Arena::CreateMaybeMessage<::goby::acomms::protobuf::FileFragment>(Arena*);
73 template<> ::goby::acomms::protobuf::TransferRequest* Arena::CreateMaybeMessage<::goby::acomms::protobuf::TransferRequest>(Arena*);
74 template<> ::goby::acomms::protobuf::TransferResponse* Arena::CreateMaybeMessage<::goby::acomms::protobuf::TransferResponse>(Arena*);
75 } // namespace protobuf
76 } // namespace google
77 namespace goby {
78 namespace acomms {
79 namespace protobuf {
80 
84 };
85 bool TransferRequest_PushPull_IsValid(int value);
89 
90 const ::google::protobuf::EnumDescriptor* TransferRequest_PushPull_descriptor();
91 inline const ::std::string& TransferRequest_PushPull_Name(TransferRequest_PushPull value) {
92  return ::google::protobuf::internal::NameOfEnum(
94 }
96  const ::std::string& name, TransferRequest_PushPull* value) {
97  return ::google::protobuf::internal::ParseNamedEnum<TransferRequest_PushPull>(
99 }
107 };
108 bool TransferResponse_ErrorCode_IsValid(int value);
112 
113 const ::google::protobuf::EnumDescriptor* TransferResponse_ErrorCode_descriptor();
115  return ::google::protobuf::internal::NameOfEnum(
117 }
119  const ::std::string& name, TransferResponse_ErrorCode* value) {
120  return ::google::protobuf::internal::ParseNamedEnum<TransferResponse_ErrorCode>(
122 }
123 // ===================================================================
124 
125 class FileFragment : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.FileFragment) */ {
126  public:
127  FileFragment();
128  virtual ~FileFragment();
129 
130  FileFragment(const FileFragment& from);
131 
132  inline FileFragment& operator=(const FileFragment& from) {
133  CopyFrom(from);
134  return *this;
135  }
136  #if LANG_CXX11
137  FileFragment(FileFragment&& from) noexcept
138  : FileFragment() {
139  *this = ::std::move(from);
140  }
141 
142  inline FileFragment& operator=(FileFragment&& from) noexcept {
143  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
144  if (this != &from) InternalSwap(&from);
145  } else {
146  CopyFrom(from);
147  }
148  return *this;
149  }
150  #endif
151  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
152  return _internal_metadata_.unknown_fields();
153  }
154  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
155  return _internal_metadata_.mutable_unknown_fields();
156  }
157 
158  static const ::google::protobuf::Descriptor* descriptor();
159  static const FileFragment& default_instance();
160 
161  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
162  static inline const FileFragment* internal_default_instance() {
163  return reinterpret_cast<const FileFragment*>(
165  }
166  static constexpr int kIndexInFileMessages =
167  0;
168 
169  void Swap(FileFragment* other);
170  friend void swap(FileFragment& a, FileFragment& b) {
171  a.Swap(&b);
172  }
173 
174  // implements Message ----------------------------------------------
175 
176  inline FileFragment* New() const final {
177  return CreateMaybeMessage<FileFragment>(NULL);
178  }
179 
180  FileFragment* New(::google::protobuf::Arena* arena) const final {
181  return CreateMaybeMessage<FileFragment>(arena);
182  }
183  void CopyFrom(const ::google::protobuf::Message& from) final;
184  void MergeFrom(const ::google::protobuf::Message& from) final;
185  void CopyFrom(const FileFragment& from);
186  void MergeFrom(const FileFragment& from);
187  void Clear() final;
188  bool IsInitialized() const final;
189 
190  size_t ByteSizeLong() const final;
192  ::google::protobuf::io::CodedInputStream* input) final;
194  ::google::protobuf::io::CodedOutputStream* output) const final;
196  bool deterministic, ::google::protobuf::uint8* target) const final;
197  int GetCachedSize() const final { return _cached_size_.Get(); }
198 
199  private:
200  void SharedCtor();
201  void SharedDtor();
202  void SetCachedSize(int size) const final;
203  void InternalSwap(FileFragment* other);
204  private:
205  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
206  return NULL;
207  }
208  inline void* MaybeArenaPtr() const {
209  return NULL;
210  }
211  public:
212 
214 
215  // nested types ----------------------------------------------------
216 
217  // accessors -------------------------------------------------------
218 
219  // required bytes data = 6 [(.dccl.field) = {
220  bool has_data() const;
221  void clear_data();
222  static const int kDataFieldNumber = 6;
223  const ::std::string& data() const;
224  void set_data(const ::std::string& value);
225  #if LANG_CXX11
226  void set_data(::std::string&& value);
227  #endif
228  void set_data(const char* value);
229  void set_data(const void* value, size_t size);
230  ::std::string* mutable_data();
231  ::std::string* release_data();
232  void set_allocated_data(::std::string* data);
233 
234  // required int32 src = 1 [(.dccl.field) = {
235  bool has_src() const;
236  void clear_src();
237  static const int kSrcFieldNumber = 1;
239  void set_src(::google::protobuf::int32 value);
240 
241  // required int32 dest = 2 [(.dccl.field) = {
242  bool has_dest() const;
243  void clear_dest();
244  static const int kDestFieldNumber = 2;
246  void set_dest(::google::protobuf::int32 value);
247 
248  // required int32 fragment = 3 [(.dccl.field) = {
249  bool has_fragment() const;
250  void clear_fragment();
251  static const int kFragmentFieldNumber = 3;
254 
255  // required bool is_last_fragment = 4;
256  bool has_is_last_fragment() const;
257  void clear_is_last_fragment();
258  static const int kIsLastFragmentFieldNumber = 4;
259  bool is_last_fragment() const;
260  void set_is_last_fragment(bool value);
261 
262  // required int32 num_bytes = 5 [(.dccl.field) = {
263  bool has_num_bytes() const;
264  void clear_num_bytes();
265  static const int kNumBytesFieldNumber = 5;
268 
270  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.FileFragment)
271  private:
272  void set_has_src();
273  void clear_has_src();
274  void set_has_dest();
275  void clear_has_dest();
276  void set_has_fragment();
277  void clear_has_fragment();
278  void set_has_is_last_fragment();
279  void clear_has_is_last_fragment();
280  void set_has_num_bytes();
281  void clear_has_num_bytes();
282  void set_has_data();
283  void clear_has_data();
284 
285  // helper for ByteSizeLong()
286  size_t RequiredFieldsByteSizeFallback() const;
287 
288  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
289  ::google::protobuf::internal::HasBits<1> _has_bits_;
290  mutable ::google::protobuf::internal::CachedSize _cached_size_;
291  ::google::protobuf::internal::ArenaStringPtr data_;
294  ::google::protobuf::int32 fragment_;
295  bool is_last_fragment_;
296  ::google::protobuf::int32 num_bytes_;
297  friend struct ::protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct;
298 };
299 // -------------------------------------------------------------------
300 
301 class TransferRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.TransferRequest) */ {
302  public:
303  TransferRequest();
304  virtual ~TransferRequest();
305 
306  TransferRequest(const TransferRequest& from);
307 
309  CopyFrom(from);
310  return *this;
311  }
312  #if LANG_CXX11
313  TransferRequest(TransferRequest&& from) noexcept
314  : TransferRequest() {
315  *this = ::std::move(from);
316  }
317 
318  inline TransferRequest& operator=(TransferRequest&& from) noexcept {
319  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
320  if (this != &from) InternalSwap(&from);
321  } else {
322  CopyFrom(from);
323  }
324  return *this;
325  }
326  #endif
327  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
328  return _internal_metadata_.unknown_fields();
329  }
330  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
331  return _internal_metadata_.mutable_unknown_fields();
332  }
333 
334  static const ::google::protobuf::Descriptor* descriptor();
335  static const TransferRequest& default_instance();
336 
337  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
339  return reinterpret_cast<const TransferRequest*>(
341  }
342  static constexpr int kIndexInFileMessages =
343  1;
344 
345  void Swap(TransferRequest* other);
346  friend void swap(TransferRequest& a, TransferRequest& b) {
347  a.Swap(&b);
348  }
349 
350  // implements Message ----------------------------------------------
351 
352  inline TransferRequest* New() const final {
353  return CreateMaybeMessage<TransferRequest>(NULL);
354  }
355 
356  TransferRequest* New(::google::protobuf::Arena* arena) const final {
357  return CreateMaybeMessage<TransferRequest>(arena);
358  }
359  void CopyFrom(const ::google::protobuf::Message& from) final;
360  void MergeFrom(const ::google::protobuf::Message& from) final;
361  void CopyFrom(const TransferRequest& from);
362  void MergeFrom(const TransferRequest& from);
363  void Clear() final;
364  bool IsInitialized() const final;
365 
366  size_t ByteSizeLong() const final;
368  ::google::protobuf::io::CodedInputStream* input) final;
370  ::google::protobuf::io::CodedOutputStream* output) const final;
372  bool deterministic, ::google::protobuf::uint8* target) const final;
373  int GetCachedSize() const final { return _cached_size_.Get(); }
374 
375  private:
376  void SharedCtor();
377  void SharedDtor();
378  void SetCachedSize(int size) const final;
379  void InternalSwap(TransferRequest* other);
380  private:
381  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
382  return NULL;
383  }
384  inline void* MaybeArenaPtr() const {
385  return NULL;
386  }
387  public:
388 
390 
391  // nested types ----------------------------------------------------
392 
394  static const PushPull PUSH =
396  static const PushPull PULL =
398  static inline bool PushPull_IsValid(int value) {
399  return TransferRequest_PushPull_IsValid(value);
400  }
401  static const PushPull PushPull_MIN =
403  static const PushPull PushPull_MAX =
405  static const int PushPull_ARRAYSIZE =
407  static inline const ::google::protobuf::EnumDescriptor*
410  }
411  static inline const ::std::string& PushPull_Name(PushPull value) {
412  return TransferRequest_PushPull_Name(value);
413  }
414  static inline bool PushPull_Parse(const ::std::string& name,
415  PushPull* value) {
416  return TransferRequest_PushPull_Parse(name, value);
417  }
418 
419  // accessors -------------------------------------------------------
420 
421  // required string file = 10 [(.dccl.field) = {
422  bool has_file() const;
423  void clear_file();
424  static const int kFileFieldNumber = 10;
425  const ::std::string& file() const;
426  void set_file(const ::std::string& value);
427  #if LANG_CXX11
428  void set_file(::std::string&& value);
429  #endif
430  void set_file(const char* value);
431  void set_file(const char* value, size_t size);
432  ::std::string* mutable_file();
433  ::std::string* release_file();
434  void set_allocated_file(::std::string* file);
435 
436  // required int32 src = 1 [(.dccl.field) = {
437  bool has_src() const;
438  void clear_src();
439  static const int kSrcFieldNumber = 1;
441  void set_src(::google::protobuf::int32 value);
442 
443  // required int32 dest = 2 [(.dccl.field) = {
444  bool has_dest() const;
445  void clear_dest();
446  static const int kDestFieldNumber = 2;
448  void set_dest(::google::protobuf::int32 value);
449 
450  // required .goby.acomms.protobuf.TransferRequest.PushPull push_or_pull = 3 [(.dccl.field) = {
451  bool has_push_or_pull() const;
452  void clear_push_or_pull();
453  static const int kPushOrPullFieldNumber = 3;
456 
458  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.TransferRequest)
459  private:
460  void set_has_src();
461  void clear_has_src();
462  void set_has_dest();
463  void clear_has_dest();
464  void set_has_push_or_pull();
465  void clear_has_push_or_pull();
466  void set_has_file();
467  void clear_has_file();
468 
469  // helper for ByteSizeLong()
470  size_t RequiredFieldsByteSizeFallback() const;
471 
472  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
473  ::google::protobuf::internal::HasBits<1> _has_bits_;
474  mutable ::google::protobuf::internal::CachedSize _cached_size_;
475  ::google::protobuf::internal::ArenaStringPtr file_;
478  int push_or_pull_;
479  friend struct ::protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct;
480 };
481 // -------------------------------------------------------------------
482 
483 class TransferResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.TransferResponse) */ {
484  public:
486  virtual ~TransferResponse();
487 
488  TransferResponse(const TransferResponse& from);
489 
491  CopyFrom(from);
492  return *this;
493  }
494  #if LANG_CXX11
495  TransferResponse(TransferResponse&& from) noexcept
496  : TransferResponse() {
497  *this = ::std::move(from);
498  }
499 
500  inline TransferResponse& operator=(TransferResponse&& from) noexcept {
501  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
502  if (this != &from) InternalSwap(&from);
503  } else {
504  CopyFrom(from);
505  }
506  return *this;
507  }
508  #endif
509  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
510  return _internal_metadata_.unknown_fields();
511  }
512  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
513  return _internal_metadata_.mutable_unknown_fields();
514  }
515 
516  static const ::google::protobuf::Descriptor* descriptor();
517  static const TransferResponse& default_instance();
518 
519  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
521  return reinterpret_cast<const TransferResponse*>(
523  }
524  static constexpr int kIndexInFileMessages =
525  2;
526 
527  void Swap(TransferResponse* other);
528  friend void swap(TransferResponse& a, TransferResponse& b) {
529  a.Swap(&b);
530  }
531 
532  // implements Message ----------------------------------------------
533 
534  inline TransferResponse* New() const final {
535  return CreateMaybeMessage<TransferResponse>(NULL);
536  }
537 
539  return CreateMaybeMessage<TransferResponse>(arena);
540  }
541  void CopyFrom(const ::google::protobuf::Message& from) final;
542  void MergeFrom(const ::google::protobuf::Message& from) final;
543  void CopyFrom(const TransferResponse& from);
544  void MergeFrom(const TransferResponse& from);
545  void Clear() final;
546  bool IsInitialized() const final;
547 
548  size_t ByteSizeLong() const final;
550  ::google::protobuf::io::CodedInputStream* input) final;
552  ::google::protobuf::io::CodedOutputStream* output) const final;
554  bool deterministic, ::google::protobuf::uint8* target) const final;
555  int GetCachedSize() const final { return _cached_size_.Get(); }
556 
557  private:
558  void SharedCtor();
559  void SharedDtor();
560  void SetCachedSize(int size) const final;
561  void InternalSwap(TransferResponse* other);
562  private:
563  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
564  return NULL;
565  }
566  inline void* MaybeArenaPtr() const {
567  return NULL;
568  }
569  public:
570 
572 
573  // nested types ----------------------------------------------------
574 
578  static const ErrorCode FILE_TOO_LARGE =
580  static const ErrorCode TIMEOUT =
586  static const ErrorCode OTHER_ERROR =
588  static inline bool ErrorCode_IsValid(int value) {
590  }
591  static const ErrorCode ErrorCode_MIN =
593  static const ErrorCode ErrorCode_MAX =
595  static const int ErrorCode_ARRAYSIZE =
597  static inline const ::google::protobuf::EnumDescriptor*
600  }
601  static inline const ::std::string& ErrorCode_Name(ErrorCode value) {
602  return TransferResponse_ErrorCode_Name(value);
603  }
604  static inline bool ErrorCode_Parse(const ::std::string& name,
605  ErrorCode* value) {
606  return TransferResponse_ErrorCode_Parse(name, value);
607  }
608 
609  // accessors -------------------------------------------------------
610 
611  // required int32 src = 1 [(.dccl.field) = {
612  bool has_src() const;
613  void clear_src();
614  static const int kSrcFieldNumber = 1;
616  void set_src(::google::protobuf::int32 value);
617 
618  // required int32 dest = 2 [(.dccl.field) = {
619  bool has_dest() const;
620  void clear_dest();
621  static const int kDestFieldNumber = 2;
623  void set_dest(::google::protobuf::int32 value);
624 
625  // required bool transfer_successful = 3;
626  bool has_transfer_successful() const;
628  static const int kTransferSuccessfulFieldNumber = 3;
629  bool transfer_successful() const;
630  void set_transfer_successful(bool value);
631 
632  // optional int32 num_fragments = 5 [(.dccl.field) = {
633  bool has_num_fragments() const;
634  void clear_num_fragments();
635  static const int kNumFragmentsFieldNumber = 5;
638 
639  // optional .goby.acomms.protobuf.TransferResponse.ErrorCode error = 4;
640  bool has_error() const;
641  void clear_error();
642  static const int kErrorFieldNumber = 4;
645 
647  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.TransferResponse)
648  private:
649  void set_has_src();
650  void clear_has_src();
651  void set_has_dest();
652  void clear_has_dest();
653  void set_has_transfer_successful();
654  void clear_has_transfer_successful();
655  void set_has_error();
656  void clear_has_error();
657  void set_has_num_fragments();
658  void clear_has_num_fragments();
659 
660  // helper for ByteSizeLong()
661  size_t RequiredFieldsByteSizeFallback() const;
662 
663  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
664  ::google::protobuf::internal::HasBits<1> _has_bits_;
665  mutable ::google::protobuf::internal::CachedSize _cached_size_;
668  bool transfer_successful_;
669  ::google::protobuf::int32 num_fragments_;
670  int error_;
671  friend struct ::protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct;
672 };
673 // ===================================================================
674 
675 
676 // ===================================================================
677 
678 #ifdef __GNUC__
679  #pragma GCC diagnostic push
680  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
681 #endif // __GNUC__
682 // FileFragment
683 
684 // required int32 src = 1 [(.dccl.field) = {
685 inline bool FileFragment::has_src() const {
686  return (_has_bits_[0] & 0x00000002u) != 0;
687 }
688 inline void FileFragment::set_has_src() {
689  _has_bits_[0] |= 0x00000002u;
690 }
691 inline void FileFragment::clear_has_src() {
692  _has_bits_[0] &= ~0x00000002u;
693 }
694 inline void FileFragment::clear_src() {
695  src_ = 0;
696  clear_has_src();
697 }
699  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileFragment.src)
700  return src_;
701 }
703  set_has_src();
704  src_ = value;
705  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileFragment.src)
706 }
707 
708 // required int32 dest = 2 [(.dccl.field) = {
709 inline bool FileFragment::has_dest() const {
710  return (_has_bits_[0] & 0x00000004u) != 0;
711 }
712 inline void FileFragment::set_has_dest() {
713  _has_bits_[0] |= 0x00000004u;
714 }
715 inline void FileFragment::clear_has_dest() {
716  _has_bits_[0] &= ~0x00000004u;
717 }
719  dest_ = 0;
720  clear_has_dest();
721 }
723  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileFragment.dest)
724  return dest_;
725 }
727  set_has_dest();
728  dest_ = value;
729  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileFragment.dest)
730 }
731 
732 // required int32 fragment = 3 [(.dccl.field) = {
733 inline bool FileFragment::has_fragment() const {
734  return (_has_bits_[0] & 0x00000008u) != 0;
735 }
736 inline void FileFragment::set_has_fragment() {
737  _has_bits_[0] |= 0x00000008u;
738 }
739 inline void FileFragment::clear_has_fragment() {
740  _has_bits_[0] &= ~0x00000008u;
741 }
743  fragment_ = 0;
744  clear_has_fragment();
745 }
747  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileFragment.fragment)
748  return fragment_;
749 }
751  set_has_fragment();
752  fragment_ = value;
753  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileFragment.fragment)
754 }
755 
756 // required bool is_last_fragment = 4;
758  return (_has_bits_[0] & 0x00000010u) != 0;
759 }
760 inline void FileFragment::set_has_is_last_fragment() {
761  _has_bits_[0] |= 0x00000010u;
762 }
763 inline void FileFragment::clear_has_is_last_fragment() {
764  _has_bits_[0] &= ~0x00000010u;
765 }
767  is_last_fragment_ = false;
768  clear_has_is_last_fragment();
769 }
770 inline bool FileFragment::is_last_fragment() const {
771  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileFragment.is_last_fragment)
772  return is_last_fragment_;
773 }
774 inline void FileFragment::set_is_last_fragment(bool value) {
775  set_has_is_last_fragment();
776  is_last_fragment_ = value;
777  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileFragment.is_last_fragment)
778 }
779 
780 // required int32 num_bytes = 5 [(.dccl.field) = {
781 inline bool FileFragment::has_num_bytes() const {
782  return (_has_bits_[0] & 0x00000020u) != 0;
783 }
784 inline void FileFragment::set_has_num_bytes() {
785  _has_bits_[0] |= 0x00000020u;
786 }
787 inline void FileFragment::clear_has_num_bytes() {
788  _has_bits_[0] &= ~0x00000020u;
789 }
791  num_bytes_ = 0;
792  clear_has_num_bytes();
793 }
795  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileFragment.num_bytes)
796  return num_bytes_;
797 }
799  set_has_num_bytes();
800  num_bytes_ = value;
801  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileFragment.num_bytes)
802 }
803 
804 // required bytes data = 6 [(.dccl.field) = {
805 inline bool FileFragment::has_data() const {
806  return (_has_bits_[0] & 0x00000001u) != 0;
807 }
808 inline void FileFragment::set_has_data() {
809  _has_bits_[0] |= 0x00000001u;
810 }
811 inline void FileFragment::clear_has_data() {
812  _has_bits_[0] &= ~0x00000001u;
813 }
815  data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
816  clear_has_data();
817 }
818 inline const ::std::string& FileFragment::data() const {
819  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.FileFragment.data)
820  return data_.GetNoArena();
821 }
822 inline void FileFragment::set_data(const ::std::string& value) {
823  set_has_data();
824  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
825  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.FileFragment.data)
826 }
827 #if LANG_CXX11
828 inline void FileFragment::set_data(::std::string&& value) {
829  set_has_data();
830  data_.SetNoArena(
832  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.FileFragment.data)
833 }
834 #endif
835 inline void FileFragment::set_data(const char* value) {
836  GOOGLE_DCHECK(value != NULL);
837  set_has_data();
838  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
839  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.FileFragment.data)
840 }
841 inline void FileFragment::set_data(const void* value, size_t size) {
842  set_has_data();
844  ::std::string(reinterpret_cast<const char*>(value), size));
845  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.FileFragment.data)
846 }
847 inline ::std::string* FileFragment::mutable_data() {
848  set_has_data();
849  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.FileFragment.data)
850  return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
851 }
852 inline ::std::string* FileFragment::release_data() {
853  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.FileFragment.data)
854  if (!has_data()) {
855  return NULL;
856  }
857  clear_has_data();
858  return data_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
859 }
860 inline void FileFragment::set_allocated_data(::std::string* data) {
861  if (data != NULL) {
862  set_has_data();
863  } else {
864  clear_has_data();
865  }
866  data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data);
867  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.FileFragment.data)
868 }
869 
870 // -------------------------------------------------------------------
871 
872 // TransferRequest
873 
874 // required int32 src = 1 [(.dccl.field) = {
875 inline bool TransferRequest::has_src() const {
876  return (_has_bits_[0] & 0x00000002u) != 0;
877 }
878 inline void TransferRequest::set_has_src() {
879  _has_bits_[0] |= 0x00000002u;
880 }
881 inline void TransferRequest::clear_has_src() {
882  _has_bits_[0] &= ~0x00000002u;
883 }
885  src_ = 0;
886  clear_has_src();
887 }
889  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TransferRequest.src)
890  return src_;
891 }
893  set_has_src();
894  src_ = value;
895  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TransferRequest.src)
896 }
897 
898 // required int32 dest = 2 [(.dccl.field) = {
899 inline bool TransferRequest::has_dest() const {
900  return (_has_bits_[0] & 0x00000004u) != 0;
901 }
902 inline void TransferRequest::set_has_dest() {
903  _has_bits_[0] |= 0x00000004u;
904 }
905 inline void TransferRequest::clear_has_dest() {
906  _has_bits_[0] &= ~0x00000004u;
907 }
909  dest_ = 0;
910  clear_has_dest();
911 }
913  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TransferRequest.dest)
914  return dest_;
915 }
917  set_has_dest();
918  dest_ = value;
919  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TransferRequest.dest)
920 }
921 
922 // required .goby.acomms.protobuf.TransferRequest.PushPull push_or_pull = 3 [(.dccl.field) = {
924  return (_has_bits_[0] & 0x00000008u) != 0;
925 }
926 inline void TransferRequest::set_has_push_or_pull() {
927  _has_bits_[0] |= 0x00000008u;
928 }
929 inline void TransferRequest::clear_has_push_or_pull() {
930  _has_bits_[0] &= ~0x00000008u;
931 }
933  push_or_pull_ = 1;
934  clear_has_push_or_pull();
935 }
937  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TransferRequest.push_or_pull)
938  return static_cast< ::goby::acomms::protobuf::TransferRequest_PushPull >(push_or_pull_);
939 }
942  set_has_push_or_pull();
943  push_or_pull_ = value;
944  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TransferRequest.push_or_pull)
945 }
946 
947 // required string file = 10 [(.dccl.field) = {
948 inline bool TransferRequest::has_file() const {
949  return (_has_bits_[0] & 0x00000001u) != 0;
950 }
951 inline void TransferRequest::set_has_file() {
952  _has_bits_[0] |= 0x00000001u;
953 }
954 inline void TransferRequest::clear_has_file() {
955  _has_bits_[0] &= ~0x00000001u;
956 }
958  file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
959  clear_has_file();
960 }
961 inline const ::std::string& TransferRequest::file() const {
962  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TransferRequest.file)
963  return file_.GetNoArena();
964 }
965 inline void TransferRequest::set_file(const ::std::string& value) {
966  set_has_file();
967  file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
968  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TransferRequest.file)
969 }
970 #if LANG_CXX11
971 inline void TransferRequest::set_file(::std::string&& value) {
972  set_has_file();
973  file_.SetNoArena(
975  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.TransferRequest.file)
976 }
977 #endif
978 inline void TransferRequest::set_file(const char* value) {
979  GOOGLE_DCHECK(value != NULL);
980  set_has_file();
981  file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
982  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.TransferRequest.file)
983 }
984 inline void TransferRequest::set_file(const char* value, size_t size) {
985  set_has_file();
987  ::std::string(reinterpret_cast<const char*>(value), size));
988  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.TransferRequest.file)
989 }
990 inline ::std::string* TransferRequest::mutable_file() {
991  set_has_file();
992  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.TransferRequest.file)
993  return file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
994 }
995 inline ::std::string* TransferRequest::release_file() {
996  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.TransferRequest.file)
997  if (!has_file()) {
998  return NULL;
999  }
1000  clear_has_file();
1001  return file_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1002 }
1003 inline void TransferRequest::set_allocated_file(::std::string* file) {
1004  if (file != NULL) {
1005  set_has_file();
1006  } else {
1007  clear_has_file();
1008  }
1009  file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), file);
1010  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.TransferRequest.file)
1011 }
1012 
1013 // -------------------------------------------------------------------
1014 
1015 // TransferResponse
1016 
1017 // required int32 src = 1 [(.dccl.field) = {
1018 inline bool TransferResponse::has_src() const {
1019  return (_has_bits_[0] & 0x00000001u) != 0;
1020 }
1021 inline void TransferResponse::set_has_src() {
1022  _has_bits_[0] |= 0x00000001u;
1023 }
1024 inline void TransferResponse::clear_has_src() {
1025  _has_bits_[0] &= ~0x00000001u;
1026 }
1028  src_ = 0;
1029  clear_has_src();
1030 }
1032  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TransferResponse.src)
1033  return src_;
1034 }
1036  set_has_src();
1037  src_ = value;
1038  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TransferResponse.src)
1039 }
1040 
1041 // required int32 dest = 2 [(.dccl.field) = {
1042 inline bool TransferResponse::has_dest() const {
1043  return (_has_bits_[0] & 0x00000002u) != 0;
1044 }
1045 inline void TransferResponse::set_has_dest() {
1046  _has_bits_[0] |= 0x00000002u;
1047 }
1048 inline void TransferResponse::clear_has_dest() {
1049  _has_bits_[0] &= ~0x00000002u;
1050 }
1052  dest_ = 0;
1053  clear_has_dest();
1054 }
1056  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TransferResponse.dest)
1057  return dest_;
1058 }
1060  set_has_dest();
1061  dest_ = value;
1062  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TransferResponse.dest)
1063 }
1064 
1065 // required bool transfer_successful = 3;
1067  return (_has_bits_[0] & 0x00000004u) != 0;
1068 }
1069 inline void TransferResponse::set_has_transfer_successful() {
1070  _has_bits_[0] |= 0x00000004u;
1071 }
1072 inline void TransferResponse::clear_has_transfer_successful() {
1073  _has_bits_[0] &= ~0x00000004u;
1074 }
1076  transfer_successful_ = false;
1077  clear_has_transfer_successful();
1078 }
1080  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TransferResponse.transfer_successful)
1081  return transfer_successful_;
1082 }
1084  set_has_transfer_successful();
1085  transfer_successful_ = value;
1086  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TransferResponse.transfer_successful)
1087 }
1088 
1089 // optional .goby.acomms.protobuf.TransferResponse.ErrorCode error = 4;
1090 inline bool TransferResponse::has_error() const {
1091  return (_has_bits_[0] & 0x00000010u) != 0;
1092 }
1093 inline void TransferResponse::set_has_error() {
1094  _has_bits_[0] |= 0x00000010u;
1095 }
1096 inline void TransferResponse::clear_has_error() {
1097  _has_bits_[0] &= ~0x00000010u;
1098 }
1100  error_ = 1;
1101  clear_has_error();
1102 }
1104  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TransferResponse.error)
1105  return static_cast< ::goby::acomms::protobuf::TransferResponse_ErrorCode >(error_);
1106 }
1109  set_has_error();
1110  error_ = value;
1111  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TransferResponse.error)
1112 }
1113 
1114 // optional int32 num_fragments = 5 [(.dccl.field) = {
1116  return (_has_bits_[0] & 0x00000008u) != 0;
1117 }
1118 inline void TransferResponse::set_has_num_fragments() {
1119  _has_bits_[0] |= 0x00000008u;
1120 }
1121 inline void TransferResponse::clear_has_num_fragments() {
1122  _has_bits_[0] &= ~0x00000008u;
1123 }
1125  num_fragments_ = 0;
1126  clear_has_num_fragments();
1127 }
1129  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.TransferResponse.num_fragments)
1130  return num_fragments_;
1131 }
1133  set_has_num_fragments();
1134  num_fragments_ = value;
1135  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.TransferResponse.num_fragments)
1136 }
1137 
1138 #ifdef __GNUC__
1139  #pragma GCC diagnostic pop
1140 #endif // __GNUC__
1141 // -------------------------------------------------------------------
1142 
1143 // -------------------------------------------------------------------
1144 
1145 
1146 // @@protoc_insertion_point(namespace_scope)
1147 
1148 } // namespace protobuf
1149 } // namespace acomms
1150 } // namespace goby
1151 
1152 namespace google {
1153 namespace protobuf {
1154 
1155 template <> struct is_proto_enum< ::goby::acomms::protobuf::TransferRequest_PushPull> : ::std::true_type {};
1156 template <>
1157 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::TransferRequest_PushPull>() {
1159 }
1160 template <> struct is_proto_enum< ::goby::acomms::protobuf::TransferResponse_ErrorCode> : ::std::true_type {};
1161 template <>
1162 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::TransferResponse_ErrorCode>() {
1164 }
1165 
1166 } // namespace protobuf
1167 } // namespace google
1168 
1169 // @@protoc_insertion_point(global_scope)
1170 
1171 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto
goby::acomms::protobuf::TransferRequest::has_dest
bool has_dest() const
Definition: file_transfer.pb.h:899
goby::acomms::protobuf::FileFragment::DCCL_ID
@ DCCL_ID
Definition: file_transfer.pb.h:269
protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto
Definition: file_transfer.pb.h:43
goby::acomms::protobuf::TransferRequest::set_push_or_pull
void set_push_or_pull(::goby::acomms::protobuf::TransferRequest_PushPull value)
Definition: file_transfer.pb.h:940
goby::acomms::protobuf::TransferResponse
Definition: file_transfer.pb.h:483
goby::acomms::protobuf::TransferRequest::release_file
::std::string * release_file()
Definition: file_transfer.pb.h:995
google::protobuf::internal::GetEmptyStringAlreadyInited
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:133
goby::acomms::protobuf::FileFragment::FileFragment
FileFragment()
goby::acomms::protobuf::TransferRequest::set_dest
void set_dest(::google::protobuf::int32 value)
Definition: file_transfer.pb.h:916
goby::acomms::protobuf::FileFragment::dest
::google::protobuf::int32 dest() const
Definition: file_transfer.pb.h:722
goby::acomms::protobuf::TransferRequest_PushPull_Name
const ::std::string & TransferRequest_PushPull_Name(TransferRequest_PushPull value)
Definition: file_transfer.pb.h:91
goby::acomms::protobuf::TransferRequest::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: file_transfer.pb.h:327
goby::acomms::protobuf::TransferResponse::has_dest
bool has_dest() const
Definition: file_transfer.pb.h:1042
goby::acomms::protobuf::FileFragment::clear_num_bytes
void clear_num_bytes()
Definition: file_transfer.pb.h:790
goby::acomms::protobuf::TransferResponse::transfer_successful
bool transfer_successful() const
Definition: file_transfer.pb.h:1079
goby::acomms::protobuf::TransferRequest::mutable_file
::std::string * mutable_file()
Definition: file_transfer.pb.h:990
goby::acomms::protobuf::FileFragment::has_fragment
bool has_fragment() const
Definition: file_transfer.pb.h:733
goby::acomms::protobuf::FileFragment::has_src
bool has_src() const
Definition: file_transfer.pb.h:685
goby::acomms::protobuf::FileFragment::clear_is_last_fragment
void clear_is_last_fragment()
Definition: file_transfer.pb.h:766
goby::acomms::protobuf::FileFragment::swap
friend void swap(FileFragment &a, FileFragment &b)
Definition: file_transfer.pb.h:170
goby::acomms::protobuf::FileFragment::GetCachedSize
int GetCachedSize() const final
Definition: file_transfer.pb.h:197
goby::acomms::protobuf::TransferResponse::DCCL_ID
@ DCCL_ID
Definition: file_transfer.pb.h:646
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::acomms::protobuf::TransferResponse::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::acomms::protobuf::TransferResponse::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::acomms::protobuf::TransferResponse::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::acomms::protobuf::TransferRequest::GetCachedSize
int GetCachedSize() const final
Definition: file_transfer.pb.h:373
goby::acomms::protobuf::TransferResponse::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::acomms::protobuf::TransferResponse::kSrcFieldNumber
static const int kSrcFieldNumber
Definition: file_transfer.pb.h:614
goby::acomms::protobuf::TransferRequest::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::acomms::protobuf::TransferRequest::clear_push_or_pull
void clear_push_or_pull()
Definition: file_transfer.pb.h:932
goby::acomms::protobuf::TransferResponse::clear_num_fragments
void clear_num_fragments()
Definition: file_transfer.pb.h:1124
protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct
Definition: file_transfer.pb.h:45
goby::acomms::protobuf::TransferRequest::dest
::google::protobuf::int32 dest() const
Definition: file_transfer.pb.h:912
goby::acomms::protobuf::TransferResponse::swap
friend void swap(TransferResponse &a, TransferResponse &b)
Definition: file_transfer.pb.h:528
goby::acomms::protobuf::TransferResponse::COULD_NOT_READ_FILE
static const ErrorCode COULD_NOT_READ_FILE
Definition: file_transfer.pb.h:576
goby::acomms::protobuf::TransferResponse::has_error
bool has_error() const
Definition: file_transfer.pb.h:1090
goby::acomms::protobuf::FileFragment::has_data
bool has_data() const
Definition: file_transfer.pb.h:805
goby::acomms::protobuf::TransferResponse::kDestFieldNumber
static const int kDestFieldNumber
Definition: file_transfer.pb.h:621
goby::acomms::protobuf::FileFragment::set_src
void set_src(::google::protobuf::int32 value)
Definition: file_transfer.pb.h:702
goby::acomms::protobuf::FileFragment::~FileFragment
virtual ~FileFragment()
goby::acomms::protobuf::TransferResponse_ErrorCode_COULD_NOT_READ_FILE
@ TransferResponse_ErrorCode_COULD_NOT_READ_FILE
Definition: file_transfer.pb.h:101
goby::acomms::protobuf::FileFragment::release_data
::std::string * release_data()
Definition: file_transfer.pb.h:852
goby::acomms::protobuf::FileFragment::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::acomms::protobuf::TransferRequest::has_file
bool has_file() const
Definition: file_transfer.pb.h:948
goby::acomms::protobuf::TransferResponse::has_num_fragments
bool has_num_fragments() const
Definition: file_transfer.pb.h:1115
goby::acomms::protobuf::TransferRequest::PushPull_IsValid
static bool PushPull_IsValid(int value)
Definition: file_transfer.pb.h:398
goby::acomms::protobuf::FileFragment::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::acomms::protobuf::TransferRequest_PushPull_PushPull_ARRAYSIZE
const int TransferRequest_PushPull_PushPull_ARRAYSIZE
Definition: file_transfer.pb.h:88
goby::acomms::protobuf::TransferRequest::PULL
static const PushPull PULL
Definition: file_transfer.pb.h:396
goby::acomms::protobuf::TransferResponse::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: file_transfer.pb.h:512
goby::acomms::protobuf::FileFragment::src
::google::protobuf::int32 src() const
Definition: file_transfer.pb.h:698
goby::acomms::protobuf::TransferRequest::TransferRequest
TransferRequest()
goby::acomms::protobuf::FileFragment::mutable_data
::std::string * mutable_data()
Definition: file_transfer.pb.h:847
goby::acomms::protobuf::TransferResponse::GetCachedSize
int GetCachedSize() const final
Definition: file_transfer.pb.h:555
goby::acomms::protobuf::TransferResponse_ErrorCode_Parse
bool TransferResponse_ErrorCode_Parse(const ::std::string &name, TransferResponse_ErrorCode *value)
Definition: file_transfer.pb.h:118
goby::acomms::protobuf::TransferRequest::DCCLParameters
DCCLParameters
Definition: file_transfer.pb.h:457
goby::acomms::protobuf::FileFragment::is_last_fragment
bool is_last_fragment() const
Definition: file_transfer.pb.h:770
goby::acomms::protobuf::TransferResponse::ErrorCode_Name
static const ::std::string & ErrorCode_Name(ErrorCode value)
Definition: file_transfer.pb.h:601
goby::acomms::protobuf::TransferResponse::ErrorCode_IsValid
static bool ErrorCode_IsValid(int value)
Definition: file_transfer.pb.h:588
goby::acomms::protobuf::TransferResponse_ErrorCode_COULD_NOT_WRITE_FILE
@ TransferResponse_ErrorCode_COULD_NOT_WRITE_FILE
Definition: file_transfer.pb.h:104
goby::acomms::protobuf::TransferRequest::set_src
void set_src(::google::protobuf::int32 value)
Definition: file_transfer.pb.h:892
goby::acomms::protobuf::TransferResponse::clear_src
void clear_src()
Definition: file_transfer.pb.h:1027
goby::acomms::protobuf::FileFragment::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::acomms::protobuf::TransferRequest::kFileFieldNumber
static const int kFileFieldNumber
Definition: file_transfer.pb.h:424
goby::acomms::protobuf::TransferRequest_PushPull_Parse
bool TransferRequest_PushPull_Parse(const ::std::string &name, TransferRequest_PushPull *value)
Definition: file_transfer.pb.h:95
goby::acomms::protobuf::TransferResponse::OTHER_ERROR
static const ErrorCode OTHER_ERROR
Definition: file_transfer.pb.h:586
google::protobuf::Arena
Definition: arena.h:244
goby::acomms::protobuf::TransferResponse_ErrorCode_FILE_TOO_LARGE
@ TransferResponse_ErrorCode_FILE_TOO_LARGE
Definition: file_transfer.pb.h:102
goby::acomms::protobuf::FileFragment::kDestFieldNumber
static const int kDestFieldNumber
Definition: file_transfer.pb.h:244
goby::acomms::protobuf::TransferRequest::clear_dest
void clear_dest()
Definition: file_transfer.pb.h:908
goby::acomms::protobuf::TransferResponse::set_dest
void set_dest(::google::protobuf::int32 value)
Definition: file_transfer.pb.h:1059
goby::acomms::protobuf::TransferResponse::operator=
TransferResponse & operator=(const TransferResponse &from)
Definition: file_transfer.pb.h:490
goby::acomms::protobuf::TransferResponse_ErrorCode_descriptor
const ::google::protobuf::EnumDescriptor * TransferResponse_ErrorCode_descriptor()
goby::acomms::protobuf::TransferRequest::New
TransferRequest * New() const final
Definition: file_transfer.pb.h:352
goby::acomms::protobuf::TransferResponse_ErrorCode_IsValid
bool TransferResponse_ErrorCode_IsValid(int value)
goby::acomms::protobuf::FileFragment::fragment
::google::protobuf::int32 fragment() const
Definition: file_transfer.pb.h:746
protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::AddDescriptors
void AddDescriptors()
goby::acomms::protobuf::TransferResponse::error
::goby::acomms::protobuf::TransferResponse_ErrorCode error() const
Definition: file_transfer.pb.h:1103
goby::acomms::protobuf::TransferResponse::ErrorCode_Parse
static bool ErrorCode_Parse(const ::std::string &name, ErrorCode *value)
Definition: file_transfer.pb.h:604
goby::acomms::protobuf::TransferResponse::New
TransferResponse * New() const final
Definition: file_transfer.pb.h:534
protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: file_transfer.pb.h:46
goby::acomms::protobuf::FileFragment::set_is_last_fragment
void set_is_last_fragment(bool value)
Definition: file_transfer.pb.h:774
goby::acomms::protobuf::TransferRequest::PushPull_MIN
static const PushPull PushPull_MIN
Definition: file_transfer.pb.h:401
goby::acomms::protobuf::TransferResponse::set_transfer_successful
void set_transfer_successful(bool value)
Definition: file_transfer.pb.h:1083
goby::acomms::protobuf::TransferRequest::PushPull_Parse
static bool PushPull_Parse(const ::std::string &name, PushPull *value)
Definition: file_transfer.pb.h:414
goby::acomms::protobuf::FileFragment::has_is_last_fragment
bool has_is_last_fragment() const
Definition: file_transfer.pb.h:757
goby::acomms::protobuf::FileFragment::kFragmentFieldNumber
static const int kFragmentFieldNumber
Definition: file_transfer.pb.h:251
goby::acomms::protobuf::TransferRequest::PushPull_descriptor
static const ::google::protobuf::EnumDescriptor * PushPull_descriptor()
Definition: file_transfer.pb.h:408
goby::acomms::protobuf::TransferRequest::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: file_transfer.pb.h:342
goby::acomms::protobuf::TransferRequest::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::acomms::protobuf::FileFragment::DCCLParameters
DCCLParameters
Definition: file_transfer.pb.h:269
goby::acomms::protobuf::TransferResponse_ErrorCode_ErrorCode_ARRAYSIZE
const int TransferResponse_ErrorCode_ErrorCode_ARRAYSIZE
Definition: file_transfer.pb.h:111
goby::acomms::protobuf::TransferResponse_ErrorCode
TransferResponse_ErrorCode
Definition: file_transfer.pb.h:100
goby::acomms::protobuf::TransferResponse::ERROR_WHILE_READING
static const ErrorCode ERROR_WHILE_READING
Definition: file_transfer.pb.h:584
goby::acomms::protobuf::TransferRequest::New
TransferRequest * New(::google::protobuf::Arena *arena) const final
Definition: file_transfer.pb.h:356
goby::acomms::protobuf::TransferResponse::clear_error
void clear_error()
Definition: file_transfer.pb.h:1099
goby::acomms::protobuf::TransferRequest_PushPull
TransferRequest_PushPull
Definition: file_transfer.pb.h:81
goby::acomms::protobuf::TransferRequest::push_or_pull
::goby::acomms::protobuf::TransferRequest_PushPull push_or_pull() const
Definition: file_transfer.pb.h:936
goby::acomms::protobuf::TransferResponse::~TransferResponse
virtual ~TransferResponse()
goby::acomms::protobuf::TransferResponse::FILE_TOO_LARGE
static const ErrorCode FILE_TOO_LARGE
Definition: file_transfer.pb.h:578
goby::acomms::protobuf::TransferRequest_PushPull_PUSH
@ TransferRequest_PushPull_PUSH
Definition: file_transfer.pb.h:82
goby::acomms::protobuf::FileFragment::num_bytes
::google::protobuf::int32 num_bytes() const
Definition: file_transfer.pb.h:794
goby::acomms::protobuf::FileFragment::operator=
FileFragment & operator=(const FileFragment &from)
Definition: file_transfer.pb.h:132
goby::acomms::protobuf::TransferResponse_ErrorCode_OTHER_ERROR
@ TransferResponse_ErrorCode_OTHER_ERROR
Definition: file_transfer.pb.h:106
message.h
goby::acomms::protobuf::TransferResponse::set_num_fragments
void set_num_fragments(::google::protobuf::int32 value)
Definition: file_transfer.pb.h:1132
goby::acomms::protobuf::TransferResponse::ErrorCode_MIN
static const ErrorCode ErrorCode_MIN
Definition: file_transfer.pb.h:591
goby::acomms::protobuf::TransferRequest::DCCL_MAX_BYTES
@ DCCL_MAX_BYTES
Definition: file_transfer.pb.h:457
goby::acomms::protobuf::TransferRequest::DCCL_ID
@ DCCL_ID
Definition: file_transfer.pb.h:457
goby::acomms::protobuf::TransferRequest::file
const ::std::string & file() const
Definition: file_transfer.pb.h:961
goby::acomms::protobuf::FileFragment::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: file_transfer.pb.h:166
goby::acomms::protobuf::FileFragment::set_num_bytes
void set_num_bytes(::google::protobuf::int32 value)
Definition: file_transfer.pb.h:798
goby::acomms::protobuf::FileFragment::has_dest
bool has_dest() const
Definition: file_transfer.pb.h:709
goby::acomms::protobuf::FileFragment::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::acomms::protobuf::TransferRequest::Clear
void Clear() final
goby::acomms::protobuf::TransferRequest::Swap
void Swap(TransferRequest *other)
goby::acomms::protobuf::TransferResponse::COULD_NOT_WRITE_FILE
static const ErrorCode COULD_NOT_WRITE_FILE
Definition: file_transfer.pb.h:582
goby::acomms::protobuf::_TransferRequest_default_instance_
TransferRequestDefaultTypeInternal _TransferRequest_default_instance_
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::acomms::protobuf::FileFragment::Swap
void Swap(FileFragment *other)
goby::acomms::protobuf::TransferRequest::kDestFieldNumber
static const int kDestFieldNumber
Definition: file_transfer.pb.h:446
goby::int32
std::int32_t int32
Definition: primitive_types.h:33
protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: file_transfer.pb.h:50
goby::acomms::protobuf::FileFragment::clear_src
void clear_src()
Definition: file_transfer.pb.h:694
goby::acomms::protobuf::TransferRequest::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::acomms::protobuf::FileFragment::set_dest
void set_dest(::google::protobuf::int32 value)
Definition: file_transfer.pb.h:726
goby::acomms::protobuf::TransferResponse::DCCLParameters
DCCLParameters
Definition: file_transfer.pb.h:646
goby::acomms::protobuf::FileFragment::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::acomms::protobuf::TransferRequest::PUSH
static const PushPull PUSH
Definition: file_transfer.pb.h:394
goby::acomms::protobuf::TransferResponse::ErrorCode_MAX
static const ErrorCode ErrorCode_MAX
Definition: file_transfer.pb.h:593
goby::acomms::protobuf::FileFragment::New
FileFragment * New(::google::protobuf::Arena *arena) const final
Definition: file_transfer.pb.h:180
goby::acomms::protobuf::FileFragment::ByteSizeLong
size_t ByteSizeLong() const final
goby::acomms::protobuf::TransferRequest::kSrcFieldNumber
static const int kSrcFieldNumber
Definition: file_transfer.pb.h:439
goby::acomms::protobuf::TransferResponse::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::acomms::protobuf::_FileFragment_default_instance_
FileFragmentDefaultTypeInternal _FileFragment_default_instance_
goby::acomms::protobuf::FileFragment::set_allocated_data
void set_allocated_data(::std::string *data)
Definition: file_transfer.pb.h:860
goby::acomms::protobuf::_TransferResponse_default_instance_
TransferResponseDefaultTypeInternal _TransferResponse_default_instance_
goby::acomms::protobuf::TransferResponse::Clear
void Clear() final
goby::acomms::protobuf::TransferRequest::default_instance
static const TransferRequest & default_instance()
goby::acomms::protobuf::TransferResponse::IsInitialized
bool IsInitialized() const final
google::protobuf::Metadata
Definition: message.h:174
goby::acomms::protobuf::FileFragment::set_data
void set_data(const ::std::string &value)
Definition: file_transfer.pb.h:822
goby::acomms::protobuf::TransferResponse::internal_default_instance
static const TransferResponse * internal_default_instance()
Definition: file_transfer.pb.h:520
goby::acomms::protobuf::TransferRequest::~TransferRequest
virtual ~TransferRequest()
goby::acomms::protobuf::TransferResponse::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::acomms::protobuf::TransferResponse::ErrorCode_ARRAYSIZE
static const int ErrorCode_ARRAYSIZE
Definition: file_transfer.pb.h:595
goby::acomms::protobuf::TransferResponse::set_error
void set_error(::goby::acomms::protobuf::TransferResponse_ErrorCode value)
Definition: file_transfer.pb.h:1107
goby::acomms::protobuf::TransferRequest_PushPull_descriptor
const ::google::protobuf::EnumDescriptor * TransferRequest_PushPull_descriptor()
goby::acomms::protobuf::FileFragment::kSrcFieldNumber
static const int kSrcFieldNumber
Definition: file_transfer.pb.h:237
goby::acomms::protobuf::TransferResponse::has_transfer_successful
bool has_transfer_successful() const
Definition: file_transfer.pb.h:1066
goby::acomms::protobuf::TransferRequest::ByteSizeLong
size_t ByteSizeLong() const final
goby::acomms::protobuf::FileFragment::IsInitialized
bool IsInitialized() const final
goby::acomms::protobuf::FileFragment::kDataFieldNumber
static const int kDataFieldNumber
Definition: file_transfer.pb.h:222
goby::acomms::protobuf::FileFragment::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::acomms::protobuf::TransferResponse::DCCL_MAX_BYTES
@ DCCL_MAX_BYTES
Definition: file_transfer.pb.h:646
goby::acomms::protobuf::TransferRequest
Definition: file_transfer.pb.h:301
google::protobuf::Message
Definition: message.h:189
goby::acomms::protobuf::TransferResponse::default_instance
static const TransferResponse & default_instance()
goby::acomms::protobuf::TransferRequest_PushPull_PushPull_MAX
const TransferRequest_PushPull TransferRequest_PushPull_PushPull_MAX
Definition: file_transfer.pb.h:87
goby::acomms::protobuf::FileFragment::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: file_transfer.pb.h:151
goby::acomms::protobuf::FileFragment::data
const ::std::string & data() const
Definition: file_transfer.pb.h:818
goby::acomms::protobuf::TransferResponse::kNumFragmentsFieldNumber
static const int kNumFragmentsFieldNumber
Definition: file_transfer.pb.h:635
goby::acomms::protobuf::TransferResponse::Swap
void Swap(TransferResponse *other)
goby::acomms::protobuf::FileFragment::set_fragment
void set_fragment(::google::protobuf::int32 value)
Definition: file_transfer.pb.h:750
protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: file_transfer.pb.h:47
goby::acomms::protobuf::FileFragment::default_instance
static const FileFragment & default_instance()
goby::acomms::protobuf::TransferRequest::PushPull_ARRAYSIZE
static const int PushPull_ARRAYSIZE
Definition: file_transfer.pb.h:405
goby::acomms::protobuf::FileFragment::clear_fragment
void clear_fragment()
Definition: file_transfer.pb.h:742
protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: file_transfer.pb.h:51
goby::acomms::protobuf::TransferResponse::ByteSizeLong
size_t ByteSizeLong() const final
goby::acomms::protobuf::TransferRequest_PushPull_PULL
@ TransferRequest_PushPull_PULL
Definition: file_transfer.pb.h:83
goby::acomms::protobuf::TransferResponse::dest
::google::protobuf::int32 dest() const
Definition: file_transfer.pb.h:1055
goby::acomms::protobuf::TransferResponse::kErrorFieldNumber
static const int kErrorFieldNumber
Definition: file_transfer.pb.h:642
goby::acomms::protobuf::TransferRequest::swap
friend void swap(TransferRequest &a, TransferRequest &b)
Definition: file_transfer.pb.h:346
goby::acomms::protobuf::TransferResponse::src
::google::protobuf::int32 src() const
Definition: file_transfer.pb.h:1031
arena.h
protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[3]
Definition: file_transfer.pb.h:48
goby::acomms::protobuf::TransferResponse::New
TransferResponse * New(::google::protobuf::Arena *arena) const final
Definition: file_transfer.pb.h:538
goby::acomms::protobuf::TransferResponse::clear_dest
void clear_dest()
Definition: file_transfer.pb.h:1051
goby::acomms::protobuf::TransferRequest::internal_default_instance
static const TransferRequest * internal_default_instance()
Definition: file_transfer.pb.h:338
goby::acomms::protobuf::FileFragment::has_num_bytes
bool has_num_bytes() const
Definition: file_transfer.pb.h:781
goby::acomms::protobuf::FileFragment::New
FileFragment * New() const final
Definition: file_transfer.pb.h:176
goby::acomms::protobuf::TransferRequest::src
::google::protobuf::int32 src() const
Definition: file_transfer.pb.h:888
goby::acomms::protobuf::FileFragment::DCCL_MAX_BYTES
@ DCCL_MAX_BYTES
Definition: file_transfer.pb.h:269
goby::acomms::protobuf::FileFragment::internal_default_instance
static const FileFragment * internal_default_instance()
Definition: file_transfer.pb.h:162
goby::acomms::protobuf::TransferRequest::clear_file
void clear_file()
Definition: file_transfer.pb.h:957
goby::acomms::protobuf::TransferResponse::has_src
bool has_src() const
Definition: file_transfer.pb.h:1018
goby::acomms::protobuf::FileFragment::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::acomms::protobuf::TransferResponse_ErrorCode_ERROR_WHILE_READING
@ TransferResponse_ErrorCode_ERROR_WHILE_READING
Definition: file_transfer.pb.h:105
goby::acomms::protobuf::TransferResponse::TransferResponse
TransferResponse()
goby::acomms::protobuf::TransferRequest::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::acomms::protobuf::TransferResponse::set_src
void set_src(::google::protobuf::int32 value)
Definition: file_transfer.pb.h:1035
option_extensions.pb.h
goby::acomms::protobuf::TransferResponse::clear_transfer_successful
void clear_transfer_successful()
Definition: file_transfer.pb.h:1075
goby::acomms::protobuf::TransferRequest::kPushOrPullFieldNumber
static const int kPushOrPullFieldNumber
Definition: file_transfer.pb.h:453
goby::acomms::protobuf::TransferRequest::PushPull_MAX
static const PushPull PushPull_MAX
Definition: file_transfer.pb.h:403
goby::acomms::protobuf::TransferRequest_PushPull_IsValid
bool TransferRequest_PushPull_IsValid(int value)
goby::acomms::protobuf::TransferRequest::operator=
TransferRequest & operator=(const TransferRequest &from)
Definition: file_transfer.pb.h:308
goby::acomms::protobuf::FileFragment::clear_data
void clear_data()
Definition: file_transfer.pb.h:814
goby::acomms::protobuf::TransferRequest::clear_src
void clear_src()
Definition: file_transfer.pb.h:884
goby::acomms::protobuf::TransferRequest::has_src
bool has_src() const
Definition: file_transfer.pb.h:875
goby::acomms::protobuf::FileFragment::kIsLastFragmentFieldNumber
static const int kIsLastFragmentFieldNumber
Definition: file_transfer.pb.h:258
goby::acomms::protobuf::TransferResponse::ErrorCode_descriptor
static const ::google::protobuf::EnumDescriptor * ErrorCode_descriptor()
Definition: file_transfer.pb.h:598
goby::acomms::protobuf::TransferRequest::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: file_transfer.pb.h:330
goby::acomms::protobuf::TransferResponse_ErrorCode_Name
const ::std::string & TransferResponse_ErrorCode_Name(TransferResponse_ErrorCode value)
Definition: file_transfer.pb.h:114
goby::acomms::protobuf::FileFragment::clear_dest
void clear_dest()
Definition: file_transfer.pb.h:718
goby::acomms::protobuf::FileFragment::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: file_transfer.pb.h:154
goby::acomms::protobuf::TransferResponse::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::acomms::protobuf::TransferRequest::has_push_or_pull
bool has_push_or_pull() const
Definition: file_transfer.pb.h:923
goby::acomms::protobuf::TransferRequest::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::acomms::protobuf::TransferRequest::set_allocated_file
void set_allocated_file(::std::string *file)
Definition: file_transfer.pb.h:1003
goby::acomms::protobuf::TransferResponse_ErrorCode_ErrorCode_MIN
const TransferResponse_ErrorCode TransferResponse_ErrorCode_ErrorCode_MIN
Definition: file_transfer.pb.h:109
goby::acomms::protobuf::TransferRequest::IsInitialized
bool IsInitialized() const final
goby::acomms::protobuf::TransferResponse::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: file_transfer.pb.h:524
goby::acomms::protobuf::TransferRequest::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::acomms::protobuf::TransferRequest::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::acomms::protobuf::TransferResponse_ErrorCode_TIMEOUT
@ TransferResponse_ErrorCode_TIMEOUT
Definition: file_transfer.pb.h:103
goby::acomms::protobuf::FileFragment::kNumBytesFieldNumber
static const int kNumBytesFieldNumber
Definition: file_transfer.pb.h:265
google
Definition: dccl.h:57
goby::acomms::protobuf::TransferResponse::kTransferSuccessfulFieldNumber
static const int kTransferSuccessfulFieldNumber
Definition: file_transfer.pb.h:628
goby::acomms::protobuf::TransferRequest::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::acomms::protobuf::TransferResponse::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: file_transfer.pb.h:509
goby::acomms::protobuf::TransferResponse_ErrorCode_ErrorCode_MAX
const TransferResponse_ErrorCode TransferResponse_ErrorCode_ErrorCode_MAX
Definition: file_transfer.pb.h:110
goby::acomms::protobuf::TransferRequest::set_file
void set_file(const ::std::string &value)
Definition: file_transfer.pb.h:965
goby::acomms::protobuf::TransferResponse::TIMEOUT
static const ErrorCode TIMEOUT
Definition: file_transfer.pb.h:580
goby::acomms::protobuf::TransferResponse::num_fragments
::google::protobuf::int32 num_fragments() const
Definition: file_transfer.pb.h:1128
goby::acomms::protobuf::TransferRequest::PushPull_Name
static const ::std::string & PushPull_Name(PushPull value)
Definition: file_transfer.pb.h:411
protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: file_transfer.pb.h:49
goby::acomms::protobuf::FileFragment::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::acomms::protobuf::TransferRequest_PushPull_PushPull_MIN
const TransferRequest_PushPull TransferRequest_PushPull_PushPull_MIN
Definition: file_transfer.pb.h:86
goby::acomms::protobuf::FileFragment::Clear
void Clear() final
goby::acomms::protobuf::FileFragment
Definition: file_transfer.pb.h:125
goby::acomms::protobuf::TransferResponse::InitAsDefaultInstance
static void InitAsDefaultInstance()