4 #ifndef PROTOBUF_table_2eproto__INCLUDED
5 #define PROTOBUF_table_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2004000
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 2004001 < 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/repeated_field.h>
24 #include <google/protobuf/extension_set.h>
25 #include <google/protobuf/generated_message_reflection.h>
26 #include "engine.pb.h"
27 #include "access.pb.h"
28 #include "replication_options.pb.h"
35 void protobuf_AddDesc_table_2eproto();
36 void protobuf_AssignDesc_table_2eproto();
37 void protobuf_ShutdownFile_table_2eproto();
40 class Table_TableOptions;
41 class Table_ForeignKeyConstraint;
43 class Table_Field_FieldOptions;
44 class Table_Field_FieldConstraints;
45 class Table_Field_NumericFieldOptions;
46 class Table_Field_StringFieldOptions;
47 class Table_Field_EnumerationValues;
48 class Table_Field_TimeFieldOptions;
50 class Table_Index_IndexPart;
51 class Table_Index_Options;
54 enum Table_ForeignKeyConstraint_ForeignKeyMatchOption {
55 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED = 0,
56 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL = 1,
57 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL = 2,
58 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE = 3
60 bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(
int value);
61 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
62 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
63 const int Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX + 1;
65 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
66 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
67 return ::google::protobuf::internal::NameOfEnum(
68 Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), value);
70 inline bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(
71 const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyMatchOption* value) {
72 return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyMatchOption>(
73 Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), name, value);
75 enum Table_ForeignKeyConstraint_ForeignKeyOption {
76 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF = 0,
77 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT = 1,
78 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE = 2,
79 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL = 3,
80 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION = 4,
81 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT = 5
83 bool Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(
int value);
84 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
85 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
86 const int Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX + 1;
88 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
89 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyOption_Name(Table_ForeignKeyConstraint_ForeignKeyOption value) {
90 return ::google::protobuf::internal::NameOfEnum(
91 Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), value);
93 inline bool Table_ForeignKeyConstraint_ForeignKeyOption_Parse(
94 const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyOption* value) {
95 return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyOption>(
96 Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), name, value);
98 enum Table_Field_FieldType {
99 Table_Field_FieldType_DOUBLE = 0,
100 Table_Field_FieldType_VARCHAR = 1,
101 Table_Field_FieldType_BLOB = 2,
102 Table_Field_FieldType_ENUM = 3,
103 Table_Field_FieldType_INTEGER = 4,
104 Table_Field_FieldType_BIGINT = 5,
105 Table_Field_FieldType_DECIMAL = 6,
106 Table_Field_FieldType_DATE = 7,
107 Table_Field_FieldType_EPOCH = 9,
108 Table_Field_FieldType_DATETIME = 10,
109 Table_Field_FieldType_UUID = 11,
110 Table_Field_FieldType_TIME = 12,
111 Table_Field_FieldType_BOOLEAN = 13,
112 Table_Field_FieldType_IPV6 = 14
114 bool Table_Field_FieldType_IsValid(
int value);
115 const Table_Field_FieldType Table_Field_FieldType_FieldType_MIN = Table_Field_FieldType_DOUBLE;
116 const Table_Field_FieldType Table_Field_FieldType_FieldType_MAX = Table_Field_FieldType_IPV6;
117 const int Table_Field_FieldType_FieldType_ARRAYSIZE = Table_Field_FieldType_FieldType_MAX + 1;
119 const ::google::protobuf::EnumDescriptor* Table_Field_FieldType_descriptor();
120 inline const ::std::string& Table_Field_FieldType_Name(Table_Field_FieldType value) {
121 return ::google::protobuf::internal::NameOfEnum(
122 Table_Field_FieldType_descriptor(), value);
124 inline bool Table_Field_FieldType_Parse(
125 const ::std::string& name, Table_Field_FieldType* value) {
126 return ::google::protobuf::internal::ParseNamedEnum<Table_Field_FieldType>(
127 Table_Field_FieldType_descriptor(), name, value);
129 enum Table_Index_IndexType {
130 Table_Index_IndexType_UNKNOWN_INDEX = 0,
131 Table_Index_IndexType_BTREE = 1,
132 Table_Index_IndexType_RTREE = 2,
133 Table_Index_IndexType_HASH = 3,
134 Table_Index_IndexType_FULLTEXT = 4
136 bool Table_Index_IndexType_IsValid(
int value);
137 const Table_Index_IndexType Table_Index_IndexType_IndexType_MIN = Table_Index_IndexType_UNKNOWN_INDEX;
138 const Table_Index_IndexType Table_Index_IndexType_IndexType_MAX = Table_Index_IndexType_FULLTEXT;
139 const int Table_Index_IndexType_IndexType_ARRAYSIZE = Table_Index_IndexType_IndexType_MAX + 1;
141 const ::google::protobuf::EnumDescriptor* Table_Index_IndexType_descriptor();
142 inline const ::std::string& Table_Index_IndexType_Name(Table_Index_IndexType value) {
143 return ::google::protobuf::internal::NameOfEnum(
144 Table_Index_IndexType_descriptor(), value);
146 inline bool Table_Index_IndexType_Parse(
147 const ::std::string& name, Table_Index_IndexType* value) {
148 return ::google::protobuf::internal::ParseNamedEnum<Table_Index_IndexType>(
149 Table_Index_IndexType_descriptor(), name, value);
151 enum Table_TableType {
152 Table_TableType_STANDARD = 0,
153 Table_TableType_TEMPORARY = 1,
154 Table_TableType_INTERNAL = 2,
155 Table_TableType_FUNCTION = 3
157 bool Table_TableType_IsValid(
int value);
158 const Table_TableType Table_TableType_TableType_MIN = Table_TableType_STANDARD;
159 const Table_TableType Table_TableType_TableType_MAX = Table_TableType_FUNCTION;
160 const int Table_TableType_TableType_ARRAYSIZE = Table_TableType_TableType_MAX + 1;
162 const ::google::protobuf::EnumDescriptor* Table_TableType_descriptor();
163 inline const ::std::string& Table_TableType_Name(Table_TableType value) {
164 return ::google::protobuf::internal::NameOfEnum(
165 Table_TableType_descriptor(), value);
167 inline bool Table_TableType_Parse(
168 const ::std::string& name, Table_TableType* value) {
169 return ::google::protobuf::internal::ParseNamedEnum<Table_TableType>(
170 Table_TableType_descriptor(), name, value);
186 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
187 return _unknown_fields_;
190 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
191 return &_unknown_fields_;
194 static const ::google::protobuf::Descriptor* descriptor();
202 void CopyFrom(const ::google::protobuf::Message& from);
203 void MergeFrom(const ::google::protobuf::Message& from);
207 bool IsInitialized()
const;
209 int ByteSize()
const;
210 bool MergePartialFromCodedStream(
211 ::google::protobuf::io::CodedInputStream* input);
212 void SerializeWithCachedSizes(
213 ::google::protobuf::io::CodedOutputStream* output)
const;
214 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
215 int GetCachedSize()
const {
return _cached_size_; }
219 void SetCachedSize(
int size)
const;
222 ::google::protobuf::Metadata GetMetadata()
const;
229 inline bool has_has_user_set_auto_increment_value()
const;
230 inline void clear_has_user_set_auto_increment_value();
231 static const int kHasUserSetAutoIncrementValueFieldNumber = 1;
232 inline bool has_user_set_auto_increment_value()
const;
233 inline void set_has_user_set_auto_increment_value(
bool value);
236 inline bool has_collation()
const;
237 inline void clear_collation();
238 static const int kCollationFieldNumber = 2;
239 inline const ::std::string& collation()
const;
240 inline void set_collation(const ::std::string& value);
241 inline void set_collation(
const char* value);
242 inline void set_collation(
const char* value,
size_t size);
243 inline ::std::string* mutable_collation();
244 inline ::std::string* release_collation();
247 inline bool has_collation_id()
const;
248 inline void clear_collation_id();
249 static const int kCollationIdFieldNumber = 3;
250 inline ::google::protobuf::uint32 collation_id()
const;
251 inline void set_collation_id(::google::protobuf::uint32 value);
254 inline bool has_data_file_name()
const;
255 inline void clear_data_file_name();
256 static const int kDataFileNameFieldNumber = 5;
257 inline const ::std::string& data_file_name()
const;
258 inline void set_data_file_name(const ::std::string& value);
259 inline void set_data_file_name(
const char* value);
260 inline void set_data_file_name(
const char* value,
size_t size);
261 inline ::std::string* mutable_data_file_name();
262 inline ::std::string* release_data_file_name();
265 inline bool has_index_file_name()
const;
266 inline void clear_index_file_name();
267 static const int kIndexFileNameFieldNumber = 6;
268 inline const ::std::string& index_file_name()
const;
269 inline void set_index_file_name(const ::std::string& value);
270 inline void set_index_file_name(
const char* value);
271 inline void set_index_file_name(
const char* value,
size_t size);
272 inline ::std::string* mutable_index_file_name();
273 inline ::std::string* release_index_file_name();
276 inline bool has_max_rows()
const;
277 inline void clear_max_rows();
278 static const int kMaxRowsFieldNumber = 7;
279 inline ::google::protobuf::uint64 max_rows()
const;
280 inline void set_max_rows(::google::protobuf::uint64 value);
283 inline bool has_min_rows()
const;
284 inline void clear_min_rows();
285 static const int kMinRowsFieldNumber = 8;
286 inline ::google::protobuf::uint64 min_rows()
const;
287 inline void set_min_rows(::google::protobuf::uint64 value);
290 inline bool has_auto_increment_value()
const;
291 inline void clear_auto_increment_value();
292 static const int kAutoIncrementValueFieldNumber = 9;
293 inline ::google::protobuf::uint64 auto_increment_value()
const;
294 inline void set_auto_increment_value(::google::protobuf::uint64 value);
297 inline bool has_avg_row_length()
const;
298 inline void clear_avg_row_length();
299 static const int kAvgRowLengthFieldNumber = 11;
300 inline ::google::protobuf::uint32 avg_row_length()
const;
301 inline void set_avg_row_length(::google::protobuf::uint32 value);
304 inline bool has_block_size()
const;
305 inline void clear_block_size();
306 static const int kBlockSizeFieldNumber = 13;
307 inline ::google::protobuf::uint32 block_size()
const;
308 inline void set_block_size(::google::protobuf::uint32 value);
311 inline bool has_comment()
const;
312 inline void clear_comment();
313 static const int kCommentFieldNumber = 14;
314 inline const ::std::string& comment()
const;
315 inline void set_comment(const ::std::string& value);
316 inline void set_comment(
const char* value);
317 inline void set_comment(
const char* value,
size_t size);
318 inline ::std::string* mutable_comment();
319 inline ::std::string* release_comment();
322 inline bool has_pack_record()
const;
323 inline void clear_pack_record();
324 static const int kPackRecordFieldNumber = 16;
325 inline bool pack_record()
const;
326 inline void set_pack_record(
bool value);
329 inline bool has_checksum()
const;
330 inline void clear_checksum();
331 static const int kChecksumFieldNumber = 17;
332 inline bool checksum()
const;
333 inline void set_checksum(
bool value);
336 inline bool has_page_checksum()
const;
337 inline void clear_page_checksum();
338 static const int kPageChecksumFieldNumber = 18;
339 inline bool page_checksum()
const;
340 inline void set_page_checksum(
bool value);
343 inline bool has_delay_key_write()
const;
344 inline void clear_delay_key_write();
345 static const int kDelayKeyWriteFieldNumber = 19;
346 inline bool delay_key_write()
const;
347 inline void set_delay_key_write(
bool value);
350 inline bool has_unused()
const;
351 inline void clear_unused();
352 static const int kUnusedFieldNumber = 20;
353 inline bool unused()
const;
354 inline void set_unused(
bool value);
358 inline void set_has_has_user_set_auto_increment_value();
359 inline void clear_has_has_user_set_auto_increment_value();
360 inline void set_has_collation();
361 inline void clear_has_collation();
362 inline void set_has_collation_id();
363 inline void clear_has_collation_id();
364 inline void set_has_data_file_name();
365 inline void clear_has_data_file_name();
366 inline void set_has_index_file_name();
367 inline void clear_has_index_file_name();
368 inline void set_has_max_rows();
369 inline void clear_has_max_rows();
370 inline void set_has_min_rows();
371 inline void clear_has_min_rows();
372 inline void set_has_auto_increment_value();
373 inline void clear_has_auto_increment_value();
374 inline void set_has_avg_row_length();
375 inline void clear_has_avg_row_length();
376 inline void set_has_block_size();
377 inline void clear_has_block_size();
378 inline void set_has_comment();
379 inline void clear_has_comment();
380 inline void set_has_pack_record();
381 inline void clear_has_pack_record();
382 inline void set_has_checksum();
383 inline void clear_has_checksum();
384 inline void set_has_page_checksum();
385 inline void clear_has_page_checksum();
386 inline void set_has_delay_key_write();
387 inline void clear_has_delay_key_write();
388 inline void set_has_unused();
389 inline void clear_has_unused();
391 ::google::protobuf::UnknownFieldSet _unknown_fields_;
393 ::std::string* collation_;
394 ::std::string* data_file_name_;
395 ::std::string* index_file_name_;
396 ::google::protobuf::uint64 max_rows_;
397 ::google::protobuf::uint32 collation_id_;
398 ::google::protobuf::uint32 avg_row_length_;
399 ::google::protobuf::uint64 min_rows_;
400 ::google::protobuf::uint64 auto_increment_value_;
401 ::google::protobuf::uint32 block_size_;
402 bool has_user_set_auto_increment_value_;
406 ::std::string* comment_;
407 bool delay_key_write_;
410 mutable int _cached_size_;
411 ::google::protobuf::uint32 _has_bits_[(16 + 31) / 32];
413 friend void protobuf_AddDesc_table_2eproto();
414 friend void protobuf_AssignDesc_table_2eproto();
415 friend void protobuf_ShutdownFile_table_2eproto();
417 void InitAsDefaultInstance();
434 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
435 return _unknown_fields_;
438 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
439 return &_unknown_fields_;
442 static const ::google::protobuf::Descriptor* descriptor();
450 void CopyFrom(const ::google::protobuf::Message& from);
451 void MergeFrom(const ::google::protobuf::Message& from);
455 bool IsInitialized()
const;
457 int ByteSize()
const;
458 bool MergePartialFromCodedStream(
459 ::google::protobuf::io::CodedInputStream* input);
460 void SerializeWithCachedSizes(
461 ::google::protobuf::io::CodedOutputStream* output)
const;
462 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
463 int GetCachedSize()
const {
return _cached_size_; }
467 void SetCachedSize(
int size)
const;
470 ::google::protobuf::Metadata GetMetadata()
const;
474 typedef Table_ForeignKeyConstraint_ForeignKeyMatchOption ForeignKeyMatchOption;
475 static const ForeignKeyMatchOption MATCH_UNDEFINED = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
476 static const ForeignKeyMatchOption MATCH_FULL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL;
477 static const ForeignKeyMatchOption MATCH_PARTIAL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL;
478 static const ForeignKeyMatchOption MATCH_SIMPLE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
479 static inline bool ForeignKeyMatchOption_IsValid(
int value) {
480 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value);
482 static const ForeignKeyMatchOption ForeignKeyMatchOption_MIN =
483 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN;
484 static const ForeignKeyMatchOption ForeignKeyMatchOption_MAX =
485 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX;
486 static const int ForeignKeyMatchOption_ARRAYSIZE =
487 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE;
488 static inline const ::google::protobuf::EnumDescriptor*
489 ForeignKeyMatchOption_descriptor() {
490 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
492 static inline const ::std::string& ForeignKeyMatchOption_Name(ForeignKeyMatchOption value) {
493 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(value);
495 static inline bool ForeignKeyMatchOption_Parse(const ::std::string& name,
496 ForeignKeyMatchOption* value) {
497 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(name, value);
500 typedef Table_ForeignKeyConstraint_ForeignKeyOption ForeignKeyOption;
501 static const ForeignKeyOption OPTION_UNDEF = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
502 static const ForeignKeyOption OPTION_RESTRICT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT;
503 static const ForeignKeyOption OPTION_CASCADE = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE;
504 static const ForeignKeyOption OPTION_SET_NULL = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL;
505 static const ForeignKeyOption OPTION_NO_ACTION = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION;
506 static const ForeignKeyOption OPTION_SET_DEFAULT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
507 static inline bool ForeignKeyOption_IsValid(
int value) {
508 return Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value);
510 static const ForeignKeyOption ForeignKeyOption_MIN =
511 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN;
512 static const ForeignKeyOption ForeignKeyOption_MAX =
513 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX;
514 static const int ForeignKeyOption_ARRAYSIZE =
515 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE;
516 static inline const ::google::protobuf::EnumDescriptor*
517 ForeignKeyOption_descriptor() {
518 return Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
520 static inline const ::std::string& ForeignKeyOption_Name(ForeignKeyOption value) {
521 return Table_ForeignKeyConstraint_ForeignKeyOption_Name(value);
523 static inline bool ForeignKeyOption_Parse(const ::std::string& name,
524 ForeignKeyOption* value) {
525 return Table_ForeignKeyConstraint_ForeignKeyOption_Parse(name, value);
531 inline bool has_name()
const;
532 inline void clear_name();
533 static const int kNameFieldNumber = 1;
534 inline const ::std::string& name()
const;
535 inline void set_name(const ::std::string& value);
536 inline void set_name(
const char* value);
537 inline void set_name(
const char* value,
size_t size);
538 inline ::std::string* mutable_name();
539 inline ::std::string* release_name();
542 inline int column_names_size()
const;
543 inline void clear_column_names();
544 static const int kColumnNamesFieldNumber = 2;
545 inline const ::std::string& column_names(
int index)
const;
546 inline ::std::string* mutable_column_names(
int index);
547 inline void set_column_names(
int index, const ::std::string& value);
548 inline void set_column_names(
int index,
const char* value);
549 inline void set_column_names(
int index,
const char* value,
size_t size);
550 inline ::std::string* add_column_names();
551 inline void add_column_names(const ::std::string& value);
552 inline void add_column_names(
const char* value);
553 inline void add_column_names(
const char* value,
size_t size);
554 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& column_names()
const;
555 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_column_names();
558 inline bool has_references_table_name()
const;
559 inline void clear_references_table_name();
560 static const int kReferencesTableNameFieldNumber = 3;
561 inline const ::std::string& references_table_name()
const;
562 inline void set_references_table_name(const ::std::string& value);
563 inline void set_references_table_name(
const char* value);
564 inline void set_references_table_name(
const char* value,
size_t size);
565 inline ::std::string* mutable_references_table_name();
566 inline ::std::string* release_references_table_name();
569 inline int references_columns_size()
const;
570 inline void clear_references_columns();
571 static const int kReferencesColumnsFieldNumber = 4;
572 inline const ::std::string& references_columns(
int index)
const;
573 inline ::std::string* mutable_references_columns(
int index);
574 inline void set_references_columns(
int index, const ::std::string& value);
575 inline void set_references_columns(
int index,
const char* value);
576 inline void set_references_columns(
int index,
const char* value,
size_t size);
577 inline ::std::string* add_references_columns();
578 inline void add_references_columns(const ::std::string& value);
579 inline void add_references_columns(
const char* value);
580 inline void add_references_columns(
const char* value,
size_t size);
581 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& references_columns()
const;
582 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_references_columns();
585 inline bool has_match()
const;
586 inline void clear_match();
587 static const int kMatchFieldNumber = 5;
588 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption match()
const;
589 inline void set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value);
592 inline bool has_update_option()
const;
593 inline void clear_update_option();
594 static const int kUpdateOptionFieldNumber = 6;
595 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption update_option()
const;
596 inline void set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
599 inline bool has_delete_option()
const;
600 inline void clear_delete_option();
601 static const int kDeleteOptionFieldNumber = 7;
602 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption delete_option()
const;
603 inline void set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
607 inline void set_has_name();
608 inline void clear_has_name();
609 inline void set_has_references_table_name();
610 inline void clear_has_references_table_name();
611 inline void set_has_match();
612 inline void clear_has_match();
613 inline void set_has_update_option();
614 inline void clear_has_update_option();
615 inline void set_has_delete_option();
616 inline void clear_has_delete_option();
618 ::google::protobuf::UnknownFieldSet _unknown_fields_;
620 ::std::string* name_;
621 ::google::protobuf::RepeatedPtrField< ::std::string> column_names_;
622 ::std::string* references_table_name_;
623 ::google::protobuf::RepeatedPtrField< ::std::string> references_columns_;
628 mutable int _cached_size_;
629 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
631 friend void protobuf_AddDesc_table_2eproto();
632 friend void protobuf_AssignDesc_table_2eproto();
633 friend void protobuf_ShutdownFile_table_2eproto();
635 void InitAsDefaultInstance();
652 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
653 return _unknown_fields_;
656 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
657 return &_unknown_fields_;
660 static const ::google::protobuf::Descriptor* descriptor();
668 void CopyFrom(const ::google::protobuf::Message& from);
669 void MergeFrom(const ::google::protobuf::Message& from);
673 bool IsInitialized()
const;
675 int ByteSize()
const;
676 bool MergePartialFromCodedStream(
677 ::google::protobuf::io::CodedInputStream* input);
678 void SerializeWithCachedSizes(
679 ::google::protobuf::io::CodedOutputStream* output)
const;
680 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
681 int GetCachedSize()
const {
return _cached_size_; }
685 void SetCachedSize(
int size)
const;
688 ::google::protobuf::Metadata GetMetadata()
const;
695 inline bool has_default_value()
const;
696 inline void clear_default_value();
697 static const int kDefaultValueFieldNumber = 1;
698 inline const ::std::string& default_value()
const;
699 inline void set_default_value(const ::std::string& value);
700 inline void set_default_value(
const char* value);
701 inline void set_default_value(
const char* value,
size_t size);
702 inline ::std::string* mutable_default_value();
703 inline ::std::string* release_default_value();
706 inline bool has_update_value()
const;
707 inline void clear_update_value();
708 static const int kUpdateValueFieldNumber = 2;
709 inline const ::std::string& update_value()
const;
710 inline void set_update_value(const ::std::string& value);
711 inline void set_update_value(
const char* value);
712 inline void set_update_value(
const char* value,
size_t size);
713 inline ::std::string* mutable_update_value();
714 inline ::std::string* release_update_value();
717 inline bool has_default_null()
const;
718 inline void clear_default_null();
719 static const int kDefaultNullFieldNumber = 3;
720 inline bool default_null()
const;
721 inline void set_default_null(
bool value);
724 inline bool has_default_bin_value()
const;
725 inline void clear_default_bin_value();
726 static const int kDefaultBinValueFieldNumber = 4;
727 inline const ::std::string& default_bin_value()
const;
728 inline void set_default_bin_value(const ::std::string& value);
729 inline void set_default_bin_value(
const char* value);
730 inline void set_default_bin_value(
const void* value,
size_t size);
731 inline ::std::string* mutable_default_bin_value();
732 inline ::std::string* release_default_bin_value();
735 inline bool has_default_expression()
const;
736 inline void clear_default_expression();
737 static const int kDefaultExpressionFieldNumber = 5;
738 inline const ::std::string& default_expression()
const;
739 inline void set_default_expression(const ::std::string& value);
740 inline void set_default_expression(
const char* value);
741 inline void set_default_expression(
const char* value,
size_t size);
742 inline ::std::string* mutable_default_expression();
743 inline ::std::string* release_default_expression();
746 inline bool has_update_expression()
const;
747 inline void clear_update_expression();
748 static const int kUpdateExpressionFieldNumber = 6;
749 inline const ::std::string& update_expression()
const;
750 inline void set_update_expression(const ::std::string& value);
751 inline void set_update_expression(
const char* value);
752 inline void set_update_expression(
const char* value,
size_t size);
753 inline ::std::string* mutable_update_expression();
754 inline ::std::string* release_update_expression();
758 inline void set_has_default_value();
759 inline void clear_has_default_value();
760 inline void set_has_update_value();
761 inline void clear_has_update_value();
762 inline void set_has_default_null();
763 inline void clear_has_default_null();
764 inline void set_has_default_bin_value();
765 inline void clear_has_default_bin_value();
766 inline void set_has_default_expression();
767 inline void clear_has_default_expression();
768 inline void set_has_update_expression();
769 inline void clear_has_update_expression();
771 ::google::protobuf::UnknownFieldSet _unknown_fields_;
773 ::std::string* default_value_;
774 ::std::string* update_value_;
775 ::std::string* default_bin_value_;
776 ::std::string* default_expression_;
777 ::std::string* update_expression_;
780 mutable int _cached_size_;
781 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
783 friend void protobuf_AddDesc_table_2eproto();
784 friend void protobuf_AssignDesc_table_2eproto();
785 friend void protobuf_ShutdownFile_table_2eproto();
787 void InitAsDefaultInstance();
804 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
805 return _unknown_fields_;
808 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
809 return &_unknown_fields_;
812 static const ::google::protobuf::Descriptor* descriptor();
820 void CopyFrom(const ::google::protobuf::Message& from);
821 void MergeFrom(const ::google::protobuf::Message& from);
825 bool IsInitialized()
const;
827 int ByteSize()
const;
828 bool MergePartialFromCodedStream(
829 ::google::protobuf::io::CodedInputStream* input);
830 void SerializeWithCachedSizes(
831 ::google::protobuf::io::CodedOutputStream* output)
const;
832 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
833 int GetCachedSize()
const {
return _cached_size_; }
837 void SetCachedSize(
int size)
const;
840 ::google::protobuf::Metadata GetMetadata()
const;
847 inline bool has_is_nullable()
const;
848 inline void clear_is_nullable();
849 static const int kIsNullableFieldNumber = 1;
850 inline bool is_nullable()
const;
851 inline void set_is_nullable(
bool value);
854 inline bool has_is_unsigned()
const;
855 inline void clear_is_unsigned();
856 static const int kIsUnsignedFieldNumber = 2;
857 inline bool is_unsigned()
const;
858 inline void set_is_unsigned(
bool value);
861 inline bool has_is_notnull()
const;
862 inline void clear_is_notnull();
863 static const int kIsNotnullFieldNumber = 3;
864 inline bool is_notnull()
const;
865 inline void set_is_notnull(
bool value);
868 inline bool has_is_unique()
const;
869 inline void clear_is_unique();
870 static const int kIsUniqueFieldNumber = 4;
871 inline bool is_unique()
const;
872 inline void set_is_unique(
bool value);
875 inline int expression_size()
const;
876 inline void clear_expression();
877 static const int kExpressionFieldNumber = 16;
878 inline const ::std::string& expression(
int index)
const;
879 inline ::std::string* mutable_expression(
int index);
880 inline void set_expression(
int index, const ::std::string& value);
881 inline void set_expression(
int index,
const char* value);
882 inline void set_expression(
int index,
const char* value,
size_t size);
883 inline ::std::string* add_expression();
884 inline void add_expression(const ::std::string& value);
885 inline void add_expression(
const char* value);
886 inline void add_expression(
const char* value,
size_t size);
887 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& expression()
const;
888 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_expression();
892 inline void set_has_is_nullable();
893 inline void clear_has_is_nullable();
894 inline void set_has_is_unsigned();
895 inline void clear_has_is_unsigned();
896 inline void set_has_is_notnull();
897 inline void clear_has_is_notnull();
898 inline void set_has_is_unique();
899 inline void clear_has_is_unique();
901 ::google::protobuf::UnknownFieldSet _unknown_fields_;
903 ::google::protobuf::RepeatedPtrField< ::std::string> expression_;
909 mutable int _cached_size_;
910 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
912 friend void protobuf_AddDesc_table_2eproto();
913 friend void protobuf_AssignDesc_table_2eproto();
914 friend void protobuf_ShutdownFile_table_2eproto();
916 void InitAsDefaultInstance();
933 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
934 return _unknown_fields_;
937 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
938 return &_unknown_fields_;
941 static const ::google::protobuf::Descriptor* descriptor();
949 void CopyFrom(const ::google::protobuf::Message& from);
950 void MergeFrom(const ::google::protobuf::Message& from);
954 bool IsInitialized()
const;
956 int ByteSize()
const;
957 bool MergePartialFromCodedStream(
958 ::google::protobuf::io::CodedInputStream* input);
959 void SerializeWithCachedSizes(
960 ::google::protobuf::io::CodedOutputStream* output)
const;
961 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
962 int GetCachedSize()
const {
return _cached_size_; }
966 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 bool is_autoincrement_;
1008 ::google::protobuf::uint32 scale_;
1009 ::google::protobuf::uint32 precision_;
1011 mutable int _cached_size_;
1012 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1014 friend void protobuf_AddDesc_table_2eproto();
1015 friend void protobuf_AssignDesc_table_2eproto();
1016 friend void protobuf_ShutdownFile_table_2eproto();
1018 void InitAsDefaultInstance();
1035 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1036 return _unknown_fields_;
1039 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1040 return &_unknown_fields_;
1043 static const ::google::protobuf::Descriptor* descriptor();
1051 void CopyFrom(const ::google::protobuf::Message& from);
1052 void MergeFrom(const ::google::protobuf::Message& from);
1056 bool IsInitialized()
const;
1058 int ByteSize()
const;
1059 bool MergePartialFromCodedStream(
1060 ::google::protobuf::io::CodedInputStream* input);
1061 void SerializeWithCachedSizes(
1062 ::google::protobuf::io::CodedOutputStream* output)
const;
1063 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1064 int GetCachedSize()
const {
return _cached_size_; }
1068 void SetCachedSize(
int size)
const;
1071 ::google::protobuf::Metadata GetMetadata()
const;
1078 inline bool has_is_fixed_width()
const;
1079 inline void clear_is_fixed_width();
1080 static const int kIsFixedWidthFieldNumber = 1;
1081 inline bool is_fixed_width()
const;
1082 inline void set_is_fixed_width(
bool value);
1085 inline bool has_length()
const;
1086 inline void clear_length();
1087 static const int kLengthFieldNumber = 2;
1088 inline ::google::protobuf::uint32 length()
const;
1089 inline void set_length(::google::protobuf::uint32 value);
1092 inline bool has_collation_id()
const;
1093 inline void clear_collation_id();
1094 static const int kCollationIdFieldNumber = 3;
1095 inline ::google::protobuf::uint32 collation_id()
const;
1096 inline void set_collation_id(::google::protobuf::uint32 value);
1099 inline bool has_collation()
const;
1100 inline void clear_collation();
1101 static const int kCollationFieldNumber = 4;
1102 inline const ::std::string& collation()
const;
1103 inline void set_collation(const ::std::string& value);
1104 inline void set_collation(
const char* value);
1105 inline void set_collation(
const char* value,
size_t size);
1106 inline ::std::string* mutable_collation();
1107 inline ::std::string* release_collation();
1111 inline void set_has_is_fixed_width();
1112 inline void clear_has_is_fixed_width();
1113 inline void set_has_length();
1114 inline void clear_has_length();
1115 inline void set_has_collation_id();
1116 inline void clear_has_collation_id();
1117 inline void set_has_collation();
1118 inline void clear_has_collation();
1120 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1122 bool is_fixed_width_;
1123 ::google::protobuf::uint32 length_;
1124 ::std::string* collation_;
1125 ::google::protobuf::uint32 collation_id_;
1127 mutable int _cached_size_;
1128 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
1130 friend void protobuf_AddDesc_table_2eproto();
1131 friend void protobuf_AssignDesc_table_2eproto();
1132 friend void protobuf_ShutdownFile_table_2eproto();
1134 void InitAsDefaultInstance();
1151 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1152 return _unknown_fields_;
1155 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1156 return &_unknown_fields_;
1159 static const ::google::protobuf::Descriptor* descriptor();
1167 void CopyFrom(const ::google::protobuf::Message& from);
1168 void MergeFrom(const ::google::protobuf::Message& from);
1172 bool IsInitialized()
const;
1174 int ByteSize()
const;
1175 bool MergePartialFromCodedStream(
1176 ::google::protobuf::io::CodedInputStream* input);
1177 void SerializeWithCachedSizes(
1178 ::google::protobuf::io::CodedOutputStream* output)
const;
1179 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1180 int GetCachedSize()
const {
return _cached_size_; }
1184 void SetCachedSize(
int size)
const;
1187 ::google::protobuf::Metadata GetMetadata()
const;
1194 inline bool has_collation_id()
const;
1195 inline void clear_collation_id();
1196 static const int kCollationIdFieldNumber = 2;
1197 inline ::google::protobuf::uint32 collation_id()
const;
1198 inline void set_collation_id(::google::protobuf::uint32 value);
1201 inline bool has_collation()
const;
1202 inline void clear_collation();
1203 static const int kCollationFieldNumber = 3;
1204 inline const ::std::string& collation()
const;
1205 inline void set_collation(const ::std::string& value);
1206 inline void set_collation(
const char* value);
1207 inline void set_collation(
const char* value,
size_t size);
1208 inline ::std::string* mutable_collation();
1209 inline ::std::string* release_collation();
1212 inline int field_value_size()
const;
1213 inline void clear_field_value();
1214 static const int kFieldValueFieldNumber = 4;
1215 inline const ::std::string& field_value(
int index)
const;
1216 inline ::std::string* mutable_field_value(
int index);
1217 inline void set_field_value(
int index, const ::std::string& value);
1218 inline void set_field_value(
int index,
const char* value);
1219 inline void set_field_value(
int index,
const char* value,
size_t size);
1220 inline ::std::string* add_field_value();
1221 inline void add_field_value(const ::std::string& value);
1222 inline void add_field_value(
const char* value);
1223 inline void add_field_value(
const char* value,
size_t size);
1224 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& field_value()
const;
1225 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_field_value();
1229 inline void set_has_collation_id();
1230 inline void clear_has_collation_id();
1231 inline void set_has_collation();
1232 inline void clear_has_collation();
1234 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1236 ::std::string* collation_;
1237 ::google::protobuf::RepeatedPtrField< ::std::string> field_value_;
1238 ::google::protobuf::uint32 collation_id_;
1240 mutable int _cached_size_;
1241 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1243 friend void protobuf_AddDesc_table_2eproto();
1244 friend void protobuf_AssignDesc_table_2eproto();
1245 friend void protobuf_ShutdownFile_table_2eproto();
1247 void InitAsDefaultInstance();
1264 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1265 return _unknown_fields_;
1268 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1269 return &_unknown_fields_;
1272 static const ::google::protobuf::Descriptor* descriptor();
1280 void CopyFrom(const ::google::protobuf::Message& from);
1281 void MergeFrom(const ::google::protobuf::Message& from);
1285 bool IsInitialized()
const;
1287 int ByteSize()
const;
1288 bool MergePartialFromCodedStream(
1289 ::google::protobuf::io::CodedInputStream* input);
1290 void SerializeWithCachedSizes(
1291 ::google::protobuf::io::CodedOutputStream* output)
const;
1292 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1293 int GetCachedSize()
const {
return _cached_size_; }
1297 void SetCachedSize(
int size)
const;
1300 ::google::protobuf::Metadata GetMetadata()
const;
1307 inline bool has_microseconds()
const;
1308 inline void clear_microseconds();
1309 static const int kMicrosecondsFieldNumber = 1;
1310 inline bool microseconds()
const;
1311 inline void set_microseconds(
bool value);
1315 inline void set_has_microseconds();
1316 inline void clear_has_microseconds();
1318 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1322 mutable int _cached_size_;
1323 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
1325 friend void protobuf_AddDesc_table_2eproto();
1326 friend void protobuf_AssignDesc_table_2eproto();
1327 friend void protobuf_ShutdownFile_table_2eproto();
1329 void InitAsDefaultInstance();
1346 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1347 return _unknown_fields_;
1350 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1351 return &_unknown_fields_;
1354 static const ::google::protobuf::Descriptor* descriptor();
1362 void CopyFrom(const ::google::protobuf::Message& from);
1363 void MergeFrom(const ::google::protobuf::Message& from);
1367 bool IsInitialized()
const;
1369 int ByteSize()
const;
1370 bool MergePartialFromCodedStream(
1371 ::google::protobuf::io::CodedInputStream* input);
1372 void SerializeWithCachedSizes(
1373 ::google::protobuf::io::CodedOutputStream* output)
const;
1374 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1375 int GetCachedSize()
const {
return _cached_size_; }
1379 void SetCachedSize(
int size)
const;
1382 ::google::protobuf::Metadata GetMetadata()
const;
1393 typedef Table_Field_FieldType FieldType;
1394 static const FieldType DOUBLE = Table_Field_FieldType_DOUBLE;
1395 static const FieldType VARCHAR = Table_Field_FieldType_VARCHAR;
1396 static const FieldType BLOB = Table_Field_FieldType_BLOB;
1397 static const FieldType ENUM = Table_Field_FieldType_ENUM;
1398 static const FieldType INTEGER = Table_Field_FieldType_INTEGER;
1399 static const FieldType BIGINT = Table_Field_FieldType_BIGINT;
1400 static const FieldType DECIMAL = Table_Field_FieldType_DECIMAL;
1401 static const FieldType DATE = Table_Field_FieldType_DATE;
1402 static const FieldType EPOCH = Table_Field_FieldType_EPOCH;
1403 static const FieldType DATETIME = Table_Field_FieldType_DATETIME;
1404 static const FieldType UUID = Table_Field_FieldType_UUID;
1405 static const FieldType TIME = Table_Field_FieldType_TIME;
1406 static const FieldType BOOLEAN = Table_Field_FieldType_BOOLEAN;
1407 static const FieldType IPV6 = Table_Field_FieldType_IPV6;
1408 static inline bool FieldType_IsValid(
int value) {
1409 return Table_Field_FieldType_IsValid(value);
1411 static const FieldType FieldType_MIN =
1412 Table_Field_FieldType_FieldType_MIN;
1413 static const FieldType FieldType_MAX =
1414 Table_Field_FieldType_FieldType_MAX;
1415 static const int FieldType_ARRAYSIZE =
1416 Table_Field_FieldType_FieldType_ARRAYSIZE;
1417 static inline const ::google::protobuf::EnumDescriptor*
1418 FieldType_descriptor() {
1419 return Table_Field_FieldType_descriptor();
1421 static inline const ::std::string& FieldType_Name(FieldType value) {
1422 return Table_Field_FieldType_Name(value);
1424 static inline bool FieldType_Parse(const ::std::string& name,
1426 return Table_Field_FieldType_Parse(name, value);
1432 inline bool has_name()
const;
1433 inline void clear_name();
1434 static const int kNameFieldNumber = 1;
1435 inline const ::std::string& name()
const;
1436 inline void set_name(const ::std::string& value);
1437 inline void set_name(
const char* value);
1438 inline void set_name(
const char* value,
size_t size);
1439 inline ::std::string* mutable_name();
1440 inline ::std::string* release_name();
1443 inline bool has_type()
const;
1444 inline void clear_type();
1445 static const int kTypeFieldNumber = 2;
1446 inline ::drizzled::message::Table_Field_FieldType type()
const;
1447 inline void set_type(::drizzled::message::Table_Field_FieldType value);
1450 inline bool has_options()
const;
1451 inline void clear_options();
1452 static const int kOptionsFieldNumber = 4;
1453 inline const ::drizzled::message::Table_Field_FieldOptions& options()
const;
1454 inline ::drizzled::message::Table_Field_FieldOptions* mutable_options();
1455 inline ::drizzled::message::Table_Field_FieldOptions* release_options();
1458 inline bool has_constraints()
const;
1459 inline void clear_constraints();
1460 static const int kConstraintsFieldNumber = 5;
1461 inline const ::drizzled::message::Table_Field_FieldConstraints& constraints()
const;
1462 inline ::drizzled::message::Table_Field_FieldConstraints* mutable_constraints();
1463 inline ::drizzled::message::Table_Field_FieldConstraints* release_constraints();
1466 inline bool has_numeric_options()
const;
1467 inline void clear_numeric_options();
1468 static const int kNumericOptionsFieldNumber = 6;
1469 inline const ::drizzled::message::Table_Field_NumericFieldOptions& numeric_options()
const;
1470 inline ::drizzled::message::Table_Field_NumericFieldOptions* mutable_numeric_options();
1471 inline ::drizzled::message::Table_Field_NumericFieldOptions* release_numeric_options();
1474 inline bool has_string_options()
const;
1475 inline void clear_string_options();
1476 static const int kStringOptionsFieldNumber = 7;
1477 inline const ::drizzled::message::Table_Field_StringFieldOptions& string_options()
const;
1478 inline ::drizzled::message::Table_Field_StringFieldOptions* mutable_string_options();
1479 inline ::drizzled::message::Table_Field_StringFieldOptions* release_string_options();
1482 inline bool has_time_options()
const;
1483 inline void clear_time_options();
1484 static const int kTimeOptionsFieldNumber = 8;
1485 inline const ::drizzled::message::Table_Field_TimeFieldOptions& time_options()
const;
1486 inline ::drizzled::message::Table_Field_TimeFieldOptions* mutable_time_options();
1487 inline ::drizzled::message::Table_Field_TimeFieldOptions* release_time_options();
1490 inline bool has_comment()
const;
1491 inline void clear_comment();
1492 static const int kCommentFieldNumber = 16;
1493 inline const ::std::string& comment()
const;
1494 inline void set_comment(const ::std::string& value);
1495 inline void set_comment(
const char* value);
1496 inline void set_comment(
const char* value,
size_t size);
1497 inline ::std::string* mutable_comment();
1498 inline ::std::string* release_comment();
1501 inline bool has_enumeration_values()
const;
1502 inline void clear_enumeration_values();
1503 static const int kEnumerationValuesFieldNumber = 17;
1504 inline const ::drizzled::message::Table_Field_EnumerationValues& enumeration_values()
const;
1505 inline ::drizzled::message::Table_Field_EnumerationValues* mutable_enumeration_values();
1506 inline ::drizzled::message::Table_Field_EnumerationValues* release_enumeration_values();
1510 inline void set_has_name();
1511 inline void clear_has_name();
1512 inline void set_has_type();
1513 inline void clear_has_type();
1514 inline void set_has_options();
1515 inline void clear_has_options();
1516 inline void set_has_constraints();
1517 inline void clear_has_constraints();
1518 inline void set_has_numeric_options();
1519 inline void clear_has_numeric_options();
1520 inline void set_has_string_options();
1521 inline void clear_has_string_options();
1522 inline void set_has_time_options();
1523 inline void clear_has_time_options();
1524 inline void set_has_comment();
1525 inline void clear_has_comment();
1526 inline void set_has_enumeration_values();
1527 inline void clear_has_enumeration_values();
1529 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1531 ::std::string* name_;
1537 ::std::string* comment_;
1541 mutable int _cached_size_;
1542 ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
1544 friend void protobuf_AddDesc_table_2eproto();
1545 friend void protobuf_AssignDesc_table_2eproto();
1546 friend void protobuf_ShutdownFile_table_2eproto();
1548 void InitAsDefaultInstance();
1565 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1566 return _unknown_fields_;
1569 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1570 return &_unknown_fields_;
1573 static const ::google::protobuf::Descriptor* descriptor();
1581 void CopyFrom(const ::google::protobuf::Message& from);
1582 void MergeFrom(const ::google::protobuf::Message& from);
1586 bool IsInitialized()
const;
1588 int ByteSize()
const;
1589 bool MergePartialFromCodedStream(
1590 ::google::protobuf::io::CodedInputStream* input);
1591 void SerializeWithCachedSizes(
1592 ::google::protobuf::io::CodedOutputStream* output)
const;
1593 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1594 int GetCachedSize()
const {
return _cached_size_; }
1598 void SetCachedSize(
int size)
const;
1601 ::google::protobuf::Metadata GetMetadata()
const;
1608 inline bool has_fieldnr()
const;
1609 inline void clear_fieldnr();
1610 static const int kFieldnrFieldNumber = 1;
1611 inline ::google::protobuf::uint32 fieldnr()
const;
1612 inline void set_fieldnr(::google::protobuf::uint32 value);
1615 inline bool has_compare_length()
const;
1616 inline void clear_compare_length();
1617 static const int kCompareLengthFieldNumber = 2;
1618 inline ::google::protobuf::uint32 compare_length()
const;
1619 inline void set_compare_length(::google::protobuf::uint32 value);
1622 inline bool has_in_reverse_order()
const;
1623 inline void clear_in_reverse_order();
1624 static const int kInReverseOrderFieldNumber = 3;
1625 inline bool in_reverse_order()
const;
1626 inline void set_in_reverse_order(
bool value);
1630 inline void set_has_fieldnr();
1631 inline void clear_has_fieldnr();
1632 inline void set_has_compare_length();
1633 inline void clear_has_compare_length();
1634 inline void set_has_in_reverse_order();
1635 inline void clear_has_in_reverse_order();
1637 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1639 ::google::protobuf::uint32 fieldnr_;
1640 ::google::protobuf::uint32 compare_length_;
1641 bool in_reverse_order_;
1643 mutable int _cached_size_;
1644 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1646 friend void protobuf_AddDesc_table_2eproto();
1647 friend void protobuf_AssignDesc_table_2eproto();
1648 friend void protobuf_ShutdownFile_table_2eproto();
1650 void InitAsDefaultInstance();
1667 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1668 return _unknown_fields_;
1671 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1672 return &_unknown_fields_;
1675 static const ::google::protobuf::Descriptor* descriptor();
1683 void CopyFrom(const ::google::protobuf::Message& from);
1684 void MergeFrom(const ::google::protobuf::Message& from);
1688 bool IsInitialized()
const;
1690 int ByteSize()
const;
1691 bool MergePartialFromCodedStream(
1692 ::google::protobuf::io::CodedInputStream* input);
1693 void SerializeWithCachedSizes(
1694 ::google::protobuf::io::CodedOutputStream* output)
const;
1695 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1696 int GetCachedSize()
const {
return _cached_size_; }
1700 void SetCachedSize(
int size)
const;
1703 ::google::protobuf::Metadata GetMetadata()
const;
1710 inline bool has_pack_key()
const;
1711 inline void clear_pack_key();
1712 static const int kPackKeyFieldNumber = 1;
1713 inline bool pack_key()
const;
1714 inline void set_pack_key(
bool value);
1717 inline bool has_binary_pack_key()
const;
1718 inline void clear_binary_pack_key();
1719 static const int kBinaryPackKeyFieldNumber = 2;
1720 inline bool binary_pack_key()
const;
1721 inline void set_binary_pack_key(
bool value);
1724 inline bool has_var_length_key()
const;
1725 inline void clear_var_length_key();
1726 static const int kVarLengthKeyFieldNumber = 3;
1727 inline bool var_length_key()
const;
1728 inline void set_var_length_key(
bool value);
1731 inline bool has_null_part_key()
const;
1732 inline void clear_null_part_key();
1733 static const int kNullPartKeyFieldNumber = 4;
1734 inline bool null_part_key()
const;
1735 inline void set_null_part_key(
bool value);
1738 inline bool has_key_block_size()
const;
1739 inline void clear_key_block_size();
1740 static const int kKeyBlockSizeFieldNumber = 5;
1741 inline ::google::protobuf::uint32 key_block_size()
const;
1742 inline void set_key_block_size(::google::protobuf::uint32 value);
1745 inline bool has_has_partial_segments()
const;
1746 inline void clear_has_partial_segments();
1747 static const int kHasPartialSegmentsFieldNumber = 6;
1748 inline bool has_partial_segments()
const;
1749 inline void set_has_partial_segments(
bool value);
1752 inline bool has_auto_generated_key()
const;
1753 inline void clear_auto_generated_key();
1754 static const int kAutoGeneratedKeyFieldNumber = 7;
1755 inline bool auto_generated_key()
const;
1756 inline void set_auto_generated_key(
bool value);
1760 inline void set_has_pack_key();
1761 inline void clear_has_pack_key();
1762 inline void set_has_binary_pack_key();
1763 inline void clear_has_binary_pack_key();
1764 inline void set_has_var_length_key();
1765 inline void clear_has_var_length_key();
1766 inline void set_has_null_part_key();
1767 inline void clear_has_null_part_key();
1768 inline void set_has_key_block_size();
1769 inline void clear_has_key_block_size();
1770 inline void set_has_has_partial_segments();
1771 inline void clear_has_has_partial_segments();
1772 inline void set_has_auto_generated_key();
1773 inline void clear_has_auto_generated_key();
1775 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1778 bool binary_pack_key_;
1779 bool var_length_key_;
1780 bool null_part_key_;
1781 ::google::protobuf::uint32 key_block_size_;
1782 bool has_partial_segments_;
1783 bool auto_generated_key_;
1785 mutable int _cached_size_;
1786 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
1788 friend void protobuf_AddDesc_table_2eproto();
1789 friend void protobuf_AssignDesc_table_2eproto();
1790 friend void protobuf_ShutdownFile_table_2eproto();
1792 void InitAsDefaultInstance();
1809 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1810 return _unknown_fields_;
1813 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1814 return &_unknown_fields_;
1817 static const ::google::protobuf::Descriptor* descriptor();
1825 void CopyFrom(const ::google::protobuf::Message& from);
1826 void MergeFrom(const ::google::protobuf::Message& from);
1830 bool IsInitialized()
const;
1832 int ByteSize()
const;
1833 bool MergePartialFromCodedStream(
1834 ::google::protobuf::io::CodedInputStream* input);
1835 void SerializeWithCachedSizes(
1836 ::google::protobuf::io::CodedOutputStream* output)
const;
1837 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1838 int GetCachedSize()
const {
return _cached_size_; }
1842 void SetCachedSize(
int size)
const;
1845 ::google::protobuf::Metadata GetMetadata()
const;
1852 typedef Table_Index_IndexType IndexType;
1853 static const IndexType UNKNOWN_INDEX = Table_Index_IndexType_UNKNOWN_INDEX;
1854 static const IndexType BTREE = Table_Index_IndexType_BTREE;
1855 static const IndexType RTREE = Table_Index_IndexType_RTREE;
1856 static const IndexType
HASH = Table_Index_IndexType_HASH;
1857 static const IndexType FULLTEXT = Table_Index_IndexType_FULLTEXT;
1858 static inline bool IndexType_IsValid(
int value) {
1859 return Table_Index_IndexType_IsValid(value);
1861 static const IndexType IndexType_MIN =
1862 Table_Index_IndexType_IndexType_MIN;
1863 static const IndexType IndexType_MAX =
1864 Table_Index_IndexType_IndexType_MAX;
1865 static const int IndexType_ARRAYSIZE =
1866 Table_Index_IndexType_IndexType_ARRAYSIZE;
1867 static inline const ::google::protobuf::EnumDescriptor*
1868 IndexType_descriptor() {
1869 return Table_Index_IndexType_descriptor();
1871 static inline const ::std::string& IndexType_Name(IndexType value) {
1872 return Table_Index_IndexType_Name(value);
1874 static inline bool IndexType_Parse(const ::std::string& name,
1876 return Table_Index_IndexType_Parse(name, value);
1882 inline bool has_name()
const;
1883 inline void clear_name();
1884 static const int kNameFieldNumber = 1;
1885 inline const ::std::string& name()
const;
1886 inline void set_name(const ::std::string& value);
1887 inline void set_name(
const char* value);
1888 inline void set_name(
const char* value,
size_t size);
1889 inline ::std::string* mutable_name();
1890 inline ::std::string* release_name();
1893 inline bool has_is_primary()
const;
1894 inline void clear_is_primary();
1895 static const int kIsPrimaryFieldNumber = 2;
1896 inline bool is_primary()
const;
1897 inline void set_is_primary(
bool value);
1900 inline bool has_is_unique()
const;
1901 inline void clear_is_unique();
1902 static const int kIsUniqueFieldNumber = 3;
1903 inline bool is_unique()
const;
1904 inline void set_is_unique(
bool value);
1907 inline bool has_type()
const;
1908 inline void clear_type();
1909 static const int kTypeFieldNumber = 4;
1910 inline ::drizzled::message::Table_Index_IndexType type()
const;
1911 inline void set_type(::drizzled::message::Table_Index_IndexType value);
1914 inline bool has_key_length()
const;
1915 inline void clear_key_length();
1916 static const int kKeyLengthFieldNumber = 5;
1917 inline ::google::protobuf::uint32 key_length()
const;
1918 inline void set_key_length(::google::protobuf::uint32 value);
1921 inline int index_part_size()
const;
1922 inline void clear_index_part();
1923 static const int kIndexPartFieldNumber = 6;
1924 inline const ::drizzled::message::Table_Index_IndexPart& index_part(
int index)
const;
1925 inline ::drizzled::message::Table_Index_IndexPart* mutable_index_part(
int index);
1926 inline ::drizzled::message::Table_Index_IndexPart* add_index_part();
1927 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
1929 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
1930 mutable_index_part();
1933 inline bool has_options()
const;
1934 inline void clear_options();
1935 static const int kOptionsFieldNumber = 7;
1936 inline const ::drizzled::message::Table_Index_Options& options()
const;
1937 inline ::drizzled::message::Table_Index_Options* mutable_options();
1938 inline ::drizzled::message::Table_Index_Options* release_options();
1941 inline bool has_comment()
const;
1942 inline void clear_comment();
1943 static const int kCommentFieldNumber = 8;
1944 inline const ::std::string& comment()
const;
1945 inline void set_comment(const ::std::string& value);
1946 inline void set_comment(
const char* value);
1947 inline void set_comment(
const char* value,
size_t size);
1948 inline ::std::string* mutable_comment();
1949 inline ::std::string* release_comment();
1953 inline void set_has_name();
1954 inline void clear_has_name();
1955 inline void set_has_is_primary();
1956 inline void clear_has_is_primary();
1957 inline void set_has_is_unique();
1958 inline void clear_has_is_unique();
1959 inline void set_has_type();
1960 inline void clear_has_type();
1961 inline void set_has_key_length();
1962 inline void clear_has_key_length();
1963 inline void set_has_options();
1964 inline void clear_has_options();
1965 inline void set_has_comment();
1966 inline void clear_has_comment();
1968 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1970 ::std::string* name_;
1974 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart > index_part_;
1976 ::std::string* comment_;
1977 ::google::protobuf::uint32 key_length_;
1979 mutable int _cached_size_;
1980 ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
1982 friend void protobuf_AddDesc_table_2eproto();
1983 friend void protobuf_AssignDesc_table_2eproto();
1984 friend void protobuf_ShutdownFile_table_2eproto();
1986 void InitAsDefaultInstance();
1991 class Table :
public ::google::protobuf::Message {
2003 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2004 return _unknown_fields_;
2007 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2008 return &_unknown_fields_;
2011 static const ::google::protobuf::Descriptor* descriptor();
2012 static const Table& default_instance();
2014 void Swap(
Table* other);
2019 void CopyFrom(const ::google::protobuf::Message& from);
2020 void MergeFrom(const ::google::protobuf::Message& from);
2021 void CopyFrom(
const Table& from);
2022 void MergeFrom(
const Table& from);
2024 bool IsInitialized()
const;
2026 int ByteSize()
const;
2027 bool MergePartialFromCodedStream(
2028 ::google::protobuf::io::CodedInputStream* input);
2029 void SerializeWithCachedSizes(
2030 ::google::protobuf::io::CodedOutputStream* output)
const;
2031 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
2032 int GetCachedSize()
const {
return _cached_size_; }
2036 void SetCachedSize(
int size)
const;
2039 ::google::protobuf::Metadata GetMetadata()
const;
2048 typedef Table_TableType TableType;
2049 static const TableType STANDARD = Table_TableType_STANDARD;
2050 static const TableType TEMPORARY = Table_TableType_TEMPORARY;
2051 static const TableType INTERNAL = Table_TableType_INTERNAL;
2052 static const TableType FUNCTION = Table_TableType_FUNCTION;
2053 static inline bool TableType_IsValid(
int value) {
2054 return Table_TableType_IsValid(value);
2056 static const TableType TableType_MIN =
2057 Table_TableType_TableType_MIN;
2058 static const TableType TableType_MAX =
2059 Table_TableType_TableType_MAX;
2060 static const int TableType_ARRAYSIZE =
2061 Table_TableType_TableType_ARRAYSIZE;
2062 static inline const ::google::protobuf::EnumDescriptor*
2063 TableType_descriptor() {
2064 return Table_TableType_descriptor();
2066 static inline const ::std::string& TableType_Name(TableType value) {
2067 return Table_TableType_Name(value);
2069 static inline bool TableType_Parse(const ::std::string& name,
2071 return Table_TableType_Parse(name, value);
2077 inline bool has_name()
const;
2078 inline void clear_name();
2079 static const int kNameFieldNumber = 1;
2080 inline const ::std::string& name()
const;
2081 inline void set_name(const ::std::string& value);
2082 inline void set_name(
const char* value);
2083 inline void set_name(
const char* value,
size_t size);
2084 inline ::std::string* mutable_name();
2085 inline ::std::string* release_name();
2088 inline bool has_schema()
const;
2089 inline void clear_schema();
2090 static const int kSchemaFieldNumber = 6;
2091 inline const ::std::string& schema()
const;
2092 inline void set_schema(const ::std::string& value);
2093 inline void set_schema(
const char* value);
2094 inline void set_schema(
const char* value,
size_t size);
2095 inline ::std::string* mutable_schema();
2096 inline ::std::string* release_schema();
2099 inline bool has_type()
const;
2100 inline void clear_type();
2101 static const int kTypeFieldNumber = 5;
2102 inline ::drizzled::message::Table_TableType type()
const;
2103 inline void set_type(::drizzled::message::Table_TableType value);
2106 inline bool has_engine()
const;
2107 inline void clear_engine();
2108 static const int kEngineFieldNumber = 2;
2109 inline const ::drizzled::message::Engine& engine()
const;
2110 inline ::drizzled::message::Engine* mutable_engine();
2111 inline ::drizzled::message::Engine* release_engine();
2114 inline int field_size()
const;
2115 inline void clear_field();
2116 static const int kFieldFieldNumber = 3;
2117 inline const ::drizzled::message::Table_Field& field(
int index)
const;
2118 inline ::drizzled::message::Table_Field* mutable_field(
int index);
2119 inline ::drizzled::message::Table_Field* add_field();
2120 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
2122 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
2126 inline int indexes_size()
const;
2127 inline void clear_indexes();
2128 static const int kIndexesFieldNumber = 4;
2129 inline const ::drizzled::message::Table_Index& indexes(
int index)
const;
2130 inline ::drizzled::message::Table_Index* mutable_indexes(
int index);
2131 inline ::drizzled::message::Table_Index* add_indexes();
2132 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
2134 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
2138 inline int fk_constraint_size()
const;
2139 inline void clear_fk_constraint();
2140 static const int kFkConstraintFieldNumber = 8;
2141 inline const ::drizzled::message::Table_ForeignKeyConstraint& fk_constraint(
int index)
const;
2142 inline ::drizzled::message::Table_ForeignKeyConstraint* mutable_fk_constraint(
int index);
2143 inline ::drizzled::message::Table_ForeignKeyConstraint* add_fk_constraint();
2144 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
2145 fk_constraint()
const;
2146 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
2147 mutable_fk_constraint();
2150 inline bool has_options()
const;
2151 inline void clear_options();
2152 static const int kOptionsFieldNumber = 9;
2153 inline const ::drizzled::message::Table_TableOptions& options()
const;
2154 inline ::drizzled::message::Table_TableOptions* mutable_options();
2155 inline ::drizzled::message::Table_TableOptions* release_options();
2158 inline bool has_creation_timestamp()
const;
2159 inline void clear_creation_timestamp();
2160 static const int kCreationTimestampFieldNumber = 11;
2161 inline ::google::protobuf::uint64 creation_timestamp()
const;
2162 inline void set_creation_timestamp(::google::protobuf::uint64 value);
2165 inline bool has_update_timestamp()
const;
2166 inline void clear_update_timestamp();
2167 static const int kUpdateTimestampFieldNumber = 12;
2168 inline ::google::protobuf::uint64 update_timestamp()
const;
2169 inline void set_update_timestamp(::google::protobuf::uint64 value);
2172 inline bool has_catalog()
const;
2173 inline void clear_catalog();
2174 static const int kCatalogFieldNumber = 13;
2175 inline const ::std::string& catalog()
const;
2176 inline void set_catalog(const ::std::string& value);
2177 inline void set_catalog(
const char* value);
2178 inline void set_catalog(
const char* value,
size_t size);
2179 inline ::std::string* mutable_catalog();
2180 inline ::std::string* release_catalog();
2183 inline bool has_uuid()
const;
2184 inline void clear_uuid();
2185 static const int kUuidFieldNumber = 14;
2186 inline const ::std::string& uuid()
const;
2187 inline void set_uuid(const ::std::string& value);
2188 inline void set_uuid(
const char* value);
2189 inline void set_uuid(
const char* value,
size_t size);
2190 inline ::std::string* mutable_uuid();
2191 inline ::std::string* release_uuid();
2194 inline bool has_version()
const;
2195 inline void clear_version();
2196 static const int kVersionFieldNumber = 15;
2197 inline ::google::protobuf::uint64 version()
const;
2198 inline void set_version(::google::protobuf::uint64 value);
2201 inline bool has_replication_options()
const;
2202 inline void clear_replication_options();
2203 static const int kReplicationOptionsFieldNumber = 16;
2204 inline const ::drizzled::message::ReplicationOptions& replication_options()
const;
2205 inline ::drizzled::message::ReplicationOptions* mutable_replication_options();
2206 inline ::drizzled::message::ReplicationOptions* release_replication_options();
2209 inline bool has_access()
const;
2210 inline void clear_access();
2211 static const int kAccessFieldNumber = 17;
2212 inline const ::drizzled::message::Access& access()
const;
2213 inline ::drizzled::message::Access* mutable_access();
2214 inline ::drizzled::message::Access* release_access();
2218 inline void set_has_name();
2219 inline void clear_has_name();
2220 inline void set_has_schema();
2221 inline void clear_has_schema();
2222 inline void set_has_type();
2223 inline void clear_has_type();
2224 inline void set_has_engine();
2225 inline void clear_has_engine();
2226 inline void set_has_options();
2227 inline void clear_has_options();
2228 inline void set_has_creation_timestamp();
2229 inline void clear_has_creation_timestamp();
2230 inline void set_has_update_timestamp();
2231 inline void clear_has_update_timestamp();
2232 inline void set_has_catalog();
2233 inline void clear_has_catalog();
2234 inline void set_has_uuid();
2235 inline void clear_has_uuid();
2236 inline void set_has_version();
2237 inline void clear_has_version();
2238 inline void set_has_replication_options();
2239 inline void clear_has_replication_options();
2240 inline void set_has_access();
2241 inline void clear_has_access();
2243 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2245 ::std::string* name_;
2246 ::std::string* schema_;
2248 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > field_;
2249 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index > indexes_;
2250 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint > fk_constraint_;
2252 ::google::protobuf::uint64 creation_timestamp_;
2253 ::google::protobuf::uint64 update_timestamp_;
2254 ::std::string* catalog_;
2255 ::std::string* uuid_;
2256 ::google::protobuf::uint64 version_;
2261 mutable int _cached_size_;
2262 ::google::protobuf::uint32 _has_bits_[(15 + 31) / 32];
2264 friend void protobuf_AddDesc_table_2eproto();
2265 friend void protobuf_AssignDesc_table_2eproto();
2266 friend void protobuf_ShutdownFile_table_2eproto();
2268 void InitAsDefaultInstance();
2269 static Table* default_instance_;
2285 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2286 return _unknown_fields_;
2289 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2290 return &_unknown_fields_;
2293 static const ::google::protobuf::Descriptor* descriptor();
2301 void CopyFrom(const ::google::protobuf::Message& from);
2302 void MergeFrom(const ::google::protobuf::Message& from);
2306 bool IsInitialized()
const;
2308 int ByteSize()
const;
2309 bool MergePartialFromCodedStream(
2310 ::google::protobuf::io::CodedInputStream* input);
2311 void SerializeWithCachedSizes(
2312 ::google::protobuf::io::CodedOutputStream* output)
const;
2313 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
2314 int GetCachedSize()
const {
return _cached_size_; }
2318 void SetCachedSize(
int size)
const;
2321 ::google::protobuf::Metadata GetMetadata()
const;
2328 inline int added_field_size()
const;
2329 inline void clear_added_field();
2330 static const int kAddedFieldFieldNumber = 1;
2331 inline const ::drizzled::message::Table_Field& added_field(
int index)
const;
2332 inline ::drizzled::message::Table_Field* mutable_added_field(
int index);
2333 inline ::drizzled::message::Table_Field* add_added_field();
2334 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
2335 added_field()
const;
2336 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
2337 mutable_added_field();
2342 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2344 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > added_field_;
2346 mutable int _cached_size_;
2347 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
2349 friend void protobuf_AddDesc_table_2eproto();
2350 friend void protobuf_AssignDesc_table_2eproto();
2351 friend void protobuf_ShutdownFile_table_2eproto();
2353 void InitAsDefaultInstance();
2364 inline bool Table_TableOptions::has_has_user_set_auto_increment_value()
const {
2365 return (_has_bits_[0] & 0x00000001u) != 0;
2367 inline void Table_TableOptions::set_has_has_user_set_auto_increment_value() {
2368 _has_bits_[0] |= 0x00000001u;
2370 inline void Table_TableOptions::clear_has_has_user_set_auto_increment_value() {
2371 _has_bits_[0] &= ~0x00000001u;
2373 inline void Table_TableOptions::clear_has_user_set_auto_increment_value() {
2374 has_user_set_auto_increment_value_ =
false;
2375 clear_has_has_user_set_auto_increment_value();
2377 inline bool Table_TableOptions::has_user_set_auto_increment_value()
const {
2378 return has_user_set_auto_increment_value_;
2380 inline void Table_TableOptions::set_has_user_set_auto_increment_value(
bool value) {
2381 set_has_has_user_set_auto_increment_value();
2382 has_user_set_auto_increment_value_ = value;
2386 inline bool Table_TableOptions::has_collation()
const {
2387 return (_has_bits_[0] & 0x00000002u) != 0;
2389 inline void Table_TableOptions::set_has_collation() {
2390 _has_bits_[0] |= 0x00000002u;
2392 inline void Table_TableOptions::clear_has_collation() {
2393 _has_bits_[0] &= ~0x00000002u;
2395 inline void Table_TableOptions::clear_collation() {
2396 if (collation_ != &::google::protobuf::internal::kEmptyString) {
2397 collation_->clear();
2399 clear_has_collation();
2401 inline const ::std::string& Table_TableOptions::collation()
const {
2404 inline void Table_TableOptions::set_collation(const ::std::string& value) {
2405 set_has_collation();
2406 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2407 collation_ = new ::std::string;
2409 collation_->assign(value);
2411 inline void Table_TableOptions::set_collation(
const char* value) {
2412 set_has_collation();
2413 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2414 collation_ = new ::std::string;
2416 collation_->assign(value);
2418 inline void Table_TableOptions::set_collation(
const char* value,
size_t size) {
2419 set_has_collation();
2420 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2421 collation_ = new ::std::string;
2423 collation_->assign(reinterpret_cast<const char*>(value), size);
2425 inline ::std::string* Table_TableOptions::mutable_collation() {
2426 set_has_collation();
2427 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2428 collation_ = new ::std::string;
2432 inline ::std::string* Table_TableOptions::release_collation() {
2433 clear_has_collation();
2434 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2437 ::std::string* temp = collation_;
2438 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2444 inline bool Table_TableOptions::has_collation_id()
const {
2445 return (_has_bits_[0] & 0x00000004u) != 0;
2447 inline void Table_TableOptions::set_has_collation_id() {
2448 _has_bits_[0] |= 0x00000004u;
2450 inline void Table_TableOptions::clear_has_collation_id() {
2451 _has_bits_[0] &= ~0x00000004u;
2453 inline void Table_TableOptions::clear_collation_id() {
2455 clear_has_collation_id();
2457 inline ::google::protobuf::uint32 Table_TableOptions::collation_id()
const {
2458 return collation_id_;
2460 inline void Table_TableOptions::set_collation_id(::google::protobuf::uint32 value) {
2461 set_has_collation_id();
2462 collation_id_ = value;
2466 inline bool Table_TableOptions::has_data_file_name()
const {
2467 return (_has_bits_[0] & 0x00000008u) != 0;
2469 inline void Table_TableOptions::set_has_data_file_name() {
2470 _has_bits_[0] |= 0x00000008u;
2472 inline void Table_TableOptions::clear_has_data_file_name() {
2473 _has_bits_[0] &= ~0x00000008u;
2475 inline void Table_TableOptions::clear_data_file_name() {
2476 if (data_file_name_ != &::google::protobuf::internal::kEmptyString) {
2477 data_file_name_->clear();
2479 clear_has_data_file_name();
2481 inline const ::std::string& Table_TableOptions::data_file_name()
const {
2482 return *data_file_name_;
2484 inline void Table_TableOptions::set_data_file_name(const ::std::string& value) {
2485 set_has_data_file_name();
2486 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2487 data_file_name_ = new ::std::string;
2489 data_file_name_->assign(value);
2491 inline void Table_TableOptions::set_data_file_name(
const char* value) {
2492 set_has_data_file_name();
2493 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2494 data_file_name_ = new ::std::string;
2496 data_file_name_->assign(value);
2498 inline void Table_TableOptions::set_data_file_name(
const char* value,
size_t size) {
2499 set_has_data_file_name();
2500 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2501 data_file_name_ = new ::std::string;
2503 data_file_name_->assign(reinterpret_cast<const char*>(value), size);
2505 inline ::std::string* Table_TableOptions::mutable_data_file_name() {
2506 set_has_data_file_name();
2507 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2508 data_file_name_ = new ::std::string;
2510 return data_file_name_;
2512 inline ::std::string* Table_TableOptions::release_data_file_name() {
2513 clear_has_data_file_name();
2514 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2517 ::std::string* temp = data_file_name_;
2518 data_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2524 inline bool Table_TableOptions::has_index_file_name()
const {
2525 return (_has_bits_[0] & 0x00000010u) != 0;
2527 inline void Table_TableOptions::set_has_index_file_name() {
2528 _has_bits_[0] |= 0x00000010u;
2530 inline void Table_TableOptions::clear_has_index_file_name() {
2531 _has_bits_[0] &= ~0x00000010u;
2533 inline void Table_TableOptions::clear_index_file_name() {
2534 if (index_file_name_ != &::google::protobuf::internal::kEmptyString) {
2535 index_file_name_->clear();
2537 clear_has_index_file_name();
2539 inline const ::std::string& Table_TableOptions::index_file_name()
const {
2540 return *index_file_name_;
2542 inline void Table_TableOptions::set_index_file_name(const ::std::string& value) {
2543 set_has_index_file_name();
2544 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2545 index_file_name_ = new ::std::string;
2547 index_file_name_->assign(value);
2549 inline void Table_TableOptions::set_index_file_name(
const char* value) {
2550 set_has_index_file_name();
2551 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2552 index_file_name_ = new ::std::string;
2554 index_file_name_->assign(value);
2556 inline void Table_TableOptions::set_index_file_name(
const char* value,
size_t size) {
2557 set_has_index_file_name();
2558 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2559 index_file_name_ = new ::std::string;
2561 index_file_name_->assign(reinterpret_cast<const char*>(value), size);
2563 inline ::std::string* Table_TableOptions::mutable_index_file_name() {
2564 set_has_index_file_name();
2565 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2566 index_file_name_ = new ::std::string;
2568 return index_file_name_;
2570 inline ::std::string* Table_TableOptions::release_index_file_name() {
2571 clear_has_index_file_name();
2572 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2575 ::std::string* temp = index_file_name_;
2576 index_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2582 inline bool Table_TableOptions::has_max_rows()
const {
2583 return (_has_bits_[0] & 0x00000020u) != 0;
2585 inline void Table_TableOptions::set_has_max_rows() {
2586 _has_bits_[0] |= 0x00000020u;
2588 inline void Table_TableOptions::clear_has_max_rows() {
2589 _has_bits_[0] &= ~0x00000020u;
2591 inline void Table_TableOptions::clear_max_rows() {
2592 max_rows_ = GOOGLE_ULONGLONG(0);
2593 clear_has_max_rows();
2595 inline ::google::protobuf::uint64 Table_TableOptions::max_rows()
const {
2598 inline void Table_TableOptions::set_max_rows(::google::protobuf::uint64 value) {
2604 inline bool Table_TableOptions::has_min_rows()
const {
2605 return (_has_bits_[0] & 0x00000040u) != 0;
2607 inline void Table_TableOptions::set_has_min_rows() {
2608 _has_bits_[0] |= 0x00000040u;
2610 inline void Table_TableOptions::clear_has_min_rows() {
2611 _has_bits_[0] &= ~0x00000040u;
2613 inline void Table_TableOptions::clear_min_rows() {
2614 min_rows_ = GOOGLE_ULONGLONG(0);
2615 clear_has_min_rows();
2617 inline ::google::protobuf::uint64 Table_TableOptions::min_rows()
const {
2620 inline void Table_TableOptions::set_min_rows(::google::protobuf::uint64 value) {
2626 inline bool Table_TableOptions::has_auto_increment_value()
const {
2627 return (_has_bits_[0] & 0x00000080u) != 0;
2629 inline void Table_TableOptions::set_has_auto_increment_value() {
2630 _has_bits_[0] |= 0x00000080u;
2632 inline void Table_TableOptions::clear_has_auto_increment_value() {
2633 _has_bits_[0] &= ~0x00000080u;
2635 inline void Table_TableOptions::clear_auto_increment_value() {
2636 auto_increment_value_ = GOOGLE_ULONGLONG(0);
2637 clear_has_auto_increment_value();
2639 inline ::google::protobuf::uint64 Table_TableOptions::auto_increment_value()
const {
2640 return auto_increment_value_;
2642 inline void Table_TableOptions::set_auto_increment_value(::google::protobuf::uint64 value) {
2643 set_has_auto_increment_value();
2644 auto_increment_value_ = value;
2648 inline bool Table_TableOptions::has_avg_row_length()
const {
2649 return (_has_bits_[0] & 0x00000100u) != 0;
2651 inline void Table_TableOptions::set_has_avg_row_length() {
2652 _has_bits_[0] |= 0x00000100u;
2654 inline void Table_TableOptions::clear_has_avg_row_length() {
2655 _has_bits_[0] &= ~0x00000100u;
2657 inline void Table_TableOptions::clear_avg_row_length() {
2658 avg_row_length_ = 0u;
2659 clear_has_avg_row_length();
2661 inline ::google::protobuf::uint32 Table_TableOptions::avg_row_length()
const {
2662 return avg_row_length_;
2664 inline void Table_TableOptions::set_avg_row_length(::google::protobuf::uint32 value) {
2665 set_has_avg_row_length();
2666 avg_row_length_ = value;
2670 inline bool Table_TableOptions::has_block_size()
const {
2671 return (_has_bits_[0] & 0x00000200u) != 0;
2673 inline void Table_TableOptions::set_has_block_size() {
2674 _has_bits_[0] |= 0x00000200u;
2676 inline void Table_TableOptions::clear_has_block_size() {
2677 _has_bits_[0] &= ~0x00000200u;
2679 inline void Table_TableOptions::clear_block_size() {
2681 clear_has_block_size();
2683 inline ::google::protobuf::uint32 Table_TableOptions::block_size()
const {
2686 inline void Table_TableOptions::set_block_size(::google::protobuf::uint32 value) {
2687 set_has_block_size();
2688 block_size_ = value;
2692 inline bool Table_TableOptions::has_comment()
const {
2693 return (_has_bits_[0] & 0x00000400u) != 0;
2695 inline void Table_TableOptions::set_has_comment() {
2696 _has_bits_[0] |= 0x00000400u;
2698 inline void Table_TableOptions::clear_has_comment() {
2699 _has_bits_[0] &= ~0x00000400u;
2701 inline void Table_TableOptions::clear_comment() {
2702 if (comment_ != &::google::protobuf::internal::kEmptyString) {
2705 clear_has_comment();
2707 inline const ::std::string& Table_TableOptions::comment()
const {
2710 inline void Table_TableOptions::set_comment(const ::std::string& value) {
2712 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2713 comment_ = new ::std::string;
2715 comment_->assign(value);
2717 inline void Table_TableOptions::set_comment(
const char* value) {
2719 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2720 comment_ = new ::std::string;
2722 comment_->assign(value);
2724 inline void Table_TableOptions::set_comment(
const char* value,
size_t size) {
2726 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2727 comment_ = new ::std::string;
2729 comment_->assign(reinterpret_cast<const char*>(value), size);
2731 inline ::std::string* Table_TableOptions::mutable_comment() {
2733 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2734 comment_ = new ::std::string;
2738 inline ::std::string* Table_TableOptions::release_comment() {
2739 clear_has_comment();
2740 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2743 ::std::string* temp = comment_;
2744 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2750 inline bool Table_TableOptions::has_pack_record()
const {
2751 return (_has_bits_[0] & 0x00000800u) != 0;
2753 inline void Table_TableOptions::set_has_pack_record() {
2754 _has_bits_[0] |= 0x00000800u;
2756 inline void Table_TableOptions::clear_has_pack_record() {
2757 _has_bits_[0] &= ~0x00000800u;
2759 inline void Table_TableOptions::clear_pack_record() {
2760 pack_record_ =
false;
2761 clear_has_pack_record();
2763 inline bool Table_TableOptions::pack_record()
const {
2764 return pack_record_;
2766 inline void Table_TableOptions::set_pack_record(
bool value) {
2767 set_has_pack_record();
2768 pack_record_ = value;
2772 inline bool Table_TableOptions::has_checksum()
const {
2773 return (_has_bits_[0] & 0x00001000u) != 0;
2775 inline void Table_TableOptions::set_has_checksum() {
2776 _has_bits_[0] |= 0x00001000u;
2778 inline void Table_TableOptions::clear_has_checksum() {
2779 _has_bits_[0] &= ~0x00001000u;
2781 inline void Table_TableOptions::clear_checksum() {
2783 clear_has_checksum();
2785 inline bool Table_TableOptions::checksum()
const {
2788 inline void Table_TableOptions::set_checksum(
bool value) {
2794 inline bool Table_TableOptions::has_page_checksum()
const {
2795 return (_has_bits_[0] & 0x00002000u) != 0;
2797 inline void Table_TableOptions::set_has_page_checksum() {
2798 _has_bits_[0] |= 0x00002000u;
2800 inline void Table_TableOptions::clear_has_page_checksum() {
2801 _has_bits_[0] &= ~0x00002000u;
2803 inline void Table_TableOptions::clear_page_checksum() {
2804 page_checksum_ =
false;
2805 clear_has_page_checksum();
2807 inline bool Table_TableOptions::page_checksum()
const {
2808 return page_checksum_;
2810 inline void Table_TableOptions::set_page_checksum(
bool value) {
2811 set_has_page_checksum();
2812 page_checksum_ = value;
2816 inline bool Table_TableOptions::has_delay_key_write()
const {
2817 return (_has_bits_[0] & 0x00004000u) != 0;
2819 inline void Table_TableOptions::set_has_delay_key_write() {
2820 _has_bits_[0] |= 0x00004000u;
2822 inline void Table_TableOptions::clear_has_delay_key_write() {
2823 _has_bits_[0] &= ~0x00004000u;
2825 inline void Table_TableOptions::clear_delay_key_write() {
2826 delay_key_write_ =
false;
2827 clear_has_delay_key_write();
2829 inline bool Table_TableOptions::delay_key_write()
const {
2830 return delay_key_write_;
2832 inline void Table_TableOptions::set_delay_key_write(
bool value) {
2833 set_has_delay_key_write();
2834 delay_key_write_ = value;
2838 inline bool Table_TableOptions::has_unused()
const {
2839 return (_has_bits_[0] & 0x00008000u) != 0;
2841 inline void Table_TableOptions::set_has_unused() {
2842 _has_bits_[0] |= 0x00008000u;
2844 inline void Table_TableOptions::clear_has_unused() {
2845 _has_bits_[0] &= ~0x00008000u;
2847 inline void Table_TableOptions::clear_unused() {
2851 inline bool Table_TableOptions::unused()
const {
2854 inline void Table_TableOptions::set_unused(
bool value) {
2864 inline bool Table_ForeignKeyConstraint::has_name()
const {
2865 return (_has_bits_[0] & 0x00000001u) != 0;
2867 inline void Table_ForeignKeyConstraint::set_has_name() {
2868 _has_bits_[0] |= 0x00000001u;
2870 inline void Table_ForeignKeyConstraint::clear_has_name() {
2871 _has_bits_[0] &= ~0x00000001u;
2873 inline void Table_ForeignKeyConstraint::clear_name() {
2874 if (name_ != &::google::protobuf::internal::kEmptyString) {
2879 inline const ::std::string& Table_ForeignKeyConstraint::name()
const {
2882 inline void Table_ForeignKeyConstraint::set_name(const ::std::string& value) {
2884 if (name_ == &::google::protobuf::internal::kEmptyString) {
2885 name_ = new ::std::string;
2887 name_->assign(value);
2889 inline void Table_ForeignKeyConstraint::set_name(
const char* value) {
2891 if (name_ == &::google::protobuf::internal::kEmptyString) {
2892 name_ = new ::std::string;
2894 name_->assign(value);
2896 inline void Table_ForeignKeyConstraint::set_name(
const char* value,
size_t size) {
2898 if (name_ == &::google::protobuf::internal::kEmptyString) {
2899 name_ = new ::std::string;
2901 name_->assign(reinterpret_cast<const char*>(value), size);
2903 inline ::std::string* Table_ForeignKeyConstraint::mutable_name() {
2905 if (name_ == &::google::protobuf::internal::kEmptyString) {
2906 name_ = new ::std::string;
2910 inline ::std::string* Table_ForeignKeyConstraint::release_name() {
2912 if (name_ == &::google::protobuf::internal::kEmptyString) {
2915 ::std::string* temp = name_;
2916 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2922 inline int Table_ForeignKeyConstraint::column_names_size()
const {
2923 return column_names_.size();
2925 inline void Table_ForeignKeyConstraint::clear_column_names() {
2926 column_names_.Clear();
2928 inline const ::std::string& Table_ForeignKeyConstraint::column_names(
int index)
const {
2929 return column_names_.Get(index);
2931 inline ::std::string* Table_ForeignKeyConstraint::mutable_column_names(
int index) {
2932 return column_names_.Mutable(index);
2934 inline void Table_ForeignKeyConstraint::set_column_names(
int index, const ::std::string& value) {
2935 column_names_.Mutable(index)->assign(value);
2937 inline void Table_ForeignKeyConstraint::set_column_names(
int index,
const char* value) {
2938 column_names_.Mutable(index)->assign(value);
2940 inline void Table_ForeignKeyConstraint::set_column_names(
int index,
const char* value,
size_t size) {
2941 column_names_.Mutable(index)->assign(
2942 reinterpret_cast<const char*>(value), size);
2944 inline ::std::string* Table_ForeignKeyConstraint::add_column_names() {
2945 return column_names_.Add();
2947 inline void Table_ForeignKeyConstraint::add_column_names(const ::std::string& value) {
2948 column_names_.Add()->assign(value);
2950 inline void Table_ForeignKeyConstraint::add_column_names(
const char* value) {
2951 column_names_.Add()->assign(value);
2953 inline void Table_ForeignKeyConstraint::add_column_names(
const char* value,
size_t size) {
2954 column_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
2956 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2957 Table_ForeignKeyConstraint::column_names()
const {
2958 return column_names_;
2960 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2961 Table_ForeignKeyConstraint::mutable_column_names() {
2962 return &column_names_;
2966 inline bool Table_ForeignKeyConstraint::has_references_table_name()
const {
2967 return (_has_bits_[0] & 0x00000004u) != 0;
2969 inline void Table_ForeignKeyConstraint::set_has_references_table_name() {
2970 _has_bits_[0] |= 0x00000004u;
2972 inline void Table_ForeignKeyConstraint::clear_has_references_table_name() {
2973 _has_bits_[0] &= ~0x00000004u;
2975 inline void Table_ForeignKeyConstraint::clear_references_table_name() {
2976 if (references_table_name_ != &::google::protobuf::internal::kEmptyString) {
2977 references_table_name_->clear();
2979 clear_has_references_table_name();
2981 inline const ::std::string& Table_ForeignKeyConstraint::references_table_name()
const {
2982 return *references_table_name_;
2984 inline void Table_ForeignKeyConstraint::set_references_table_name(const ::std::string& value) {
2985 set_has_references_table_name();
2986 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
2987 references_table_name_ = new ::std::string;
2989 references_table_name_->assign(value);
2991 inline void Table_ForeignKeyConstraint::set_references_table_name(
const char* value) {
2992 set_has_references_table_name();
2993 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
2994 references_table_name_ = new ::std::string;
2996 references_table_name_->assign(value);
2998 inline void Table_ForeignKeyConstraint::set_references_table_name(
const char* value,
size_t size) {
2999 set_has_references_table_name();
3000 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3001 references_table_name_ = new ::std::string;
3003 references_table_name_->assign(reinterpret_cast<const char*>(value), size);
3005 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_table_name() {
3006 set_has_references_table_name();
3007 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3008 references_table_name_ = new ::std::string;
3010 return references_table_name_;
3012 inline ::std::string* Table_ForeignKeyConstraint::release_references_table_name() {
3013 clear_has_references_table_name();
3014 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3017 ::std::string* temp = references_table_name_;
3018 references_table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3024 inline int Table_ForeignKeyConstraint::references_columns_size()
const {
3025 return references_columns_.size();
3027 inline void Table_ForeignKeyConstraint::clear_references_columns() {
3028 references_columns_.Clear();
3030 inline const ::std::string& Table_ForeignKeyConstraint::references_columns(
int index)
const {
3031 return references_columns_.Get(index);
3033 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_columns(
int index) {
3034 return references_columns_.Mutable(index);
3036 inline void Table_ForeignKeyConstraint::set_references_columns(
int index, const ::std::string& value) {
3037 references_columns_.Mutable(index)->assign(value);
3039 inline void Table_ForeignKeyConstraint::set_references_columns(
int index,
const char* value) {
3040 references_columns_.Mutable(index)->assign(value);
3042 inline void Table_ForeignKeyConstraint::set_references_columns(
int index,
const char* value,
size_t size) {
3043 references_columns_.Mutable(index)->assign(
3044 reinterpret_cast<const char*>(value), size);
3046 inline ::std::string* Table_ForeignKeyConstraint::add_references_columns() {
3047 return references_columns_.Add();
3049 inline void Table_ForeignKeyConstraint::add_references_columns(const ::std::string& value) {
3050 references_columns_.Add()->assign(value);
3052 inline void Table_ForeignKeyConstraint::add_references_columns(
const char* value) {
3053 references_columns_.Add()->assign(value);
3055 inline void Table_ForeignKeyConstraint::add_references_columns(
const char* value,
size_t size) {
3056 references_columns_.Add()->assign(reinterpret_cast<const char*>(value), size);
3058 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3059 Table_ForeignKeyConstraint::references_columns()
const {
3060 return references_columns_;
3062 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3063 Table_ForeignKeyConstraint::mutable_references_columns() {
3064 return &references_columns_;
3068 inline bool Table_ForeignKeyConstraint::has_match()
const {
3069 return (_has_bits_[0] & 0x00000010u) != 0;
3071 inline void Table_ForeignKeyConstraint::set_has_match() {
3072 _has_bits_[0] |= 0x00000010u;
3074 inline void Table_ForeignKeyConstraint::clear_has_match() {
3075 _has_bits_[0] &= ~0x00000010u;
3077 inline void Table_ForeignKeyConstraint::clear_match() {
3081 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::match()
const {
3082 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption
>(match_);
3084 inline void Table_ForeignKeyConstraint::set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
3085 GOOGLE_DCHECK(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value));
3091 inline bool Table_ForeignKeyConstraint::has_update_option()
const {
3092 return (_has_bits_[0] & 0x00000020u) != 0;
3094 inline void Table_ForeignKeyConstraint::set_has_update_option() {
3095 _has_bits_[0] |= 0x00000020u;
3097 inline void Table_ForeignKeyConstraint::clear_has_update_option() {
3098 _has_bits_[0] &= ~0x00000020u;
3100 inline void Table_ForeignKeyConstraint::clear_update_option() {
3102 clear_has_update_option();
3104 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::update_option()
const {
3105 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption
>(update_option_);
3107 inline void Table_ForeignKeyConstraint::set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
3108 GOOGLE_DCHECK(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
3109 set_has_update_option();
3110 update_option_ = value;
3114 inline bool Table_ForeignKeyConstraint::has_delete_option()
const {
3115 return (_has_bits_[0] & 0x00000040u) != 0;
3117 inline void Table_ForeignKeyConstraint::set_has_delete_option() {
3118 _has_bits_[0] |= 0x00000040u;
3120 inline void Table_ForeignKeyConstraint::clear_has_delete_option() {
3121 _has_bits_[0] &= ~0x00000040u;
3123 inline void Table_ForeignKeyConstraint::clear_delete_option() {
3125 clear_has_delete_option();
3127 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::delete_option()
const {
3128 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption
>(delete_option_);
3130 inline void Table_ForeignKeyConstraint::set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
3131 GOOGLE_DCHECK(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
3132 set_has_delete_option();
3133 delete_option_ = value;
3141 inline bool Table_Field_FieldOptions::has_default_value()
const {
3142 return (_has_bits_[0] & 0x00000001u) != 0;
3144 inline void Table_Field_FieldOptions::set_has_default_value() {
3145 _has_bits_[0] |= 0x00000001u;
3147 inline void Table_Field_FieldOptions::clear_has_default_value() {
3148 _has_bits_[0] &= ~0x00000001u;
3150 inline void Table_Field_FieldOptions::clear_default_value() {
3151 if (default_value_ != &::google::protobuf::internal::kEmptyString) {
3152 default_value_->clear();
3154 clear_has_default_value();
3156 inline const ::std::string& Table_Field_FieldOptions::default_value()
const {
3157 return *default_value_;
3159 inline void Table_Field_FieldOptions::set_default_value(const ::std::string& value) {
3160 set_has_default_value();
3161 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3162 default_value_ = new ::std::string;
3164 default_value_->assign(value);
3166 inline void Table_Field_FieldOptions::set_default_value(
const char* value) {
3167 set_has_default_value();
3168 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3169 default_value_ = new ::std::string;
3171 default_value_->assign(value);
3173 inline void Table_Field_FieldOptions::set_default_value(
const char* value,
size_t size) {
3174 set_has_default_value();
3175 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3176 default_value_ = new ::std::string;
3178 default_value_->assign(reinterpret_cast<const char*>(value), size);
3180 inline ::std::string* Table_Field_FieldOptions::mutable_default_value() {
3181 set_has_default_value();
3182 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3183 default_value_ = new ::std::string;
3185 return default_value_;
3187 inline ::std::string* Table_Field_FieldOptions::release_default_value() {
3188 clear_has_default_value();
3189 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3192 ::std::string* temp = default_value_;
3193 default_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3199 inline bool Table_Field_FieldOptions::has_update_value()
const {
3200 return (_has_bits_[0] & 0x00000002u) != 0;
3202 inline void Table_Field_FieldOptions::set_has_update_value() {
3203 _has_bits_[0] |= 0x00000002u;
3205 inline void Table_Field_FieldOptions::clear_has_update_value() {
3206 _has_bits_[0] &= ~0x00000002u;
3208 inline void Table_Field_FieldOptions::clear_update_value() {
3209 if (update_value_ != &::google::protobuf::internal::kEmptyString) {
3210 update_value_->clear();
3212 clear_has_update_value();
3214 inline const ::std::string& Table_Field_FieldOptions::update_value()
const {
3215 return *update_value_;
3217 inline void Table_Field_FieldOptions::set_update_value(const ::std::string& value) {
3218 set_has_update_value();
3219 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3220 update_value_ = new ::std::string;
3222 update_value_->assign(value);
3224 inline void Table_Field_FieldOptions::set_update_value(
const char* value) {
3225 set_has_update_value();
3226 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3227 update_value_ = new ::std::string;
3229 update_value_->assign(value);
3231 inline void Table_Field_FieldOptions::set_update_value(
const char* value,
size_t size) {
3232 set_has_update_value();
3233 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3234 update_value_ = new ::std::string;
3236 update_value_->assign(reinterpret_cast<const char*>(value), size);
3238 inline ::std::string* Table_Field_FieldOptions::mutable_update_value() {
3239 set_has_update_value();
3240 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3241 update_value_ = new ::std::string;
3243 return update_value_;
3245 inline ::std::string* Table_Field_FieldOptions::release_update_value() {
3246 clear_has_update_value();
3247 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3250 ::std::string* temp = update_value_;
3251 update_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3257 inline bool Table_Field_FieldOptions::has_default_null()
const {
3258 return (_has_bits_[0] & 0x00000004u) != 0;
3260 inline void Table_Field_FieldOptions::set_has_default_null() {
3261 _has_bits_[0] |= 0x00000004u;
3263 inline void Table_Field_FieldOptions::clear_has_default_null() {
3264 _has_bits_[0] &= ~0x00000004u;
3266 inline void Table_Field_FieldOptions::clear_default_null() {
3267 default_null_ =
false;
3268 clear_has_default_null();
3270 inline bool Table_Field_FieldOptions::default_null()
const {
3271 return default_null_;
3273 inline void Table_Field_FieldOptions::set_default_null(
bool value) {
3274 set_has_default_null();
3275 default_null_ = value;
3279 inline bool Table_Field_FieldOptions::has_default_bin_value()
const {
3280 return (_has_bits_[0] & 0x00000008u) != 0;
3282 inline void Table_Field_FieldOptions::set_has_default_bin_value() {
3283 _has_bits_[0] |= 0x00000008u;
3285 inline void Table_Field_FieldOptions::clear_has_default_bin_value() {
3286 _has_bits_[0] &= ~0x00000008u;
3288 inline void Table_Field_FieldOptions::clear_default_bin_value() {
3289 if (default_bin_value_ != &::google::protobuf::internal::kEmptyString) {
3290 default_bin_value_->clear();
3292 clear_has_default_bin_value();
3294 inline const ::std::string& Table_Field_FieldOptions::default_bin_value()
const {
3295 return *default_bin_value_;
3297 inline void Table_Field_FieldOptions::set_default_bin_value(const ::std::string& value) {
3298 set_has_default_bin_value();
3299 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3300 default_bin_value_ = new ::std::string;
3302 default_bin_value_->assign(value);
3304 inline void Table_Field_FieldOptions::set_default_bin_value(
const char* value) {
3305 set_has_default_bin_value();
3306 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3307 default_bin_value_ = new ::std::string;
3309 default_bin_value_->assign(value);
3311 inline void Table_Field_FieldOptions::set_default_bin_value(
const void* value,
size_t size) {
3312 set_has_default_bin_value();
3313 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3314 default_bin_value_ = new ::std::string;
3316 default_bin_value_->assign(reinterpret_cast<const char*>(value), size);
3318 inline ::std::string* Table_Field_FieldOptions::mutable_default_bin_value() {
3319 set_has_default_bin_value();
3320 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3321 default_bin_value_ = new ::std::string;
3323 return default_bin_value_;
3325 inline ::std::string* Table_Field_FieldOptions::release_default_bin_value() {
3326 clear_has_default_bin_value();
3327 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3330 ::std::string* temp = default_bin_value_;
3331 default_bin_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3337 inline bool Table_Field_FieldOptions::has_default_expression()
const {
3338 return (_has_bits_[0] & 0x00000010u) != 0;
3340 inline void Table_Field_FieldOptions::set_has_default_expression() {
3341 _has_bits_[0] |= 0x00000010u;
3343 inline void Table_Field_FieldOptions::clear_has_default_expression() {
3344 _has_bits_[0] &= ~0x00000010u;
3346 inline void Table_Field_FieldOptions::clear_default_expression() {
3347 if (default_expression_ != &::google::protobuf::internal::kEmptyString) {
3348 default_expression_->clear();
3350 clear_has_default_expression();
3352 inline const ::std::string& Table_Field_FieldOptions::default_expression()
const {
3353 return *default_expression_;
3355 inline void Table_Field_FieldOptions::set_default_expression(const ::std::string& value) {
3356 set_has_default_expression();
3357 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3358 default_expression_ = new ::std::string;
3360 default_expression_->assign(value);
3362 inline void Table_Field_FieldOptions::set_default_expression(
const char* value) {
3363 set_has_default_expression();
3364 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3365 default_expression_ = new ::std::string;
3367 default_expression_->assign(value);
3369 inline void Table_Field_FieldOptions::set_default_expression(
const char* value,
size_t size) {
3370 set_has_default_expression();
3371 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3372 default_expression_ = new ::std::string;
3374 default_expression_->assign(reinterpret_cast<const char*>(value), size);
3376 inline ::std::string* Table_Field_FieldOptions::mutable_default_expression() {
3377 set_has_default_expression();
3378 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3379 default_expression_ = new ::std::string;
3381 return default_expression_;
3383 inline ::std::string* Table_Field_FieldOptions::release_default_expression() {
3384 clear_has_default_expression();
3385 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3388 ::std::string* temp = default_expression_;
3389 default_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3395 inline bool Table_Field_FieldOptions::has_update_expression()
const {
3396 return (_has_bits_[0] & 0x00000020u) != 0;
3398 inline void Table_Field_FieldOptions::set_has_update_expression() {
3399 _has_bits_[0] |= 0x00000020u;
3401 inline void Table_Field_FieldOptions::clear_has_update_expression() {
3402 _has_bits_[0] &= ~0x00000020u;
3404 inline void Table_Field_FieldOptions::clear_update_expression() {
3405 if (update_expression_ != &::google::protobuf::internal::kEmptyString) {
3406 update_expression_->clear();
3408 clear_has_update_expression();
3410 inline const ::std::string& Table_Field_FieldOptions::update_expression()
const {
3411 return *update_expression_;
3413 inline void Table_Field_FieldOptions::set_update_expression(const ::std::string& value) {
3414 set_has_update_expression();
3415 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3416 update_expression_ = new ::std::string;
3418 update_expression_->assign(value);
3420 inline void Table_Field_FieldOptions::set_update_expression(
const char* value) {
3421 set_has_update_expression();
3422 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3423 update_expression_ = new ::std::string;
3425 update_expression_->assign(value);
3427 inline void Table_Field_FieldOptions::set_update_expression(
const char* value,
size_t size) {
3428 set_has_update_expression();
3429 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3430 update_expression_ = new ::std::string;
3432 update_expression_->assign(reinterpret_cast<const char*>(value), size);
3434 inline ::std::string* Table_Field_FieldOptions::mutable_update_expression() {
3435 set_has_update_expression();
3436 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3437 update_expression_ = new ::std::string;
3439 return update_expression_;
3441 inline ::std::string* Table_Field_FieldOptions::release_update_expression() {
3442 clear_has_update_expression();
3443 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3446 ::std::string* temp = update_expression_;
3447 update_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3457 inline bool Table_Field_FieldConstraints::has_is_nullable()
const {
3458 return (_has_bits_[0] & 0x00000001u) != 0;
3460 inline void Table_Field_FieldConstraints::set_has_is_nullable() {
3461 _has_bits_[0] |= 0x00000001u;
3463 inline void Table_Field_FieldConstraints::clear_has_is_nullable() {
3464 _has_bits_[0] &= ~0x00000001u;
3466 inline void Table_Field_FieldConstraints::clear_is_nullable() {
3467 is_nullable_ =
true;
3468 clear_has_is_nullable();
3470 inline bool Table_Field_FieldConstraints::is_nullable()
const {
3471 return is_nullable_;
3473 inline void Table_Field_FieldConstraints::set_is_nullable(
bool value) {
3474 set_has_is_nullable();
3475 is_nullable_ = value;
3479 inline bool Table_Field_FieldConstraints::has_is_unsigned()
const {
3480 return (_has_bits_[0] & 0x00000002u) != 0;
3482 inline void Table_Field_FieldConstraints::set_has_is_unsigned() {
3483 _has_bits_[0] |= 0x00000002u;
3485 inline void Table_Field_FieldConstraints::clear_has_is_unsigned() {
3486 _has_bits_[0] &= ~0x00000002u;
3488 inline void Table_Field_FieldConstraints::clear_is_unsigned() {
3489 is_unsigned_ =
false;
3490 clear_has_is_unsigned();
3492 inline bool Table_Field_FieldConstraints::is_unsigned()
const {
3493 return is_unsigned_;
3495 inline void Table_Field_FieldConstraints::set_is_unsigned(
bool value) {
3496 set_has_is_unsigned();
3497 is_unsigned_ = value;
3501 inline bool Table_Field_FieldConstraints::has_is_notnull()
const {
3502 return (_has_bits_[0] & 0x00000004u) != 0;
3504 inline void Table_Field_FieldConstraints::set_has_is_notnull() {
3505 _has_bits_[0] |= 0x00000004u;
3507 inline void Table_Field_FieldConstraints::clear_has_is_notnull() {
3508 _has_bits_[0] &= ~0x00000004u;
3510 inline void Table_Field_FieldConstraints::clear_is_notnull() {
3511 is_notnull_ =
false;
3512 clear_has_is_notnull();
3514 inline bool Table_Field_FieldConstraints::is_notnull()
const {
3517 inline void Table_Field_FieldConstraints::set_is_notnull(
bool value) {
3518 set_has_is_notnull();
3519 is_notnull_ = value;
3523 inline bool Table_Field_FieldConstraints::has_is_unique()
const {
3524 return (_has_bits_[0] & 0x00000008u) != 0;
3526 inline void Table_Field_FieldConstraints::set_has_is_unique() {
3527 _has_bits_[0] |= 0x00000008u;
3529 inline void Table_Field_FieldConstraints::clear_has_is_unique() {
3530 _has_bits_[0] &= ~0x00000008u;
3532 inline void Table_Field_FieldConstraints::clear_is_unique() {
3534 clear_has_is_unique();
3536 inline bool Table_Field_FieldConstraints::is_unique()
const {
3539 inline void Table_Field_FieldConstraints::set_is_unique(
bool value) {
3540 set_has_is_unique();
3545 inline int Table_Field_FieldConstraints::expression_size()
const {
3546 return expression_.size();
3548 inline void Table_Field_FieldConstraints::clear_expression() {
3549 expression_.Clear();
3551 inline const ::std::string& Table_Field_FieldConstraints::expression(
int index)
const {
3552 return expression_.Get(index);
3554 inline ::std::string* Table_Field_FieldConstraints::mutable_expression(
int index) {
3555 return expression_.Mutable(index);
3557 inline void Table_Field_FieldConstraints::set_expression(
int index, const ::std::string& value) {
3558 expression_.Mutable(index)->assign(value);
3560 inline void Table_Field_FieldConstraints::set_expression(
int index,
const char* value) {
3561 expression_.Mutable(index)->assign(value);
3563 inline void Table_Field_FieldConstraints::set_expression(
int index,
const char* value,
size_t size) {
3564 expression_.Mutable(index)->assign(
3565 reinterpret_cast<const char*>(value), size);
3567 inline ::std::string* Table_Field_FieldConstraints::add_expression() {
3568 return expression_.Add();
3570 inline void Table_Field_FieldConstraints::add_expression(const ::std::string& value) {
3571 expression_.Add()->assign(value);
3573 inline void Table_Field_FieldConstraints::add_expression(
const char* value) {
3574 expression_.Add()->assign(value);
3576 inline void Table_Field_FieldConstraints::add_expression(
const char* value,
size_t size) {
3577 expression_.Add()->assign(reinterpret_cast<const char*>(value), size);
3579 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3580 Table_Field_FieldConstraints::expression()
const {
3583 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3584 Table_Field_FieldConstraints::mutable_expression() {
3585 return &expression_;
3593 inline bool Table_Field_NumericFieldOptions::has_is_autoincrement()
const {
3594 return (_has_bits_[0] & 0x00000001u) != 0;
3596 inline void Table_Field_NumericFieldOptions::set_has_is_autoincrement() {
3597 _has_bits_[0] |= 0x00000001u;
3599 inline void Table_Field_NumericFieldOptions::clear_has_is_autoincrement() {
3600 _has_bits_[0] &= ~0x00000001u;
3602 inline void Table_Field_NumericFieldOptions::clear_is_autoincrement() {
3603 is_autoincrement_ =
false;
3604 clear_has_is_autoincrement();
3606 inline bool Table_Field_NumericFieldOptions::is_autoincrement()
const {
3607 return is_autoincrement_;
3609 inline void Table_Field_NumericFieldOptions::set_is_autoincrement(
bool value) {
3610 set_has_is_autoincrement();
3611 is_autoincrement_ = value;
3615 inline bool Table_Field_NumericFieldOptions::has_scale()
const {
3616 return (_has_bits_[0] & 0x00000002u) != 0;
3618 inline void Table_Field_NumericFieldOptions::set_has_scale() {
3619 _has_bits_[0] |= 0x00000002u;
3621 inline void Table_Field_NumericFieldOptions::clear_has_scale() {
3622 _has_bits_[0] &= ~0x00000002u;
3624 inline void Table_Field_NumericFieldOptions::clear_scale() {
3628 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::scale()
const {
3631 inline void Table_Field_NumericFieldOptions::set_scale(::google::protobuf::uint32 value) {
3637 inline bool Table_Field_NumericFieldOptions::has_precision()
const {
3638 return (_has_bits_[0] & 0x00000004u) != 0;
3640 inline void Table_Field_NumericFieldOptions::set_has_precision() {
3641 _has_bits_[0] |= 0x00000004u;
3643 inline void Table_Field_NumericFieldOptions::clear_has_precision() {
3644 _has_bits_[0] &= ~0x00000004u;
3646 inline void Table_Field_NumericFieldOptions::clear_precision() {
3648 clear_has_precision();
3650 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::precision()
const {
3653 inline void Table_Field_NumericFieldOptions::set_precision(::google::protobuf::uint32 value) {
3654 set_has_precision();
3663 inline bool Table_Field_StringFieldOptions::has_is_fixed_width()
const {
3664 return (_has_bits_[0] & 0x00000001u) != 0;
3666 inline void Table_Field_StringFieldOptions::set_has_is_fixed_width() {
3667 _has_bits_[0] |= 0x00000001u;
3669 inline void Table_Field_StringFieldOptions::clear_has_is_fixed_width() {
3670 _has_bits_[0] &= ~0x00000001u;
3672 inline void Table_Field_StringFieldOptions::clear_is_fixed_width() {
3673 is_fixed_width_ =
false;
3674 clear_has_is_fixed_width();
3676 inline bool Table_Field_StringFieldOptions::is_fixed_width()
const {
3677 return is_fixed_width_;
3679 inline void Table_Field_StringFieldOptions::set_is_fixed_width(
bool value) {
3680 set_has_is_fixed_width();
3681 is_fixed_width_ = value;
3685 inline bool Table_Field_StringFieldOptions::has_length()
const {
3686 return (_has_bits_[0] & 0x00000002u) != 0;
3688 inline void Table_Field_StringFieldOptions::set_has_length() {
3689 _has_bits_[0] |= 0x00000002u;
3691 inline void Table_Field_StringFieldOptions::clear_has_length() {
3692 _has_bits_[0] &= ~0x00000002u;
3694 inline void Table_Field_StringFieldOptions::clear_length() {
3698 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::length()
const {
3701 inline void Table_Field_StringFieldOptions::set_length(::google::protobuf::uint32 value) {
3707 inline bool Table_Field_StringFieldOptions::has_collation_id()
const {
3708 return (_has_bits_[0] & 0x00000004u) != 0;
3710 inline void Table_Field_StringFieldOptions::set_has_collation_id() {
3711 _has_bits_[0] |= 0x00000004u;
3713 inline void Table_Field_StringFieldOptions::clear_has_collation_id() {
3714 _has_bits_[0] &= ~0x00000004u;
3716 inline void Table_Field_StringFieldOptions::clear_collation_id() {
3718 clear_has_collation_id();
3720 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::collation_id()
const {
3721 return collation_id_;
3723 inline void Table_Field_StringFieldOptions::set_collation_id(::google::protobuf::uint32 value) {
3724 set_has_collation_id();
3725 collation_id_ = value;
3729 inline bool Table_Field_StringFieldOptions::has_collation()
const {
3730 return (_has_bits_[0] & 0x00000008u) != 0;
3732 inline void Table_Field_StringFieldOptions::set_has_collation() {
3733 _has_bits_[0] |= 0x00000008u;
3735 inline void Table_Field_StringFieldOptions::clear_has_collation() {
3736 _has_bits_[0] &= ~0x00000008u;
3738 inline void Table_Field_StringFieldOptions::clear_collation() {
3739 if (collation_ != &::google::protobuf::internal::kEmptyString) {
3740 collation_->clear();
3742 clear_has_collation();
3744 inline const ::std::string& Table_Field_StringFieldOptions::collation()
const {
3747 inline void Table_Field_StringFieldOptions::set_collation(const ::std::string& value) {
3748 set_has_collation();
3749 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3750 collation_ = new ::std::string;
3752 collation_->assign(value);
3754 inline void Table_Field_StringFieldOptions::set_collation(
const char* value) {
3755 set_has_collation();
3756 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3757 collation_ = new ::std::string;
3759 collation_->assign(value);
3761 inline void Table_Field_StringFieldOptions::set_collation(
const char* value,
size_t size) {
3762 set_has_collation();
3763 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3764 collation_ = new ::std::string;
3766 collation_->assign(reinterpret_cast<const char*>(value), size);
3768 inline ::std::string* Table_Field_StringFieldOptions::mutable_collation() {
3769 set_has_collation();
3770 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3771 collation_ = new ::std::string;
3775 inline ::std::string* Table_Field_StringFieldOptions::release_collation() {
3776 clear_has_collation();
3777 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3780 ::std::string* temp = collation_;
3781 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3791 inline bool Table_Field_EnumerationValues::has_collation_id()
const {
3792 return (_has_bits_[0] & 0x00000001u) != 0;
3794 inline void Table_Field_EnumerationValues::set_has_collation_id() {
3795 _has_bits_[0] |= 0x00000001u;
3797 inline void Table_Field_EnumerationValues::clear_has_collation_id() {
3798 _has_bits_[0] &= ~0x00000001u;
3800 inline void Table_Field_EnumerationValues::clear_collation_id() {
3802 clear_has_collation_id();
3804 inline ::google::protobuf::uint32 Table_Field_EnumerationValues::collation_id()
const {
3805 return collation_id_;
3807 inline void Table_Field_EnumerationValues::set_collation_id(::google::protobuf::uint32 value) {
3808 set_has_collation_id();
3809 collation_id_ = value;
3813 inline bool Table_Field_EnumerationValues::has_collation()
const {
3814 return (_has_bits_[0] & 0x00000002u) != 0;
3816 inline void Table_Field_EnumerationValues::set_has_collation() {
3817 _has_bits_[0] |= 0x00000002u;
3819 inline void Table_Field_EnumerationValues::clear_has_collation() {
3820 _has_bits_[0] &= ~0x00000002u;
3822 inline void Table_Field_EnumerationValues::clear_collation() {
3823 if (collation_ != &::google::protobuf::internal::kEmptyString) {
3824 collation_->clear();
3826 clear_has_collation();
3828 inline const ::std::string& Table_Field_EnumerationValues::collation()
const {
3831 inline void Table_Field_EnumerationValues::set_collation(const ::std::string& value) {
3832 set_has_collation();
3833 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3834 collation_ = new ::std::string;
3836 collation_->assign(value);
3838 inline void Table_Field_EnumerationValues::set_collation(
const char* value) {
3839 set_has_collation();
3840 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3841 collation_ = new ::std::string;
3843 collation_->assign(value);
3845 inline void Table_Field_EnumerationValues::set_collation(
const char* value,
size_t size) {
3846 set_has_collation();
3847 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3848 collation_ = new ::std::string;
3850 collation_->assign(reinterpret_cast<const char*>(value), size);
3852 inline ::std::string* Table_Field_EnumerationValues::mutable_collation() {
3853 set_has_collation();
3854 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3855 collation_ = new ::std::string;
3859 inline ::std::string* Table_Field_EnumerationValues::release_collation() {
3860 clear_has_collation();
3861 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3864 ::std::string* temp = collation_;
3865 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3871 inline int Table_Field_EnumerationValues::field_value_size()
const {
3872 return field_value_.size();
3874 inline void Table_Field_EnumerationValues::clear_field_value() {
3875 field_value_.Clear();
3877 inline const ::std::string& Table_Field_EnumerationValues::field_value(
int index)
const {
3878 return field_value_.Get(index);
3880 inline ::std::string* Table_Field_EnumerationValues::mutable_field_value(
int index) {
3881 return field_value_.Mutable(index);
3883 inline void Table_Field_EnumerationValues::set_field_value(
int index, const ::std::string& value) {
3884 field_value_.Mutable(index)->assign(value);
3886 inline void Table_Field_EnumerationValues::set_field_value(
int index,
const char* value) {
3887 field_value_.Mutable(index)->assign(value);
3889 inline void Table_Field_EnumerationValues::set_field_value(
int index,
const char* value,
size_t size) {
3890 field_value_.Mutable(index)->assign(
3891 reinterpret_cast<const char*>(value), size);
3893 inline ::std::string* Table_Field_EnumerationValues::add_field_value() {
3894 return field_value_.Add();
3896 inline void Table_Field_EnumerationValues::add_field_value(const ::std::string& value) {
3897 field_value_.Add()->assign(value);
3899 inline void Table_Field_EnumerationValues::add_field_value(
const char* value) {
3900 field_value_.Add()->assign(value);
3902 inline void Table_Field_EnumerationValues::add_field_value(
const char* value,
size_t size) {
3903 field_value_.Add()->assign(reinterpret_cast<const char*>(value), size);
3905 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3906 Table_Field_EnumerationValues::field_value()
const {
3907 return field_value_;
3909 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3910 Table_Field_EnumerationValues::mutable_field_value() {
3911 return &field_value_;
3919 inline bool Table_Field_TimeFieldOptions::has_microseconds()
const {
3920 return (_has_bits_[0] & 0x00000001u) != 0;
3922 inline void Table_Field_TimeFieldOptions::set_has_microseconds() {
3923 _has_bits_[0] |= 0x00000001u;
3925 inline void Table_Field_TimeFieldOptions::clear_has_microseconds() {
3926 _has_bits_[0] &= ~0x00000001u;
3928 inline void Table_Field_TimeFieldOptions::clear_microseconds() {
3929 microseconds_ =
false;
3930 clear_has_microseconds();
3932 inline bool Table_Field_TimeFieldOptions::microseconds()
const {
3933 return microseconds_;
3935 inline void Table_Field_TimeFieldOptions::set_microseconds(
bool value) {
3936 set_has_microseconds();
3937 microseconds_ = value;
3945 inline bool Table_Field::has_name()
const {
3946 return (_has_bits_[0] & 0x00000001u) != 0;
3948 inline void Table_Field::set_has_name() {
3949 _has_bits_[0] |= 0x00000001u;
3951 inline void Table_Field::clear_has_name() {
3952 _has_bits_[0] &= ~0x00000001u;
3954 inline void Table_Field::clear_name() {
3955 if (name_ != &::google::protobuf::internal::kEmptyString) {
3960 inline const ::std::string& Table_Field::name()
const {
3963 inline void Table_Field::set_name(const ::std::string& value) {
3965 if (name_ == &::google::protobuf::internal::kEmptyString) {
3966 name_ = new ::std::string;
3968 name_->assign(value);
3970 inline void Table_Field::set_name(
const char* value) {
3972 if (name_ == &::google::protobuf::internal::kEmptyString) {
3973 name_ = new ::std::string;
3975 name_->assign(value);
3977 inline void Table_Field::set_name(
const char* value,
size_t size) {
3979 if (name_ == &::google::protobuf::internal::kEmptyString) {
3980 name_ = new ::std::string;
3982 name_->assign(reinterpret_cast<const char*>(value), size);
3984 inline ::std::string* Table_Field::mutable_name() {
3986 if (name_ == &::google::protobuf::internal::kEmptyString) {
3987 name_ = new ::std::string;
3991 inline ::std::string* Table_Field::release_name() {
3993 if (name_ == &::google::protobuf::internal::kEmptyString) {
3996 ::std::string* temp = name_;
3997 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4003 inline bool Table_Field::has_type()
const {
4004 return (_has_bits_[0] & 0x00000002u) != 0;
4006 inline void Table_Field::set_has_type() {
4007 _has_bits_[0] |= 0x00000002u;
4009 inline void Table_Field::clear_has_type() {
4010 _has_bits_[0] &= ~0x00000002u;
4012 inline void Table_Field::clear_type() {
4016 inline ::drizzled::message::Table_Field_FieldType Table_Field::type()
const {
4017 return static_cast< ::drizzled::message::Table_Field_FieldType
>(type_);
4019 inline void Table_Field::set_type(::drizzled::message::Table_Field_FieldType value) {
4020 GOOGLE_DCHECK(::drizzled::message::Table_Field_FieldType_IsValid(value));
4026 inline bool Table_Field::has_options()
const {
4027 return (_has_bits_[0] & 0x00000004u) != 0;
4029 inline void Table_Field::set_has_options() {
4030 _has_bits_[0] |= 0x00000004u;
4032 inline void Table_Field::clear_has_options() {
4033 _has_bits_[0] &= ~0x00000004u;
4035 inline void Table_Field::clear_options() {
4036 if (options_ != NULL) options_->::drizzled::message::Table_Field_FieldOptions::Clear();
4037 clear_has_options();
4039 inline const ::drizzled::message::Table_Field_FieldOptions& Table_Field::options()
const {
4040 return options_ != NULL ? *options_ : *default_instance_->options_;
4042 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::mutable_options() {
4044 if (options_ == NULL) options_ = new ::drizzled::message::Table_Field_FieldOptions;
4047 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::release_options() {
4048 clear_has_options();
4055 inline bool Table_Field::has_constraints()
const {
4056 return (_has_bits_[0] & 0x00000008u) != 0;
4058 inline void Table_Field::set_has_constraints() {
4059 _has_bits_[0] |= 0x00000008u;
4061 inline void Table_Field::clear_has_constraints() {
4062 _has_bits_[0] &= ~0x00000008u;
4064 inline void Table_Field::clear_constraints() {
4065 if (constraints_ != NULL) constraints_->::drizzled::message::Table_Field_FieldConstraints::Clear();
4066 clear_has_constraints();
4068 inline const ::drizzled::message::Table_Field_FieldConstraints& Table_Field::constraints()
const {
4069 return constraints_ != NULL ? *constraints_ : *default_instance_->constraints_;
4071 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::mutable_constraints() {
4072 set_has_constraints();
4073 if (constraints_ == NULL) constraints_ = new ::drizzled::message::Table_Field_FieldConstraints;
4074 return constraints_;
4076 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::release_constraints() {
4077 clear_has_constraints();
4079 constraints_ = NULL;
4084 inline bool Table_Field::has_numeric_options()
const {
4085 return (_has_bits_[0] & 0x00000010u) != 0;
4087 inline void Table_Field::set_has_numeric_options() {
4088 _has_bits_[0] |= 0x00000010u;
4090 inline void Table_Field::clear_has_numeric_options() {
4091 _has_bits_[0] &= ~0x00000010u;
4093 inline void Table_Field::clear_numeric_options() {
4094 if (numeric_options_ != NULL) numeric_options_->::drizzled::message::Table_Field_NumericFieldOptions::Clear();
4095 clear_has_numeric_options();
4097 inline const ::drizzled::message::Table_Field_NumericFieldOptions& Table_Field::numeric_options()
const {
4098 return numeric_options_ != NULL ? *numeric_options_ : *default_instance_->numeric_options_;
4100 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::mutable_numeric_options() {
4101 set_has_numeric_options();
4102 if (numeric_options_ == NULL) numeric_options_ = new ::drizzled::message::Table_Field_NumericFieldOptions;
4103 return numeric_options_;
4105 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::release_numeric_options() {
4106 clear_has_numeric_options();
4108 numeric_options_ = NULL;
4113 inline bool Table_Field::has_string_options()
const {
4114 return (_has_bits_[0] & 0x00000020u) != 0;
4116 inline void Table_Field::set_has_string_options() {
4117 _has_bits_[0] |= 0x00000020u;
4119 inline void Table_Field::clear_has_string_options() {
4120 _has_bits_[0] &= ~0x00000020u;
4122 inline void Table_Field::clear_string_options() {
4123 if (string_options_ != NULL) string_options_->::drizzled::message::Table_Field_StringFieldOptions::Clear();
4124 clear_has_string_options();
4126 inline const ::drizzled::message::Table_Field_StringFieldOptions& Table_Field::string_options()
const {
4127 return string_options_ != NULL ? *string_options_ : *default_instance_->string_options_;
4129 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::mutable_string_options() {
4130 set_has_string_options();
4131 if (string_options_ == NULL) string_options_ = new ::drizzled::message::Table_Field_StringFieldOptions;
4132 return string_options_;
4134 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::release_string_options() {
4135 clear_has_string_options();
4137 string_options_ = NULL;
4142 inline bool Table_Field::has_time_options()
const {
4143 return (_has_bits_[0] & 0x00000040u) != 0;
4145 inline void Table_Field::set_has_time_options() {
4146 _has_bits_[0] |= 0x00000040u;
4148 inline void Table_Field::clear_has_time_options() {
4149 _has_bits_[0] &= ~0x00000040u;
4151 inline void Table_Field::clear_time_options() {
4152 if (time_options_ != NULL) time_options_->::drizzled::message::Table_Field_TimeFieldOptions::Clear();
4153 clear_has_time_options();
4155 inline const ::drizzled::message::Table_Field_TimeFieldOptions& Table_Field::time_options()
const {
4156 return time_options_ != NULL ? *time_options_ : *default_instance_->time_options_;
4158 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::mutable_time_options() {
4159 set_has_time_options();
4160 if (time_options_ == NULL) time_options_ = new ::drizzled::message::Table_Field_TimeFieldOptions;
4161 return time_options_;
4163 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::release_time_options() {
4164 clear_has_time_options();
4166 time_options_ = NULL;
4171 inline bool Table_Field::has_comment()
const {
4172 return (_has_bits_[0] & 0x00000080u) != 0;
4174 inline void Table_Field::set_has_comment() {
4175 _has_bits_[0] |= 0x00000080u;
4177 inline void Table_Field::clear_has_comment() {
4178 _has_bits_[0] &= ~0x00000080u;
4180 inline void Table_Field::clear_comment() {
4181 if (comment_ != &::google::protobuf::internal::kEmptyString) {
4184 clear_has_comment();
4186 inline const ::std::string& Table_Field::comment()
const {
4189 inline void Table_Field::set_comment(const ::std::string& value) {
4191 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4192 comment_ = new ::std::string;
4194 comment_->assign(value);
4196 inline void Table_Field::set_comment(
const char* value) {
4198 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4199 comment_ = new ::std::string;
4201 comment_->assign(value);
4203 inline void Table_Field::set_comment(
const char* value,
size_t size) {
4205 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4206 comment_ = new ::std::string;
4208 comment_->assign(reinterpret_cast<const char*>(value), size);
4210 inline ::std::string* Table_Field::mutable_comment() {
4212 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4213 comment_ = new ::std::string;
4217 inline ::std::string* Table_Field::release_comment() {
4218 clear_has_comment();
4219 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4222 ::std::string* temp = comment_;
4223 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4229 inline bool Table_Field::has_enumeration_values()
const {
4230 return (_has_bits_[0] & 0x00000100u) != 0;
4232 inline void Table_Field::set_has_enumeration_values() {
4233 _has_bits_[0] |= 0x00000100u;
4235 inline void Table_Field::clear_has_enumeration_values() {
4236 _has_bits_[0] &= ~0x00000100u;
4238 inline void Table_Field::clear_enumeration_values() {
4239 if (enumeration_values_ != NULL) enumeration_values_->::drizzled::message::Table_Field_EnumerationValues::Clear();
4240 clear_has_enumeration_values();
4242 inline const ::drizzled::message::Table_Field_EnumerationValues& Table_Field::enumeration_values()
const {
4243 return enumeration_values_ != NULL ? *enumeration_values_ : *default_instance_->enumeration_values_;
4245 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::mutable_enumeration_values() {
4246 set_has_enumeration_values();
4247 if (enumeration_values_ == NULL) enumeration_values_ = new ::drizzled::message::Table_Field_EnumerationValues;
4248 return enumeration_values_;
4250 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::release_enumeration_values() {
4251 clear_has_enumeration_values();
4253 enumeration_values_ = NULL;
4262 inline bool Table_Index_IndexPart::has_fieldnr()
const {
4263 return (_has_bits_[0] & 0x00000001u) != 0;
4265 inline void Table_Index_IndexPart::set_has_fieldnr() {
4266 _has_bits_[0] |= 0x00000001u;
4268 inline void Table_Index_IndexPart::clear_has_fieldnr() {
4269 _has_bits_[0] &= ~0x00000001u;
4271 inline void Table_Index_IndexPart::clear_fieldnr() {
4273 clear_has_fieldnr();
4275 inline ::google::protobuf::uint32 Table_Index_IndexPart::fieldnr()
const {
4278 inline void Table_Index_IndexPart::set_fieldnr(::google::protobuf::uint32 value) {
4284 inline bool Table_Index_IndexPart::has_compare_length()
const {
4285 return (_has_bits_[0] & 0x00000002u) != 0;
4287 inline void Table_Index_IndexPart::set_has_compare_length() {
4288 _has_bits_[0] |= 0x00000002u;
4290 inline void Table_Index_IndexPart::clear_has_compare_length() {
4291 _has_bits_[0] &= ~0x00000002u;
4293 inline void Table_Index_IndexPart::clear_compare_length() {
4294 compare_length_ = 0u;
4295 clear_has_compare_length();
4297 inline ::google::protobuf::uint32 Table_Index_IndexPart::compare_length()
const {
4298 return compare_length_;
4300 inline void Table_Index_IndexPart::set_compare_length(::google::protobuf::uint32 value) {
4301 set_has_compare_length();
4302 compare_length_ = value;
4306 inline bool Table_Index_IndexPart::has_in_reverse_order()
const {
4307 return (_has_bits_[0] & 0x00000004u) != 0;
4309 inline void Table_Index_IndexPart::set_has_in_reverse_order() {
4310 _has_bits_[0] |= 0x00000004u;
4312 inline void Table_Index_IndexPart::clear_has_in_reverse_order() {
4313 _has_bits_[0] &= ~0x00000004u;
4315 inline void Table_Index_IndexPart::clear_in_reverse_order() {
4316 in_reverse_order_ =
false;
4317 clear_has_in_reverse_order();
4319 inline bool Table_Index_IndexPart::in_reverse_order()
const {
4320 return in_reverse_order_;
4322 inline void Table_Index_IndexPart::set_in_reverse_order(
bool value) {
4323 set_has_in_reverse_order();
4324 in_reverse_order_ = value;
4332 inline bool Table_Index_Options::has_pack_key()
const {
4333 return (_has_bits_[0] & 0x00000001u) != 0;
4335 inline void Table_Index_Options::set_has_pack_key() {
4336 _has_bits_[0] |= 0x00000001u;
4338 inline void Table_Index_Options::clear_has_pack_key() {
4339 _has_bits_[0] &= ~0x00000001u;
4341 inline void Table_Index_Options::clear_pack_key() {
4343 clear_has_pack_key();
4345 inline bool Table_Index_Options::pack_key()
const {
4348 inline void Table_Index_Options::set_pack_key(
bool value) {
4354 inline bool Table_Index_Options::has_binary_pack_key()
const {
4355 return (_has_bits_[0] & 0x00000002u) != 0;
4357 inline void Table_Index_Options::set_has_binary_pack_key() {
4358 _has_bits_[0] |= 0x00000002u;
4360 inline void Table_Index_Options::clear_has_binary_pack_key() {
4361 _has_bits_[0] &= ~0x00000002u;
4363 inline void Table_Index_Options::clear_binary_pack_key() {
4364 binary_pack_key_ =
false;
4365 clear_has_binary_pack_key();
4367 inline bool Table_Index_Options::binary_pack_key()
const {
4368 return binary_pack_key_;
4370 inline void Table_Index_Options::set_binary_pack_key(
bool value) {
4371 set_has_binary_pack_key();
4372 binary_pack_key_ = value;
4376 inline bool Table_Index_Options::has_var_length_key()
const {
4377 return (_has_bits_[0] & 0x00000004u) != 0;
4379 inline void Table_Index_Options::set_has_var_length_key() {
4380 _has_bits_[0] |= 0x00000004u;
4382 inline void Table_Index_Options::clear_has_var_length_key() {
4383 _has_bits_[0] &= ~0x00000004u;
4385 inline void Table_Index_Options::clear_var_length_key() {
4386 var_length_key_ =
false;
4387 clear_has_var_length_key();
4389 inline bool Table_Index_Options::var_length_key()
const {
4390 return var_length_key_;
4392 inline void Table_Index_Options::set_var_length_key(
bool value) {
4393 set_has_var_length_key();
4394 var_length_key_ = value;
4398 inline bool Table_Index_Options::has_null_part_key()
const {
4399 return (_has_bits_[0] & 0x00000008u) != 0;
4401 inline void Table_Index_Options::set_has_null_part_key() {
4402 _has_bits_[0] |= 0x00000008u;
4404 inline void Table_Index_Options::clear_has_null_part_key() {
4405 _has_bits_[0] &= ~0x00000008u;
4407 inline void Table_Index_Options::clear_null_part_key() {
4408 null_part_key_ =
false;
4409 clear_has_null_part_key();
4411 inline bool Table_Index_Options::null_part_key()
const {
4412 return null_part_key_;
4414 inline void Table_Index_Options::set_null_part_key(
bool value) {
4415 set_has_null_part_key();
4416 null_part_key_ = value;
4420 inline bool Table_Index_Options::has_key_block_size()
const {
4421 return (_has_bits_[0] & 0x00000010u) != 0;
4423 inline void Table_Index_Options::set_has_key_block_size() {
4424 _has_bits_[0] |= 0x00000010u;
4426 inline void Table_Index_Options::clear_has_key_block_size() {
4427 _has_bits_[0] &= ~0x00000010u;
4429 inline void Table_Index_Options::clear_key_block_size() {
4430 key_block_size_ = 0u;
4431 clear_has_key_block_size();
4433 inline ::google::protobuf::uint32 Table_Index_Options::key_block_size()
const {
4434 return key_block_size_;
4436 inline void Table_Index_Options::set_key_block_size(::google::protobuf::uint32 value) {
4437 set_has_key_block_size();
4438 key_block_size_ = value;
4442 inline bool Table_Index_Options::has_has_partial_segments()
const {
4443 return (_has_bits_[0] & 0x00000020u) != 0;
4445 inline void Table_Index_Options::set_has_has_partial_segments() {
4446 _has_bits_[0] |= 0x00000020u;
4448 inline void Table_Index_Options::clear_has_has_partial_segments() {
4449 _has_bits_[0] &= ~0x00000020u;
4451 inline void Table_Index_Options::clear_has_partial_segments() {
4452 has_partial_segments_ =
false;
4453 clear_has_has_partial_segments();
4455 inline bool Table_Index_Options::has_partial_segments()
const {
4456 return has_partial_segments_;
4458 inline void Table_Index_Options::set_has_partial_segments(
bool value) {
4459 set_has_has_partial_segments();
4460 has_partial_segments_ = value;
4464 inline bool Table_Index_Options::has_auto_generated_key()
const {
4465 return (_has_bits_[0] & 0x00000040u) != 0;
4467 inline void Table_Index_Options::set_has_auto_generated_key() {
4468 _has_bits_[0] |= 0x00000040u;
4470 inline void Table_Index_Options::clear_has_auto_generated_key() {
4471 _has_bits_[0] &= ~0x00000040u;
4473 inline void Table_Index_Options::clear_auto_generated_key() {
4474 auto_generated_key_ =
false;
4475 clear_has_auto_generated_key();
4477 inline bool Table_Index_Options::auto_generated_key()
const {
4478 return auto_generated_key_;
4480 inline void Table_Index_Options::set_auto_generated_key(
bool value) {
4481 set_has_auto_generated_key();
4482 auto_generated_key_ = value;
4490 inline bool Table_Index::has_name()
const {
4491 return (_has_bits_[0] & 0x00000001u) != 0;
4493 inline void Table_Index::set_has_name() {
4494 _has_bits_[0] |= 0x00000001u;
4496 inline void Table_Index::clear_has_name() {
4497 _has_bits_[0] &= ~0x00000001u;
4499 inline void Table_Index::clear_name() {
4500 if (name_ != &::google::protobuf::internal::kEmptyString) {
4505 inline const ::std::string& Table_Index::name()
const {
4508 inline void Table_Index::set_name(const ::std::string& value) {
4510 if (name_ == &::google::protobuf::internal::kEmptyString) {
4511 name_ = new ::std::string;
4513 name_->assign(value);
4515 inline void Table_Index::set_name(
const char* value) {
4517 if (name_ == &::google::protobuf::internal::kEmptyString) {
4518 name_ = new ::std::string;
4520 name_->assign(value);
4522 inline void Table_Index::set_name(
const char* value,
size_t size) {
4524 if (name_ == &::google::protobuf::internal::kEmptyString) {
4525 name_ = new ::std::string;
4527 name_->assign(reinterpret_cast<const char*>(value), size);
4529 inline ::std::string* Table_Index::mutable_name() {
4531 if (name_ == &::google::protobuf::internal::kEmptyString) {
4532 name_ = new ::std::string;
4536 inline ::std::string* Table_Index::release_name() {
4538 if (name_ == &::google::protobuf::internal::kEmptyString) {
4541 ::std::string* temp = name_;
4542 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4548 inline bool Table_Index::has_is_primary()
const {
4549 return (_has_bits_[0] & 0x00000002u) != 0;
4551 inline void Table_Index::set_has_is_primary() {
4552 _has_bits_[0] |= 0x00000002u;
4554 inline void Table_Index::clear_has_is_primary() {
4555 _has_bits_[0] &= ~0x00000002u;
4557 inline void Table_Index::clear_is_primary() {
4558 is_primary_ =
false;
4559 clear_has_is_primary();
4561 inline bool Table_Index::is_primary()
const {
4564 inline void Table_Index::set_is_primary(
bool value) {
4565 set_has_is_primary();
4566 is_primary_ = value;
4570 inline bool Table_Index::has_is_unique()
const {
4571 return (_has_bits_[0] & 0x00000004u) != 0;
4573 inline void Table_Index::set_has_is_unique() {
4574 _has_bits_[0] |= 0x00000004u;
4576 inline void Table_Index::clear_has_is_unique() {
4577 _has_bits_[0] &= ~0x00000004u;
4579 inline void Table_Index::clear_is_unique() {
4581 clear_has_is_unique();
4583 inline bool Table_Index::is_unique()
const {
4586 inline void Table_Index::set_is_unique(
bool value) {
4587 set_has_is_unique();
4592 inline bool Table_Index::has_type()
const {
4593 return (_has_bits_[0] & 0x00000008u) != 0;
4595 inline void Table_Index::set_has_type() {
4596 _has_bits_[0] |= 0x00000008u;
4598 inline void Table_Index::clear_has_type() {
4599 _has_bits_[0] &= ~0x00000008u;
4601 inline void Table_Index::clear_type() {
4605 inline ::drizzled::message::Table_Index_IndexType Table_Index::type()
const {
4606 return static_cast< ::drizzled::message::Table_Index_IndexType
>(type_);
4608 inline void Table_Index::set_type(::drizzled::message::Table_Index_IndexType value) {
4609 GOOGLE_DCHECK(::drizzled::message::Table_Index_IndexType_IsValid(value));
4615 inline bool Table_Index::has_key_length()
const {
4616 return (_has_bits_[0] & 0x00000010u) != 0;
4618 inline void Table_Index::set_has_key_length() {
4619 _has_bits_[0] |= 0x00000010u;
4621 inline void Table_Index::clear_has_key_length() {
4622 _has_bits_[0] &= ~0x00000010u;
4624 inline void Table_Index::clear_key_length() {
4626 clear_has_key_length();
4628 inline ::google::protobuf::uint32 Table_Index::key_length()
const {
4631 inline void Table_Index::set_key_length(::google::protobuf::uint32 value) {
4632 set_has_key_length();
4633 key_length_ = value;
4637 inline int Table_Index::index_part_size()
const {
4638 return index_part_.size();
4640 inline void Table_Index::clear_index_part() {
4641 index_part_.Clear();
4643 inline const ::drizzled::message::Table_Index_IndexPart& Table_Index::index_part(
int index)
const {
4644 return index_part_.Get(index);
4646 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::mutable_index_part(
int index) {
4647 return index_part_.Mutable(index);
4649 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::add_index_part() {
4650 return index_part_.Add();
4652 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
4653 Table_Index::index_part()
const {
4656 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
4657 Table_Index::mutable_index_part() {
4658 return &index_part_;
4662 inline bool Table_Index::has_options()
const {
4663 return (_has_bits_[0] & 0x00000040u) != 0;
4665 inline void Table_Index::set_has_options() {
4666 _has_bits_[0] |= 0x00000040u;
4668 inline void Table_Index::clear_has_options() {
4669 _has_bits_[0] &= ~0x00000040u;
4671 inline void Table_Index::clear_options() {
4672 if (options_ != NULL) options_->::drizzled::message::Table_Index_Options::Clear();
4673 clear_has_options();
4675 inline const ::drizzled::message::Table_Index_Options& Table_Index::options()
const {
4676 return options_ != NULL ? *options_ : *default_instance_->options_;
4678 inline ::drizzled::message::Table_Index_Options* Table_Index::mutable_options() {
4680 if (options_ == NULL) options_ = new ::drizzled::message::Table_Index_Options;
4683 inline ::drizzled::message::Table_Index_Options* Table_Index::release_options() {
4684 clear_has_options();
4691 inline bool Table_Index::has_comment()
const {
4692 return (_has_bits_[0] & 0x00000080u) != 0;
4694 inline void Table_Index::set_has_comment() {
4695 _has_bits_[0] |= 0x00000080u;
4697 inline void Table_Index::clear_has_comment() {
4698 _has_bits_[0] &= ~0x00000080u;
4700 inline void Table_Index::clear_comment() {
4701 if (comment_ != &::google::protobuf::internal::kEmptyString) {
4704 clear_has_comment();
4706 inline const ::std::string& Table_Index::comment()
const {
4709 inline void Table_Index::set_comment(const ::std::string& value) {
4711 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4712 comment_ = new ::std::string;
4714 comment_->assign(value);
4716 inline void Table_Index::set_comment(
const char* value) {
4718 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4719 comment_ = new ::std::string;
4721 comment_->assign(value);
4723 inline void Table_Index::set_comment(
const char* value,
size_t size) {
4725 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4726 comment_ = new ::std::string;
4728 comment_->assign(reinterpret_cast<const char*>(value), size);
4730 inline ::std::string* Table_Index::mutable_comment() {
4732 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4733 comment_ = new ::std::string;
4737 inline ::std::string* Table_Index::release_comment() {
4738 clear_has_comment();
4739 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4742 ::std::string* temp = comment_;
4743 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4753 inline bool Table::has_name()
const {
4754 return (_has_bits_[0] & 0x00000001u) != 0;
4756 inline void Table::set_has_name() {
4757 _has_bits_[0] |= 0x00000001u;
4759 inline void Table::clear_has_name() {
4760 _has_bits_[0] &= ~0x00000001u;
4762 inline void Table::clear_name() {
4763 if (name_ != &::google::protobuf::internal::kEmptyString) {
4768 inline const ::std::string& Table::name()
const {
4771 inline void Table::set_name(const ::std::string& value) {
4773 if (name_ == &::google::protobuf::internal::kEmptyString) {
4774 name_ = new ::std::string;
4776 name_->assign(value);
4778 inline void Table::set_name(
const char* value) {
4780 if (name_ == &::google::protobuf::internal::kEmptyString) {
4781 name_ = new ::std::string;
4783 name_->assign(value);
4785 inline void Table::set_name(
const char* value,
size_t size) {
4787 if (name_ == &::google::protobuf::internal::kEmptyString) {
4788 name_ = new ::std::string;
4790 name_->assign(reinterpret_cast<const char*>(value), size);
4792 inline ::std::string* Table::mutable_name() {
4794 if (name_ == &::google::protobuf::internal::kEmptyString) {
4795 name_ = new ::std::string;
4799 inline ::std::string* Table::release_name() {
4801 if (name_ == &::google::protobuf::internal::kEmptyString) {
4804 ::std::string* temp = name_;
4805 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4811 inline bool Table::has_schema()
const {
4812 return (_has_bits_[0] & 0x00000002u) != 0;
4814 inline void Table::set_has_schema() {
4815 _has_bits_[0] |= 0x00000002u;
4817 inline void Table::clear_has_schema() {
4818 _has_bits_[0] &= ~0x00000002u;
4820 inline void Table::clear_schema() {
4821 if (schema_ != &::google::protobuf::internal::kEmptyString) {
4826 inline const ::std::string& Table::schema()
const {
4829 inline void Table::set_schema(const ::std::string& value) {
4831 if (schema_ == &::google::protobuf::internal::kEmptyString) {
4832 schema_ = new ::std::string;
4834 schema_->assign(value);
4836 inline void Table::set_schema(
const char* value) {
4838 if (schema_ == &::google::protobuf::internal::kEmptyString) {
4839 schema_ = new ::std::string;
4841 schema_->assign(value);
4843 inline void Table::set_schema(
const char* value,
size_t size) {
4845 if (schema_ == &::google::protobuf::internal::kEmptyString) {
4846 schema_ = new ::std::string;
4848 schema_->assign(reinterpret_cast<const char*>(value), size);
4850 inline ::std::string* Table::mutable_schema() {
4852 if (schema_ == &::google::protobuf::internal::kEmptyString) {
4853 schema_ = new ::std::string;
4857 inline ::std::string* Table::release_schema() {
4859 if (schema_ == &::google::protobuf::internal::kEmptyString) {
4862 ::std::string* temp = schema_;
4863 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4869 inline bool Table::has_type()
const {
4870 return (_has_bits_[0] & 0x00000004u) != 0;
4872 inline void Table::set_has_type() {
4873 _has_bits_[0] |= 0x00000004u;
4875 inline void Table::clear_has_type() {
4876 _has_bits_[0] &= ~0x00000004u;
4878 inline void Table::clear_type() {
4882 inline ::drizzled::message::Table_TableType Table::type()
const {
4883 return static_cast< ::drizzled::message::Table_TableType
>(type_);
4885 inline void Table::set_type(::drizzled::message::Table_TableType value) {
4886 GOOGLE_DCHECK(::drizzled::message::Table_TableType_IsValid(value));
4892 inline bool Table::has_engine()
const {
4893 return (_has_bits_[0] & 0x00000008u) != 0;
4895 inline void Table::set_has_engine() {
4896 _has_bits_[0] |= 0x00000008u;
4898 inline void Table::clear_has_engine() {
4899 _has_bits_[0] &= ~0x00000008u;
4901 inline void Table::clear_engine() {
4902 if (engine_ != NULL) engine_->::drizzled::message::Engine::Clear();
4905 inline const ::drizzled::message::Engine& Table::engine()
const {
4906 return engine_ != NULL ? *engine_ : *default_instance_->engine_;
4908 inline ::drizzled::message::Engine* Table::mutable_engine() {
4910 if (engine_ == NULL) engine_ = new ::drizzled::message::Engine;
4913 inline ::drizzled::message::Engine* Table::release_engine() {
4921 inline int Table::field_size()
const {
4922 return field_.size();
4924 inline void Table::clear_field() {
4927 inline const ::drizzled::message::Table_Field& Table::field(
int index)
const {
4928 return field_.Get(index);
4930 inline ::drizzled::message::Table_Field* Table::mutable_field(
int index) {
4931 return field_.Mutable(index);
4933 inline ::drizzled::message::Table_Field* Table::add_field() {
4934 return field_.Add();
4936 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
4937 Table::field()
const {
4940 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
4941 Table::mutable_field() {
4946 inline int Table::indexes_size()
const {
4947 return indexes_.size();
4949 inline void Table::clear_indexes() {
4952 inline const ::drizzled::message::Table_Index& Table::indexes(
int index)
const {
4953 return indexes_.Get(index);
4955 inline ::drizzled::message::Table_Index* Table::mutable_indexes(
int index) {
4956 return indexes_.Mutable(index);
4958 inline ::drizzled::message::Table_Index* Table::add_indexes() {
4959 return indexes_.Add();
4961 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
4962 Table::indexes()
const {
4965 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
4966 Table::mutable_indexes() {
4971 inline int Table::fk_constraint_size()
const {
4972 return fk_constraint_.size();
4974 inline void Table::clear_fk_constraint() {
4975 fk_constraint_.Clear();
4977 inline const ::drizzled::message::Table_ForeignKeyConstraint& Table::fk_constraint(
int index)
const {
4978 return fk_constraint_.Get(index);
4980 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::mutable_fk_constraint(
int index) {
4981 return fk_constraint_.Mutable(index);
4983 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::add_fk_constraint() {
4984 return fk_constraint_.Add();
4986 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
4987 Table::fk_constraint()
const {
4988 return fk_constraint_;
4990 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
4991 Table::mutable_fk_constraint() {
4992 return &fk_constraint_;
4996 inline bool Table::has_options()
const {
4997 return (_has_bits_[0] & 0x00000080u) != 0;
4999 inline void Table::set_has_options() {
5000 _has_bits_[0] |= 0x00000080u;
5002 inline void Table::clear_has_options() {
5003 _has_bits_[0] &= ~0x00000080u;
5005 inline void Table::clear_options() {
5006 if (options_ != NULL) options_->::drizzled::message::Table_TableOptions::Clear();
5007 clear_has_options();
5009 inline const ::drizzled::message::Table_TableOptions& Table::options()
const {
5010 return options_ != NULL ? *options_ : *default_instance_->options_;
5012 inline ::drizzled::message::Table_TableOptions* Table::mutable_options() {
5014 if (options_ == NULL) options_ = new ::drizzled::message::Table_TableOptions;
5017 inline ::drizzled::message::Table_TableOptions* Table::release_options() {
5018 clear_has_options();
5025 inline bool Table::has_creation_timestamp()
const {
5026 return (_has_bits_[0] & 0x00000100u) != 0;
5028 inline void Table::set_has_creation_timestamp() {
5029 _has_bits_[0] |= 0x00000100u;
5031 inline void Table::clear_has_creation_timestamp() {
5032 _has_bits_[0] &= ~0x00000100u;
5034 inline void Table::clear_creation_timestamp() {
5035 creation_timestamp_ = GOOGLE_ULONGLONG(0);
5036 clear_has_creation_timestamp();
5038 inline ::google::protobuf::uint64 Table::creation_timestamp()
const {
5039 return creation_timestamp_;
5041 inline void Table::set_creation_timestamp(::google::protobuf::uint64 value) {
5042 set_has_creation_timestamp();
5043 creation_timestamp_ = value;
5047 inline bool Table::has_update_timestamp()
const {
5048 return (_has_bits_[0] & 0x00000200u) != 0;
5050 inline void Table::set_has_update_timestamp() {
5051 _has_bits_[0] |= 0x00000200u;
5053 inline void Table::clear_has_update_timestamp() {
5054 _has_bits_[0] &= ~0x00000200u;
5056 inline void Table::clear_update_timestamp() {
5057 update_timestamp_ = GOOGLE_ULONGLONG(0);
5058 clear_has_update_timestamp();
5060 inline ::google::protobuf::uint64 Table::update_timestamp()
const {
5061 return update_timestamp_;
5063 inline void Table::set_update_timestamp(::google::protobuf::uint64 value) {
5064 set_has_update_timestamp();
5065 update_timestamp_ = value;
5069 inline bool Table::has_catalog()
const {
5070 return (_has_bits_[0] & 0x00000400u) != 0;
5072 inline void Table::set_has_catalog() {
5073 _has_bits_[0] |= 0x00000400u;
5075 inline void Table::clear_has_catalog() {
5076 _has_bits_[0] &= ~0x00000400u;
5078 inline void Table::clear_catalog() {
5079 if (catalog_ != &::google::protobuf::internal::kEmptyString) {
5082 clear_has_catalog();
5084 inline const ::std::string& Table::catalog()
const {
5087 inline void Table::set_catalog(const ::std::string& value) {
5089 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5090 catalog_ = new ::std::string;
5092 catalog_->assign(value);
5094 inline void Table::set_catalog(
const char* value) {
5096 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5097 catalog_ = new ::std::string;
5099 catalog_->assign(value);
5101 inline void Table::set_catalog(
const char* value,
size_t size) {
5103 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5104 catalog_ = new ::std::string;
5106 catalog_->assign(reinterpret_cast<const char*>(value), size);
5108 inline ::std::string* Table::mutable_catalog() {
5110 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5111 catalog_ = new ::std::string;
5115 inline ::std::string* Table::release_catalog() {
5116 clear_has_catalog();
5117 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5120 ::std::string* temp = catalog_;
5121 catalog_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5127 inline bool Table::has_uuid()
const {
5128 return (_has_bits_[0] & 0x00000800u) != 0;
5130 inline void Table::set_has_uuid() {
5131 _has_bits_[0] |= 0x00000800u;
5133 inline void Table::clear_has_uuid() {
5134 _has_bits_[0] &= ~0x00000800u;
5136 inline void Table::clear_uuid() {
5137 if (uuid_ != &::google::protobuf::internal::kEmptyString) {
5142 inline const ::std::string& Table::uuid()
const {
5145 inline void Table::set_uuid(const ::std::string& value) {
5147 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5148 uuid_ = new ::std::string;
5150 uuid_->assign(value);
5152 inline void Table::set_uuid(
const char* value) {
5154 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5155 uuid_ = new ::std::string;
5157 uuid_->assign(value);
5159 inline void Table::set_uuid(
const char* value,
size_t size) {
5161 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5162 uuid_ = new ::std::string;
5164 uuid_->assign(reinterpret_cast<const char*>(value), size);
5166 inline ::std::string* Table::mutable_uuid() {
5168 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5169 uuid_ = new ::std::string;
5173 inline ::std::string* Table::release_uuid() {
5175 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5178 ::std::string* temp = uuid_;
5179 uuid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5185 inline bool Table::has_version()
const {
5186 return (_has_bits_[0] & 0x00001000u) != 0;
5188 inline void Table::set_has_version() {
5189 _has_bits_[0] |= 0x00001000u;
5191 inline void Table::clear_has_version() {
5192 _has_bits_[0] &= ~0x00001000u;
5194 inline void Table::clear_version() {
5195 version_ = GOOGLE_ULONGLONG(0);
5196 clear_has_version();
5198 inline ::google::protobuf::uint64 Table::version()
const {
5201 inline void Table::set_version(::google::protobuf::uint64 value) {
5207 inline bool Table::has_replication_options()
const {
5208 return (_has_bits_[0] & 0x00002000u) != 0;
5210 inline void Table::set_has_replication_options() {
5211 _has_bits_[0] |= 0x00002000u;
5213 inline void Table::clear_has_replication_options() {
5214 _has_bits_[0] &= ~0x00002000u;
5216 inline void Table::clear_replication_options() {
5217 if (replication_options_ != NULL) replication_options_->::drizzled::message::ReplicationOptions::Clear();
5218 clear_has_replication_options();
5220 inline const ::drizzled::message::ReplicationOptions& Table::replication_options()
const {
5221 return replication_options_ != NULL ? *replication_options_ : *default_instance_->replication_options_;
5223 inline ::drizzled::message::ReplicationOptions* Table::mutable_replication_options() {
5224 set_has_replication_options();
5225 if (replication_options_ == NULL) replication_options_ = new ::drizzled::message::ReplicationOptions;
5226 return replication_options_;
5228 inline ::drizzled::message::ReplicationOptions* Table::release_replication_options() {
5229 clear_has_replication_options();
5231 replication_options_ = NULL;
5236 inline bool Table::has_access()
const {
5237 return (_has_bits_[0] & 0x00004000u) != 0;
5239 inline void Table::set_has_access() {
5240 _has_bits_[0] |= 0x00004000u;
5242 inline void Table::clear_has_access() {
5243 _has_bits_[0] &= ~0x00004000u;
5245 inline void Table::clear_access() {
5246 if (access_ != NULL) access_->::drizzled::message::Access::Clear();
5249 inline const ::drizzled::message::Access& Table::access()
const {
5250 return access_ != NULL ? *access_ : *default_instance_->access_;
5252 inline ::drizzled::message::Access* Table::mutable_access() {
5254 if (access_ == NULL) access_ = new ::drizzled::message::Access;
5257 inline ::drizzled::message::Access* Table::release_access() {
5269 inline int AddedFields::added_field_size()
const {
5270 return added_field_.size();
5272 inline void AddedFields::clear_added_field() {
5273 added_field_.Clear();
5275 inline const ::drizzled::message::Table_Field& AddedFields::added_field(
int index)
const {
5276 return added_field_.Get(index);
5278 inline ::drizzled::message::Table_Field* AddedFields::mutable_added_field(
int index) {
5279 return added_field_.Mutable(index);
5281 inline ::drizzled::message::Table_Field* AddedFields::add_added_field() {
5282 return added_field_.Add();
5284 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
5285 AddedFields::added_field()
const {
5286 return added_field_;
5288 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
5289 AddedFields::mutable_added_field() {
5290 return &added_field_;
5301 namespace protobuf {
5304 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption>() {
5305 return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
5308 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption>() {
5309 return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
5312 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Field_FieldType>() {
5313 return ::drizzled::message::Table_Field_FieldType_descriptor();
5316 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Index_IndexType>() {
5317 return ::drizzled::message::Table_Index_IndexType_descriptor();
5320 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_TableType>() {
5321 return ::drizzled::message::Table_TableType_descriptor();
5330 #endif // PROTOBUF_table_2eproto__INCLUDED