4 #ifndef PROTOBUF_table_2eproto__INCLUDED
5 #define PROTOBUF_table_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 #include "engine.pb.h"
29 #include "access.pb.h"
30 #include "replication_options.pb.h"
37 void protobuf_AddDesc_table_2eproto();
38 void protobuf_AssignDesc_table_2eproto();
39 void protobuf_ShutdownFile_table_2eproto();
42 class Table_TableOptions;
43 class Table_ForeignKeyConstraint;
45 class Table_Field_FieldOptions;
46 class Table_Field_FieldConstraints;
47 class Table_Field_NumericFieldOptions;
48 class Table_Field_StringFieldOptions;
49 class Table_Field_EnumerationValues;
50 class Table_Field_TimeFieldOptions;
52 class Table_Index_IndexPart;
53 class Table_Index_Options;
56 enum Table_ForeignKeyConstraint_ForeignKeyMatchOption {
57 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED = 0,
58 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL = 1,
59 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL = 2,
60 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE = 3
62 bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(
int value);
63 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
64 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
65 const int Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX + 1;
67 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
68 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
69 return ::google::protobuf::internal::NameOfEnum(
70 Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), value);
72 inline bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(
73 const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyMatchOption* value) {
74 return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyMatchOption>(
75 Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), name, value);
77 enum Table_ForeignKeyConstraint_ForeignKeyOption {
78 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF = 0,
79 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT = 1,
80 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE = 2,
81 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL = 3,
82 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION = 4,
83 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT = 5
85 bool Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(
int value);
86 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
87 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
88 const int Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX + 1;
90 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
91 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyOption_Name(Table_ForeignKeyConstraint_ForeignKeyOption value) {
92 return ::google::protobuf::internal::NameOfEnum(
93 Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), value);
95 inline bool Table_ForeignKeyConstraint_ForeignKeyOption_Parse(
96 const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyOption* value) {
97 return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyOption>(
98 Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), name, value);
100 enum Table_Field_FieldType {
101 Table_Field_FieldType_DOUBLE = 0,
102 Table_Field_FieldType_VARCHAR = 1,
103 Table_Field_FieldType_BLOB = 2,
104 Table_Field_FieldType_ENUM = 3,
105 Table_Field_FieldType_INTEGER = 4,
106 Table_Field_FieldType_BIGINT = 5,
107 Table_Field_FieldType_DECIMAL = 6,
108 Table_Field_FieldType_DATE = 7,
109 Table_Field_FieldType_EPOCH = 9,
110 Table_Field_FieldType_DATETIME = 10,
111 Table_Field_FieldType_UUID = 11,
112 Table_Field_FieldType_TIME = 12,
113 Table_Field_FieldType_BOOLEAN = 13,
114 Table_Field_FieldType_IPV6 = 14
116 bool Table_Field_FieldType_IsValid(
int value);
117 const Table_Field_FieldType Table_Field_FieldType_FieldType_MIN = Table_Field_FieldType_DOUBLE;
118 const Table_Field_FieldType Table_Field_FieldType_FieldType_MAX = Table_Field_FieldType_IPV6;
119 const int Table_Field_FieldType_FieldType_ARRAYSIZE = Table_Field_FieldType_FieldType_MAX + 1;
121 const ::google::protobuf::EnumDescriptor* Table_Field_FieldType_descriptor();
122 inline const ::std::string& Table_Field_FieldType_Name(Table_Field_FieldType value) {
123 return ::google::protobuf::internal::NameOfEnum(
124 Table_Field_FieldType_descriptor(), value);
126 inline bool Table_Field_FieldType_Parse(
127 const ::std::string& name, Table_Field_FieldType* value) {
128 return ::google::protobuf::internal::ParseNamedEnum<Table_Field_FieldType>(
129 Table_Field_FieldType_descriptor(), name, value);
131 enum Table_Index_IndexType {
132 Table_Index_IndexType_UNKNOWN_INDEX = 0,
133 Table_Index_IndexType_BTREE = 1,
134 Table_Index_IndexType_RTREE = 2,
135 Table_Index_IndexType_HASH = 3,
136 Table_Index_IndexType_FULLTEXT = 4
138 bool Table_Index_IndexType_IsValid(
int value);
139 const Table_Index_IndexType Table_Index_IndexType_IndexType_MIN = Table_Index_IndexType_UNKNOWN_INDEX;
140 const Table_Index_IndexType Table_Index_IndexType_IndexType_MAX = Table_Index_IndexType_FULLTEXT;
141 const int Table_Index_IndexType_IndexType_ARRAYSIZE = Table_Index_IndexType_IndexType_MAX + 1;
143 const ::google::protobuf::EnumDescriptor* Table_Index_IndexType_descriptor();
144 inline const ::std::string& Table_Index_IndexType_Name(Table_Index_IndexType value) {
145 return ::google::protobuf::internal::NameOfEnum(
146 Table_Index_IndexType_descriptor(), value);
148 inline bool Table_Index_IndexType_Parse(
149 const ::std::string& name, Table_Index_IndexType* value) {
150 return ::google::protobuf::internal::ParseNamedEnum<Table_Index_IndexType>(
151 Table_Index_IndexType_descriptor(), name, value);
153 enum Table_TableType {
154 Table_TableType_STANDARD = 0,
155 Table_TableType_TEMPORARY = 1,
156 Table_TableType_INTERNAL = 2,
157 Table_TableType_FUNCTION = 3
159 bool Table_TableType_IsValid(
int value);
160 const Table_TableType Table_TableType_TableType_MIN = Table_TableType_STANDARD;
161 const Table_TableType Table_TableType_TableType_MAX = Table_TableType_FUNCTION;
162 const int Table_TableType_TableType_ARRAYSIZE = Table_TableType_TableType_MAX + 1;
164 const ::google::protobuf::EnumDescriptor* Table_TableType_descriptor();
165 inline const ::std::string& Table_TableType_Name(Table_TableType value) {
166 return ::google::protobuf::internal::NameOfEnum(
167 Table_TableType_descriptor(), value);
169 inline bool Table_TableType_Parse(
170 const ::std::string& name, Table_TableType* value) {
171 return ::google::protobuf::internal::ParseNamedEnum<Table_TableType>(
172 Table_TableType_descriptor(), name, value);
188 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
189 return _unknown_fields_;
192 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
193 return &_unknown_fields_;
196 static const ::google::protobuf::Descriptor* descriptor();
204 void CopyFrom(const ::google::protobuf::Message& from);
205 void MergeFrom(const ::google::protobuf::Message& from);
209 bool IsInitialized()
const;
211 int ByteSize()
const;
212 bool MergePartialFromCodedStream(
213 ::google::protobuf::io::CodedInputStream* input);
214 void SerializeWithCachedSizes(
215 ::google::protobuf::io::CodedOutputStream* output)
const;
216 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
217 int GetCachedSize()
const {
return _cached_size_; }
221 void SetCachedSize(
int size)
const;
223 ::google::protobuf::Metadata GetMetadata()
const;
230 inline bool has_has_user_set_auto_increment_value()
const;
231 inline void clear_has_user_set_auto_increment_value();
232 static const int kHasUserSetAutoIncrementValueFieldNumber = 1;
233 inline bool has_user_set_auto_increment_value()
const;
234 inline void set_has_user_set_auto_increment_value(
bool value);
237 inline bool has_collation()
const;
238 inline void clear_collation();
239 static const int kCollationFieldNumber = 2;
240 inline const ::std::string& collation()
const;
241 inline void set_collation(const ::std::string& value);
242 inline void set_collation(
const char* value);
243 inline void set_collation(
const char* value,
size_t size);
244 inline ::std::string* mutable_collation();
245 inline ::std::string* release_collation();
246 inline void set_allocated_collation(::std::string* collation);
249 inline bool has_collation_id()
const;
250 inline void clear_collation_id();
251 static const int kCollationIdFieldNumber = 3;
252 inline ::google::protobuf::uint32 collation_id()
const;
253 inline void set_collation_id(::google::protobuf::uint32 value);
256 inline bool has_data_file_name()
const;
257 inline void clear_data_file_name();
258 static const int kDataFileNameFieldNumber = 5;
259 inline const ::std::string& data_file_name()
const;
260 inline void set_data_file_name(const ::std::string& value);
261 inline void set_data_file_name(
const char* value);
262 inline void set_data_file_name(
const char* value,
size_t size);
263 inline ::std::string* mutable_data_file_name();
264 inline ::std::string* release_data_file_name();
265 inline void set_allocated_data_file_name(::std::string* data_file_name);
268 inline bool has_index_file_name()
const;
269 inline void clear_index_file_name();
270 static const int kIndexFileNameFieldNumber = 6;
271 inline const ::std::string& index_file_name()
const;
272 inline void set_index_file_name(const ::std::string& value);
273 inline void set_index_file_name(
const char* value);
274 inline void set_index_file_name(
const char* value,
size_t size);
275 inline ::std::string* mutable_index_file_name();
276 inline ::std::string* release_index_file_name();
277 inline void set_allocated_index_file_name(::std::string* index_file_name);
280 inline bool has_max_rows()
const;
281 inline void clear_max_rows();
282 static const int kMaxRowsFieldNumber = 7;
283 inline ::google::protobuf::uint64 max_rows()
const;
284 inline void set_max_rows(::google::protobuf::uint64 value);
287 inline bool has_min_rows()
const;
288 inline void clear_min_rows();
289 static const int kMinRowsFieldNumber = 8;
290 inline ::google::protobuf::uint64 min_rows()
const;
291 inline void set_min_rows(::google::protobuf::uint64 value);
294 inline bool has_auto_increment_value()
const;
295 inline void clear_auto_increment_value();
296 static const int kAutoIncrementValueFieldNumber = 9;
297 inline ::google::protobuf::uint64 auto_increment_value()
const;
298 inline void set_auto_increment_value(::google::protobuf::uint64 value);
301 inline bool has_avg_row_length()
const;
302 inline void clear_avg_row_length();
303 static const int kAvgRowLengthFieldNumber = 11;
304 inline ::google::protobuf::uint32 avg_row_length()
const;
305 inline void set_avg_row_length(::google::protobuf::uint32 value);
308 inline bool has_block_size()
const;
309 inline void clear_block_size();
310 static const int kBlockSizeFieldNumber = 13;
311 inline ::google::protobuf::uint32 block_size()
const;
312 inline void set_block_size(::google::protobuf::uint32 value);
315 inline bool has_comment()
const;
316 inline void clear_comment();
317 static const int kCommentFieldNumber = 14;
318 inline const ::std::string& comment()
const;
319 inline void set_comment(const ::std::string& value);
320 inline void set_comment(
const char* value);
321 inline void set_comment(
const char* value,
size_t size);
322 inline ::std::string* mutable_comment();
323 inline ::std::string* release_comment();
324 inline void set_allocated_comment(::std::string* comment);
327 inline bool has_pack_record()
const;
328 inline void clear_pack_record();
329 static const int kPackRecordFieldNumber = 16;
330 inline bool pack_record()
const;
331 inline void set_pack_record(
bool value);
334 inline bool has_checksum()
const;
335 inline void clear_checksum();
336 static const int kChecksumFieldNumber = 17;
337 inline bool checksum()
const;
338 inline void set_checksum(
bool value);
341 inline bool has_page_checksum()
const;
342 inline void clear_page_checksum();
343 static const int kPageChecksumFieldNumber = 18;
344 inline bool page_checksum()
const;
345 inline void set_page_checksum(
bool value);
348 inline bool has_delay_key_write()
const;
349 inline void clear_delay_key_write();
350 static const int kDelayKeyWriteFieldNumber = 19;
351 inline bool delay_key_write()
const;
352 inline void set_delay_key_write(
bool value);
355 inline bool has_unused()
const;
356 inline void clear_unused();
357 static const int kUnusedFieldNumber = 20;
358 inline bool unused()
const;
359 inline void set_unused(
bool value);
363 inline void set_has_has_user_set_auto_increment_value();
364 inline void clear_has_has_user_set_auto_increment_value();
365 inline void set_has_collation();
366 inline void clear_has_collation();
367 inline void set_has_collation_id();
368 inline void clear_has_collation_id();
369 inline void set_has_data_file_name();
370 inline void clear_has_data_file_name();
371 inline void set_has_index_file_name();
372 inline void clear_has_index_file_name();
373 inline void set_has_max_rows();
374 inline void clear_has_max_rows();
375 inline void set_has_min_rows();
376 inline void clear_has_min_rows();
377 inline void set_has_auto_increment_value();
378 inline void clear_has_auto_increment_value();
379 inline void set_has_avg_row_length();
380 inline void clear_has_avg_row_length();
381 inline void set_has_block_size();
382 inline void clear_has_block_size();
383 inline void set_has_comment();
384 inline void clear_has_comment();
385 inline void set_has_pack_record();
386 inline void clear_has_pack_record();
387 inline void set_has_checksum();
388 inline void clear_has_checksum();
389 inline void set_has_page_checksum();
390 inline void clear_has_page_checksum();
391 inline void set_has_delay_key_write();
392 inline void clear_has_delay_key_write();
393 inline void set_has_unused();
394 inline void clear_has_unused();
396 ::google::protobuf::UnknownFieldSet _unknown_fields_;
398 ::google::protobuf::uint32 _has_bits_[1];
399 mutable int _cached_size_;
400 ::std::string* collation_;
401 ::std::string* data_file_name_;
402 ::std::string* index_file_name_;
403 ::google::protobuf::uint64 max_rows_;
404 ::google::protobuf::uint32 collation_id_;
405 ::google::protobuf::uint32 avg_row_length_;
406 ::google::protobuf::uint64 min_rows_;
407 ::google::protobuf::uint64 auto_increment_value_;
408 ::google::protobuf::uint32 block_size_;
409 bool has_user_set_auto_increment_value_;
413 ::std::string* comment_;
414 bool delay_key_write_;
416 friend void protobuf_AddDesc_table_2eproto();
417 friend void protobuf_AssignDesc_table_2eproto();
418 friend void protobuf_ShutdownFile_table_2eproto();
420 void InitAsDefaultInstance();
437 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
438 return _unknown_fields_;
441 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
442 return &_unknown_fields_;
445 static const ::google::protobuf::Descriptor* descriptor();
453 void CopyFrom(const ::google::protobuf::Message& from);
454 void MergeFrom(const ::google::protobuf::Message& from);
458 bool IsInitialized()
const;
460 int ByteSize()
const;
461 bool MergePartialFromCodedStream(
462 ::google::protobuf::io::CodedInputStream* input);
463 void SerializeWithCachedSizes(
464 ::google::protobuf::io::CodedOutputStream* output)
const;
465 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
466 int GetCachedSize()
const {
return _cached_size_; }
470 void SetCachedSize(
int size)
const;
472 ::google::protobuf::Metadata GetMetadata()
const;
476 typedef Table_ForeignKeyConstraint_ForeignKeyMatchOption ForeignKeyMatchOption;
477 static const ForeignKeyMatchOption MATCH_UNDEFINED = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
478 static const ForeignKeyMatchOption MATCH_FULL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL;
479 static const ForeignKeyMatchOption MATCH_PARTIAL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL;
480 static const ForeignKeyMatchOption MATCH_SIMPLE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
481 static inline bool ForeignKeyMatchOption_IsValid(
int value) {
482 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value);
484 static const ForeignKeyMatchOption ForeignKeyMatchOption_MIN =
485 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN;
486 static const ForeignKeyMatchOption ForeignKeyMatchOption_MAX =
487 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX;
488 static const int ForeignKeyMatchOption_ARRAYSIZE =
489 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE;
490 static inline const ::google::protobuf::EnumDescriptor*
491 ForeignKeyMatchOption_descriptor() {
492 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
494 static inline const ::std::string& ForeignKeyMatchOption_Name(ForeignKeyMatchOption value) {
495 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(value);
497 static inline bool ForeignKeyMatchOption_Parse(const ::std::string& name,
498 ForeignKeyMatchOption* value) {
499 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(name, value);
502 typedef Table_ForeignKeyConstraint_ForeignKeyOption ForeignKeyOption;
503 static const ForeignKeyOption OPTION_UNDEF = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
504 static const ForeignKeyOption OPTION_RESTRICT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT;
505 static const ForeignKeyOption OPTION_CASCADE = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE;
506 static const ForeignKeyOption OPTION_SET_NULL = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL;
507 static const ForeignKeyOption OPTION_NO_ACTION = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION;
508 static const ForeignKeyOption OPTION_SET_DEFAULT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
509 static inline bool ForeignKeyOption_IsValid(
int value) {
510 return Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value);
512 static const ForeignKeyOption ForeignKeyOption_MIN =
513 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN;
514 static const ForeignKeyOption ForeignKeyOption_MAX =
515 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX;
516 static const int ForeignKeyOption_ARRAYSIZE =
517 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE;
518 static inline const ::google::protobuf::EnumDescriptor*
519 ForeignKeyOption_descriptor() {
520 return Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
522 static inline const ::std::string& ForeignKeyOption_Name(ForeignKeyOption value) {
523 return Table_ForeignKeyConstraint_ForeignKeyOption_Name(value);
525 static inline bool ForeignKeyOption_Parse(const ::std::string& name,
526 ForeignKeyOption* value) {
527 return Table_ForeignKeyConstraint_ForeignKeyOption_Parse(name, value);
533 inline bool has_name()
const;
534 inline void clear_name();
535 static const int kNameFieldNumber = 1;
536 inline const ::std::string& name()
const;
537 inline void set_name(const ::std::string& value);
538 inline void set_name(
const char* value);
539 inline void set_name(
const char* value,
size_t size);
540 inline ::std::string* mutable_name();
541 inline ::std::string* release_name();
542 inline void set_allocated_name(::std::string* name);
545 inline int column_names_size()
const;
546 inline void clear_column_names();
547 static const int kColumnNamesFieldNumber = 2;
548 inline const ::std::string& column_names(
int index)
const;
549 inline ::std::string* mutable_column_names(
int index);
550 inline void set_column_names(
int index, const ::std::string& value);
551 inline void set_column_names(
int index,
const char* value);
552 inline void set_column_names(
int index,
const char* value,
size_t size);
553 inline ::std::string* add_column_names();
554 inline void add_column_names(const ::std::string& value);
555 inline void add_column_names(
const char* value);
556 inline void add_column_names(
const char* value,
size_t size);
557 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& column_names()
const;
558 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_column_names();
561 inline bool has_references_table_name()
const;
562 inline void clear_references_table_name();
563 static const int kReferencesTableNameFieldNumber = 3;
564 inline const ::std::string& references_table_name()
const;
565 inline void set_references_table_name(const ::std::string& value);
566 inline void set_references_table_name(
const char* value);
567 inline void set_references_table_name(
const char* value,
size_t size);
568 inline ::std::string* mutable_references_table_name();
569 inline ::std::string* release_references_table_name();
570 inline void set_allocated_references_table_name(::std::string* references_table_name);
573 inline int references_columns_size()
const;
574 inline void clear_references_columns();
575 static const int kReferencesColumnsFieldNumber = 4;
576 inline const ::std::string& references_columns(
int index)
const;
577 inline ::std::string* mutable_references_columns(
int index);
578 inline void set_references_columns(
int index, const ::std::string& value);
579 inline void set_references_columns(
int index,
const char* value);
580 inline void set_references_columns(
int index,
const char* value,
size_t size);
581 inline ::std::string* add_references_columns();
582 inline void add_references_columns(const ::std::string& value);
583 inline void add_references_columns(
const char* value);
584 inline void add_references_columns(
const char* value,
size_t size);
585 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& references_columns()
const;
586 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_references_columns();
589 inline bool has_match()
const;
590 inline void clear_match();
591 static const int kMatchFieldNumber = 5;
592 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption match()
const;
593 inline void set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value);
596 inline bool has_update_option()
const;
597 inline void clear_update_option();
598 static const int kUpdateOptionFieldNumber = 6;
599 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption update_option()
const;
600 inline void set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
603 inline bool has_delete_option()
const;
604 inline void clear_delete_option();
605 static const int kDeleteOptionFieldNumber = 7;
606 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption delete_option()
const;
607 inline void set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
611 inline void set_has_name();
612 inline void clear_has_name();
613 inline void set_has_references_table_name();
614 inline void clear_has_references_table_name();
615 inline void set_has_match();
616 inline void clear_has_match();
617 inline void set_has_update_option();
618 inline void clear_has_update_option();
619 inline void set_has_delete_option();
620 inline void clear_has_delete_option();
622 ::google::protobuf::UnknownFieldSet _unknown_fields_;
624 ::google::protobuf::uint32 _has_bits_[1];
625 mutable int _cached_size_;
626 ::std::string* name_;
627 ::google::protobuf::RepeatedPtrField< ::std::string> column_names_;
628 ::std::string* references_table_name_;
629 ::google::protobuf::RepeatedPtrField< ::std::string> references_columns_;
633 friend void protobuf_AddDesc_table_2eproto();
634 friend void protobuf_AssignDesc_table_2eproto();
635 friend void protobuf_ShutdownFile_table_2eproto();
637 void InitAsDefaultInstance();
654 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
655 return _unknown_fields_;
658 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
659 return &_unknown_fields_;
662 static const ::google::protobuf::Descriptor* descriptor();
670 void CopyFrom(const ::google::protobuf::Message& from);
671 void MergeFrom(const ::google::protobuf::Message& from);
675 bool IsInitialized()
const;
677 int ByteSize()
const;
678 bool MergePartialFromCodedStream(
679 ::google::protobuf::io::CodedInputStream* input);
680 void SerializeWithCachedSizes(
681 ::google::protobuf::io::CodedOutputStream* output)
const;
682 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
683 int GetCachedSize()
const {
return _cached_size_; }
687 void SetCachedSize(
int size)
const;
689 ::google::protobuf::Metadata GetMetadata()
const;
696 inline bool has_default_value()
const;
697 inline void clear_default_value();
698 static const int kDefaultValueFieldNumber = 1;
699 inline const ::std::string& default_value()
const;
700 inline void set_default_value(const ::std::string& value);
701 inline void set_default_value(
const char* value);
702 inline void set_default_value(
const char* value,
size_t size);
703 inline ::std::string* mutable_default_value();
704 inline ::std::string* release_default_value();
705 inline void set_allocated_default_value(::std::string* default_value);
708 inline bool has_update_value()
const;
709 inline void clear_update_value();
710 static const int kUpdateValueFieldNumber = 2;
711 inline const ::std::string& update_value()
const;
712 inline void set_update_value(const ::std::string& value);
713 inline void set_update_value(
const char* value);
714 inline void set_update_value(
const char* value,
size_t size);
715 inline ::std::string* mutable_update_value();
716 inline ::std::string* release_update_value();
717 inline void set_allocated_update_value(::std::string* update_value);
720 inline bool has_default_null()
const;
721 inline void clear_default_null();
722 static const int kDefaultNullFieldNumber = 3;
723 inline bool default_null()
const;
724 inline void set_default_null(
bool value);
727 inline bool has_default_bin_value()
const;
728 inline void clear_default_bin_value();
729 static const int kDefaultBinValueFieldNumber = 4;
730 inline const ::std::string& default_bin_value()
const;
731 inline void set_default_bin_value(const ::std::string& value);
732 inline void set_default_bin_value(
const char* value);
733 inline void set_default_bin_value(
const void* value,
size_t size);
734 inline ::std::string* mutable_default_bin_value();
735 inline ::std::string* release_default_bin_value();
736 inline void set_allocated_default_bin_value(::std::string* default_bin_value);
739 inline bool has_default_expression()
const;
740 inline void clear_default_expression();
741 static const int kDefaultExpressionFieldNumber = 5;
742 inline const ::std::string& default_expression()
const;
743 inline void set_default_expression(const ::std::string& value);
744 inline void set_default_expression(
const char* value);
745 inline void set_default_expression(
const char* value,
size_t size);
746 inline ::std::string* mutable_default_expression();
747 inline ::std::string* release_default_expression();
748 inline void set_allocated_default_expression(::std::string* default_expression);
751 inline bool has_update_expression()
const;
752 inline void clear_update_expression();
753 static const int kUpdateExpressionFieldNumber = 6;
754 inline const ::std::string& update_expression()
const;
755 inline void set_update_expression(const ::std::string& value);
756 inline void set_update_expression(
const char* value);
757 inline void set_update_expression(
const char* value,
size_t size);
758 inline ::std::string* mutable_update_expression();
759 inline ::std::string* release_update_expression();
760 inline void set_allocated_update_expression(::std::string* update_expression);
764 inline void set_has_default_value();
765 inline void clear_has_default_value();
766 inline void set_has_update_value();
767 inline void clear_has_update_value();
768 inline void set_has_default_null();
769 inline void clear_has_default_null();
770 inline void set_has_default_bin_value();
771 inline void clear_has_default_bin_value();
772 inline void set_has_default_expression();
773 inline void clear_has_default_expression();
774 inline void set_has_update_expression();
775 inline void clear_has_update_expression();
777 ::google::protobuf::UnknownFieldSet _unknown_fields_;
779 ::google::protobuf::uint32 _has_bits_[1];
780 mutable int _cached_size_;
781 ::std::string* default_value_;
782 ::std::string* update_value_;
783 ::std::string* default_bin_value_;
784 ::std::string* default_expression_;
785 ::std::string* update_expression_;
787 friend void protobuf_AddDesc_table_2eproto();
788 friend void protobuf_AssignDesc_table_2eproto();
789 friend void protobuf_ShutdownFile_table_2eproto();
791 void InitAsDefaultInstance();
808 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
809 return _unknown_fields_;
812 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
813 return &_unknown_fields_;
816 static const ::google::protobuf::Descriptor* descriptor();
824 void CopyFrom(const ::google::protobuf::Message& from);
825 void MergeFrom(const ::google::protobuf::Message& from);
829 bool IsInitialized()
const;
831 int ByteSize()
const;
832 bool MergePartialFromCodedStream(
833 ::google::protobuf::io::CodedInputStream* input);
834 void SerializeWithCachedSizes(
835 ::google::protobuf::io::CodedOutputStream* output)
const;
836 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
837 int GetCachedSize()
const {
return _cached_size_; }
841 void SetCachedSize(
int size)
const;
843 ::google::protobuf::Metadata GetMetadata()
const;
850 inline bool has_is_nullable()
const;
851 inline void clear_is_nullable();
852 static const int kIsNullableFieldNumber = 1;
853 inline bool is_nullable()
const;
854 inline void set_is_nullable(
bool value);
857 inline bool has_is_unsigned()
const;
858 inline void clear_is_unsigned();
859 static const int kIsUnsignedFieldNumber = 2;
860 inline bool is_unsigned()
const;
861 inline void set_is_unsigned(
bool value);
864 inline bool has_is_notnull()
const;
865 inline void clear_is_notnull();
866 static const int kIsNotnullFieldNumber = 3;
867 inline bool is_notnull()
const;
868 inline void set_is_notnull(
bool value);
871 inline bool has_is_unique()
const;
872 inline void clear_is_unique();
873 static const int kIsUniqueFieldNumber = 4;
874 inline bool is_unique()
const;
875 inline void set_is_unique(
bool value);
878 inline int expression_size()
const;
879 inline void clear_expression();
880 static const int kExpressionFieldNumber = 16;
881 inline const ::std::string& expression(
int index)
const;
882 inline ::std::string* mutable_expression(
int index);
883 inline void set_expression(
int index, const ::std::string& value);
884 inline void set_expression(
int index,
const char* value);
885 inline void set_expression(
int index,
const char* value,
size_t size);
886 inline ::std::string* add_expression();
887 inline void add_expression(const ::std::string& value);
888 inline void add_expression(
const char* value);
889 inline void add_expression(
const char* value,
size_t size);
890 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& expression()
const;
891 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_expression();
895 inline void set_has_is_nullable();
896 inline void clear_has_is_nullable();
897 inline void set_has_is_unsigned();
898 inline void clear_has_is_unsigned();
899 inline void set_has_is_notnull();
900 inline void clear_has_is_notnull();
901 inline void set_has_is_unique();
902 inline void clear_has_is_unique();
904 ::google::protobuf::UnknownFieldSet _unknown_fields_;
906 ::google::protobuf::uint32 _has_bits_[1];
907 mutable int _cached_size_;
908 ::google::protobuf::RepeatedPtrField< ::std::string> expression_;
913 friend void protobuf_AddDesc_table_2eproto();
914 friend void protobuf_AssignDesc_table_2eproto();
915 friend void protobuf_ShutdownFile_table_2eproto();
917 void InitAsDefaultInstance();
934 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
935 return _unknown_fields_;
938 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
939 return &_unknown_fields_;
942 static const ::google::protobuf::Descriptor* descriptor();
950 void CopyFrom(const ::google::protobuf::Message& from);
951 void MergeFrom(const ::google::protobuf::Message& from);
955 bool IsInitialized()
const;
957 int ByteSize()
const;
958 bool MergePartialFromCodedStream(
959 ::google::protobuf::io::CodedInputStream* input);
960 void SerializeWithCachedSizes(
961 ::google::protobuf::io::CodedOutputStream* output)
const;
962 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
963 int GetCachedSize()
const {
return _cached_size_; }
967 void SetCachedSize(
int size)
const;
969 ::google::protobuf::Metadata GetMetadata()
const;
976 inline bool has_is_autoincrement()
const;
977 inline void clear_is_autoincrement();
978 static const int kIsAutoincrementFieldNumber = 1;
979 inline bool is_autoincrement()
const;
980 inline void set_is_autoincrement(
bool value);
983 inline bool has_scale()
const;
984 inline void clear_scale();
985 static const int kScaleFieldNumber = 2;
986 inline ::google::protobuf::uint32 scale()
const;
987 inline void set_scale(::google::protobuf::uint32 value);
990 inline bool has_precision()
const;
991 inline void clear_precision();
992 static const int kPrecisionFieldNumber = 3;
993 inline ::google::protobuf::uint32 precision()
const;
994 inline void set_precision(::google::protobuf::uint32 value);
998 inline void set_has_is_autoincrement();
999 inline void clear_has_is_autoincrement();
1000 inline void set_has_scale();
1001 inline void clear_has_scale();
1002 inline void set_has_precision();
1003 inline void clear_has_precision();
1005 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1007 ::google::protobuf::uint32 _has_bits_[1];
1008 mutable int _cached_size_;
1009 bool is_autoincrement_;
1010 ::google::protobuf::uint32 scale_;
1011 ::google::protobuf::uint32 precision_;
1012 friend void protobuf_AddDesc_table_2eproto();
1013 friend void protobuf_AssignDesc_table_2eproto();
1014 friend void protobuf_ShutdownFile_table_2eproto();
1016 void InitAsDefaultInstance();
1033 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1034 return _unknown_fields_;
1037 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1038 return &_unknown_fields_;
1041 static const ::google::protobuf::Descriptor* descriptor();
1049 void CopyFrom(const ::google::protobuf::Message& from);
1050 void MergeFrom(const ::google::protobuf::Message& from);
1054 bool IsInitialized()
const;
1056 int ByteSize()
const;
1057 bool MergePartialFromCodedStream(
1058 ::google::protobuf::io::CodedInputStream* input);
1059 void SerializeWithCachedSizes(
1060 ::google::protobuf::io::CodedOutputStream* output)
const;
1061 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1062 int GetCachedSize()
const {
return _cached_size_; }
1066 void SetCachedSize(
int size)
const;
1068 ::google::protobuf::Metadata GetMetadata()
const;
1075 inline bool has_is_fixed_width()
const;
1076 inline void clear_is_fixed_width();
1077 static const int kIsFixedWidthFieldNumber = 1;
1078 inline bool is_fixed_width()
const;
1079 inline void set_is_fixed_width(
bool value);
1082 inline bool has_length()
const;
1083 inline void clear_length();
1084 static const int kLengthFieldNumber = 2;
1085 inline ::google::protobuf::uint32 length()
const;
1086 inline void set_length(::google::protobuf::uint32 value);
1089 inline bool has_collation_id()
const;
1090 inline void clear_collation_id();
1091 static const int kCollationIdFieldNumber = 3;
1092 inline ::google::protobuf::uint32 collation_id()
const;
1093 inline void set_collation_id(::google::protobuf::uint32 value);
1096 inline bool has_collation()
const;
1097 inline void clear_collation();
1098 static const int kCollationFieldNumber = 4;
1099 inline const ::std::string& collation()
const;
1100 inline void set_collation(const ::std::string& value);
1101 inline void set_collation(
const char* value);
1102 inline void set_collation(
const char* value,
size_t size);
1103 inline ::std::string* mutable_collation();
1104 inline ::std::string* release_collation();
1105 inline void set_allocated_collation(::std::string* collation);
1109 inline void set_has_is_fixed_width();
1110 inline void clear_has_is_fixed_width();
1111 inline void set_has_length();
1112 inline void clear_has_length();
1113 inline void set_has_collation_id();
1114 inline void clear_has_collation_id();
1115 inline void set_has_collation();
1116 inline void clear_has_collation();
1118 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1120 ::google::protobuf::uint32 _has_bits_[1];
1121 mutable int _cached_size_;
1122 bool is_fixed_width_;
1123 ::google::protobuf::uint32 length_;
1124 ::std::string* collation_;
1125 ::google::protobuf::uint32 collation_id_;
1126 friend void protobuf_AddDesc_table_2eproto();
1127 friend void protobuf_AssignDesc_table_2eproto();
1128 friend void protobuf_ShutdownFile_table_2eproto();
1130 void InitAsDefaultInstance();
1147 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1148 return _unknown_fields_;
1151 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1152 return &_unknown_fields_;
1155 static const ::google::protobuf::Descriptor* descriptor();
1163 void CopyFrom(const ::google::protobuf::Message& from);
1164 void MergeFrom(const ::google::protobuf::Message& from);
1168 bool IsInitialized()
const;
1170 int ByteSize()
const;
1171 bool MergePartialFromCodedStream(
1172 ::google::protobuf::io::CodedInputStream* input);
1173 void SerializeWithCachedSizes(
1174 ::google::protobuf::io::CodedOutputStream* output)
const;
1175 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1176 int GetCachedSize()
const {
return _cached_size_; }
1180 void SetCachedSize(
int size)
const;
1182 ::google::protobuf::Metadata GetMetadata()
const;
1189 inline bool has_collation_id()
const;
1190 inline void clear_collation_id();
1191 static const int kCollationIdFieldNumber = 2;
1192 inline ::google::protobuf::uint32 collation_id()
const;
1193 inline void set_collation_id(::google::protobuf::uint32 value);
1196 inline bool has_collation()
const;
1197 inline void clear_collation();
1198 static const int kCollationFieldNumber = 3;
1199 inline const ::std::string& collation()
const;
1200 inline void set_collation(const ::std::string& value);
1201 inline void set_collation(
const char* value);
1202 inline void set_collation(
const char* value,
size_t size);
1203 inline ::std::string* mutable_collation();
1204 inline ::std::string* release_collation();
1205 inline void set_allocated_collation(::std::string* collation);
1208 inline int field_value_size()
const;
1209 inline void clear_field_value();
1210 static const int kFieldValueFieldNumber = 4;
1211 inline const ::std::string& field_value(
int index)
const;
1212 inline ::std::string* mutable_field_value(
int index);
1213 inline void set_field_value(
int index, const ::std::string& value);
1214 inline void set_field_value(
int index,
const char* value);
1215 inline void set_field_value(
int index,
const char* value,
size_t size);
1216 inline ::std::string* add_field_value();
1217 inline void add_field_value(const ::std::string& value);
1218 inline void add_field_value(
const char* value);
1219 inline void add_field_value(
const char* value,
size_t size);
1220 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& field_value()
const;
1221 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_field_value();
1225 inline void set_has_collation_id();
1226 inline void clear_has_collation_id();
1227 inline void set_has_collation();
1228 inline void clear_has_collation();
1230 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1232 ::google::protobuf::uint32 _has_bits_[1];
1233 mutable int _cached_size_;
1234 ::std::string* collation_;
1235 ::google::protobuf::RepeatedPtrField< ::std::string> field_value_;
1236 ::google::protobuf::uint32 collation_id_;
1237 friend void protobuf_AddDesc_table_2eproto();
1238 friend void protobuf_AssignDesc_table_2eproto();
1239 friend void protobuf_ShutdownFile_table_2eproto();
1241 void InitAsDefaultInstance();
1258 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1259 return _unknown_fields_;
1262 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1263 return &_unknown_fields_;
1266 static const ::google::protobuf::Descriptor* descriptor();
1274 void CopyFrom(const ::google::protobuf::Message& from);
1275 void MergeFrom(const ::google::protobuf::Message& from);
1279 bool IsInitialized()
const;
1281 int ByteSize()
const;
1282 bool MergePartialFromCodedStream(
1283 ::google::protobuf::io::CodedInputStream* input);
1284 void SerializeWithCachedSizes(
1285 ::google::protobuf::io::CodedOutputStream* output)
const;
1286 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1287 int GetCachedSize()
const {
return _cached_size_; }
1291 void SetCachedSize(
int size)
const;
1293 ::google::protobuf::Metadata GetMetadata()
const;
1300 inline bool has_microseconds()
const;
1301 inline void clear_microseconds();
1302 static const int kMicrosecondsFieldNumber = 1;
1303 inline bool microseconds()
const;
1304 inline void set_microseconds(
bool value);
1308 inline void set_has_microseconds();
1309 inline void clear_has_microseconds();
1311 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1313 ::google::protobuf::uint32 _has_bits_[1];
1314 mutable int _cached_size_;
1316 friend void protobuf_AddDesc_table_2eproto();
1317 friend void protobuf_AssignDesc_table_2eproto();
1318 friend void protobuf_ShutdownFile_table_2eproto();
1320 void InitAsDefaultInstance();
1337 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1338 return _unknown_fields_;
1341 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1342 return &_unknown_fields_;
1345 static const ::google::protobuf::Descriptor* descriptor();
1353 void CopyFrom(const ::google::protobuf::Message& from);
1354 void MergeFrom(const ::google::protobuf::Message& from);
1358 bool IsInitialized()
const;
1360 int ByteSize()
const;
1361 bool MergePartialFromCodedStream(
1362 ::google::protobuf::io::CodedInputStream* input);
1363 void SerializeWithCachedSizes(
1364 ::google::protobuf::io::CodedOutputStream* output)
const;
1365 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1366 int GetCachedSize()
const {
return _cached_size_; }
1370 void SetCachedSize(
int size)
const;
1372 ::google::protobuf::Metadata GetMetadata()
const;
1383 typedef Table_Field_FieldType FieldType;
1384 static const FieldType DOUBLE = Table_Field_FieldType_DOUBLE;
1385 static const FieldType VARCHAR = Table_Field_FieldType_VARCHAR;
1386 static const FieldType BLOB = Table_Field_FieldType_BLOB;
1387 static const FieldType ENUM = Table_Field_FieldType_ENUM;
1388 static const FieldType INTEGER = Table_Field_FieldType_INTEGER;
1389 static const FieldType BIGINT = Table_Field_FieldType_BIGINT;
1390 static const FieldType DECIMAL = Table_Field_FieldType_DECIMAL;
1391 static const FieldType DATE = Table_Field_FieldType_DATE;
1392 static const FieldType EPOCH = Table_Field_FieldType_EPOCH;
1393 static const FieldType DATETIME = Table_Field_FieldType_DATETIME;
1394 static const FieldType UUID = Table_Field_FieldType_UUID;
1395 static const FieldType TIME = Table_Field_FieldType_TIME;
1396 static const FieldType BOOLEAN = Table_Field_FieldType_BOOLEAN;
1397 static const FieldType IPV6 = Table_Field_FieldType_IPV6;
1398 static inline bool FieldType_IsValid(
int value) {
1399 return Table_Field_FieldType_IsValid(value);
1401 static const FieldType FieldType_MIN =
1402 Table_Field_FieldType_FieldType_MIN;
1403 static const FieldType FieldType_MAX =
1404 Table_Field_FieldType_FieldType_MAX;
1405 static const int FieldType_ARRAYSIZE =
1406 Table_Field_FieldType_FieldType_ARRAYSIZE;
1407 static inline const ::google::protobuf::EnumDescriptor*
1408 FieldType_descriptor() {
1409 return Table_Field_FieldType_descriptor();
1411 static inline const ::std::string& FieldType_Name(FieldType value) {
1412 return Table_Field_FieldType_Name(value);
1414 static inline bool FieldType_Parse(const ::std::string& name,
1416 return Table_Field_FieldType_Parse(name, value);
1422 inline bool has_name()
const;
1423 inline void clear_name();
1424 static const int kNameFieldNumber = 1;
1425 inline const ::std::string& name()
const;
1426 inline void set_name(const ::std::string& value);
1427 inline void set_name(
const char* value);
1428 inline void set_name(
const char* value,
size_t size);
1429 inline ::std::string* mutable_name();
1430 inline ::std::string* release_name();
1431 inline void set_allocated_name(::std::string* name);
1434 inline bool has_type()
const;
1435 inline void clear_type();
1436 static const int kTypeFieldNumber = 2;
1437 inline ::drizzled::message::Table_Field_FieldType type()
const;
1438 inline void set_type(::drizzled::message::Table_Field_FieldType value);
1441 inline bool has_options()
const;
1442 inline void clear_options();
1443 static const int kOptionsFieldNumber = 4;
1444 inline const ::drizzled::message::Table_Field_FieldOptions& options()
const;
1445 inline ::drizzled::message::Table_Field_FieldOptions* mutable_options();
1446 inline ::drizzled::message::Table_Field_FieldOptions* release_options();
1450 inline bool has_constraints()
const;
1451 inline void clear_constraints();
1452 static const int kConstraintsFieldNumber = 5;
1453 inline const ::drizzled::message::Table_Field_FieldConstraints& constraints()
const;
1454 inline ::drizzled::message::Table_Field_FieldConstraints* mutable_constraints();
1455 inline ::drizzled::message::Table_Field_FieldConstraints* release_constraints();
1459 inline bool has_numeric_options()
const;
1460 inline void clear_numeric_options();
1461 static const int kNumericOptionsFieldNumber = 6;
1462 inline const ::drizzled::message::Table_Field_NumericFieldOptions& numeric_options()
const;
1463 inline ::drizzled::message::Table_Field_NumericFieldOptions* mutable_numeric_options();
1464 inline ::drizzled::message::Table_Field_NumericFieldOptions* release_numeric_options();
1468 inline bool has_string_options()
const;
1469 inline void clear_string_options();
1470 static const int kStringOptionsFieldNumber = 7;
1471 inline const ::drizzled::message::Table_Field_StringFieldOptions& string_options()
const;
1472 inline ::drizzled::message::Table_Field_StringFieldOptions* mutable_string_options();
1473 inline ::drizzled::message::Table_Field_StringFieldOptions* release_string_options();
1477 inline bool has_time_options()
const;
1478 inline void clear_time_options();
1479 static const int kTimeOptionsFieldNumber = 8;
1480 inline const ::drizzled::message::Table_Field_TimeFieldOptions& time_options()
const;
1481 inline ::drizzled::message::Table_Field_TimeFieldOptions* mutable_time_options();
1482 inline ::drizzled::message::Table_Field_TimeFieldOptions* release_time_options();
1486 inline bool has_comment()
const;
1487 inline void clear_comment();
1488 static const int kCommentFieldNumber = 16;
1489 inline const ::std::string& comment()
const;
1490 inline void set_comment(const ::std::string& value);
1491 inline void set_comment(
const char* value);
1492 inline void set_comment(
const char* value,
size_t size);
1493 inline ::std::string* mutable_comment();
1494 inline ::std::string* release_comment();
1495 inline void set_allocated_comment(::std::string* comment);
1498 inline bool has_enumeration_values()
const;
1499 inline void clear_enumeration_values();
1500 static const int kEnumerationValuesFieldNumber = 17;
1501 inline const ::drizzled::message::Table_Field_EnumerationValues& enumeration_values()
const;
1502 inline ::drizzled::message::Table_Field_EnumerationValues* mutable_enumeration_values();
1503 inline ::drizzled::message::Table_Field_EnumerationValues* release_enumeration_values();
1508 inline void set_has_name();
1509 inline void clear_has_name();
1510 inline void set_has_type();
1511 inline void clear_has_type();
1512 inline void set_has_options();
1513 inline void clear_has_options();
1514 inline void set_has_constraints();
1515 inline void clear_has_constraints();
1516 inline void set_has_numeric_options();
1517 inline void clear_has_numeric_options();
1518 inline void set_has_string_options();
1519 inline void clear_has_string_options();
1520 inline void set_has_time_options();
1521 inline void clear_has_time_options();
1522 inline void set_has_comment();
1523 inline void clear_has_comment();
1524 inline void set_has_enumeration_values();
1525 inline void clear_has_enumeration_values();
1527 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1529 ::google::protobuf::uint32 _has_bits_[1];
1530 mutable int _cached_size_;
1531 ::std::string* name_;
1537 ::std::string* comment_;
1540 friend void protobuf_AddDesc_table_2eproto();
1541 friend void protobuf_AssignDesc_table_2eproto();
1542 friend void protobuf_ShutdownFile_table_2eproto();
1544 void InitAsDefaultInstance();
1561 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1562 return _unknown_fields_;
1565 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1566 return &_unknown_fields_;
1569 static const ::google::protobuf::Descriptor* descriptor();
1577 void CopyFrom(const ::google::protobuf::Message& from);
1578 void MergeFrom(const ::google::protobuf::Message& from);
1582 bool IsInitialized()
const;
1584 int ByteSize()
const;
1585 bool MergePartialFromCodedStream(
1586 ::google::protobuf::io::CodedInputStream* input);
1587 void SerializeWithCachedSizes(
1588 ::google::protobuf::io::CodedOutputStream* output)
const;
1589 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1590 int GetCachedSize()
const {
return _cached_size_; }
1594 void SetCachedSize(
int size)
const;
1596 ::google::protobuf::Metadata GetMetadata()
const;
1603 inline bool has_fieldnr()
const;
1604 inline void clear_fieldnr();
1605 static const int kFieldnrFieldNumber = 1;
1606 inline ::google::protobuf::uint32 fieldnr()
const;
1607 inline void set_fieldnr(::google::protobuf::uint32 value);
1610 inline bool has_compare_length()
const;
1611 inline void clear_compare_length();
1612 static const int kCompareLengthFieldNumber = 2;
1613 inline ::google::protobuf::uint32 compare_length()
const;
1614 inline void set_compare_length(::google::protobuf::uint32 value);
1617 inline bool has_in_reverse_order()
const;
1618 inline void clear_in_reverse_order();
1619 static const int kInReverseOrderFieldNumber = 3;
1620 inline bool in_reverse_order()
const;
1621 inline void set_in_reverse_order(
bool value);
1625 inline void set_has_fieldnr();
1626 inline void clear_has_fieldnr();
1627 inline void set_has_compare_length();
1628 inline void clear_has_compare_length();
1629 inline void set_has_in_reverse_order();
1630 inline void clear_has_in_reverse_order();
1632 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1634 ::google::protobuf::uint32 _has_bits_[1];
1635 mutable int _cached_size_;
1636 ::google::protobuf::uint32 fieldnr_;
1637 ::google::protobuf::uint32 compare_length_;
1638 bool in_reverse_order_;
1639 friend void protobuf_AddDesc_table_2eproto();
1640 friend void protobuf_AssignDesc_table_2eproto();
1641 friend void protobuf_ShutdownFile_table_2eproto();
1643 void InitAsDefaultInstance();
1660 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1661 return _unknown_fields_;
1664 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1665 return &_unknown_fields_;
1668 static const ::google::protobuf::Descriptor* descriptor();
1676 void CopyFrom(const ::google::protobuf::Message& from);
1677 void MergeFrom(const ::google::protobuf::Message& from);
1681 bool IsInitialized()
const;
1683 int ByteSize()
const;
1684 bool MergePartialFromCodedStream(
1685 ::google::protobuf::io::CodedInputStream* input);
1686 void SerializeWithCachedSizes(
1687 ::google::protobuf::io::CodedOutputStream* output)
const;
1688 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1689 int GetCachedSize()
const {
return _cached_size_; }
1693 void SetCachedSize(
int size)
const;
1695 ::google::protobuf::Metadata GetMetadata()
const;
1702 inline bool has_pack_key()
const;
1703 inline void clear_pack_key();
1704 static const int kPackKeyFieldNumber = 1;
1705 inline bool pack_key()
const;
1706 inline void set_pack_key(
bool value);
1709 inline bool has_binary_pack_key()
const;
1710 inline void clear_binary_pack_key();
1711 static const int kBinaryPackKeyFieldNumber = 2;
1712 inline bool binary_pack_key()
const;
1713 inline void set_binary_pack_key(
bool value);
1716 inline bool has_var_length_key()
const;
1717 inline void clear_var_length_key();
1718 static const int kVarLengthKeyFieldNumber = 3;
1719 inline bool var_length_key()
const;
1720 inline void set_var_length_key(
bool value);
1723 inline bool has_null_part_key()
const;
1724 inline void clear_null_part_key();
1725 static const int kNullPartKeyFieldNumber = 4;
1726 inline bool null_part_key()
const;
1727 inline void set_null_part_key(
bool value);
1730 inline bool has_key_block_size()
const;
1731 inline void clear_key_block_size();
1732 static const int kKeyBlockSizeFieldNumber = 5;
1733 inline ::google::protobuf::uint32 key_block_size()
const;
1734 inline void set_key_block_size(::google::protobuf::uint32 value);
1737 inline bool has_has_partial_segments()
const;
1738 inline void clear_has_partial_segments();
1739 static const int kHasPartialSegmentsFieldNumber = 6;
1740 inline bool has_partial_segments()
const;
1741 inline void set_has_partial_segments(
bool value);
1744 inline bool has_auto_generated_key()
const;
1745 inline void clear_auto_generated_key();
1746 static const int kAutoGeneratedKeyFieldNumber = 7;
1747 inline bool auto_generated_key()
const;
1748 inline void set_auto_generated_key(
bool value);
1752 inline void set_has_pack_key();
1753 inline void clear_has_pack_key();
1754 inline void set_has_binary_pack_key();
1755 inline void clear_has_binary_pack_key();
1756 inline void set_has_var_length_key();
1757 inline void clear_has_var_length_key();
1758 inline void set_has_null_part_key();
1759 inline void clear_has_null_part_key();
1760 inline void set_has_key_block_size();
1761 inline void clear_has_key_block_size();
1762 inline void set_has_has_partial_segments();
1763 inline void clear_has_has_partial_segments();
1764 inline void set_has_auto_generated_key();
1765 inline void clear_has_auto_generated_key();
1767 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1769 ::google::protobuf::uint32 _has_bits_[1];
1770 mutable int _cached_size_;
1772 bool binary_pack_key_;
1773 bool var_length_key_;
1774 bool null_part_key_;
1775 ::google::protobuf::uint32 key_block_size_;
1776 bool has_partial_segments_;
1777 bool auto_generated_key_;
1778 friend void protobuf_AddDesc_table_2eproto();
1779 friend void protobuf_AssignDesc_table_2eproto();
1780 friend void protobuf_ShutdownFile_table_2eproto();
1782 void InitAsDefaultInstance();
1799 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1800 return _unknown_fields_;
1803 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1804 return &_unknown_fields_;
1807 static const ::google::protobuf::Descriptor* descriptor();
1815 void CopyFrom(const ::google::protobuf::Message& from);
1816 void MergeFrom(const ::google::protobuf::Message& from);
1820 bool IsInitialized()
const;
1822 int ByteSize()
const;
1823 bool MergePartialFromCodedStream(
1824 ::google::protobuf::io::CodedInputStream* input);
1825 void SerializeWithCachedSizes(
1826 ::google::protobuf::io::CodedOutputStream* output)
const;
1827 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1828 int GetCachedSize()
const {
return _cached_size_; }
1832 void SetCachedSize(
int size)
const;
1834 ::google::protobuf::Metadata GetMetadata()
const;
1841 typedef Table_Index_IndexType IndexType;
1842 static const IndexType UNKNOWN_INDEX = Table_Index_IndexType_UNKNOWN_INDEX;
1843 static const IndexType BTREE = Table_Index_IndexType_BTREE;
1844 static const IndexType RTREE = Table_Index_IndexType_RTREE;
1845 static const IndexType
HASH = Table_Index_IndexType_HASH;
1846 static const IndexType FULLTEXT = Table_Index_IndexType_FULLTEXT;
1847 static inline bool IndexType_IsValid(
int value) {
1848 return Table_Index_IndexType_IsValid(value);
1850 static const IndexType IndexType_MIN =
1851 Table_Index_IndexType_IndexType_MIN;
1852 static const IndexType IndexType_MAX =
1853 Table_Index_IndexType_IndexType_MAX;
1854 static const int IndexType_ARRAYSIZE =
1855 Table_Index_IndexType_IndexType_ARRAYSIZE;
1856 static inline const ::google::protobuf::EnumDescriptor*
1857 IndexType_descriptor() {
1858 return Table_Index_IndexType_descriptor();
1860 static inline const ::std::string& IndexType_Name(IndexType value) {
1861 return Table_Index_IndexType_Name(value);
1863 static inline bool IndexType_Parse(const ::std::string& name,
1865 return Table_Index_IndexType_Parse(name, value);
1871 inline bool has_name()
const;
1872 inline void clear_name();
1873 static const int kNameFieldNumber = 1;
1874 inline const ::std::string& name()
const;
1875 inline void set_name(const ::std::string& value);
1876 inline void set_name(
const char* value);
1877 inline void set_name(
const char* value,
size_t size);
1878 inline ::std::string* mutable_name();
1879 inline ::std::string* release_name();
1880 inline void set_allocated_name(::std::string* name);
1883 inline bool has_is_primary()
const;
1884 inline void clear_is_primary();
1885 static const int kIsPrimaryFieldNumber = 2;
1886 inline bool is_primary()
const;
1887 inline void set_is_primary(
bool value);
1890 inline bool has_is_unique()
const;
1891 inline void clear_is_unique();
1892 static const int kIsUniqueFieldNumber = 3;
1893 inline bool is_unique()
const;
1894 inline void set_is_unique(
bool value);
1897 inline bool has_type()
const;
1898 inline void clear_type();
1899 static const int kTypeFieldNumber = 4;
1900 inline ::drizzled::message::Table_Index_IndexType type()
const;
1901 inline void set_type(::drizzled::message::Table_Index_IndexType value);
1904 inline bool has_key_length()
const;
1905 inline void clear_key_length();
1906 static const int kKeyLengthFieldNumber = 5;
1907 inline ::google::protobuf::uint32 key_length()
const;
1908 inline void set_key_length(::google::protobuf::uint32 value);
1911 inline int index_part_size()
const;
1912 inline void clear_index_part();
1913 static const int kIndexPartFieldNumber = 6;
1914 inline const ::drizzled::message::Table_Index_IndexPart& index_part(
int index)
const;
1915 inline ::drizzled::message::Table_Index_IndexPart* mutable_index_part(
int index);
1916 inline ::drizzled::message::Table_Index_IndexPart* add_index_part();
1917 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
1919 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
1920 mutable_index_part();
1923 inline bool has_options()
const;
1924 inline void clear_options();
1925 static const int kOptionsFieldNumber = 7;
1926 inline const ::drizzled::message::Table_Index_Options& options()
const;
1927 inline ::drizzled::message::Table_Index_Options* mutable_options();
1928 inline ::drizzled::message::Table_Index_Options* release_options();
1932 inline bool has_comment()
const;
1933 inline void clear_comment();
1934 static const int kCommentFieldNumber = 8;
1935 inline const ::std::string& comment()
const;
1936 inline void set_comment(const ::std::string& value);
1937 inline void set_comment(
const char* value);
1938 inline void set_comment(
const char* value,
size_t size);
1939 inline ::std::string* mutable_comment();
1940 inline ::std::string* release_comment();
1941 inline void set_allocated_comment(::std::string* comment);
1945 inline void set_has_name();
1946 inline void clear_has_name();
1947 inline void set_has_is_primary();
1948 inline void clear_has_is_primary();
1949 inline void set_has_is_unique();
1950 inline void clear_has_is_unique();
1951 inline void set_has_type();
1952 inline void clear_has_type();
1953 inline void set_has_key_length();
1954 inline void clear_has_key_length();
1955 inline void set_has_options();
1956 inline void clear_has_options();
1957 inline void set_has_comment();
1958 inline void clear_has_comment();
1960 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1962 ::google::protobuf::uint32 _has_bits_[1];
1963 mutable int _cached_size_;
1964 ::std::string* name_;
1968 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart > index_part_;
1970 ::std::string* comment_;
1971 ::google::protobuf::uint32 key_length_;
1972 friend void protobuf_AddDesc_table_2eproto();
1973 friend void protobuf_AssignDesc_table_2eproto();
1974 friend void protobuf_ShutdownFile_table_2eproto();
1976 void InitAsDefaultInstance();
1981 class Table :
public ::google::protobuf::Message {
1993 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1994 return _unknown_fields_;
1997 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1998 return &_unknown_fields_;
2001 static const ::google::protobuf::Descriptor* descriptor();
2002 static const Table& default_instance();
2004 void Swap(
Table* other);
2009 void CopyFrom(const ::google::protobuf::Message& from);
2010 void MergeFrom(const ::google::protobuf::Message& from);
2011 void CopyFrom(
const Table& from);
2012 void MergeFrom(
const Table& from);
2014 bool IsInitialized()
const;
2016 int ByteSize()
const;
2017 bool MergePartialFromCodedStream(
2018 ::google::protobuf::io::CodedInputStream* input);
2019 void SerializeWithCachedSizes(
2020 ::google::protobuf::io::CodedOutputStream* output)
const;
2021 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
2022 int GetCachedSize()
const {
return _cached_size_; }
2026 void SetCachedSize(
int size)
const;
2028 ::google::protobuf::Metadata GetMetadata()
const;
2037 typedef Table_TableType TableType;
2038 static const TableType STANDARD = Table_TableType_STANDARD;
2039 static const TableType TEMPORARY = Table_TableType_TEMPORARY;
2040 static const TableType INTERNAL = Table_TableType_INTERNAL;
2041 static const TableType FUNCTION = Table_TableType_FUNCTION;
2042 static inline bool TableType_IsValid(
int value) {
2043 return Table_TableType_IsValid(value);
2045 static const TableType TableType_MIN =
2046 Table_TableType_TableType_MIN;
2047 static const TableType TableType_MAX =
2048 Table_TableType_TableType_MAX;
2049 static const int TableType_ARRAYSIZE =
2050 Table_TableType_TableType_ARRAYSIZE;
2051 static inline const ::google::protobuf::EnumDescriptor*
2052 TableType_descriptor() {
2053 return Table_TableType_descriptor();
2055 static inline const ::std::string& TableType_Name(TableType value) {
2056 return Table_TableType_Name(value);
2058 static inline bool TableType_Parse(const ::std::string& name,
2060 return Table_TableType_Parse(name, value);
2066 inline bool has_name()
const;
2067 inline void clear_name();
2068 static const int kNameFieldNumber = 1;
2069 inline const ::std::string& name()
const;
2070 inline void set_name(const ::std::string& value);
2071 inline void set_name(
const char* value);
2072 inline void set_name(
const char* value,
size_t size);
2073 inline ::std::string* mutable_name();
2074 inline ::std::string* release_name();
2075 inline void set_allocated_name(::std::string* name);
2078 inline bool has_schema()
const;
2079 inline void clear_schema();
2080 static const int kSchemaFieldNumber = 6;
2081 inline const ::std::string& schema()
const;
2082 inline void set_schema(const ::std::string& value);
2083 inline void set_schema(
const char* value);
2084 inline void set_schema(
const char* value,
size_t size);
2085 inline ::std::string* mutable_schema();
2086 inline ::std::string* release_schema();
2087 inline void set_allocated_schema(::std::string* schema);
2090 inline bool has_type()
const;
2091 inline void clear_type();
2092 static const int kTypeFieldNumber = 5;
2093 inline ::drizzled::message::Table_TableType type()
const;
2094 inline void set_type(::drizzled::message::Table_TableType value);
2097 inline bool has_engine()
const;
2098 inline void clear_engine();
2099 static const int kEngineFieldNumber = 2;
2100 inline const ::drizzled::message::Engine& engine()
const;
2101 inline ::drizzled::message::Engine* mutable_engine();
2102 inline ::drizzled::message::Engine* release_engine();
2106 inline int field_size()
const;
2107 inline void clear_field();
2108 static const int kFieldFieldNumber = 3;
2109 inline const ::drizzled::message::Table_Field& field(
int index)
const;
2110 inline ::drizzled::message::Table_Field* mutable_field(
int index);
2111 inline ::drizzled::message::Table_Field* add_field();
2112 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
2114 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
2118 inline int indexes_size()
const;
2119 inline void clear_indexes();
2120 static const int kIndexesFieldNumber = 4;
2121 inline const ::drizzled::message::Table_Index& indexes(
int index)
const;
2122 inline ::drizzled::message::Table_Index* mutable_indexes(
int index);
2123 inline ::drizzled::message::Table_Index* add_indexes();
2124 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
2126 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
2130 inline int fk_constraint_size()
const;
2131 inline void clear_fk_constraint();
2132 static const int kFkConstraintFieldNumber = 8;
2133 inline const ::drizzled::message::Table_ForeignKeyConstraint& fk_constraint(
int index)
const;
2134 inline ::drizzled::message::Table_ForeignKeyConstraint* mutable_fk_constraint(
int index);
2135 inline ::drizzled::message::Table_ForeignKeyConstraint* add_fk_constraint();
2136 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
2137 fk_constraint()
const;
2138 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
2139 mutable_fk_constraint();
2142 inline bool has_options()
const;
2143 inline void clear_options();
2144 static const int kOptionsFieldNumber = 9;
2145 inline const ::drizzled::message::Table_TableOptions& options()
const;
2146 inline ::drizzled::message::Table_TableOptions* mutable_options();
2147 inline ::drizzled::message::Table_TableOptions* release_options();
2151 inline bool has_creation_timestamp()
const;
2152 inline void clear_creation_timestamp();
2153 static const int kCreationTimestampFieldNumber = 11;
2154 inline ::google::protobuf::uint64 creation_timestamp()
const;
2155 inline void set_creation_timestamp(::google::protobuf::uint64 value);
2158 inline bool has_update_timestamp()
const;
2159 inline void clear_update_timestamp();
2160 static const int kUpdateTimestampFieldNumber = 12;
2161 inline ::google::protobuf::uint64 update_timestamp()
const;
2162 inline void set_update_timestamp(::google::protobuf::uint64 value);
2165 inline bool has_catalog()
const;
2166 inline void clear_catalog();
2167 static const int kCatalogFieldNumber = 13;
2168 inline const ::std::string& catalog()
const;
2169 inline void set_catalog(const ::std::string& value);
2170 inline void set_catalog(
const char* value);
2171 inline void set_catalog(
const char* value,
size_t size);
2172 inline ::std::string* mutable_catalog();
2173 inline ::std::string* release_catalog();
2174 inline void set_allocated_catalog(::std::string* catalog);
2177 inline bool has_uuid()
const;
2178 inline void clear_uuid();
2179 static const int kUuidFieldNumber = 14;
2180 inline const ::std::string& uuid()
const;
2181 inline void set_uuid(const ::std::string& value);
2182 inline void set_uuid(
const char* value);
2183 inline void set_uuid(
const char* value,
size_t size);
2184 inline ::std::string* mutable_uuid();
2185 inline ::std::string* release_uuid();
2186 inline void set_allocated_uuid(::std::string* uuid);
2189 inline bool has_version()
const;
2190 inline void clear_version();
2191 static const int kVersionFieldNumber = 15;
2192 inline ::google::protobuf::uint64 version()
const;
2193 inline void set_version(::google::protobuf::uint64 value);
2196 inline bool has_replication_options()
const;
2197 inline void clear_replication_options();
2198 static const int kReplicationOptionsFieldNumber = 16;
2199 inline const ::drizzled::message::ReplicationOptions& replication_options()
const;
2200 inline ::drizzled::message::ReplicationOptions* mutable_replication_options();
2201 inline ::drizzled::message::ReplicationOptions* release_replication_options();
2205 inline bool has_access()
const;
2206 inline void clear_access();
2207 static const int kAccessFieldNumber = 17;
2208 inline const ::drizzled::message::Access& access()
const;
2209 inline ::drizzled::message::Access* mutable_access();
2210 inline ::drizzled::message::Access* release_access();
2215 inline void set_has_name();
2216 inline void clear_has_name();
2217 inline void set_has_schema();
2218 inline void clear_has_schema();
2219 inline void set_has_type();
2220 inline void clear_has_type();
2221 inline void set_has_engine();
2222 inline void clear_has_engine();
2223 inline void set_has_options();
2224 inline void clear_has_options();
2225 inline void set_has_creation_timestamp();
2226 inline void clear_has_creation_timestamp();
2227 inline void set_has_update_timestamp();
2228 inline void clear_has_update_timestamp();
2229 inline void set_has_catalog();
2230 inline void clear_has_catalog();
2231 inline void set_has_uuid();
2232 inline void clear_has_uuid();
2233 inline void set_has_version();
2234 inline void clear_has_version();
2235 inline void set_has_replication_options();
2236 inline void clear_has_replication_options();
2237 inline void set_has_access();
2238 inline void clear_has_access();
2240 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2242 ::google::protobuf::uint32 _has_bits_[1];
2243 mutable int _cached_size_;
2244 ::std::string* name_;
2245 ::std::string* schema_;
2247 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > field_;
2248 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index > indexes_;
2249 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint > fk_constraint_;
2251 ::google::protobuf::uint64 creation_timestamp_;
2252 ::google::protobuf::uint64 update_timestamp_;
2253 ::std::string* catalog_;
2254 ::std::string* uuid_;
2255 ::google::protobuf::uint64 version_;
2259 friend void protobuf_AddDesc_table_2eproto();
2260 friend void protobuf_AssignDesc_table_2eproto();
2261 friend void protobuf_ShutdownFile_table_2eproto();
2263 void InitAsDefaultInstance();
2264 static Table* default_instance_;
2280 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2281 return _unknown_fields_;
2284 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2285 return &_unknown_fields_;
2288 static const ::google::protobuf::Descriptor* descriptor();
2296 void CopyFrom(const ::google::protobuf::Message& from);
2297 void MergeFrom(const ::google::protobuf::Message& from);
2301 bool IsInitialized()
const;
2303 int ByteSize()
const;
2304 bool MergePartialFromCodedStream(
2305 ::google::protobuf::io::CodedInputStream* input);
2306 void SerializeWithCachedSizes(
2307 ::google::protobuf::io::CodedOutputStream* output)
const;
2308 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
2309 int GetCachedSize()
const {
return _cached_size_; }
2313 void SetCachedSize(
int size)
const;
2315 ::google::protobuf::Metadata GetMetadata()
const;
2322 inline int added_field_size()
const;
2323 inline void clear_added_field();
2324 static const int kAddedFieldFieldNumber = 1;
2325 inline const ::drizzled::message::Table_Field& added_field(
int index)
const;
2326 inline ::drizzled::message::Table_Field* mutable_added_field(
int index);
2327 inline ::drizzled::message::Table_Field* add_added_field();
2328 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
2329 added_field()
const;
2330 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
2331 mutable_added_field();
2336 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2338 ::google::protobuf::uint32 _has_bits_[1];
2339 mutable int _cached_size_;
2340 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > added_field_;
2341 friend void protobuf_AddDesc_table_2eproto();
2342 friend void protobuf_AssignDesc_table_2eproto();
2343 friend void protobuf_ShutdownFile_table_2eproto();
2345 void InitAsDefaultInstance();
2356 inline bool Table_TableOptions::has_has_user_set_auto_increment_value()
const {
2357 return (_has_bits_[0] & 0x00000001u) != 0;
2359 inline void Table_TableOptions::set_has_has_user_set_auto_increment_value() {
2360 _has_bits_[0] |= 0x00000001u;
2362 inline void Table_TableOptions::clear_has_has_user_set_auto_increment_value() {
2363 _has_bits_[0] &= ~0x00000001u;
2365 inline void Table_TableOptions::clear_has_user_set_auto_increment_value() {
2366 has_user_set_auto_increment_value_ =
false;
2367 clear_has_has_user_set_auto_increment_value();
2369 inline bool Table_TableOptions::has_user_set_auto_increment_value()
const {
2371 return has_user_set_auto_increment_value_;
2373 inline void Table_TableOptions::set_has_user_set_auto_increment_value(
bool value) {
2374 set_has_has_user_set_auto_increment_value();
2375 has_user_set_auto_increment_value_ = value;
2380 inline bool Table_TableOptions::has_collation()
const {
2381 return (_has_bits_[0] & 0x00000002u) != 0;
2383 inline void Table_TableOptions::set_has_collation() {
2384 _has_bits_[0] |= 0x00000002u;
2386 inline void Table_TableOptions::clear_has_collation() {
2387 _has_bits_[0] &= ~0x00000002u;
2389 inline void Table_TableOptions::clear_collation() {
2390 if (collation_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2391 collation_->clear();
2393 clear_has_collation();
2395 inline const ::std::string& Table_TableOptions::collation()
const {
2399 inline void Table_TableOptions::set_collation(const ::std::string& value) {
2400 set_has_collation();
2401 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2402 collation_ = new ::std::string;
2404 collation_->assign(value);
2407 inline void Table_TableOptions::set_collation(
const char* value) {
2408 set_has_collation();
2409 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2410 collation_ = new ::std::string;
2412 collation_->assign(value);
2415 inline void Table_TableOptions::set_collation(
const char* value,
size_t size) {
2416 set_has_collation();
2417 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2418 collation_ = new ::std::string;
2420 collation_->assign(reinterpret_cast<const char*>(value), size);
2423 inline ::std::string* Table_TableOptions::mutable_collation() {
2424 set_has_collation();
2425 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2426 collation_ = new ::std::string;
2431 inline ::std::string* Table_TableOptions::release_collation() {
2432 clear_has_collation();
2433 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2436 ::std::string* temp = collation_;
2437 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2441 inline void Table_TableOptions::set_allocated_collation(::std::string* collation) {
2442 if (collation_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2446 set_has_collation();
2447 collation_ = collation;
2449 clear_has_collation();
2450 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2456 inline bool Table_TableOptions::has_collation_id()
const {
2457 return (_has_bits_[0] & 0x00000004u) != 0;
2459 inline void Table_TableOptions::set_has_collation_id() {
2460 _has_bits_[0] |= 0x00000004u;
2462 inline void Table_TableOptions::clear_has_collation_id() {
2463 _has_bits_[0] &= ~0x00000004u;
2465 inline void Table_TableOptions::clear_collation_id() {
2467 clear_has_collation_id();
2469 inline ::google::protobuf::uint32 Table_TableOptions::collation_id()
const {
2471 return collation_id_;
2473 inline void Table_TableOptions::set_collation_id(::google::protobuf::uint32 value) {
2474 set_has_collation_id();
2475 collation_id_ = value;
2480 inline bool Table_TableOptions::has_data_file_name()
const {
2481 return (_has_bits_[0] & 0x00000008u) != 0;
2483 inline void Table_TableOptions::set_has_data_file_name() {
2484 _has_bits_[0] |= 0x00000008u;
2486 inline void Table_TableOptions::clear_has_data_file_name() {
2487 _has_bits_[0] &= ~0x00000008u;
2489 inline void Table_TableOptions::clear_data_file_name() {
2490 if (data_file_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2491 data_file_name_->clear();
2493 clear_has_data_file_name();
2495 inline const ::std::string& Table_TableOptions::data_file_name()
const {
2497 return *data_file_name_;
2499 inline void Table_TableOptions::set_data_file_name(const ::std::string& value) {
2500 set_has_data_file_name();
2501 if (data_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2502 data_file_name_ = new ::std::string;
2504 data_file_name_->assign(value);
2507 inline void Table_TableOptions::set_data_file_name(
const char* value) {
2508 set_has_data_file_name();
2509 if (data_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2510 data_file_name_ = new ::std::string;
2512 data_file_name_->assign(value);
2515 inline void Table_TableOptions::set_data_file_name(
const char* value,
size_t size) {
2516 set_has_data_file_name();
2517 if (data_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2518 data_file_name_ = new ::std::string;
2520 data_file_name_->assign(reinterpret_cast<const char*>(value), size);
2523 inline ::std::string* Table_TableOptions::mutable_data_file_name() {
2524 set_has_data_file_name();
2525 if (data_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2526 data_file_name_ = new ::std::string;
2529 return data_file_name_;
2531 inline ::std::string* Table_TableOptions::release_data_file_name() {
2532 clear_has_data_file_name();
2533 if (data_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2536 ::std::string* temp = data_file_name_;
2537 data_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2541 inline void Table_TableOptions::set_allocated_data_file_name(::std::string* data_file_name) {
2542 if (data_file_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2543 delete data_file_name_;
2545 if (data_file_name) {
2546 set_has_data_file_name();
2547 data_file_name_ = data_file_name;
2549 clear_has_data_file_name();
2550 data_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2556 inline bool Table_TableOptions::has_index_file_name()
const {
2557 return (_has_bits_[0] & 0x00000010u) != 0;
2559 inline void Table_TableOptions::set_has_index_file_name() {
2560 _has_bits_[0] |= 0x00000010u;
2562 inline void Table_TableOptions::clear_has_index_file_name() {
2563 _has_bits_[0] &= ~0x00000010u;
2565 inline void Table_TableOptions::clear_index_file_name() {
2566 if (index_file_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2567 index_file_name_->clear();
2569 clear_has_index_file_name();
2571 inline const ::std::string& Table_TableOptions::index_file_name()
const {
2573 return *index_file_name_;
2575 inline void Table_TableOptions::set_index_file_name(const ::std::string& value) {
2576 set_has_index_file_name();
2577 if (index_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2578 index_file_name_ = new ::std::string;
2580 index_file_name_->assign(value);
2583 inline void Table_TableOptions::set_index_file_name(
const char* value) {
2584 set_has_index_file_name();
2585 if (index_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2586 index_file_name_ = new ::std::string;
2588 index_file_name_->assign(value);
2591 inline void Table_TableOptions::set_index_file_name(
const char* value,
size_t size) {
2592 set_has_index_file_name();
2593 if (index_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2594 index_file_name_ = new ::std::string;
2596 index_file_name_->assign(reinterpret_cast<const char*>(value), size);
2599 inline ::std::string* Table_TableOptions::mutable_index_file_name() {
2600 set_has_index_file_name();
2601 if (index_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2602 index_file_name_ = new ::std::string;
2605 return index_file_name_;
2607 inline ::std::string* Table_TableOptions::release_index_file_name() {
2608 clear_has_index_file_name();
2609 if (index_file_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2612 ::std::string* temp = index_file_name_;
2613 index_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2617 inline void Table_TableOptions::set_allocated_index_file_name(::std::string* index_file_name) {
2618 if (index_file_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2619 delete index_file_name_;
2621 if (index_file_name) {
2622 set_has_index_file_name();
2623 index_file_name_ = index_file_name;
2625 clear_has_index_file_name();
2626 index_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2632 inline bool Table_TableOptions::has_max_rows()
const {
2633 return (_has_bits_[0] & 0x00000020u) != 0;
2635 inline void Table_TableOptions::set_has_max_rows() {
2636 _has_bits_[0] |= 0x00000020u;
2638 inline void Table_TableOptions::clear_has_max_rows() {
2639 _has_bits_[0] &= ~0x00000020u;
2641 inline void Table_TableOptions::clear_max_rows() {
2642 max_rows_ = GOOGLE_ULONGLONG(0);
2643 clear_has_max_rows();
2645 inline ::google::protobuf::uint64 Table_TableOptions::max_rows()
const {
2649 inline void Table_TableOptions::set_max_rows(::google::protobuf::uint64 value) {
2656 inline bool Table_TableOptions::has_min_rows()
const {
2657 return (_has_bits_[0] & 0x00000040u) != 0;
2659 inline void Table_TableOptions::set_has_min_rows() {
2660 _has_bits_[0] |= 0x00000040u;
2662 inline void Table_TableOptions::clear_has_min_rows() {
2663 _has_bits_[0] &= ~0x00000040u;
2665 inline void Table_TableOptions::clear_min_rows() {
2666 min_rows_ = GOOGLE_ULONGLONG(0);
2667 clear_has_min_rows();
2669 inline ::google::protobuf::uint64 Table_TableOptions::min_rows()
const {
2673 inline void Table_TableOptions::set_min_rows(::google::protobuf::uint64 value) {
2680 inline bool Table_TableOptions::has_auto_increment_value()
const {
2681 return (_has_bits_[0] & 0x00000080u) != 0;
2683 inline void Table_TableOptions::set_has_auto_increment_value() {
2684 _has_bits_[0] |= 0x00000080u;
2686 inline void Table_TableOptions::clear_has_auto_increment_value() {
2687 _has_bits_[0] &= ~0x00000080u;
2689 inline void Table_TableOptions::clear_auto_increment_value() {
2690 auto_increment_value_ = GOOGLE_ULONGLONG(0);
2691 clear_has_auto_increment_value();
2693 inline ::google::protobuf::uint64 Table_TableOptions::auto_increment_value()
const {
2695 return auto_increment_value_;
2697 inline void Table_TableOptions::set_auto_increment_value(::google::protobuf::uint64 value) {
2698 set_has_auto_increment_value();
2699 auto_increment_value_ = value;
2704 inline bool Table_TableOptions::has_avg_row_length()
const {
2705 return (_has_bits_[0] & 0x00000100u) != 0;
2707 inline void Table_TableOptions::set_has_avg_row_length() {
2708 _has_bits_[0] |= 0x00000100u;
2710 inline void Table_TableOptions::clear_has_avg_row_length() {
2711 _has_bits_[0] &= ~0x00000100u;
2713 inline void Table_TableOptions::clear_avg_row_length() {
2714 avg_row_length_ = 0u;
2715 clear_has_avg_row_length();
2717 inline ::google::protobuf::uint32 Table_TableOptions::avg_row_length()
const {
2719 return avg_row_length_;
2721 inline void Table_TableOptions::set_avg_row_length(::google::protobuf::uint32 value) {
2722 set_has_avg_row_length();
2723 avg_row_length_ = value;
2728 inline bool Table_TableOptions::has_block_size()
const {
2729 return (_has_bits_[0] & 0x00000200u) != 0;
2731 inline void Table_TableOptions::set_has_block_size() {
2732 _has_bits_[0] |= 0x00000200u;
2734 inline void Table_TableOptions::clear_has_block_size() {
2735 _has_bits_[0] &= ~0x00000200u;
2737 inline void Table_TableOptions::clear_block_size() {
2739 clear_has_block_size();
2741 inline ::google::protobuf::uint32 Table_TableOptions::block_size()
const {
2745 inline void Table_TableOptions::set_block_size(::google::protobuf::uint32 value) {
2746 set_has_block_size();
2747 block_size_ = value;
2752 inline bool Table_TableOptions::has_comment()
const {
2753 return (_has_bits_[0] & 0x00000400u) != 0;
2755 inline void Table_TableOptions::set_has_comment() {
2756 _has_bits_[0] |= 0x00000400u;
2758 inline void Table_TableOptions::clear_has_comment() {
2759 _has_bits_[0] &= ~0x00000400u;
2761 inline void Table_TableOptions::clear_comment() {
2762 if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2765 clear_has_comment();
2767 inline const ::std::string& Table_TableOptions::comment()
const {
2771 inline void Table_TableOptions::set_comment(const ::std::string& value) {
2773 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2774 comment_ = new ::std::string;
2776 comment_->assign(value);
2779 inline void Table_TableOptions::set_comment(
const char* value) {
2781 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2782 comment_ = new ::std::string;
2784 comment_->assign(value);
2787 inline void Table_TableOptions::set_comment(
const char* value,
size_t size) {
2789 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2790 comment_ = new ::std::string;
2792 comment_->assign(reinterpret_cast<const char*>(value), size);
2795 inline ::std::string* Table_TableOptions::mutable_comment() {
2797 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2798 comment_ = new ::std::string;
2803 inline ::std::string* Table_TableOptions::release_comment() {
2804 clear_has_comment();
2805 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2808 ::std::string* temp = comment_;
2809 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2813 inline void Table_TableOptions::set_allocated_comment(::std::string* comment) {
2814 if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2821 clear_has_comment();
2822 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2828 inline bool Table_TableOptions::has_pack_record()
const {
2829 return (_has_bits_[0] & 0x00000800u) != 0;
2831 inline void Table_TableOptions::set_has_pack_record() {
2832 _has_bits_[0] |= 0x00000800u;
2834 inline void Table_TableOptions::clear_has_pack_record() {
2835 _has_bits_[0] &= ~0x00000800u;
2837 inline void Table_TableOptions::clear_pack_record() {
2838 pack_record_ =
false;
2839 clear_has_pack_record();
2841 inline bool Table_TableOptions::pack_record()
const {
2843 return pack_record_;
2845 inline void Table_TableOptions::set_pack_record(
bool value) {
2846 set_has_pack_record();
2847 pack_record_ = value;
2852 inline bool Table_TableOptions::has_checksum()
const {
2853 return (_has_bits_[0] & 0x00001000u) != 0;
2855 inline void Table_TableOptions::set_has_checksum() {
2856 _has_bits_[0] |= 0x00001000u;
2858 inline void Table_TableOptions::clear_has_checksum() {
2859 _has_bits_[0] &= ~0x00001000u;
2861 inline void Table_TableOptions::clear_checksum() {
2863 clear_has_checksum();
2865 inline bool Table_TableOptions::checksum()
const {
2869 inline void Table_TableOptions::set_checksum(
bool value) {
2876 inline bool Table_TableOptions::has_page_checksum()
const {
2877 return (_has_bits_[0] & 0x00002000u) != 0;
2879 inline void Table_TableOptions::set_has_page_checksum() {
2880 _has_bits_[0] |= 0x00002000u;
2882 inline void Table_TableOptions::clear_has_page_checksum() {
2883 _has_bits_[0] &= ~0x00002000u;
2885 inline void Table_TableOptions::clear_page_checksum() {
2886 page_checksum_ =
false;
2887 clear_has_page_checksum();
2889 inline bool Table_TableOptions::page_checksum()
const {
2891 return page_checksum_;
2893 inline void Table_TableOptions::set_page_checksum(
bool value) {
2894 set_has_page_checksum();
2895 page_checksum_ = value;
2900 inline bool Table_TableOptions::has_delay_key_write()
const {
2901 return (_has_bits_[0] & 0x00004000u) != 0;
2903 inline void Table_TableOptions::set_has_delay_key_write() {
2904 _has_bits_[0] |= 0x00004000u;
2906 inline void Table_TableOptions::clear_has_delay_key_write() {
2907 _has_bits_[0] &= ~0x00004000u;
2909 inline void Table_TableOptions::clear_delay_key_write() {
2910 delay_key_write_ =
false;
2911 clear_has_delay_key_write();
2913 inline bool Table_TableOptions::delay_key_write()
const {
2915 return delay_key_write_;
2917 inline void Table_TableOptions::set_delay_key_write(
bool value) {
2918 set_has_delay_key_write();
2919 delay_key_write_ = value;
2924 inline bool Table_TableOptions::has_unused()
const {
2925 return (_has_bits_[0] & 0x00008000u) != 0;
2927 inline void Table_TableOptions::set_has_unused() {
2928 _has_bits_[0] |= 0x00008000u;
2930 inline void Table_TableOptions::clear_has_unused() {
2931 _has_bits_[0] &= ~0x00008000u;
2933 inline void Table_TableOptions::clear_unused() {
2937 inline bool Table_TableOptions::unused()
const {
2941 inline void Table_TableOptions::set_unused(
bool value) {
2952 inline bool Table_ForeignKeyConstraint::has_name()
const {
2953 return (_has_bits_[0] & 0x00000001u) != 0;
2955 inline void Table_ForeignKeyConstraint::set_has_name() {
2956 _has_bits_[0] |= 0x00000001u;
2958 inline void Table_ForeignKeyConstraint::clear_has_name() {
2959 _has_bits_[0] &= ~0x00000001u;
2961 inline void Table_ForeignKeyConstraint::clear_name() {
2962 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2967 inline const ::std::string& Table_ForeignKeyConstraint::name()
const {
2971 inline void Table_ForeignKeyConstraint::set_name(const ::std::string& value) {
2973 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2974 name_ = new ::std::string;
2976 name_->assign(value);
2979 inline void Table_ForeignKeyConstraint::set_name(
const char* value) {
2981 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2982 name_ = new ::std::string;
2984 name_->assign(value);
2987 inline void Table_ForeignKeyConstraint::set_name(
const char* value,
size_t size) {
2989 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2990 name_ = new ::std::string;
2992 name_->assign(reinterpret_cast<const char*>(value), size);
2995 inline ::std::string* Table_ForeignKeyConstraint::mutable_name() {
2997 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2998 name_ = new ::std::string;
3003 inline ::std::string* Table_ForeignKeyConstraint::release_name() {
3005 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3008 ::std::string* temp = name_;
3009 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3013 inline void Table_ForeignKeyConstraint::set_allocated_name(::std::string* name) {
3014 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3022 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3028 inline int Table_ForeignKeyConstraint::column_names_size()
const {
3029 return column_names_.size();
3031 inline void Table_ForeignKeyConstraint::clear_column_names() {
3032 column_names_.Clear();
3034 inline const ::std::string& Table_ForeignKeyConstraint::column_names(
int index)
const {
3036 return column_names_.Get(index);
3038 inline ::std::string* Table_ForeignKeyConstraint::mutable_column_names(
int index) {
3040 return column_names_.Mutable(index);
3042 inline void Table_ForeignKeyConstraint::set_column_names(
int index, const ::std::string& value) {
3044 column_names_.Mutable(index)->assign(value);
3046 inline void Table_ForeignKeyConstraint::set_column_names(
int index,
const char* value) {
3047 column_names_.Mutable(index)->assign(value);
3050 inline void Table_ForeignKeyConstraint::set_column_names(
int index,
const char* value,
size_t size) {
3051 column_names_.Mutable(index)->assign(
3052 reinterpret_cast<const char*>(value), size);
3055 inline ::std::string* Table_ForeignKeyConstraint::add_column_names() {
3056 return column_names_.Add();
3058 inline void Table_ForeignKeyConstraint::add_column_names(const ::std::string& value) {
3059 column_names_.Add()->assign(value);
3062 inline void Table_ForeignKeyConstraint::add_column_names(
const char* value) {
3063 column_names_.Add()->assign(value);
3066 inline void Table_ForeignKeyConstraint::add_column_names(
const char* value,
size_t size) {
3067 column_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
3070 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3071 Table_ForeignKeyConstraint::column_names()
const {
3073 return column_names_;
3075 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3076 Table_ForeignKeyConstraint::mutable_column_names() {
3078 return &column_names_;
3082 inline bool Table_ForeignKeyConstraint::has_references_table_name()
const {
3083 return (_has_bits_[0] & 0x00000004u) != 0;
3085 inline void Table_ForeignKeyConstraint::set_has_references_table_name() {
3086 _has_bits_[0] |= 0x00000004u;
3088 inline void Table_ForeignKeyConstraint::clear_has_references_table_name() {
3089 _has_bits_[0] &= ~0x00000004u;
3091 inline void Table_ForeignKeyConstraint::clear_references_table_name() {
3092 if (references_table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3093 references_table_name_->clear();
3095 clear_has_references_table_name();
3097 inline const ::std::string& Table_ForeignKeyConstraint::references_table_name()
const {
3099 return *references_table_name_;
3101 inline void Table_ForeignKeyConstraint::set_references_table_name(const ::std::string& value) {
3102 set_has_references_table_name();
3103 if (references_table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3104 references_table_name_ = new ::std::string;
3106 references_table_name_->assign(value);
3109 inline void Table_ForeignKeyConstraint::set_references_table_name(
const char* value) {
3110 set_has_references_table_name();
3111 if (references_table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3112 references_table_name_ = new ::std::string;
3114 references_table_name_->assign(value);
3117 inline void Table_ForeignKeyConstraint::set_references_table_name(
const char* value,
size_t size) {
3118 set_has_references_table_name();
3119 if (references_table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3120 references_table_name_ = new ::std::string;
3122 references_table_name_->assign(reinterpret_cast<const char*>(value), size);
3125 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_table_name() {
3126 set_has_references_table_name();
3127 if (references_table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3128 references_table_name_ = new ::std::string;
3131 return references_table_name_;
3133 inline ::std::string* Table_ForeignKeyConstraint::release_references_table_name() {
3134 clear_has_references_table_name();
3135 if (references_table_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3138 ::std::string* temp = references_table_name_;
3139 references_table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3143 inline void Table_ForeignKeyConstraint::set_allocated_references_table_name(::std::string* references_table_name) {
3144 if (references_table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3145 delete references_table_name_;
3147 if (references_table_name) {
3148 set_has_references_table_name();
3149 references_table_name_ = references_table_name;
3151 clear_has_references_table_name();
3152 references_table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3158 inline int Table_ForeignKeyConstraint::references_columns_size()
const {
3159 return references_columns_.size();
3161 inline void Table_ForeignKeyConstraint::clear_references_columns() {
3162 references_columns_.Clear();
3164 inline const ::std::string& Table_ForeignKeyConstraint::references_columns(
int index)
const {
3166 return references_columns_.Get(index);
3168 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_columns(
int index) {
3170 return references_columns_.Mutable(index);
3172 inline void Table_ForeignKeyConstraint::set_references_columns(
int index, const ::std::string& value) {
3174 references_columns_.Mutable(index)->assign(value);
3176 inline void Table_ForeignKeyConstraint::set_references_columns(
int index,
const char* value) {
3177 references_columns_.Mutable(index)->assign(value);
3180 inline void Table_ForeignKeyConstraint::set_references_columns(
int index,
const char* value,
size_t size) {
3181 references_columns_.Mutable(index)->assign(
3182 reinterpret_cast<const char*>(value), size);
3185 inline ::std::string* Table_ForeignKeyConstraint::add_references_columns() {
3186 return references_columns_.Add();
3188 inline void Table_ForeignKeyConstraint::add_references_columns(const ::std::string& value) {
3189 references_columns_.Add()->assign(value);
3192 inline void Table_ForeignKeyConstraint::add_references_columns(
const char* value) {
3193 references_columns_.Add()->assign(value);
3196 inline void Table_ForeignKeyConstraint::add_references_columns(
const char* value,
size_t size) {
3197 references_columns_.Add()->assign(reinterpret_cast<const char*>(value), size);
3200 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3201 Table_ForeignKeyConstraint::references_columns()
const {
3203 return references_columns_;
3205 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3206 Table_ForeignKeyConstraint::mutable_references_columns() {
3208 return &references_columns_;
3212 inline bool Table_ForeignKeyConstraint::has_match()
const {
3213 return (_has_bits_[0] & 0x00000010u) != 0;
3215 inline void Table_ForeignKeyConstraint::set_has_match() {
3216 _has_bits_[0] |= 0x00000010u;
3218 inline void Table_ForeignKeyConstraint::clear_has_match() {
3219 _has_bits_[0] &= ~0x00000010u;
3221 inline void Table_ForeignKeyConstraint::clear_match() {
3225 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::match()
const {
3227 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption
>(match_);
3229 inline void Table_ForeignKeyConstraint::set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
3230 assert(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value));
3237 inline bool Table_ForeignKeyConstraint::has_update_option()
const {
3238 return (_has_bits_[0] & 0x00000020u) != 0;
3240 inline void Table_ForeignKeyConstraint::set_has_update_option() {
3241 _has_bits_[0] |= 0x00000020u;
3243 inline void Table_ForeignKeyConstraint::clear_has_update_option() {
3244 _has_bits_[0] &= ~0x00000020u;
3246 inline void Table_ForeignKeyConstraint::clear_update_option() {
3248 clear_has_update_option();
3250 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::update_option()
const {
3252 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption
>(update_option_);
3254 inline void Table_ForeignKeyConstraint::set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
3255 assert(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
3256 set_has_update_option();
3257 update_option_ = value;
3262 inline bool Table_ForeignKeyConstraint::has_delete_option()
const {
3263 return (_has_bits_[0] & 0x00000040u) != 0;
3265 inline void Table_ForeignKeyConstraint::set_has_delete_option() {
3266 _has_bits_[0] |= 0x00000040u;
3268 inline void Table_ForeignKeyConstraint::clear_has_delete_option() {
3269 _has_bits_[0] &= ~0x00000040u;
3271 inline void Table_ForeignKeyConstraint::clear_delete_option() {
3273 clear_has_delete_option();
3275 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::delete_option()
const {
3277 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption
>(delete_option_);
3279 inline void Table_ForeignKeyConstraint::set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
3280 assert(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
3281 set_has_delete_option();
3282 delete_option_ = value;
3291 inline bool Table_Field_FieldOptions::has_default_value()
const {
3292 return (_has_bits_[0] & 0x00000001u) != 0;
3294 inline void Table_Field_FieldOptions::set_has_default_value() {
3295 _has_bits_[0] |= 0x00000001u;
3297 inline void Table_Field_FieldOptions::clear_has_default_value() {
3298 _has_bits_[0] &= ~0x00000001u;
3300 inline void Table_Field_FieldOptions::clear_default_value() {
3301 if (default_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3302 default_value_->clear();
3304 clear_has_default_value();
3306 inline const ::std::string& Table_Field_FieldOptions::default_value()
const {
3308 return *default_value_;
3310 inline void Table_Field_FieldOptions::set_default_value(const ::std::string& value) {
3311 set_has_default_value();
3312 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3313 default_value_ = new ::std::string;
3315 default_value_->assign(value);
3318 inline void Table_Field_FieldOptions::set_default_value(
const char* value) {
3319 set_has_default_value();
3320 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3321 default_value_ = new ::std::string;
3323 default_value_->assign(value);
3326 inline void Table_Field_FieldOptions::set_default_value(
const char* value,
size_t size) {
3327 set_has_default_value();
3328 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3329 default_value_ = new ::std::string;
3331 default_value_->assign(reinterpret_cast<const char*>(value), size);
3334 inline ::std::string* Table_Field_FieldOptions::mutable_default_value() {
3335 set_has_default_value();
3336 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3337 default_value_ = new ::std::string;
3340 return default_value_;
3342 inline ::std::string* Table_Field_FieldOptions::release_default_value() {
3343 clear_has_default_value();
3344 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3347 ::std::string* temp = default_value_;
3348 default_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3352 inline void Table_Field_FieldOptions::set_allocated_default_value(::std::string* default_value) {
3353 if (default_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3354 delete default_value_;
3356 if (default_value) {
3357 set_has_default_value();
3358 default_value_ = default_value;
3360 clear_has_default_value();
3361 default_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3367 inline bool Table_Field_FieldOptions::has_update_value()
const {
3368 return (_has_bits_[0] & 0x00000002u) != 0;
3370 inline void Table_Field_FieldOptions::set_has_update_value() {
3371 _has_bits_[0] |= 0x00000002u;
3373 inline void Table_Field_FieldOptions::clear_has_update_value() {
3374 _has_bits_[0] &= ~0x00000002u;
3376 inline void Table_Field_FieldOptions::clear_update_value() {
3377 if (update_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3378 update_value_->clear();
3380 clear_has_update_value();
3382 inline const ::std::string& Table_Field_FieldOptions::update_value()
const {
3384 return *update_value_;
3386 inline void Table_Field_FieldOptions::set_update_value(const ::std::string& value) {
3387 set_has_update_value();
3388 if (update_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3389 update_value_ = new ::std::string;
3391 update_value_->assign(value);
3394 inline void Table_Field_FieldOptions::set_update_value(
const char* value) {
3395 set_has_update_value();
3396 if (update_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3397 update_value_ = new ::std::string;
3399 update_value_->assign(value);
3402 inline void Table_Field_FieldOptions::set_update_value(
const char* value,
size_t size) {
3403 set_has_update_value();
3404 if (update_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3405 update_value_ = new ::std::string;
3407 update_value_->assign(reinterpret_cast<const char*>(value), size);
3410 inline ::std::string* Table_Field_FieldOptions::mutable_update_value() {
3411 set_has_update_value();
3412 if (update_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3413 update_value_ = new ::std::string;
3416 return update_value_;
3418 inline ::std::string* Table_Field_FieldOptions::release_update_value() {
3419 clear_has_update_value();
3420 if (update_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3423 ::std::string* temp = update_value_;
3424 update_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3428 inline void Table_Field_FieldOptions::set_allocated_update_value(::std::string* update_value) {
3429 if (update_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3430 delete update_value_;
3433 set_has_update_value();
3434 update_value_ = update_value;
3436 clear_has_update_value();
3437 update_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3443 inline bool Table_Field_FieldOptions::has_default_null()
const {
3444 return (_has_bits_[0] & 0x00000004u) != 0;
3446 inline void Table_Field_FieldOptions::set_has_default_null() {
3447 _has_bits_[0] |= 0x00000004u;
3449 inline void Table_Field_FieldOptions::clear_has_default_null() {
3450 _has_bits_[0] &= ~0x00000004u;
3452 inline void Table_Field_FieldOptions::clear_default_null() {
3453 default_null_ =
false;
3454 clear_has_default_null();
3456 inline bool Table_Field_FieldOptions::default_null()
const {
3458 return default_null_;
3460 inline void Table_Field_FieldOptions::set_default_null(
bool value) {
3461 set_has_default_null();
3462 default_null_ = value;
3467 inline bool Table_Field_FieldOptions::has_default_bin_value()
const {
3468 return (_has_bits_[0] & 0x00000008u) != 0;
3470 inline void Table_Field_FieldOptions::set_has_default_bin_value() {
3471 _has_bits_[0] |= 0x00000008u;
3473 inline void Table_Field_FieldOptions::clear_has_default_bin_value() {
3474 _has_bits_[0] &= ~0x00000008u;
3476 inline void Table_Field_FieldOptions::clear_default_bin_value() {
3477 if (default_bin_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3478 default_bin_value_->clear();
3480 clear_has_default_bin_value();
3482 inline const ::std::string& Table_Field_FieldOptions::default_bin_value()
const {
3484 return *default_bin_value_;
3486 inline void Table_Field_FieldOptions::set_default_bin_value(const ::std::string& value) {
3487 set_has_default_bin_value();
3488 if (default_bin_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3489 default_bin_value_ = new ::std::string;
3491 default_bin_value_->assign(value);
3494 inline void Table_Field_FieldOptions::set_default_bin_value(
const char* value) {
3495 set_has_default_bin_value();
3496 if (default_bin_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3497 default_bin_value_ = new ::std::string;
3499 default_bin_value_->assign(value);
3502 inline void Table_Field_FieldOptions::set_default_bin_value(
const void* value,
size_t size) {
3503 set_has_default_bin_value();
3504 if (default_bin_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3505 default_bin_value_ = new ::std::string;
3507 default_bin_value_->assign(reinterpret_cast<const char*>(value), size);
3510 inline ::std::string* Table_Field_FieldOptions::mutable_default_bin_value() {
3511 set_has_default_bin_value();
3512 if (default_bin_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3513 default_bin_value_ = new ::std::string;
3516 return default_bin_value_;
3518 inline ::std::string* Table_Field_FieldOptions::release_default_bin_value() {
3519 clear_has_default_bin_value();
3520 if (default_bin_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3523 ::std::string* temp = default_bin_value_;
3524 default_bin_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3528 inline void Table_Field_FieldOptions::set_allocated_default_bin_value(::std::string* default_bin_value) {
3529 if (default_bin_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3530 delete default_bin_value_;
3532 if (default_bin_value) {
3533 set_has_default_bin_value();
3534 default_bin_value_ = default_bin_value;
3536 clear_has_default_bin_value();
3537 default_bin_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3543 inline bool Table_Field_FieldOptions::has_default_expression()
const {
3544 return (_has_bits_[0] & 0x00000010u) != 0;
3546 inline void Table_Field_FieldOptions::set_has_default_expression() {
3547 _has_bits_[0] |= 0x00000010u;
3549 inline void Table_Field_FieldOptions::clear_has_default_expression() {
3550 _has_bits_[0] &= ~0x00000010u;
3552 inline void Table_Field_FieldOptions::clear_default_expression() {
3553 if (default_expression_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3554 default_expression_->clear();
3556 clear_has_default_expression();
3558 inline const ::std::string& Table_Field_FieldOptions::default_expression()
const {
3560 return *default_expression_;
3562 inline void Table_Field_FieldOptions::set_default_expression(const ::std::string& value) {
3563 set_has_default_expression();
3564 if (default_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3565 default_expression_ = new ::std::string;
3567 default_expression_->assign(value);
3570 inline void Table_Field_FieldOptions::set_default_expression(
const char* value) {
3571 set_has_default_expression();
3572 if (default_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3573 default_expression_ = new ::std::string;
3575 default_expression_->assign(value);
3578 inline void Table_Field_FieldOptions::set_default_expression(
const char* value,
size_t size) {
3579 set_has_default_expression();
3580 if (default_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3581 default_expression_ = new ::std::string;
3583 default_expression_->assign(reinterpret_cast<const char*>(value), size);
3586 inline ::std::string* Table_Field_FieldOptions::mutable_default_expression() {
3587 set_has_default_expression();
3588 if (default_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3589 default_expression_ = new ::std::string;
3592 return default_expression_;
3594 inline ::std::string* Table_Field_FieldOptions::release_default_expression() {
3595 clear_has_default_expression();
3596 if (default_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3599 ::std::string* temp = default_expression_;
3600 default_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3604 inline void Table_Field_FieldOptions::set_allocated_default_expression(::std::string* default_expression) {
3605 if (default_expression_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3606 delete default_expression_;
3608 if (default_expression) {
3609 set_has_default_expression();
3610 default_expression_ = default_expression;
3612 clear_has_default_expression();
3613 default_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3619 inline bool Table_Field_FieldOptions::has_update_expression()
const {
3620 return (_has_bits_[0] & 0x00000020u) != 0;
3622 inline void Table_Field_FieldOptions::set_has_update_expression() {
3623 _has_bits_[0] |= 0x00000020u;
3625 inline void Table_Field_FieldOptions::clear_has_update_expression() {
3626 _has_bits_[0] &= ~0x00000020u;
3628 inline void Table_Field_FieldOptions::clear_update_expression() {
3629 if (update_expression_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3630 update_expression_->clear();
3632 clear_has_update_expression();
3634 inline const ::std::string& Table_Field_FieldOptions::update_expression()
const {
3636 return *update_expression_;
3638 inline void Table_Field_FieldOptions::set_update_expression(const ::std::string& value) {
3639 set_has_update_expression();
3640 if (update_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3641 update_expression_ = new ::std::string;
3643 update_expression_->assign(value);
3646 inline void Table_Field_FieldOptions::set_update_expression(
const char* value) {
3647 set_has_update_expression();
3648 if (update_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3649 update_expression_ = new ::std::string;
3651 update_expression_->assign(value);
3654 inline void Table_Field_FieldOptions::set_update_expression(
const char* value,
size_t size) {
3655 set_has_update_expression();
3656 if (update_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3657 update_expression_ = new ::std::string;
3659 update_expression_->assign(reinterpret_cast<const char*>(value), size);
3662 inline ::std::string* Table_Field_FieldOptions::mutable_update_expression() {
3663 set_has_update_expression();
3664 if (update_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3665 update_expression_ = new ::std::string;
3668 return update_expression_;
3670 inline ::std::string* Table_Field_FieldOptions::release_update_expression() {
3671 clear_has_update_expression();
3672 if (update_expression_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3675 ::std::string* temp = update_expression_;
3676 update_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3680 inline void Table_Field_FieldOptions::set_allocated_update_expression(::std::string* update_expression) {
3681 if (update_expression_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3682 delete update_expression_;
3684 if (update_expression) {
3685 set_has_update_expression();
3686 update_expression_ = update_expression;
3688 clear_has_update_expression();
3689 update_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3699 inline bool Table_Field_FieldConstraints::has_is_nullable()
const {
3700 return (_has_bits_[0] & 0x00000001u) != 0;
3702 inline void Table_Field_FieldConstraints::set_has_is_nullable() {
3703 _has_bits_[0] |= 0x00000001u;
3705 inline void Table_Field_FieldConstraints::clear_has_is_nullable() {
3706 _has_bits_[0] &= ~0x00000001u;
3708 inline void Table_Field_FieldConstraints::clear_is_nullable() {
3709 is_nullable_ =
true;
3710 clear_has_is_nullable();
3712 inline bool Table_Field_FieldConstraints::is_nullable()
const {
3714 return is_nullable_;
3716 inline void Table_Field_FieldConstraints::set_is_nullable(
bool value) {
3717 set_has_is_nullable();
3718 is_nullable_ = value;
3723 inline bool Table_Field_FieldConstraints::has_is_unsigned()
const {
3724 return (_has_bits_[0] & 0x00000002u) != 0;
3726 inline void Table_Field_FieldConstraints::set_has_is_unsigned() {
3727 _has_bits_[0] |= 0x00000002u;
3729 inline void Table_Field_FieldConstraints::clear_has_is_unsigned() {
3730 _has_bits_[0] &= ~0x00000002u;
3732 inline void Table_Field_FieldConstraints::clear_is_unsigned() {
3733 is_unsigned_ =
false;
3734 clear_has_is_unsigned();
3736 inline bool Table_Field_FieldConstraints::is_unsigned()
const {
3738 return is_unsigned_;
3740 inline void Table_Field_FieldConstraints::set_is_unsigned(
bool value) {
3741 set_has_is_unsigned();
3742 is_unsigned_ = value;
3747 inline bool Table_Field_FieldConstraints::has_is_notnull()
const {
3748 return (_has_bits_[0] & 0x00000004u) != 0;
3750 inline void Table_Field_FieldConstraints::set_has_is_notnull() {
3751 _has_bits_[0] |= 0x00000004u;
3753 inline void Table_Field_FieldConstraints::clear_has_is_notnull() {
3754 _has_bits_[0] &= ~0x00000004u;
3756 inline void Table_Field_FieldConstraints::clear_is_notnull() {
3757 is_notnull_ =
false;
3758 clear_has_is_notnull();
3760 inline bool Table_Field_FieldConstraints::is_notnull()
const {
3764 inline void Table_Field_FieldConstraints::set_is_notnull(
bool value) {
3765 set_has_is_notnull();
3766 is_notnull_ = value;
3771 inline bool Table_Field_FieldConstraints::has_is_unique()
const {
3772 return (_has_bits_[0] & 0x00000008u) != 0;
3774 inline void Table_Field_FieldConstraints::set_has_is_unique() {
3775 _has_bits_[0] |= 0x00000008u;
3777 inline void Table_Field_FieldConstraints::clear_has_is_unique() {
3778 _has_bits_[0] &= ~0x00000008u;
3780 inline void Table_Field_FieldConstraints::clear_is_unique() {
3782 clear_has_is_unique();
3784 inline bool Table_Field_FieldConstraints::is_unique()
const {
3788 inline void Table_Field_FieldConstraints::set_is_unique(
bool value) {
3789 set_has_is_unique();
3795 inline int Table_Field_FieldConstraints::expression_size()
const {
3796 return expression_.size();
3798 inline void Table_Field_FieldConstraints::clear_expression() {
3799 expression_.Clear();
3801 inline const ::std::string& Table_Field_FieldConstraints::expression(
int index)
const {
3803 return expression_.Get(index);
3805 inline ::std::string* Table_Field_FieldConstraints::mutable_expression(
int index) {
3807 return expression_.Mutable(index);
3809 inline void Table_Field_FieldConstraints::set_expression(
int index, const ::std::string& value) {
3811 expression_.Mutable(index)->assign(value);
3813 inline void Table_Field_FieldConstraints::set_expression(
int index,
const char* value) {
3814 expression_.Mutable(index)->assign(value);
3817 inline void Table_Field_FieldConstraints::set_expression(
int index,
const char* value,
size_t size) {
3818 expression_.Mutable(index)->assign(
3819 reinterpret_cast<const char*>(value), size);
3822 inline ::std::string* Table_Field_FieldConstraints::add_expression() {
3823 return expression_.Add();
3825 inline void Table_Field_FieldConstraints::add_expression(const ::std::string& value) {
3826 expression_.Add()->assign(value);
3829 inline void Table_Field_FieldConstraints::add_expression(
const char* value) {
3830 expression_.Add()->assign(value);
3833 inline void Table_Field_FieldConstraints::add_expression(
const char* value,
size_t size) {
3834 expression_.Add()->assign(reinterpret_cast<const char*>(value), size);
3837 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3838 Table_Field_FieldConstraints::expression()
const {
3842 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3843 Table_Field_FieldConstraints::mutable_expression() {
3845 return &expression_;
3853 inline bool Table_Field_NumericFieldOptions::has_is_autoincrement()
const {
3854 return (_has_bits_[0] & 0x00000001u) != 0;
3856 inline void Table_Field_NumericFieldOptions::set_has_is_autoincrement() {
3857 _has_bits_[0] |= 0x00000001u;
3859 inline void Table_Field_NumericFieldOptions::clear_has_is_autoincrement() {
3860 _has_bits_[0] &= ~0x00000001u;
3862 inline void Table_Field_NumericFieldOptions::clear_is_autoincrement() {
3863 is_autoincrement_ =
false;
3864 clear_has_is_autoincrement();
3866 inline bool Table_Field_NumericFieldOptions::is_autoincrement()
const {
3868 return is_autoincrement_;
3870 inline void Table_Field_NumericFieldOptions::set_is_autoincrement(
bool value) {
3871 set_has_is_autoincrement();
3872 is_autoincrement_ = value;
3877 inline bool Table_Field_NumericFieldOptions::has_scale()
const {
3878 return (_has_bits_[0] & 0x00000002u) != 0;
3880 inline void Table_Field_NumericFieldOptions::set_has_scale() {
3881 _has_bits_[0] |= 0x00000002u;
3883 inline void Table_Field_NumericFieldOptions::clear_has_scale() {
3884 _has_bits_[0] &= ~0x00000002u;
3886 inline void Table_Field_NumericFieldOptions::clear_scale() {
3890 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::scale()
const {
3894 inline void Table_Field_NumericFieldOptions::set_scale(::google::protobuf::uint32 value) {
3901 inline bool Table_Field_NumericFieldOptions::has_precision()
const {
3902 return (_has_bits_[0] & 0x00000004u) != 0;
3904 inline void Table_Field_NumericFieldOptions::set_has_precision() {
3905 _has_bits_[0] |= 0x00000004u;
3907 inline void Table_Field_NumericFieldOptions::clear_has_precision() {
3908 _has_bits_[0] &= ~0x00000004u;
3910 inline void Table_Field_NumericFieldOptions::clear_precision() {
3912 clear_has_precision();
3914 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::precision()
const {
3918 inline void Table_Field_NumericFieldOptions::set_precision(::google::protobuf::uint32 value) {
3919 set_has_precision();
3929 inline bool Table_Field_StringFieldOptions::has_is_fixed_width()
const {
3930 return (_has_bits_[0] & 0x00000001u) != 0;
3932 inline void Table_Field_StringFieldOptions::set_has_is_fixed_width() {
3933 _has_bits_[0] |= 0x00000001u;
3935 inline void Table_Field_StringFieldOptions::clear_has_is_fixed_width() {
3936 _has_bits_[0] &= ~0x00000001u;
3938 inline void Table_Field_StringFieldOptions::clear_is_fixed_width() {
3939 is_fixed_width_ =
false;
3940 clear_has_is_fixed_width();
3942 inline bool Table_Field_StringFieldOptions::is_fixed_width()
const {
3944 return is_fixed_width_;
3946 inline void Table_Field_StringFieldOptions::set_is_fixed_width(
bool value) {
3947 set_has_is_fixed_width();
3948 is_fixed_width_ = value;
3953 inline bool Table_Field_StringFieldOptions::has_length()
const {
3954 return (_has_bits_[0] & 0x00000002u) != 0;
3956 inline void Table_Field_StringFieldOptions::set_has_length() {
3957 _has_bits_[0] |= 0x00000002u;
3959 inline void Table_Field_StringFieldOptions::clear_has_length() {
3960 _has_bits_[0] &= ~0x00000002u;
3962 inline void Table_Field_StringFieldOptions::clear_length() {
3966 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::length()
const {
3970 inline void Table_Field_StringFieldOptions::set_length(::google::protobuf::uint32 value) {
3977 inline bool Table_Field_StringFieldOptions::has_collation_id()
const {
3978 return (_has_bits_[0] & 0x00000004u) != 0;
3980 inline void Table_Field_StringFieldOptions::set_has_collation_id() {
3981 _has_bits_[0] |= 0x00000004u;
3983 inline void Table_Field_StringFieldOptions::clear_has_collation_id() {
3984 _has_bits_[0] &= ~0x00000004u;
3986 inline void Table_Field_StringFieldOptions::clear_collation_id() {
3988 clear_has_collation_id();
3990 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::collation_id()
const {
3992 return collation_id_;
3994 inline void Table_Field_StringFieldOptions::set_collation_id(::google::protobuf::uint32 value) {
3995 set_has_collation_id();
3996 collation_id_ = value;
4001 inline bool Table_Field_StringFieldOptions::has_collation()
const {
4002 return (_has_bits_[0] & 0x00000008u) != 0;
4004 inline void Table_Field_StringFieldOptions::set_has_collation() {
4005 _has_bits_[0] |= 0x00000008u;
4007 inline void Table_Field_StringFieldOptions::clear_has_collation() {
4008 _has_bits_[0] &= ~0x00000008u;
4010 inline void Table_Field_StringFieldOptions::clear_collation() {
4011 if (collation_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4012 collation_->clear();
4014 clear_has_collation();
4016 inline const ::std::string& Table_Field_StringFieldOptions::collation()
const {
4020 inline void Table_Field_StringFieldOptions::set_collation(const ::std::string& value) {
4021 set_has_collation();
4022 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4023 collation_ = new ::std::string;
4025 collation_->assign(value);
4028 inline void Table_Field_StringFieldOptions::set_collation(
const char* value) {
4029 set_has_collation();
4030 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4031 collation_ = new ::std::string;
4033 collation_->assign(value);
4036 inline void Table_Field_StringFieldOptions::set_collation(
const char* value,
size_t size) {
4037 set_has_collation();
4038 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4039 collation_ = new ::std::string;
4041 collation_->assign(reinterpret_cast<const char*>(value), size);
4044 inline ::std::string* Table_Field_StringFieldOptions::mutable_collation() {
4045 set_has_collation();
4046 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4047 collation_ = new ::std::string;
4052 inline ::std::string* Table_Field_StringFieldOptions::release_collation() {
4053 clear_has_collation();
4054 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4057 ::std::string* temp = collation_;
4058 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4062 inline void Table_Field_StringFieldOptions::set_allocated_collation(::std::string* collation) {
4063 if (collation_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4067 set_has_collation();
4068 collation_ = collation;
4070 clear_has_collation();
4071 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4081 inline bool Table_Field_EnumerationValues::has_collation_id()
const {
4082 return (_has_bits_[0] & 0x00000001u) != 0;
4084 inline void Table_Field_EnumerationValues::set_has_collation_id() {
4085 _has_bits_[0] |= 0x00000001u;
4087 inline void Table_Field_EnumerationValues::clear_has_collation_id() {
4088 _has_bits_[0] &= ~0x00000001u;
4090 inline void Table_Field_EnumerationValues::clear_collation_id() {
4092 clear_has_collation_id();
4094 inline ::google::protobuf::uint32 Table_Field_EnumerationValues::collation_id()
const {
4096 return collation_id_;
4098 inline void Table_Field_EnumerationValues::set_collation_id(::google::protobuf::uint32 value) {
4099 set_has_collation_id();
4100 collation_id_ = value;
4105 inline bool Table_Field_EnumerationValues::has_collation()
const {
4106 return (_has_bits_[0] & 0x00000002u) != 0;
4108 inline void Table_Field_EnumerationValues::set_has_collation() {
4109 _has_bits_[0] |= 0x00000002u;
4111 inline void Table_Field_EnumerationValues::clear_has_collation() {
4112 _has_bits_[0] &= ~0x00000002u;
4114 inline void Table_Field_EnumerationValues::clear_collation() {
4115 if (collation_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4116 collation_->clear();
4118 clear_has_collation();
4120 inline const ::std::string& Table_Field_EnumerationValues::collation()
const {
4124 inline void Table_Field_EnumerationValues::set_collation(const ::std::string& value) {
4125 set_has_collation();
4126 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4127 collation_ = new ::std::string;
4129 collation_->assign(value);
4132 inline void Table_Field_EnumerationValues::set_collation(
const char* value) {
4133 set_has_collation();
4134 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4135 collation_ = new ::std::string;
4137 collation_->assign(value);
4140 inline void Table_Field_EnumerationValues::set_collation(
const char* value,
size_t size) {
4141 set_has_collation();
4142 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4143 collation_ = new ::std::string;
4145 collation_->assign(reinterpret_cast<const char*>(value), size);
4148 inline ::std::string* Table_Field_EnumerationValues::mutable_collation() {
4149 set_has_collation();
4150 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4151 collation_ = new ::std::string;
4156 inline ::std::string* Table_Field_EnumerationValues::release_collation() {
4157 clear_has_collation();
4158 if (collation_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4161 ::std::string* temp = collation_;
4162 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4166 inline void Table_Field_EnumerationValues::set_allocated_collation(::std::string* collation) {
4167 if (collation_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4171 set_has_collation();
4172 collation_ = collation;
4174 clear_has_collation();
4175 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4181 inline int Table_Field_EnumerationValues::field_value_size()
const {
4182 return field_value_.size();
4184 inline void Table_Field_EnumerationValues::clear_field_value() {
4185 field_value_.Clear();
4187 inline const ::std::string& Table_Field_EnumerationValues::field_value(
int index)
const {
4189 return field_value_.Get(index);
4191 inline ::std::string* Table_Field_EnumerationValues::mutable_field_value(
int index) {
4193 return field_value_.Mutable(index);
4195 inline void Table_Field_EnumerationValues::set_field_value(
int index, const ::std::string& value) {
4197 field_value_.Mutable(index)->assign(value);
4199 inline void Table_Field_EnumerationValues::set_field_value(
int index,
const char* value) {
4200 field_value_.Mutable(index)->assign(value);
4203 inline void Table_Field_EnumerationValues::set_field_value(
int index,
const char* value,
size_t size) {
4204 field_value_.Mutable(index)->assign(
4205 reinterpret_cast<const char*>(value), size);
4208 inline ::std::string* Table_Field_EnumerationValues::add_field_value() {
4209 return field_value_.Add();
4211 inline void Table_Field_EnumerationValues::add_field_value(const ::std::string& value) {
4212 field_value_.Add()->assign(value);
4215 inline void Table_Field_EnumerationValues::add_field_value(
const char* value) {
4216 field_value_.Add()->assign(value);
4219 inline void Table_Field_EnumerationValues::add_field_value(
const char* value,
size_t size) {
4220 field_value_.Add()->assign(reinterpret_cast<const char*>(value), size);
4223 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
4224 Table_Field_EnumerationValues::field_value()
const {
4226 return field_value_;
4228 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
4229 Table_Field_EnumerationValues::mutable_field_value() {
4231 return &field_value_;
4239 inline bool Table_Field_TimeFieldOptions::has_microseconds()
const {
4240 return (_has_bits_[0] & 0x00000001u) != 0;
4242 inline void Table_Field_TimeFieldOptions::set_has_microseconds() {
4243 _has_bits_[0] |= 0x00000001u;
4245 inline void Table_Field_TimeFieldOptions::clear_has_microseconds() {
4246 _has_bits_[0] &= ~0x00000001u;
4248 inline void Table_Field_TimeFieldOptions::clear_microseconds() {
4249 microseconds_ =
false;
4250 clear_has_microseconds();
4252 inline bool Table_Field_TimeFieldOptions::microseconds()
const {
4254 return microseconds_;
4256 inline void Table_Field_TimeFieldOptions::set_microseconds(
bool value) {
4257 set_has_microseconds();
4258 microseconds_ = value;
4267 inline bool Table_Field::has_name()
const {
4268 return (_has_bits_[0] & 0x00000001u) != 0;
4270 inline void Table_Field::set_has_name() {
4271 _has_bits_[0] |= 0x00000001u;
4273 inline void Table_Field::clear_has_name() {
4274 _has_bits_[0] &= ~0x00000001u;
4276 inline void Table_Field::clear_name() {
4277 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4282 inline const ::std::string& Table_Field::name()
const {
4286 inline void Table_Field::set_name(const ::std::string& value) {
4288 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4289 name_ = new ::std::string;
4291 name_->assign(value);
4294 inline void Table_Field::set_name(
const char* value) {
4296 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4297 name_ = new ::std::string;
4299 name_->assign(value);
4302 inline void Table_Field::set_name(
const char* value,
size_t size) {
4304 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4305 name_ = new ::std::string;
4307 name_->assign(reinterpret_cast<const char*>(value), size);
4310 inline ::std::string* Table_Field::mutable_name() {
4312 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4313 name_ = new ::std::string;
4318 inline ::std::string* Table_Field::release_name() {
4320 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4323 ::std::string* temp = name_;
4324 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4328 inline void Table_Field::set_allocated_name(::std::string* name) {
4329 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4337 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4343 inline bool Table_Field::has_type()
const {
4344 return (_has_bits_[0] & 0x00000002u) != 0;
4346 inline void Table_Field::set_has_type() {
4347 _has_bits_[0] |= 0x00000002u;
4349 inline void Table_Field::clear_has_type() {
4350 _has_bits_[0] &= ~0x00000002u;
4352 inline void Table_Field::clear_type() {
4356 inline ::drizzled::message::Table_Field_FieldType Table_Field::type()
const {
4358 return static_cast< ::drizzled::message::Table_Field_FieldType
>(type_);
4360 inline void Table_Field::set_type(::drizzled::message::Table_Field_FieldType value) {
4361 assert(::drizzled::message::Table_Field_FieldType_IsValid(value));
4368 inline bool Table_Field::has_options()
const {
4369 return (_has_bits_[0] & 0x00000004u) != 0;
4371 inline void Table_Field::set_has_options() {
4372 _has_bits_[0] |= 0x00000004u;
4374 inline void Table_Field::clear_has_options() {
4375 _has_bits_[0] &= ~0x00000004u;
4377 inline void Table_Field::clear_options() {
4378 if (options_ != NULL) options_->::drizzled::message::Table_Field_FieldOptions::Clear();
4379 clear_has_options();
4381 inline const ::drizzled::message::Table_Field_FieldOptions& Table_Field::options()
const {
4383 return options_ != NULL ? *options_ : *default_instance_->options_;
4385 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::mutable_options() {
4387 if (options_ == NULL) options_ = new ::drizzled::message::Table_Field_FieldOptions;
4391 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::release_options() {
4392 clear_has_options();
4403 clear_has_options();
4409 inline bool Table_Field::has_constraints()
const {
4410 return (_has_bits_[0] & 0x00000008u) != 0;
4412 inline void Table_Field::set_has_constraints() {
4413 _has_bits_[0] |= 0x00000008u;
4415 inline void Table_Field::clear_has_constraints() {
4416 _has_bits_[0] &= ~0x00000008u;
4418 inline void Table_Field::clear_constraints() {
4419 if (constraints_ != NULL) constraints_->::drizzled::message::Table_Field_FieldConstraints::Clear();
4420 clear_has_constraints();
4422 inline const ::drizzled::message::Table_Field_FieldConstraints& Table_Field::constraints()
const {
4424 return constraints_ != NULL ? *constraints_ : *default_instance_->constraints_;
4426 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::mutable_constraints() {
4427 set_has_constraints();
4428 if (constraints_ == NULL) constraints_ = new ::drizzled::message::Table_Field_FieldConstraints;
4430 return constraints_;
4432 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::release_constraints() {
4433 clear_has_constraints();
4435 constraints_ = NULL;
4439 delete constraints_;
4440 constraints_ = constraints;
4442 set_has_constraints();
4444 clear_has_constraints();
4450 inline bool Table_Field::has_numeric_options()
const {
4451 return (_has_bits_[0] & 0x00000010u) != 0;
4453 inline void Table_Field::set_has_numeric_options() {
4454 _has_bits_[0] |= 0x00000010u;
4456 inline void Table_Field::clear_has_numeric_options() {
4457 _has_bits_[0] &= ~0x00000010u;
4459 inline void Table_Field::clear_numeric_options() {
4460 if (numeric_options_ != NULL) numeric_options_->::drizzled::message::Table_Field_NumericFieldOptions::Clear();
4461 clear_has_numeric_options();
4463 inline const ::drizzled::message::Table_Field_NumericFieldOptions& Table_Field::numeric_options()
const {
4465 return numeric_options_ != NULL ? *numeric_options_ : *default_instance_->numeric_options_;
4467 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::mutable_numeric_options() {
4468 set_has_numeric_options();
4469 if (numeric_options_ == NULL) numeric_options_ = new ::drizzled::message::Table_Field_NumericFieldOptions;
4471 return numeric_options_;
4473 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::release_numeric_options() {
4474 clear_has_numeric_options();
4476 numeric_options_ = NULL;
4480 delete numeric_options_;
4481 numeric_options_ = numeric_options;
4482 if (numeric_options) {
4483 set_has_numeric_options();
4485 clear_has_numeric_options();
4491 inline bool Table_Field::has_string_options()
const {
4492 return (_has_bits_[0] & 0x00000020u) != 0;
4494 inline void Table_Field::set_has_string_options() {
4495 _has_bits_[0] |= 0x00000020u;
4497 inline void Table_Field::clear_has_string_options() {
4498 _has_bits_[0] &= ~0x00000020u;
4500 inline void Table_Field::clear_string_options() {
4501 if (string_options_ != NULL) string_options_->::drizzled::message::Table_Field_StringFieldOptions::Clear();
4502 clear_has_string_options();
4504 inline const ::drizzled::message::Table_Field_StringFieldOptions& Table_Field::string_options()
const {
4506 return string_options_ != NULL ? *string_options_ : *default_instance_->string_options_;
4508 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::mutable_string_options() {
4509 set_has_string_options();
4510 if (string_options_ == NULL) string_options_ = new ::drizzled::message::Table_Field_StringFieldOptions;
4512 return string_options_;
4514 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::release_string_options() {
4515 clear_has_string_options();
4517 string_options_ = NULL;
4521 delete string_options_;
4522 string_options_ = string_options;
4523 if (string_options) {
4524 set_has_string_options();
4526 clear_has_string_options();
4532 inline bool Table_Field::has_time_options()
const {
4533 return (_has_bits_[0] & 0x00000040u) != 0;
4535 inline void Table_Field::set_has_time_options() {
4536 _has_bits_[0] |= 0x00000040u;
4538 inline void Table_Field::clear_has_time_options() {
4539 _has_bits_[0] &= ~0x00000040u;
4541 inline void Table_Field::clear_time_options() {
4542 if (time_options_ != NULL) time_options_->::drizzled::message::Table_Field_TimeFieldOptions::Clear();
4543 clear_has_time_options();
4545 inline const ::drizzled::message::Table_Field_TimeFieldOptions& Table_Field::time_options()
const {
4547 return time_options_ != NULL ? *time_options_ : *default_instance_->time_options_;
4549 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::mutable_time_options() {
4550 set_has_time_options();
4551 if (time_options_ == NULL) time_options_ = new ::drizzled::message::Table_Field_TimeFieldOptions;
4553 return time_options_;
4555 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::release_time_options() {
4556 clear_has_time_options();
4558 time_options_ = NULL;
4562 delete time_options_;
4563 time_options_ = time_options;
4565 set_has_time_options();
4567 clear_has_time_options();
4573 inline bool Table_Field::has_comment()
const {
4574 return (_has_bits_[0] & 0x00000080u) != 0;
4576 inline void Table_Field::set_has_comment() {
4577 _has_bits_[0] |= 0x00000080u;
4579 inline void Table_Field::clear_has_comment() {
4580 _has_bits_[0] &= ~0x00000080u;
4582 inline void Table_Field::clear_comment() {
4583 if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4586 clear_has_comment();
4588 inline const ::std::string& Table_Field::comment()
const {
4592 inline void Table_Field::set_comment(const ::std::string& value) {
4594 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4595 comment_ = new ::std::string;
4597 comment_->assign(value);
4600 inline void Table_Field::set_comment(
const char* value) {
4602 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4603 comment_ = new ::std::string;
4605 comment_->assign(value);
4608 inline void Table_Field::set_comment(
const char* value,
size_t size) {
4610 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4611 comment_ = new ::std::string;
4613 comment_->assign(reinterpret_cast<const char*>(value), size);
4616 inline ::std::string* Table_Field::mutable_comment() {
4618 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4619 comment_ = new ::std::string;
4624 inline ::std::string* Table_Field::release_comment() {
4625 clear_has_comment();
4626 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4629 ::std::string* temp = comment_;
4630 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4634 inline void Table_Field::set_allocated_comment(::std::string* comment) {
4635 if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4642 clear_has_comment();
4643 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4649 inline bool Table_Field::has_enumeration_values()
const {
4650 return (_has_bits_[0] & 0x00000100u) != 0;
4652 inline void Table_Field::set_has_enumeration_values() {
4653 _has_bits_[0] |= 0x00000100u;
4655 inline void Table_Field::clear_has_enumeration_values() {
4656 _has_bits_[0] &= ~0x00000100u;
4658 inline void Table_Field::clear_enumeration_values() {
4659 if (enumeration_values_ != NULL) enumeration_values_->::drizzled::message::Table_Field_EnumerationValues::Clear();
4660 clear_has_enumeration_values();
4662 inline const ::drizzled::message::Table_Field_EnumerationValues& Table_Field::enumeration_values()
const {
4664 return enumeration_values_ != NULL ? *enumeration_values_ : *default_instance_->enumeration_values_;
4666 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::mutable_enumeration_values() {
4667 set_has_enumeration_values();
4668 if (enumeration_values_ == NULL) enumeration_values_ = new ::drizzled::message::Table_Field_EnumerationValues;
4670 return enumeration_values_;
4672 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::release_enumeration_values() {
4673 clear_has_enumeration_values();
4675 enumeration_values_ = NULL;
4679 delete enumeration_values_;
4680 enumeration_values_ = enumeration_values;
4681 if (enumeration_values) {
4682 set_has_enumeration_values();
4684 clear_has_enumeration_values();
4694 inline bool Table_Index_IndexPart::has_fieldnr()
const {
4695 return (_has_bits_[0] & 0x00000001u) != 0;
4697 inline void Table_Index_IndexPart::set_has_fieldnr() {
4698 _has_bits_[0] |= 0x00000001u;
4700 inline void Table_Index_IndexPart::clear_has_fieldnr() {
4701 _has_bits_[0] &= ~0x00000001u;
4703 inline void Table_Index_IndexPart::clear_fieldnr() {
4705 clear_has_fieldnr();
4707 inline ::google::protobuf::uint32 Table_Index_IndexPart::fieldnr()
const {
4711 inline void Table_Index_IndexPart::set_fieldnr(::google::protobuf::uint32 value) {
4718 inline bool Table_Index_IndexPart::has_compare_length()
const {
4719 return (_has_bits_[0] & 0x00000002u) != 0;
4721 inline void Table_Index_IndexPart::set_has_compare_length() {
4722 _has_bits_[0] |= 0x00000002u;
4724 inline void Table_Index_IndexPart::clear_has_compare_length() {
4725 _has_bits_[0] &= ~0x00000002u;
4727 inline void Table_Index_IndexPart::clear_compare_length() {
4728 compare_length_ = 0u;
4729 clear_has_compare_length();
4731 inline ::google::protobuf::uint32 Table_Index_IndexPart::compare_length()
const {
4733 return compare_length_;
4735 inline void Table_Index_IndexPart::set_compare_length(::google::protobuf::uint32 value) {
4736 set_has_compare_length();
4737 compare_length_ = value;
4742 inline bool Table_Index_IndexPart::has_in_reverse_order()
const {
4743 return (_has_bits_[0] & 0x00000004u) != 0;
4745 inline void Table_Index_IndexPart::set_has_in_reverse_order() {
4746 _has_bits_[0] |= 0x00000004u;
4748 inline void Table_Index_IndexPart::clear_has_in_reverse_order() {
4749 _has_bits_[0] &= ~0x00000004u;
4751 inline void Table_Index_IndexPart::clear_in_reverse_order() {
4752 in_reverse_order_ =
false;
4753 clear_has_in_reverse_order();
4755 inline bool Table_Index_IndexPart::in_reverse_order()
const {
4757 return in_reverse_order_;
4759 inline void Table_Index_IndexPart::set_in_reverse_order(
bool value) {
4760 set_has_in_reverse_order();
4761 in_reverse_order_ = value;
4770 inline bool Table_Index_Options::has_pack_key()
const {
4771 return (_has_bits_[0] & 0x00000001u) != 0;
4773 inline void Table_Index_Options::set_has_pack_key() {
4774 _has_bits_[0] |= 0x00000001u;
4776 inline void Table_Index_Options::clear_has_pack_key() {
4777 _has_bits_[0] &= ~0x00000001u;
4779 inline void Table_Index_Options::clear_pack_key() {
4781 clear_has_pack_key();
4783 inline bool Table_Index_Options::pack_key()
const {
4787 inline void Table_Index_Options::set_pack_key(
bool value) {
4794 inline bool Table_Index_Options::has_binary_pack_key()
const {
4795 return (_has_bits_[0] & 0x00000002u) != 0;
4797 inline void Table_Index_Options::set_has_binary_pack_key() {
4798 _has_bits_[0] |= 0x00000002u;
4800 inline void Table_Index_Options::clear_has_binary_pack_key() {
4801 _has_bits_[0] &= ~0x00000002u;
4803 inline void Table_Index_Options::clear_binary_pack_key() {
4804 binary_pack_key_ =
false;
4805 clear_has_binary_pack_key();
4807 inline bool Table_Index_Options::binary_pack_key()
const {
4809 return binary_pack_key_;
4811 inline void Table_Index_Options::set_binary_pack_key(
bool value) {
4812 set_has_binary_pack_key();
4813 binary_pack_key_ = value;
4818 inline bool Table_Index_Options::has_var_length_key()
const {
4819 return (_has_bits_[0] & 0x00000004u) != 0;
4821 inline void Table_Index_Options::set_has_var_length_key() {
4822 _has_bits_[0] |= 0x00000004u;
4824 inline void Table_Index_Options::clear_has_var_length_key() {
4825 _has_bits_[0] &= ~0x00000004u;
4827 inline void Table_Index_Options::clear_var_length_key() {
4828 var_length_key_ =
false;
4829 clear_has_var_length_key();
4831 inline bool Table_Index_Options::var_length_key()
const {
4833 return var_length_key_;
4835 inline void Table_Index_Options::set_var_length_key(
bool value) {
4836 set_has_var_length_key();
4837 var_length_key_ = value;
4842 inline bool Table_Index_Options::has_null_part_key()
const {
4843 return (_has_bits_[0] & 0x00000008u) != 0;
4845 inline void Table_Index_Options::set_has_null_part_key() {
4846 _has_bits_[0] |= 0x00000008u;
4848 inline void Table_Index_Options::clear_has_null_part_key() {
4849 _has_bits_[0] &= ~0x00000008u;
4851 inline void Table_Index_Options::clear_null_part_key() {
4852 null_part_key_ =
false;
4853 clear_has_null_part_key();
4855 inline bool Table_Index_Options::null_part_key()
const {
4857 return null_part_key_;
4859 inline void Table_Index_Options::set_null_part_key(
bool value) {
4860 set_has_null_part_key();
4861 null_part_key_ = value;
4866 inline bool Table_Index_Options::has_key_block_size()
const {
4867 return (_has_bits_[0] & 0x00000010u) != 0;
4869 inline void Table_Index_Options::set_has_key_block_size() {
4870 _has_bits_[0] |= 0x00000010u;
4872 inline void Table_Index_Options::clear_has_key_block_size() {
4873 _has_bits_[0] &= ~0x00000010u;
4875 inline void Table_Index_Options::clear_key_block_size() {
4876 key_block_size_ = 0u;
4877 clear_has_key_block_size();
4879 inline ::google::protobuf::uint32 Table_Index_Options::key_block_size()
const {
4881 return key_block_size_;
4883 inline void Table_Index_Options::set_key_block_size(::google::protobuf::uint32 value) {
4884 set_has_key_block_size();
4885 key_block_size_ = value;
4890 inline bool Table_Index_Options::has_has_partial_segments()
const {
4891 return (_has_bits_[0] & 0x00000020u) != 0;
4893 inline void Table_Index_Options::set_has_has_partial_segments() {
4894 _has_bits_[0] |= 0x00000020u;
4896 inline void Table_Index_Options::clear_has_has_partial_segments() {
4897 _has_bits_[0] &= ~0x00000020u;
4899 inline void Table_Index_Options::clear_has_partial_segments() {
4900 has_partial_segments_ =
false;
4901 clear_has_has_partial_segments();
4903 inline bool Table_Index_Options::has_partial_segments()
const {
4905 return has_partial_segments_;
4907 inline void Table_Index_Options::set_has_partial_segments(
bool value) {
4908 set_has_has_partial_segments();
4909 has_partial_segments_ = value;
4914 inline bool Table_Index_Options::has_auto_generated_key()
const {
4915 return (_has_bits_[0] & 0x00000040u) != 0;
4917 inline void Table_Index_Options::set_has_auto_generated_key() {
4918 _has_bits_[0] |= 0x00000040u;
4920 inline void Table_Index_Options::clear_has_auto_generated_key() {
4921 _has_bits_[0] &= ~0x00000040u;
4923 inline void Table_Index_Options::clear_auto_generated_key() {
4924 auto_generated_key_ =
false;
4925 clear_has_auto_generated_key();
4927 inline bool Table_Index_Options::auto_generated_key()
const {
4929 return auto_generated_key_;
4931 inline void Table_Index_Options::set_auto_generated_key(
bool value) {
4932 set_has_auto_generated_key();
4933 auto_generated_key_ = value;
4942 inline bool Table_Index::has_name()
const {
4943 return (_has_bits_[0] & 0x00000001u) != 0;
4945 inline void Table_Index::set_has_name() {
4946 _has_bits_[0] |= 0x00000001u;
4948 inline void Table_Index::clear_has_name() {
4949 _has_bits_[0] &= ~0x00000001u;
4951 inline void Table_Index::clear_name() {
4952 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4957 inline const ::std::string& Table_Index::name()
const {
4961 inline void Table_Index::set_name(const ::std::string& value) {
4963 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4964 name_ = new ::std::string;
4966 name_->assign(value);
4969 inline void Table_Index::set_name(
const char* value) {
4971 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4972 name_ = new ::std::string;
4974 name_->assign(value);
4977 inline void Table_Index::set_name(
const char* value,
size_t size) {
4979 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4980 name_ = new ::std::string;
4982 name_->assign(reinterpret_cast<const char*>(value), size);
4985 inline ::std::string* Table_Index::mutable_name() {
4987 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4988 name_ = new ::std::string;
4993 inline ::std::string* Table_Index::release_name() {
4995 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4998 ::std::string* temp = name_;
4999 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5003 inline void Table_Index::set_allocated_name(::std::string* name) {
5004 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5012 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5018 inline bool Table_Index::has_is_primary()
const {
5019 return (_has_bits_[0] & 0x00000002u) != 0;
5021 inline void Table_Index::set_has_is_primary() {
5022 _has_bits_[0] |= 0x00000002u;
5024 inline void Table_Index::clear_has_is_primary() {
5025 _has_bits_[0] &= ~0x00000002u;
5027 inline void Table_Index::clear_is_primary() {
5028 is_primary_ =
false;
5029 clear_has_is_primary();
5031 inline bool Table_Index::is_primary()
const {
5035 inline void Table_Index::set_is_primary(
bool value) {
5036 set_has_is_primary();
5037 is_primary_ = value;
5042 inline bool Table_Index::has_is_unique()
const {
5043 return (_has_bits_[0] & 0x00000004u) != 0;
5045 inline void Table_Index::set_has_is_unique() {
5046 _has_bits_[0] |= 0x00000004u;
5048 inline void Table_Index::clear_has_is_unique() {
5049 _has_bits_[0] &= ~0x00000004u;
5051 inline void Table_Index::clear_is_unique() {
5053 clear_has_is_unique();
5055 inline bool Table_Index::is_unique()
const {
5059 inline void Table_Index::set_is_unique(
bool value) {
5060 set_has_is_unique();
5066 inline bool Table_Index::has_type()
const {
5067 return (_has_bits_[0] & 0x00000008u) != 0;
5069 inline void Table_Index::set_has_type() {
5070 _has_bits_[0] |= 0x00000008u;
5072 inline void Table_Index::clear_has_type() {
5073 _has_bits_[0] &= ~0x00000008u;
5075 inline void Table_Index::clear_type() {
5079 inline ::drizzled::message::Table_Index_IndexType Table_Index::type()
const {
5081 return static_cast< ::drizzled::message::Table_Index_IndexType
>(type_);
5083 inline void Table_Index::set_type(::drizzled::message::Table_Index_IndexType value) {
5084 assert(::drizzled::message::Table_Index_IndexType_IsValid(value));
5091 inline bool Table_Index::has_key_length()
const {
5092 return (_has_bits_[0] & 0x00000010u) != 0;
5094 inline void Table_Index::set_has_key_length() {
5095 _has_bits_[0] |= 0x00000010u;
5097 inline void Table_Index::clear_has_key_length() {
5098 _has_bits_[0] &= ~0x00000010u;
5100 inline void Table_Index::clear_key_length() {
5102 clear_has_key_length();
5104 inline ::google::protobuf::uint32 Table_Index::key_length()
const {
5108 inline void Table_Index::set_key_length(::google::protobuf::uint32 value) {
5109 set_has_key_length();
5110 key_length_ = value;
5115 inline int Table_Index::index_part_size()
const {
5116 return index_part_.size();
5118 inline void Table_Index::clear_index_part() {
5119 index_part_.Clear();
5121 inline const ::drizzled::message::Table_Index_IndexPart& Table_Index::index_part(
int index)
const {
5123 return index_part_.Get(index);
5125 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::mutable_index_part(
int index) {
5127 return index_part_.Mutable(index);
5129 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::add_index_part() {
5131 return index_part_.Add();
5133 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
5134 Table_Index::index_part()
const {
5138 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
5139 Table_Index::mutable_index_part() {
5141 return &index_part_;
5145 inline bool Table_Index::has_options()
const {
5146 return (_has_bits_[0] & 0x00000040u) != 0;
5148 inline void Table_Index::set_has_options() {
5149 _has_bits_[0] |= 0x00000040u;
5151 inline void Table_Index::clear_has_options() {
5152 _has_bits_[0] &= ~0x00000040u;
5154 inline void Table_Index::clear_options() {
5155 if (options_ != NULL) options_->::drizzled::message::Table_Index_Options::Clear();
5156 clear_has_options();
5158 inline const ::drizzled::message::Table_Index_Options& Table_Index::options()
const {
5160 return options_ != NULL ? *options_ : *default_instance_->options_;
5162 inline ::drizzled::message::Table_Index_Options* Table_Index::mutable_options() {
5164 if (options_ == NULL) options_ = new ::drizzled::message::Table_Index_Options;
5168 inline ::drizzled::message::Table_Index_Options* Table_Index::release_options() {
5169 clear_has_options();
5180 clear_has_options();
5186 inline bool Table_Index::has_comment()
const {
5187 return (_has_bits_[0] & 0x00000080u) != 0;
5189 inline void Table_Index::set_has_comment() {
5190 _has_bits_[0] |= 0x00000080u;
5192 inline void Table_Index::clear_has_comment() {
5193 _has_bits_[0] &= ~0x00000080u;
5195 inline void Table_Index::clear_comment() {
5196 if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5199 clear_has_comment();
5201 inline const ::std::string& Table_Index::comment()
const {
5205 inline void Table_Index::set_comment(const ::std::string& value) {
5207 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5208 comment_ = new ::std::string;
5210 comment_->assign(value);
5213 inline void Table_Index::set_comment(
const char* value) {
5215 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5216 comment_ = new ::std::string;
5218 comment_->assign(value);
5221 inline void Table_Index::set_comment(
const char* value,
size_t size) {
5223 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5224 comment_ = new ::std::string;
5226 comment_->assign(reinterpret_cast<const char*>(value), size);
5229 inline ::std::string* Table_Index::mutable_comment() {
5231 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5232 comment_ = new ::std::string;
5237 inline ::std::string* Table_Index::release_comment() {
5238 clear_has_comment();
5239 if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5242 ::std::string* temp = comment_;
5243 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5247 inline void Table_Index::set_allocated_comment(::std::string* comment) {
5248 if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5255 clear_has_comment();
5256 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5266 inline bool Table::has_name()
const {
5267 return (_has_bits_[0] & 0x00000001u) != 0;
5269 inline void Table::set_has_name() {
5270 _has_bits_[0] |= 0x00000001u;
5272 inline void Table::clear_has_name() {
5273 _has_bits_[0] &= ~0x00000001u;
5275 inline void Table::clear_name() {
5276 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5281 inline const ::std::string& Table::name()
const {
5285 inline void Table::set_name(const ::std::string& value) {
5287 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5288 name_ = new ::std::string;
5290 name_->assign(value);
5293 inline void Table::set_name(
const char* value) {
5295 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5296 name_ = new ::std::string;
5298 name_->assign(value);
5301 inline void Table::set_name(
const char* value,
size_t size) {
5303 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5304 name_ = new ::std::string;
5306 name_->assign(reinterpret_cast<const char*>(value), size);
5309 inline ::std::string* Table::mutable_name() {
5311 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5312 name_ = new ::std::string;
5317 inline ::std::string* Table::release_name() {
5319 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5322 ::std::string* temp = name_;
5323 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5327 inline void Table::set_allocated_name(::std::string* name) {
5328 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5336 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5342 inline bool Table::has_schema()
const {
5343 return (_has_bits_[0] & 0x00000002u) != 0;
5345 inline void Table::set_has_schema() {
5346 _has_bits_[0] |= 0x00000002u;
5348 inline void Table::clear_has_schema() {
5349 _has_bits_[0] &= ~0x00000002u;
5351 inline void Table::clear_schema() {
5352 if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5357 inline const ::std::string& Table::schema()
const {
5361 inline void Table::set_schema(const ::std::string& value) {
5363 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5364 schema_ = new ::std::string;
5366 schema_->assign(value);
5369 inline void Table::set_schema(
const char* value) {
5371 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5372 schema_ = new ::std::string;
5374 schema_->assign(value);
5377 inline void Table::set_schema(
const char* value,
size_t size) {
5379 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5380 schema_ = new ::std::string;
5382 schema_->assign(reinterpret_cast<const char*>(value), size);
5385 inline ::std::string* Table::mutable_schema() {
5387 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5388 schema_ = new ::std::string;
5393 inline ::std::string* Table::release_schema() {
5395 if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5398 ::std::string* temp = schema_;
5399 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5403 inline void Table::set_allocated_schema(::std::string* schema) {
5404 if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5412 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5418 inline bool Table::has_type()
const {
5419 return (_has_bits_[0] & 0x00000004u) != 0;
5421 inline void Table::set_has_type() {
5422 _has_bits_[0] |= 0x00000004u;
5424 inline void Table::clear_has_type() {
5425 _has_bits_[0] &= ~0x00000004u;
5427 inline void Table::clear_type() {
5431 inline ::drizzled::message::Table_TableType Table::type()
const {
5433 return static_cast< ::drizzled::message::Table_TableType
>(type_);
5435 inline void Table::set_type(::drizzled::message::Table_TableType value) {
5436 assert(::drizzled::message::Table_TableType_IsValid(value));
5443 inline bool Table::has_engine()
const {
5444 return (_has_bits_[0] & 0x00000008u) != 0;
5446 inline void Table::set_has_engine() {
5447 _has_bits_[0] |= 0x00000008u;
5449 inline void Table::clear_has_engine() {
5450 _has_bits_[0] &= ~0x00000008u;
5452 inline void Table::clear_engine() {
5453 if (engine_ != NULL) engine_->::drizzled::message::Engine::Clear();
5456 inline const ::drizzled::message::Engine& Table::engine()
const {
5458 return engine_ != NULL ? *engine_ : *default_instance_->engine_;
5460 inline ::drizzled::message::Engine* Table::mutable_engine() {
5462 if (engine_ == NULL) engine_ = new ::drizzled::message::Engine;
5466 inline ::drizzled::message::Engine* Table::release_engine() {
5484 inline int Table::field_size()
const {
5485 return field_.size();
5487 inline void Table::clear_field() {
5490 inline const ::drizzled::message::Table_Field& Table::field(
int index)
const {
5492 return field_.Get(index);
5494 inline ::drizzled::message::Table_Field* Table::mutable_field(
int index) {
5496 return field_.Mutable(index);
5498 inline ::drizzled::message::Table_Field* Table::add_field() {
5500 return field_.Add();
5502 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
5503 Table::field()
const {
5507 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
5508 Table::mutable_field() {
5514 inline int Table::indexes_size()
const {
5515 return indexes_.size();
5517 inline void Table::clear_indexes() {
5520 inline const ::drizzled::message::Table_Index& Table::indexes(
int index)
const {
5522 return indexes_.Get(index);
5524 inline ::drizzled::message::Table_Index* Table::mutable_indexes(
int index) {
5526 return indexes_.Mutable(index);
5528 inline ::drizzled::message::Table_Index* Table::add_indexes() {
5530 return indexes_.Add();
5532 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
5533 Table::indexes()
const {
5537 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
5538 Table::mutable_indexes() {
5544 inline int Table::fk_constraint_size()
const {
5545 return fk_constraint_.size();
5547 inline void Table::clear_fk_constraint() {
5548 fk_constraint_.Clear();
5550 inline const ::drizzled::message::Table_ForeignKeyConstraint& Table::fk_constraint(
int index)
const {
5552 return fk_constraint_.Get(index);
5554 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::mutable_fk_constraint(
int index) {
5556 return fk_constraint_.Mutable(index);
5558 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::add_fk_constraint() {
5560 return fk_constraint_.Add();
5562 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
5563 Table::fk_constraint()
const {
5565 return fk_constraint_;
5567 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
5568 Table::mutable_fk_constraint() {
5570 return &fk_constraint_;
5574 inline bool Table::has_options()
const {
5575 return (_has_bits_[0] & 0x00000080u) != 0;
5577 inline void Table::set_has_options() {
5578 _has_bits_[0] |= 0x00000080u;
5580 inline void Table::clear_has_options() {
5581 _has_bits_[0] &= ~0x00000080u;
5583 inline void Table::clear_options() {
5584 if (options_ != NULL) options_->::drizzled::message::Table_TableOptions::Clear();
5585 clear_has_options();
5587 inline const ::drizzled::message::Table_TableOptions& Table::options()
const {
5589 return options_ != NULL ? *options_ : *default_instance_->options_;
5591 inline ::drizzled::message::Table_TableOptions* Table::mutable_options() {
5593 if (options_ == NULL) options_ = new ::drizzled::message::Table_TableOptions;
5597 inline ::drizzled::message::Table_TableOptions* Table::release_options() {
5598 clear_has_options();
5609 clear_has_options();
5615 inline bool Table::has_creation_timestamp()
const {
5616 return (_has_bits_[0] & 0x00000100u) != 0;
5618 inline void Table::set_has_creation_timestamp() {
5619 _has_bits_[0] |= 0x00000100u;
5621 inline void Table::clear_has_creation_timestamp() {
5622 _has_bits_[0] &= ~0x00000100u;
5624 inline void Table::clear_creation_timestamp() {
5625 creation_timestamp_ = GOOGLE_ULONGLONG(0);
5626 clear_has_creation_timestamp();
5628 inline ::google::protobuf::uint64 Table::creation_timestamp()
const {
5630 return creation_timestamp_;
5632 inline void Table::set_creation_timestamp(::google::protobuf::uint64 value) {
5633 set_has_creation_timestamp();
5634 creation_timestamp_ = value;
5639 inline bool Table::has_update_timestamp()
const {
5640 return (_has_bits_[0] & 0x00000200u) != 0;
5642 inline void Table::set_has_update_timestamp() {
5643 _has_bits_[0] |= 0x00000200u;
5645 inline void Table::clear_has_update_timestamp() {
5646 _has_bits_[0] &= ~0x00000200u;
5648 inline void Table::clear_update_timestamp() {
5649 update_timestamp_ = GOOGLE_ULONGLONG(0);
5650 clear_has_update_timestamp();
5652 inline ::google::protobuf::uint64 Table::update_timestamp()
const {
5654 return update_timestamp_;
5656 inline void Table::set_update_timestamp(::google::protobuf::uint64 value) {
5657 set_has_update_timestamp();
5658 update_timestamp_ = value;
5663 inline bool Table::has_catalog()
const {
5664 return (_has_bits_[0] & 0x00000400u) != 0;
5666 inline void Table::set_has_catalog() {
5667 _has_bits_[0] |= 0x00000400u;
5669 inline void Table::clear_has_catalog() {
5670 _has_bits_[0] &= ~0x00000400u;
5672 inline void Table::clear_catalog() {
5673 if (catalog_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5676 clear_has_catalog();
5678 inline const ::std::string& Table::catalog()
const {
5682 inline void Table::set_catalog(const ::std::string& value) {
5684 if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5685 catalog_ = new ::std::string;
5687 catalog_->assign(value);
5690 inline void Table::set_catalog(
const char* value) {
5692 if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5693 catalog_ = new ::std::string;
5695 catalog_->assign(value);
5698 inline void Table::set_catalog(
const char* value,
size_t size) {
5700 if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5701 catalog_ = new ::std::string;
5703 catalog_->assign(reinterpret_cast<const char*>(value), size);
5706 inline ::std::string* Table::mutable_catalog() {
5708 if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5709 catalog_ = new ::std::string;
5714 inline ::std::string* Table::release_catalog() {
5715 clear_has_catalog();
5716 if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5719 ::std::string* temp = catalog_;
5720 catalog_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5724 inline void Table::set_allocated_catalog(::std::string* catalog) {
5725 if (catalog_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5732 clear_has_catalog();
5733 catalog_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5739 inline bool Table::has_uuid()
const {
5740 return (_has_bits_[0] & 0x00000800u) != 0;
5742 inline void Table::set_has_uuid() {
5743 _has_bits_[0] |= 0x00000800u;
5745 inline void Table::clear_has_uuid() {
5746 _has_bits_[0] &= ~0x00000800u;
5748 inline void Table::clear_uuid() {
5749 if (uuid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5754 inline const ::std::string& Table::uuid()
const {
5758 inline void Table::set_uuid(const ::std::string& value) {
5760 if (uuid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5761 uuid_ = new ::std::string;
5763 uuid_->assign(value);
5766 inline void Table::set_uuid(
const char* value) {
5768 if (uuid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5769 uuid_ = new ::std::string;
5771 uuid_->assign(value);
5774 inline void Table::set_uuid(
const char* value,
size_t size) {
5776 if (uuid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5777 uuid_ = new ::std::string;
5779 uuid_->assign(reinterpret_cast<const char*>(value), size);
5782 inline ::std::string* Table::mutable_uuid() {
5784 if (uuid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5785 uuid_ = new ::std::string;
5790 inline ::std::string* Table::release_uuid() {
5792 if (uuid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5795 ::std::string* temp = uuid_;
5796 uuid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5800 inline void Table::set_allocated_uuid(::std::string* uuid) {
5801 if (uuid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5809 uuid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5815 inline bool Table::has_version()
const {
5816 return (_has_bits_[0] & 0x00001000u) != 0;
5818 inline void Table::set_has_version() {
5819 _has_bits_[0] |= 0x00001000u;
5821 inline void Table::clear_has_version() {
5822 _has_bits_[0] &= ~0x00001000u;
5824 inline void Table::clear_version() {
5825 version_ = GOOGLE_ULONGLONG(0);
5826 clear_has_version();
5828 inline ::google::protobuf::uint64 Table::version()
const {
5832 inline void Table::set_version(::google::protobuf::uint64 value) {
5839 inline bool Table::has_replication_options()
const {
5840 return (_has_bits_[0] & 0x00002000u) != 0;
5842 inline void Table::set_has_replication_options() {
5843 _has_bits_[0] |= 0x00002000u;
5845 inline void Table::clear_has_replication_options() {
5846 _has_bits_[0] &= ~0x00002000u;
5848 inline void Table::clear_replication_options() {
5849 if (replication_options_ != NULL) replication_options_->::drizzled::message::ReplicationOptions::Clear();
5850 clear_has_replication_options();
5852 inline const ::drizzled::message::ReplicationOptions& Table::replication_options()
const {
5854 return replication_options_ != NULL ? *replication_options_ : *default_instance_->replication_options_;
5856 inline ::drizzled::message::ReplicationOptions* Table::mutable_replication_options() {
5857 set_has_replication_options();
5858 if (replication_options_ == NULL) replication_options_ = new ::drizzled::message::ReplicationOptions;
5860 return replication_options_;
5862 inline ::drizzled::message::ReplicationOptions* Table::release_replication_options() {
5863 clear_has_replication_options();
5865 replication_options_ = NULL;
5869 delete replication_options_;
5870 replication_options_ = replication_options;
5871 if (replication_options) {
5872 set_has_replication_options();
5874 clear_has_replication_options();
5880 inline bool Table::has_access()
const {
5881 return (_has_bits_[0] & 0x00004000u) != 0;
5883 inline void Table::set_has_access() {
5884 _has_bits_[0] |= 0x00004000u;
5886 inline void Table::clear_has_access() {
5887 _has_bits_[0] &= ~0x00004000u;
5889 inline void Table::clear_access() {
5890 if (access_ != NULL) access_->::drizzled::message::Access::Clear();
5893 inline const ::drizzled::message::Access& Table::access()
const {
5895 return access_ != NULL ? *access_ : *default_instance_->access_;
5897 inline ::drizzled::message::Access* Table::mutable_access() {
5899 if (access_ == NULL) access_ = new ::drizzled::message::Access;
5903 inline ::drizzled::message::Access* Table::release_access() {
5925 inline int AddedFields::added_field_size()
const {
5926 return added_field_.size();
5928 inline void AddedFields::clear_added_field() {
5929 added_field_.Clear();
5931 inline const ::drizzled::message::Table_Field& AddedFields::added_field(
int index)
const {
5933 return added_field_.Get(index);
5935 inline ::drizzled::message::Table_Field* AddedFields::mutable_added_field(
int index) {
5937 return added_field_.Mutable(index);
5939 inline ::drizzled::message::Table_Field* AddedFields::add_added_field() {
5941 return added_field_.Add();
5943 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
5944 AddedFields::added_field()
const {
5946 return added_field_;
5948 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
5949 AddedFields::mutable_added_field() {
5951 return &added_field_;
5962 namespace protobuf {
5964 template <>
struct is_proto_enum< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption> : ::google::protobuf::internal::true_type {};
5966 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption>() {
5967 return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
5969 template <>
struct is_proto_enum< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption> : ::google::protobuf::internal::true_type {};
5971 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption>() {
5972 return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
5974 template <>
struct is_proto_enum< ::drizzled::message::Table_Field_FieldType> : ::google::protobuf::internal::true_type {};
5976 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Field_FieldType>() {
5977 return ::drizzled::message::Table_Field_FieldType_descriptor();
5979 template <>
struct is_proto_enum< ::drizzled::message::Table_Index_IndexType> : ::google::protobuf::internal::true_type {};
5981 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Index_IndexType>() {
5982 return ::drizzled::message::Table_Index_IndexType_descriptor();
5984 template <>
struct is_proto_enum< ::drizzled::message::Table_TableType> : ::google::protobuf::internal::true_type {};
5986 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_TableType>() {
5987 return ::drizzled::message::Table_TableType_descriptor();
5996 #endif // PROTOBUF_table_2eproto__INCLUDED
TODO: Rename this file - func.h is stupid.