4 #ifndef PROTOBUF_resultset_2eproto__INCLUDED
5 #define PROTOBUF_resultset_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/unknown_field_set.h>
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;
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();
111 inline void set_allocated_field_name(::std::string* field_name);
114 inline bool has_field_alias()
const;
115 inline void clear_field_alias();
116 static const int kFieldAliasFieldNumber = 2;
117 inline const ::std::string& field_alias()
const;
118 inline void set_field_alias(const ::std::string& value);
119 inline void set_field_alias(
const char* value);
120 inline void set_field_alias(
const char* value,
size_t size);
121 inline ::std::string* mutable_field_alias();
122 inline ::std::string* release_field_alias();
123 inline void set_allocated_field_alias(::std::string* field_alias);
126 inline bool has_table_name()
const;
127 inline void clear_table_name();
128 static const int kTableNameFieldNumber = 3;
129 inline const ::std::string& table_name()
const;
130 inline void set_table_name(const ::std::string& value);
131 inline void set_table_name(
const char* value);
132 inline void set_table_name(
const char* value,
size_t size);
133 inline ::std::string* mutable_table_name();
134 inline ::std::string* release_table_name();
135 inline void set_allocated_table_name(::std::string* table_name);
138 inline bool has_table_alias()
const;
139 inline void clear_table_alias();
140 static const int kTableAliasFieldNumber = 4;
141 inline const ::std::string& table_alias()
const;
142 inline void set_table_alias(const ::std::string& value);
143 inline void set_table_alias(
const char* value);
144 inline void set_table_alias(
const char* value,
size_t size);
145 inline ::std::string* mutable_table_alias();
146 inline ::std::string* release_table_alias();
147 inline void set_allocated_table_alias(::std::string* table_alias);
150 inline bool has_schema_name()
const;
151 inline void clear_schema_name();
152 static const int kSchemaNameFieldNumber = 5;
153 inline const ::std::string& schema_name()
const;
154 inline void set_schema_name(const ::std::string& value);
155 inline void set_schema_name(
const char* value);
156 inline void set_schema_name(
const char* value,
size_t size);
157 inline ::std::string* mutable_schema_name();
158 inline ::std::string* release_schema_name();
159 inline void set_allocated_schema_name(::std::string* schema_name);
163 inline void set_has_field_name();
164 inline void clear_has_field_name();
165 inline void set_has_field_alias();
166 inline void clear_has_field_alias();
167 inline void set_has_table_name();
168 inline void clear_has_table_name();
169 inline void set_has_table_alias();
170 inline void clear_has_table_alias();
171 inline void set_has_schema_name();
172 inline void clear_has_schema_name();
174 ::google::protobuf::UnknownFieldSet _unknown_fields_;
176 ::google::protobuf::uint32 _has_bits_[1];
177 mutable int _cached_size_;
178 ::std::string* field_name_;
179 ::std::string* field_alias_;
180 ::std::string* table_name_;
181 ::std::string* table_alias_;
182 ::std::string* schema_name_;
183 friend void protobuf_AddDesc_resultset_2eproto();
184 friend void protobuf_AssignDesc_resultset_2eproto();
185 friend void protobuf_ShutdownFile_resultset_2eproto();
187 void InitAsDefaultInstance();
204 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
205 return _unknown_fields_;
208 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
209 return &_unknown_fields_;
212 static const ::google::protobuf::Descriptor* descriptor();
213 static const TableMeta& default_instance();
220 void CopyFrom(const ::google::protobuf::Message& from);
221 void MergeFrom(const ::google::protobuf::Message& from);
225 bool IsInitialized()
const;
227 int ByteSize()
const;
228 bool MergePartialFromCodedStream(
229 ::google::protobuf::io::CodedInputStream* input);
230 void SerializeWithCachedSizes(
231 ::google::protobuf::io::CodedOutputStream* output)
const;
232 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
233 int GetCachedSize()
const {
return _cached_size_; }
237 void SetCachedSize(
int size)
const;
239 ::google::protobuf::Metadata GetMetadata()
const;
246 inline bool has_schema_name()
const;
247 inline void clear_schema_name();
248 static const int kSchemaNameFieldNumber = 1;
249 inline const ::std::string& schema_name()
const;
250 inline void set_schema_name(const ::std::string& value);
251 inline void set_schema_name(
const char* value);
252 inline void set_schema_name(
const char* value,
size_t size);
253 inline ::std::string* mutable_schema_name();
254 inline ::std::string* release_schema_name();
255 inline void set_allocated_schema_name(::std::string* schema_name);
258 inline bool has_table_name()
const;
259 inline void clear_table_name();
260 static const int kTableNameFieldNumber = 2;
261 inline const ::std::string& table_name()
const;
262 inline void set_table_name(const ::std::string& value);
263 inline void set_table_name(
const char* value);
264 inline void set_table_name(
const char* value,
size_t size);
265 inline ::std::string* mutable_table_name();
266 inline ::std::string* release_table_name();
267 inline void set_allocated_table_name(::std::string* table_name);
270 inline bool has_table_alias()
const;
271 inline void clear_table_alias();
272 static const int kTableAliasFieldNumber = 3;
273 inline const ::std::string& table_alias()
const;
274 inline void set_table_alias(const ::std::string& value);
275 inline void set_table_alias(
const char* value);
276 inline void set_table_alias(
const char* value,
size_t size);
277 inline ::std::string* mutable_table_alias();
278 inline ::std::string* release_table_alias();
279 inline void set_allocated_table_alias(::std::string* table_alias);
283 inline void set_has_schema_name();
284 inline void clear_has_schema_name();
285 inline void set_has_table_name();
286 inline void clear_has_table_name();
287 inline void set_has_table_alias();
288 inline void clear_has_table_alias();
290 ::google::protobuf::UnknownFieldSet _unknown_fields_;
292 ::google::protobuf::uint32 _has_bits_[1];
293 mutable int _cached_size_;
294 ::std::string* schema_name_;
295 ::std::string* table_name_;
296 ::std::string* table_alias_;
297 friend void protobuf_AddDesc_resultset_2eproto();
298 friend void protobuf_AssignDesc_resultset_2eproto();
299 friend void protobuf_ShutdownFile_resultset_2eproto();
301 void InitAsDefaultInstance();
318 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
319 return _unknown_fields_;
322 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
323 return &_unknown_fields_;
326 static const ::google::protobuf::Descriptor* descriptor();
334 void CopyFrom(const ::google::protobuf::Message& from);
335 void MergeFrom(const ::google::protobuf::Message& from);
339 bool IsInitialized()
const;
341 int ByteSize()
const;
342 bool MergePartialFromCodedStream(
343 ::google::protobuf::io::CodedInputStream* input);
344 void SerializeWithCachedSizes(
345 ::google::protobuf::io::CodedOutputStream* output)
const;
346 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
347 int GetCachedSize()
const {
return _cached_size_; }
351 void SetCachedSize(
int size)
const;
353 ::google::protobuf::Metadata GetMetadata()
const;
360 inline int record_value_size()
const;
361 inline void clear_record_value();
362 static const int kRecordValueFieldNumber = 1;
363 inline const ::std::string& record_value(
int index)
const;
364 inline ::std::string* mutable_record_value(
int index);
365 inline void set_record_value(
int index, const ::std::string& value);
366 inline void set_record_value(
int index,
const char* value);
367 inline void set_record_value(
int index,
const void* value,
size_t size);
368 inline ::std::string* add_record_value();
369 inline void add_record_value(const ::std::string& value);
370 inline void add_record_value(
const char* value);
371 inline void add_record_value(
const void* value,
size_t size);
372 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& record_value()
const;
373 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_record_value();
376 inline int is_null_size()
const;
377 inline void clear_is_null();
378 static const int kIsNullFieldNumber = 2;
379 inline bool is_null(
int index)
const;
380 inline void set_is_null(
int index,
bool value);
381 inline void add_is_null(
bool value);
382 inline const ::google::protobuf::RepeatedField< bool >&
384 inline ::google::protobuf::RepeatedField< bool >*
390 ::google::protobuf::UnknownFieldSet _unknown_fields_;
392 ::google::protobuf::uint32 _has_bits_[1];
393 mutable int _cached_size_;
394 ::google::protobuf::RepeatedPtrField< ::std::string> record_value_;
395 ::google::protobuf::RepeatedField< bool > is_null_;
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;
452 ::google::protobuf::Metadata GetMetadata()
const;
459 inline int table_meta_size()
const;
460 inline void clear_table_meta();
461 static const int kTableMetaFieldNumber = 1;
462 inline const ::drizzled::message::TableMeta& table_meta(
int index)
const;
463 inline ::drizzled::message::TableMeta* mutable_table_meta(
int index);
464 inline ::drizzled::message::TableMeta* add_table_meta();
465 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >&
467 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >*
468 mutable_table_meta();
471 inline int field_meta_size()
const;
472 inline void clear_field_meta();
473 static const int kFieldMetaFieldNumber = 2;
474 inline const ::drizzled::message::FieldMeta& field_meta(
int index)
const;
475 inline ::drizzled::message::FieldMeta* mutable_field_meta(
int index);
476 inline ::drizzled::message::FieldMeta* add_field_meta();
477 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >&
479 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >*
480 mutable_field_meta();
485 ::google::protobuf::UnknownFieldSet _unknown_fields_;
487 ::google::protobuf::uint32 _has_bits_[1];
488 mutable int _cached_size_;
489 ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta > table_meta_;
490 ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta > field_meta_;
491 friend void protobuf_AddDesc_resultset_2eproto();
492 friend void protobuf_AssignDesc_resultset_2eproto();
493 friend void protobuf_ShutdownFile_resultset_2eproto();
495 void InitAsDefaultInstance();
512 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
513 return _unknown_fields_;
516 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
517 return &_unknown_fields_;
520 static const ::google::protobuf::Descriptor* descriptor();
528 void CopyFrom(const ::google::protobuf::Message& from);
529 void MergeFrom(const ::google::protobuf::Message& from);
533 bool IsInitialized()
const;
535 int ByteSize()
const;
536 bool MergePartialFromCodedStream(
537 ::google::protobuf::io::CodedInputStream* input);
538 void SerializeWithCachedSizes(
539 ::google::protobuf::io::CodedOutputStream* output)
const;
540 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
541 int GetCachedSize()
const {
return _cached_size_; }
545 void SetCachedSize(
int size)
const;
547 ::google::protobuf::Metadata GetMetadata()
const;
554 inline bool has_segment_id()
const;
555 inline void clear_segment_id();
556 static const int kSegmentIdFieldNumber = 1;
557 inline ::google::protobuf::uint32 segment_id()
const;
558 inline void set_segment_id(::google::protobuf::uint32 value);
561 inline bool has_end_segment()
const;
562 inline void clear_end_segment();
563 static const int kEndSegmentFieldNumber = 2;
564 inline bool end_segment()
const;
565 inline void set_end_segment(
bool value);
568 inline int record_size()
const;
569 inline void clear_record();
570 static const int kRecordFieldNumber = 3;
571 inline const ::drizzled::message::SelectRecord& record(
int index)
const;
572 inline ::drizzled::message::SelectRecord* mutable_record(
int index);
573 inline ::drizzled::message::SelectRecord* add_record();
574 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >&
576 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >*
581 inline void set_has_segment_id();
582 inline void clear_has_segment_id();
583 inline void set_has_end_segment();
584 inline void clear_has_end_segment();
586 ::google::protobuf::UnknownFieldSet _unknown_fields_;
588 ::google::protobuf::uint32 _has_bits_[1];
589 mutable int _cached_size_;
590 ::google::protobuf::uint32 segment_id_;
592 ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord > record_;
593 friend void protobuf_AddDesc_resultset_2eproto();
594 friend void protobuf_AssignDesc_resultset_2eproto();
595 friend void protobuf_ShutdownFile_resultset_2eproto();
597 void InitAsDefaultInstance();
614 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
615 return _unknown_fields_;
618 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
619 return &_unknown_fields_;
622 static const ::google::protobuf::Descriptor* descriptor();
623 static const Resultset& default_instance();
630 void CopyFrom(const ::google::protobuf::Message& from);
631 void MergeFrom(const ::google::protobuf::Message& from);
635 bool IsInitialized()
const;
637 int ByteSize()
const;
638 bool MergePartialFromCodedStream(
639 ::google::protobuf::io::CodedInputStream* input);
640 void SerializeWithCachedSizes(
641 ::google::protobuf::io::CodedOutputStream* output)
const;
642 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
643 int GetCachedSize()
const {
return _cached_size_; }
647 void SetCachedSize(
int size)
const;
649 ::google::protobuf::Metadata GetMetadata()
const;
656 inline bool has_key()
const;
657 inline void clear_key();
658 static const int kKeyFieldNumber = 1;
659 inline const ::std::string& key()
const;
660 inline void set_key(const ::std::string& value);
661 inline void set_key(
const char* value);
662 inline void set_key(
const char* value,
size_t size);
663 inline ::std::string* mutable_key();
664 inline ::std::string* release_key();
665 inline void set_allocated_key(::std::string* key);
668 inline bool has_schema()
const;
669 inline void clear_schema();
670 static const int kSchemaFieldNumber = 2;
671 inline const ::std::string& schema()
const;
672 inline void set_schema(const ::std::string& value);
673 inline void set_schema(
const char* value);
674 inline void set_schema(
const char* value,
size_t size);
675 inline ::std::string* mutable_schema();
676 inline ::std::string* release_schema();
677 inline void set_allocated_schema(::std::string* schema);
680 inline bool has_sql()
const;
681 inline void clear_sql();
682 static const int kSqlFieldNumber = 3;
683 inline const ::std::string& sql()
const;
684 inline void set_sql(const ::std::string& value);
685 inline void set_sql(
const char* value);
686 inline void set_sql(
const char* value,
size_t size);
687 inline ::std::string* mutable_sql();
688 inline ::std::string* release_sql();
689 inline void set_allocated_sql(::std::string* sql);
692 inline bool has_select_header()
const;
693 inline void clear_select_header();
694 static const int kSelectHeaderFieldNumber = 4;
695 inline const ::drizzled::message::SelectHeader& select_header()
const;
696 inline ::drizzled::message::SelectHeader* mutable_select_header();
697 inline ::drizzled::message::SelectHeader* release_select_header();
701 inline bool has_select_data()
const;
702 inline void clear_select_data();
703 static const int kSelectDataFieldNumber = 5;
704 inline const ::drizzled::message::SelectData& select_data()
const;
705 inline ::drizzled::message::SelectData* mutable_select_data();
706 inline ::drizzled::message::SelectData* release_select_data();
711 inline void set_has_key();
712 inline void clear_has_key();
713 inline void set_has_schema();
714 inline void clear_has_schema();
715 inline void set_has_sql();
716 inline void clear_has_sql();
717 inline void set_has_select_header();
718 inline void clear_has_select_header();
719 inline void set_has_select_data();
720 inline void clear_has_select_data();
722 ::google::protobuf::UnknownFieldSet _unknown_fields_;
724 ::google::protobuf::uint32 _has_bits_[1];
725 mutable int _cached_size_;
727 ::std::string* schema_;
731 friend void protobuf_AddDesc_resultset_2eproto();
732 friend void protobuf_AssignDesc_resultset_2eproto();
733 friend void protobuf_ShutdownFile_resultset_2eproto();
735 void InitAsDefaultInstance();
746 inline bool FieldMeta::has_field_name()
const {
747 return (_has_bits_[0] & 0x00000001u) != 0;
749 inline void FieldMeta::set_has_field_name() {
750 _has_bits_[0] |= 0x00000001u;
752 inline void FieldMeta::clear_has_field_name() {
753 _has_bits_[0] &= ~0x00000001u;
755 inline void FieldMeta::clear_field_name() {
756 if (field_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
757 field_name_->clear();
759 clear_has_field_name();
761 inline const ::std::string& FieldMeta::field_name()
const {
765 inline void FieldMeta::set_field_name(const ::std::string& value) {
766 set_has_field_name();
767 if (field_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
768 field_name_ = new ::std::string;
770 field_name_->assign(value);
773 inline void FieldMeta::set_field_name(
const char* value) {
774 set_has_field_name();
775 if (field_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
776 field_name_ = new ::std::string;
778 field_name_->assign(value);
781 inline void FieldMeta::set_field_name(
const char* value,
size_t size) {
782 set_has_field_name();
783 if (field_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
784 field_name_ = new ::std::string;
786 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::GetEmptyStringAlreadyInited()) {
792 field_name_ = new ::std::string;
797 inline ::std::string* FieldMeta::release_field_name() {
798 clear_has_field_name();
799 if (field_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
802 ::std::string* temp = field_name_;
803 field_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
807 inline void FieldMeta::set_allocated_field_name(::std::string* field_name) {
808 if (field_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
812 set_has_field_name();
813 field_name_ = field_name;
815 clear_has_field_name();
816 field_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
822 inline bool FieldMeta::has_field_alias()
const {
823 return (_has_bits_[0] & 0x00000002u) != 0;
825 inline void FieldMeta::set_has_field_alias() {
826 _has_bits_[0] |= 0x00000002u;
828 inline void FieldMeta::clear_has_field_alias() {
829 _has_bits_[0] &= ~0x00000002u;
831 inline void FieldMeta::clear_field_alias() {
832 if (field_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
833 field_alias_->clear();
835 clear_has_field_alias();
837 inline const ::std::string& FieldMeta::field_alias()
const {
839 return *field_alias_;
841 inline void FieldMeta::set_field_alias(const ::std::string& value) {
842 set_has_field_alias();
843 if (field_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
844 field_alias_ = new ::std::string;
846 field_alias_->assign(value);
849 inline void FieldMeta::set_field_alias(
const char* value) {
850 set_has_field_alias();
851 if (field_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
852 field_alias_ = new ::std::string;
854 field_alias_->assign(value);
857 inline void FieldMeta::set_field_alias(
const char* value,
size_t size) {
858 set_has_field_alias();
859 if (field_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
860 field_alias_ = new ::std::string;
862 field_alias_->assign(reinterpret_cast<const char*>(value), size);
865 inline ::std::string* FieldMeta::mutable_field_alias() {
866 set_has_field_alias();
867 if (field_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
868 field_alias_ = new ::std::string;
873 inline ::std::string* FieldMeta::release_field_alias() {
874 clear_has_field_alias();
875 if (field_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
878 ::std::string* temp = field_alias_;
879 field_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
883 inline void FieldMeta::set_allocated_field_alias(::std::string* field_alias) {
884 if (field_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
888 set_has_field_alias();
889 field_alias_ = field_alias;
891 clear_has_field_alias();
892 field_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
898 inline bool FieldMeta::has_table_name()
const {
899 return (_has_bits_[0] & 0x00000004u) != 0;
901 inline void FieldMeta::set_has_table_name() {
902 _has_bits_[0] |= 0x00000004u;
904 inline void FieldMeta::clear_has_table_name() {
905 _has_bits_[0] &= ~0x00000004u;
907 inline void FieldMeta::clear_table_name() {
908 if (table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
909 table_name_->clear();
911 clear_has_table_name();
913 inline const ::std::string& FieldMeta::table_name()
const {
917 inline void FieldMeta::set_table_name(const ::std::string& value) {
918 set_has_table_name();
919 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
920 table_name_ = new ::std::string;
922 table_name_->assign(value);
925 inline void FieldMeta::set_table_name(
const char* value) {
926 set_has_table_name();
927 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
928 table_name_ = new ::std::string;
930 table_name_->assign(value);
933 inline void FieldMeta::set_table_name(
const char* value,
size_t size) {
934 set_has_table_name();
935 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
936 table_name_ = new ::std::string;
938 table_name_->assign(reinterpret_cast<const char*>(value), size);
941 inline ::std::string* FieldMeta::mutable_table_name() {
942 set_has_table_name();
943 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
944 table_name_ = new ::std::string;
949 inline ::std::string* FieldMeta::release_table_name() {
950 clear_has_table_name();
951 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
954 ::std::string* temp = table_name_;
955 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
959 inline void FieldMeta::set_allocated_table_name(::std::string* table_name) {
960 if (table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
964 set_has_table_name();
965 table_name_ = table_name;
967 clear_has_table_name();
968 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
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::GetEmptyStringAlreadyInited()) {
985 table_alias_->clear();
987 clear_has_table_alias();
989 inline const ::std::string& FieldMeta::table_alias()
const {
991 return *table_alias_;
993 inline void FieldMeta::set_table_alias(const ::std::string& value) {
994 set_has_table_alias();
995 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
996 table_alias_ = new ::std::string;
998 table_alias_->assign(value);
1001 inline void FieldMeta::set_table_alias(
const char* value) {
1002 set_has_table_alias();
1003 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1004 table_alias_ = new ::std::string;
1006 table_alias_->assign(value);
1009 inline void FieldMeta::set_table_alias(
const char* value,
size_t size) {
1010 set_has_table_alias();
1011 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1012 table_alias_ = new ::std::string;
1014 table_alias_->assign(reinterpret_cast<const char*>(value), size);
1017 inline ::std::string* FieldMeta::mutable_table_alias() {
1018 set_has_table_alias();
1019 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1020 table_alias_ = new ::std::string;
1023 return table_alias_;
1025 inline ::std::string* FieldMeta::release_table_alias() {
1026 clear_has_table_alias();
1027 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1030 ::std::string* temp = table_alias_;
1031 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1035 inline void FieldMeta::set_allocated_table_alias(::std::string* table_alias) {
1036 if (table_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1037 delete table_alias_;
1040 set_has_table_alias();
1041 table_alias_ = table_alias;
1043 clear_has_table_alias();
1044 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1050 inline bool FieldMeta::has_schema_name()
const {
1051 return (_has_bits_[0] & 0x00000010u) != 0;
1053 inline void FieldMeta::set_has_schema_name() {
1054 _has_bits_[0] |= 0x00000010u;
1056 inline void FieldMeta::clear_has_schema_name() {
1057 _has_bits_[0] &= ~0x00000010u;
1059 inline void FieldMeta::clear_schema_name() {
1060 if (schema_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1061 schema_name_->clear();
1063 clear_has_schema_name();
1065 inline const ::std::string& FieldMeta::schema_name()
const {
1067 return *schema_name_;
1069 inline void FieldMeta::set_schema_name(const ::std::string& value) {
1070 set_has_schema_name();
1071 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1072 schema_name_ = new ::std::string;
1074 schema_name_->assign(value);
1077 inline void FieldMeta::set_schema_name(
const char* value) {
1078 set_has_schema_name();
1079 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1080 schema_name_ = new ::std::string;
1082 schema_name_->assign(value);
1085 inline void FieldMeta::set_schema_name(
const char* value,
size_t size) {
1086 set_has_schema_name();
1087 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1088 schema_name_ = new ::std::string;
1090 schema_name_->assign(reinterpret_cast<const char*>(value), size);
1093 inline ::std::string* FieldMeta::mutable_schema_name() {
1094 set_has_schema_name();
1095 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1096 schema_name_ = new ::std::string;
1099 return schema_name_;
1101 inline ::std::string* FieldMeta::release_schema_name() {
1102 clear_has_schema_name();
1103 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1106 ::std::string* temp = schema_name_;
1107 schema_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1111 inline void FieldMeta::set_allocated_schema_name(::std::string* schema_name) {
1112 if (schema_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1113 delete schema_name_;
1116 set_has_schema_name();
1117 schema_name_ = schema_name;
1119 clear_has_schema_name();
1120 schema_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1130 inline bool TableMeta::has_schema_name()
const {
1131 return (_has_bits_[0] & 0x00000001u) != 0;
1133 inline void TableMeta::set_has_schema_name() {
1134 _has_bits_[0] |= 0x00000001u;
1136 inline void TableMeta::clear_has_schema_name() {
1137 _has_bits_[0] &= ~0x00000001u;
1139 inline void TableMeta::clear_schema_name() {
1140 if (schema_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1141 schema_name_->clear();
1143 clear_has_schema_name();
1145 inline const ::std::string& TableMeta::schema_name()
const {
1147 return *schema_name_;
1149 inline void TableMeta::set_schema_name(const ::std::string& value) {
1150 set_has_schema_name();
1151 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1152 schema_name_ = new ::std::string;
1154 schema_name_->assign(value);
1157 inline void TableMeta::set_schema_name(
const char* value) {
1158 set_has_schema_name();
1159 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1160 schema_name_ = new ::std::string;
1162 schema_name_->assign(value);
1165 inline void TableMeta::set_schema_name(
const char* value,
size_t size) {
1166 set_has_schema_name();
1167 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1168 schema_name_ = new ::std::string;
1170 schema_name_->assign(reinterpret_cast<const char*>(value), size);
1173 inline ::std::string* TableMeta::mutable_schema_name() {
1174 set_has_schema_name();
1175 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1176 schema_name_ = new ::std::string;
1179 return schema_name_;
1181 inline ::std::string* TableMeta::release_schema_name() {
1182 clear_has_schema_name();
1183 if (schema_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1186 ::std::string* temp = schema_name_;
1187 schema_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1191 inline void TableMeta::set_allocated_schema_name(::std::string* schema_name) {
1192 if (schema_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1193 delete schema_name_;
1196 set_has_schema_name();
1197 schema_name_ = schema_name;
1199 clear_has_schema_name();
1200 schema_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1206 inline bool TableMeta::has_table_name()
const {
1207 return (_has_bits_[0] & 0x00000002u) != 0;
1209 inline void TableMeta::set_has_table_name() {
1210 _has_bits_[0] |= 0x00000002u;
1212 inline void TableMeta::clear_has_table_name() {
1213 _has_bits_[0] &= ~0x00000002u;
1215 inline void TableMeta::clear_table_name() {
1216 if (table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1217 table_name_->clear();
1219 clear_has_table_name();
1221 inline const ::std::string& TableMeta::table_name()
const {
1223 return *table_name_;
1225 inline void TableMeta::set_table_name(const ::std::string& value) {
1226 set_has_table_name();
1227 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1228 table_name_ = new ::std::string;
1230 table_name_->assign(value);
1233 inline void TableMeta::set_table_name(
const char* value) {
1234 set_has_table_name();
1235 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1236 table_name_ = new ::std::string;
1238 table_name_->assign(value);
1241 inline void TableMeta::set_table_name(
const char* value,
size_t size) {
1242 set_has_table_name();
1243 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1244 table_name_ = new ::std::string;
1246 table_name_->assign(reinterpret_cast<const char*>(value), size);
1249 inline ::std::string* TableMeta::mutable_table_name() {
1250 set_has_table_name();
1251 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1252 table_name_ = new ::std::string;
1257 inline ::std::string* TableMeta::release_table_name() {
1258 clear_has_table_name();
1259 if (table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1262 ::std::string* temp = table_name_;
1263 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1267 inline void TableMeta::set_allocated_table_name(::std::string* table_name) {
1268 if (table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1272 set_has_table_name();
1273 table_name_ = table_name;
1275 clear_has_table_name();
1276 table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1282 inline bool TableMeta::has_table_alias()
const {
1283 return (_has_bits_[0] & 0x00000004u) != 0;
1285 inline void TableMeta::set_has_table_alias() {
1286 _has_bits_[0] |= 0x00000004u;
1288 inline void TableMeta::clear_has_table_alias() {
1289 _has_bits_[0] &= ~0x00000004u;
1291 inline void TableMeta::clear_table_alias() {
1292 if (table_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1293 table_alias_->clear();
1295 clear_has_table_alias();
1297 inline const ::std::string& TableMeta::table_alias()
const {
1299 return *table_alias_;
1301 inline void TableMeta::set_table_alias(const ::std::string& value) {
1302 set_has_table_alias();
1303 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1304 table_alias_ = new ::std::string;
1306 table_alias_->assign(value);
1309 inline void TableMeta::set_table_alias(
const char* value) {
1310 set_has_table_alias();
1311 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1312 table_alias_ = new ::std::string;
1314 table_alias_->assign(value);
1317 inline void TableMeta::set_table_alias(
const char* value,
size_t size) {
1318 set_has_table_alias();
1319 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1320 table_alias_ = new ::std::string;
1322 table_alias_->assign(reinterpret_cast<const char*>(value), size);
1325 inline ::std::string* TableMeta::mutable_table_alias() {
1326 set_has_table_alias();
1327 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1328 table_alias_ = new ::std::string;
1331 return table_alias_;
1333 inline ::std::string* TableMeta::release_table_alias() {
1334 clear_has_table_alias();
1335 if (table_alias_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1338 ::std::string* temp = table_alias_;
1339 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1343 inline void TableMeta::set_allocated_table_alias(::std::string* table_alias) {
1344 if (table_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1345 delete table_alias_;
1348 set_has_table_alias();
1349 table_alias_ = table_alias;
1351 clear_has_table_alias();
1352 table_alias_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1362 inline int SelectRecord::record_value_size()
const {
1363 return record_value_.size();
1365 inline void SelectRecord::clear_record_value() {
1366 record_value_.Clear();
1368 inline const ::std::string& SelectRecord::record_value(
int index)
const {
1370 return record_value_.Get(index);
1372 inline ::std::string* SelectRecord::mutable_record_value(
int index) {
1374 return record_value_.Mutable(index);
1376 inline void SelectRecord::set_record_value(
int index, const ::std::string& value) {
1378 record_value_.Mutable(index)->assign(value);
1380 inline void SelectRecord::set_record_value(
int index,
const char* value) {
1381 record_value_.Mutable(index)->assign(value);
1384 inline void SelectRecord::set_record_value(
int index,
const void* value,
size_t size) {
1385 record_value_.Mutable(index)->assign(
1386 reinterpret_cast<const char*>(value), size);
1389 inline ::std::string* SelectRecord::add_record_value() {
1390 return record_value_.Add();
1392 inline void SelectRecord::add_record_value(const ::std::string& value) {
1393 record_value_.Add()->assign(value);
1396 inline void SelectRecord::add_record_value(
const char* value) {
1397 record_value_.Add()->assign(value);
1400 inline void SelectRecord::add_record_value(
const void* value,
size_t size) {
1401 record_value_.Add()->assign(reinterpret_cast<const char*>(value), size);
1404 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1405 SelectRecord::record_value()
const {
1407 return record_value_;
1409 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1410 SelectRecord::mutable_record_value() {
1412 return &record_value_;
1416 inline int SelectRecord::is_null_size()
const {
1417 return is_null_.size();
1419 inline void SelectRecord::clear_is_null() {
1422 inline bool SelectRecord::is_null(
int index)
const {
1424 return is_null_.Get(index);
1426 inline void SelectRecord::set_is_null(
int index,
bool value) {
1427 is_null_.Set(index, value);
1430 inline void SelectRecord::add_is_null(
bool value) {
1431 is_null_.Add(value);
1434 inline const ::google::protobuf::RepeatedField< bool >&
1435 SelectRecord::is_null()
const {
1439 inline ::google::protobuf::RepeatedField< bool >*
1440 SelectRecord::mutable_is_null() {
1450 inline int SelectHeader::table_meta_size()
const {
1451 return table_meta_.size();
1453 inline void SelectHeader::clear_table_meta() {
1454 table_meta_.Clear();
1456 inline const ::drizzled::message::TableMeta& SelectHeader::table_meta(
int index)
const {
1458 return table_meta_.Get(index);
1460 inline ::drizzled::message::TableMeta* SelectHeader::mutable_table_meta(
int index) {
1462 return table_meta_.Mutable(index);
1464 inline ::drizzled::message::TableMeta* SelectHeader::add_table_meta() {
1466 return table_meta_.Add();
1468 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >&
1469 SelectHeader::table_meta()
const {
1473 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::TableMeta >*
1474 SelectHeader::mutable_table_meta() {
1476 return &table_meta_;
1480 inline int SelectHeader::field_meta_size()
const {
1481 return field_meta_.size();
1483 inline void SelectHeader::clear_field_meta() {
1484 field_meta_.Clear();
1486 inline const ::drizzled::message::FieldMeta& SelectHeader::field_meta(
int index)
const {
1488 return field_meta_.Get(index);
1490 inline ::drizzled::message::FieldMeta* SelectHeader::mutable_field_meta(
int index) {
1492 return field_meta_.Mutable(index);
1494 inline ::drizzled::message::FieldMeta* SelectHeader::add_field_meta() {
1496 return field_meta_.Add();
1498 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >&
1499 SelectHeader::field_meta()
const {
1503 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::FieldMeta >*
1504 SelectHeader::mutable_field_meta() {
1506 return &field_meta_;
1514 inline bool SelectData::has_segment_id()
const {
1515 return (_has_bits_[0] & 0x00000001u) != 0;
1517 inline void SelectData::set_has_segment_id() {
1518 _has_bits_[0] |= 0x00000001u;
1520 inline void SelectData::clear_has_segment_id() {
1521 _has_bits_[0] &= ~0x00000001u;
1523 inline void SelectData::clear_segment_id() {
1525 clear_has_segment_id();
1527 inline ::google::protobuf::uint32 SelectData::segment_id()
const {
1531 inline void SelectData::set_segment_id(::google::protobuf::uint32 value) {
1532 set_has_segment_id();
1533 segment_id_ = value;
1538 inline bool SelectData::has_end_segment()
const {
1539 return (_has_bits_[0] & 0x00000002u) != 0;
1541 inline void SelectData::set_has_end_segment() {
1542 _has_bits_[0] |= 0x00000002u;
1544 inline void SelectData::clear_has_end_segment() {
1545 _has_bits_[0] &= ~0x00000002u;
1547 inline void SelectData::clear_end_segment() {
1548 end_segment_ =
false;
1549 clear_has_end_segment();
1551 inline bool SelectData::end_segment()
const {
1553 return end_segment_;
1555 inline void SelectData::set_end_segment(
bool value) {
1556 set_has_end_segment();
1557 end_segment_ = value;
1562 inline int SelectData::record_size()
const {
1563 return record_.size();
1565 inline void SelectData::clear_record() {
1568 inline const ::drizzled::message::SelectRecord& SelectData::record(
int index)
const {
1570 return record_.Get(index);
1572 inline ::drizzled::message::SelectRecord* SelectData::mutable_record(
int index) {
1574 return record_.Mutable(index);
1576 inline ::drizzled::message::SelectRecord* SelectData::add_record() {
1578 return record_.Add();
1580 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >&
1581 SelectData::record()
const {
1585 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::SelectRecord >*
1586 SelectData::mutable_record() {
1596 inline bool Resultset::has_key()
const {
1597 return (_has_bits_[0] & 0x00000001u) != 0;
1599 inline void Resultset::set_has_key() {
1600 _has_bits_[0] |= 0x00000001u;
1602 inline void Resultset::clear_has_key() {
1603 _has_bits_[0] &= ~0x00000001u;
1605 inline void Resultset::clear_key() {
1606 if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1611 inline const ::std::string& Resultset::key()
const {
1615 inline void Resultset::set_key(const ::std::string& value) {
1617 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1618 key_ = new ::std::string;
1620 key_->assign(value);
1623 inline void Resultset::set_key(
const char* value) {
1625 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1626 key_ = new ::std::string;
1628 key_->assign(value);
1631 inline void Resultset::set_key(
const char* value,
size_t size) {
1633 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1634 key_ = new ::std::string;
1636 key_->assign(reinterpret_cast<const char*>(value), size);
1639 inline ::std::string* Resultset::mutable_key() {
1641 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1642 key_ = new ::std::string;
1647 inline ::std::string* Resultset::release_key() {
1649 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1652 ::std::string* temp = key_;
1653 key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1657 inline void Resultset::set_allocated_key(::std::string* key) {
1658 if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1666 key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1672 inline bool Resultset::has_schema()
const {
1673 return (_has_bits_[0] & 0x00000002u) != 0;
1675 inline void Resultset::set_has_schema() {
1676 _has_bits_[0] |= 0x00000002u;
1678 inline void Resultset::clear_has_schema() {
1679 _has_bits_[0] &= ~0x00000002u;
1681 inline void Resultset::clear_schema() {
1682 if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1687 inline const ::std::string& Resultset::schema()
const {
1691 inline void Resultset::set_schema(const ::std::string& value) {
1693 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1694 schema_ = new ::std::string;
1696 schema_->assign(value);
1699 inline void Resultset::set_schema(
const char* value) {
1701 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1702 schema_ = new ::std::string;
1704 schema_->assign(value);
1707 inline void Resultset::set_schema(
const char* value,
size_t size) {
1709 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1710 schema_ = new ::std::string;
1712 schema_->assign(reinterpret_cast<const char*>(value), size);
1715 inline ::std::string* Resultset::mutable_schema() {
1717 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1718 schema_ = new ::std::string;
1723 inline ::std::string* Resultset::release_schema() {
1725 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1728 ::std::string* temp = schema_;
1729 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1733 inline void Resultset::set_allocated_schema(::std::string* schema) {
1734 if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1742 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1748 inline bool Resultset::has_sql()
const {
1749 return (_has_bits_[0] & 0x00000004u) != 0;
1751 inline void Resultset::set_has_sql() {
1752 _has_bits_[0] |= 0x00000004u;
1754 inline void Resultset::clear_has_sql() {
1755 _has_bits_[0] &= ~0x00000004u;
1757 inline void Resultset::clear_sql() {
1758 if (sql_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1763 inline const ::std::string& Resultset::sql()
const {
1767 inline void Resultset::set_sql(const ::std::string& value) {
1769 if (sql_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1770 sql_ = new ::std::string;
1772 sql_->assign(value);
1775 inline void Resultset::set_sql(
const char* value) {
1777 if (sql_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1778 sql_ = new ::std::string;
1780 sql_->assign(value);
1783 inline void Resultset::set_sql(
const char* value,
size_t size) {
1785 if (sql_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1786 sql_ = new ::std::string;
1788 sql_->assign(reinterpret_cast<const char*>(value), size);
1791 inline ::std::string* Resultset::mutable_sql() {
1793 if (sql_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1794 sql_ = new ::std::string;
1799 inline ::std::string* Resultset::release_sql() {
1801 if (sql_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1804 ::std::string* temp = sql_;
1805 sql_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1809 inline void Resultset::set_allocated_sql(::std::string* sql) {
1810 if (sql_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1818 sql_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1824 inline bool Resultset::has_select_header()
const {
1825 return (_has_bits_[0] & 0x00000008u) != 0;
1827 inline void Resultset::set_has_select_header() {
1828 _has_bits_[0] |= 0x00000008u;
1830 inline void Resultset::clear_has_select_header() {
1831 _has_bits_[0] &= ~0x00000008u;
1833 inline void Resultset::clear_select_header() {
1834 if (select_header_ != NULL) select_header_->::drizzled::message::SelectHeader::Clear();
1835 clear_has_select_header();
1837 inline const ::drizzled::message::SelectHeader& Resultset::select_header()
const {
1839 return select_header_ != NULL ? *select_header_ : *default_instance_->select_header_;
1841 inline ::drizzled::message::SelectHeader* Resultset::mutable_select_header() {
1842 set_has_select_header();
1843 if (select_header_ == NULL) select_header_ = new ::drizzled::message::SelectHeader;
1845 return select_header_;
1847 inline ::drizzled::message::SelectHeader* Resultset::release_select_header() {
1848 clear_has_select_header();
1850 select_header_ = NULL;
1854 delete select_header_;
1855 select_header_ = select_header;
1856 if (select_header) {
1857 set_has_select_header();
1859 clear_has_select_header();
1865 inline bool Resultset::has_select_data()
const {
1866 return (_has_bits_[0] & 0x00000010u) != 0;
1868 inline void Resultset::set_has_select_data() {
1869 _has_bits_[0] |= 0x00000010u;
1871 inline void Resultset::clear_has_select_data() {
1872 _has_bits_[0] &= ~0x00000010u;
1874 inline void Resultset::clear_select_data() {
1875 if (select_data_ != NULL) select_data_->::drizzled::message::SelectData::Clear();
1876 clear_has_select_data();
1878 inline const ::drizzled::message::SelectData& Resultset::select_data()
const {
1880 return select_data_ != NULL ? *select_data_ : *default_instance_->select_data_;
1882 inline ::drizzled::message::SelectData* Resultset::mutable_select_data() {
1883 set_has_select_data();
1884 if (select_data_ == NULL) select_data_ = new ::drizzled::message::SelectData;
1886 return select_data_;
1888 inline ::drizzled::message::SelectData* Resultset::release_select_data() {
1889 clear_has_select_data();
1891 select_data_ = NULL;
1895 delete select_data_;
1896 select_data_ = select_data;
1898 set_has_select_data();
1900 clear_has_select_data();
1913 namespace protobuf {
1922 #endif // PROTOBUF_resultset_2eproto__INCLUDED
TODO: Rename this file - func.h is stupid.