Drizzled Public API Documentation

resultset.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: resultset.proto
3 
4 #ifndef PROTOBUF_resultset_2eproto__INCLUDED
5 #define PROTOBUF_resultset_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2004000
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 2004001 < 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/repeated_field.h>
24 #include <google/protobuf/extension_set.h>
25 #include <google/protobuf/generated_message_reflection.h>
26 #include "table.pb.h"
27 #include "schema.pb.h"
28 // @@protoc_insertion_point(includes)
29 
30 namespace drizzled {
31 namespace message {
32 
33 // Internal implementation detail -- do not call these.
34 void protobuf_AddDesc_resultset_2eproto();
35 void protobuf_AssignDesc_resultset_2eproto();
36 void protobuf_ShutdownFile_resultset_2eproto();
37 
38 class FieldMeta;
39 class TableMeta;
40 class SelectRecord;
41 class SelectHeader;
42 class SelectData;
43 class Resultset;
44 
45 // ===================================================================
46 
47 class FieldMeta : public ::google::protobuf::Message {
48  public:
49  FieldMeta();
50  virtual ~FieldMeta();
51 
52  FieldMeta(const FieldMeta& from);
53 
54  inline FieldMeta& operator=(const FieldMeta& from) {
55  CopyFrom(from);
56  return *this;
57  }
58 
59  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
60  return _unknown_fields_;
61  }
62 
63  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
64  return &_unknown_fields_;
65  }
66 
67  static const ::google::protobuf::Descriptor* descriptor();
68  static const FieldMeta& default_instance();
69 
70  void Swap(FieldMeta* other);
71 
72  // implements Message ----------------------------------------------
73 
74  FieldMeta* New() const;
75  void CopyFrom(const ::google::protobuf::Message& from);
76  void MergeFrom(const ::google::protobuf::Message& from);
77  void CopyFrom(const FieldMeta& from);
78  void MergeFrom(const FieldMeta& from);
79  void Clear();
80  bool IsInitialized() const;
81 
82  int ByteSize() const;
83  bool MergePartialFromCodedStream(
84  ::google::protobuf::io::CodedInputStream* input);
85  void SerializeWithCachedSizes(
86  ::google::protobuf::io::CodedOutputStream* output) const;
87  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
88  int GetCachedSize() const { return _cached_size_; }
89  private:
90  void SharedCtor();
91  void SharedDtor();
92  void SetCachedSize(int size) const;
93  public:
94 
95  ::google::protobuf::Metadata GetMetadata() const;
96 
97  // nested types ----------------------------------------------------
98 
99  // accessors -------------------------------------------------------
100 
101  // required string field_name = 1;
102  inline bool has_field_name() const;
103  inline void clear_field_name();
104  static const int kFieldNameFieldNumber = 1;
105  inline const ::std::string& field_name() const;
106  inline void set_field_name(const ::std::string& value);
107  inline void set_field_name(const char* value);
108  inline void set_field_name(const char* value, size_t size);
109  inline ::std::string* mutable_field_name();
110  inline ::std::string* release_field_name();
111 
112  // optional string field_alias = 2;
113  inline bool has_field_alias() const;
114  inline void clear_field_alias();
115  static const int kFieldAliasFieldNumber = 2;
116  inline const ::std::string& field_alias() const;
117  inline void set_field_alias(const ::std::string& value);
118  inline void set_field_alias(const char* value);
119  inline void set_field_alias(const char* value, size_t size);
120  inline ::std::string* mutable_field_alias();
121  inline ::std::string* release_field_alias();
122 
123  // required string table_name = 3;
124  inline bool has_table_name() const;
125  inline void clear_table_name();
126  static const int kTableNameFieldNumber = 3;
127  inline const ::std::string& table_name() const;
128  inline void set_table_name(const ::std::string& value);
129  inline void set_table_name(const char* value);
130  inline void set_table_name(const char* value, size_t size);
131  inline ::std::string* mutable_table_name();
132  inline ::std::string* release_table_name();
133 
134  // optional string table_alias = 4;
135  inline bool has_table_alias() const;
136  inline void clear_table_alias();
137  static const int kTableAliasFieldNumber = 4;
138  inline const ::std::string& table_alias() const;
139  inline void set_table_alias(const ::std::string& value);
140  inline void set_table_alias(const char* value);
141  inline void set_table_alias(const char* value, size_t size);
142  inline ::std::string* mutable_table_alias();
143  inline ::std::string* release_table_alias();
144 
145  // required string schema_name = 5;
146  inline bool has_schema_name() const;
147  inline void clear_schema_name();
148  static const int kSchemaNameFieldNumber = 5;
149  inline const ::std::string& schema_name() const;
150  inline void set_schema_name(const ::std::string& value);
151  inline void set_schema_name(const char* value);
152  inline void set_schema_name(const char* value, size_t size);
153  inline ::std::string* mutable_schema_name();
154  inline ::std::string* release_schema_name();
155 
156  // @@protoc_insertion_point(class_scope:drizzled.message.FieldMeta)
157  private:
158  inline void set_has_field_name();
159  inline void clear_has_field_name();
160  inline void set_has_field_alias();
161  inline void clear_has_field_alias();
162  inline void set_has_table_name();
163  inline void clear_has_table_name();
164  inline void set_has_table_alias();
165  inline void clear_has_table_alias();
166  inline void set_has_schema_name();
167  inline void clear_has_schema_name();
168 
169  ::google::protobuf::UnknownFieldSet _unknown_fields_;
170 
171  ::std::string* field_name_;
172  ::std::string* field_alias_;
173  ::std::string* table_name_;
174  ::std::string* table_alias_;
175  ::std::string* schema_name_;
176 
177  mutable int _cached_size_;
178  ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
179 
180  friend void protobuf_AddDesc_resultset_2eproto();
181  friend void protobuf_AssignDesc_resultset_2eproto();
182  friend void protobuf_ShutdownFile_resultset_2eproto();
183 
184  void InitAsDefaultInstance();
185  static FieldMeta* default_instance_;
186 };
187 // -------------------------------------------------------------------
188 
189 class TableMeta : public ::google::protobuf::Message {
190  public:
191  TableMeta();
192  virtual ~TableMeta();
193 
194  TableMeta(const TableMeta& from);
195 
196  inline TableMeta& operator=(const TableMeta& from) {
197  CopyFrom(from);
198  return *this;
199  }
200 
201  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
202  return _unknown_fields_;
203  }
204 
205  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
206  return &_unknown_fields_;
207  }
208 
209  static const ::google::protobuf::Descriptor* descriptor();
210  static const TableMeta& default_instance();
211 
212  void Swap(TableMeta* other);
213 
214  // implements Message ----------------------------------------------
215 
216  TableMeta* New() const;
217  void CopyFrom(const ::google::protobuf::Message& from);
218  void MergeFrom(const ::google::protobuf::Message& from);
219  void CopyFrom(const TableMeta& from);
220  void MergeFrom(const TableMeta& from);
221  void Clear();
222  bool IsInitialized() const;
223 
224  int ByteSize() const;
225  bool MergePartialFromCodedStream(
226  ::google::protobuf::io::CodedInputStream* input);
227  void SerializeWithCachedSizes(
228  ::google::protobuf::io::CodedOutputStream* output) const;
229  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
230  int GetCachedSize() const { return _cached_size_; }
231  private:
232  void SharedCtor();
233  void SharedDtor();
234  void SetCachedSize(int size) const;
235  public:
236 
237  ::google::protobuf::Metadata GetMetadata() const;
238 
239  // nested types ----------------------------------------------------
240 
241  // accessors -------------------------------------------------------
242 
243  // required string schema_name = 1;
244  inline bool has_schema_name() const;
245  inline void clear_schema_name();
246  static const int kSchemaNameFieldNumber = 1;
247  inline const ::std::string& schema_name() const;
248  inline void set_schema_name(const ::std::string& value);
249  inline void set_schema_name(const char* value);
250  inline void set_schema_name(const char* value, size_t size);
251  inline ::std::string* mutable_schema_name();
252  inline ::std::string* release_schema_name();
253 
254  // required string table_name = 2;
255  inline bool has_table_name() const;
256  inline void clear_table_name();
257  static const int kTableNameFieldNumber = 2;
258  inline const ::std::string& table_name() const;
259  inline void set_table_name(const ::std::string& value);
260  inline void set_table_name(const char* value);
261  inline void set_table_name(const char* value, size_t size);
262  inline ::std::string* mutable_table_name();
263  inline ::std::string* release_table_name();
264 
265  // optional string table_alias = 3;
266  inline bool has_table_alias() const;
267  inline void clear_table_alias();
268  static const int kTableAliasFieldNumber = 3;
269  inline const ::std::string& table_alias() const;
270  inline void set_table_alias(const ::std::string& value);
271  inline void set_table_alias(const char* value);
272  inline void set_table_alias(const char* value, size_t size);
273  inline ::std::string* mutable_table_alias();
274  inline ::std::string* release_table_alias();
275 
276  // @@protoc_insertion_point(class_scope:drizzled.message.TableMeta)
277  private:
278  inline void set_has_schema_name();
279  inline void clear_has_schema_name();
280  inline void set_has_table_name();
281  inline void clear_has_table_name();
282  inline void set_has_table_alias();
283  inline void clear_has_table_alias();
284 
285  ::google::protobuf::UnknownFieldSet _unknown_fields_;
286 
287  ::std::string* schema_name_;
288  ::std::string* table_name_;
289  ::std::string* table_alias_;
290 
291  mutable int _cached_size_;
292  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
293 
294  friend void protobuf_AddDesc_resultset_2eproto();
295  friend void protobuf_AssignDesc_resultset_2eproto();
296  friend void protobuf_ShutdownFile_resultset_2eproto();
297 
298  void InitAsDefaultInstance();
299  static TableMeta* default_instance_;
300 };
301 // -------------------------------------------------------------------
302 
303 class SelectRecord : public ::google::protobuf::Message {
304  public:
305  SelectRecord();
306  virtual ~SelectRecord();
307 
308  SelectRecord(const SelectRecord& from);
309 
310  inline SelectRecord& operator=(const SelectRecord& from) {
311  CopyFrom(from);
312  return *this;
313  }
314 
315  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
316  return _unknown_fields_;
317  }
318 
319  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
320  return &_unknown_fields_;
321  }
322 
323  static const ::google::protobuf::Descriptor* descriptor();
324  static const SelectRecord& default_instance();
325 
326  void Swap(SelectRecord* other);
327 
328  // implements Message ----------------------------------------------
329 
330  SelectRecord* New() const;
331  void CopyFrom(const ::google::protobuf::Message& from);
332  void MergeFrom(const ::google::protobuf::Message& from);
333  void CopyFrom(const SelectRecord& from);
334  void MergeFrom(const SelectRecord& from);
335  void Clear();
336  bool IsInitialized() const;
337 
338  int ByteSize() const;
339  bool MergePartialFromCodedStream(
340  ::google::protobuf::io::CodedInputStream* input);
341  void SerializeWithCachedSizes(
342  ::google::protobuf::io::CodedOutputStream* output) const;
343  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
344  int GetCachedSize() const { return _cached_size_; }
345  private:
346  void SharedCtor();
347  void SharedDtor();
348  void SetCachedSize(int size) const;
349  public:
350 
351  ::google::protobuf::Metadata GetMetadata() const;
352 
353  // nested types ----------------------------------------------------
354 
355  // accessors -------------------------------------------------------
356 
357  // repeated bytes record_value = 1;
358  inline int record_value_size() const;
359  inline void clear_record_value();
360  static const int kRecordValueFieldNumber = 1;
361  inline const ::std::string& record_value(int index) const;
362  inline ::std::string* mutable_record_value(int index);
363  inline void set_record_value(int index, const ::std::string& value);
364  inline void set_record_value(int index, const char* value);
365  inline void set_record_value(int index, const void* value, size_t size);
366  inline ::std::string* add_record_value();
367  inline void add_record_value(const ::std::string& value);
368  inline void add_record_value(const char* value);
369  inline void add_record_value(const void* value, size_t size);
370  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& record_value() const;
371  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_record_value();
372 
373  // repeated bool is_null = 2;
374  inline int is_null_size() const;
375  inline void clear_is_null();
376  static const int kIsNullFieldNumber = 2;
377  inline bool is_null(int index) const;
378  inline void set_is_null(int index, bool value);
379  inline void add_is_null(bool value);
380  inline const ::google::protobuf::RepeatedField< bool >&
381  is_null() const;
382  inline ::google::protobuf::RepeatedField< bool >*
383  mutable_is_null();
384 
385  // @@protoc_insertion_point(class_scope:drizzled.message.SelectRecord)
386  private:
387 
388  ::google::protobuf::UnknownFieldSet _unknown_fields_;
389 
390  ::google::protobuf::RepeatedPtrField< ::std::string> record_value_;
391  ::google::protobuf::RepeatedField< bool > is_null_;
392 
393  mutable int _cached_size_;
394  ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
395 
396  friend void protobuf_AddDesc_resultset_2eproto();
397  friend void protobuf_AssignDesc_resultset_2eproto();
398  friend void protobuf_ShutdownFile_resultset_2eproto();
399 
400  void InitAsDefaultInstance();
401  static SelectRecord* default_instance_;
402 };
403 // -------------------------------------------------------------------
404 
405 class SelectHeader : public ::google::protobuf::Message {
406  public:
407  SelectHeader();
408  virtual ~SelectHeader();
409 
410  SelectHeader(const SelectHeader& from);
411 
412  inline SelectHeader& operator=(const SelectHeader& from) {
413  CopyFrom(from);
414  return *this;
415  }
416 
417  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
418  return _unknown_fields_;
419  }
420 
421  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
422  return &_unknown_fields_;
423  }
424 
425  static const ::google::protobuf::Descriptor* descriptor();
426  static const SelectHeader& default_instance();
427 
428  void Swap(SelectHeader* other);
429 
430  // implements Message ----------------------------------------------
431 
432  SelectHeader* New() const;
433  void CopyFrom(const ::google::protobuf::Message& from);
434  void MergeFrom(const ::google::protobuf::Message& from);
435  void CopyFrom(const SelectHeader& from);
436  void MergeFrom(const SelectHeader& from);
437  void Clear();
438  bool IsInitialized() const;
439 
440  int ByteSize() const;
441  bool MergePartialFromCodedStream(
442  ::google::protobuf::io::CodedInputStream* input);
443  void SerializeWithCachedSizes(
444  ::google::protobuf::io::CodedOutputStream* output) const;
445  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
446  int GetCachedSize() const { return _cached_size_; }
447  private:
448  void SharedCtor();
449  void SharedDtor();
450  void SetCachedSize(int size) const;
451  public:
452 
453  ::google::protobuf::Metadata GetMetadata() const;
454 
455  // nested types ----------------------------------------------------
456 
457  // accessors -------------------------------------------------------
458 
459  // repeated .drizzled.message.TableMeta table_meta = 1;
460  inline int table_meta_size() const;
461  inline void clear_table_meta();
462  static const int kTableMetaFieldNumber = 1;
463  inline const ::drizzled::message::TableMeta& table_meta(int index) const;
464  inline ::drizzled::message::TableMeta* mutable_table_meta(int index);
465  inline ::drizzled::message::TableMeta* add_table_meta();
466  inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >&
467  table_meta() const;
468  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >*
469  mutable_table_meta();
470 
471  // repeated .drizzled.message.FieldMeta field_meta = 2;
472  inline int field_meta_size() const;
473  inline void clear_field_meta();
474  static const int kFieldMetaFieldNumber = 2;
475  inline const ::drizzled::message::FieldMeta& field_meta(int index) const;
476  inline ::drizzled::message::FieldMeta* mutable_field_meta(int index);
477  inline ::drizzled::message::FieldMeta* add_field_meta();
478  inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >&
479  field_meta() const;
480  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >*
481  mutable_field_meta();
482 
483  // @@protoc_insertion_point(class_scope:drizzled.message.SelectHeader)
484  private:
485 
486  ::google::protobuf::UnknownFieldSet _unknown_fields_;
487 
488  ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta > table_meta_;
489  ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta > field_meta_;
490 
491  mutable int _cached_size_;
492  ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
493 
494  friend void protobuf_AddDesc_resultset_2eproto();
495  friend void protobuf_AssignDesc_resultset_2eproto();
496  friend void protobuf_ShutdownFile_resultset_2eproto();
497 
498  void InitAsDefaultInstance();
499  static SelectHeader* default_instance_;
500 };
501 // -------------------------------------------------------------------
502 
503 class SelectData : public ::google::protobuf::Message {
504  public:
505  SelectData();
506  virtual ~SelectData();
507 
508  SelectData(const SelectData& from);
509 
510  inline SelectData& operator=(const SelectData& from) {
511  CopyFrom(from);
512  return *this;
513  }
514 
515  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
516  return _unknown_fields_;
517  }
518 
519  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
520  return &_unknown_fields_;
521  }
522 
523  static const ::google::protobuf::Descriptor* descriptor();
524  static const SelectData& default_instance();
525 
526  void Swap(SelectData* other);
527 
528  // implements Message ----------------------------------------------
529 
530  SelectData* New() const;
531  void CopyFrom(const ::google::protobuf::Message& from);
532  void MergeFrom(const ::google::protobuf::Message& from);
533  void CopyFrom(const SelectData& from);
534  void MergeFrom(const SelectData& from);
535  void Clear();
536  bool IsInitialized() const;
537 
538  int ByteSize() const;
539  bool MergePartialFromCodedStream(
540  ::google::protobuf::io::CodedInputStream* input);
541  void SerializeWithCachedSizes(
542  ::google::protobuf::io::CodedOutputStream* output) const;
543  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
544  int GetCachedSize() const { return _cached_size_; }
545  private:
546  void SharedCtor();
547  void SharedDtor();
548  void SetCachedSize(int size) const;
549  public:
550 
551  ::google::protobuf::Metadata GetMetadata() const;
552 
553  // nested types ----------------------------------------------------
554 
555  // accessors -------------------------------------------------------
556 
557  // required uint32 segment_id = 1;
558  inline bool has_segment_id() const;
559  inline void clear_segment_id();
560  static const int kSegmentIdFieldNumber = 1;
561  inline ::google::protobuf::uint32 segment_id() const;
562  inline void set_segment_id(::google::protobuf::uint32 value);
563 
564  // required bool end_segment = 2;
565  inline bool has_end_segment() const;
566  inline void clear_end_segment();
567  static const int kEndSegmentFieldNumber = 2;
568  inline bool end_segment() const;
569  inline void set_end_segment(bool value);
570 
571  // repeated .drizzled.message.SelectRecord record = 3;
572  inline int record_size() const;
573  inline void clear_record();
574  static const int kRecordFieldNumber = 3;
575  inline const ::drizzled::message::SelectRecord& record(int index) const;
576  inline ::drizzled::message::SelectRecord* mutable_record(int index);
577  inline ::drizzled::message::SelectRecord* add_record();
578  inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >&
579  record() const;
580  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >*
581  mutable_record();
582 
583  // @@protoc_insertion_point(class_scope:drizzled.message.SelectData)
584  private:
585  inline void set_has_segment_id();
586  inline void clear_has_segment_id();
587  inline void set_has_end_segment();
588  inline void clear_has_end_segment();
589 
590  ::google::protobuf::UnknownFieldSet _unknown_fields_;
591 
592  ::google::protobuf::uint32 segment_id_;
593  bool end_segment_;
594  ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord > record_;
595 
596  mutable int _cached_size_;
597  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
598 
599  friend void protobuf_AddDesc_resultset_2eproto();
600  friend void protobuf_AssignDesc_resultset_2eproto();
601  friend void protobuf_ShutdownFile_resultset_2eproto();
602 
603  void InitAsDefaultInstance();
604  static SelectData* default_instance_;
605 };
606 // -------------------------------------------------------------------
607 
608 class Resultset : public ::google::protobuf::Message {
609  public:
610  Resultset();
611  virtual ~Resultset();
612 
613  Resultset(const Resultset& from);
614 
615  inline Resultset& operator=(const Resultset& from) {
616  CopyFrom(from);
617  return *this;
618  }
619 
620  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
621  return _unknown_fields_;
622  }
623 
624  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
625  return &_unknown_fields_;
626  }
627 
628  static const ::google::protobuf::Descriptor* descriptor();
629  static const Resultset& default_instance();
630 
631  void Swap(Resultset* other);
632 
633  // implements Message ----------------------------------------------
634 
635  Resultset* New() const;
636  void CopyFrom(const ::google::protobuf::Message& from);
637  void MergeFrom(const ::google::protobuf::Message& from);
638  void CopyFrom(const Resultset& from);
639  void MergeFrom(const Resultset& from);
640  void Clear();
641  bool IsInitialized() const;
642 
643  int ByteSize() const;
644  bool MergePartialFromCodedStream(
645  ::google::protobuf::io::CodedInputStream* input);
646  void SerializeWithCachedSizes(
647  ::google::protobuf::io::CodedOutputStream* output) const;
648  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
649  int GetCachedSize() const { return _cached_size_; }
650  private:
651  void SharedCtor();
652  void SharedDtor();
653  void SetCachedSize(int size) const;
654  public:
655 
656  ::google::protobuf::Metadata GetMetadata() const;
657 
658  // nested types ----------------------------------------------------
659 
660  // accessors -------------------------------------------------------
661 
662  // required string key = 1;
663  inline bool has_key() const;
664  inline void clear_key();
665  static const int kKeyFieldNumber = 1;
666  inline const ::std::string& key() const;
667  inline void set_key(const ::std::string& value);
668  inline void set_key(const char* value);
669  inline void set_key(const char* value, size_t size);
670  inline ::std::string* mutable_key();
671  inline ::std::string* release_key();
672 
673  // required string schema = 2;
674  inline bool has_schema() const;
675  inline void clear_schema();
676  static const int kSchemaFieldNumber = 2;
677  inline const ::std::string& schema() const;
678  inline void set_schema(const ::std::string& value);
679  inline void set_schema(const char* value);
680  inline void set_schema(const char* value, size_t size);
681  inline ::std::string* mutable_schema();
682  inline ::std::string* release_schema();
683 
684  // optional string sql = 3;
685  inline bool has_sql() const;
686  inline void clear_sql();
687  static const int kSqlFieldNumber = 3;
688  inline const ::std::string& sql() const;
689  inline void set_sql(const ::std::string& value);
690  inline void set_sql(const char* value);
691  inline void set_sql(const char* value, size_t size);
692  inline ::std::string* mutable_sql();
693  inline ::std::string* release_sql();
694 
695  // optional .drizzled.message.SelectHeader select_header = 4;
696  inline bool has_select_header() const;
697  inline void clear_select_header();
698  static const int kSelectHeaderFieldNumber = 4;
699  inline const ::drizzled::message::SelectHeader& select_header() const;
700  inline ::drizzled::message::SelectHeader* mutable_select_header();
701  inline ::drizzled::message::SelectHeader* release_select_header();
702 
703  // optional .drizzled.message.SelectData select_data = 5;
704  inline bool has_select_data() const;
705  inline void clear_select_data();
706  static const int kSelectDataFieldNumber = 5;
707  inline const ::drizzled::message::SelectData& select_data() const;
708  inline ::drizzled::message::SelectData* mutable_select_data();
709  inline ::drizzled::message::SelectData* release_select_data();
710 
711  // @@protoc_insertion_point(class_scope:drizzled.message.Resultset)
712  private:
713  inline void set_has_key();
714  inline void clear_has_key();
715  inline void set_has_schema();
716  inline void clear_has_schema();
717  inline void set_has_sql();
718  inline void clear_has_sql();
719  inline void set_has_select_header();
720  inline void clear_has_select_header();
721  inline void set_has_select_data();
722  inline void clear_has_select_data();
723 
724  ::google::protobuf::UnknownFieldSet _unknown_fields_;
725 
726  ::std::string* key_;
727  ::std::string* schema_;
728  ::std::string* sql_;
729  ::drizzled::message::SelectHeader* select_header_;
730  ::drizzled::message::SelectData* select_data_;
731 
732  mutable int _cached_size_;
733  ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
734 
735  friend void protobuf_AddDesc_resultset_2eproto();
736  friend void protobuf_AssignDesc_resultset_2eproto();
737  friend void protobuf_ShutdownFile_resultset_2eproto();
738 
739  void InitAsDefaultInstance();
740  static Resultset* default_instance_;
741 };
742 // ===================================================================
743 
744 
745 // ===================================================================
746 
747 // FieldMeta
748 
749 // required string field_name = 1;
750 inline bool FieldMeta::has_field_name() const {
751  return (_has_bits_[0] & 0x00000001u) != 0;
752 }
753 inline void FieldMeta::set_has_field_name() {
754  _has_bits_[0] |= 0x00000001u;
755 }
756 inline void FieldMeta::clear_has_field_name() {
757  _has_bits_[0] &= ~0x00000001u;
758 }
759 inline void FieldMeta::clear_field_name() {
760  if (field_name_ != &::google::protobuf::internal::kEmptyString) {
761  field_name_->clear();
762  }
763  clear_has_field_name();
764 }
765 inline const ::std::string& FieldMeta::field_name() const {
766  return *field_name_;
767 }
768 inline void FieldMeta::set_field_name(const ::std::string& value) {
769  set_has_field_name();
770  if (field_name_ == &::google::protobuf::internal::kEmptyString) {
771  field_name_ = new ::std::string;
772  }
773  field_name_->assign(value);
774 }
775 inline void FieldMeta::set_field_name(const char* value) {
776  set_has_field_name();
777  if (field_name_ == &::google::protobuf::internal::kEmptyString) {
778  field_name_ = new ::std::string;
779  }
780  field_name_->assign(value);
781 }
782 inline void FieldMeta::set_field_name(const char* value, size_t size) {
783  set_has_field_name();
784  if (field_name_ == &::google::protobuf::internal::kEmptyString) {
785  field_name_ = new ::std::string;
786  }
787  field_name_->assign(reinterpret_cast<const char*>(value), size);
788 }
789 inline ::std::string* FieldMeta::mutable_field_name() {
790  set_has_field_name();
791  if (field_name_ == &::google::protobuf::internal::kEmptyString) {
792  field_name_ = new ::std::string;
793  }
794  return field_name_;
795 }
796 inline ::std::string* FieldMeta::release_field_name() {
797  clear_has_field_name();
798  if (field_name_ == &::google::protobuf::internal::kEmptyString) {
799  return NULL;
800  } else {
801  ::std::string* temp = field_name_;
802  field_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
803  return temp;
804  }
805 }
806 
807 // optional string field_alias = 2;
808 inline bool FieldMeta::has_field_alias() const {
809  return (_has_bits_[0] & 0x00000002u) != 0;
810 }
811 inline void FieldMeta::set_has_field_alias() {
812  _has_bits_[0] |= 0x00000002u;
813 }
814 inline void FieldMeta::clear_has_field_alias() {
815  _has_bits_[0] &= ~0x00000002u;
816 }
817 inline void FieldMeta::clear_field_alias() {
818  if (field_alias_ != &::google::protobuf::internal::kEmptyString) {
819  field_alias_->clear();
820  }
821  clear_has_field_alias();
822 }
823 inline const ::std::string& FieldMeta::field_alias() const {
824  return *field_alias_;
825 }
826 inline void FieldMeta::set_field_alias(const ::std::string& value) {
827  set_has_field_alias();
828  if (field_alias_ == &::google::protobuf::internal::kEmptyString) {
829  field_alias_ = new ::std::string;
830  }
831  field_alias_->assign(value);
832 }
833 inline void FieldMeta::set_field_alias(const char* value) {
834  set_has_field_alias();
835  if (field_alias_ == &::google::protobuf::internal::kEmptyString) {
836  field_alias_ = new ::std::string;
837  }
838  field_alias_->assign(value);
839 }
840 inline void FieldMeta::set_field_alias(const char* value, size_t size) {
841  set_has_field_alias();
842  if (field_alias_ == &::google::protobuf::internal::kEmptyString) {
843  field_alias_ = new ::std::string;
844  }
845  field_alias_->assign(reinterpret_cast<const char*>(value), size);
846 }
847 inline ::std::string* FieldMeta::mutable_field_alias() {
848  set_has_field_alias();
849  if (field_alias_ == &::google::protobuf::internal::kEmptyString) {
850  field_alias_ = new ::std::string;
851  }
852  return field_alias_;
853 }
854 inline ::std::string* FieldMeta::release_field_alias() {
855  clear_has_field_alias();
856  if (field_alias_ == &::google::protobuf::internal::kEmptyString) {
857  return NULL;
858  } else {
859  ::std::string* temp = field_alias_;
860  field_alias_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
861  return temp;
862  }
863 }
864 
865 // required string table_name = 3;
866 inline bool FieldMeta::has_table_name() const {
867  return (_has_bits_[0] & 0x00000004u) != 0;
868 }
869 inline void FieldMeta::set_has_table_name() {
870  _has_bits_[0] |= 0x00000004u;
871 }
872 inline void FieldMeta::clear_has_table_name() {
873  _has_bits_[0] &= ~0x00000004u;
874 }
875 inline void FieldMeta::clear_table_name() {
876  if (table_name_ != &::google::protobuf::internal::kEmptyString) {
877  table_name_->clear();
878  }
879  clear_has_table_name();
880 }
881 inline const ::std::string& FieldMeta::table_name() const {
882  return *table_name_;
883 }
884 inline void FieldMeta::set_table_name(const ::std::string& value) {
885  set_has_table_name();
886  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
887  table_name_ = new ::std::string;
888  }
889  table_name_->assign(value);
890 }
891 inline void FieldMeta::set_table_name(const char* value) {
892  set_has_table_name();
893  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
894  table_name_ = new ::std::string;
895  }
896  table_name_->assign(value);
897 }
898 inline void FieldMeta::set_table_name(const char* value, size_t size) {
899  set_has_table_name();
900  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
901  table_name_ = new ::std::string;
902  }
903  table_name_->assign(reinterpret_cast<const char*>(value), size);
904 }
905 inline ::std::string* FieldMeta::mutable_table_name() {
906  set_has_table_name();
907  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
908  table_name_ = new ::std::string;
909  }
910  return table_name_;
911 }
912 inline ::std::string* FieldMeta::release_table_name() {
913  clear_has_table_name();
914  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
915  return NULL;
916  } else {
917  ::std::string* temp = table_name_;
918  table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
919  return temp;
920  }
921 }
922 
923 // optional string table_alias = 4;
924 inline bool FieldMeta::has_table_alias() const {
925  return (_has_bits_[0] & 0x00000008u) != 0;
926 }
927 inline void FieldMeta::set_has_table_alias() {
928  _has_bits_[0] |= 0x00000008u;
929 }
930 inline void FieldMeta::clear_has_table_alias() {
931  _has_bits_[0] &= ~0x00000008u;
932 }
933 inline void FieldMeta::clear_table_alias() {
934  if (table_alias_ != &::google::protobuf::internal::kEmptyString) {
935  table_alias_->clear();
936  }
937  clear_has_table_alias();
938 }
939 inline const ::std::string& FieldMeta::table_alias() const {
940  return *table_alias_;
941 }
942 inline void FieldMeta::set_table_alias(const ::std::string& value) {
943  set_has_table_alias();
944  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
945  table_alias_ = new ::std::string;
946  }
947  table_alias_->assign(value);
948 }
949 inline void FieldMeta::set_table_alias(const char* value) {
950  set_has_table_alias();
951  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
952  table_alias_ = new ::std::string;
953  }
954  table_alias_->assign(value);
955 }
956 inline void FieldMeta::set_table_alias(const char* value, size_t size) {
957  set_has_table_alias();
958  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
959  table_alias_ = new ::std::string;
960  }
961  table_alias_->assign(reinterpret_cast<const char*>(value), size);
962 }
963 inline ::std::string* FieldMeta::mutable_table_alias() {
964  set_has_table_alias();
965  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
966  table_alias_ = new ::std::string;
967  }
968  return table_alias_;
969 }
970 inline ::std::string* FieldMeta::release_table_alias() {
971  clear_has_table_alias();
972  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
973  return NULL;
974  } else {
975  ::std::string* temp = table_alias_;
976  table_alias_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
977  return temp;
978  }
979 }
980 
981 // required string schema_name = 5;
982 inline bool FieldMeta::has_schema_name() const {
983  return (_has_bits_[0] & 0x00000010u) != 0;
984 }
985 inline void FieldMeta::set_has_schema_name() {
986  _has_bits_[0] |= 0x00000010u;
987 }
988 inline void FieldMeta::clear_has_schema_name() {
989  _has_bits_[0] &= ~0x00000010u;
990 }
991 inline void FieldMeta::clear_schema_name() {
992  if (schema_name_ != &::google::protobuf::internal::kEmptyString) {
993  schema_name_->clear();
994  }
995  clear_has_schema_name();
996 }
997 inline const ::std::string& FieldMeta::schema_name() const {
998  return *schema_name_;
999 }
1000 inline void FieldMeta::set_schema_name(const ::std::string& value) {
1001  set_has_schema_name();
1002  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1003  schema_name_ = new ::std::string;
1004  }
1005  schema_name_->assign(value);
1006 }
1007 inline void FieldMeta::set_schema_name(const char* value) {
1008  set_has_schema_name();
1009  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1010  schema_name_ = new ::std::string;
1011  }
1012  schema_name_->assign(value);
1013 }
1014 inline void FieldMeta::set_schema_name(const char* value, size_t size) {
1015  set_has_schema_name();
1016  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1017  schema_name_ = new ::std::string;
1018  }
1019  schema_name_->assign(reinterpret_cast<const char*>(value), size);
1020 }
1021 inline ::std::string* FieldMeta::mutable_schema_name() {
1022  set_has_schema_name();
1023  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1024  schema_name_ = new ::std::string;
1025  }
1026  return schema_name_;
1027 }
1028 inline ::std::string* FieldMeta::release_schema_name() {
1029  clear_has_schema_name();
1030  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1031  return NULL;
1032  } else {
1033  ::std::string* temp = schema_name_;
1034  schema_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
1035  return temp;
1036  }
1037 }
1038 
1039 // -------------------------------------------------------------------
1040 
1041 // TableMeta
1042 
1043 // required string schema_name = 1;
1044 inline bool TableMeta::has_schema_name() const {
1045  return (_has_bits_[0] & 0x00000001u) != 0;
1046 }
1047 inline void TableMeta::set_has_schema_name() {
1048  _has_bits_[0] |= 0x00000001u;
1049 }
1050 inline void TableMeta::clear_has_schema_name() {
1051  _has_bits_[0] &= ~0x00000001u;
1052 }
1053 inline void TableMeta::clear_schema_name() {
1054  if (schema_name_ != &::google::protobuf::internal::kEmptyString) {
1055  schema_name_->clear();
1056  }
1057  clear_has_schema_name();
1058 }
1059 inline const ::std::string& TableMeta::schema_name() const {
1060  return *schema_name_;
1061 }
1062 inline void TableMeta::set_schema_name(const ::std::string& value) {
1063  set_has_schema_name();
1064  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1065  schema_name_ = new ::std::string;
1066  }
1067  schema_name_->assign(value);
1068 }
1069 inline void TableMeta::set_schema_name(const char* value) {
1070  set_has_schema_name();
1071  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1072  schema_name_ = new ::std::string;
1073  }
1074  schema_name_->assign(value);
1075 }
1076 inline void TableMeta::set_schema_name(const char* value, size_t size) {
1077  set_has_schema_name();
1078  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1079  schema_name_ = new ::std::string;
1080  }
1081  schema_name_->assign(reinterpret_cast<const char*>(value), size);
1082 }
1083 inline ::std::string* TableMeta::mutable_schema_name() {
1084  set_has_schema_name();
1085  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1086  schema_name_ = new ::std::string;
1087  }
1088  return schema_name_;
1089 }
1090 inline ::std::string* TableMeta::release_schema_name() {
1091  clear_has_schema_name();
1092  if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1093  return NULL;
1094  } else {
1095  ::std::string* temp = schema_name_;
1096  schema_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
1097  return temp;
1098  }
1099 }
1100 
1101 // required string table_name = 2;
1102 inline bool TableMeta::has_table_name() const {
1103  return (_has_bits_[0] & 0x00000002u) != 0;
1104 }
1105 inline void TableMeta::set_has_table_name() {
1106  _has_bits_[0] |= 0x00000002u;
1107 }
1108 inline void TableMeta::clear_has_table_name() {
1109  _has_bits_[0] &= ~0x00000002u;
1110 }
1111 inline void TableMeta::clear_table_name() {
1112  if (table_name_ != &::google::protobuf::internal::kEmptyString) {
1113  table_name_->clear();
1114  }
1115  clear_has_table_name();
1116 }
1117 inline const ::std::string& TableMeta::table_name() const {
1118  return *table_name_;
1119 }
1120 inline void TableMeta::set_table_name(const ::std::string& value) {
1121  set_has_table_name();
1122  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
1123  table_name_ = new ::std::string;
1124  }
1125  table_name_->assign(value);
1126 }
1127 inline void TableMeta::set_table_name(const char* value) {
1128  set_has_table_name();
1129  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
1130  table_name_ = new ::std::string;
1131  }
1132  table_name_->assign(value);
1133 }
1134 inline void TableMeta::set_table_name(const char* value, size_t size) {
1135  set_has_table_name();
1136  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
1137  table_name_ = new ::std::string;
1138  }
1139  table_name_->assign(reinterpret_cast<const char*>(value), size);
1140 }
1141 inline ::std::string* TableMeta::mutable_table_name() {
1142  set_has_table_name();
1143  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
1144  table_name_ = new ::std::string;
1145  }
1146  return table_name_;
1147 }
1148 inline ::std::string* TableMeta::release_table_name() {
1149  clear_has_table_name();
1150  if (table_name_ == &::google::protobuf::internal::kEmptyString) {
1151  return NULL;
1152  } else {
1153  ::std::string* temp = table_name_;
1154  table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
1155  return temp;
1156  }
1157 }
1158 
1159 // optional string table_alias = 3;
1160 inline bool TableMeta::has_table_alias() const {
1161  return (_has_bits_[0] & 0x00000004u) != 0;
1162 }
1163 inline void TableMeta::set_has_table_alias() {
1164  _has_bits_[0] |= 0x00000004u;
1165 }
1166 inline void TableMeta::clear_has_table_alias() {
1167  _has_bits_[0] &= ~0x00000004u;
1168 }
1169 inline void TableMeta::clear_table_alias() {
1170  if (table_alias_ != &::google::protobuf::internal::kEmptyString) {
1171  table_alias_->clear();
1172  }
1173  clear_has_table_alias();
1174 }
1175 inline const ::std::string& TableMeta::table_alias() const {
1176  return *table_alias_;
1177 }
1178 inline void TableMeta::set_table_alias(const ::std::string& value) {
1179  set_has_table_alias();
1180  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
1181  table_alias_ = new ::std::string;
1182  }
1183  table_alias_->assign(value);
1184 }
1185 inline void TableMeta::set_table_alias(const char* value) {
1186  set_has_table_alias();
1187  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
1188  table_alias_ = new ::std::string;
1189  }
1190  table_alias_->assign(value);
1191 }
1192 inline void TableMeta::set_table_alias(const char* value, size_t size) {
1193  set_has_table_alias();
1194  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
1195  table_alias_ = new ::std::string;
1196  }
1197  table_alias_->assign(reinterpret_cast<const char*>(value), size);
1198 }
1199 inline ::std::string* TableMeta::mutable_table_alias() {
1200  set_has_table_alias();
1201  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
1202  table_alias_ = new ::std::string;
1203  }
1204  return table_alias_;
1205 }
1206 inline ::std::string* TableMeta::release_table_alias() {
1207  clear_has_table_alias();
1208  if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
1209  return NULL;
1210  } else {
1211  ::std::string* temp = table_alias_;
1212  table_alias_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
1213  return temp;
1214  }
1215 }
1216 
1217 // -------------------------------------------------------------------
1218 
1219 // SelectRecord
1220 
1221 // repeated bytes record_value = 1;
1222 inline int SelectRecord::record_value_size() const {
1223  return record_value_.size();
1224 }
1225 inline void SelectRecord::clear_record_value() {
1226  record_value_.Clear();
1227 }
1228 inline const ::std::string& SelectRecord::record_value(int index) const {
1229  return record_value_.Get(index);
1230 }
1231 inline ::std::string* SelectRecord::mutable_record_value(int index) {
1232  return record_value_.Mutable(index);
1233 }
1234 inline void SelectRecord::set_record_value(int index, const ::std::string& value) {
1235  record_value_.Mutable(index)->assign(value);
1236 }
1237 inline void SelectRecord::set_record_value(int index, const char* value) {
1238  record_value_.Mutable(index)->assign(value);
1239 }
1240 inline void SelectRecord::set_record_value(int index, const void* value, size_t size) {
1241  record_value_.Mutable(index)->assign(
1242  reinterpret_cast<const char*>(value), size);
1243 }
1244 inline ::std::string* SelectRecord::add_record_value() {
1245  return record_value_.Add();
1246 }
1247 inline void SelectRecord::add_record_value(const ::std::string& value) {
1248  record_value_.Add()->assign(value);
1249 }
1250 inline void SelectRecord::add_record_value(const char* value) {
1251  record_value_.Add()->assign(value);
1252 }
1253 inline void SelectRecord::add_record_value(const void* value, size_t size) {
1254  record_value_.Add()->assign(reinterpret_cast<const char*>(value), size);
1255 }
1256 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1257 SelectRecord::record_value() const {
1258  return record_value_;
1259 }
1260 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1261 SelectRecord::mutable_record_value() {
1262  return &record_value_;
1263 }
1264 
1265 // repeated bool is_null = 2;
1266 inline int SelectRecord::is_null_size() const {
1267  return is_null_.size();
1268 }
1269 inline void SelectRecord::clear_is_null() {
1270  is_null_.Clear();
1271 }
1272 inline bool SelectRecord::is_null(int index) const {
1273  return is_null_.Get(index);
1274 }
1275 inline void SelectRecord::set_is_null(int index, bool value) {
1276  is_null_.Set(index, value);
1277 }
1278 inline void SelectRecord::add_is_null(bool value) {
1279  is_null_.Add(value);
1280 }
1281 inline const ::google::protobuf::RepeatedField< bool >&
1282 SelectRecord::is_null() const {
1283  return is_null_;
1284 }
1285 inline ::google::protobuf::RepeatedField< bool >*
1286 SelectRecord::mutable_is_null() {
1287  return &is_null_;
1288 }
1289 
1290 // -------------------------------------------------------------------
1291 
1292 // SelectHeader
1293 
1294 // repeated .drizzled.message.TableMeta table_meta = 1;
1295 inline int SelectHeader::table_meta_size() const {
1296  return table_meta_.size();
1297 }
1298 inline void SelectHeader::clear_table_meta() {
1299  table_meta_.Clear();
1300 }
1301 inline const ::drizzled::message::TableMeta& SelectHeader::table_meta(int index) const {
1302  return table_meta_.Get(index);
1303 }
1304 inline ::drizzled::message::TableMeta* SelectHeader::mutable_table_meta(int index) {
1305  return table_meta_.Mutable(index);
1306 }
1307 inline ::drizzled::message::TableMeta* SelectHeader::add_table_meta() {
1308  return table_meta_.Add();
1309 }
1310 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >&
1311 SelectHeader::table_meta() const {
1312  return table_meta_;
1313 }
1314 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >*
1315 SelectHeader::mutable_table_meta() {
1316  return &table_meta_;
1317 }
1318 
1319 // repeated .drizzled.message.FieldMeta field_meta = 2;
1320 inline int SelectHeader::field_meta_size() const {
1321  return field_meta_.size();
1322 }
1323 inline void SelectHeader::clear_field_meta() {
1324  field_meta_.Clear();
1325 }
1326 inline const ::drizzled::message::FieldMeta& SelectHeader::field_meta(int index) const {
1327  return field_meta_.Get(index);
1328 }
1329 inline ::drizzled::message::FieldMeta* SelectHeader::mutable_field_meta(int index) {
1330  return field_meta_.Mutable(index);
1331 }
1332 inline ::drizzled::message::FieldMeta* SelectHeader::add_field_meta() {
1333  return field_meta_.Add();
1334 }
1335 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >&
1336 SelectHeader::field_meta() const {
1337  return field_meta_;
1338 }
1339 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >*
1340 SelectHeader::mutable_field_meta() {
1341  return &field_meta_;
1342 }
1343 
1344 // -------------------------------------------------------------------
1345 
1346 // SelectData
1347 
1348 // required uint32 segment_id = 1;
1349 inline bool SelectData::has_segment_id() const {
1350  return (_has_bits_[0] & 0x00000001u) != 0;
1351 }
1352 inline void SelectData::set_has_segment_id() {
1353  _has_bits_[0] |= 0x00000001u;
1354 }
1355 inline void SelectData::clear_has_segment_id() {
1356  _has_bits_[0] &= ~0x00000001u;
1357 }
1358 inline void SelectData::clear_segment_id() {
1359  segment_id_ = 0u;
1360  clear_has_segment_id();
1361 }
1362 inline ::google::protobuf::uint32 SelectData::segment_id() const {
1363  return segment_id_;
1364 }
1365 inline void SelectData::set_segment_id(::google::protobuf::uint32 value) {
1366  set_has_segment_id();
1367  segment_id_ = value;
1368 }
1369 
1370 // required bool end_segment = 2;
1371 inline bool SelectData::has_end_segment() const {
1372  return (_has_bits_[0] & 0x00000002u) != 0;
1373 }
1374 inline void SelectData::set_has_end_segment() {
1375  _has_bits_[0] |= 0x00000002u;
1376 }
1377 inline void SelectData::clear_has_end_segment() {
1378  _has_bits_[0] &= ~0x00000002u;
1379 }
1380 inline void SelectData::clear_end_segment() {
1381  end_segment_ = false;
1382  clear_has_end_segment();
1383 }
1384 inline bool SelectData::end_segment() const {
1385  return end_segment_;
1386 }
1387 inline void SelectData::set_end_segment(bool value) {
1388  set_has_end_segment();
1389  end_segment_ = value;
1390 }
1391 
1392 // repeated .drizzled.message.SelectRecord record = 3;
1393 inline int SelectData::record_size() const {
1394  return record_.size();
1395 }
1396 inline void SelectData::clear_record() {
1397  record_.Clear();
1398 }
1399 inline const ::drizzled::message::SelectRecord& SelectData::record(int index) const {
1400  return record_.Get(index);
1401 }
1402 inline ::drizzled::message::SelectRecord* SelectData::mutable_record(int index) {
1403  return record_.Mutable(index);
1404 }
1405 inline ::drizzled::message::SelectRecord* SelectData::add_record() {
1406  return record_.Add();
1407 }
1408 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >&
1409 SelectData::record() const {
1410  return record_;
1411 }
1412 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >*
1413 SelectData::mutable_record() {
1414  return &record_;
1415 }
1416 
1417 // -------------------------------------------------------------------
1418 
1419 // Resultset
1420 
1421 // required string key = 1;
1422 inline bool Resultset::has_key() const {
1423  return (_has_bits_[0] & 0x00000001u) != 0;
1424 }
1425 inline void Resultset::set_has_key() {
1426  _has_bits_[0] |= 0x00000001u;
1427 }
1428 inline void Resultset::clear_has_key() {
1429  _has_bits_[0] &= ~0x00000001u;
1430 }
1431 inline void Resultset::clear_key() {
1432  if (key_ != &::google::protobuf::internal::kEmptyString) {
1433  key_->clear();
1434  }
1435  clear_has_key();
1436 }
1437 inline const ::std::string& Resultset::key() const {
1438  return *key_;
1439 }
1440 inline void Resultset::set_key(const ::std::string& value) {
1441  set_has_key();
1442  if (key_ == &::google::protobuf::internal::kEmptyString) {
1443  key_ = new ::std::string;
1444  }
1445  key_->assign(value);
1446 }
1447 inline void Resultset::set_key(const char* value) {
1448  set_has_key();
1449  if (key_ == &::google::protobuf::internal::kEmptyString) {
1450  key_ = new ::std::string;
1451  }
1452  key_->assign(value);
1453 }
1454 inline void Resultset::set_key(const char* value, size_t size) {
1455  set_has_key();
1456  if (key_ == &::google::protobuf::internal::kEmptyString) {
1457  key_ = new ::std::string;
1458  }
1459  key_->assign(reinterpret_cast<const char*>(value), size);
1460 }
1461 inline ::std::string* Resultset::mutable_key() {
1462  set_has_key();
1463  if (key_ == &::google::protobuf::internal::kEmptyString) {
1464  key_ = new ::std::string;
1465  }
1466  return key_;
1467 }
1468 inline ::std::string* Resultset::release_key() {
1469  clear_has_key();
1470  if (key_ == &::google::protobuf::internal::kEmptyString) {
1471  return NULL;
1472  } else {
1473  ::std::string* temp = key_;
1474  key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
1475  return temp;
1476  }
1477 }
1478 
1479 // required string schema = 2;
1480 inline bool Resultset::has_schema() const {
1481  return (_has_bits_[0] & 0x00000002u) != 0;
1482 }
1483 inline void Resultset::set_has_schema() {
1484  _has_bits_[0] |= 0x00000002u;
1485 }
1486 inline void Resultset::clear_has_schema() {
1487  _has_bits_[0] &= ~0x00000002u;
1488 }
1489 inline void Resultset::clear_schema() {
1490  if (schema_ != &::google::protobuf::internal::kEmptyString) {
1491  schema_->clear();
1492  }
1493  clear_has_schema();
1494 }
1495 inline const ::std::string& Resultset::schema() const {
1496  return *schema_;
1497 }
1498 inline void Resultset::set_schema(const ::std::string& value) {
1499  set_has_schema();
1500  if (schema_ == &::google::protobuf::internal::kEmptyString) {
1501  schema_ = new ::std::string;
1502  }
1503  schema_->assign(value);
1504 }
1505 inline void Resultset::set_schema(const char* value) {
1506  set_has_schema();
1507  if (schema_ == &::google::protobuf::internal::kEmptyString) {
1508  schema_ = new ::std::string;
1509  }
1510  schema_->assign(value);
1511 }
1512 inline void Resultset::set_schema(const char* value, size_t size) {
1513  set_has_schema();
1514  if (schema_ == &::google::protobuf::internal::kEmptyString) {
1515  schema_ = new ::std::string;
1516  }
1517  schema_->assign(reinterpret_cast<const char*>(value), size);
1518 }
1519 inline ::std::string* Resultset::mutable_schema() {
1520  set_has_schema();
1521  if (schema_ == &::google::protobuf::internal::kEmptyString) {
1522  schema_ = new ::std::string;
1523  }
1524  return schema_;
1525 }
1526 inline ::std::string* Resultset::release_schema() {
1527  clear_has_schema();
1528  if (schema_ == &::google::protobuf::internal::kEmptyString) {
1529  return NULL;
1530  } else {
1531  ::std::string* temp = schema_;
1532  schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
1533  return temp;
1534  }
1535 }
1536 
1537 // optional string sql = 3;
1538 inline bool Resultset::has_sql() const {
1539  return (_has_bits_[0] & 0x00000004u) != 0;
1540 }
1541 inline void Resultset::set_has_sql() {
1542  _has_bits_[0] |= 0x00000004u;
1543 }
1544 inline void Resultset::clear_has_sql() {
1545  _has_bits_[0] &= ~0x00000004u;
1546 }
1547 inline void Resultset::clear_sql() {
1548  if (sql_ != &::google::protobuf::internal::kEmptyString) {
1549  sql_->clear();
1550  }
1551  clear_has_sql();
1552 }
1553 inline const ::std::string& Resultset::sql() const {
1554  return *sql_;
1555 }
1556 inline void Resultset::set_sql(const ::std::string& value) {
1557  set_has_sql();
1558  if (sql_ == &::google::protobuf::internal::kEmptyString) {
1559  sql_ = new ::std::string;
1560  }
1561  sql_->assign(value);
1562 }
1563 inline void Resultset::set_sql(const char* value) {
1564  set_has_sql();
1565  if (sql_ == &::google::protobuf::internal::kEmptyString) {
1566  sql_ = new ::std::string;
1567  }
1568  sql_->assign(value);
1569 }
1570 inline void Resultset::set_sql(const char* value, size_t size) {
1571  set_has_sql();
1572  if (sql_ == &::google::protobuf::internal::kEmptyString) {
1573  sql_ = new ::std::string;
1574  }
1575  sql_->assign(reinterpret_cast<const char*>(value), size);
1576 }
1577 inline ::std::string* Resultset::mutable_sql() {
1578  set_has_sql();
1579  if (sql_ == &::google::protobuf::internal::kEmptyString) {
1580  sql_ = new ::std::string;
1581  }
1582  return sql_;
1583 }
1584 inline ::std::string* Resultset::release_sql() {
1585  clear_has_sql();
1586  if (sql_ == &::google::protobuf::internal::kEmptyString) {
1587  return NULL;
1588  } else {
1589  ::std::string* temp = sql_;
1590  sql_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
1591  return temp;
1592  }
1593 }
1594 
1595 // optional .drizzled.message.SelectHeader select_header = 4;
1596 inline bool Resultset::has_select_header() const {
1597  return (_has_bits_[0] & 0x00000008u) != 0;
1598 }
1599 inline void Resultset::set_has_select_header() {
1600  _has_bits_[0] |= 0x00000008u;
1601 }
1602 inline void Resultset::clear_has_select_header() {
1603  _has_bits_[0] &= ~0x00000008u;
1604 }
1605 inline void Resultset::clear_select_header() {
1606  if (select_header_ != NULL) select_header_->::drizzled::message::SelectHeader::Clear();
1607  clear_has_select_header();
1608 }
1609 inline const ::drizzled::message::SelectHeader& Resultset::select_header() const {
1610  return select_header_ != NULL ? *select_header_ : *default_instance_->select_header_;
1611 }
1612 inline ::drizzled::message::SelectHeader* Resultset::mutable_select_header() {
1613  set_has_select_header();
1614  if (select_header_ == NULL) select_header_ = new ::drizzled::message::SelectHeader;
1615  return select_header_;
1616 }
1617 inline ::drizzled::message::SelectHeader* Resultset::release_select_header() {
1618  clear_has_select_header();
1619  ::drizzled::message::SelectHeader* temp = select_header_;
1620  select_header_ = NULL;
1621  return temp;
1622 }
1623 
1624 // optional .drizzled.message.SelectData select_data = 5;
1625 inline bool Resultset::has_select_data() const {
1626  return (_has_bits_[0] & 0x00000010u) != 0;
1627 }
1628 inline void Resultset::set_has_select_data() {
1629  _has_bits_[0] |= 0x00000010u;
1630 }
1631 inline void Resultset::clear_has_select_data() {
1632  _has_bits_[0] &= ~0x00000010u;
1633 }
1634 inline void Resultset::clear_select_data() {
1635  if (select_data_ != NULL) select_data_->::drizzled::message::SelectData::Clear();
1636  clear_has_select_data();
1637 }
1638 inline const ::drizzled::message::SelectData& Resultset::select_data() const {
1639  return select_data_ != NULL ? *select_data_ : *default_instance_->select_data_;
1640 }
1641 inline ::drizzled::message::SelectData* Resultset::mutable_select_data() {
1642  set_has_select_data();
1643  if (select_data_ == NULL) select_data_ = new ::drizzled::message::SelectData;
1644  return select_data_;
1645 }
1646 inline ::drizzled::message::SelectData* Resultset::release_select_data() {
1647  clear_has_select_data();
1648  ::drizzled::message::SelectData* temp = select_data_;
1649  select_data_ = NULL;
1650  return temp;
1651 }
1652 
1653 
1654 // @@protoc_insertion_point(namespace_scope)
1655 
1656 } // namespace message
1657 } // namespace drizzled
1658 
1659 #ifndef SWIG
1660 namespace google {
1661 namespace protobuf {
1662 
1663 
1664 } // namespace google
1665 } // namespace protobuf
1666 #endif // SWIG
1667 
1668 // @@protoc_insertion_point(global_scope)
1669 
1670 #endif // PROTOBUF_resultset_2eproto__INCLUDED