4 #ifndef PROTOBUF_Headers_2eproto__INCLUDED
5 #define PROTOBUF_Headers_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
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
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.
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;
100 inline ::google::protobuf::uint64
len()
const;
101 inline void set_len(::google::protobuf::uint64 value);
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();
117 ::google::protobuf::UnknownFieldSet _unknown_fields_;
119 ::google::protobuf::uint32 _has_bits_[1];
120 mutable int _cached_size_;
121 ::google::protobuf::uint64 len_;
122 ::google::protobuf::uint32 num_messages_;
127 void InitAsDefaultInstance();
145 return _unknown_fields_;
149 return &_unknown_fields_;
152 static const ::google::protobuf::Descriptor*
descriptor();
160 void CopyFrom(const ::google::protobuf::Message& from);
161 void MergeFrom(const ::google::protobuf::Message& from);
169 ::google::protobuf::io::CodedInputStream* input);
171 ::google::protobuf::io::CodedOutputStream* output)
const;
177 void SetCachedSize(
int size)
const;
189 inline ::google::protobuf::uint64
num_cols()
const;
190 inline void set_num_cols(::google::protobuf::uint64 value);
196 inline ::google::protobuf::uint64
num_rows()
const;
197 inline void set_num_rows(::google::protobuf::uint64 value);
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();
215 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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_;
226 void InitAsDefaultInstance();
244 return _unknown_fields_;
248 return &_unknown_fields_;
251 static const ::google::protobuf::Descriptor*
descriptor();
259 void CopyFrom(const ::google::protobuf::Message& from);
260 void MergeFrom(const ::google::protobuf::Message& from);
268 ::google::protobuf::io::CodedInputStream* input);
270 ::google::protobuf::io::CodedOutputStream* output)
const;
276 void SetCachedSize(
int size)
const;
288 inline ::google::protobuf::uint64
num_vectors()
const;
305 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
307 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
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();
317 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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_;
328 void InitAsDefaultInstance();
346 return _unknown_fields_;
350 return &_unknown_fields_;
353 static const ::google::protobuf::Descriptor*
descriptor();
361 void CopyFrom(const ::google::protobuf::Message& from);
362 void MergeFrom(const ::google::protobuf::Message& from);
370 ::google::protobuf::io::CodedInputStream* input);
372 ::google::protobuf::io::CodedOutputStream* output)
const;
378 void SetCachedSize(
int size)
const;
390 inline ::google::protobuf::uint64
num_str()
const;
391 inline void set_num_str(::google::protobuf::uint64 value);
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 >&
409 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
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();
419 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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_;
430 void InitAsDefaultInstance();
442 return (_has_bits_[0] & 0x00000001u) != 0;
444 inline void VectorHeader::set_has_len() {
445 _has_bits_[0] |= 0x00000001u;
447 inline void VectorHeader::clear_has_len() {
448 _has_bits_[0] &= ~0x00000001u;
451 len_ = GOOGLE_ULONGLONG(0);
466 return (_has_bits_[0] & 0x00000002u) != 0;
468 inline void VectorHeader::set_has_num_messages() {
469 _has_bits_[0] |= 0x00000002u;
471 inline void VectorHeader::clear_has_num_messages() {
472 _has_bits_[0] &= ~0x00000002u;
476 clear_has_num_messages();
480 return num_messages_;
483 set_has_num_messages();
484 num_messages_ = value;
494 return (_has_bits_[0] & 0x00000001u) != 0;
496 inline void MatrixHeader::set_has_num_cols() {
497 _has_bits_[0] |= 0x00000001u;
499 inline void MatrixHeader::clear_has_num_cols() {
500 _has_bits_[0] &= ~0x00000001u;
503 num_cols_ = GOOGLE_ULONGLONG(0);
504 clear_has_num_cols();
518 return (_has_bits_[0] & 0x00000002u) != 0;
520 inline void MatrixHeader::set_has_num_rows() {
521 _has_bits_[0] |= 0x00000002u;
523 inline void MatrixHeader::clear_has_num_rows() {
524 _has_bits_[0] &= ~0x00000002u;
527 num_rows_ = GOOGLE_ULONGLONG(0);
528 clear_has_num_rows();
542 return (_has_bits_[0] & 0x00000004u) != 0;
544 inline void MatrixHeader::set_has_num_messages() {
545 _has_bits_[0] |= 0x00000004u;
547 inline void MatrixHeader::clear_has_num_messages() {
548 _has_bits_[0] &= ~0x00000004u;
552 clear_has_num_messages();
556 return num_messages_;
559 set_has_num_messages();
560 num_messages_ = value;
570 return (_has_bits_[0] & 0x00000001u) != 0;
572 inline void SparseMatrixHeader::set_has_num_vectors() {
573 _has_bits_[0] |= 0x00000001u;
575 inline void SparseMatrixHeader::clear_has_num_vectors() {
576 _has_bits_[0] &= ~0x00000001u;
579 num_vectors_ = GOOGLE_ULONGLONG(0);
580 clear_has_num_vectors();
587 set_has_num_vectors();
588 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();
608 return num_features_;
611 set_has_num_features();
612 num_features_ = value;
618 return num_feat_entries_.size();
621 num_feat_entries_.Clear();
625 return num_feat_entries_.Get(index);
628 num_feat_entries_.Set(index, value);
632 num_feat_entries_.Add(value);
635 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
638 return num_feat_entries_;
640 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
643 return &num_feat_entries_;
652 return (_has_bits_[0] & 0x00000001u) != 0;
654 inline void StringListHeader::set_has_num_str() {
655 _has_bits_[0] |= 0x00000001u;
657 inline void StringListHeader::clear_has_num_str() {
658 _has_bits_[0] &= ~0x00000001u;
661 num_str_ = GOOGLE_ULONGLONG(0);
676 return (_has_bits_[0] & 0x00000002u) != 0;
678 inline void StringListHeader::set_has_max_string_len() {
679 _has_bits_[0] |= 0x00000002u;
681 inline void StringListHeader::clear_has_max_string_len() {
682 _has_bits_[0] &= ~0x00000002u;
685 max_string_len_ = GOOGLE_ULONGLONG(0);
686 clear_has_max_string_len();
690 return max_string_len_;
693 set_has_max_string_len();
694 max_string_len_ = value;
700 return str_len_.size();
707 return str_len_.Get(index);
710 str_len_.Set(index, value);
717 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
722 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
744 #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