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