4 #ifndef PROTOBUF_Headers_2eproto__INCLUDED
5 #define PROTOBUF_Headers_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
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
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.
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>
38 class SparseMatrixHeader;
39 class StringListHeader;
56 return _unknown_fields_;
60 return &_unknown_fields_;
63 static const ::google::protobuf::Descriptor*
descriptor();
71 void CopyFrom(const ::google::protobuf::Message& from);
72 void MergeFrom(const ::google::protobuf::Message& from);
80 ::google::protobuf::io::CodedInputStream* input);
82 ::google::protobuf::io::CodedOutputStream* output)
const;
88 void SetCachedSize(
int size)
const;
101 inline ::google::protobuf::uint64
len()
const;
102 inline void set_len(::google::protobuf::uint64 value);
113 inline void set_has_len();
114 inline void clear_has_len();
115 inline void set_has_num_messages();
116 inline void clear_has_num_messages();
118 ::google::protobuf::UnknownFieldSet _unknown_fields_;
120 ::google::protobuf::uint64 len_;
121 ::google::protobuf::uint32 num_messages_;
123 mutable int _cached_size_;
124 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
130 void InitAsDefaultInstance();
148 return _unknown_fields_;
152 return &_unknown_fields_;
155 static const ::google::protobuf::Descriptor*
descriptor();
163 void CopyFrom(const ::google::protobuf::Message& from);
164 void MergeFrom(const ::google::protobuf::Message& from);
172 ::google::protobuf::io::CodedInputStream* input);
174 ::google::protobuf::io::CodedOutputStream* output)
const;
180 void SetCachedSize(
int size)
const;
193 inline ::google::protobuf::uint64
num_cols()
const;
194 inline void set_num_cols(::google::protobuf::uint64 value);
200 inline ::google::protobuf::uint64
num_rows()
const;
201 inline void set_num_rows(::google::protobuf::uint64 value);
212 inline void set_has_num_cols();
213 inline void clear_has_num_cols();
214 inline void set_has_num_rows();
215 inline void clear_has_num_rows();
216 inline void set_has_num_messages();
217 inline void clear_has_num_messages();
219 ::google::protobuf::UnknownFieldSet _unknown_fields_;
221 ::google::protobuf::uint64 num_cols_;
222 ::google::protobuf::uint64 num_rows_;
223 ::google::protobuf::uint32 num_messages_;
225 mutable int _cached_size_;
226 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
232 void InitAsDefaultInstance();
250 return _unknown_fields_;
254 return &_unknown_fields_;
257 static const ::google::protobuf::Descriptor*
descriptor();
265 void CopyFrom(const ::google::protobuf::Message& from);
266 void MergeFrom(const ::google::protobuf::Message& from);
274 ::google::protobuf::io::CodedInputStream* input);
276 ::google::protobuf::io::CodedOutputStream* output)
const;
282 void SetCachedSize(
int size)
const;
295 inline ::google::protobuf::uint64
num_vectors()
const;
312 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
314 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
319 inline void set_has_num_vectors();
320 inline void clear_has_num_vectors();
321 inline void set_has_num_features();
322 inline void clear_has_num_features();
324 ::google::protobuf::UnknownFieldSet _unknown_fields_;
326 ::google::protobuf::uint64 num_vectors_;
327 ::google::protobuf::uint64 num_features_;
328 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > num_feat_entries_;
330 mutable int _cached_size_;
331 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
337 void InitAsDefaultInstance();
355 return _unknown_fields_;
359 return &_unknown_fields_;
362 static const ::google::protobuf::Descriptor*
descriptor();
370 void CopyFrom(const ::google::protobuf::Message& from);
371 void MergeFrom(const ::google::protobuf::Message& from);
379 ::google::protobuf::io::CodedInputStream* input);
381 ::google::protobuf::io::CodedOutputStream* output)
const;
387 void SetCachedSize(
int size)
const;
400 inline ::google::protobuf::uint64
num_str()
const;
401 inline void set_num_str(::google::protobuf::uint64 value);
414 inline ::google::protobuf::uint64
str_len(
int index)
const;
415 inline void set_str_len(
int index, ::google::protobuf::uint64 value);
416 inline void add_str_len(::google::protobuf::uint64 value);
417 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
419 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
424 inline void set_has_num_str();
425 inline void clear_has_num_str();
426 inline void set_has_max_string_len();
427 inline void clear_has_max_string_len();
429 ::google::protobuf::UnknownFieldSet _unknown_fields_;
431 ::google::protobuf::uint64 num_str_;
432 ::google::protobuf::uint64 max_string_len_;
433 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > str_len_;
435 mutable int _cached_size_;
436 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
442 void InitAsDefaultInstance();
454 return (_has_bits_[0] & 0x00000001u) != 0;
456 inline void VectorHeader::set_has_len() {
457 _has_bits_[0] |= 0x00000001u;
459 inline void VectorHeader::clear_has_len() {
460 _has_bits_[0] &= ~0x00000001u;
463 len_ = GOOGLE_ULONGLONG(0);
476 return (_has_bits_[0] & 0x00000002u) != 0;
478 inline void VectorHeader::set_has_num_messages() {
479 _has_bits_[0] |= 0x00000002u;
481 inline void VectorHeader::clear_has_num_messages() {
482 _has_bits_[0] &= ~0x00000002u;
486 clear_has_num_messages();
489 return num_messages_;
492 set_has_num_messages();
493 num_messages_ = value;
502 return (_has_bits_[0] & 0x00000001u) != 0;
504 inline void MatrixHeader::set_has_num_cols() {
505 _has_bits_[0] |= 0x00000001u;
507 inline void MatrixHeader::clear_has_num_cols() {
508 _has_bits_[0] &= ~0x00000001u;
511 num_cols_ = GOOGLE_ULONGLONG(0);
512 clear_has_num_cols();
524 return (_has_bits_[0] & 0x00000002u) != 0;
526 inline void MatrixHeader::set_has_num_rows() {
527 _has_bits_[0] |= 0x00000002u;
529 inline void MatrixHeader::clear_has_num_rows() {
530 _has_bits_[0] &= ~0x00000002u;
533 num_rows_ = GOOGLE_ULONGLONG(0);
534 clear_has_num_rows();
546 return (_has_bits_[0] & 0x00000004u) != 0;
548 inline void MatrixHeader::set_has_num_messages() {
549 _has_bits_[0] |= 0x00000004u;
551 inline void MatrixHeader::clear_has_num_messages() {
552 _has_bits_[0] &= ~0x00000004u;
556 clear_has_num_messages();
559 return num_messages_;
562 set_has_num_messages();
563 num_messages_ = value;
572 return (_has_bits_[0] & 0x00000001u) != 0;
574 inline void SparseMatrixHeader::set_has_num_vectors() {
575 _has_bits_[0] |= 0x00000001u;
577 inline void SparseMatrixHeader::clear_has_num_vectors() {
578 _has_bits_[0] &= ~0x00000001u;
581 num_vectors_ = GOOGLE_ULONGLONG(0);
582 clear_has_num_vectors();
588 set_has_num_vectors();
589 num_vectors_ = value;
594 return (_has_bits_[0] & 0x00000002u) != 0;
596 inline void SparseMatrixHeader::set_has_num_features() {
597 _has_bits_[0] |= 0x00000002u;
599 inline void SparseMatrixHeader::clear_has_num_features() {
600 _has_bits_[0] &= ~0x00000002u;
603 num_features_ = GOOGLE_ULONGLONG(0);
604 clear_has_num_features();
607 return num_features_;
610 set_has_num_features();
611 num_features_ = value;
616 return num_feat_entries_.size();
619 num_feat_entries_.Clear();
622 return num_feat_entries_.Get(index);
625 num_feat_entries_.Set(index, value);
628 num_feat_entries_.Add(value);
630 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
632 return num_feat_entries_;
634 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
636 return &num_feat_entries_;
645 return (_has_bits_[0] & 0x00000001u) != 0;
647 inline void StringListHeader::set_has_num_str() {
648 _has_bits_[0] |= 0x00000001u;
650 inline void StringListHeader::clear_has_num_str() {
651 _has_bits_[0] &= ~0x00000001u;
654 num_str_ = GOOGLE_ULONGLONG(0);
667 return (_has_bits_[0] & 0x00000002u) != 0;
669 inline void StringListHeader::set_has_max_string_len() {
670 _has_bits_[0] |= 0x00000002u;
672 inline void StringListHeader::clear_has_max_string_len() {
673 _has_bits_[0] &= ~0x00000002u;
676 max_string_len_ = GOOGLE_ULONGLONG(0);
677 clear_has_max_string_len();
680 return max_string_len_;
683 set_has_max_string_len();
684 max_string_len_ = value;
689 return str_len_.size();
695 return str_len_.Get(index);
698 str_len_.Set(index, value);
703 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
707 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
728 #endif // PROTOBUF_Headers_2eproto__INCLUDED
void protobuf_ShutdownFile_Headers_2eproto()
void protobuf_AssignDesc_Headers_2eproto()
void protobuf_AddDesc_Headers_2eproto()
all of classes and functions are contained in the shogun namespace