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