1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: mysqlx_resultset.proto
3 
4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
5 #include "mysqlx_resultset.pb.h"
6 
7 #include <algorithm>
8 
9 #include <google/protobuf/stubs/common.h>
10 #include <google/protobuf/stubs/once.h>
11 #include <google/protobuf/io/coded_stream.h>
12 #include <google/protobuf/wire_format_lite_inl.h>
13 #include <google/protobuf/io/zero_copy_stream_impl_lite.h>
14 // @@protoc_insertion_point(includes)
15 
16 namespace Mysqlx {
17 namespace Resultset {
18 
protobuf_ShutdownFile_mysqlx_5fresultset_2eproto()19 void protobuf_ShutdownFile_mysqlx_5fresultset_2eproto() {
20   delete FetchDoneMoreOutParams::default_instance_;
21   delete FetchDoneMoreResultsets::default_instance_;
22   delete FetchDone::default_instance_;
23   delete ColumnMetaData::default_instance_;
24   delete Row::default_instance_;
25 }
26 
27 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
protobuf_AddDesc_mysqlx_5fresultset_2eproto_impl()28 void protobuf_AddDesc_mysqlx_5fresultset_2eproto_impl() {
29   GOOGLE_PROTOBUF_VERIFY_VERSION;
30 
31 #else
32 void protobuf_AddDesc_mysqlx_5fresultset_2eproto() {
33   static bool already_here = false;
34   if (already_here) return;
35   already_here = true;
36   GOOGLE_PROTOBUF_VERIFY_VERSION;
37 
38 #endif
39   FetchDoneMoreOutParams::default_instance_ = new FetchDoneMoreOutParams();
40   FetchDoneMoreResultsets::default_instance_ = new FetchDoneMoreResultsets();
41   FetchDone::default_instance_ = new FetchDone();
42   ColumnMetaData::default_instance_ = new ColumnMetaData();
43   Row::default_instance_ = new Row();
44   FetchDoneMoreOutParams::default_instance_->InitAsDefaultInstance();
45   FetchDoneMoreResultsets::default_instance_->InitAsDefaultInstance();
46   FetchDone::default_instance_->InitAsDefaultInstance();
47   ColumnMetaData::default_instance_->InitAsDefaultInstance();
48   Row::default_instance_->InitAsDefaultInstance();
49   ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_mysqlx_5fresultset_2eproto);
50 }
51 
52 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
53 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_mysqlx_5fresultset_2eproto_once_);
54 void protobuf_AddDesc_mysqlx_5fresultset_2eproto() {
55   ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_mysqlx_5fresultset_2eproto_once_,
56                  &protobuf_AddDesc_mysqlx_5fresultset_2eproto_impl);
57 }
58 #else
59 // Force AddDescriptors() to be called at static initialization time.
60 struct StaticDescriptorInitializer_mysqlx_5fresultset_2eproto {
61   StaticDescriptorInitializer_mysqlx_5fresultset_2eproto() {
62     protobuf_AddDesc_mysqlx_5fresultset_2eproto();
63   }
64 } static_descriptor_initializer_mysqlx_5fresultset_2eproto_;
65 #endif
66 
67 // ===================================================================
68 
69 #ifndef _MSC_VER
70 #endif  // !_MSC_VER
71 
72 FetchDoneMoreOutParams::FetchDoneMoreOutParams()
73   : ::google::protobuf::MessageLite() {
74   SharedCtor();
75   // @@protoc_insertion_point(constructor:Mysqlx.Resultset.FetchDoneMoreOutParams)
76 }
77 
78 void FetchDoneMoreOutParams::InitAsDefaultInstance() {
79 }
80 
81 FetchDoneMoreOutParams::FetchDoneMoreOutParams(const FetchDoneMoreOutParams& from)
82   : ::google::protobuf::MessageLite() {
83   SharedCtor();
84   MergeFrom(from);
85   // @@protoc_insertion_point(copy_constructor:Mysqlx.Resultset.FetchDoneMoreOutParams)
86 }
87 
88 void FetchDoneMoreOutParams::SharedCtor() {
89   _cached_size_ = 0;
90   ::memset(_has_bits_, 0, sizeof(_has_bits_));
91 }
92 
93 FetchDoneMoreOutParams::~FetchDoneMoreOutParams() {
94   // @@protoc_insertion_point(destructor:Mysqlx.Resultset.FetchDoneMoreOutParams)
95   SharedDtor();
96 }
97 
98 void FetchDoneMoreOutParams::SharedDtor() {
99   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
100   if (this != &default_instance()) {
101   #else
102   if (this != default_instance_) {
103   #endif
104   }
105 }
106 
107 void FetchDoneMoreOutParams::SetCachedSize(int size) const {
108   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
109   _cached_size_ = size;
110   GOOGLE_SAFE_CONCURRENT_WRITES_END();
111 }
112 const FetchDoneMoreOutParams& FetchDoneMoreOutParams::default_instance() {
113 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
114   protobuf_AddDesc_mysqlx_5fresultset_2eproto();
115 #else
116   if (default_instance_ == NULL) protobuf_AddDesc_mysqlx_5fresultset_2eproto();
117 #endif
118   return *default_instance_;
119 }
120 
121 FetchDoneMoreOutParams* FetchDoneMoreOutParams::default_instance_ = NULL;
122 
123 FetchDoneMoreOutParams* FetchDoneMoreOutParams::New() const {
124   return new FetchDoneMoreOutParams;
125 }
126 
127 void FetchDoneMoreOutParams::Clear() {
128   ::memset(_has_bits_, 0, sizeof(_has_bits_));
129   mutable_unknown_fields()->clear();
130 }
131 
132 bool FetchDoneMoreOutParams::MergePartialFromCodedStream(
133     ::google::protobuf::io::CodedInputStream* input) {
134 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
135   ::google::protobuf::uint32 tag;
136   ::google::protobuf::io::StringOutputStream unknown_fields_string(
137       mutable_unknown_fields());
138   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
139       &unknown_fields_string);
140   // @@protoc_insertion_point(parse_start:Mysqlx.Resultset.FetchDoneMoreOutParams)
141   for (;;) {
142     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
143     tag = p.first;
144     if (!p.second) goto handle_unusual;
145   handle_unusual:
146     if (tag == 0 ||
147         ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
148         ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
149       goto success;
150     }
151     DO_(::google::protobuf::internal::WireFormatLite::SkipField(
152         input, tag, &unknown_fields_stream));
153   }
154 success:
155   // @@protoc_insertion_point(parse_success:Mysqlx.Resultset.FetchDoneMoreOutParams)
156   return true;
157 failure:
158   // @@protoc_insertion_point(parse_failure:Mysqlx.Resultset.FetchDoneMoreOutParams)
159   return false;
160 #undef DO_
161 }
162 
163 void FetchDoneMoreOutParams::SerializeWithCachedSizes(
164     ::google::protobuf::io::CodedOutputStream* output) const {
165   // @@protoc_insertion_point(serialize_start:Mysqlx.Resultset.FetchDoneMoreOutParams)
166   output->WriteRaw(unknown_fields().data(),
167                    unknown_fields().size());
168   // @@protoc_insertion_point(serialize_end:Mysqlx.Resultset.FetchDoneMoreOutParams)
169 }
170 
171 int FetchDoneMoreOutParams::ByteSize() const {
172   int total_size = 0;
173 
174   total_size += unknown_fields().size();
175 
176   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
177   _cached_size_ = total_size;
178   GOOGLE_SAFE_CONCURRENT_WRITES_END();
179   return total_size;
180 }
181 
182 void FetchDoneMoreOutParams::CheckTypeAndMergeFrom(
183     const ::google::protobuf::MessageLite& from) {
184   MergeFrom(*::google::protobuf::down_cast<const FetchDoneMoreOutParams*>(&from));
185 }
186 
187 void FetchDoneMoreOutParams::MergeFrom(const FetchDoneMoreOutParams& from) {
188   GOOGLE_CHECK_NE(&from, this);
189   mutable_unknown_fields()->append(from.unknown_fields());
190 }
191 
192 void FetchDoneMoreOutParams::CopyFrom(const FetchDoneMoreOutParams& from) {
193   if (&from == this) return;
194   Clear();
195   MergeFrom(from);
196 }
197 
198 bool FetchDoneMoreOutParams::IsInitialized() const {
199 
200   return true;
201 }
202 
203 void FetchDoneMoreOutParams::Swap(FetchDoneMoreOutParams* other) {
204   if (other != this) {
205     _unknown_fields_.swap(other->_unknown_fields_);
206     std::swap(_cached_size_, other->_cached_size_);
207   }
208 }
209 
210 ::std::string FetchDoneMoreOutParams::GetTypeName() const {
211   return "Mysqlx.Resultset.FetchDoneMoreOutParams";
212 }
213 
214 
215 // ===================================================================
216 
217 #ifndef _MSC_VER
218 #endif  // !_MSC_VER
219 
220 FetchDoneMoreResultsets::FetchDoneMoreResultsets()
221   : ::google::protobuf::MessageLite() {
222   SharedCtor();
223   // @@protoc_insertion_point(constructor:Mysqlx.Resultset.FetchDoneMoreResultsets)
224 }
225 
226 void FetchDoneMoreResultsets::InitAsDefaultInstance() {
227 }
228 
229 FetchDoneMoreResultsets::FetchDoneMoreResultsets(const FetchDoneMoreResultsets& from)
230   : ::google::protobuf::MessageLite() {
231   SharedCtor();
232   MergeFrom(from);
233   // @@protoc_insertion_point(copy_constructor:Mysqlx.Resultset.FetchDoneMoreResultsets)
234 }
235 
236 void FetchDoneMoreResultsets::SharedCtor() {
237   _cached_size_ = 0;
238   ::memset(_has_bits_, 0, sizeof(_has_bits_));
239 }
240 
241 FetchDoneMoreResultsets::~FetchDoneMoreResultsets() {
242   // @@protoc_insertion_point(destructor:Mysqlx.Resultset.FetchDoneMoreResultsets)
243   SharedDtor();
244 }
245 
246 void FetchDoneMoreResultsets::SharedDtor() {
247   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
248   if (this != &default_instance()) {
249   #else
250   if (this != default_instance_) {
251   #endif
252   }
253 }
254 
255 void FetchDoneMoreResultsets::SetCachedSize(int size) const {
256   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
257   _cached_size_ = size;
258   GOOGLE_SAFE_CONCURRENT_WRITES_END();
259 }
260 const FetchDoneMoreResultsets& FetchDoneMoreResultsets::default_instance() {
261 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
262   protobuf_AddDesc_mysqlx_5fresultset_2eproto();
263 #else
264   if (default_instance_ == NULL) protobuf_AddDesc_mysqlx_5fresultset_2eproto();
265 #endif
266   return *default_instance_;
267 }
268 
269 FetchDoneMoreResultsets* FetchDoneMoreResultsets::default_instance_ = NULL;
270 
271 FetchDoneMoreResultsets* FetchDoneMoreResultsets::New() const {
272   return new FetchDoneMoreResultsets;
273 }
274 
275 void FetchDoneMoreResultsets::Clear() {
276   ::memset(_has_bits_, 0, sizeof(_has_bits_));
277   mutable_unknown_fields()->clear();
278 }
279 
280 bool FetchDoneMoreResultsets::MergePartialFromCodedStream(
281     ::google::protobuf::io::CodedInputStream* input) {
282 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
283   ::google::protobuf::uint32 tag;
284   ::google::protobuf::io::StringOutputStream unknown_fields_string(
285       mutable_unknown_fields());
286   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
287       &unknown_fields_string);
288   // @@protoc_insertion_point(parse_start:Mysqlx.Resultset.FetchDoneMoreResultsets)
289   for (;;) {
290     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
291     tag = p.first;
292     if (!p.second) goto handle_unusual;
293   handle_unusual:
294     if (tag == 0 ||
295         ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
296         ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
297       goto success;
298     }
299     DO_(::google::protobuf::internal::WireFormatLite::SkipField(
300         input, tag, &unknown_fields_stream));
301   }
302 success:
303   // @@protoc_insertion_point(parse_success:Mysqlx.Resultset.FetchDoneMoreResultsets)
304   return true;
305 failure:
306   // @@protoc_insertion_point(parse_failure:Mysqlx.Resultset.FetchDoneMoreResultsets)
307   return false;
308 #undef DO_
309 }
310 
311 void FetchDoneMoreResultsets::SerializeWithCachedSizes(
312     ::google::protobuf::io::CodedOutputStream* output) const {
313   // @@protoc_insertion_point(serialize_start:Mysqlx.Resultset.FetchDoneMoreResultsets)
314   output->WriteRaw(unknown_fields().data(),
315                    unknown_fields().size());
316   // @@protoc_insertion_point(serialize_end:Mysqlx.Resultset.FetchDoneMoreResultsets)
317 }
318 
319 int FetchDoneMoreResultsets::ByteSize() const {
320   int total_size = 0;
321 
322   total_size += unknown_fields().size();
323 
324   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
325   _cached_size_ = total_size;
326   GOOGLE_SAFE_CONCURRENT_WRITES_END();
327   return total_size;
328 }
329 
330 void FetchDoneMoreResultsets::CheckTypeAndMergeFrom(
331     const ::google::protobuf::MessageLite& from) {
332   MergeFrom(*::google::protobuf::down_cast<const FetchDoneMoreResultsets*>(&from));
333 }
334 
335 void FetchDoneMoreResultsets::MergeFrom(const FetchDoneMoreResultsets& from) {
336   GOOGLE_CHECK_NE(&from, this);
337   mutable_unknown_fields()->append(from.unknown_fields());
338 }
339 
340 void FetchDoneMoreResultsets::CopyFrom(const FetchDoneMoreResultsets& from) {
341   if (&from == this) return;
342   Clear();
343   MergeFrom(from);
344 }
345 
346 bool FetchDoneMoreResultsets::IsInitialized() const {
347 
348   return true;
349 }
350 
351 void FetchDoneMoreResultsets::Swap(FetchDoneMoreResultsets* other) {
352   if (other != this) {
353     _unknown_fields_.swap(other->_unknown_fields_);
354     std::swap(_cached_size_, other->_cached_size_);
355   }
356 }
357 
358 ::std::string FetchDoneMoreResultsets::GetTypeName() const {
359   return "Mysqlx.Resultset.FetchDoneMoreResultsets";
360 }
361 
362 
363 // ===================================================================
364 
365 #ifndef _MSC_VER
366 #endif  // !_MSC_VER
367 
368 FetchDone::FetchDone()
369   : ::google::protobuf::MessageLite() {
370   SharedCtor();
371   // @@protoc_insertion_point(constructor:Mysqlx.Resultset.FetchDone)
372 }
373 
374 void FetchDone::InitAsDefaultInstance() {
375 }
376 
377 FetchDone::FetchDone(const FetchDone& from)
378   : ::google::protobuf::MessageLite() {
379   SharedCtor();
380   MergeFrom(from);
381   // @@protoc_insertion_point(copy_constructor:Mysqlx.Resultset.FetchDone)
382 }
383 
384 void FetchDone::SharedCtor() {
385   _cached_size_ = 0;
386   ::memset(_has_bits_, 0, sizeof(_has_bits_));
387 }
388 
389 FetchDone::~FetchDone() {
390   // @@protoc_insertion_point(destructor:Mysqlx.Resultset.FetchDone)
391   SharedDtor();
392 }
393 
394 void FetchDone::SharedDtor() {
395   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
396   if (this != &default_instance()) {
397   #else
398   if (this != default_instance_) {
399   #endif
400   }
401 }
402 
403 void FetchDone::SetCachedSize(int size) const {
404   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
405   _cached_size_ = size;
406   GOOGLE_SAFE_CONCURRENT_WRITES_END();
407 }
408 const FetchDone& FetchDone::default_instance() {
409 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
410   protobuf_AddDesc_mysqlx_5fresultset_2eproto();
411 #else
412   if (default_instance_ == NULL) protobuf_AddDesc_mysqlx_5fresultset_2eproto();
413 #endif
414   return *default_instance_;
415 }
416 
417 FetchDone* FetchDone::default_instance_ = NULL;
418 
419 FetchDone* FetchDone::New() const {
420   return new FetchDone;
421 }
422 
423 void FetchDone::Clear() {
424   ::memset(_has_bits_, 0, sizeof(_has_bits_));
425   mutable_unknown_fields()->clear();
426 }
427 
428 bool FetchDone::MergePartialFromCodedStream(
429     ::google::protobuf::io::CodedInputStream* input) {
430 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
431   ::google::protobuf::uint32 tag;
432   ::google::protobuf::io::StringOutputStream unknown_fields_string(
433       mutable_unknown_fields());
434   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
435       &unknown_fields_string);
436   // @@protoc_insertion_point(parse_start:Mysqlx.Resultset.FetchDone)
437   for (;;) {
438     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
439     tag = p.first;
440     if (!p.second) goto handle_unusual;
441   handle_unusual:
442     if (tag == 0 ||
443         ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
444         ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
445       goto success;
446     }
447     DO_(::google::protobuf::internal::WireFormatLite::SkipField(
448         input, tag, &unknown_fields_stream));
449   }
450 success:
451   // @@protoc_insertion_point(parse_success:Mysqlx.Resultset.FetchDone)
452   return true;
453 failure:
454   // @@protoc_insertion_point(parse_failure:Mysqlx.Resultset.FetchDone)
455   return false;
456 #undef DO_
457 }
458 
459 void FetchDone::SerializeWithCachedSizes(
460     ::google::protobuf::io::CodedOutputStream* output) const {
461   // @@protoc_insertion_point(serialize_start:Mysqlx.Resultset.FetchDone)
462   output->WriteRaw(unknown_fields().data(),
463                    unknown_fields().size());
464   // @@protoc_insertion_point(serialize_end:Mysqlx.Resultset.FetchDone)
465 }
466 
467 int FetchDone::ByteSize() const {
468   int total_size = 0;
469 
470   total_size += unknown_fields().size();
471 
472   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
473   _cached_size_ = total_size;
474   GOOGLE_SAFE_CONCURRENT_WRITES_END();
475   return total_size;
476 }
477 
478 void FetchDone::CheckTypeAndMergeFrom(
479     const ::google::protobuf::MessageLite& from) {
480   MergeFrom(*::google::protobuf::down_cast<const FetchDone*>(&from));
481 }
482 
483 void FetchDone::MergeFrom(const FetchDone& from) {
484   GOOGLE_CHECK_NE(&from, this);
485   mutable_unknown_fields()->append(from.unknown_fields());
486 }
487 
488 void FetchDone::CopyFrom(const FetchDone& from) {
489   if (&from == this) return;
490   Clear();
491   MergeFrom(from);
492 }
493 
494 bool FetchDone::IsInitialized() const {
495 
496   return true;
497 }
498 
499 void FetchDone::Swap(FetchDone* other) {
500   if (other != this) {
501     _unknown_fields_.swap(other->_unknown_fields_);
502     std::swap(_cached_size_, other->_cached_size_);
503   }
504 }
505 
506 ::std::string FetchDone::GetTypeName() const {
507   return "Mysqlx.Resultset.FetchDone";
508 }
509 
510 
511 // ===================================================================
512 
513 bool ColumnMetaData_FieldType_IsValid(int value) {
514   switch(value) {
515     case 1:
516     case 2:
517     case 5:
518     case 6:
519     case 7:
520     case 10:
521     case 12:
522     case 15:
523     case 16:
524     case 17:
525     case 18:
526       return true;
527     default:
528       return false;
529   }
530 }
531 
532 #ifndef _MSC_VER
533 const ColumnMetaData_FieldType ColumnMetaData::SINT;
534 const ColumnMetaData_FieldType ColumnMetaData::UINT;
535 const ColumnMetaData_FieldType ColumnMetaData::DOUBLE;
536 const ColumnMetaData_FieldType ColumnMetaData::FLOAT;
537 const ColumnMetaData_FieldType ColumnMetaData::BYTES;
538 const ColumnMetaData_FieldType ColumnMetaData::TIME;
539 const ColumnMetaData_FieldType ColumnMetaData::DATETIME;
540 const ColumnMetaData_FieldType ColumnMetaData::SET;
541 const ColumnMetaData_FieldType ColumnMetaData::ENUM;
542 const ColumnMetaData_FieldType ColumnMetaData::BIT;
543 const ColumnMetaData_FieldType ColumnMetaData::DECIMAL;
544 const ColumnMetaData_FieldType ColumnMetaData::FieldType_MIN;
545 const ColumnMetaData_FieldType ColumnMetaData::FieldType_MAX;
546 const int ColumnMetaData::FieldType_ARRAYSIZE;
547 #endif  // _MSC_VER
548 #ifndef _MSC_VER
549 const int ColumnMetaData::kTypeFieldNumber;
550 const int ColumnMetaData::kNameFieldNumber;
551 const int ColumnMetaData::kOriginalNameFieldNumber;
552 const int ColumnMetaData::kTableFieldNumber;
553 const int ColumnMetaData::kOriginalTableFieldNumber;
554 const int ColumnMetaData::kSchemaFieldNumber;
555 const int ColumnMetaData::kCatalogFieldNumber;
556 const int ColumnMetaData::kCollationFieldNumber;
557 const int ColumnMetaData::kFractionalDigitsFieldNumber;
558 const int ColumnMetaData::kLengthFieldNumber;
559 const int ColumnMetaData::kFlagsFieldNumber;
560 const int ColumnMetaData::kContentTypeFieldNumber;
561 #endif  // !_MSC_VER
562 
563 ColumnMetaData::ColumnMetaData()
564   : ::google::protobuf::MessageLite() {
565   SharedCtor();
566   // @@protoc_insertion_point(constructor:Mysqlx.Resultset.ColumnMetaData)
567 }
568 
569 void ColumnMetaData::InitAsDefaultInstance() {
570 }
571 
572 ColumnMetaData::ColumnMetaData(const ColumnMetaData& from)
573   : ::google::protobuf::MessageLite() {
574   SharedCtor();
575   MergeFrom(from);
576   // @@protoc_insertion_point(copy_constructor:Mysqlx.Resultset.ColumnMetaData)
577 }
578 
579 void ColumnMetaData::SharedCtor() {
580   ::google::protobuf::internal::GetEmptyString();
581   _cached_size_ = 0;
582   type_ = 1;
583   name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
584   original_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
585   table_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
586   original_table_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
587   schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
588   catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
589   collation_ = GOOGLE_ULONGLONG(0);
590   fractional_digits_ = 0u;
591   length_ = 0u;
592   flags_ = 0u;
593   content_type_ = 0u;
594   ::memset(_has_bits_, 0, sizeof(_has_bits_));
595 }
596 
597 ColumnMetaData::~ColumnMetaData() {
598   // @@protoc_insertion_point(destructor:Mysqlx.Resultset.ColumnMetaData)
599   SharedDtor();
600 }
601 
602 void ColumnMetaData::SharedDtor() {
603   if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
604     delete name_;
605   }
606   if (original_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
607     delete original_name_;
608   }
609   if (table_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
610     delete table_;
611   }
612   if (original_table_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
613     delete original_table_;
614   }
615   if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
616     delete schema_;
617   }
618   if (catalog_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
619     delete catalog_;
620   }
621   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
622   if (this != &default_instance()) {
623   #else
624   if (this != default_instance_) {
625   #endif
626   }
627 }
628 
629 void ColumnMetaData::SetCachedSize(int size) const {
630   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
631   _cached_size_ = size;
632   GOOGLE_SAFE_CONCURRENT_WRITES_END();
633 }
634 const ColumnMetaData& ColumnMetaData::default_instance() {
635 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
636   protobuf_AddDesc_mysqlx_5fresultset_2eproto();
637 #else
638   if (default_instance_ == NULL) protobuf_AddDesc_mysqlx_5fresultset_2eproto();
639 #endif
640   return *default_instance_;
641 }
642 
643 ColumnMetaData* ColumnMetaData::default_instance_ = NULL;
644 
645 ColumnMetaData* ColumnMetaData::New() const {
646   return new ColumnMetaData;
647 }
648 
649 void ColumnMetaData::Clear() {
650 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
651   &reinterpret_cast<ColumnMetaData*>(16)->f) - \
652    reinterpret_cast<char*>(16))
653 
654 #define ZR_(first, last) do {                              \
655     size_t f = OFFSET_OF_FIELD_(first);                    \
656     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
657     ::memset(&first, 0, n);                                \
658   } while (0)
659 
660   if (_has_bits_[0 / 32] & 255) {
661     type_ = 1;
662     if (has_name()) {
663       if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
664         name_->clear();
665       }
666     }
667     if (has_original_name()) {
668       if (original_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
669         original_name_->clear();
670       }
671     }
672     if (has_table()) {
673       if (table_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
674         table_->clear();
675       }
676     }
677     if (has_original_table()) {
678       if (original_table_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
679         original_table_->clear();
680       }
681     }
682     if (has_schema()) {
683       if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
684         schema_->clear();
685       }
686     }
687     if (has_catalog()) {
688       if (catalog_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
689         catalog_->clear();
690       }
691     }
692     collation_ = GOOGLE_ULONGLONG(0);
693   }
694   if (_has_bits_[8 / 32] & 3840) {
695     ZR_(length_, content_type_);
696     fractional_digits_ = 0u;
697   }
698 
699 #undef OFFSET_OF_FIELD_
700 #undef ZR_
701 
702   ::memset(_has_bits_, 0, sizeof(_has_bits_));
703   mutable_unknown_fields()->clear();
704 }
705 
706 bool ColumnMetaData::MergePartialFromCodedStream(
707     ::google::protobuf::io::CodedInputStream* input) {
708 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
709   ::google::protobuf::uint32 tag;
710   ::google::protobuf::io::StringOutputStream unknown_fields_string(
711       mutable_unknown_fields());
712   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
713       &unknown_fields_string);
714   // @@protoc_insertion_point(parse_start:Mysqlx.Resultset.ColumnMetaData)
715   for (;;) {
716     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
717     tag = p.first;
718     if (!p.second) goto handle_unusual;
719     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
720       // required .Mysqlx.Resultset.ColumnMetaData.FieldType type = 1;
721       case 1: {
722         if (tag == 8) {
723           int value;
724           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
725                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
726                  input, &value)));
727           if (::Mysqlx::Resultset::ColumnMetaData_FieldType_IsValid(value)) {
728             set_type(static_cast< ::Mysqlx::Resultset::ColumnMetaData_FieldType >(value));
729           } else {
730             unknown_fields_stream.WriteVarint32(tag);
731             unknown_fields_stream.WriteVarint32(value);
732           }
733         } else {
734           goto handle_unusual;
735         }
736         if (input->ExpectTag(18)) goto parse_name;
737         break;
738       }
739 
740       // optional bytes name = 2;
741       case 2: {
742         if (tag == 18) {
743          parse_name:
744           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
745                 input, this->mutable_name()));
746         } else {
747           goto handle_unusual;
748         }
749         if (input->ExpectTag(26)) goto parse_original_name;
750         break;
751       }
752 
753       // optional bytes original_name = 3;
754       case 3: {
755         if (tag == 26) {
756          parse_original_name:
757           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
758                 input, this->mutable_original_name()));
759         } else {
760           goto handle_unusual;
761         }
762         if (input->ExpectTag(34)) goto parse_table;
763         break;
764       }
765 
766       // optional bytes table = 4;
767       case 4: {
768         if (tag == 34) {
769          parse_table:
770           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
771                 input, this->mutable_table()));
772         } else {
773           goto handle_unusual;
774         }
775         if (input->ExpectTag(42)) goto parse_original_table;
776         break;
777       }
778 
779       // optional bytes original_table = 5;
780       case 5: {
781         if (tag == 42) {
782          parse_original_table:
783           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
784                 input, this->mutable_original_table()));
785         } else {
786           goto handle_unusual;
787         }
788         if (input->ExpectTag(50)) goto parse_schema;
789         break;
790       }
791 
792       // optional bytes schema = 6;
793       case 6: {
794         if (tag == 50) {
795          parse_schema:
796           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
797                 input, this->mutable_schema()));
798         } else {
799           goto handle_unusual;
800         }
801         if (input->ExpectTag(58)) goto parse_catalog;
802         break;
803       }
804 
805       // optional bytes catalog = 7;
806       case 7: {
807         if (tag == 58) {
808          parse_catalog:
809           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
810                 input, this->mutable_catalog()));
811         } else {
812           goto handle_unusual;
813         }
814         if (input->ExpectTag(64)) goto parse_collation;
815         break;
816       }
817 
818       // optional uint64 collation = 8;
819       case 8: {
820         if (tag == 64) {
821          parse_collation:
822           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
823                    ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
824                  input, &collation_)));
825           set_has_collation();
826         } else {
827           goto handle_unusual;
828         }
829         if (input->ExpectTag(72)) goto parse_fractional_digits;
830         break;
831       }
832 
833       // optional uint32 fractional_digits = 9;
834       case 9: {
835         if (tag == 72) {
836          parse_fractional_digits:
837           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
838                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
839                  input, &fractional_digits_)));
840           set_has_fractional_digits();
841         } else {
842           goto handle_unusual;
843         }
844         if (input->ExpectTag(80)) goto parse_length;
845         break;
846       }
847 
848       // optional uint32 length = 10;
849       case 10: {
850         if (tag == 80) {
851          parse_length:
852           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
853                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
854                  input, &length_)));
855           set_has_length();
856         } else {
857           goto handle_unusual;
858         }
859         if (input->ExpectTag(88)) goto parse_flags;
860         break;
861       }
862 
863       // optional uint32 flags = 11;
864       case 11: {
865         if (tag == 88) {
866          parse_flags:
867           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
868                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
869                  input, &flags_)));
870           set_has_flags();
871         } else {
872           goto handle_unusual;
873         }
874         if (input->ExpectTag(96)) goto parse_content_type;
875         break;
876       }
877 
878       // optional uint32 content_type = 12;
879       case 12: {
880         if (tag == 96) {
881          parse_content_type:
882           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
883                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
884                  input, &content_type_)));
885           set_has_content_type();
886         } else {
887           goto handle_unusual;
888         }
889         if (input->ExpectAtEnd()) goto success;
890         break;
891       }
892 
893       default: {
894       handle_unusual:
895         if (tag == 0 ||
896             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
897             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
898           goto success;
899         }
900         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
901             input, tag, &unknown_fields_stream));
902         break;
903       }
904     }
905   }
906 success:
907   // @@protoc_insertion_point(parse_success:Mysqlx.Resultset.ColumnMetaData)
908   return true;
909 failure:
910   // @@protoc_insertion_point(parse_failure:Mysqlx.Resultset.ColumnMetaData)
911   return false;
912 #undef DO_
913 }
914 
915 void ColumnMetaData::SerializeWithCachedSizes(
916     ::google::protobuf::io::CodedOutputStream* output) const {
917   // @@protoc_insertion_point(serialize_start:Mysqlx.Resultset.ColumnMetaData)
918   // required .Mysqlx.Resultset.ColumnMetaData.FieldType type = 1;
919   if (has_type()) {
920     ::google::protobuf::internal::WireFormatLite::WriteEnum(
921       1, this->type(), output);
922   }
923 
924   // optional bytes name = 2;
925   if (has_name()) {
926     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
927       2, this->name(), output);
928   }
929 
930   // optional bytes original_name = 3;
931   if (has_original_name()) {
932     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
933       3, this->original_name(), output);
934   }
935 
936   // optional bytes table = 4;
937   if (has_table()) {
938     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
939       4, this->table(), output);
940   }
941 
942   // optional bytes original_table = 5;
943   if (has_original_table()) {
944     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
945       5, this->original_table(), output);
946   }
947 
948   // optional bytes schema = 6;
949   if (has_schema()) {
950     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
951       6, this->schema(), output);
952   }
953 
954   // optional bytes catalog = 7;
955   if (has_catalog()) {
956     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
957       7, this->catalog(), output);
958   }
959 
960   // optional uint64 collation = 8;
961   if (has_collation()) {
962     ::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->collation(), output);
963   }
964 
965   // optional uint32 fractional_digits = 9;
966   if (has_fractional_digits()) {
967     ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->fractional_digits(), output);
968   }
969 
970   // optional uint32 length = 10;
971   if (has_length()) {
972     ::google::protobuf::internal::WireFormatLite::WriteUInt32(10, this->length(), output);
973   }
974 
975   // optional uint32 flags = 11;
976   if (has_flags()) {
977     ::google::protobuf::internal::WireFormatLite::WriteUInt32(11, this->flags(), output);
978   }
979 
980   // optional uint32 content_type = 12;
981   if (has_content_type()) {
982     ::google::protobuf::internal::WireFormatLite::WriteUInt32(12, this->content_type(), output);
983   }
984 
985   output->WriteRaw(unknown_fields().data(),
986                    unknown_fields().size());
987   // @@protoc_insertion_point(serialize_end:Mysqlx.Resultset.ColumnMetaData)
988 }
989 
990 int ColumnMetaData::ByteSize() const {
991   int total_size = 0;
992 
993   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
994     // required .Mysqlx.Resultset.ColumnMetaData.FieldType type = 1;
995     if (has_type()) {
996       total_size += 1 +
997         ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
998     }
999 
1000     // optional bytes name = 2;
1001     if (has_name()) {
1002       total_size += 1 +
1003         ::google::protobuf::internal::WireFormatLite::BytesSize(
1004           this->name());
1005     }
1006 
1007     // optional bytes original_name = 3;
1008     if (has_original_name()) {
1009       total_size += 1 +
1010         ::google::protobuf::internal::WireFormatLite::BytesSize(
1011           this->original_name());
1012     }
1013 
1014     // optional bytes table = 4;
1015     if (has_table()) {
1016       total_size += 1 +
1017         ::google::protobuf::internal::WireFormatLite::BytesSize(
1018           this->table());
1019     }
1020 
1021     // optional bytes original_table = 5;
1022     if (has_original_table()) {
1023       total_size += 1 +
1024         ::google::protobuf::internal::WireFormatLite::BytesSize(
1025           this->original_table());
1026     }
1027 
1028     // optional bytes schema = 6;
1029     if (has_schema()) {
1030       total_size += 1 +
1031         ::google::protobuf::internal::WireFormatLite::BytesSize(
1032           this->schema());
1033     }
1034 
1035     // optional bytes catalog = 7;
1036     if (has_catalog()) {
1037       total_size += 1 +
1038         ::google::protobuf::internal::WireFormatLite::BytesSize(
1039           this->catalog());
1040     }
1041 
1042     // optional uint64 collation = 8;
1043     if (has_collation()) {
1044       total_size += 1 +
1045         ::google::protobuf::internal::WireFormatLite::UInt64Size(
1046           this->collation());
1047     }
1048 
1049   }
1050   if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
1051     // optional uint32 fractional_digits = 9;
1052     if (has_fractional_digits()) {
1053       total_size += 1 +
1054         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1055           this->fractional_digits());
1056     }
1057 
1058     // optional uint32 length = 10;
1059     if (has_length()) {
1060       total_size += 1 +
1061         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1062           this->length());
1063     }
1064 
1065     // optional uint32 flags = 11;
1066     if (has_flags()) {
1067       total_size += 1 +
1068         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1069           this->flags());
1070     }
1071 
1072     // optional uint32 content_type = 12;
1073     if (has_content_type()) {
1074       total_size += 1 +
1075         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1076           this->content_type());
1077     }
1078 
1079   }
1080   total_size += unknown_fields().size();
1081 
1082   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1083   _cached_size_ = total_size;
1084   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1085   return total_size;
1086 }
1087 
1088 void ColumnMetaData::CheckTypeAndMergeFrom(
1089     const ::google::protobuf::MessageLite& from) {
1090   MergeFrom(*::google::protobuf::down_cast<const ColumnMetaData*>(&from));
1091 }
1092 
1093 void ColumnMetaData::MergeFrom(const ColumnMetaData& from) {
1094   GOOGLE_CHECK_NE(&from, this);
1095   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1096     if (from.has_type()) {
1097       set_type(from.type());
1098     }
1099     if (from.has_name()) {
1100       set_name(from.name());
1101     }
1102     if (from.has_original_name()) {
1103       set_original_name(from.original_name());
1104     }
1105     if (from.has_table()) {
1106       set_table(from.table());
1107     }
1108     if (from.has_original_table()) {
1109       set_original_table(from.original_table());
1110     }
1111     if (from.has_schema()) {
1112       set_schema(from.schema());
1113     }
1114     if (from.has_catalog()) {
1115       set_catalog(from.catalog());
1116     }
1117     if (from.has_collation()) {
1118       set_collation(from.collation());
1119     }
1120   }
1121   if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
1122     if (from.has_fractional_digits()) {
1123       set_fractional_digits(from.fractional_digits());
1124     }
1125     if (from.has_length()) {
1126       set_length(from.length());
1127     }
1128     if (from.has_flags()) {
1129       set_flags(from.flags());
1130     }
1131     if (from.has_content_type()) {
1132       set_content_type(from.content_type());
1133     }
1134   }
1135   mutable_unknown_fields()->append(from.unknown_fields());
1136 }
1137 
1138 void ColumnMetaData::CopyFrom(const ColumnMetaData& from) {
1139   if (&from == this) return;
1140   Clear();
1141   MergeFrom(from);
1142 }
1143 
1144 bool ColumnMetaData::IsInitialized() const {
1145   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
1146 
1147   return true;
1148 }
1149 
1150 void ColumnMetaData::Swap(ColumnMetaData* other) {
1151   if (other != this) {
1152     std::swap(type_, other->type_);
1153     std::swap(name_, other->name_);
1154     std::swap(original_name_, other->original_name_);
1155     std::swap(table_, other->table_);
1156     std::swap(original_table_, other->original_table_);
1157     std::swap(schema_, other->schema_);
1158     std::swap(catalog_, other->catalog_);
1159     std::swap(collation_, other->collation_);
1160     std::swap(fractional_digits_, other->fractional_digits_);
1161     std::swap(length_, other->length_);
1162     std::swap(flags_, other->flags_);
1163     std::swap(content_type_, other->content_type_);
1164     std::swap(_has_bits_[0], other->_has_bits_[0]);
1165     _unknown_fields_.swap(other->_unknown_fields_);
1166     std::swap(_cached_size_, other->_cached_size_);
1167   }
1168 }
1169 
1170 ::std::string ColumnMetaData::GetTypeName() const {
1171   return "Mysqlx.Resultset.ColumnMetaData";
1172 }
1173 
1174 
1175 // ===================================================================
1176 
1177 #ifndef _MSC_VER
1178 const int Row::kFieldFieldNumber;
1179 #endif  // !_MSC_VER
1180 
1181 Row::Row()
1182   : ::google::protobuf::MessageLite() {
1183   SharedCtor();
1184   // @@protoc_insertion_point(constructor:Mysqlx.Resultset.Row)
1185 }
1186 
1187 void Row::InitAsDefaultInstance() {
1188 }
1189 
1190 Row::Row(const Row& from)
1191   : ::google::protobuf::MessageLite() {
1192   SharedCtor();
1193   MergeFrom(from);
1194   // @@protoc_insertion_point(copy_constructor:Mysqlx.Resultset.Row)
1195 }
1196 
1197 void Row::SharedCtor() {
1198   ::google::protobuf::internal::GetEmptyString();
1199   _cached_size_ = 0;
1200   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1201 }
1202 
1203 Row::~Row() {
1204   // @@protoc_insertion_point(destructor:Mysqlx.Resultset.Row)
1205   SharedDtor();
1206 }
1207 
1208 void Row::SharedDtor() {
1209   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1210   if (this != &default_instance()) {
1211   #else
1212   if (this != default_instance_) {
1213   #endif
1214   }
1215 }
1216 
1217 void Row::SetCachedSize(int size) const {
1218   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1219   _cached_size_ = size;
1220   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1221 }
1222 const Row& Row::default_instance() {
1223 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1224   protobuf_AddDesc_mysqlx_5fresultset_2eproto();
1225 #else
1226   if (default_instance_ == NULL) protobuf_AddDesc_mysqlx_5fresultset_2eproto();
1227 #endif
1228   return *default_instance_;
1229 }
1230 
1231 Row* Row::default_instance_ = NULL;
1232 
1233 Row* Row::New() const {
1234   return new Row;
1235 }
1236 
1237 void Row::Clear() {
1238   field_.Clear();
1239   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1240   mutable_unknown_fields()->clear();
1241 }
1242 
1243 bool Row::MergePartialFromCodedStream(
1244     ::google::protobuf::io::CodedInputStream* input) {
1245 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
1246   ::google::protobuf::uint32 tag;
1247   ::google::protobuf::io::StringOutputStream unknown_fields_string(
1248       mutable_unknown_fields());
1249   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
1250       &unknown_fields_string);
1251   // @@protoc_insertion_point(parse_start:Mysqlx.Resultset.Row)
1252   for (;;) {
1253     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
1254     tag = p.first;
1255     if (!p.second) goto handle_unusual;
1256     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1257       // repeated bytes field = 1;
1258       case 1: {
1259         if (tag == 10) {
1260          parse_field:
1261           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1262                 input, this->add_field()));
1263         } else {
1264           goto handle_unusual;
1265         }
1266         if (input->ExpectTag(10)) goto parse_field;
1267         if (input->ExpectAtEnd()) goto success;
1268         break;
1269       }
1270 
1271       default: {
1272       handle_unusual:
1273         if (tag == 0 ||
1274             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1275             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1276           goto success;
1277         }
1278         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
1279             input, tag, &unknown_fields_stream));
1280         break;
1281       }
1282     }
1283   }
1284 success:
1285   // @@protoc_insertion_point(parse_success:Mysqlx.Resultset.Row)
1286   return true;
1287 failure:
1288   // @@protoc_insertion_point(parse_failure:Mysqlx.Resultset.Row)
1289   return false;
1290 #undef DO_
1291 }
1292 
1293 void Row::SerializeWithCachedSizes(
1294     ::google::protobuf::io::CodedOutputStream* output) const {
1295   // @@protoc_insertion_point(serialize_start:Mysqlx.Resultset.Row)
1296   // repeated bytes field = 1;
1297   for (int i = 0; i < this->field_size(); i++) {
1298     ::google::protobuf::internal::WireFormatLite::WriteBytes(
1299       1, this->field(i), output);
1300   }
1301 
1302   output->WriteRaw(unknown_fields().data(),
1303                    unknown_fields().size());
1304   // @@protoc_insertion_point(serialize_end:Mysqlx.Resultset.Row)
1305 }
1306 
1307 int Row::ByteSize() const {
1308   int total_size = 0;
1309 
1310   // repeated bytes field = 1;
1311   total_size += 1 * this->field_size();
1312   for (int i = 0; i < this->field_size(); i++) {
1313     total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
1314       this->field(i));
1315   }
1316 
1317   total_size += unknown_fields().size();
1318 
1319   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1320   _cached_size_ = total_size;
1321   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1322   return total_size;
1323 }
1324 
1325 void Row::CheckTypeAndMergeFrom(
1326     const ::google::protobuf::MessageLite& from) {
1327   MergeFrom(*::google::protobuf::down_cast<const Row*>(&from));
1328 }
1329 
1330 void Row::MergeFrom(const Row& from) {
1331   GOOGLE_CHECK_NE(&from, this);
1332   field_.MergeFrom(from.field_);
1333   mutable_unknown_fields()->append(from.unknown_fields());
1334 }
1335 
1336 void Row::CopyFrom(const Row& from) {
1337   if (&from == this) return;
1338   Clear();
1339   MergeFrom(from);
1340 }
1341 
1342 bool Row::IsInitialized() const {
1343 
1344   return true;
1345 }
1346 
1347 void Row::Swap(Row* other) {
1348   if (other != this) {
1349     field_.Swap(&other->field_);
1350     std::swap(_has_bits_[0], other->_has_bits_[0]);
1351     _unknown_fields_.swap(other->_unknown_fields_);
1352     std::swap(_cached_size_, other->_cached_size_);
1353   }
1354 }
1355 
1356 ::std::string Row::GetTypeName() const {
1357   return "Mysqlx.Resultset.Row";
1358 }
1359 
1360 
1361 // @@protoc_insertion_point(namespace_scope)
1362 
1363 }  // namespace Resultset
1364 }  // namespace Mysqlx
1365 
1366 // @@protoc_insertion_point(global_scope)
1367