SHOGUN  4.1.0
Chunks.pb.h
浏览该文件的文档.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: Chunks.proto
3 
4 #ifndef PROTOBUF_Chunks_2eproto__INCLUDED
5 #define PROTOBUF_Chunks_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 BoolChunk;
37 class Int32Chunk;
38 class UInt32Chunk;
39 class Int64Chunk;
40 class UInt64Chunk;
41 class Float32Chunk;
42 class Float64Chunk;
43 
44 // ===================================================================
45 
46 class BoolChunk : public ::google::protobuf::Message {
47  public:
48  BoolChunk();
49  virtual ~BoolChunk();
50 
51  BoolChunk(const BoolChunk& from);
52 
53  inline BoolChunk& operator=(const BoolChunk& from) {
54  CopyFrom(from);
55  return *this;
56  }
57 
58  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
59  return _unknown_fields_;
60  }
61 
62  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
63  return &_unknown_fields_;
64  }
65 
66  static const ::google::protobuf::Descriptor* descriptor();
67  static const BoolChunk& default_instance();
68 
69  void Swap(BoolChunk* other);
70 
71  // implements Message ----------------------------------------------
72 
73  BoolChunk* New() const;
74  void CopyFrom(const ::google::protobuf::Message& from);
75  void MergeFrom(const ::google::protobuf::Message& from);
76  void CopyFrom(const BoolChunk& from);
77  void MergeFrom(const BoolChunk& from);
78  void Clear();
79  bool IsInitialized() const;
80 
81  int ByteSize() const;
83  ::google::protobuf::io::CodedInputStream* input);
85  ::google::protobuf::io::CodedOutputStream* output) const;
86  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
87  int GetCachedSize() const { return _cached_size_; }
88  private:
89  void SharedCtor();
90  void SharedDtor();
91  void SetCachedSize(int size) const;
92  public:
93  ::google::protobuf::Metadata GetMetadata() const;
94 
95  // nested types ----------------------------------------------------
96 
97  // accessors -------------------------------------------------------
98 
99  // repeated bool data = 1 [packed = true];
100  inline int data_size() const;
101  inline void clear_data();
102  static const int kDataFieldNumber = 1;
103  inline bool data(int index) const;
104  inline void set_data(int index, bool value);
105  inline void add_data(bool value);
106  inline const ::google::protobuf::RepeatedField< bool >&
107  data() const;
108  inline ::google::protobuf::RepeatedField< bool >*
109  mutable_data();
110 
111  // @@protoc_insertion_point(class_scope:shogun.BoolChunk)
112  private:
113 
114  ::google::protobuf::UnknownFieldSet _unknown_fields_;
115 
116  ::google::protobuf::uint32 _has_bits_[1];
117  mutable int _cached_size_;
118  ::google::protobuf::RepeatedField< bool > data_;
119  mutable int _data_cached_byte_size_;
120  friend void protobuf_AddDesc_Chunks_2eproto();
123 
124  void InitAsDefaultInstance();
125  static BoolChunk* default_instance_;
126 };
127 // -------------------------------------------------------------------
128 
129 class Int32Chunk : public ::google::protobuf::Message {
130  public:
131  Int32Chunk();
132  virtual ~Int32Chunk();
133 
134  Int32Chunk(const Int32Chunk& from);
135 
136  inline Int32Chunk& operator=(const Int32Chunk& from) {
137  CopyFrom(from);
138  return *this;
139  }
140 
141  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
142  return _unknown_fields_;
143  }
144 
145  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
146  return &_unknown_fields_;
147  }
148 
149  static const ::google::protobuf::Descriptor* descriptor();
150  static const Int32Chunk& default_instance();
151 
152  void Swap(Int32Chunk* other);
153 
154  // implements Message ----------------------------------------------
155 
156  Int32Chunk* New() const;
157  void CopyFrom(const ::google::protobuf::Message& from);
158  void MergeFrom(const ::google::protobuf::Message& from);
159  void CopyFrom(const Int32Chunk& from);
160  void MergeFrom(const Int32Chunk& from);
161  void Clear();
162  bool IsInitialized() const;
163 
164  int ByteSize() const;
166  ::google::protobuf::io::CodedInputStream* input);
168  ::google::protobuf::io::CodedOutputStream* output) const;
169  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
170  int GetCachedSize() const { return _cached_size_; }
171  private:
172  void SharedCtor();
173  void SharedDtor();
174  void SetCachedSize(int size) const;
175  public:
176  ::google::protobuf::Metadata GetMetadata() const;
177 
178  // nested types ----------------------------------------------------
179 
180  // accessors -------------------------------------------------------
181 
182  // repeated int32 data = 1 [packed = true];
183  inline int data_size() const;
184  inline void clear_data();
185  static const int kDataFieldNumber = 1;
186  inline ::google::protobuf::int32 data(int index) const;
187  inline void set_data(int index, ::google::protobuf::int32 value);
188  inline void add_data(::google::protobuf::int32 value);
189  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
190  data() const;
191  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
192  mutable_data();
193 
194  // @@protoc_insertion_point(class_scope:shogun.Int32Chunk)
195  private:
196 
197  ::google::protobuf::UnknownFieldSet _unknown_fields_;
198 
199  ::google::protobuf::uint32 _has_bits_[1];
200  mutable int _cached_size_;
201  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > data_;
202  mutable int _data_cached_byte_size_;
203  friend void protobuf_AddDesc_Chunks_2eproto();
206 
207  void InitAsDefaultInstance();
208  static Int32Chunk* default_instance_;
209 };
210 // -------------------------------------------------------------------
211 
212 class UInt32Chunk : public ::google::protobuf::Message {
213  public:
214  UInt32Chunk();
215  virtual ~UInt32Chunk();
216 
217  UInt32Chunk(const UInt32Chunk& from);
218 
219  inline UInt32Chunk& operator=(const UInt32Chunk& from) {
220  CopyFrom(from);
221  return *this;
222  }
223 
224  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
225  return _unknown_fields_;
226  }
227 
228  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
229  return &_unknown_fields_;
230  }
231 
232  static const ::google::protobuf::Descriptor* descriptor();
233  static const UInt32Chunk& default_instance();
234 
235  void Swap(UInt32Chunk* other);
236 
237  // implements Message ----------------------------------------------
238 
239  UInt32Chunk* New() const;
240  void CopyFrom(const ::google::protobuf::Message& from);
241  void MergeFrom(const ::google::protobuf::Message& from);
242  void CopyFrom(const UInt32Chunk& from);
243  void MergeFrom(const UInt32Chunk& from);
244  void Clear();
245  bool IsInitialized() const;
246 
247  int ByteSize() const;
249  ::google::protobuf::io::CodedInputStream* input);
251  ::google::protobuf::io::CodedOutputStream* output) const;
252  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
253  int GetCachedSize() const { return _cached_size_; }
254  private:
255  void SharedCtor();
256  void SharedDtor();
257  void SetCachedSize(int size) const;
258  public:
259  ::google::protobuf::Metadata GetMetadata() const;
260 
261  // nested types ----------------------------------------------------
262 
263  // accessors -------------------------------------------------------
264 
265  // repeated uint32 data = 1 [packed = true];
266  inline int data_size() const;
267  inline void clear_data();
268  static const int kDataFieldNumber = 1;
269  inline ::google::protobuf::uint32 data(int index) const;
270  inline void set_data(int index, ::google::protobuf::uint32 value);
271  inline void add_data(::google::protobuf::uint32 value);
272  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
273  data() const;
274  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
275  mutable_data();
276 
277  // @@protoc_insertion_point(class_scope:shogun.UInt32Chunk)
278  private:
279 
280  ::google::protobuf::UnknownFieldSet _unknown_fields_;
281 
282  ::google::protobuf::uint32 _has_bits_[1];
283  mutable int _cached_size_;
284  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > data_;
285  mutable int _data_cached_byte_size_;
286  friend void protobuf_AddDesc_Chunks_2eproto();
289 
290  void InitAsDefaultInstance();
291  static UInt32Chunk* default_instance_;
292 };
293 // -------------------------------------------------------------------
294 
295 class Int64Chunk : public ::google::protobuf::Message {
296  public:
297  Int64Chunk();
298  virtual ~Int64Chunk();
299 
300  Int64Chunk(const Int64Chunk& from);
301 
302  inline Int64Chunk& operator=(const Int64Chunk& from) {
303  CopyFrom(from);
304  return *this;
305  }
306 
307  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
308  return _unknown_fields_;
309  }
310 
311  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
312  return &_unknown_fields_;
313  }
314 
315  static const ::google::protobuf::Descriptor* descriptor();
316  static const Int64Chunk& default_instance();
317 
318  void Swap(Int64Chunk* other);
319 
320  // implements Message ----------------------------------------------
321 
322  Int64Chunk* New() const;
323  void CopyFrom(const ::google::protobuf::Message& from);
324  void MergeFrom(const ::google::protobuf::Message& from);
325  void CopyFrom(const Int64Chunk& from);
326  void MergeFrom(const Int64Chunk& from);
327  void Clear();
328  bool IsInitialized() const;
329 
330  int ByteSize() const;
332  ::google::protobuf::io::CodedInputStream* input);
334  ::google::protobuf::io::CodedOutputStream* output) const;
335  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
336  int GetCachedSize() const { return _cached_size_; }
337  private:
338  void SharedCtor();
339  void SharedDtor();
340  void SetCachedSize(int size) const;
341  public:
342  ::google::protobuf::Metadata GetMetadata() const;
343 
344  // nested types ----------------------------------------------------
345 
346  // accessors -------------------------------------------------------
347 
348  // repeated int64 data = 1 [packed = true];
349  inline int data_size() const;
350  inline void clear_data();
351  static const int kDataFieldNumber = 1;
352  inline ::google::protobuf::int64 data(int index) const;
353  inline void set_data(int index, ::google::protobuf::int64 value);
354  inline void add_data(::google::protobuf::int64 value);
355  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
356  data() const;
357  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
358  mutable_data();
359 
360  // @@protoc_insertion_point(class_scope:shogun.Int64Chunk)
361  private:
362 
363  ::google::protobuf::UnknownFieldSet _unknown_fields_;
364 
365  ::google::protobuf::uint32 _has_bits_[1];
366  mutable int _cached_size_;
367  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > data_;
368  mutable int _data_cached_byte_size_;
369  friend void protobuf_AddDesc_Chunks_2eproto();
372 
373  void InitAsDefaultInstance();
374  static Int64Chunk* default_instance_;
375 };
376 // -------------------------------------------------------------------
377 
378 class UInt64Chunk : public ::google::protobuf::Message {
379  public:
380  UInt64Chunk();
381  virtual ~UInt64Chunk();
382 
383  UInt64Chunk(const UInt64Chunk& from);
384 
385  inline UInt64Chunk& operator=(const UInt64Chunk& from) {
386  CopyFrom(from);
387  return *this;
388  }
389 
390  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
391  return _unknown_fields_;
392  }
393 
394  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
395  return &_unknown_fields_;
396  }
397 
398  static const ::google::protobuf::Descriptor* descriptor();
399  static const UInt64Chunk& default_instance();
400 
401  void Swap(UInt64Chunk* other);
402 
403  // implements Message ----------------------------------------------
404 
405  UInt64Chunk* New() const;
406  void CopyFrom(const ::google::protobuf::Message& from);
407  void MergeFrom(const ::google::protobuf::Message& from);
408  void CopyFrom(const UInt64Chunk& from);
409  void MergeFrom(const UInt64Chunk& from);
410  void Clear();
411  bool IsInitialized() const;
412 
413  int ByteSize() const;
415  ::google::protobuf::io::CodedInputStream* input);
417  ::google::protobuf::io::CodedOutputStream* output) const;
418  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
419  int GetCachedSize() const { return _cached_size_; }
420  private:
421  void SharedCtor();
422  void SharedDtor();
423  void SetCachedSize(int size) const;
424  public:
425  ::google::protobuf::Metadata GetMetadata() const;
426 
427  // nested types ----------------------------------------------------
428 
429  // accessors -------------------------------------------------------
430 
431  // repeated uint64 data = 1 [packed = true];
432  inline int data_size() const;
433  inline void clear_data();
434  static const int kDataFieldNumber = 1;
435  inline ::google::protobuf::uint64 data(int index) const;
436  inline void set_data(int index, ::google::protobuf::uint64 value);
437  inline void add_data(::google::protobuf::uint64 value);
438  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
439  data() const;
440  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
441  mutable_data();
442 
443  // @@protoc_insertion_point(class_scope:shogun.UInt64Chunk)
444  private:
445 
446  ::google::protobuf::UnknownFieldSet _unknown_fields_;
447 
448  ::google::protobuf::uint32 _has_bits_[1];
449  mutable int _cached_size_;
450  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > data_;
451  mutable int _data_cached_byte_size_;
452  friend void protobuf_AddDesc_Chunks_2eproto();
455 
456  void InitAsDefaultInstance();
457  static UInt64Chunk* default_instance_;
458 };
459 // -------------------------------------------------------------------
460 
461 class Float32Chunk : public ::google::protobuf::Message {
462  public:
463  Float32Chunk();
464  virtual ~Float32Chunk();
465 
466  Float32Chunk(const Float32Chunk& from);
467 
468  inline Float32Chunk& operator=(const Float32Chunk& from) {
469  CopyFrom(from);
470  return *this;
471  }
472 
473  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
474  return _unknown_fields_;
475  }
476 
477  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
478  return &_unknown_fields_;
479  }
480 
481  static const ::google::protobuf::Descriptor* descriptor();
482  static const Float32Chunk& default_instance();
483 
484  void Swap(Float32Chunk* other);
485 
486  // implements Message ----------------------------------------------
487 
488  Float32Chunk* New() const;
489  void CopyFrom(const ::google::protobuf::Message& from);
490  void MergeFrom(const ::google::protobuf::Message& from);
491  void CopyFrom(const Float32Chunk& from);
492  void MergeFrom(const Float32Chunk& from);
493  void Clear();
494  bool IsInitialized() const;
495 
496  int ByteSize() const;
498  ::google::protobuf::io::CodedInputStream* input);
500  ::google::protobuf::io::CodedOutputStream* output) const;
501  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
502  int GetCachedSize() const { return _cached_size_; }
503  private:
504  void SharedCtor();
505  void SharedDtor();
506  void SetCachedSize(int size) const;
507  public:
508  ::google::protobuf::Metadata GetMetadata() const;
509 
510  // nested types ----------------------------------------------------
511 
512  // accessors -------------------------------------------------------
513 
514  // repeated float data = 1 [packed = true];
515  inline int data_size() const;
516  inline void clear_data();
517  static const int kDataFieldNumber = 1;
518  inline float data(int index) const;
519  inline void set_data(int index, float value);
520  inline void add_data(float value);
521  inline const ::google::protobuf::RepeatedField< float >&
522  data() const;
523  inline ::google::protobuf::RepeatedField< float >*
524  mutable_data();
525 
526  // @@protoc_insertion_point(class_scope:shogun.Float32Chunk)
527  private:
528 
529  ::google::protobuf::UnknownFieldSet _unknown_fields_;
530 
531  ::google::protobuf::uint32 _has_bits_[1];
532  mutable int _cached_size_;
533  ::google::protobuf::RepeatedField< float > data_;
534  mutable int _data_cached_byte_size_;
535  friend void protobuf_AddDesc_Chunks_2eproto();
538 
539  void InitAsDefaultInstance();
540  static Float32Chunk* default_instance_;
541 };
542 // -------------------------------------------------------------------
543 
544 class Float64Chunk : public ::google::protobuf::Message {
545  public:
546  Float64Chunk();
547  virtual ~Float64Chunk();
548 
549  Float64Chunk(const Float64Chunk& from);
550 
551  inline Float64Chunk& operator=(const Float64Chunk& from) {
552  CopyFrom(from);
553  return *this;
554  }
555 
556  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
557  return _unknown_fields_;
558  }
559 
560  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
561  return &_unknown_fields_;
562  }
563 
564  static const ::google::protobuf::Descriptor* descriptor();
565  static const Float64Chunk& default_instance();
566 
567  void Swap(Float64Chunk* other);
568 
569  // implements Message ----------------------------------------------
570 
571  Float64Chunk* New() const;
572  void CopyFrom(const ::google::protobuf::Message& from);
573  void MergeFrom(const ::google::protobuf::Message& from);
574  void CopyFrom(const Float64Chunk& from);
575  void MergeFrom(const Float64Chunk& from);
576  void Clear();
577  bool IsInitialized() const;
578 
579  int ByteSize() const;
581  ::google::protobuf::io::CodedInputStream* input);
583  ::google::protobuf::io::CodedOutputStream* output) const;
584  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
585  int GetCachedSize() const { return _cached_size_; }
586  private:
587  void SharedCtor();
588  void SharedDtor();
589  void SetCachedSize(int size) const;
590  public:
591  ::google::protobuf::Metadata GetMetadata() const;
592 
593  // nested types ----------------------------------------------------
594 
595  // accessors -------------------------------------------------------
596 
597  // repeated double data = 1 [packed = true];
598  inline int data_size() const;
599  inline void clear_data();
600  static const int kDataFieldNumber = 1;
601  inline double data(int index) const;
602  inline void set_data(int index, double value);
603  inline void add_data(double value);
604  inline const ::google::protobuf::RepeatedField< double >&
605  data() const;
606  inline ::google::protobuf::RepeatedField< double >*
607  mutable_data();
608 
609  // @@protoc_insertion_point(class_scope:shogun.Float64Chunk)
610  private:
611 
612  ::google::protobuf::UnknownFieldSet _unknown_fields_;
613 
614  ::google::protobuf::uint32 _has_bits_[1];
615  mutable int _cached_size_;
616  ::google::protobuf::RepeatedField< double > data_;
617  mutable int _data_cached_byte_size_;
618  friend void protobuf_AddDesc_Chunks_2eproto();
621 
622  void InitAsDefaultInstance();
623  static Float64Chunk* default_instance_;
624 };
625 // ===================================================================
626 
627 
628 // ===================================================================
629 
630 // BoolChunk
631 
632 // repeated bool data = 1 [packed = true];
633 inline int BoolChunk::data_size() const {
634  return data_.size();
635 }
636 inline void BoolChunk::clear_data() {
637  data_.Clear();
638 }
639 inline bool BoolChunk::data(int index) const {
640  // @@protoc_insertion_point(field_get:shogun.BoolChunk.data)
641  return data_.Get(index);
642 }
643 inline void BoolChunk::set_data(int index, bool value) {
644  data_.Set(index, value);
645  // @@protoc_insertion_point(field_set:shogun.BoolChunk.data)
646 }
647 inline void BoolChunk::add_data(bool value) {
648  data_.Add(value);
649  // @@protoc_insertion_point(field_add:shogun.BoolChunk.data)
650 }
651 inline const ::google::protobuf::RepeatedField< bool >&
653  // @@protoc_insertion_point(field_list:shogun.BoolChunk.data)
654  return data_;
655 }
656 inline ::google::protobuf::RepeatedField< bool >*
658  // @@protoc_insertion_point(field_mutable_list:shogun.BoolChunk.data)
659  return &data_;
660 }
661 
662 // -------------------------------------------------------------------
663 
664 // Int32Chunk
665 
666 // repeated int32 data = 1 [packed = true];
667 inline int Int32Chunk::data_size() const {
668  return data_.size();
669 }
670 inline void Int32Chunk::clear_data() {
671  data_.Clear();
672 }
673 inline ::google::protobuf::int32 Int32Chunk::data(int index) const {
674  // @@protoc_insertion_point(field_get:shogun.Int32Chunk.data)
675  return data_.Get(index);
676 }
677 inline void Int32Chunk::set_data(int index, ::google::protobuf::int32 value) {
678  data_.Set(index, value);
679  // @@protoc_insertion_point(field_set:shogun.Int32Chunk.data)
680 }
681 inline void Int32Chunk::add_data(::google::protobuf::int32 value) {
682  data_.Add(value);
683  // @@protoc_insertion_point(field_add:shogun.Int32Chunk.data)
684 }
685 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
687  // @@protoc_insertion_point(field_list:shogun.Int32Chunk.data)
688  return data_;
689 }
690 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
692  // @@protoc_insertion_point(field_mutable_list:shogun.Int32Chunk.data)
693  return &data_;
694 }
695 
696 // -------------------------------------------------------------------
697 
698 // UInt32Chunk
699 
700 // repeated uint32 data = 1 [packed = true];
701 inline int UInt32Chunk::data_size() const {
702  return data_.size();
703 }
704 inline void UInt32Chunk::clear_data() {
705  data_.Clear();
706 }
707 inline ::google::protobuf::uint32 UInt32Chunk::data(int index) const {
708  // @@protoc_insertion_point(field_get:shogun.UInt32Chunk.data)
709  return data_.Get(index);
710 }
711 inline void UInt32Chunk::set_data(int index, ::google::protobuf::uint32 value) {
712  data_.Set(index, value);
713  // @@protoc_insertion_point(field_set:shogun.UInt32Chunk.data)
714 }
715 inline void UInt32Chunk::add_data(::google::protobuf::uint32 value) {
716  data_.Add(value);
717  // @@protoc_insertion_point(field_add:shogun.UInt32Chunk.data)
718 }
719 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
721  // @@protoc_insertion_point(field_list:shogun.UInt32Chunk.data)
722  return data_;
723 }
724 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
726  // @@protoc_insertion_point(field_mutable_list:shogun.UInt32Chunk.data)
727  return &data_;
728 }
729 
730 // -------------------------------------------------------------------
731 
732 // Int64Chunk
733 
734 // repeated int64 data = 1 [packed = true];
735 inline int Int64Chunk::data_size() const {
736  return data_.size();
737 }
738 inline void Int64Chunk::clear_data() {
739  data_.Clear();
740 }
741 inline ::google::protobuf::int64 Int64Chunk::data(int index) const {
742  // @@protoc_insertion_point(field_get:shogun.Int64Chunk.data)
743  return data_.Get(index);
744 }
745 inline void Int64Chunk::set_data(int index, ::google::protobuf::int64 value) {
746  data_.Set(index, value);
747  // @@protoc_insertion_point(field_set:shogun.Int64Chunk.data)
748 }
749 inline void Int64Chunk::add_data(::google::protobuf::int64 value) {
750  data_.Add(value);
751  // @@protoc_insertion_point(field_add:shogun.Int64Chunk.data)
752 }
753 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
755  // @@protoc_insertion_point(field_list:shogun.Int64Chunk.data)
756  return data_;
757 }
758 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
760  // @@protoc_insertion_point(field_mutable_list:shogun.Int64Chunk.data)
761  return &data_;
762 }
763 
764 // -------------------------------------------------------------------
765 
766 // UInt64Chunk
767 
768 // repeated uint64 data = 1 [packed = true];
769 inline int UInt64Chunk::data_size() const {
770  return data_.size();
771 }
772 inline void UInt64Chunk::clear_data() {
773  data_.Clear();
774 }
775 inline ::google::protobuf::uint64 UInt64Chunk::data(int index) const {
776  // @@protoc_insertion_point(field_get:shogun.UInt64Chunk.data)
777  return data_.Get(index);
778 }
779 inline void UInt64Chunk::set_data(int index, ::google::protobuf::uint64 value) {
780  data_.Set(index, value);
781  // @@protoc_insertion_point(field_set:shogun.UInt64Chunk.data)
782 }
783 inline void UInt64Chunk::add_data(::google::protobuf::uint64 value) {
784  data_.Add(value);
785  // @@protoc_insertion_point(field_add:shogun.UInt64Chunk.data)
786 }
787 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
789  // @@protoc_insertion_point(field_list:shogun.UInt64Chunk.data)
790  return data_;
791 }
792 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
794  // @@protoc_insertion_point(field_mutable_list:shogun.UInt64Chunk.data)
795  return &data_;
796 }
797 
798 // -------------------------------------------------------------------
799 
800 // Float32Chunk
801 
802 // repeated float data = 1 [packed = true];
803 inline int Float32Chunk::data_size() const {
804  return data_.size();
805 }
807  data_.Clear();
808 }
809 inline float Float32Chunk::data(int index) const {
810  // @@protoc_insertion_point(field_get:shogun.Float32Chunk.data)
811  return data_.Get(index);
812 }
813 inline void Float32Chunk::set_data(int index, float value) {
814  data_.Set(index, value);
815  // @@protoc_insertion_point(field_set:shogun.Float32Chunk.data)
816 }
817 inline void Float32Chunk::add_data(float value) {
818  data_.Add(value);
819  // @@protoc_insertion_point(field_add:shogun.Float32Chunk.data)
820 }
821 inline const ::google::protobuf::RepeatedField< float >&
823  // @@protoc_insertion_point(field_list:shogun.Float32Chunk.data)
824  return data_;
825 }
826 inline ::google::protobuf::RepeatedField< float >*
828  // @@protoc_insertion_point(field_mutable_list:shogun.Float32Chunk.data)
829  return &data_;
830 }
831 
832 // -------------------------------------------------------------------
833 
834 // Float64Chunk
835 
836 // repeated double data = 1 [packed = true];
837 inline int Float64Chunk::data_size() const {
838  return data_.size();
839 }
841  data_.Clear();
842 }
843 inline double Float64Chunk::data(int index) const {
844  // @@protoc_insertion_point(field_get:shogun.Float64Chunk.data)
845  return data_.Get(index);
846 }
847 inline void Float64Chunk::set_data(int index, double value) {
848  data_.Set(index, value);
849  // @@protoc_insertion_point(field_set:shogun.Float64Chunk.data)
850 }
851 inline void Float64Chunk::add_data(double value) {
852  data_.Add(value);
853  // @@protoc_insertion_point(field_add:shogun.Float64Chunk.data)
854 }
855 inline const ::google::protobuf::RepeatedField< double >&
857  // @@protoc_insertion_point(field_list:shogun.Float64Chunk.data)
858  return data_;
859 }
860 inline ::google::protobuf::RepeatedField< double >*
862  // @@protoc_insertion_point(field_mutable_list:shogun.Float64Chunk.data)
863  return &data_;
864 }
865 
866 
867 // @@protoc_insertion_point(namespace_scope)
868 
869 } // namespace shogun
870 
871 #ifndef SWIG
872 namespace google {
873 namespace protobuf {
874 
875 
876 } // namespace google
877 } // namespace protobuf
878 #endif // SWIG
879 
880 // @@protoc_insertion_point(global_scope)
881 
882 #endif // PROTOBUF_Chunks_2eproto__INCLUDED
void set_data(int index, bool value)
Definition: Chunks.pb.h:643
inline::google::protobuf::RepeatedField< bool > * mutable_data()
Definition: Chunks.pb.h:657
int data_size() const
Definition: Chunks.pb.h:769
void add_data(float value)
Definition: Chunks.pb.h:817
BoolChunk * New() const
int GetCachedSize() const
Definition: Chunks.pb.h:253
friend void protobuf_ShutdownFile_Chunks_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Chunks.pb.h:390
inline::google::protobuf::RepeatedField< float > * mutable_data()
Definition: Chunks.pb.h:827
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Chunks.pb.h:477
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Chunks.pb.h:473
void add_data(::google::protobuf::int32 value)
Definition: Chunks.pb.h:681
int data_size() const
Definition: Chunks.pb.h:667
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Chunks.pb.h:560
void CopyFrom(const ::google::protobuf::Message &from)
void add_data(double value)
Definition: Chunks.pb.h:851
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Chunks.pb.h:311
void MergeFrom(const ::google::protobuf::Message &from)
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & data() const
Definition: Chunks.pb.h:754
int GetCachedSize() const
Definition: Chunks.pb.h:87
const ::google::protobuf::RepeatedField< float > & data() const
Definition: Chunks.pb.h:822
void Swap(BoolChunk *other)
inline::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_data()
Definition: Chunks.pb.h:691
void add_data(::google::protobuf::uint64 value)
Definition: Chunks.pb.h:783
const ::google::protobuf::RepeatedField< double > & data() const
Definition: Chunks.pb.h:856
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Chunks.pb.h:58
Float64Chunk & operator=(const Float64Chunk &from)
Definition: Chunks.pb.h:551
void set_data(int index,::google::protobuf::int64 value)
Definition: Chunks.pb.h:745
int data_size() const
Definition: Chunks.pb.h:837
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & data() const
Definition: Chunks.pb.h:720
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Chunks.pb.h:62
int data_size() const
Definition: Chunks.pb.h:803
inline::google::protobuf::RepeatedField< ::google::protobuf::uint64 > * mutable_data()
Definition: Chunks.pb.h:793
void set_data(int index,::google::protobuf::uint32 value)
Definition: Chunks.pb.h:711
int GetCachedSize() const
Definition: Chunks.pb.h:170
int GetCachedSize() const
Definition: Chunks.pb.h:336
static const int kDataFieldNumber
Definition: Chunks.pb.h:102
void add_data(bool value)
Definition: Chunks.pb.h:647
int GetCachedSize() const
Definition: Chunks.pb.h:502
const ::google::protobuf::RepeatedField< bool > & data() const
Definition: Chunks.pb.h:652
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > & data() const
Definition: Chunks.pb.h:788
int GetCachedSize() const
Definition: Chunks.pb.h:419
friend void protobuf_AddDesc_Chunks_2eproto()
int data_size() const
Definition: Chunks.pb.h:735
int ByteSize() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Chunks.pb.h:307
virtual ~BoolChunk()
UInt64Chunk & operator=(const UInt64Chunk &from)
Definition: Chunks.pb.h:385
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Chunks.pb.h:145
void protobuf_AssignDesc_Chunks_2eproto()
void set_data(int index,::google::protobuf::uint64 value)
Definition: Chunks.pb.h:779
void protobuf_AddDesc_Chunks_2eproto()
inline::google::protobuf::RepeatedField< double > * mutable_data()
Definition: Chunks.pb.h:861
bool IsInitialized() const
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Float32Chunk & operator=(const Float32Chunk &from)
Definition: Chunks.pb.h:468
Int32Chunk & operator=(const Int32Chunk &from)
Definition: Chunks.pb.h:136
void set_data(int index, double value)
Definition: Chunks.pb.h:847
int GetCachedSize() const
Definition: Chunks.pb.h:585
Int64Chunk & operator=(const Int64Chunk &from)
Definition: Chunks.pb.h:302
static const BoolChunk & default_instance()
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & data() const
Definition: Chunks.pb.h:686
void set_data(int index, float value)
Definition: Chunks.pb.h:813
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
void add_data(::google::protobuf::uint32 value)
Definition: Chunks.pb.h:715
void add_data(::google::protobuf::int64 value)
Definition: Chunks.pb.h:749
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Chunks.pb.h:394
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Chunks.pb.h:224
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Chunks.pb.h:556
BoolChunk & operator=(const BoolChunk &from)
Definition: Chunks.pb.h:53
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: Chunks.pb.h:228
inline::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_data()
Definition: Chunks.pb.h:759
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
::google::protobuf::Metadata GetMetadata() const
void protobuf_ShutdownFile_Chunks_2eproto()
friend void protobuf_AssignDesc_Chunks_2eproto()
inline::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_data()
Definition: Chunks.pb.h:725
UInt32Chunk & operator=(const UInt32Chunk &from)
Definition: Chunks.pb.h:219
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: Chunks.pb.h:141
int data_size() const
Definition: Chunks.pb.h:633
void set_data(int index,::google::protobuf::int32 value)
Definition: Chunks.pb.h:677
int data_size() const
Definition: Chunks.pb.h:701

SHOGUN 机器学习工具包 - 项目文档