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

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