SHOGUN  v3.2.0
Headers.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: Headers.proto
3 
4 #ifndef PROTOBUF_Headers_2eproto__INCLUDED
5 #define PROTOBUF_Headers_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/unknown_field_set.h>
27 // @@protoc_insertion_point(includes)
28 
29 namespace shogun {
30 
31 // Internal implementation detail -- do not call these.
35 
36 class VectorHeader;
37 class MatrixHeader;
38 class SparseMatrixHeader;
39 class StringListHeader;
40 
41 // ===================================================================
42 
43 class VectorHeader : public ::google::protobuf::Message {
44  public:
45  VectorHeader();
46  virtual ~VectorHeader();
47 
48  VectorHeader(const VectorHeader& from);
49 
50  inline VectorHeader& operator=(const VectorHeader& from) {
51  CopyFrom(from);
52  return *this;
53  }
54 
55  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
56  return _unknown_fields_;
57  }
58 
59  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
60  return &_unknown_fields_;
61  }
62 
63  static const ::google::protobuf::Descriptor* descriptor();
64  static const VectorHeader& default_instance();
65 
66  void Swap(VectorHeader* other);
67 
68  // implements Message ----------------------------------------------
69 
70  VectorHeader* New() const;
71  void CopyFrom(const ::google::protobuf::Message& from);
72  void MergeFrom(const ::google::protobuf::Message& from);
73  void CopyFrom(const VectorHeader& from);
74  void MergeFrom(const VectorHeader& from);
75  void Clear();
76  bool IsInitialized() const;
77 
78  int ByteSize() const;
80  ::google::protobuf::io::CodedInputStream* input);
82  ::google::protobuf::io::CodedOutputStream* output) const;
83  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
84  int GetCachedSize() const { return _cached_size_; }
85  private:
86  void SharedCtor();
87  void SharedDtor();
88  void SetCachedSize(int size) const;
89  public:
90  ::google::protobuf::Metadata GetMetadata() const;
91 
92  // nested types ----------------------------------------------------
93 
94  // accessors -------------------------------------------------------
95 
96  // required uint64 len = 1;
97  inline bool has_len() const;
98  inline void clear_len();
99  static const int kLenFieldNumber = 1;
100  inline ::google::protobuf::uint64 len() const;
101  inline void set_len(::google::protobuf::uint64 value);
102 
103  // required uint32 num_messages = 2;
104  inline bool has_num_messages() const;
105  inline void clear_num_messages();
106  static const int kNumMessagesFieldNumber = 2;
107  inline ::google::protobuf::uint32 num_messages() const;
108  inline void set_num_messages(::google::protobuf::uint32 value);
109 
110  // @@protoc_insertion_point(class_scope:shogun.VectorHeader)
111  private:
112  inline void set_has_len();
113  inline void clear_has_len();
114  inline void set_has_num_messages();
115  inline void clear_has_num_messages();
116 
117  ::google::protobuf::UnknownFieldSet _unknown_fields_;
118 
119  ::google::protobuf::uint32 _has_bits_[1];
120  mutable int _cached_size_;
121  ::google::protobuf::uint64 len_;
122  ::google::protobuf::uint32 num_messages_;
123  friend void protobuf_AddDesc_Headers_2eproto();
126 
127  void InitAsDefaultInstance();
128  static VectorHeader* default_instance_;
129 };
130 // -------------------------------------------------------------------
131 
132 class MatrixHeader : public ::google::protobuf::Message {
133  public:
134  MatrixHeader();
135  virtual ~MatrixHeader();
136 
137  MatrixHeader(const MatrixHeader& from);
138 
139  inline MatrixHeader& operator=(const MatrixHeader& from) {
140  CopyFrom(from);
141  return *this;
142  }
143 
144  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
145  return _unknown_fields_;
146  }
147 
148  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
149  return &_unknown_fields_;
150  }
151 
152  static const ::google::protobuf::Descriptor* descriptor();
153  static const MatrixHeader& default_instance();
154 
155  void Swap(MatrixHeader* other);
156 
157  // implements Message ----------------------------------------------
158 
159  MatrixHeader* New() const;
160  void CopyFrom(const ::google::protobuf::Message& from);
161  void MergeFrom(const ::google::protobuf::Message& from);
162  void CopyFrom(const MatrixHeader& from);
163  void MergeFrom(const MatrixHeader& from);
164  void Clear();
165  bool IsInitialized() const;
166 
167  int ByteSize() const;
169  ::google::protobuf::io::CodedInputStream* input);
171  ::google::protobuf::io::CodedOutputStream* output) const;
172  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
173  int GetCachedSize() const { return _cached_size_; }
174  private:
175  void SharedCtor();
176  void SharedDtor();
177  void SetCachedSize(int size) const;
178  public:
179  ::google::protobuf::Metadata GetMetadata() const;
180 
181  // nested types ----------------------------------------------------
182 
183  // accessors -------------------------------------------------------
184 
185  // required uint64 num_cols = 1;
186  inline bool has_num_cols() const;
187  inline void clear_num_cols();
188  static const int kNumColsFieldNumber = 1;
189  inline ::google::protobuf::uint64 num_cols() const;
190  inline void set_num_cols(::google::protobuf::uint64 value);
191 
192  // required uint64 num_rows = 2;
193  inline bool has_num_rows() const;
194  inline void clear_num_rows();
195  static const int kNumRowsFieldNumber = 2;
196  inline ::google::protobuf::uint64 num_rows() const;
197  inline void set_num_rows(::google::protobuf::uint64 value);
198 
199  // required uint32 num_messages = 3;
200  inline bool has_num_messages() const;
201  inline void clear_num_messages();
202  static const int kNumMessagesFieldNumber = 3;
203  inline ::google::protobuf::uint32 num_messages() const;
204  inline void set_num_messages(::google::protobuf::uint32 value);
205 
206  // @@protoc_insertion_point(class_scope:shogun.MatrixHeader)
207  private:
208  inline void set_has_num_cols();
209  inline void clear_has_num_cols();
210  inline void set_has_num_rows();
211  inline void clear_has_num_rows();
212  inline void set_has_num_messages();
213  inline void clear_has_num_messages();
214 
215  ::google::protobuf::UnknownFieldSet _unknown_fields_;
216 
217  ::google::protobuf::uint32 _has_bits_[1];
218  mutable int _cached_size_;
219  ::google::protobuf::uint64 num_cols_;
220  ::google::protobuf::uint64 num_rows_;
221  ::google::protobuf::uint32 num_messages_;
222  friend void protobuf_AddDesc_Headers_2eproto();
225 
226  void InitAsDefaultInstance();
227  static MatrixHeader* default_instance_;
228 };
229 // -------------------------------------------------------------------
230 
231 class SparseMatrixHeader : public ::google::protobuf::Message {
232  public:
234  virtual ~SparseMatrixHeader();
235 
237 
239  CopyFrom(from);
240  return *this;
241  }
242 
243  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
244  return _unknown_fields_;
245  }
246 
247  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
248  return &_unknown_fields_;
249  }
250 
251  static const ::google::protobuf::Descriptor* descriptor();
252  static const SparseMatrixHeader& default_instance();
253 
254  void Swap(SparseMatrixHeader* other);
255 
256  // implements Message ----------------------------------------------
257 
258  SparseMatrixHeader* New() const;
259  void CopyFrom(const ::google::protobuf::Message& from);
260  void MergeFrom(const ::google::protobuf::Message& from);
261  void CopyFrom(const SparseMatrixHeader& from);
262  void MergeFrom(const SparseMatrixHeader& from);
263  void Clear();
264  bool IsInitialized() const;
265 
266  int ByteSize() const;
268  ::google::protobuf::io::CodedInputStream* input);
270  ::google::protobuf::io::CodedOutputStream* output) const;
271  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
272  int GetCachedSize() const { return _cached_size_; }
273  private:
274  void SharedCtor();
275  void SharedDtor();
276  void SetCachedSize(int size) const;
277  public:
278  ::google::protobuf::Metadata GetMetadata() const;
279 
280  // nested types ----------------------------------------------------
281 
282  // accessors -------------------------------------------------------
283 
284  // required uint64 num_vectors = 1;
285  inline bool has_num_vectors() const;
286  inline void clear_num_vectors();
287  static const int kNumVectorsFieldNumber = 1;
288  inline ::google::protobuf::uint64 num_vectors() const;
289  inline void set_num_vectors(::google::protobuf::uint64 value);
290 
291  // required uint64 num_features = 2;
292  inline bool has_num_features() const;
293  inline void clear_num_features();
294  static const int kNumFeaturesFieldNumber = 2;
295  inline ::google::protobuf::uint64 num_features() const;
296  inline void set_num_features(::google::protobuf::uint64 value);
297 
298  // repeated uint64 num_feat_entries = 3;
299  inline int num_feat_entries_size() const;
300  inline void clear_num_feat_entries();
301  static const int kNumFeatEntriesFieldNumber = 3;
302  inline ::google::protobuf::uint64 num_feat_entries(int index) const;
303  inline void set_num_feat_entries(int index, ::google::protobuf::uint64 value);
304  inline void add_num_feat_entries(::google::protobuf::uint64 value);
305  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
306  num_feat_entries() const;
307  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
309 
310  // @@protoc_insertion_point(class_scope:shogun.SparseMatrixHeader)
311  private:
312  inline void set_has_num_vectors();
313  inline void clear_has_num_vectors();
314  inline void set_has_num_features();
315  inline void clear_has_num_features();
316 
317  ::google::protobuf::UnknownFieldSet _unknown_fields_;
318 
319  ::google::protobuf::uint32 _has_bits_[1];
320  mutable int _cached_size_;
321  ::google::protobuf::uint64 num_vectors_;
322  ::google::protobuf::uint64 num_features_;
323  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > num_feat_entries_;
324  friend void protobuf_AddDesc_Headers_2eproto();
327 
328  void InitAsDefaultInstance();
329  static SparseMatrixHeader* default_instance_;
330 };
331 // -------------------------------------------------------------------
332 
333 class StringListHeader : public ::google::protobuf::Message {
334  public:
336  virtual ~StringListHeader();
337 
338  StringListHeader(const StringListHeader& from);
339 
341  CopyFrom(from);
342  return *this;
343  }
344 
345  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
346  return _unknown_fields_;
347  }
348 
349  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
350  return &_unknown_fields_;
351  }
352 
353  static const ::google::protobuf::Descriptor* descriptor();
354  static const StringListHeader& default_instance();
355 
356  void Swap(StringListHeader* other);
357 
358  // implements Message ----------------------------------------------
359 
360  StringListHeader* New() const;
361  void CopyFrom(const ::google::protobuf::Message& from);
362  void MergeFrom(const ::google::protobuf::Message& from);
363  void CopyFrom(const StringListHeader& from);
364  void MergeFrom(const StringListHeader& from);
365  void Clear();
366  bool IsInitialized() const;
367 
368  int ByteSize() const;
370  ::google::protobuf::io::CodedInputStream* input);
372  ::google::protobuf::io::CodedOutputStream* output) const;
373  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
374  int GetCachedSize() const { return _cached_size_; }
375  private:
376  void SharedCtor();
377  void SharedDtor();
378  void SetCachedSize(int size) const;
379  public:
380  ::google::protobuf::Metadata GetMetadata() const;
381 
382  // nested types ----------------------------------------------------
383 
384  // accessors -------------------------------------------------------
385 
386  // required uint64 num_str = 1;
387  inline bool has_num_str() const;
388  inline void clear_num_str();
389  static const int kNumStrFieldNumber = 1;
390  inline ::google::protobuf::uint64 num_str() const;
391  inline void set_num_str(::google::protobuf::uint64 value);
392 
393  // required uint64 max_string_len = 2;
394  inline bool has_max_string_len() const;
395  inline void clear_max_string_len();
396  static const int kMaxStringLenFieldNumber = 2;
397  inline ::google::protobuf::uint64 max_string_len() const;
398  inline void set_max_string_len(::google::protobuf::uint64 value);
399 
400  // repeated uint64 str_len = 3;
401  inline int str_len_size() const;
402  inline void clear_str_len();
403  static const int kStrLenFieldNumber = 3;
404  inline ::google::protobuf::uint64 str_len(int index) const;
405  inline void set_str_len(int index, ::google::protobuf::uint64 value);
406  inline void add_str_len(::google::protobuf::uint64 value);
407  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
408  str_len() const;
409  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
410  mutable_str_len();
411 
412  // @@protoc_insertion_point(class_scope:shogun.StringListHeader)
413  private:
414  inline void set_has_num_str();
415  inline void clear_has_num_str();
416  inline void set_has_max_string_len();
417  inline void clear_has_max_string_len();
418 
419  ::google::protobuf::UnknownFieldSet _unknown_fields_;
420 
421  ::google::protobuf::uint32 _has_bits_[1];
422  mutable int _cached_size_;
423  ::google::protobuf::uint64 num_str_;
424  ::google::protobuf::uint64 max_string_len_;
425  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > str_len_;
426  friend void protobuf_AddDesc_Headers_2eproto();
429 
430  void InitAsDefaultInstance();
431  static StringListHeader* default_instance_;
432 };
433 // ===================================================================
434 
435 
436 // ===================================================================
437 
438 // VectorHeader
439 
440 // required uint64 len = 1;
441 inline bool VectorHeader::has_len() const {
442  return (_has_bits_[0] & 0x00000001u) != 0;
443 }
444 inline void VectorHeader::set_has_len() {
445  _has_bits_[0] |= 0x00000001u;
446 }
447 inline void VectorHeader::clear_has_len() {
448  _has_bits_[0] &= ~0x00000001u;
449 }
450 inline void VectorHeader::clear_len() {
451  len_ = GOOGLE_ULONGLONG(0);
452  clear_has_len();
453 }
454 inline ::google::protobuf::uint64 VectorHeader::len() const {
455  // @@protoc_insertion_point(field_get:shogun.VectorHeader.len)
456  return len_;
457 }
458 inline void VectorHeader::set_len(::google::protobuf::uint64 value) {
459  set_has_len();
460  len_ = value;
461  // @@protoc_insertion_point(field_set:shogun.VectorHeader.len)
462 }
463 
464 // required uint32 num_messages = 2;
465 inline bool VectorHeader::has_num_messages() const {
466  return (_has_bits_[0] & 0x00000002u) != 0;
467 }
468 inline void VectorHeader::set_has_num_messages() {
469  _has_bits_[0] |= 0x00000002u;
470 }
471 inline void VectorHeader::clear_has_num_messages() {
472  _has_bits_[0] &= ~0x00000002u;
473 }
475  num_messages_ = 0u;
476  clear_has_num_messages();
477 }
478 inline ::google::protobuf::uint32 VectorHeader::num_messages() const {
479  // @@protoc_insertion_point(field_get:shogun.VectorHeader.num_messages)
480  return num_messages_;
481 }
482 inline void VectorHeader::set_num_messages(::google::protobuf::uint32 value) {
483  set_has_num_messages();
484  num_messages_ = value;
485  // @@protoc_insertion_point(field_set:shogun.VectorHeader.num_messages)
486 }
487 
488 // -------------------------------------------------------------------
489 
490 // MatrixHeader
491 
492 // required uint64 num_cols = 1;
493 inline bool MatrixHeader::has_num_cols() const {
494  return (_has_bits_[0] & 0x00000001u) != 0;
495 }
496 inline void MatrixHeader::set_has_num_cols() {
497  _has_bits_[0] |= 0x00000001u;
498 }
499 inline void MatrixHeader::clear_has_num_cols() {
500  _has_bits_[0] &= ~0x00000001u;
501 }
503  num_cols_ = GOOGLE_ULONGLONG(0);
504  clear_has_num_cols();
505 }
506 inline ::google::protobuf::uint64 MatrixHeader::num_cols() const {
507  // @@protoc_insertion_point(field_get:shogun.MatrixHeader.num_cols)
508  return num_cols_;
509 }
510 inline void MatrixHeader::set_num_cols(::google::protobuf::uint64 value) {
511  set_has_num_cols();
512  num_cols_ = value;
513  // @@protoc_insertion_point(field_set:shogun.MatrixHeader.num_cols)
514 }
515 
516 // required uint64 num_rows = 2;
517 inline bool MatrixHeader::has_num_rows() const {
518  return (_has_bits_[0] & 0x00000002u) != 0;
519 }
520 inline void MatrixHeader::set_has_num_rows() {
521  _has_bits_[0] |= 0x00000002u;
522 }
523 inline void MatrixHeader::clear_has_num_rows() {
524  _has_bits_[0] &= ~0x00000002u;
525 }
527  num_rows_ = GOOGLE_ULONGLONG(0);
528  clear_has_num_rows();
529 }
530 inline ::google::protobuf::uint64 MatrixHeader::num_rows() const {
531  // @@protoc_insertion_point(field_get:shogun.MatrixHeader.num_rows)
532  return num_rows_;
533 }
534 inline void MatrixHeader::set_num_rows(::google::protobuf::uint64 value) {
535  set_has_num_rows();
536  num_rows_ = value;
537  // @@protoc_insertion_point(field_set:shogun.MatrixHeader.num_rows)
538 }
539 
540 // required uint32 num_messages = 3;
541 inline bool MatrixHeader::has_num_messages() const {
542  return (_has_bits_[0] & 0x00000004u) != 0;
543 }
544 inline void MatrixHeader::set_has_num_messages() {
545  _has_bits_[0] |= 0x00000004u;
546 }
547 inline void MatrixHeader::clear_has_num_messages() {
548  _has_bits_[0] &= ~0x00000004u;
549 }
551  num_messages_ = 0u;
552  clear_has_num_messages();
553 }
554 inline ::google::protobuf::uint32 MatrixHeader::num_messages() const {
555  // @@protoc_insertion_point(field_get:shogun.MatrixHeader.num_messages)
556  return num_messages_;
557 }
558 inline void MatrixHeader::set_num_messages(::google::protobuf::uint32 value) {
559  set_has_num_messages();
560  num_messages_ = value;
561  // @@protoc_insertion_point(field_set:shogun.MatrixHeader.num_messages)
562 }
563 
564 // -------------------------------------------------------------------
565 
566 // SparseMatrixHeader
567 
568 // required uint64 num_vectors = 1;
570  return (_has_bits_[0] & 0x00000001u) != 0;
571 }
572 inline void SparseMatrixHeader::set_has_num_vectors() {
573  _has_bits_[0] |= 0x00000001u;
574 }
575 inline void SparseMatrixHeader::clear_has_num_vectors() {
576  _has_bits_[0] &= ~0x00000001u;
577 }
579  num_vectors_ = GOOGLE_ULONGLONG(0);
580  clear_has_num_vectors();
581 }
582 inline ::google::protobuf::uint64 SparseMatrixHeader::num_vectors() const {
583  // @@protoc_insertion_point(field_get:shogun.SparseMatrixHeader.num_vectors)
584  return num_vectors_;
585 }
586 inline void SparseMatrixHeader::set_num_vectors(::google::protobuf::uint64 value) {
587  set_has_num_vectors();
588  num_vectors_ = value;
589  // @@protoc_insertion_point(field_set:shogun.SparseMatrixHeader.num_vectors)
590 }
591 
592 // required uint64 num_features = 2;
594  return (_has_bits_[0] & 0x00000002u) != 0;
595 }
596 inline void SparseMatrixHeader::set_has_num_features() {
597  _has_bits_[0] |= 0x00000002u;
598 }
599 inline void SparseMatrixHeader::clear_has_num_features() {
600  _has_bits_[0] &= ~0x00000002u;
601 }
603  num_features_ = GOOGLE_ULONGLONG(0);
604  clear_has_num_features();
605 }
606 inline ::google::protobuf::uint64 SparseMatrixHeader::num_features() const {
607  // @@protoc_insertion_point(field_get:shogun.SparseMatrixHeader.num_features)
608  return num_features_;
609 }
610 inline void SparseMatrixHeader::set_num_features(::google::protobuf::uint64 value) {
611  set_has_num_features();
612  num_features_ = value;
613  // @@protoc_insertion_point(field_set:shogun.SparseMatrixHeader.num_features)
614 }
615 
616 // repeated uint64 num_feat_entries = 3;
618  return num_feat_entries_.size();
619 }
621  num_feat_entries_.Clear();
622 }
623 inline ::google::protobuf::uint64 SparseMatrixHeader::num_feat_entries(int index) const {
624  // @@protoc_insertion_point(field_get:shogun.SparseMatrixHeader.num_feat_entries)
625  return num_feat_entries_.Get(index);
626 }
627 inline void SparseMatrixHeader::set_num_feat_entries(int index, ::google::protobuf::uint64 value) {
628  num_feat_entries_.Set(index, value);
629  // @@protoc_insertion_point(field_set:shogun.SparseMatrixHeader.num_feat_entries)
630 }
631 inline void SparseMatrixHeader::add_num_feat_entries(::google::protobuf::uint64 value) {
632  num_feat_entries_.Add(value);
633  // @@protoc_insertion_point(field_add:shogun.SparseMatrixHeader.num_feat_entries)
634 }
635 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
637  // @@protoc_insertion_point(field_list:shogun.SparseMatrixHeader.num_feat_entries)
638  return num_feat_entries_;
639 }
640 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
642  // @@protoc_insertion_point(field_mutable_list:shogun.SparseMatrixHeader.num_feat_entries)
643  return &num_feat_entries_;
644 }
645 
646 // -------------------------------------------------------------------
647 
648 // StringListHeader
649 
650 // required uint64 num_str = 1;
651 inline bool StringListHeader::has_num_str() const {
652  return (_has_bits_[0] & 0x00000001u) != 0;
653 }
654 inline void StringListHeader::set_has_num_str() {
655  _has_bits_[0] |= 0x00000001u;
656 }
657 inline void StringListHeader::clear_has_num_str() {
658  _has_bits_[0] &= ~0x00000001u;
659 }
661  num_str_ = GOOGLE_ULONGLONG(0);
662  clear_has_num_str();
663 }
664 inline ::google::protobuf::uint64 StringListHeader::num_str() const {
665  // @@protoc_insertion_point(field_get:shogun.StringListHeader.num_str)
666  return num_str_;
667 }
668 inline void StringListHeader::set_num_str(::google::protobuf::uint64 value) {
669  set_has_num_str();
670  num_str_ = value;
671  // @@protoc_insertion_point(field_set:shogun.StringListHeader.num_str)
672 }
673 
674 // required uint64 max_string_len = 2;
676  return (_has_bits_[0] & 0x00000002u) != 0;
677 }
678 inline void StringListHeader::set_has_max_string_len() {
679  _has_bits_[0] |= 0x00000002u;
680 }
681 inline void StringListHeader::clear_has_max_string_len() {
682  _has_bits_[0] &= ~0x00000002u;
683 }
685  max_string_len_ = GOOGLE_ULONGLONG(0);
686  clear_has_max_string_len();
687 }
688 inline ::google::protobuf::uint64 StringListHeader::max_string_len() const {
689  // @@protoc_insertion_point(field_get:shogun.StringListHeader.max_string_len)
690  return max_string_len_;
691 }
692 inline void StringListHeader::set_max_string_len(::google::protobuf::uint64 value) {
693  set_has_max_string_len();
694  max_string_len_ = value;
695  // @@protoc_insertion_point(field_set:shogun.StringListHeader.max_string_len)
696 }
697 
698 // repeated uint64 str_len = 3;
699 inline int StringListHeader::str_len_size() const {
700  return str_len_.size();
701 }
703  str_len_.Clear();
704 }
705 inline ::google::protobuf::uint64 StringListHeader::str_len(int index) const {
706  // @@protoc_insertion_point(field_get:shogun.StringListHeader.str_len)
707  return str_len_.Get(index);
708 }
709 inline void StringListHeader::set_str_len(int index, ::google::protobuf::uint64 value) {
710  str_len_.Set(index, value);
711  // @@protoc_insertion_point(field_set:shogun.StringListHeader.str_len)
712 }
713 inline void StringListHeader::add_str_len(::google::protobuf::uint64 value) {
714  str_len_.Add(value);
715  // @@protoc_insertion_point(field_add:shogun.StringListHeader.str_len)
716 }
717 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
719  // @@protoc_insertion_point(field_list:shogun.StringListHeader.str_len)
720  return str_len_;
721 }
722 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
724  // @@protoc_insertion_point(field_mutable_list:shogun.StringListHeader.str_len)
725  return &str_len_;
726 }
727 
728 
729 // @@protoc_insertion_point(namespace_scope)
730 
731 } // namespace shogun
732 
733 #ifndef SWIG
734 namespace google {
735 namespace protobuf {
736 
737 
738 } // namespace google
739 } // namespace protobuf
740 #endif // SWIG
741 
742 // @@protoc_insertion_point(global_scope)
743 
744 #endif // PROTOBUF_Headers_2eproto__INCLUDED
void MergeFrom(const ::google::protobuf::Message &from)
int ByteSize() const
inline::google::protobuf::RepeatedField< ::google::protobuf::uint64 > * mutable_str_len()
Definition: Headers.pb.h:723
inline::google::protobuf::uint64 max_string_len() const
Definition: Headers.pb.h:688
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Headers.pb.h:345
int GetCachedSize() const
Definition: Headers.pb.h:84
bool has_num_features() const
Definition: Headers.pb.h:593
static const MatrixHeader & default_instance()
static const int kNumMessagesFieldNumber
Definition: Headers.pb.h:106
void protobuf_ShutdownFile_Headers_2eproto()
void set_max_string_len(::google::protobuf::uint64 value)
Definition: Headers.pb.h:692
void set_num_cols(::google::protobuf::uint64 value)
Definition: Headers.pb.h:510
void Swap(MatrixHeader *other)
static const int kMaxStringLenFieldNumber
Definition: Headers.pb.h:396
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Headers.pb.h:55
inline::google::protobuf::RepeatedField< ::google::protobuf::uint64 > * mutable_num_feat_entries()
Definition: Headers.pb.h:641
void MergeFrom(const ::google::protobuf::Message &from)
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
inline::google::protobuf::uint64 num_features() const
Definition: Headers.pb.h:606
static const int kStrLenFieldNumber
Definition: Headers.pb.h:403
friend void protobuf_AddDesc_Headers_2eproto()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > & str_len() const
Definition: Headers.pb.h:718
inline::google::protobuf::uint32 num_messages() const
Definition: Headers.pb.h:478
friend void protobuf_AddDesc_Headers_2eproto()
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_AssignDesc_Headers_2eproto()
void add_num_feat_entries(::google::protobuf::uint64 value)
Definition: Headers.pb.h:631
void protobuf_AssignDesc_Headers_2eproto()
friend void protobuf_AddDesc_Headers_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Headers.pb.h:243
SparseMatrixHeader * New() const
void set_num_feat_entries(int index,::google::protobuf::uint64 value)
Definition: Headers.pb.h:627
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Headers.pb.h:59
void Swap(VectorHeader *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Headers.pb.h:144
int GetCachedSize() const
Definition: Headers.pb.h:374
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
void Swap(StringListHeader *other)
friend void protobuf_ShutdownFile_Headers_2eproto()
static const StringListHeader & default_instance()
MatrixHeader & operator=(const MatrixHeader &from)
Definition: Headers.pb.h:139
bool IsInitialized() const
int ByteSize() const
bool IsInitialized() const
friend void protobuf_ShutdownFile_Headers_2eproto()
static const int kNumFeatEntriesFieldNumber
Definition: Headers.pb.h:301
bool has_num_cols() const
Definition: Headers.pb.h:493
inline::google::protobuf::uint64 num_str() const
Definition: Headers.pb.h:664
void set_num_features(::google::protobuf::uint64 value)
Definition: Headers.pb.h:610
void MergeFrom(const ::google::protobuf::Message &from)
VectorHeader & operator=(const VectorHeader &from)
Definition: Headers.pb.h:50
StringListHeader & operator=(const StringListHeader &from)
Definition: Headers.pb.h:340
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Headers.pb.h:349
friend void protobuf_ShutdownFile_Headers_2eproto()
bool has_num_vectors() const
Definition: Headers.pb.h:569
inline::google::protobuf::uint64 len() const
Definition: Headers.pb.h:454
static const int kNumStrFieldNumber
Definition: Headers.pb.h:389
void Swap(SparseMatrixHeader *other)
bool has_len() const
Definition: Headers.pb.h:441
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_AssignDesc_Headers_2eproto()
void add_str_len(::google::protobuf::uint64 value)
Definition: Headers.pb.h:713
VectorHeader * New() const
friend void protobuf_AssignDesc_Headers_2eproto()
bool IsInitialized() const
static const ::google::protobuf::Descriptor * descriptor()
void set_num_str(::google::protobuf::uint64 value)
Definition: Headers.pb.h:668
::google::protobuf::Metadata GetMetadata() const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Headers.pb.h:148
void CopyFrom(const ::google::protobuf::Message &from)
bool has_max_string_len() const
Definition: Headers.pb.h:675
void set_num_messages(::google::protobuf::uint32 value)
Definition: Headers.pb.h:558
int GetCachedSize() const
Definition: Headers.pb.h:173
int GetCachedSize() const
Definition: Headers.pb.h:272
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
void protobuf_AddDesc_Headers_2eproto()
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
friend void protobuf_AddDesc_Headers_2eproto()
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:16
void MergeFrom(const ::google::protobuf::Message &from)
void CopyFrom(const ::google::protobuf::Message &from)
static const VectorHeader & default_instance()
friend void protobuf_AssignDesc_Headers_2eproto()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Headers.pb.h:247
inline::google::protobuf::uint64 num_vectors() const
Definition: Headers.pb.h:582
MatrixHeader * New() const
inline::google::protobuf::uint64 num_rows() const
Definition: Headers.pb.h:530
SparseMatrixHeader & operator=(const SparseMatrixHeader &from)
Definition: Headers.pb.h:238
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
bool has_num_rows() const
Definition: Headers.pb.h:517
inline::google::protobuf::uint64 num_cols() const
Definition: Headers.pb.h:506
static const int kLenFieldNumber
Definition: Headers.pb.h:99
void set_str_len(int index,::google::protobuf::uint64 value)
Definition: Headers.pb.h:709
static const int kNumRowsFieldNumber
Definition: Headers.pb.h:195
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
inline::google::protobuf::uint32 num_messages() const
Definition: Headers.pb.h:554
static const int kNumFeaturesFieldNumber
Definition: Headers.pb.h:294
static const int kNumVectorsFieldNumber
Definition: Headers.pb.h:287
bool has_num_messages() const
Definition: Headers.pb.h:541
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > & num_feat_entries() const
Definition: Headers.pb.h:636
static const SparseMatrixHeader & default_instance()
int num_feat_entries_size() const
Definition: Headers.pb.h:617
bool has_num_messages() const
Definition: Headers.pb.h:465
static const int kNumMessagesFieldNumber
Definition: Headers.pb.h:202
StringListHeader * New() const
void set_num_rows(::google::protobuf::uint64 value)
Definition: Headers.pb.h:534
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
friend void protobuf_ShutdownFile_Headers_2eproto()
static const int kNumColsFieldNumber
Definition: Headers.pb.h:188
static const ::google::protobuf::Descriptor * descriptor()
void set_len(::google::protobuf::uint64 value)
Definition: Headers.pb.h:458
void CopyFrom(const ::google::protobuf::Message &from)
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
void set_num_vectors(::google::protobuf::uint64 value)
Definition: Headers.pb.h:586
bool has_num_str() const
Definition: Headers.pb.h:651
int str_len_size() const
Definition: Headers.pb.h:699
void set_num_messages(::google::protobuf::uint32 value)
Definition: Headers.pb.h:482
void CopyFrom(const ::google::protobuf::Message &from)

SHOGUN Machine Learning Toolbox - Documentation