4 #ifndef PROTOBUF_resultset_2eproto__INCLUDED
5 #define PROTOBUF_resultset_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
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
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.
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>
27 #include "schema.pb.h"
34 void protobuf_AddDesc_resultset_2eproto();
35 void protobuf_AssignDesc_resultset_2eproto();
36 void protobuf_ShutdownFile_resultset_2eproto();
47 class FieldMeta :
public ::google::protobuf::Message {
59 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
60 return _unknown_fields_;
63 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
64 return &_unknown_fields_;
67 static const ::google::protobuf::Descriptor* descriptor();
68 static const FieldMeta& default_instance();
75 void CopyFrom(const ::google::protobuf::Message& from);
76 void MergeFrom(const ::google::protobuf::Message& from);
80 bool IsInitialized()
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_; }
92 void SetCachedSize(
int size)
const;
95 ::google::protobuf::Metadata GetMetadata()
const;
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();
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();
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();
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();
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();
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();
169 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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_;
177 mutable int _cached_size_;
178 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
180 friend void protobuf_AddDesc_resultset_2eproto();
181 friend void protobuf_AssignDesc_resultset_2eproto();
182 friend void protobuf_ShutdownFile_resultset_2eproto();
184 void InitAsDefaultInstance();
201 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
202 return _unknown_fields_;
205 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
206 return &_unknown_fields_;
209 static const ::google::protobuf::Descriptor* descriptor();
210 static const TableMeta& default_instance();
217 void CopyFrom(const ::google::protobuf::Message& from);
218 void MergeFrom(const ::google::protobuf::Message& from);
222 bool IsInitialized()
const;
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_; }
234 void SetCachedSize(
int size)
const;
237 ::google::protobuf::Metadata GetMetadata()
const;
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();
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();
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();
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();
285 ::google::protobuf::UnknownFieldSet _unknown_fields_;
287 ::std::string* schema_name_;
288 ::std::string* table_name_;
289 ::std::string* table_alias_;
291 mutable int _cached_size_;
292 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
294 friend void protobuf_AddDesc_resultset_2eproto();
295 friend void protobuf_AssignDesc_resultset_2eproto();
296 friend void protobuf_ShutdownFile_resultset_2eproto();
298 void InitAsDefaultInstance();
315 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
316 return _unknown_fields_;
319 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
320 return &_unknown_fields_;
323 static const ::google::protobuf::Descriptor* descriptor();
331 void CopyFrom(const ::google::protobuf::Message& from);
332 void MergeFrom(const ::google::protobuf::Message& from);
336 bool IsInitialized()
const;
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_; }
348 void SetCachedSize(
int size)
const;
351 ::google::protobuf::Metadata GetMetadata()
const;
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();
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 >&
382 inline ::google::protobuf::RepeatedField< bool >*
388 ::google::protobuf::UnknownFieldSet _unknown_fields_;
390 ::google::protobuf::RepeatedPtrField< ::std::string> record_value_;
391 ::google::protobuf::RepeatedField< bool > is_null_;
393 mutable int _cached_size_;
394 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
396 friend void protobuf_AddDesc_resultset_2eproto();
397 friend void protobuf_AssignDesc_resultset_2eproto();
398 friend void protobuf_ShutdownFile_resultset_2eproto();
400 void InitAsDefaultInstance();
417 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
418 return _unknown_fields_;
421 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
422 return &_unknown_fields_;
425 static const ::google::protobuf::Descriptor* descriptor();
433 void CopyFrom(const ::google::protobuf::Message& from);
434 void MergeFrom(const ::google::protobuf::Message& from);
438 bool IsInitialized()
const;
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_; }
450 void SetCachedSize(
int size)
const;
453 ::google::protobuf::Metadata GetMetadata()
const;
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 >&
468 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >*
469 mutable_table_meta();
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 >&
480 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >*
481 mutable_field_meta();
486 ::google::protobuf::UnknownFieldSet _unknown_fields_;
488 ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta > table_meta_;
489 ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta > field_meta_;
491 mutable int _cached_size_;
492 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
494 friend void protobuf_AddDesc_resultset_2eproto();
495 friend void protobuf_AssignDesc_resultset_2eproto();
496 friend void protobuf_ShutdownFile_resultset_2eproto();
498 void InitAsDefaultInstance();
515 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
516 return _unknown_fields_;
519 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
520 return &_unknown_fields_;
523 static const ::google::protobuf::Descriptor* descriptor();
531 void CopyFrom(const ::google::protobuf::Message& from);
532 void MergeFrom(const ::google::protobuf::Message& from);
536 bool IsInitialized()
const;
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_; }
548 void SetCachedSize(
int size)
const;
551 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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 >&
580 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >*
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();
590 ::google::protobuf::UnknownFieldSet _unknown_fields_;
592 ::google::protobuf::uint32 segment_id_;
594 ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord > record_;
596 mutable int _cached_size_;
597 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
599 friend void protobuf_AddDesc_resultset_2eproto();
600 friend void protobuf_AssignDesc_resultset_2eproto();
601 friend void protobuf_ShutdownFile_resultset_2eproto();
603 void InitAsDefaultInstance();
620 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
621 return _unknown_fields_;
624 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
625 return &_unknown_fields_;
628 static const ::google::protobuf::Descriptor* descriptor();
629 static const Resultset& default_instance();
636 void CopyFrom(const ::google::protobuf::Message& from);
637 void MergeFrom(const ::google::protobuf::Message& from);
641 bool IsInitialized()
const;
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_; }
653 void SetCachedSize(
int size)
const;
656 ::google::protobuf::Metadata GetMetadata()
const;
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();
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();
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();
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();
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();
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();
724 ::google::protobuf::UnknownFieldSet _unknown_fields_;
727 ::std::string* schema_;
732 mutable int _cached_size_;
733 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
735 friend void protobuf_AddDesc_resultset_2eproto();
736 friend void protobuf_AssignDesc_resultset_2eproto();
737 friend void protobuf_ShutdownFile_resultset_2eproto();
739 void InitAsDefaultInstance();
750 inline bool FieldMeta::has_field_name()
const {
751 return (_has_bits_[0] & 0x00000001u) != 0;
753 inline void FieldMeta::set_has_field_name() {
754 _has_bits_[0] |= 0x00000001u;
756 inline void FieldMeta::clear_has_field_name() {
757 _has_bits_[0] &= ~0x00000001u;
759 inline void FieldMeta::clear_field_name() {
760 if (field_name_ != &::google::protobuf::internal::kEmptyString) {
761 field_name_->clear();
763 clear_has_field_name();
765 inline const ::std::string& FieldMeta::field_name()
const {
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;
773 field_name_->assign(value);
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;
780 field_name_->assign(value);
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;
787 field_name_->assign(reinterpret_cast<const char*>(value), size);
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;
796 inline ::std::string* FieldMeta::release_field_name() {
797 clear_has_field_name();
798 if (field_name_ == &::google::protobuf::internal::kEmptyString) {
801 ::std::string* temp = field_name_;
802 field_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
808 inline bool FieldMeta::has_field_alias()
const {
809 return (_has_bits_[0] & 0x00000002u) != 0;
811 inline void FieldMeta::set_has_field_alias() {
812 _has_bits_[0] |= 0x00000002u;
814 inline void FieldMeta::clear_has_field_alias() {
815 _has_bits_[0] &= ~0x00000002u;
817 inline void FieldMeta::clear_field_alias() {
818 if (field_alias_ != &::google::protobuf::internal::kEmptyString) {
819 field_alias_->clear();
821 clear_has_field_alias();
823 inline const ::std::string& FieldMeta::field_alias()
const {
824 return *field_alias_;
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;
831 field_alias_->assign(value);
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;
838 field_alias_->assign(value);
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;
845 field_alias_->assign(reinterpret_cast<const char*>(value), size);
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;
854 inline ::std::string* FieldMeta::release_field_alias() {
855 clear_has_field_alias();
856 if (field_alias_ == &::google::protobuf::internal::kEmptyString) {
859 ::std::string* temp = field_alias_;
860 field_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
866 inline bool FieldMeta::has_table_name()
const {
867 return (_has_bits_[0] & 0x00000004u) != 0;
869 inline void FieldMeta::set_has_table_name() {
870 _has_bits_[0] |= 0x00000004u;
872 inline void FieldMeta::clear_has_table_name() {
873 _has_bits_[0] &= ~0x00000004u;
875 inline void FieldMeta::clear_table_name() {
876 if (table_name_ != &::google::protobuf::internal::kEmptyString) {
877 table_name_->clear();
879 clear_has_table_name();
881 inline const ::std::string& FieldMeta::table_name()
const {
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;
889 table_name_->assign(value);
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;
896 table_name_->assign(value);
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;
903 table_name_->assign(reinterpret_cast<const char*>(value), size);
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;
912 inline ::std::string* FieldMeta::release_table_name() {
913 clear_has_table_name();
914 if (table_name_ == &::google::protobuf::internal::kEmptyString) {
917 ::std::string* temp = table_name_;
918 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
924 inline bool FieldMeta::has_table_alias()
const {
925 return (_has_bits_[0] & 0x00000008u) != 0;
927 inline void FieldMeta::set_has_table_alias() {
928 _has_bits_[0] |= 0x00000008u;
930 inline void FieldMeta::clear_has_table_alias() {
931 _has_bits_[0] &= ~0x00000008u;
933 inline void FieldMeta::clear_table_alias() {
934 if (table_alias_ != &::google::protobuf::internal::kEmptyString) {
935 table_alias_->clear();
937 clear_has_table_alias();
939 inline const ::std::string& FieldMeta::table_alias()
const {
940 return *table_alias_;
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;
947 table_alias_->assign(value);
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;
954 table_alias_->assign(value);
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;
961 table_alias_->assign(reinterpret_cast<const char*>(value), size);
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;
970 inline ::std::string* FieldMeta::release_table_alias() {
971 clear_has_table_alias();
972 if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
975 ::std::string* temp = table_alias_;
976 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
982 inline bool FieldMeta::has_schema_name()
const {
983 return (_has_bits_[0] & 0x00000010u) != 0;
985 inline void FieldMeta::set_has_schema_name() {
986 _has_bits_[0] |= 0x00000010u;
988 inline void FieldMeta::clear_has_schema_name() {
989 _has_bits_[0] &= ~0x00000010u;
991 inline void FieldMeta::clear_schema_name() {
992 if (schema_name_ != &::google::protobuf::internal::kEmptyString) {
993 schema_name_->clear();
995 clear_has_schema_name();
997 inline const ::std::string& FieldMeta::schema_name()
const {
998 return *schema_name_;
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;
1005 schema_name_->assign(value);
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;
1012 schema_name_->assign(value);
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;
1019 schema_name_->assign(reinterpret_cast<const char*>(value), size);
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;
1026 return schema_name_;
1028 inline ::std::string* FieldMeta::release_schema_name() {
1029 clear_has_schema_name();
1030 if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1033 ::std::string* temp = schema_name_;
1034 schema_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1044 inline bool TableMeta::has_schema_name()
const {
1045 return (_has_bits_[0] & 0x00000001u) != 0;
1047 inline void TableMeta::set_has_schema_name() {
1048 _has_bits_[0] |= 0x00000001u;
1050 inline void TableMeta::clear_has_schema_name() {
1051 _has_bits_[0] &= ~0x00000001u;
1053 inline void TableMeta::clear_schema_name() {
1054 if (schema_name_ != &::google::protobuf::internal::kEmptyString) {
1055 schema_name_->clear();
1057 clear_has_schema_name();
1059 inline const ::std::string& TableMeta::schema_name()
const {
1060 return *schema_name_;
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;
1067 schema_name_->assign(value);
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;
1074 schema_name_->assign(value);
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;
1081 schema_name_->assign(reinterpret_cast<const char*>(value), size);
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;
1088 return schema_name_;
1090 inline ::std::string* TableMeta::release_schema_name() {
1091 clear_has_schema_name();
1092 if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1095 ::std::string* temp = schema_name_;
1096 schema_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1102 inline bool TableMeta::has_table_name()
const {
1103 return (_has_bits_[0] & 0x00000002u) != 0;
1105 inline void TableMeta::set_has_table_name() {
1106 _has_bits_[0] |= 0x00000002u;
1108 inline void TableMeta::clear_has_table_name() {
1109 _has_bits_[0] &= ~0x00000002u;
1111 inline void TableMeta::clear_table_name() {
1112 if (table_name_ != &::google::protobuf::internal::kEmptyString) {
1113 table_name_->clear();
1115 clear_has_table_name();
1117 inline const ::std::string& TableMeta::table_name()
const {
1118 return *table_name_;
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;
1125 table_name_->assign(value);
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;
1132 table_name_->assign(value);
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;
1139 table_name_->assign(reinterpret_cast<const char*>(value), size);
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;
1148 inline ::std::string* TableMeta::release_table_name() {
1149 clear_has_table_name();
1150 if (table_name_ == &::google::protobuf::internal::kEmptyString) {
1153 ::std::string* temp = table_name_;
1154 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1160 inline bool TableMeta::has_table_alias()
const {
1161 return (_has_bits_[0] & 0x00000004u) != 0;
1163 inline void TableMeta::set_has_table_alias() {
1164 _has_bits_[0] |= 0x00000004u;
1166 inline void TableMeta::clear_has_table_alias() {
1167 _has_bits_[0] &= ~0x00000004u;
1169 inline void TableMeta::clear_table_alias() {
1170 if (table_alias_ != &::google::protobuf::internal::kEmptyString) {
1171 table_alias_->clear();
1173 clear_has_table_alias();
1175 inline const ::std::string& TableMeta::table_alias()
const {
1176 return *table_alias_;
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;
1183 table_alias_->assign(value);
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;
1190 table_alias_->assign(value);
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;
1197 table_alias_->assign(reinterpret_cast<const char*>(value), size);
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;
1204 return table_alias_;
1206 inline ::std::string* TableMeta::release_table_alias() {
1207 clear_has_table_alias();
1208 if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
1211 ::std::string* temp = table_alias_;
1212 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1222 inline int SelectRecord::record_value_size()
const {
1223 return record_value_.size();
1225 inline void SelectRecord::clear_record_value() {
1226 record_value_.Clear();
1228 inline const ::std::string& SelectRecord::record_value(
int index)
const {
1229 return record_value_.Get(index);
1231 inline ::std::string* SelectRecord::mutable_record_value(
int index) {
1232 return record_value_.Mutable(index);
1234 inline void SelectRecord::set_record_value(
int index, const ::std::string& value) {
1235 record_value_.Mutable(index)->assign(value);
1237 inline void SelectRecord::set_record_value(
int index,
const char* value) {
1238 record_value_.Mutable(index)->assign(value);
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);
1244 inline ::std::string* SelectRecord::add_record_value() {
1245 return record_value_.Add();
1247 inline void SelectRecord::add_record_value(const ::std::string& value) {
1248 record_value_.Add()->assign(value);
1250 inline void SelectRecord::add_record_value(
const char* value) {
1251 record_value_.Add()->assign(value);
1253 inline void SelectRecord::add_record_value(
const void* value,
size_t size) {
1254 record_value_.Add()->assign(reinterpret_cast<const char*>(value), size);
1256 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1257 SelectRecord::record_value()
const {
1258 return record_value_;
1260 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1261 SelectRecord::mutable_record_value() {
1262 return &record_value_;
1266 inline int SelectRecord::is_null_size()
const {
1267 return is_null_.size();
1269 inline void SelectRecord::clear_is_null() {
1272 inline bool SelectRecord::is_null(
int index)
const {
1273 return is_null_.Get(index);
1275 inline void SelectRecord::set_is_null(
int index,
bool value) {
1276 is_null_.Set(index, value);
1278 inline void SelectRecord::add_is_null(
bool value) {
1279 is_null_.Add(value);
1281 inline const ::google::protobuf::RepeatedField< bool >&
1282 SelectRecord::is_null()
const {
1285 inline ::google::protobuf::RepeatedField< bool >*
1286 SelectRecord::mutable_is_null() {
1295 inline int SelectHeader::table_meta_size()
const {
1296 return table_meta_.size();
1298 inline void SelectHeader::clear_table_meta() {
1299 table_meta_.Clear();
1301 inline const ::drizzled::message::TableMeta& SelectHeader::table_meta(
int index)
const {
1302 return table_meta_.Get(index);
1304 inline ::drizzled::message::TableMeta* SelectHeader::mutable_table_meta(
int index) {
1305 return table_meta_.Mutable(index);
1307 inline ::drizzled::message::TableMeta* SelectHeader::add_table_meta() {
1308 return table_meta_.Add();
1310 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >&
1311 SelectHeader::table_meta()
const {
1314 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >*
1315 SelectHeader::mutable_table_meta() {
1316 return &table_meta_;
1320 inline int SelectHeader::field_meta_size()
const {
1321 return field_meta_.size();
1323 inline void SelectHeader::clear_field_meta() {
1324 field_meta_.Clear();
1326 inline const ::drizzled::message::FieldMeta& SelectHeader::field_meta(
int index)
const {
1327 return field_meta_.Get(index);
1329 inline ::drizzled::message::FieldMeta* SelectHeader::mutable_field_meta(
int index) {
1330 return field_meta_.Mutable(index);
1332 inline ::drizzled::message::FieldMeta* SelectHeader::add_field_meta() {
1333 return field_meta_.Add();
1335 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >&
1336 SelectHeader::field_meta()
const {
1339 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >*
1340 SelectHeader::mutable_field_meta() {
1341 return &field_meta_;
1349 inline bool SelectData::has_segment_id()
const {
1350 return (_has_bits_[0] & 0x00000001u) != 0;
1352 inline void SelectData::set_has_segment_id() {
1353 _has_bits_[0] |= 0x00000001u;
1355 inline void SelectData::clear_has_segment_id() {
1356 _has_bits_[0] &= ~0x00000001u;
1358 inline void SelectData::clear_segment_id() {
1360 clear_has_segment_id();
1362 inline ::google::protobuf::uint32 SelectData::segment_id()
const {
1365 inline void SelectData::set_segment_id(::google::protobuf::uint32 value) {
1366 set_has_segment_id();
1367 segment_id_ = value;
1371 inline bool SelectData::has_end_segment()
const {
1372 return (_has_bits_[0] & 0x00000002u) != 0;
1374 inline void SelectData::set_has_end_segment() {
1375 _has_bits_[0] |= 0x00000002u;
1377 inline void SelectData::clear_has_end_segment() {
1378 _has_bits_[0] &= ~0x00000002u;
1380 inline void SelectData::clear_end_segment() {
1381 end_segment_ =
false;
1382 clear_has_end_segment();
1384 inline bool SelectData::end_segment()
const {
1385 return end_segment_;
1387 inline void SelectData::set_end_segment(
bool value) {
1388 set_has_end_segment();
1389 end_segment_ = value;
1393 inline int SelectData::record_size()
const {
1394 return record_.size();
1396 inline void SelectData::clear_record() {
1399 inline const ::drizzled::message::SelectRecord& SelectData::record(
int index)
const {
1400 return record_.Get(index);
1402 inline ::drizzled::message::SelectRecord* SelectData::mutable_record(
int index) {
1403 return record_.Mutable(index);
1405 inline ::drizzled::message::SelectRecord* SelectData::add_record() {
1406 return record_.Add();
1408 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >&
1409 SelectData::record()
const {
1412 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >*
1413 SelectData::mutable_record() {
1422 inline bool Resultset::has_key()
const {
1423 return (_has_bits_[0] & 0x00000001u) != 0;
1425 inline void Resultset::set_has_key() {
1426 _has_bits_[0] |= 0x00000001u;
1428 inline void Resultset::clear_has_key() {
1429 _has_bits_[0] &= ~0x00000001u;
1431 inline void Resultset::clear_key() {
1432 if (key_ != &::google::protobuf::internal::kEmptyString) {
1437 inline const ::std::string& Resultset::key()
const {
1440 inline void Resultset::set_key(const ::std::string& value) {
1442 if (key_ == &::google::protobuf::internal::kEmptyString) {
1443 key_ = new ::std::string;
1445 key_->assign(value);
1447 inline void Resultset::set_key(
const char* value) {
1449 if (key_ == &::google::protobuf::internal::kEmptyString) {
1450 key_ = new ::std::string;
1452 key_->assign(value);
1454 inline void Resultset::set_key(
const char* value,
size_t size) {
1456 if (key_ == &::google::protobuf::internal::kEmptyString) {
1457 key_ = new ::std::string;
1459 key_->assign(reinterpret_cast<const char*>(value), size);
1461 inline ::std::string* Resultset::mutable_key() {
1463 if (key_ == &::google::protobuf::internal::kEmptyString) {
1464 key_ = new ::std::string;
1468 inline ::std::string* Resultset::release_key() {
1470 if (key_ == &::google::protobuf::internal::kEmptyString) {
1473 ::std::string* temp = key_;
1474 key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1480 inline bool Resultset::has_schema()
const {
1481 return (_has_bits_[0] & 0x00000002u) != 0;
1483 inline void Resultset::set_has_schema() {
1484 _has_bits_[0] |= 0x00000002u;
1486 inline void Resultset::clear_has_schema() {
1487 _has_bits_[0] &= ~0x00000002u;
1489 inline void Resultset::clear_schema() {
1490 if (schema_ != &::google::protobuf::internal::kEmptyString) {
1495 inline const ::std::string& Resultset::schema()
const {
1498 inline void Resultset::set_schema(const ::std::string& value) {
1500 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1501 schema_ = new ::std::string;
1503 schema_->assign(value);
1505 inline void Resultset::set_schema(
const char* value) {
1507 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1508 schema_ = new ::std::string;
1510 schema_->assign(value);
1512 inline void Resultset::set_schema(
const char* value,
size_t size) {
1514 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1515 schema_ = new ::std::string;
1517 schema_->assign(reinterpret_cast<const char*>(value), size);
1519 inline ::std::string* Resultset::mutable_schema() {
1521 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1522 schema_ = new ::std::string;
1526 inline ::std::string* Resultset::release_schema() {
1528 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1531 ::std::string* temp = schema_;
1532 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1538 inline bool Resultset::has_sql()
const {
1539 return (_has_bits_[0] & 0x00000004u) != 0;
1541 inline void Resultset::set_has_sql() {
1542 _has_bits_[0] |= 0x00000004u;
1544 inline void Resultset::clear_has_sql() {
1545 _has_bits_[0] &= ~0x00000004u;
1547 inline void Resultset::clear_sql() {
1548 if (sql_ != &::google::protobuf::internal::kEmptyString) {
1553 inline const ::std::string& Resultset::sql()
const {
1556 inline void Resultset::set_sql(const ::std::string& value) {
1558 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1559 sql_ = new ::std::string;
1561 sql_->assign(value);
1563 inline void Resultset::set_sql(
const char* value) {
1565 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1566 sql_ = new ::std::string;
1568 sql_->assign(value);
1570 inline void Resultset::set_sql(
const char* value,
size_t size) {
1572 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1573 sql_ = new ::std::string;
1575 sql_->assign(reinterpret_cast<const char*>(value), size);
1577 inline ::std::string* Resultset::mutable_sql() {
1579 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1580 sql_ = new ::std::string;
1584 inline ::std::string* Resultset::release_sql() {
1586 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1589 ::std::string* temp = sql_;
1590 sql_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1596 inline bool Resultset::has_select_header()
const {
1597 return (_has_bits_[0] & 0x00000008u) != 0;
1599 inline void Resultset::set_has_select_header() {
1600 _has_bits_[0] |= 0x00000008u;
1602 inline void Resultset::clear_has_select_header() {
1603 _has_bits_[0] &= ~0x00000008u;
1605 inline void Resultset::clear_select_header() {
1606 if (select_header_ != NULL) select_header_->::drizzled::message::SelectHeader::Clear();
1607 clear_has_select_header();
1609 inline const ::drizzled::message::SelectHeader& Resultset::select_header()
const {
1610 return select_header_ != NULL ? *select_header_ : *default_instance_->select_header_;
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_;
1617 inline ::drizzled::message::SelectHeader* Resultset::release_select_header() {
1618 clear_has_select_header();
1620 select_header_ = NULL;
1625 inline bool Resultset::has_select_data()
const {
1626 return (_has_bits_[0] & 0x00000010u) != 0;
1628 inline void Resultset::set_has_select_data() {
1629 _has_bits_[0] |= 0x00000010u;
1631 inline void Resultset::clear_has_select_data() {
1632 _has_bits_[0] &= ~0x00000010u;
1634 inline void Resultset::clear_select_data() {
1635 if (select_data_ != NULL) select_data_->::drizzled::message::SelectData::Clear();
1636 clear_has_select_data();
1638 inline const ::drizzled::message::SelectData& Resultset::select_data()
const {
1639 return select_data_ != NULL ? *select_data_ : *default_instance_->select_data_;
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_;
1646 inline ::drizzled::message::SelectData* Resultset::release_select_data() {
1647 clear_has_select_data();
1649 select_data_ = NULL;
1661 namespace protobuf {
1670 #endif // PROTOBUF_resultset_2eproto__INCLUDED