4 #ifndef PROTOBUF_resultset_2eproto__INCLUDED
5 #define PROTOBUF_resultset_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2005000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/unknown_field_set.h>
28 #include "schema.pb.h"
35 void protobuf_AddDesc_resultset_2eproto();
36 void protobuf_AssignDesc_resultset_2eproto();
37 void protobuf_ShutdownFile_resultset_2eproto();
48 class FieldMeta :
public ::google::protobuf::Message {
60 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
61 return _unknown_fields_;
64 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65 return &_unknown_fields_;
68 static const ::google::protobuf::Descriptor* descriptor();
69 static const FieldMeta& default_instance();
76 void CopyFrom(const ::google::protobuf::Message& from);
77 void MergeFrom(const ::google::protobuf::Message& from);
81 bool IsInitialized()
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_; }
93 void SetCachedSize(
int size)
const;
96 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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);
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);
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();
175 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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_;
183 mutable int _cached_size_;
184 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
186 friend void protobuf_AddDesc_resultset_2eproto();
187 friend void protobuf_AssignDesc_resultset_2eproto();
188 friend void protobuf_ShutdownFile_resultset_2eproto();
190 void InitAsDefaultInstance();
207 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
208 return _unknown_fields_;
211 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
212 return &_unknown_fields_;
215 static const ::google::protobuf::Descriptor* descriptor();
216 static const TableMeta& default_instance();
223 void CopyFrom(const ::google::protobuf::Message& from);
224 void MergeFrom(const ::google::protobuf::Message& from);
228 bool IsInitialized()
const;
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_; }
240 void SetCachedSize(
int size)
const;
243 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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();
294 ::google::protobuf::UnknownFieldSet _unknown_fields_;
296 ::std::string* schema_name_;
297 ::std::string* table_name_;
298 ::std::string* table_alias_;
300 mutable int _cached_size_;
301 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
303 friend void protobuf_AddDesc_resultset_2eproto();
304 friend void protobuf_AssignDesc_resultset_2eproto();
305 friend void protobuf_ShutdownFile_resultset_2eproto();
307 void InitAsDefaultInstance();
324 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
325 return _unknown_fields_;
328 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
329 return &_unknown_fields_;
332 static const ::google::protobuf::Descriptor* descriptor();
340 void CopyFrom(const ::google::protobuf::Message& from);
341 void MergeFrom(const ::google::protobuf::Message& from);
345 bool IsInitialized()
const;
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_; }
357 void SetCachedSize(
int size)
const;
360 ::google::protobuf::Metadata GetMetadata()
const;
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();
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 >&
391 inline ::google::protobuf::RepeatedField< bool >*
397 ::google::protobuf::UnknownFieldSet _unknown_fields_;
399 ::google::protobuf::RepeatedPtrField< ::std::string> record_value_;
400 ::google::protobuf::RepeatedField< bool > is_null_;
402 mutable int _cached_size_;
403 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
405 friend void protobuf_AddDesc_resultset_2eproto();
406 friend void protobuf_AssignDesc_resultset_2eproto();
407 friend void protobuf_ShutdownFile_resultset_2eproto();
409 void InitAsDefaultInstance();
426 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
427 return _unknown_fields_;
430 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
431 return &_unknown_fields_;
434 static const ::google::protobuf::Descriptor* descriptor();
442 void CopyFrom(const ::google::protobuf::Message& from);
443 void MergeFrom(const ::google::protobuf::Message& from);
447 bool IsInitialized()
const;
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_; }
459 void SetCachedSize(
int size)
const;
462 ::google::protobuf::Metadata GetMetadata()
const;
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 >&
477 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >*
478 mutable_table_meta();
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 >&
489 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >*
490 mutable_field_meta();
495 ::google::protobuf::UnknownFieldSet _unknown_fields_;
497 ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta > table_meta_;
498 ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta > field_meta_;
500 mutable int _cached_size_;
501 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
503 friend void protobuf_AddDesc_resultset_2eproto();
504 friend void protobuf_AssignDesc_resultset_2eproto();
505 friend void protobuf_ShutdownFile_resultset_2eproto();
507 void InitAsDefaultInstance();
524 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
525 return _unknown_fields_;
528 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
529 return &_unknown_fields_;
532 static const ::google::protobuf::Descriptor* descriptor();
540 void CopyFrom(const ::google::protobuf::Message& from);
541 void MergeFrom(const ::google::protobuf::Message& from);
545 bool IsInitialized()
const;
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_; }
557 void SetCachedSize(
int size)
const;
560 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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 >&
589 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >*
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();
599 ::google::protobuf::UnknownFieldSet _unknown_fields_;
601 ::google::protobuf::uint32 segment_id_;
603 ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord > record_;
605 mutable int _cached_size_;
606 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
608 friend void protobuf_AddDesc_resultset_2eproto();
609 friend void protobuf_AssignDesc_resultset_2eproto();
610 friend void protobuf_ShutdownFile_resultset_2eproto();
612 void InitAsDefaultInstance();
629 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
630 return _unknown_fields_;
633 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
634 return &_unknown_fields_;
637 static const ::google::protobuf::Descriptor* descriptor();
638 static const Resultset& default_instance();
645 void CopyFrom(const ::google::protobuf::Message& from);
646 void MergeFrom(const ::google::protobuf::Message& from);
650 bool IsInitialized()
const;
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_; }
662 void SetCachedSize(
int size)
const;
665 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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();
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();
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();
738 ::google::protobuf::UnknownFieldSet _unknown_fields_;
741 ::std::string* schema_;
746 mutable int _cached_size_;
747 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
749 friend void protobuf_AddDesc_resultset_2eproto();
750 friend void protobuf_AssignDesc_resultset_2eproto();
751 friend void protobuf_ShutdownFile_resultset_2eproto();
753 void InitAsDefaultInstance();
764 inline bool FieldMeta::has_field_name()
const {
765 return (_has_bits_[0] & 0x00000001u) != 0;
767 inline void FieldMeta::set_has_field_name() {
768 _has_bits_[0] |= 0x00000001u;
770 inline void FieldMeta::clear_has_field_name() {
771 _has_bits_[0] &= ~0x00000001u;
773 inline void FieldMeta::clear_field_name() {
774 if (field_name_ != &::google::protobuf::internal::kEmptyString) {
775 field_name_->clear();
777 clear_has_field_name();
779 inline const ::std::string& FieldMeta::field_name()
const {
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;
787 field_name_->assign(value);
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;
794 field_name_->assign(value);
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;
801 field_name_->assign(reinterpret_cast<const char*>(value), size);
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;
810 inline ::std::string* FieldMeta::release_field_name() {
811 clear_has_field_name();
812 if (field_name_ == &::google::protobuf::internal::kEmptyString) {
815 ::std::string* temp = field_name_;
816 field_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
820 inline void FieldMeta::set_allocated_field_name(::std::string* field_name) {
821 if (field_name_ != &::google::protobuf::internal::kEmptyString) {
825 set_has_field_name();
826 field_name_ = field_name;
828 clear_has_field_name();
829 field_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
834 inline bool FieldMeta::has_field_alias()
const {
835 return (_has_bits_[0] & 0x00000002u) != 0;
837 inline void FieldMeta::set_has_field_alias() {
838 _has_bits_[0] |= 0x00000002u;
840 inline void FieldMeta::clear_has_field_alias() {
841 _has_bits_[0] &= ~0x00000002u;
843 inline void FieldMeta::clear_field_alias() {
844 if (field_alias_ != &::google::protobuf::internal::kEmptyString) {
845 field_alias_->clear();
847 clear_has_field_alias();
849 inline const ::std::string& FieldMeta::field_alias()
const {
850 return *field_alias_;
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;
857 field_alias_->assign(value);
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;
864 field_alias_->assign(value);
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;
871 field_alias_->assign(reinterpret_cast<const char*>(value), size);
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;
880 inline ::std::string* FieldMeta::release_field_alias() {
881 clear_has_field_alias();
882 if (field_alias_ == &::google::protobuf::internal::kEmptyString) {
885 ::std::string* temp = field_alias_;
886 field_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
890 inline void FieldMeta::set_allocated_field_alias(::std::string* field_alias) {
891 if (field_alias_ != &::google::protobuf::internal::kEmptyString) {
895 set_has_field_alias();
896 field_alias_ = field_alias;
898 clear_has_field_alias();
899 field_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
904 inline bool FieldMeta::has_table_name()
const {
905 return (_has_bits_[0] & 0x00000004u) != 0;
907 inline void FieldMeta::set_has_table_name() {
908 _has_bits_[0] |= 0x00000004u;
910 inline void FieldMeta::clear_has_table_name() {
911 _has_bits_[0] &= ~0x00000004u;
913 inline void FieldMeta::clear_table_name() {
914 if (table_name_ != &::google::protobuf::internal::kEmptyString) {
915 table_name_->clear();
917 clear_has_table_name();
919 inline const ::std::string& FieldMeta::table_name()
const {
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;
927 table_name_->assign(value);
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;
934 table_name_->assign(value);
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;
941 table_name_->assign(reinterpret_cast<const char*>(value), size);
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;
950 inline ::std::string* FieldMeta::release_table_name() {
951 clear_has_table_name();
952 if (table_name_ == &::google::protobuf::internal::kEmptyString) {
955 ::std::string* temp = table_name_;
956 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
960 inline void FieldMeta::set_allocated_table_name(::std::string* table_name) {
961 if (table_name_ != &::google::protobuf::internal::kEmptyString) {
965 set_has_table_name();
966 table_name_ = table_name;
968 clear_has_table_name();
969 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
974 inline bool FieldMeta::has_table_alias()
const {
975 return (_has_bits_[0] & 0x00000008u) != 0;
977 inline void FieldMeta::set_has_table_alias() {
978 _has_bits_[0] |= 0x00000008u;
980 inline void FieldMeta::clear_has_table_alias() {
981 _has_bits_[0] &= ~0x00000008u;
983 inline void FieldMeta::clear_table_alias() {
984 if (table_alias_ != &::google::protobuf::internal::kEmptyString) {
985 table_alias_->clear();
987 clear_has_table_alias();
989 inline const ::std::string& FieldMeta::table_alias()
const {
990 return *table_alias_;
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;
997 table_alias_->assign(value);
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;
1004 table_alias_->assign(value);
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;
1011 table_alias_->assign(reinterpret_cast<const char*>(value), size);
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;
1018 return table_alias_;
1020 inline ::std::string* FieldMeta::release_table_alias() {
1021 clear_has_table_alias();
1022 if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
1025 ::std::string* temp = table_alias_;
1026 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1030 inline void FieldMeta::set_allocated_table_alias(::std::string* table_alias) {
1031 if (table_alias_ != &::google::protobuf::internal::kEmptyString) {
1032 delete table_alias_;
1035 set_has_table_alias();
1036 table_alias_ = table_alias;
1038 clear_has_table_alias();
1039 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1044 inline bool FieldMeta::has_schema_name()
const {
1045 return (_has_bits_[0] & 0x00000010u) != 0;
1047 inline void FieldMeta::set_has_schema_name() {
1048 _has_bits_[0] |= 0x00000010u;
1050 inline void FieldMeta::clear_has_schema_name() {
1051 _has_bits_[0] &= ~0x00000010u;
1053 inline void FieldMeta::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& FieldMeta::schema_name()
const {
1060 return *schema_name_;
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;
1067 schema_name_->assign(value);
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;
1074 schema_name_->assign(value);
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;
1081 schema_name_->assign(reinterpret_cast<const char*>(value), size);
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;
1088 return schema_name_;
1090 inline ::std::string* FieldMeta::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);
1100 inline void FieldMeta::set_allocated_schema_name(::std::string* schema_name) {
1101 if (schema_name_ != &::google::protobuf::internal::kEmptyString) {
1102 delete schema_name_;
1105 set_has_schema_name();
1106 schema_name_ = schema_name;
1108 clear_has_schema_name();
1109 schema_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1118 inline bool TableMeta::has_schema_name()
const {
1119 return (_has_bits_[0] & 0x00000001u) != 0;
1121 inline void TableMeta::set_has_schema_name() {
1122 _has_bits_[0] |= 0x00000001u;
1124 inline void TableMeta::clear_has_schema_name() {
1125 _has_bits_[0] &= ~0x00000001u;
1127 inline void TableMeta::clear_schema_name() {
1128 if (schema_name_ != &::google::protobuf::internal::kEmptyString) {
1129 schema_name_->clear();
1131 clear_has_schema_name();
1133 inline const ::std::string& TableMeta::schema_name()
const {
1134 return *schema_name_;
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;
1141 schema_name_->assign(value);
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;
1148 schema_name_->assign(value);
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;
1155 schema_name_->assign(reinterpret_cast<const char*>(value), size);
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;
1162 return schema_name_;
1164 inline ::std::string* TableMeta::release_schema_name() {
1165 clear_has_schema_name();
1166 if (schema_name_ == &::google::protobuf::internal::kEmptyString) {
1169 ::std::string* temp = schema_name_;
1170 schema_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1174 inline void TableMeta::set_allocated_schema_name(::std::string* schema_name) {
1175 if (schema_name_ != &::google::protobuf::internal::kEmptyString) {
1176 delete schema_name_;
1179 set_has_schema_name();
1180 schema_name_ = schema_name;
1182 clear_has_schema_name();
1183 schema_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1188 inline bool TableMeta::has_table_name()
const {
1189 return (_has_bits_[0] & 0x00000002u) != 0;
1191 inline void TableMeta::set_has_table_name() {
1192 _has_bits_[0] |= 0x00000002u;
1194 inline void TableMeta::clear_has_table_name() {
1195 _has_bits_[0] &= ~0x00000002u;
1197 inline void TableMeta::clear_table_name() {
1198 if (table_name_ != &::google::protobuf::internal::kEmptyString) {
1199 table_name_->clear();
1201 clear_has_table_name();
1203 inline const ::std::string& TableMeta::table_name()
const {
1204 return *table_name_;
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;
1211 table_name_->assign(value);
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;
1218 table_name_->assign(value);
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;
1225 table_name_->assign(reinterpret_cast<const char*>(value), size);
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;
1234 inline ::std::string* TableMeta::release_table_name() {
1235 clear_has_table_name();
1236 if (table_name_ == &::google::protobuf::internal::kEmptyString) {
1239 ::std::string* temp = table_name_;
1240 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1244 inline void TableMeta::set_allocated_table_name(::std::string* table_name) {
1245 if (table_name_ != &::google::protobuf::internal::kEmptyString) {
1249 set_has_table_name();
1250 table_name_ = table_name;
1252 clear_has_table_name();
1253 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1258 inline bool TableMeta::has_table_alias()
const {
1259 return (_has_bits_[0] & 0x00000004u) != 0;
1261 inline void TableMeta::set_has_table_alias() {
1262 _has_bits_[0] |= 0x00000004u;
1264 inline void TableMeta::clear_has_table_alias() {
1265 _has_bits_[0] &= ~0x00000004u;
1267 inline void TableMeta::clear_table_alias() {
1268 if (table_alias_ != &::google::protobuf::internal::kEmptyString) {
1269 table_alias_->clear();
1271 clear_has_table_alias();
1273 inline const ::std::string& TableMeta::table_alias()
const {
1274 return *table_alias_;
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;
1281 table_alias_->assign(value);
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;
1288 table_alias_->assign(value);
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;
1295 table_alias_->assign(reinterpret_cast<const char*>(value), size);
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;
1302 return table_alias_;
1304 inline ::std::string* TableMeta::release_table_alias() {
1305 clear_has_table_alias();
1306 if (table_alias_ == &::google::protobuf::internal::kEmptyString) {
1309 ::std::string* temp = table_alias_;
1310 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1314 inline void TableMeta::set_allocated_table_alias(::std::string* table_alias) {
1315 if (table_alias_ != &::google::protobuf::internal::kEmptyString) {
1316 delete table_alias_;
1319 set_has_table_alias();
1320 table_alias_ = table_alias;
1322 clear_has_table_alias();
1323 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1332 inline int SelectRecord::record_value_size()
const {
1333 return record_value_.size();
1335 inline void SelectRecord::clear_record_value() {
1336 record_value_.Clear();
1338 inline const ::std::string& SelectRecord::record_value(
int index)
const {
1339 return record_value_.Get(index);
1341 inline ::std::string* SelectRecord::mutable_record_value(
int index) {
1342 return record_value_.Mutable(index);
1344 inline void SelectRecord::set_record_value(
int index, const ::std::string& value) {
1345 record_value_.Mutable(index)->assign(value);
1347 inline void SelectRecord::set_record_value(
int index,
const char* value) {
1348 record_value_.Mutable(index)->assign(value);
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);
1354 inline ::std::string* SelectRecord::add_record_value() {
1355 return record_value_.Add();
1357 inline void SelectRecord::add_record_value(const ::std::string& value) {
1358 record_value_.Add()->assign(value);
1360 inline void SelectRecord::add_record_value(
const char* value) {
1361 record_value_.Add()->assign(value);
1363 inline void SelectRecord::add_record_value(
const void* value,
size_t size) {
1364 record_value_.Add()->assign(reinterpret_cast<const char*>(value), size);
1366 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1367 SelectRecord::record_value()
const {
1368 return record_value_;
1370 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1371 SelectRecord::mutable_record_value() {
1372 return &record_value_;
1376 inline int SelectRecord::is_null_size()
const {
1377 return is_null_.size();
1379 inline void SelectRecord::clear_is_null() {
1382 inline bool SelectRecord::is_null(
int index)
const {
1383 return is_null_.Get(index);
1385 inline void SelectRecord::set_is_null(
int index,
bool value) {
1386 is_null_.Set(index, value);
1388 inline void SelectRecord::add_is_null(
bool value) {
1389 is_null_.Add(value);
1391 inline const ::google::protobuf::RepeatedField< bool >&
1392 SelectRecord::is_null()
const {
1395 inline ::google::protobuf::RepeatedField< bool >*
1396 SelectRecord::mutable_is_null() {
1405 inline int SelectHeader::table_meta_size()
const {
1406 return table_meta_.size();
1408 inline void SelectHeader::clear_table_meta() {
1409 table_meta_.Clear();
1411 inline const ::drizzled::message::TableMeta& SelectHeader::table_meta(
int index)
const {
1412 return table_meta_.Get(index);
1414 inline ::drizzled::message::TableMeta* SelectHeader::mutable_table_meta(
int index) {
1415 return table_meta_.Mutable(index);
1417 inline ::drizzled::message::TableMeta* SelectHeader::add_table_meta() {
1418 return table_meta_.Add();
1420 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >&
1421 SelectHeader::table_meta()
const {
1424 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >*
1425 SelectHeader::mutable_table_meta() {
1426 return &table_meta_;
1430 inline int SelectHeader::field_meta_size()
const {
1431 return field_meta_.size();
1433 inline void SelectHeader::clear_field_meta() {
1434 field_meta_.Clear();
1436 inline const ::drizzled::message::FieldMeta& SelectHeader::field_meta(
int index)
const {
1437 return field_meta_.Get(index);
1439 inline ::drizzled::message::FieldMeta* SelectHeader::mutable_field_meta(
int index) {
1440 return field_meta_.Mutable(index);
1442 inline ::drizzled::message::FieldMeta* SelectHeader::add_field_meta() {
1443 return field_meta_.Add();
1445 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >&
1446 SelectHeader::field_meta()
const {
1449 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >*
1450 SelectHeader::mutable_field_meta() {
1451 return &field_meta_;
1459 inline bool SelectData::has_segment_id()
const {
1460 return (_has_bits_[0] & 0x00000001u) != 0;
1462 inline void SelectData::set_has_segment_id() {
1463 _has_bits_[0] |= 0x00000001u;
1465 inline void SelectData::clear_has_segment_id() {
1466 _has_bits_[0] &= ~0x00000001u;
1468 inline void SelectData::clear_segment_id() {
1470 clear_has_segment_id();
1472 inline ::google::protobuf::uint32 SelectData::segment_id()
const {
1475 inline void SelectData::set_segment_id(::google::protobuf::uint32 value) {
1476 set_has_segment_id();
1477 segment_id_ = value;
1481 inline bool SelectData::has_end_segment()
const {
1482 return (_has_bits_[0] & 0x00000002u) != 0;
1484 inline void SelectData::set_has_end_segment() {
1485 _has_bits_[0] |= 0x00000002u;
1487 inline void SelectData::clear_has_end_segment() {
1488 _has_bits_[0] &= ~0x00000002u;
1490 inline void SelectData::clear_end_segment() {
1491 end_segment_ =
false;
1492 clear_has_end_segment();
1494 inline bool SelectData::end_segment()
const {
1495 return end_segment_;
1497 inline void SelectData::set_end_segment(
bool value) {
1498 set_has_end_segment();
1499 end_segment_ = value;
1503 inline int SelectData::record_size()
const {
1504 return record_.size();
1506 inline void SelectData::clear_record() {
1509 inline const ::drizzled::message::SelectRecord& SelectData::record(
int index)
const {
1510 return record_.Get(index);
1512 inline ::drizzled::message::SelectRecord* SelectData::mutable_record(
int index) {
1513 return record_.Mutable(index);
1515 inline ::drizzled::message::SelectRecord* SelectData::add_record() {
1516 return record_.Add();
1518 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >&
1519 SelectData::record()
const {
1522 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >*
1523 SelectData::mutable_record() {
1532 inline bool Resultset::has_key()
const {
1533 return (_has_bits_[0] & 0x00000001u) != 0;
1535 inline void Resultset::set_has_key() {
1536 _has_bits_[0] |= 0x00000001u;
1538 inline void Resultset::clear_has_key() {
1539 _has_bits_[0] &= ~0x00000001u;
1541 inline void Resultset::clear_key() {
1542 if (key_ != &::google::protobuf::internal::kEmptyString) {
1547 inline const ::std::string& Resultset::key()
const {
1550 inline void Resultset::set_key(const ::std::string& value) {
1552 if (key_ == &::google::protobuf::internal::kEmptyString) {
1553 key_ = new ::std::string;
1555 key_->assign(value);
1557 inline void Resultset::set_key(
const char* value) {
1559 if (key_ == &::google::protobuf::internal::kEmptyString) {
1560 key_ = new ::std::string;
1562 key_->assign(value);
1564 inline void Resultset::set_key(
const char* value,
size_t size) {
1566 if (key_ == &::google::protobuf::internal::kEmptyString) {
1567 key_ = new ::std::string;
1569 key_->assign(reinterpret_cast<const char*>(value), size);
1571 inline ::std::string* Resultset::mutable_key() {
1573 if (key_ == &::google::protobuf::internal::kEmptyString) {
1574 key_ = new ::std::string;
1578 inline ::std::string* Resultset::release_key() {
1580 if (key_ == &::google::protobuf::internal::kEmptyString) {
1583 ::std::string* temp = key_;
1584 key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1588 inline void Resultset::set_allocated_key(::std::string* key) {
1589 if (key_ != &::google::protobuf::internal::kEmptyString) {
1597 key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1602 inline bool Resultset::has_schema()
const {
1603 return (_has_bits_[0] & 0x00000002u) != 0;
1605 inline void Resultset::set_has_schema() {
1606 _has_bits_[0] |= 0x00000002u;
1608 inline void Resultset::clear_has_schema() {
1609 _has_bits_[0] &= ~0x00000002u;
1611 inline void Resultset::clear_schema() {
1612 if (schema_ != &::google::protobuf::internal::kEmptyString) {
1617 inline const ::std::string& Resultset::schema()
const {
1620 inline void Resultset::set_schema(const ::std::string& value) {
1622 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1623 schema_ = new ::std::string;
1625 schema_->assign(value);
1627 inline void Resultset::set_schema(
const char* value) {
1629 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1630 schema_ = new ::std::string;
1632 schema_->assign(value);
1634 inline void Resultset::set_schema(
const char* value,
size_t size) {
1636 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1637 schema_ = new ::std::string;
1639 schema_->assign(reinterpret_cast<const char*>(value), size);
1641 inline ::std::string* Resultset::mutable_schema() {
1643 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1644 schema_ = new ::std::string;
1648 inline ::std::string* Resultset::release_schema() {
1650 if (schema_ == &::google::protobuf::internal::kEmptyString) {
1653 ::std::string* temp = schema_;
1654 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1658 inline void Resultset::set_allocated_schema(::std::string* schema) {
1659 if (schema_ != &::google::protobuf::internal::kEmptyString) {
1667 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1672 inline bool Resultset::has_sql()
const {
1673 return (_has_bits_[0] & 0x00000004u) != 0;
1675 inline void Resultset::set_has_sql() {
1676 _has_bits_[0] |= 0x00000004u;
1678 inline void Resultset::clear_has_sql() {
1679 _has_bits_[0] &= ~0x00000004u;
1681 inline void Resultset::clear_sql() {
1682 if (sql_ != &::google::protobuf::internal::kEmptyString) {
1687 inline const ::std::string& Resultset::sql()
const {
1690 inline void Resultset::set_sql(const ::std::string& value) {
1692 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1693 sql_ = new ::std::string;
1695 sql_->assign(value);
1697 inline void Resultset::set_sql(
const char* value) {
1699 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1700 sql_ = new ::std::string;
1702 sql_->assign(value);
1704 inline void Resultset::set_sql(
const char* value,
size_t size) {
1706 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1707 sql_ = new ::std::string;
1709 sql_->assign(reinterpret_cast<const char*>(value), size);
1711 inline ::std::string* Resultset::mutable_sql() {
1713 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1714 sql_ = new ::std::string;
1718 inline ::std::string* Resultset::release_sql() {
1720 if (sql_ == &::google::protobuf::internal::kEmptyString) {
1723 ::std::string* temp = sql_;
1724 sql_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1728 inline void Resultset::set_allocated_sql(::std::string* sql) {
1729 if (sql_ != &::google::protobuf::internal::kEmptyString) {
1737 sql_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1742 inline bool Resultset::has_select_header()
const {
1743 return (_has_bits_[0] & 0x00000008u) != 0;
1745 inline void Resultset::set_has_select_header() {
1746 _has_bits_[0] |= 0x00000008u;
1748 inline void Resultset::clear_has_select_header() {
1749 _has_bits_[0] &= ~0x00000008u;
1751 inline void Resultset::clear_select_header() {
1752 if (select_header_ != NULL) select_header_->::drizzled::message::SelectHeader::Clear();
1753 clear_has_select_header();
1755 inline const ::drizzled::message::SelectHeader& Resultset::select_header()
const {
1756 return select_header_ != NULL ? *select_header_ : *default_instance_->select_header_;
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_;
1763 inline ::drizzled::message::SelectHeader* Resultset::release_select_header() {
1764 clear_has_select_header();
1766 select_header_ = NULL;
1770 delete select_header_;
1771 select_header_ = select_header;
1772 if (select_header) {
1773 set_has_select_header();
1775 clear_has_select_header();
1780 inline bool Resultset::has_select_data()
const {
1781 return (_has_bits_[0] & 0x00000010u) != 0;
1783 inline void Resultset::set_has_select_data() {
1784 _has_bits_[0] |= 0x00000010u;
1786 inline void Resultset::clear_has_select_data() {
1787 _has_bits_[0] &= ~0x00000010u;
1789 inline void Resultset::clear_select_data() {
1790 if (select_data_ != NULL) select_data_->::drizzled::message::SelectData::Clear();
1791 clear_has_select_data();
1793 inline const ::drizzled::message::SelectData& Resultset::select_data()
const {
1794 return select_data_ != NULL ? *select_data_ : *default_instance_->select_data_;
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_;
1801 inline ::drizzled::message::SelectData* Resultset::release_select_data() {
1802 clear_has_select_data();
1804 select_data_ = NULL;
1808 delete select_data_;
1809 select_data_ = select_data;
1811 set_has_select_data();
1813 clear_has_select_data();
1825 namespace protobuf {
1834 #endif // PROTOBUF_resultset_2eproto__INCLUDED