4 #ifndef PROTOBUF_table_2eproto__INCLUDED
5 #define PROTOBUF_table_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2005000
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 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 #include "engine.pb.h"
29 #include "access.pb.h"
30 #include "replication_options.pb.h"
37 void protobuf_AddDesc_table_2eproto();
38 void protobuf_AssignDesc_table_2eproto();
39 void protobuf_ShutdownFile_table_2eproto();
42 class Table_TableOptions;
43 class Table_ForeignKeyConstraint;
45 class Table_Field_FieldOptions;
46 class Table_Field_FieldConstraints;
47 class Table_Field_NumericFieldOptions;
48 class Table_Field_StringFieldOptions;
49 class Table_Field_EnumerationValues;
50 class Table_Field_TimeFieldOptions;
52 class Table_Index_IndexPart;
53 class Table_Index_Options;
56 enum Table_ForeignKeyConstraint_ForeignKeyMatchOption {
57 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED = 0,
58 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL = 1,
59 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL = 2,
60 Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE = 3
62 bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(
int value);
63 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
64 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
65 const int Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX + 1;
67 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
68 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
69 return ::google::protobuf::internal::NameOfEnum(
70 Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), value);
72 inline bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(
73 const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyMatchOption* value) {
74 return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyMatchOption>(
75 Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), name, value);
77 enum Table_ForeignKeyConstraint_ForeignKeyOption {
78 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF = 0,
79 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT = 1,
80 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE = 2,
81 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL = 3,
82 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION = 4,
83 Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT = 5
85 bool Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(
int value);
86 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
87 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
88 const int Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX + 1;
90 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
91 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyOption_Name(Table_ForeignKeyConstraint_ForeignKeyOption value) {
92 return ::google::protobuf::internal::NameOfEnum(
93 Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), value);
95 inline bool Table_ForeignKeyConstraint_ForeignKeyOption_Parse(
96 const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyOption* value) {
97 return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyOption>(
98 Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), name, value);
100 enum Table_Field_FieldType {
101 Table_Field_FieldType_DOUBLE = 0,
102 Table_Field_FieldType_VARCHAR = 1,
103 Table_Field_FieldType_BLOB = 2,
104 Table_Field_FieldType_ENUM = 3,
105 Table_Field_FieldType_INTEGER = 4,
106 Table_Field_FieldType_BIGINT = 5,
107 Table_Field_FieldType_DECIMAL = 6,
108 Table_Field_FieldType_DATE = 7,
109 Table_Field_FieldType_EPOCH = 9,
110 Table_Field_FieldType_DATETIME = 10,
111 Table_Field_FieldType_UUID = 11,
112 Table_Field_FieldType_TIME = 12,
113 Table_Field_FieldType_BOOLEAN = 13,
114 Table_Field_FieldType_IPV6 = 14
116 bool Table_Field_FieldType_IsValid(
int value);
117 const Table_Field_FieldType Table_Field_FieldType_FieldType_MIN = Table_Field_FieldType_DOUBLE;
118 const Table_Field_FieldType Table_Field_FieldType_FieldType_MAX = Table_Field_FieldType_IPV6;
119 const int Table_Field_FieldType_FieldType_ARRAYSIZE = Table_Field_FieldType_FieldType_MAX + 1;
121 const ::google::protobuf::EnumDescriptor* Table_Field_FieldType_descriptor();
122 inline const ::std::string& Table_Field_FieldType_Name(Table_Field_FieldType value) {
123 return ::google::protobuf::internal::NameOfEnum(
124 Table_Field_FieldType_descriptor(), value);
126 inline bool Table_Field_FieldType_Parse(
127 const ::std::string& name, Table_Field_FieldType* value) {
128 return ::google::protobuf::internal::ParseNamedEnum<Table_Field_FieldType>(
129 Table_Field_FieldType_descriptor(), name, value);
131 enum Table_Index_IndexType {
132 Table_Index_IndexType_UNKNOWN_INDEX = 0,
133 Table_Index_IndexType_BTREE = 1,
134 Table_Index_IndexType_RTREE = 2,
135 Table_Index_IndexType_HASH = 3,
136 Table_Index_IndexType_FULLTEXT = 4
138 bool Table_Index_IndexType_IsValid(
int value);
139 const Table_Index_IndexType Table_Index_IndexType_IndexType_MIN = Table_Index_IndexType_UNKNOWN_INDEX;
140 const Table_Index_IndexType Table_Index_IndexType_IndexType_MAX = Table_Index_IndexType_FULLTEXT;
141 const int Table_Index_IndexType_IndexType_ARRAYSIZE = Table_Index_IndexType_IndexType_MAX + 1;
143 const ::google::protobuf::EnumDescriptor* Table_Index_IndexType_descriptor();
144 inline const ::std::string& Table_Index_IndexType_Name(Table_Index_IndexType value) {
145 return ::google::protobuf::internal::NameOfEnum(
146 Table_Index_IndexType_descriptor(), value);
148 inline bool Table_Index_IndexType_Parse(
149 const ::std::string& name, Table_Index_IndexType* value) {
150 return ::google::protobuf::internal::ParseNamedEnum<Table_Index_IndexType>(
151 Table_Index_IndexType_descriptor(), name, value);
153 enum Table_TableType {
154 Table_TableType_STANDARD = 0,
155 Table_TableType_TEMPORARY = 1,
156 Table_TableType_INTERNAL = 2,
157 Table_TableType_FUNCTION = 3
159 bool Table_TableType_IsValid(
int value);
160 const Table_TableType Table_TableType_TableType_MIN = Table_TableType_STANDARD;
161 const Table_TableType Table_TableType_TableType_MAX = Table_TableType_FUNCTION;
162 const int Table_TableType_TableType_ARRAYSIZE = Table_TableType_TableType_MAX + 1;
164 const ::google::protobuf::EnumDescriptor* Table_TableType_descriptor();
165 inline const ::std::string& Table_TableType_Name(Table_TableType value) {
166 return ::google::protobuf::internal::NameOfEnum(
167 Table_TableType_descriptor(), value);
169 inline bool Table_TableType_Parse(
170 const ::std::string& name, Table_TableType* value) {
171 return ::google::protobuf::internal::ParseNamedEnum<Table_TableType>(
172 Table_TableType_descriptor(), name, value);
188 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
189 return _unknown_fields_;
192 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
193 return &_unknown_fields_;
196 static const ::google::protobuf::Descriptor* descriptor();
204 void CopyFrom(const ::google::protobuf::Message& from);
205 void MergeFrom(const ::google::protobuf::Message& from);
209 bool IsInitialized()
const;
211 int ByteSize()
const;
212 bool MergePartialFromCodedStream(
213 ::google::protobuf::io::CodedInputStream* input);
214 void SerializeWithCachedSizes(
215 ::google::protobuf::io::CodedOutputStream* output)
const;
216 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
217 int GetCachedSize()
const {
return _cached_size_; }
221 void SetCachedSize(
int size)
const;
224 ::google::protobuf::Metadata GetMetadata()
const;
231 inline bool has_has_user_set_auto_increment_value()
const;
232 inline void clear_has_user_set_auto_increment_value();
233 static const int kHasUserSetAutoIncrementValueFieldNumber = 1;
234 inline bool has_user_set_auto_increment_value()
const;
235 inline void set_has_user_set_auto_increment_value(
bool value);
238 inline bool has_collation()
const;
239 inline void clear_collation();
240 static const int kCollationFieldNumber = 2;
241 inline const ::std::string& collation()
const;
242 inline void set_collation(const ::std::string& value);
243 inline void set_collation(
const char* value);
244 inline void set_collation(
const char* value,
size_t size);
245 inline ::std::string* mutable_collation();
246 inline ::std::string* release_collation();
247 inline void set_allocated_collation(::std::string* collation);
250 inline bool has_collation_id()
const;
251 inline void clear_collation_id();
252 static const int kCollationIdFieldNumber = 3;
253 inline ::google::protobuf::uint32 collation_id()
const;
254 inline void set_collation_id(::google::protobuf::uint32 value);
257 inline bool has_data_file_name()
const;
258 inline void clear_data_file_name();
259 static const int kDataFileNameFieldNumber = 5;
260 inline const ::std::string& data_file_name()
const;
261 inline void set_data_file_name(const ::std::string& value);
262 inline void set_data_file_name(
const char* value);
263 inline void set_data_file_name(
const char* value,
size_t size);
264 inline ::std::string* mutable_data_file_name();
265 inline ::std::string* release_data_file_name();
266 inline void set_allocated_data_file_name(::std::string* data_file_name);
269 inline bool has_index_file_name()
const;
270 inline void clear_index_file_name();
271 static const int kIndexFileNameFieldNumber = 6;
272 inline const ::std::string& index_file_name()
const;
273 inline void set_index_file_name(const ::std::string& value);
274 inline void set_index_file_name(
const char* value);
275 inline void set_index_file_name(
const char* value,
size_t size);
276 inline ::std::string* mutable_index_file_name();
277 inline ::std::string* release_index_file_name();
278 inline void set_allocated_index_file_name(::std::string* index_file_name);
281 inline bool has_max_rows()
const;
282 inline void clear_max_rows();
283 static const int kMaxRowsFieldNumber = 7;
284 inline ::google::protobuf::uint64 max_rows()
const;
285 inline void set_max_rows(::google::protobuf::uint64 value);
288 inline bool has_min_rows()
const;
289 inline void clear_min_rows();
290 static const int kMinRowsFieldNumber = 8;
291 inline ::google::protobuf::uint64 min_rows()
const;
292 inline void set_min_rows(::google::protobuf::uint64 value);
295 inline bool has_auto_increment_value()
const;
296 inline void clear_auto_increment_value();
297 static const int kAutoIncrementValueFieldNumber = 9;
298 inline ::google::protobuf::uint64 auto_increment_value()
const;
299 inline void set_auto_increment_value(::google::protobuf::uint64 value);
302 inline bool has_avg_row_length()
const;
303 inline void clear_avg_row_length();
304 static const int kAvgRowLengthFieldNumber = 11;
305 inline ::google::protobuf::uint32 avg_row_length()
const;
306 inline void set_avg_row_length(::google::protobuf::uint32 value);
309 inline bool has_block_size()
const;
310 inline void clear_block_size();
311 static const int kBlockSizeFieldNumber = 13;
312 inline ::google::protobuf::uint32 block_size()
const;
313 inline void set_block_size(::google::protobuf::uint32 value);
316 inline bool has_comment()
const;
317 inline void clear_comment();
318 static const int kCommentFieldNumber = 14;
319 inline const ::std::string& comment()
const;
320 inline void set_comment(const ::std::string& value);
321 inline void set_comment(
const char* value);
322 inline void set_comment(
const char* value,
size_t size);
323 inline ::std::string* mutable_comment();
324 inline ::std::string* release_comment();
325 inline void set_allocated_comment(::std::string* comment);
328 inline bool has_pack_record()
const;
329 inline void clear_pack_record();
330 static const int kPackRecordFieldNumber = 16;
331 inline bool pack_record()
const;
332 inline void set_pack_record(
bool value);
335 inline bool has_checksum()
const;
336 inline void clear_checksum();
337 static const int kChecksumFieldNumber = 17;
338 inline bool checksum()
const;
339 inline void set_checksum(
bool value);
342 inline bool has_page_checksum()
const;
343 inline void clear_page_checksum();
344 static const int kPageChecksumFieldNumber = 18;
345 inline bool page_checksum()
const;
346 inline void set_page_checksum(
bool value);
349 inline bool has_delay_key_write()
const;
350 inline void clear_delay_key_write();
351 static const int kDelayKeyWriteFieldNumber = 19;
352 inline bool delay_key_write()
const;
353 inline void set_delay_key_write(
bool value);
356 inline bool has_unused()
const;
357 inline void clear_unused();
358 static const int kUnusedFieldNumber = 20;
359 inline bool unused()
const;
360 inline void set_unused(
bool value);
364 inline void set_has_has_user_set_auto_increment_value();
365 inline void clear_has_has_user_set_auto_increment_value();
366 inline void set_has_collation();
367 inline void clear_has_collation();
368 inline void set_has_collation_id();
369 inline void clear_has_collation_id();
370 inline void set_has_data_file_name();
371 inline void clear_has_data_file_name();
372 inline void set_has_index_file_name();
373 inline void clear_has_index_file_name();
374 inline void set_has_max_rows();
375 inline void clear_has_max_rows();
376 inline void set_has_min_rows();
377 inline void clear_has_min_rows();
378 inline void set_has_auto_increment_value();
379 inline void clear_has_auto_increment_value();
380 inline void set_has_avg_row_length();
381 inline void clear_has_avg_row_length();
382 inline void set_has_block_size();
383 inline void clear_has_block_size();
384 inline void set_has_comment();
385 inline void clear_has_comment();
386 inline void set_has_pack_record();
387 inline void clear_has_pack_record();
388 inline void set_has_checksum();
389 inline void clear_has_checksum();
390 inline void set_has_page_checksum();
391 inline void clear_has_page_checksum();
392 inline void set_has_delay_key_write();
393 inline void clear_has_delay_key_write();
394 inline void set_has_unused();
395 inline void clear_has_unused();
397 ::google::protobuf::UnknownFieldSet _unknown_fields_;
399 ::std::string* collation_;
400 ::std::string* data_file_name_;
401 ::std::string* index_file_name_;
402 ::google::protobuf::uint64 max_rows_;
403 ::google::protobuf::uint32 collation_id_;
404 ::google::protobuf::uint32 avg_row_length_;
405 ::google::protobuf::uint64 min_rows_;
406 ::google::protobuf::uint64 auto_increment_value_;
407 ::google::protobuf::uint32 block_size_;
408 bool has_user_set_auto_increment_value_;
412 ::std::string* comment_;
413 bool delay_key_write_;
416 mutable int _cached_size_;
417 ::google::protobuf::uint32 _has_bits_[(16 + 31) / 32];
419 friend void protobuf_AddDesc_table_2eproto();
420 friend void protobuf_AssignDesc_table_2eproto();
421 friend void protobuf_ShutdownFile_table_2eproto();
423 void InitAsDefaultInstance();
440 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
441 return _unknown_fields_;
444 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
445 return &_unknown_fields_;
448 static const ::google::protobuf::Descriptor* descriptor();
456 void CopyFrom(const ::google::protobuf::Message& from);
457 void MergeFrom(const ::google::protobuf::Message& from);
461 bool IsInitialized()
const;
463 int ByteSize()
const;
464 bool MergePartialFromCodedStream(
465 ::google::protobuf::io::CodedInputStream* input);
466 void SerializeWithCachedSizes(
467 ::google::protobuf::io::CodedOutputStream* output)
const;
468 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
469 int GetCachedSize()
const {
return _cached_size_; }
473 void SetCachedSize(
int size)
const;
476 ::google::protobuf::Metadata GetMetadata()
const;
480 typedef Table_ForeignKeyConstraint_ForeignKeyMatchOption ForeignKeyMatchOption;
481 static const ForeignKeyMatchOption MATCH_UNDEFINED = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
482 static const ForeignKeyMatchOption MATCH_FULL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL;
483 static const ForeignKeyMatchOption MATCH_PARTIAL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL;
484 static const ForeignKeyMatchOption MATCH_SIMPLE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
485 static inline bool ForeignKeyMatchOption_IsValid(
int value) {
486 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value);
488 static const ForeignKeyMatchOption ForeignKeyMatchOption_MIN =
489 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN;
490 static const ForeignKeyMatchOption ForeignKeyMatchOption_MAX =
491 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX;
492 static const int ForeignKeyMatchOption_ARRAYSIZE =
493 Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE;
494 static inline const ::google::protobuf::EnumDescriptor*
495 ForeignKeyMatchOption_descriptor() {
496 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
498 static inline const ::std::string& ForeignKeyMatchOption_Name(ForeignKeyMatchOption value) {
499 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(value);
501 static inline bool ForeignKeyMatchOption_Parse(const ::std::string& name,
502 ForeignKeyMatchOption* value) {
503 return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(name, value);
506 typedef Table_ForeignKeyConstraint_ForeignKeyOption ForeignKeyOption;
507 static const ForeignKeyOption OPTION_UNDEF = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
508 static const ForeignKeyOption OPTION_RESTRICT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT;
509 static const ForeignKeyOption OPTION_CASCADE = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE;
510 static const ForeignKeyOption OPTION_SET_NULL = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL;
511 static const ForeignKeyOption OPTION_NO_ACTION = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION;
512 static const ForeignKeyOption OPTION_SET_DEFAULT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
513 static inline bool ForeignKeyOption_IsValid(
int value) {
514 return Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value);
516 static const ForeignKeyOption ForeignKeyOption_MIN =
517 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN;
518 static const ForeignKeyOption ForeignKeyOption_MAX =
519 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX;
520 static const int ForeignKeyOption_ARRAYSIZE =
521 Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE;
522 static inline const ::google::protobuf::EnumDescriptor*
523 ForeignKeyOption_descriptor() {
524 return Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
526 static inline const ::std::string& ForeignKeyOption_Name(ForeignKeyOption value) {
527 return Table_ForeignKeyConstraint_ForeignKeyOption_Name(value);
529 static inline bool ForeignKeyOption_Parse(const ::std::string& name,
530 ForeignKeyOption* value) {
531 return Table_ForeignKeyConstraint_ForeignKeyOption_Parse(name, value);
537 inline bool has_name()
const;
538 inline void clear_name();
539 static const int kNameFieldNumber = 1;
540 inline const ::std::string& name()
const;
541 inline void set_name(const ::std::string& value);
542 inline void set_name(
const char* value);
543 inline void set_name(
const char* value,
size_t size);
544 inline ::std::string* mutable_name();
545 inline ::std::string* release_name();
546 inline void set_allocated_name(::std::string* name);
549 inline int column_names_size()
const;
550 inline void clear_column_names();
551 static const int kColumnNamesFieldNumber = 2;
552 inline const ::std::string& column_names(
int index)
const;
553 inline ::std::string* mutable_column_names(
int index);
554 inline void set_column_names(
int index, const ::std::string& value);
555 inline void set_column_names(
int index,
const char* value);
556 inline void set_column_names(
int index,
const char* value,
size_t size);
557 inline ::std::string* add_column_names();
558 inline void add_column_names(const ::std::string& value);
559 inline void add_column_names(
const char* value);
560 inline void add_column_names(
const char* value,
size_t size);
561 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& column_names()
const;
562 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_column_names();
565 inline bool has_references_table_name()
const;
566 inline void clear_references_table_name();
567 static const int kReferencesTableNameFieldNumber = 3;
568 inline const ::std::string& references_table_name()
const;
569 inline void set_references_table_name(const ::std::string& value);
570 inline void set_references_table_name(
const char* value);
571 inline void set_references_table_name(
const char* value,
size_t size);
572 inline ::std::string* mutable_references_table_name();
573 inline ::std::string* release_references_table_name();
574 inline void set_allocated_references_table_name(::std::string* references_table_name);
577 inline int references_columns_size()
const;
578 inline void clear_references_columns();
579 static const int kReferencesColumnsFieldNumber = 4;
580 inline const ::std::string& references_columns(
int index)
const;
581 inline ::std::string* mutable_references_columns(
int index);
582 inline void set_references_columns(
int index, const ::std::string& value);
583 inline void set_references_columns(
int index,
const char* value);
584 inline void set_references_columns(
int index,
const char* value,
size_t size);
585 inline ::std::string* add_references_columns();
586 inline void add_references_columns(const ::std::string& value);
587 inline void add_references_columns(
const char* value);
588 inline void add_references_columns(
const char* value,
size_t size);
589 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& references_columns()
const;
590 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_references_columns();
593 inline bool has_match()
const;
594 inline void clear_match();
595 static const int kMatchFieldNumber = 5;
596 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption match()
const;
597 inline void set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value);
600 inline bool has_update_option()
const;
601 inline void clear_update_option();
602 static const int kUpdateOptionFieldNumber = 6;
603 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption update_option()
const;
604 inline void set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
607 inline bool has_delete_option()
const;
608 inline void clear_delete_option();
609 static const int kDeleteOptionFieldNumber = 7;
610 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption delete_option()
const;
611 inline void set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
615 inline void set_has_name();
616 inline void clear_has_name();
617 inline void set_has_references_table_name();
618 inline void clear_has_references_table_name();
619 inline void set_has_match();
620 inline void clear_has_match();
621 inline void set_has_update_option();
622 inline void clear_has_update_option();
623 inline void set_has_delete_option();
624 inline void clear_has_delete_option();
626 ::google::protobuf::UnknownFieldSet _unknown_fields_;
628 ::std::string* name_;
629 ::google::protobuf::RepeatedPtrField< ::std::string> column_names_;
630 ::std::string* references_table_name_;
631 ::google::protobuf::RepeatedPtrField< ::std::string> references_columns_;
636 mutable int _cached_size_;
637 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
639 friend void protobuf_AddDesc_table_2eproto();
640 friend void protobuf_AssignDesc_table_2eproto();
641 friend void protobuf_ShutdownFile_table_2eproto();
643 void InitAsDefaultInstance();
660 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
661 return _unknown_fields_;
664 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
665 return &_unknown_fields_;
668 static const ::google::protobuf::Descriptor* descriptor();
676 void CopyFrom(const ::google::protobuf::Message& from);
677 void MergeFrom(const ::google::protobuf::Message& from);
681 bool IsInitialized()
const;
683 int ByteSize()
const;
684 bool MergePartialFromCodedStream(
685 ::google::protobuf::io::CodedInputStream* input);
686 void SerializeWithCachedSizes(
687 ::google::protobuf::io::CodedOutputStream* output)
const;
688 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
689 int GetCachedSize()
const {
return _cached_size_; }
693 void SetCachedSize(
int size)
const;
696 ::google::protobuf::Metadata GetMetadata()
const;
703 inline bool has_default_value()
const;
704 inline void clear_default_value();
705 static const int kDefaultValueFieldNumber = 1;
706 inline const ::std::string& default_value()
const;
707 inline void set_default_value(const ::std::string& value);
708 inline void set_default_value(
const char* value);
709 inline void set_default_value(
const char* value,
size_t size);
710 inline ::std::string* mutable_default_value();
711 inline ::std::string* release_default_value();
712 inline void set_allocated_default_value(::std::string* default_value);
715 inline bool has_update_value()
const;
716 inline void clear_update_value();
717 static const int kUpdateValueFieldNumber = 2;
718 inline const ::std::string& update_value()
const;
719 inline void set_update_value(const ::std::string& value);
720 inline void set_update_value(
const char* value);
721 inline void set_update_value(
const char* value,
size_t size);
722 inline ::std::string* mutable_update_value();
723 inline ::std::string* release_update_value();
724 inline void set_allocated_update_value(::std::string* update_value);
727 inline bool has_default_null()
const;
728 inline void clear_default_null();
729 static const int kDefaultNullFieldNumber = 3;
730 inline bool default_null()
const;
731 inline void set_default_null(
bool value);
734 inline bool has_default_bin_value()
const;
735 inline void clear_default_bin_value();
736 static const int kDefaultBinValueFieldNumber = 4;
737 inline const ::std::string& default_bin_value()
const;
738 inline void set_default_bin_value(const ::std::string& value);
739 inline void set_default_bin_value(
const char* value);
740 inline void set_default_bin_value(
const void* value,
size_t size);
741 inline ::std::string* mutable_default_bin_value();
742 inline ::std::string* release_default_bin_value();
743 inline void set_allocated_default_bin_value(::std::string* default_bin_value);
746 inline bool has_default_expression()
const;
747 inline void clear_default_expression();
748 static const int kDefaultExpressionFieldNumber = 5;
749 inline const ::std::string& default_expression()
const;
750 inline void set_default_expression(const ::std::string& value);
751 inline void set_default_expression(
const char* value);
752 inline void set_default_expression(
const char* value,
size_t size);
753 inline ::std::string* mutable_default_expression();
754 inline ::std::string* release_default_expression();
755 inline void set_allocated_default_expression(::std::string* default_expression);
758 inline bool has_update_expression()
const;
759 inline void clear_update_expression();
760 static const int kUpdateExpressionFieldNumber = 6;
761 inline const ::std::string& update_expression()
const;
762 inline void set_update_expression(const ::std::string& value);
763 inline void set_update_expression(
const char* value);
764 inline void set_update_expression(
const char* value,
size_t size);
765 inline ::std::string* mutable_update_expression();
766 inline ::std::string* release_update_expression();
767 inline void set_allocated_update_expression(::std::string* update_expression);
771 inline void set_has_default_value();
772 inline void clear_has_default_value();
773 inline void set_has_update_value();
774 inline void clear_has_update_value();
775 inline void set_has_default_null();
776 inline void clear_has_default_null();
777 inline void set_has_default_bin_value();
778 inline void clear_has_default_bin_value();
779 inline void set_has_default_expression();
780 inline void clear_has_default_expression();
781 inline void set_has_update_expression();
782 inline void clear_has_update_expression();
784 ::google::protobuf::UnknownFieldSet _unknown_fields_;
786 ::std::string* default_value_;
787 ::std::string* update_value_;
788 ::std::string* default_bin_value_;
789 ::std::string* default_expression_;
790 ::std::string* update_expression_;
793 mutable int _cached_size_;
794 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
796 friend void protobuf_AddDesc_table_2eproto();
797 friend void protobuf_AssignDesc_table_2eproto();
798 friend void protobuf_ShutdownFile_table_2eproto();
800 void InitAsDefaultInstance();
817 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
818 return _unknown_fields_;
821 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
822 return &_unknown_fields_;
825 static const ::google::protobuf::Descriptor* descriptor();
833 void CopyFrom(const ::google::protobuf::Message& from);
834 void MergeFrom(const ::google::protobuf::Message& from);
838 bool IsInitialized()
const;
840 int ByteSize()
const;
841 bool MergePartialFromCodedStream(
842 ::google::protobuf::io::CodedInputStream* input);
843 void SerializeWithCachedSizes(
844 ::google::protobuf::io::CodedOutputStream* output)
const;
845 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
846 int GetCachedSize()
const {
return _cached_size_; }
850 void SetCachedSize(
int size)
const;
853 ::google::protobuf::Metadata GetMetadata()
const;
860 inline bool has_is_nullable()
const;
861 inline void clear_is_nullable();
862 static const int kIsNullableFieldNumber = 1;
863 inline bool is_nullable()
const;
864 inline void set_is_nullable(
bool value);
867 inline bool has_is_unsigned()
const;
868 inline void clear_is_unsigned();
869 static const int kIsUnsignedFieldNumber = 2;
870 inline bool is_unsigned()
const;
871 inline void set_is_unsigned(
bool value);
874 inline bool has_is_notnull()
const;
875 inline void clear_is_notnull();
876 static const int kIsNotnullFieldNumber = 3;
877 inline bool is_notnull()
const;
878 inline void set_is_notnull(
bool value);
881 inline bool has_is_unique()
const;
882 inline void clear_is_unique();
883 static const int kIsUniqueFieldNumber = 4;
884 inline bool is_unique()
const;
885 inline void set_is_unique(
bool value);
888 inline int expression_size()
const;
889 inline void clear_expression();
890 static const int kExpressionFieldNumber = 16;
891 inline const ::std::string& expression(
int index)
const;
892 inline ::std::string* mutable_expression(
int index);
893 inline void set_expression(
int index, const ::std::string& value);
894 inline void set_expression(
int index,
const char* value);
895 inline void set_expression(
int index,
const char* value,
size_t size);
896 inline ::std::string* add_expression();
897 inline void add_expression(const ::std::string& value);
898 inline void add_expression(
const char* value);
899 inline void add_expression(
const char* value,
size_t size);
900 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& expression()
const;
901 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_expression();
905 inline void set_has_is_nullable();
906 inline void clear_has_is_nullable();
907 inline void set_has_is_unsigned();
908 inline void clear_has_is_unsigned();
909 inline void set_has_is_notnull();
910 inline void clear_has_is_notnull();
911 inline void set_has_is_unique();
912 inline void clear_has_is_unique();
914 ::google::protobuf::UnknownFieldSet _unknown_fields_;
916 ::google::protobuf::RepeatedPtrField< ::std::string> expression_;
922 mutable int _cached_size_;
923 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
925 friend void protobuf_AddDesc_table_2eproto();
926 friend void protobuf_AssignDesc_table_2eproto();
927 friend void protobuf_ShutdownFile_table_2eproto();
929 void InitAsDefaultInstance();
946 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
947 return _unknown_fields_;
950 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
951 return &_unknown_fields_;
954 static const ::google::protobuf::Descriptor* descriptor();
962 void CopyFrom(const ::google::protobuf::Message& from);
963 void MergeFrom(const ::google::protobuf::Message& from);
967 bool IsInitialized()
const;
969 int ByteSize()
const;
970 bool MergePartialFromCodedStream(
971 ::google::protobuf::io::CodedInputStream* input);
972 void SerializeWithCachedSizes(
973 ::google::protobuf::io::CodedOutputStream* output)
const;
974 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
975 int GetCachedSize()
const {
return _cached_size_; }
979 void SetCachedSize(
int size)
const;
982 ::google::protobuf::Metadata GetMetadata()
const;
989 inline bool has_is_autoincrement()
const;
990 inline void clear_is_autoincrement();
991 static const int kIsAutoincrementFieldNumber = 1;
992 inline bool is_autoincrement()
const;
993 inline void set_is_autoincrement(
bool value);
996 inline bool has_scale()
const;
997 inline void clear_scale();
998 static const int kScaleFieldNumber = 2;
999 inline ::google::protobuf::uint32 scale()
const;
1000 inline void set_scale(::google::protobuf::uint32 value);
1003 inline bool has_precision()
const;
1004 inline void clear_precision();
1005 static const int kPrecisionFieldNumber = 3;
1006 inline ::google::protobuf::uint32 precision()
const;
1007 inline void set_precision(::google::protobuf::uint32 value);
1011 inline void set_has_is_autoincrement();
1012 inline void clear_has_is_autoincrement();
1013 inline void set_has_scale();
1014 inline void clear_has_scale();
1015 inline void set_has_precision();
1016 inline void clear_has_precision();
1018 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1020 bool is_autoincrement_;
1021 ::google::protobuf::uint32 scale_;
1022 ::google::protobuf::uint32 precision_;
1024 mutable int _cached_size_;
1025 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1027 friend void protobuf_AddDesc_table_2eproto();
1028 friend void protobuf_AssignDesc_table_2eproto();
1029 friend void protobuf_ShutdownFile_table_2eproto();
1031 void InitAsDefaultInstance();
1048 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1049 return _unknown_fields_;
1052 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1053 return &_unknown_fields_;
1056 static const ::google::protobuf::Descriptor* descriptor();
1064 void CopyFrom(const ::google::protobuf::Message& from);
1065 void MergeFrom(const ::google::protobuf::Message& from);
1069 bool IsInitialized()
const;
1071 int ByteSize()
const;
1072 bool MergePartialFromCodedStream(
1073 ::google::protobuf::io::CodedInputStream* input);
1074 void SerializeWithCachedSizes(
1075 ::google::protobuf::io::CodedOutputStream* output)
const;
1076 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1077 int GetCachedSize()
const {
return _cached_size_; }
1081 void SetCachedSize(
int size)
const;
1084 ::google::protobuf::Metadata GetMetadata()
const;
1091 inline bool has_is_fixed_width()
const;
1092 inline void clear_is_fixed_width();
1093 static const int kIsFixedWidthFieldNumber = 1;
1094 inline bool is_fixed_width()
const;
1095 inline void set_is_fixed_width(
bool value);
1098 inline bool has_length()
const;
1099 inline void clear_length();
1100 static const int kLengthFieldNumber = 2;
1101 inline ::google::protobuf::uint32 length()
const;
1102 inline void set_length(::google::protobuf::uint32 value);
1105 inline bool has_collation_id()
const;
1106 inline void clear_collation_id();
1107 static const int kCollationIdFieldNumber = 3;
1108 inline ::google::protobuf::uint32 collation_id()
const;
1109 inline void set_collation_id(::google::protobuf::uint32 value);
1112 inline bool has_collation()
const;
1113 inline void clear_collation();
1114 static const int kCollationFieldNumber = 4;
1115 inline const ::std::string& collation()
const;
1116 inline void set_collation(const ::std::string& value);
1117 inline void set_collation(
const char* value);
1118 inline void set_collation(
const char* value,
size_t size);
1119 inline ::std::string* mutable_collation();
1120 inline ::std::string* release_collation();
1121 inline void set_allocated_collation(::std::string* collation);
1125 inline void set_has_is_fixed_width();
1126 inline void clear_has_is_fixed_width();
1127 inline void set_has_length();
1128 inline void clear_has_length();
1129 inline void set_has_collation_id();
1130 inline void clear_has_collation_id();
1131 inline void set_has_collation();
1132 inline void clear_has_collation();
1134 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1136 bool is_fixed_width_;
1137 ::google::protobuf::uint32 length_;
1138 ::std::string* collation_;
1139 ::google::protobuf::uint32 collation_id_;
1141 mutable int _cached_size_;
1142 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
1144 friend void protobuf_AddDesc_table_2eproto();
1145 friend void protobuf_AssignDesc_table_2eproto();
1146 friend void protobuf_ShutdownFile_table_2eproto();
1148 void InitAsDefaultInstance();
1165 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1166 return _unknown_fields_;
1169 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1170 return &_unknown_fields_;
1173 static const ::google::protobuf::Descriptor* descriptor();
1181 void CopyFrom(const ::google::protobuf::Message& from);
1182 void MergeFrom(const ::google::protobuf::Message& from);
1186 bool IsInitialized()
const;
1188 int ByteSize()
const;
1189 bool MergePartialFromCodedStream(
1190 ::google::protobuf::io::CodedInputStream* input);
1191 void SerializeWithCachedSizes(
1192 ::google::protobuf::io::CodedOutputStream* output)
const;
1193 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1194 int GetCachedSize()
const {
return _cached_size_; }
1198 void SetCachedSize(
int size)
const;
1201 ::google::protobuf::Metadata GetMetadata()
const;
1208 inline bool has_collation_id()
const;
1209 inline void clear_collation_id();
1210 static const int kCollationIdFieldNumber = 2;
1211 inline ::google::protobuf::uint32 collation_id()
const;
1212 inline void set_collation_id(::google::protobuf::uint32 value);
1215 inline bool has_collation()
const;
1216 inline void clear_collation();
1217 static const int kCollationFieldNumber = 3;
1218 inline const ::std::string& collation()
const;
1219 inline void set_collation(const ::std::string& value);
1220 inline void set_collation(
const char* value);
1221 inline void set_collation(
const char* value,
size_t size);
1222 inline ::std::string* mutable_collation();
1223 inline ::std::string* release_collation();
1224 inline void set_allocated_collation(::std::string* collation);
1227 inline int field_value_size()
const;
1228 inline void clear_field_value();
1229 static const int kFieldValueFieldNumber = 4;
1230 inline const ::std::string& field_value(
int index)
const;
1231 inline ::std::string* mutable_field_value(
int index);
1232 inline void set_field_value(
int index, const ::std::string& value);
1233 inline void set_field_value(
int index,
const char* value);
1234 inline void set_field_value(
int index,
const char* value,
size_t size);
1235 inline ::std::string* add_field_value();
1236 inline void add_field_value(const ::std::string& value);
1237 inline void add_field_value(
const char* value);
1238 inline void add_field_value(
const char* value,
size_t size);
1239 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& field_value()
const;
1240 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_field_value();
1244 inline void set_has_collation_id();
1245 inline void clear_has_collation_id();
1246 inline void set_has_collation();
1247 inline void clear_has_collation();
1249 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1251 ::std::string* collation_;
1252 ::google::protobuf::RepeatedPtrField< ::std::string> field_value_;
1253 ::google::protobuf::uint32 collation_id_;
1255 mutable int _cached_size_;
1256 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1258 friend void protobuf_AddDesc_table_2eproto();
1259 friend void protobuf_AssignDesc_table_2eproto();
1260 friend void protobuf_ShutdownFile_table_2eproto();
1262 void InitAsDefaultInstance();
1279 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1280 return _unknown_fields_;
1283 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1284 return &_unknown_fields_;
1287 static const ::google::protobuf::Descriptor* descriptor();
1295 void CopyFrom(const ::google::protobuf::Message& from);
1296 void MergeFrom(const ::google::protobuf::Message& from);
1300 bool IsInitialized()
const;
1302 int ByteSize()
const;
1303 bool MergePartialFromCodedStream(
1304 ::google::protobuf::io::CodedInputStream* input);
1305 void SerializeWithCachedSizes(
1306 ::google::protobuf::io::CodedOutputStream* output)
const;
1307 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1308 int GetCachedSize()
const {
return _cached_size_; }
1312 void SetCachedSize(
int size)
const;
1315 ::google::protobuf::Metadata GetMetadata()
const;
1322 inline bool has_microseconds()
const;
1323 inline void clear_microseconds();
1324 static const int kMicrosecondsFieldNumber = 1;
1325 inline bool microseconds()
const;
1326 inline void set_microseconds(
bool value);
1330 inline void set_has_microseconds();
1331 inline void clear_has_microseconds();
1333 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1337 mutable int _cached_size_;
1338 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
1340 friend void protobuf_AddDesc_table_2eproto();
1341 friend void protobuf_AssignDesc_table_2eproto();
1342 friend void protobuf_ShutdownFile_table_2eproto();
1344 void InitAsDefaultInstance();
1361 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1362 return _unknown_fields_;
1365 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1366 return &_unknown_fields_;
1369 static const ::google::protobuf::Descriptor* descriptor();
1377 void CopyFrom(const ::google::protobuf::Message& from);
1378 void MergeFrom(const ::google::protobuf::Message& from);
1382 bool IsInitialized()
const;
1384 int ByteSize()
const;
1385 bool MergePartialFromCodedStream(
1386 ::google::protobuf::io::CodedInputStream* input);
1387 void SerializeWithCachedSizes(
1388 ::google::protobuf::io::CodedOutputStream* output)
const;
1389 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1390 int GetCachedSize()
const {
return _cached_size_; }
1394 void SetCachedSize(
int size)
const;
1397 ::google::protobuf::Metadata GetMetadata()
const;
1408 typedef Table_Field_FieldType FieldType;
1409 static const FieldType DOUBLE = Table_Field_FieldType_DOUBLE;
1410 static const FieldType VARCHAR = Table_Field_FieldType_VARCHAR;
1411 static const FieldType BLOB = Table_Field_FieldType_BLOB;
1412 static const FieldType ENUM = Table_Field_FieldType_ENUM;
1413 static const FieldType INTEGER = Table_Field_FieldType_INTEGER;
1414 static const FieldType BIGINT = Table_Field_FieldType_BIGINT;
1415 static const FieldType DECIMAL = Table_Field_FieldType_DECIMAL;
1416 static const FieldType DATE = Table_Field_FieldType_DATE;
1417 static const FieldType EPOCH = Table_Field_FieldType_EPOCH;
1418 static const FieldType DATETIME = Table_Field_FieldType_DATETIME;
1419 static const FieldType UUID = Table_Field_FieldType_UUID;
1420 static const FieldType TIME = Table_Field_FieldType_TIME;
1421 static const FieldType BOOLEAN = Table_Field_FieldType_BOOLEAN;
1422 static const FieldType IPV6 = Table_Field_FieldType_IPV6;
1423 static inline bool FieldType_IsValid(
int value) {
1424 return Table_Field_FieldType_IsValid(value);
1426 static const FieldType FieldType_MIN =
1427 Table_Field_FieldType_FieldType_MIN;
1428 static const FieldType FieldType_MAX =
1429 Table_Field_FieldType_FieldType_MAX;
1430 static const int FieldType_ARRAYSIZE =
1431 Table_Field_FieldType_FieldType_ARRAYSIZE;
1432 static inline const ::google::protobuf::EnumDescriptor*
1433 FieldType_descriptor() {
1434 return Table_Field_FieldType_descriptor();
1436 static inline const ::std::string& FieldType_Name(FieldType value) {
1437 return Table_Field_FieldType_Name(value);
1439 static inline bool FieldType_Parse(const ::std::string& name,
1441 return Table_Field_FieldType_Parse(name, value);
1447 inline bool has_name()
const;
1448 inline void clear_name();
1449 static const int kNameFieldNumber = 1;
1450 inline const ::std::string& name()
const;
1451 inline void set_name(const ::std::string& value);
1452 inline void set_name(
const char* value);
1453 inline void set_name(
const char* value,
size_t size);
1454 inline ::std::string* mutable_name();
1455 inline ::std::string* release_name();
1456 inline void set_allocated_name(::std::string* name);
1459 inline bool has_type()
const;
1460 inline void clear_type();
1461 static const int kTypeFieldNumber = 2;
1462 inline ::drizzled::message::Table_Field_FieldType type()
const;
1463 inline void set_type(::drizzled::message::Table_Field_FieldType value);
1466 inline bool has_options()
const;
1467 inline void clear_options();
1468 static const int kOptionsFieldNumber = 4;
1469 inline const ::drizzled::message::Table_Field_FieldOptions& options()
const;
1470 inline ::drizzled::message::Table_Field_FieldOptions* mutable_options();
1471 inline ::drizzled::message::Table_Field_FieldOptions* release_options();
1475 inline bool has_constraints()
const;
1476 inline void clear_constraints();
1477 static const int kConstraintsFieldNumber = 5;
1478 inline const ::drizzled::message::Table_Field_FieldConstraints& constraints()
const;
1479 inline ::drizzled::message::Table_Field_FieldConstraints* mutable_constraints();
1480 inline ::drizzled::message::Table_Field_FieldConstraints* release_constraints();
1484 inline bool has_numeric_options()
const;
1485 inline void clear_numeric_options();
1486 static const int kNumericOptionsFieldNumber = 6;
1487 inline const ::drizzled::message::Table_Field_NumericFieldOptions& numeric_options()
const;
1488 inline ::drizzled::message::Table_Field_NumericFieldOptions* mutable_numeric_options();
1489 inline ::drizzled::message::Table_Field_NumericFieldOptions* release_numeric_options();
1493 inline bool has_string_options()
const;
1494 inline void clear_string_options();
1495 static const int kStringOptionsFieldNumber = 7;
1496 inline const ::drizzled::message::Table_Field_StringFieldOptions& string_options()
const;
1497 inline ::drizzled::message::Table_Field_StringFieldOptions* mutable_string_options();
1498 inline ::drizzled::message::Table_Field_StringFieldOptions* release_string_options();
1502 inline bool has_time_options()
const;
1503 inline void clear_time_options();
1504 static const int kTimeOptionsFieldNumber = 8;
1505 inline const ::drizzled::message::Table_Field_TimeFieldOptions& time_options()
const;
1506 inline ::drizzled::message::Table_Field_TimeFieldOptions* mutable_time_options();
1507 inline ::drizzled::message::Table_Field_TimeFieldOptions* release_time_options();
1511 inline bool has_comment()
const;
1512 inline void clear_comment();
1513 static const int kCommentFieldNumber = 16;
1514 inline const ::std::string& comment()
const;
1515 inline void set_comment(const ::std::string& value);
1516 inline void set_comment(
const char* value);
1517 inline void set_comment(
const char* value,
size_t size);
1518 inline ::std::string* mutable_comment();
1519 inline ::std::string* release_comment();
1520 inline void set_allocated_comment(::std::string* comment);
1523 inline bool has_enumeration_values()
const;
1524 inline void clear_enumeration_values();
1525 static const int kEnumerationValuesFieldNumber = 17;
1526 inline const ::drizzled::message::Table_Field_EnumerationValues& enumeration_values()
const;
1527 inline ::drizzled::message::Table_Field_EnumerationValues* mutable_enumeration_values();
1528 inline ::drizzled::message::Table_Field_EnumerationValues* release_enumeration_values();
1533 inline void set_has_name();
1534 inline void clear_has_name();
1535 inline void set_has_type();
1536 inline void clear_has_type();
1537 inline void set_has_options();
1538 inline void clear_has_options();
1539 inline void set_has_constraints();
1540 inline void clear_has_constraints();
1541 inline void set_has_numeric_options();
1542 inline void clear_has_numeric_options();
1543 inline void set_has_string_options();
1544 inline void clear_has_string_options();
1545 inline void set_has_time_options();
1546 inline void clear_has_time_options();
1547 inline void set_has_comment();
1548 inline void clear_has_comment();
1549 inline void set_has_enumeration_values();
1550 inline void clear_has_enumeration_values();
1552 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1554 ::std::string* name_;
1560 ::std::string* comment_;
1564 mutable int _cached_size_;
1565 ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
1567 friend void protobuf_AddDesc_table_2eproto();
1568 friend void protobuf_AssignDesc_table_2eproto();
1569 friend void protobuf_ShutdownFile_table_2eproto();
1571 void InitAsDefaultInstance();
1588 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1589 return _unknown_fields_;
1592 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1593 return &_unknown_fields_;
1596 static const ::google::protobuf::Descriptor* descriptor();
1604 void CopyFrom(const ::google::protobuf::Message& from);
1605 void MergeFrom(const ::google::protobuf::Message& from);
1609 bool IsInitialized()
const;
1611 int ByteSize()
const;
1612 bool MergePartialFromCodedStream(
1613 ::google::protobuf::io::CodedInputStream* input);
1614 void SerializeWithCachedSizes(
1615 ::google::protobuf::io::CodedOutputStream* output)
const;
1616 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1617 int GetCachedSize()
const {
return _cached_size_; }
1621 void SetCachedSize(
int size)
const;
1624 ::google::protobuf::Metadata GetMetadata()
const;
1631 inline bool has_fieldnr()
const;
1632 inline void clear_fieldnr();
1633 static const int kFieldnrFieldNumber = 1;
1634 inline ::google::protobuf::uint32 fieldnr()
const;
1635 inline void set_fieldnr(::google::protobuf::uint32 value);
1638 inline bool has_compare_length()
const;
1639 inline void clear_compare_length();
1640 static const int kCompareLengthFieldNumber = 2;
1641 inline ::google::protobuf::uint32 compare_length()
const;
1642 inline void set_compare_length(::google::protobuf::uint32 value);
1645 inline bool has_in_reverse_order()
const;
1646 inline void clear_in_reverse_order();
1647 static const int kInReverseOrderFieldNumber = 3;
1648 inline bool in_reverse_order()
const;
1649 inline void set_in_reverse_order(
bool value);
1653 inline void set_has_fieldnr();
1654 inline void clear_has_fieldnr();
1655 inline void set_has_compare_length();
1656 inline void clear_has_compare_length();
1657 inline void set_has_in_reverse_order();
1658 inline void clear_has_in_reverse_order();
1660 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1662 ::google::protobuf::uint32 fieldnr_;
1663 ::google::protobuf::uint32 compare_length_;
1664 bool in_reverse_order_;
1666 mutable int _cached_size_;
1667 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1669 friend void protobuf_AddDesc_table_2eproto();
1670 friend void protobuf_AssignDesc_table_2eproto();
1671 friend void protobuf_ShutdownFile_table_2eproto();
1673 void InitAsDefaultInstance();
1690 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1691 return _unknown_fields_;
1694 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1695 return &_unknown_fields_;
1698 static const ::google::protobuf::Descriptor* descriptor();
1706 void CopyFrom(const ::google::protobuf::Message& from);
1707 void MergeFrom(const ::google::protobuf::Message& from);
1711 bool IsInitialized()
const;
1713 int ByteSize()
const;
1714 bool MergePartialFromCodedStream(
1715 ::google::protobuf::io::CodedInputStream* input);
1716 void SerializeWithCachedSizes(
1717 ::google::protobuf::io::CodedOutputStream* output)
const;
1718 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1719 int GetCachedSize()
const {
return _cached_size_; }
1723 void SetCachedSize(
int size)
const;
1726 ::google::protobuf::Metadata GetMetadata()
const;
1733 inline bool has_pack_key()
const;
1734 inline void clear_pack_key();
1735 static const int kPackKeyFieldNumber = 1;
1736 inline bool pack_key()
const;
1737 inline void set_pack_key(
bool value);
1740 inline bool has_binary_pack_key()
const;
1741 inline void clear_binary_pack_key();
1742 static const int kBinaryPackKeyFieldNumber = 2;
1743 inline bool binary_pack_key()
const;
1744 inline void set_binary_pack_key(
bool value);
1747 inline bool has_var_length_key()
const;
1748 inline void clear_var_length_key();
1749 static const int kVarLengthKeyFieldNumber = 3;
1750 inline bool var_length_key()
const;
1751 inline void set_var_length_key(
bool value);
1754 inline bool has_null_part_key()
const;
1755 inline void clear_null_part_key();
1756 static const int kNullPartKeyFieldNumber = 4;
1757 inline bool null_part_key()
const;
1758 inline void set_null_part_key(
bool value);
1761 inline bool has_key_block_size()
const;
1762 inline void clear_key_block_size();
1763 static const int kKeyBlockSizeFieldNumber = 5;
1764 inline ::google::protobuf::uint32 key_block_size()
const;
1765 inline void set_key_block_size(::google::protobuf::uint32 value);
1768 inline bool has_has_partial_segments()
const;
1769 inline void clear_has_partial_segments();
1770 static const int kHasPartialSegmentsFieldNumber = 6;
1771 inline bool has_partial_segments()
const;
1772 inline void set_has_partial_segments(
bool value);
1775 inline bool has_auto_generated_key()
const;
1776 inline void clear_auto_generated_key();
1777 static const int kAutoGeneratedKeyFieldNumber = 7;
1778 inline bool auto_generated_key()
const;
1779 inline void set_auto_generated_key(
bool value);
1783 inline void set_has_pack_key();
1784 inline void clear_has_pack_key();
1785 inline void set_has_binary_pack_key();
1786 inline void clear_has_binary_pack_key();
1787 inline void set_has_var_length_key();
1788 inline void clear_has_var_length_key();
1789 inline void set_has_null_part_key();
1790 inline void clear_has_null_part_key();
1791 inline void set_has_key_block_size();
1792 inline void clear_has_key_block_size();
1793 inline void set_has_has_partial_segments();
1794 inline void clear_has_has_partial_segments();
1795 inline void set_has_auto_generated_key();
1796 inline void clear_has_auto_generated_key();
1798 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1801 bool binary_pack_key_;
1802 bool var_length_key_;
1803 bool null_part_key_;
1804 ::google::protobuf::uint32 key_block_size_;
1805 bool has_partial_segments_;
1806 bool auto_generated_key_;
1808 mutable int _cached_size_;
1809 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
1811 friend void protobuf_AddDesc_table_2eproto();
1812 friend void protobuf_AssignDesc_table_2eproto();
1813 friend void protobuf_ShutdownFile_table_2eproto();
1815 void InitAsDefaultInstance();
1832 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1833 return _unknown_fields_;
1836 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1837 return &_unknown_fields_;
1840 static const ::google::protobuf::Descriptor* descriptor();
1848 void CopyFrom(const ::google::protobuf::Message& from);
1849 void MergeFrom(const ::google::protobuf::Message& from);
1853 bool IsInitialized()
const;
1855 int ByteSize()
const;
1856 bool MergePartialFromCodedStream(
1857 ::google::protobuf::io::CodedInputStream* input);
1858 void SerializeWithCachedSizes(
1859 ::google::protobuf::io::CodedOutputStream* output)
const;
1860 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1861 int GetCachedSize()
const {
return _cached_size_; }
1865 void SetCachedSize(
int size)
const;
1868 ::google::protobuf::Metadata GetMetadata()
const;
1875 typedef Table_Index_IndexType IndexType;
1876 static const IndexType UNKNOWN_INDEX = Table_Index_IndexType_UNKNOWN_INDEX;
1877 static const IndexType BTREE = Table_Index_IndexType_BTREE;
1878 static const IndexType RTREE = Table_Index_IndexType_RTREE;
1879 static const IndexType
HASH = Table_Index_IndexType_HASH;
1880 static const IndexType FULLTEXT = Table_Index_IndexType_FULLTEXT;
1881 static inline bool IndexType_IsValid(
int value) {
1882 return Table_Index_IndexType_IsValid(value);
1884 static const IndexType IndexType_MIN =
1885 Table_Index_IndexType_IndexType_MIN;
1886 static const IndexType IndexType_MAX =
1887 Table_Index_IndexType_IndexType_MAX;
1888 static const int IndexType_ARRAYSIZE =
1889 Table_Index_IndexType_IndexType_ARRAYSIZE;
1890 static inline const ::google::protobuf::EnumDescriptor*
1891 IndexType_descriptor() {
1892 return Table_Index_IndexType_descriptor();
1894 static inline const ::std::string& IndexType_Name(IndexType value) {
1895 return Table_Index_IndexType_Name(value);
1897 static inline bool IndexType_Parse(const ::std::string& name,
1899 return Table_Index_IndexType_Parse(name, value);
1905 inline bool has_name()
const;
1906 inline void clear_name();
1907 static const int kNameFieldNumber = 1;
1908 inline const ::std::string& name()
const;
1909 inline void set_name(const ::std::string& value);
1910 inline void set_name(
const char* value);
1911 inline void set_name(
const char* value,
size_t size);
1912 inline ::std::string* mutable_name();
1913 inline ::std::string* release_name();
1914 inline void set_allocated_name(::std::string* name);
1917 inline bool has_is_primary()
const;
1918 inline void clear_is_primary();
1919 static const int kIsPrimaryFieldNumber = 2;
1920 inline bool is_primary()
const;
1921 inline void set_is_primary(
bool value);
1924 inline bool has_is_unique()
const;
1925 inline void clear_is_unique();
1926 static const int kIsUniqueFieldNumber = 3;
1927 inline bool is_unique()
const;
1928 inline void set_is_unique(
bool value);
1931 inline bool has_type()
const;
1932 inline void clear_type();
1933 static const int kTypeFieldNumber = 4;
1934 inline ::drizzled::message::Table_Index_IndexType type()
const;
1935 inline void set_type(::drizzled::message::Table_Index_IndexType value);
1938 inline bool has_key_length()
const;
1939 inline void clear_key_length();
1940 static const int kKeyLengthFieldNumber = 5;
1941 inline ::google::protobuf::uint32 key_length()
const;
1942 inline void set_key_length(::google::protobuf::uint32 value);
1945 inline int index_part_size()
const;
1946 inline void clear_index_part();
1947 static const int kIndexPartFieldNumber = 6;
1948 inline const ::drizzled::message::Table_Index_IndexPart& index_part(
int index)
const;
1949 inline ::drizzled::message::Table_Index_IndexPart* mutable_index_part(
int index);
1950 inline ::drizzled::message::Table_Index_IndexPart* add_index_part();
1951 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
1953 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
1954 mutable_index_part();
1957 inline bool has_options()
const;
1958 inline void clear_options();
1959 static const int kOptionsFieldNumber = 7;
1960 inline const ::drizzled::message::Table_Index_Options& options()
const;
1961 inline ::drizzled::message::Table_Index_Options* mutable_options();
1962 inline ::drizzled::message::Table_Index_Options* release_options();
1966 inline bool has_comment()
const;
1967 inline void clear_comment();
1968 static const int kCommentFieldNumber = 8;
1969 inline const ::std::string& comment()
const;
1970 inline void set_comment(const ::std::string& value);
1971 inline void set_comment(
const char* value);
1972 inline void set_comment(
const char* value,
size_t size);
1973 inline ::std::string* mutable_comment();
1974 inline ::std::string* release_comment();
1975 inline void set_allocated_comment(::std::string* comment);
1979 inline void set_has_name();
1980 inline void clear_has_name();
1981 inline void set_has_is_primary();
1982 inline void clear_has_is_primary();
1983 inline void set_has_is_unique();
1984 inline void clear_has_is_unique();
1985 inline void set_has_type();
1986 inline void clear_has_type();
1987 inline void set_has_key_length();
1988 inline void clear_has_key_length();
1989 inline void set_has_options();
1990 inline void clear_has_options();
1991 inline void set_has_comment();
1992 inline void clear_has_comment();
1994 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1996 ::std::string* name_;
2000 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart > index_part_;
2002 ::std::string* comment_;
2003 ::google::protobuf::uint32 key_length_;
2005 mutable int _cached_size_;
2006 ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
2008 friend void protobuf_AddDesc_table_2eproto();
2009 friend void protobuf_AssignDesc_table_2eproto();
2010 friend void protobuf_ShutdownFile_table_2eproto();
2012 void InitAsDefaultInstance();
2017 class Table :
public ::google::protobuf::Message {
2029 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2030 return _unknown_fields_;
2033 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2034 return &_unknown_fields_;
2037 static const ::google::protobuf::Descriptor* descriptor();
2038 static const Table& default_instance();
2040 void Swap(
Table* other);
2045 void CopyFrom(const ::google::protobuf::Message& from);
2046 void MergeFrom(const ::google::protobuf::Message& from);
2047 void CopyFrom(
const Table& from);
2048 void MergeFrom(
const Table& from);
2050 bool IsInitialized()
const;
2052 int ByteSize()
const;
2053 bool MergePartialFromCodedStream(
2054 ::google::protobuf::io::CodedInputStream* input);
2055 void SerializeWithCachedSizes(
2056 ::google::protobuf::io::CodedOutputStream* output)
const;
2057 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
2058 int GetCachedSize()
const {
return _cached_size_; }
2062 void SetCachedSize(
int size)
const;
2065 ::google::protobuf::Metadata GetMetadata()
const;
2074 typedef Table_TableType TableType;
2075 static const TableType STANDARD = Table_TableType_STANDARD;
2076 static const TableType TEMPORARY = Table_TableType_TEMPORARY;
2077 static const TableType INTERNAL = Table_TableType_INTERNAL;
2078 static const TableType FUNCTION = Table_TableType_FUNCTION;
2079 static inline bool TableType_IsValid(
int value) {
2080 return Table_TableType_IsValid(value);
2082 static const TableType TableType_MIN =
2083 Table_TableType_TableType_MIN;
2084 static const TableType TableType_MAX =
2085 Table_TableType_TableType_MAX;
2086 static const int TableType_ARRAYSIZE =
2087 Table_TableType_TableType_ARRAYSIZE;
2088 static inline const ::google::protobuf::EnumDescriptor*
2089 TableType_descriptor() {
2090 return Table_TableType_descriptor();
2092 static inline const ::std::string& TableType_Name(TableType value) {
2093 return Table_TableType_Name(value);
2095 static inline bool TableType_Parse(const ::std::string& name,
2097 return Table_TableType_Parse(name, value);
2103 inline bool has_name()
const;
2104 inline void clear_name();
2105 static const int kNameFieldNumber = 1;
2106 inline const ::std::string& name()
const;
2107 inline void set_name(const ::std::string& value);
2108 inline void set_name(
const char* value);
2109 inline void set_name(
const char* value,
size_t size);
2110 inline ::std::string* mutable_name();
2111 inline ::std::string* release_name();
2112 inline void set_allocated_name(::std::string* name);
2115 inline bool has_schema()
const;
2116 inline void clear_schema();
2117 static const int kSchemaFieldNumber = 6;
2118 inline const ::std::string& schema()
const;
2119 inline void set_schema(const ::std::string& value);
2120 inline void set_schema(
const char* value);
2121 inline void set_schema(
const char* value,
size_t size);
2122 inline ::std::string* mutable_schema();
2123 inline ::std::string* release_schema();
2124 inline void set_allocated_schema(::std::string* schema);
2127 inline bool has_type()
const;
2128 inline void clear_type();
2129 static const int kTypeFieldNumber = 5;
2130 inline ::drizzled::message::Table_TableType type()
const;
2131 inline void set_type(::drizzled::message::Table_TableType value);
2134 inline bool has_engine()
const;
2135 inline void clear_engine();
2136 static const int kEngineFieldNumber = 2;
2137 inline const ::drizzled::message::Engine& engine()
const;
2138 inline ::drizzled::message::Engine* mutable_engine();
2139 inline ::drizzled::message::Engine* release_engine();
2143 inline int field_size()
const;
2144 inline void clear_field();
2145 static const int kFieldFieldNumber = 3;
2146 inline const ::drizzled::message::Table_Field& field(
int index)
const;
2147 inline ::drizzled::message::Table_Field* mutable_field(
int index);
2148 inline ::drizzled::message::Table_Field* add_field();
2149 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
2151 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
2155 inline int indexes_size()
const;
2156 inline void clear_indexes();
2157 static const int kIndexesFieldNumber = 4;
2158 inline const ::drizzled::message::Table_Index& indexes(
int index)
const;
2159 inline ::drizzled::message::Table_Index* mutable_indexes(
int index);
2160 inline ::drizzled::message::Table_Index* add_indexes();
2161 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
2163 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
2167 inline int fk_constraint_size()
const;
2168 inline void clear_fk_constraint();
2169 static const int kFkConstraintFieldNumber = 8;
2170 inline const ::drizzled::message::Table_ForeignKeyConstraint& fk_constraint(
int index)
const;
2171 inline ::drizzled::message::Table_ForeignKeyConstraint* mutable_fk_constraint(
int index);
2172 inline ::drizzled::message::Table_ForeignKeyConstraint* add_fk_constraint();
2173 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
2174 fk_constraint()
const;
2175 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
2176 mutable_fk_constraint();
2179 inline bool has_options()
const;
2180 inline void clear_options();
2181 static const int kOptionsFieldNumber = 9;
2182 inline const ::drizzled::message::Table_TableOptions& options()
const;
2183 inline ::drizzled::message::Table_TableOptions* mutable_options();
2184 inline ::drizzled::message::Table_TableOptions* release_options();
2188 inline bool has_creation_timestamp()
const;
2189 inline void clear_creation_timestamp();
2190 static const int kCreationTimestampFieldNumber = 11;
2191 inline ::google::protobuf::uint64 creation_timestamp()
const;
2192 inline void set_creation_timestamp(::google::protobuf::uint64 value);
2195 inline bool has_update_timestamp()
const;
2196 inline void clear_update_timestamp();
2197 static const int kUpdateTimestampFieldNumber = 12;
2198 inline ::google::protobuf::uint64 update_timestamp()
const;
2199 inline void set_update_timestamp(::google::protobuf::uint64 value);
2202 inline bool has_catalog()
const;
2203 inline void clear_catalog();
2204 static const int kCatalogFieldNumber = 13;
2205 inline const ::std::string& catalog()
const;
2206 inline void set_catalog(const ::std::string& value);
2207 inline void set_catalog(
const char* value);
2208 inline void set_catalog(
const char* value,
size_t size);
2209 inline ::std::string* mutable_catalog();
2210 inline ::std::string* release_catalog();
2211 inline void set_allocated_catalog(::std::string* catalog);
2214 inline bool has_uuid()
const;
2215 inline void clear_uuid();
2216 static const int kUuidFieldNumber = 14;
2217 inline const ::std::string& uuid()
const;
2218 inline void set_uuid(const ::std::string& value);
2219 inline void set_uuid(
const char* value);
2220 inline void set_uuid(
const char* value,
size_t size);
2221 inline ::std::string* mutable_uuid();
2222 inline ::std::string* release_uuid();
2223 inline void set_allocated_uuid(::std::string* uuid);
2226 inline bool has_version()
const;
2227 inline void clear_version();
2228 static const int kVersionFieldNumber = 15;
2229 inline ::google::protobuf::uint64 version()
const;
2230 inline void set_version(::google::protobuf::uint64 value);
2233 inline bool has_replication_options()
const;
2234 inline void clear_replication_options();
2235 static const int kReplicationOptionsFieldNumber = 16;
2236 inline const ::drizzled::message::ReplicationOptions& replication_options()
const;
2237 inline ::drizzled::message::ReplicationOptions* mutable_replication_options();
2238 inline ::drizzled::message::ReplicationOptions* release_replication_options();
2242 inline bool has_access()
const;
2243 inline void clear_access();
2244 static const int kAccessFieldNumber = 17;
2245 inline const ::drizzled::message::Access& access()
const;
2246 inline ::drizzled::message::Access* mutable_access();
2247 inline ::drizzled::message::Access* release_access();
2252 inline void set_has_name();
2253 inline void clear_has_name();
2254 inline void set_has_schema();
2255 inline void clear_has_schema();
2256 inline void set_has_type();
2257 inline void clear_has_type();
2258 inline void set_has_engine();
2259 inline void clear_has_engine();
2260 inline void set_has_options();
2261 inline void clear_has_options();
2262 inline void set_has_creation_timestamp();
2263 inline void clear_has_creation_timestamp();
2264 inline void set_has_update_timestamp();
2265 inline void clear_has_update_timestamp();
2266 inline void set_has_catalog();
2267 inline void clear_has_catalog();
2268 inline void set_has_uuid();
2269 inline void clear_has_uuid();
2270 inline void set_has_version();
2271 inline void clear_has_version();
2272 inline void set_has_replication_options();
2273 inline void clear_has_replication_options();
2274 inline void set_has_access();
2275 inline void clear_has_access();
2277 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2279 ::std::string* name_;
2280 ::std::string* schema_;
2282 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > field_;
2283 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index > indexes_;
2284 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint > fk_constraint_;
2286 ::google::protobuf::uint64 creation_timestamp_;
2287 ::google::protobuf::uint64 update_timestamp_;
2288 ::std::string* catalog_;
2289 ::std::string* uuid_;
2290 ::google::protobuf::uint64 version_;
2295 mutable int _cached_size_;
2296 ::google::protobuf::uint32 _has_bits_[(15 + 31) / 32];
2298 friend void protobuf_AddDesc_table_2eproto();
2299 friend void protobuf_AssignDesc_table_2eproto();
2300 friend void protobuf_ShutdownFile_table_2eproto();
2302 void InitAsDefaultInstance();
2303 static Table* default_instance_;
2319 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2320 return _unknown_fields_;
2323 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2324 return &_unknown_fields_;
2327 static const ::google::protobuf::Descriptor* descriptor();
2335 void CopyFrom(const ::google::protobuf::Message& from);
2336 void MergeFrom(const ::google::protobuf::Message& from);
2340 bool IsInitialized()
const;
2342 int ByteSize()
const;
2343 bool MergePartialFromCodedStream(
2344 ::google::protobuf::io::CodedInputStream* input);
2345 void SerializeWithCachedSizes(
2346 ::google::protobuf::io::CodedOutputStream* output)
const;
2347 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
2348 int GetCachedSize()
const {
return _cached_size_; }
2352 void SetCachedSize(
int size)
const;
2355 ::google::protobuf::Metadata GetMetadata()
const;
2362 inline int added_field_size()
const;
2363 inline void clear_added_field();
2364 static const int kAddedFieldFieldNumber = 1;
2365 inline const ::drizzled::message::Table_Field& added_field(
int index)
const;
2366 inline ::drizzled::message::Table_Field* mutable_added_field(
int index);
2367 inline ::drizzled::message::Table_Field* add_added_field();
2368 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
2369 added_field()
const;
2370 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
2371 mutable_added_field();
2376 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2378 ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > added_field_;
2380 mutable int _cached_size_;
2381 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
2383 friend void protobuf_AddDesc_table_2eproto();
2384 friend void protobuf_AssignDesc_table_2eproto();
2385 friend void protobuf_ShutdownFile_table_2eproto();
2387 void InitAsDefaultInstance();
2398 inline bool Table_TableOptions::has_has_user_set_auto_increment_value()
const {
2399 return (_has_bits_[0] & 0x00000001u) != 0;
2401 inline void Table_TableOptions::set_has_has_user_set_auto_increment_value() {
2402 _has_bits_[0] |= 0x00000001u;
2404 inline void Table_TableOptions::clear_has_has_user_set_auto_increment_value() {
2405 _has_bits_[0] &= ~0x00000001u;
2407 inline void Table_TableOptions::clear_has_user_set_auto_increment_value() {
2408 has_user_set_auto_increment_value_ =
false;
2409 clear_has_has_user_set_auto_increment_value();
2411 inline bool Table_TableOptions::has_user_set_auto_increment_value()
const {
2412 return has_user_set_auto_increment_value_;
2414 inline void Table_TableOptions::set_has_user_set_auto_increment_value(
bool value) {
2415 set_has_has_user_set_auto_increment_value();
2416 has_user_set_auto_increment_value_ = value;
2420 inline bool Table_TableOptions::has_collation()
const {
2421 return (_has_bits_[0] & 0x00000002u) != 0;
2423 inline void Table_TableOptions::set_has_collation() {
2424 _has_bits_[0] |= 0x00000002u;
2426 inline void Table_TableOptions::clear_has_collation() {
2427 _has_bits_[0] &= ~0x00000002u;
2429 inline void Table_TableOptions::clear_collation() {
2430 if (collation_ != &::google::protobuf::internal::kEmptyString) {
2431 collation_->clear();
2433 clear_has_collation();
2435 inline const ::std::string& Table_TableOptions::collation()
const {
2438 inline void Table_TableOptions::set_collation(const ::std::string& value) {
2439 set_has_collation();
2440 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2441 collation_ = new ::std::string;
2443 collation_->assign(value);
2445 inline void Table_TableOptions::set_collation(
const char* value) {
2446 set_has_collation();
2447 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2448 collation_ = new ::std::string;
2450 collation_->assign(value);
2452 inline void Table_TableOptions::set_collation(
const char* value,
size_t size) {
2453 set_has_collation();
2454 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2455 collation_ = new ::std::string;
2457 collation_->assign(reinterpret_cast<const char*>(value), size);
2459 inline ::std::string* Table_TableOptions::mutable_collation() {
2460 set_has_collation();
2461 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2462 collation_ = new ::std::string;
2466 inline ::std::string* Table_TableOptions::release_collation() {
2467 clear_has_collation();
2468 if (collation_ == &::google::protobuf::internal::kEmptyString) {
2471 ::std::string* temp = collation_;
2472 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2476 inline void Table_TableOptions::set_allocated_collation(::std::string* collation) {
2477 if (collation_ != &::google::protobuf::internal::kEmptyString) {
2481 set_has_collation();
2482 collation_ = collation;
2484 clear_has_collation();
2485 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2490 inline bool Table_TableOptions::has_collation_id()
const {
2491 return (_has_bits_[0] & 0x00000004u) != 0;
2493 inline void Table_TableOptions::set_has_collation_id() {
2494 _has_bits_[0] |= 0x00000004u;
2496 inline void Table_TableOptions::clear_has_collation_id() {
2497 _has_bits_[0] &= ~0x00000004u;
2499 inline void Table_TableOptions::clear_collation_id() {
2501 clear_has_collation_id();
2503 inline ::google::protobuf::uint32 Table_TableOptions::collation_id()
const {
2504 return collation_id_;
2506 inline void Table_TableOptions::set_collation_id(::google::protobuf::uint32 value) {
2507 set_has_collation_id();
2508 collation_id_ = value;
2512 inline bool Table_TableOptions::has_data_file_name()
const {
2513 return (_has_bits_[0] & 0x00000008u) != 0;
2515 inline void Table_TableOptions::set_has_data_file_name() {
2516 _has_bits_[0] |= 0x00000008u;
2518 inline void Table_TableOptions::clear_has_data_file_name() {
2519 _has_bits_[0] &= ~0x00000008u;
2521 inline void Table_TableOptions::clear_data_file_name() {
2522 if (data_file_name_ != &::google::protobuf::internal::kEmptyString) {
2523 data_file_name_->clear();
2525 clear_has_data_file_name();
2527 inline const ::std::string& Table_TableOptions::data_file_name()
const {
2528 return *data_file_name_;
2530 inline void Table_TableOptions::set_data_file_name(const ::std::string& value) {
2531 set_has_data_file_name();
2532 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2533 data_file_name_ = new ::std::string;
2535 data_file_name_->assign(value);
2537 inline void Table_TableOptions::set_data_file_name(
const char* value) {
2538 set_has_data_file_name();
2539 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2540 data_file_name_ = new ::std::string;
2542 data_file_name_->assign(value);
2544 inline void Table_TableOptions::set_data_file_name(
const char* value,
size_t size) {
2545 set_has_data_file_name();
2546 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2547 data_file_name_ = new ::std::string;
2549 data_file_name_->assign(reinterpret_cast<const char*>(value), size);
2551 inline ::std::string* Table_TableOptions::mutable_data_file_name() {
2552 set_has_data_file_name();
2553 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2554 data_file_name_ = new ::std::string;
2556 return data_file_name_;
2558 inline ::std::string* Table_TableOptions::release_data_file_name() {
2559 clear_has_data_file_name();
2560 if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2563 ::std::string* temp = data_file_name_;
2564 data_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2568 inline void Table_TableOptions::set_allocated_data_file_name(::std::string* data_file_name) {
2569 if (data_file_name_ != &::google::protobuf::internal::kEmptyString) {
2570 delete data_file_name_;
2572 if (data_file_name) {
2573 set_has_data_file_name();
2574 data_file_name_ = data_file_name;
2576 clear_has_data_file_name();
2577 data_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2582 inline bool Table_TableOptions::has_index_file_name()
const {
2583 return (_has_bits_[0] & 0x00000010u) != 0;
2585 inline void Table_TableOptions::set_has_index_file_name() {
2586 _has_bits_[0] |= 0x00000010u;
2588 inline void Table_TableOptions::clear_has_index_file_name() {
2589 _has_bits_[0] &= ~0x00000010u;
2591 inline void Table_TableOptions::clear_index_file_name() {
2592 if (index_file_name_ != &::google::protobuf::internal::kEmptyString) {
2593 index_file_name_->clear();
2595 clear_has_index_file_name();
2597 inline const ::std::string& Table_TableOptions::index_file_name()
const {
2598 return *index_file_name_;
2600 inline void Table_TableOptions::set_index_file_name(const ::std::string& value) {
2601 set_has_index_file_name();
2602 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2603 index_file_name_ = new ::std::string;
2605 index_file_name_->assign(value);
2607 inline void Table_TableOptions::set_index_file_name(
const char* value) {
2608 set_has_index_file_name();
2609 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2610 index_file_name_ = new ::std::string;
2612 index_file_name_->assign(value);
2614 inline void Table_TableOptions::set_index_file_name(
const char* value,
size_t size) {
2615 set_has_index_file_name();
2616 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2617 index_file_name_ = new ::std::string;
2619 index_file_name_->assign(reinterpret_cast<const char*>(value), size);
2621 inline ::std::string* Table_TableOptions::mutable_index_file_name() {
2622 set_has_index_file_name();
2623 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2624 index_file_name_ = new ::std::string;
2626 return index_file_name_;
2628 inline ::std::string* Table_TableOptions::release_index_file_name() {
2629 clear_has_index_file_name();
2630 if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2633 ::std::string* temp = index_file_name_;
2634 index_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2638 inline void Table_TableOptions::set_allocated_index_file_name(::std::string* index_file_name) {
2639 if (index_file_name_ != &::google::protobuf::internal::kEmptyString) {
2640 delete index_file_name_;
2642 if (index_file_name) {
2643 set_has_index_file_name();
2644 index_file_name_ = index_file_name;
2646 clear_has_index_file_name();
2647 index_file_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2652 inline bool Table_TableOptions::has_max_rows()
const {
2653 return (_has_bits_[0] & 0x00000020u) != 0;
2655 inline void Table_TableOptions::set_has_max_rows() {
2656 _has_bits_[0] |= 0x00000020u;
2658 inline void Table_TableOptions::clear_has_max_rows() {
2659 _has_bits_[0] &= ~0x00000020u;
2661 inline void Table_TableOptions::clear_max_rows() {
2662 max_rows_ = GOOGLE_ULONGLONG(0);
2663 clear_has_max_rows();
2665 inline ::google::protobuf::uint64 Table_TableOptions::max_rows()
const {
2668 inline void Table_TableOptions::set_max_rows(::google::protobuf::uint64 value) {
2674 inline bool Table_TableOptions::has_min_rows()
const {
2675 return (_has_bits_[0] & 0x00000040u) != 0;
2677 inline void Table_TableOptions::set_has_min_rows() {
2678 _has_bits_[0] |= 0x00000040u;
2680 inline void Table_TableOptions::clear_has_min_rows() {
2681 _has_bits_[0] &= ~0x00000040u;
2683 inline void Table_TableOptions::clear_min_rows() {
2684 min_rows_ = GOOGLE_ULONGLONG(0);
2685 clear_has_min_rows();
2687 inline ::google::protobuf::uint64 Table_TableOptions::min_rows()
const {
2690 inline void Table_TableOptions::set_min_rows(::google::protobuf::uint64 value) {
2696 inline bool Table_TableOptions::has_auto_increment_value()
const {
2697 return (_has_bits_[0] & 0x00000080u) != 0;
2699 inline void Table_TableOptions::set_has_auto_increment_value() {
2700 _has_bits_[0] |= 0x00000080u;
2702 inline void Table_TableOptions::clear_has_auto_increment_value() {
2703 _has_bits_[0] &= ~0x00000080u;
2705 inline void Table_TableOptions::clear_auto_increment_value() {
2706 auto_increment_value_ = GOOGLE_ULONGLONG(0);
2707 clear_has_auto_increment_value();
2709 inline ::google::protobuf::uint64 Table_TableOptions::auto_increment_value()
const {
2710 return auto_increment_value_;
2712 inline void Table_TableOptions::set_auto_increment_value(::google::protobuf::uint64 value) {
2713 set_has_auto_increment_value();
2714 auto_increment_value_ = value;
2718 inline bool Table_TableOptions::has_avg_row_length()
const {
2719 return (_has_bits_[0] & 0x00000100u) != 0;
2721 inline void Table_TableOptions::set_has_avg_row_length() {
2722 _has_bits_[0] |= 0x00000100u;
2724 inline void Table_TableOptions::clear_has_avg_row_length() {
2725 _has_bits_[0] &= ~0x00000100u;
2727 inline void Table_TableOptions::clear_avg_row_length() {
2728 avg_row_length_ = 0u;
2729 clear_has_avg_row_length();
2731 inline ::google::protobuf::uint32 Table_TableOptions::avg_row_length()
const {
2732 return avg_row_length_;
2734 inline void Table_TableOptions::set_avg_row_length(::google::protobuf::uint32 value) {
2735 set_has_avg_row_length();
2736 avg_row_length_ = value;
2740 inline bool Table_TableOptions::has_block_size()
const {
2741 return (_has_bits_[0] & 0x00000200u) != 0;
2743 inline void Table_TableOptions::set_has_block_size() {
2744 _has_bits_[0] |= 0x00000200u;
2746 inline void Table_TableOptions::clear_has_block_size() {
2747 _has_bits_[0] &= ~0x00000200u;
2749 inline void Table_TableOptions::clear_block_size() {
2751 clear_has_block_size();
2753 inline ::google::protobuf::uint32 Table_TableOptions::block_size()
const {
2756 inline void Table_TableOptions::set_block_size(::google::protobuf::uint32 value) {
2757 set_has_block_size();
2758 block_size_ = value;
2762 inline bool Table_TableOptions::has_comment()
const {
2763 return (_has_bits_[0] & 0x00000400u) != 0;
2765 inline void Table_TableOptions::set_has_comment() {
2766 _has_bits_[0] |= 0x00000400u;
2768 inline void Table_TableOptions::clear_has_comment() {
2769 _has_bits_[0] &= ~0x00000400u;
2771 inline void Table_TableOptions::clear_comment() {
2772 if (comment_ != &::google::protobuf::internal::kEmptyString) {
2775 clear_has_comment();
2777 inline const ::std::string& Table_TableOptions::comment()
const {
2780 inline void Table_TableOptions::set_comment(const ::std::string& value) {
2782 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2783 comment_ = new ::std::string;
2785 comment_->assign(value);
2787 inline void Table_TableOptions::set_comment(
const char* value) {
2789 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2790 comment_ = new ::std::string;
2792 comment_->assign(value);
2794 inline void Table_TableOptions::set_comment(
const char* value,
size_t size) {
2796 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2797 comment_ = new ::std::string;
2799 comment_->assign(reinterpret_cast<const char*>(value), size);
2801 inline ::std::string* Table_TableOptions::mutable_comment() {
2803 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2804 comment_ = new ::std::string;
2808 inline ::std::string* Table_TableOptions::release_comment() {
2809 clear_has_comment();
2810 if (comment_ == &::google::protobuf::internal::kEmptyString) {
2813 ::std::string* temp = comment_;
2814 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2818 inline void Table_TableOptions::set_allocated_comment(::std::string* comment) {
2819 if (comment_ != &::google::protobuf::internal::kEmptyString) {
2826 clear_has_comment();
2827 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
2832 inline bool Table_TableOptions::has_pack_record()
const {
2833 return (_has_bits_[0] & 0x00000800u) != 0;
2835 inline void Table_TableOptions::set_has_pack_record() {
2836 _has_bits_[0] |= 0x00000800u;
2838 inline void Table_TableOptions::clear_has_pack_record() {
2839 _has_bits_[0] &= ~0x00000800u;
2841 inline void Table_TableOptions::clear_pack_record() {
2842 pack_record_ =
false;
2843 clear_has_pack_record();
2845 inline bool Table_TableOptions::pack_record()
const {
2846 return pack_record_;
2848 inline void Table_TableOptions::set_pack_record(
bool value) {
2849 set_has_pack_record();
2850 pack_record_ = value;
2854 inline bool Table_TableOptions::has_checksum()
const {
2855 return (_has_bits_[0] & 0x00001000u) != 0;
2857 inline void Table_TableOptions::set_has_checksum() {
2858 _has_bits_[0] |= 0x00001000u;
2860 inline void Table_TableOptions::clear_has_checksum() {
2861 _has_bits_[0] &= ~0x00001000u;
2863 inline void Table_TableOptions::clear_checksum() {
2865 clear_has_checksum();
2867 inline bool Table_TableOptions::checksum()
const {
2870 inline void Table_TableOptions::set_checksum(
bool value) {
2876 inline bool Table_TableOptions::has_page_checksum()
const {
2877 return (_has_bits_[0] & 0x00002000u) != 0;
2879 inline void Table_TableOptions::set_has_page_checksum() {
2880 _has_bits_[0] |= 0x00002000u;
2882 inline void Table_TableOptions::clear_has_page_checksum() {
2883 _has_bits_[0] &= ~0x00002000u;
2885 inline void Table_TableOptions::clear_page_checksum() {
2886 page_checksum_ =
false;
2887 clear_has_page_checksum();
2889 inline bool Table_TableOptions::page_checksum()
const {
2890 return page_checksum_;
2892 inline void Table_TableOptions::set_page_checksum(
bool value) {
2893 set_has_page_checksum();
2894 page_checksum_ = value;
2898 inline bool Table_TableOptions::has_delay_key_write()
const {
2899 return (_has_bits_[0] & 0x00004000u) != 0;
2901 inline void Table_TableOptions::set_has_delay_key_write() {
2902 _has_bits_[0] |= 0x00004000u;
2904 inline void Table_TableOptions::clear_has_delay_key_write() {
2905 _has_bits_[0] &= ~0x00004000u;
2907 inline void Table_TableOptions::clear_delay_key_write() {
2908 delay_key_write_ =
false;
2909 clear_has_delay_key_write();
2911 inline bool Table_TableOptions::delay_key_write()
const {
2912 return delay_key_write_;
2914 inline void Table_TableOptions::set_delay_key_write(
bool value) {
2915 set_has_delay_key_write();
2916 delay_key_write_ = value;
2920 inline bool Table_TableOptions::has_unused()
const {
2921 return (_has_bits_[0] & 0x00008000u) != 0;
2923 inline void Table_TableOptions::set_has_unused() {
2924 _has_bits_[0] |= 0x00008000u;
2926 inline void Table_TableOptions::clear_has_unused() {
2927 _has_bits_[0] &= ~0x00008000u;
2929 inline void Table_TableOptions::clear_unused() {
2933 inline bool Table_TableOptions::unused()
const {
2936 inline void Table_TableOptions::set_unused(
bool value) {
2946 inline bool Table_ForeignKeyConstraint::has_name()
const {
2947 return (_has_bits_[0] & 0x00000001u) != 0;
2949 inline void Table_ForeignKeyConstraint::set_has_name() {
2950 _has_bits_[0] |= 0x00000001u;
2952 inline void Table_ForeignKeyConstraint::clear_has_name() {
2953 _has_bits_[0] &= ~0x00000001u;
2955 inline void Table_ForeignKeyConstraint::clear_name() {
2956 if (name_ != &::google::protobuf::internal::kEmptyString) {
2961 inline const ::std::string& Table_ForeignKeyConstraint::name()
const {
2964 inline void Table_ForeignKeyConstraint::set_name(const ::std::string& value) {
2966 if (name_ == &::google::protobuf::internal::kEmptyString) {
2967 name_ = new ::std::string;
2969 name_->assign(value);
2971 inline void Table_ForeignKeyConstraint::set_name(
const char* value) {
2973 if (name_ == &::google::protobuf::internal::kEmptyString) {
2974 name_ = new ::std::string;
2976 name_->assign(value);
2978 inline void Table_ForeignKeyConstraint::set_name(
const char* value,
size_t size) {
2980 if (name_ == &::google::protobuf::internal::kEmptyString) {
2981 name_ = new ::std::string;
2983 name_->assign(reinterpret_cast<const char*>(value), size);
2985 inline ::std::string* Table_ForeignKeyConstraint::mutable_name() {
2987 if (name_ == &::google::protobuf::internal::kEmptyString) {
2988 name_ = new ::std::string;
2992 inline ::std::string* Table_ForeignKeyConstraint::release_name() {
2994 if (name_ == &::google::protobuf::internal::kEmptyString) {
2997 ::std::string* temp = name_;
2998 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3002 inline void Table_ForeignKeyConstraint::set_allocated_name(::std::string* name) {
3003 if (name_ != &::google::protobuf::internal::kEmptyString) {
3011 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3016 inline int Table_ForeignKeyConstraint::column_names_size()
const {
3017 return column_names_.size();
3019 inline void Table_ForeignKeyConstraint::clear_column_names() {
3020 column_names_.Clear();
3022 inline const ::std::string& Table_ForeignKeyConstraint::column_names(
int index)
const {
3023 return column_names_.Get(index);
3025 inline ::std::string* Table_ForeignKeyConstraint::mutable_column_names(
int index) {
3026 return column_names_.Mutable(index);
3028 inline void Table_ForeignKeyConstraint::set_column_names(
int index, const ::std::string& value) {
3029 column_names_.Mutable(index)->assign(value);
3031 inline void Table_ForeignKeyConstraint::set_column_names(
int index,
const char* value) {
3032 column_names_.Mutable(index)->assign(value);
3034 inline void Table_ForeignKeyConstraint::set_column_names(
int index,
const char* value,
size_t size) {
3035 column_names_.Mutable(index)->assign(
3036 reinterpret_cast<const char*>(value), size);
3038 inline ::std::string* Table_ForeignKeyConstraint::add_column_names() {
3039 return column_names_.Add();
3041 inline void Table_ForeignKeyConstraint::add_column_names(const ::std::string& value) {
3042 column_names_.Add()->assign(value);
3044 inline void Table_ForeignKeyConstraint::add_column_names(
const char* value) {
3045 column_names_.Add()->assign(value);
3047 inline void Table_ForeignKeyConstraint::add_column_names(
const char* value,
size_t size) {
3048 column_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
3050 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3051 Table_ForeignKeyConstraint::column_names()
const {
3052 return column_names_;
3054 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3055 Table_ForeignKeyConstraint::mutable_column_names() {
3056 return &column_names_;
3060 inline bool Table_ForeignKeyConstraint::has_references_table_name()
const {
3061 return (_has_bits_[0] & 0x00000004u) != 0;
3063 inline void Table_ForeignKeyConstraint::set_has_references_table_name() {
3064 _has_bits_[0] |= 0x00000004u;
3066 inline void Table_ForeignKeyConstraint::clear_has_references_table_name() {
3067 _has_bits_[0] &= ~0x00000004u;
3069 inline void Table_ForeignKeyConstraint::clear_references_table_name() {
3070 if (references_table_name_ != &::google::protobuf::internal::kEmptyString) {
3071 references_table_name_->clear();
3073 clear_has_references_table_name();
3075 inline const ::std::string& Table_ForeignKeyConstraint::references_table_name()
const {
3076 return *references_table_name_;
3078 inline void Table_ForeignKeyConstraint::set_references_table_name(const ::std::string& value) {
3079 set_has_references_table_name();
3080 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3081 references_table_name_ = new ::std::string;
3083 references_table_name_->assign(value);
3085 inline void Table_ForeignKeyConstraint::set_references_table_name(
const char* value) {
3086 set_has_references_table_name();
3087 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3088 references_table_name_ = new ::std::string;
3090 references_table_name_->assign(value);
3092 inline void Table_ForeignKeyConstraint::set_references_table_name(
const char* value,
size_t size) {
3093 set_has_references_table_name();
3094 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3095 references_table_name_ = new ::std::string;
3097 references_table_name_->assign(reinterpret_cast<const char*>(value), size);
3099 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_table_name() {
3100 set_has_references_table_name();
3101 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3102 references_table_name_ = new ::std::string;
3104 return references_table_name_;
3106 inline ::std::string* Table_ForeignKeyConstraint::release_references_table_name() {
3107 clear_has_references_table_name();
3108 if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3111 ::std::string* temp = references_table_name_;
3112 references_table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3116 inline void Table_ForeignKeyConstraint::set_allocated_references_table_name(::std::string* references_table_name) {
3117 if (references_table_name_ != &::google::protobuf::internal::kEmptyString) {
3118 delete references_table_name_;
3120 if (references_table_name) {
3121 set_has_references_table_name();
3122 references_table_name_ = references_table_name;
3124 clear_has_references_table_name();
3125 references_table_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3130 inline int Table_ForeignKeyConstraint::references_columns_size()
const {
3131 return references_columns_.size();
3133 inline void Table_ForeignKeyConstraint::clear_references_columns() {
3134 references_columns_.Clear();
3136 inline const ::std::string& Table_ForeignKeyConstraint::references_columns(
int index)
const {
3137 return references_columns_.Get(index);
3139 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_columns(
int index) {
3140 return references_columns_.Mutable(index);
3142 inline void Table_ForeignKeyConstraint::set_references_columns(
int index, const ::std::string& value) {
3143 references_columns_.Mutable(index)->assign(value);
3145 inline void Table_ForeignKeyConstraint::set_references_columns(
int index,
const char* value) {
3146 references_columns_.Mutable(index)->assign(value);
3148 inline void Table_ForeignKeyConstraint::set_references_columns(
int index,
const char* value,
size_t size) {
3149 references_columns_.Mutable(index)->assign(
3150 reinterpret_cast<const char*>(value), size);
3152 inline ::std::string* Table_ForeignKeyConstraint::add_references_columns() {
3153 return references_columns_.Add();
3155 inline void Table_ForeignKeyConstraint::add_references_columns(const ::std::string& value) {
3156 references_columns_.Add()->assign(value);
3158 inline void Table_ForeignKeyConstraint::add_references_columns(
const char* value) {
3159 references_columns_.Add()->assign(value);
3161 inline void Table_ForeignKeyConstraint::add_references_columns(
const char* value,
size_t size) {
3162 references_columns_.Add()->assign(reinterpret_cast<const char*>(value), size);
3164 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3165 Table_ForeignKeyConstraint::references_columns()
const {
3166 return references_columns_;
3168 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3169 Table_ForeignKeyConstraint::mutable_references_columns() {
3170 return &references_columns_;
3174 inline bool Table_ForeignKeyConstraint::has_match()
const {
3175 return (_has_bits_[0] & 0x00000010u) != 0;
3177 inline void Table_ForeignKeyConstraint::set_has_match() {
3178 _has_bits_[0] |= 0x00000010u;
3180 inline void Table_ForeignKeyConstraint::clear_has_match() {
3181 _has_bits_[0] &= ~0x00000010u;
3183 inline void Table_ForeignKeyConstraint::clear_match() {
3187 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::match()
const {
3188 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption
>(match_);
3190 inline void Table_ForeignKeyConstraint::set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
3191 assert(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value));
3197 inline bool Table_ForeignKeyConstraint::has_update_option()
const {
3198 return (_has_bits_[0] & 0x00000020u) != 0;
3200 inline void Table_ForeignKeyConstraint::set_has_update_option() {
3201 _has_bits_[0] |= 0x00000020u;
3203 inline void Table_ForeignKeyConstraint::clear_has_update_option() {
3204 _has_bits_[0] &= ~0x00000020u;
3206 inline void Table_ForeignKeyConstraint::clear_update_option() {
3208 clear_has_update_option();
3210 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::update_option()
const {
3211 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption
>(update_option_);
3213 inline void Table_ForeignKeyConstraint::set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
3214 assert(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
3215 set_has_update_option();
3216 update_option_ = value;
3220 inline bool Table_ForeignKeyConstraint::has_delete_option()
const {
3221 return (_has_bits_[0] & 0x00000040u) != 0;
3223 inline void Table_ForeignKeyConstraint::set_has_delete_option() {
3224 _has_bits_[0] |= 0x00000040u;
3226 inline void Table_ForeignKeyConstraint::clear_has_delete_option() {
3227 _has_bits_[0] &= ~0x00000040u;
3229 inline void Table_ForeignKeyConstraint::clear_delete_option() {
3231 clear_has_delete_option();
3233 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::delete_option()
const {
3234 return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption
>(delete_option_);
3236 inline void Table_ForeignKeyConstraint::set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
3237 assert(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
3238 set_has_delete_option();
3239 delete_option_ = value;
3247 inline bool Table_Field_FieldOptions::has_default_value()
const {
3248 return (_has_bits_[0] & 0x00000001u) != 0;
3250 inline void Table_Field_FieldOptions::set_has_default_value() {
3251 _has_bits_[0] |= 0x00000001u;
3253 inline void Table_Field_FieldOptions::clear_has_default_value() {
3254 _has_bits_[0] &= ~0x00000001u;
3256 inline void Table_Field_FieldOptions::clear_default_value() {
3257 if (default_value_ != &::google::protobuf::internal::kEmptyString) {
3258 default_value_->clear();
3260 clear_has_default_value();
3262 inline const ::std::string& Table_Field_FieldOptions::default_value()
const {
3263 return *default_value_;
3265 inline void Table_Field_FieldOptions::set_default_value(const ::std::string& value) {
3266 set_has_default_value();
3267 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3268 default_value_ = new ::std::string;
3270 default_value_->assign(value);
3272 inline void Table_Field_FieldOptions::set_default_value(
const char* value) {
3273 set_has_default_value();
3274 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3275 default_value_ = new ::std::string;
3277 default_value_->assign(value);
3279 inline void Table_Field_FieldOptions::set_default_value(
const char* value,
size_t size) {
3280 set_has_default_value();
3281 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3282 default_value_ = new ::std::string;
3284 default_value_->assign(reinterpret_cast<const char*>(value), size);
3286 inline ::std::string* Table_Field_FieldOptions::mutable_default_value() {
3287 set_has_default_value();
3288 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3289 default_value_ = new ::std::string;
3291 return default_value_;
3293 inline ::std::string* Table_Field_FieldOptions::release_default_value() {
3294 clear_has_default_value();
3295 if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3298 ::std::string* temp = default_value_;
3299 default_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3303 inline void Table_Field_FieldOptions::set_allocated_default_value(::std::string* default_value) {
3304 if (default_value_ != &::google::protobuf::internal::kEmptyString) {
3305 delete default_value_;
3307 if (default_value) {
3308 set_has_default_value();
3309 default_value_ = default_value;
3311 clear_has_default_value();
3312 default_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3317 inline bool Table_Field_FieldOptions::has_update_value()
const {
3318 return (_has_bits_[0] & 0x00000002u) != 0;
3320 inline void Table_Field_FieldOptions::set_has_update_value() {
3321 _has_bits_[0] |= 0x00000002u;
3323 inline void Table_Field_FieldOptions::clear_has_update_value() {
3324 _has_bits_[0] &= ~0x00000002u;
3326 inline void Table_Field_FieldOptions::clear_update_value() {
3327 if (update_value_ != &::google::protobuf::internal::kEmptyString) {
3328 update_value_->clear();
3330 clear_has_update_value();
3332 inline const ::std::string& Table_Field_FieldOptions::update_value()
const {
3333 return *update_value_;
3335 inline void Table_Field_FieldOptions::set_update_value(const ::std::string& value) {
3336 set_has_update_value();
3337 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3338 update_value_ = new ::std::string;
3340 update_value_->assign(value);
3342 inline void Table_Field_FieldOptions::set_update_value(
const char* value) {
3343 set_has_update_value();
3344 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3345 update_value_ = new ::std::string;
3347 update_value_->assign(value);
3349 inline void Table_Field_FieldOptions::set_update_value(
const char* value,
size_t size) {
3350 set_has_update_value();
3351 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3352 update_value_ = new ::std::string;
3354 update_value_->assign(reinterpret_cast<const char*>(value), size);
3356 inline ::std::string* Table_Field_FieldOptions::mutable_update_value() {
3357 set_has_update_value();
3358 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3359 update_value_ = new ::std::string;
3361 return update_value_;
3363 inline ::std::string* Table_Field_FieldOptions::release_update_value() {
3364 clear_has_update_value();
3365 if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3368 ::std::string* temp = update_value_;
3369 update_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3373 inline void Table_Field_FieldOptions::set_allocated_update_value(::std::string* update_value) {
3374 if (update_value_ != &::google::protobuf::internal::kEmptyString) {
3375 delete update_value_;
3378 set_has_update_value();
3379 update_value_ = update_value;
3381 clear_has_update_value();
3382 update_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3387 inline bool Table_Field_FieldOptions::has_default_null()
const {
3388 return (_has_bits_[0] & 0x00000004u) != 0;
3390 inline void Table_Field_FieldOptions::set_has_default_null() {
3391 _has_bits_[0] |= 0x00000004u;
3393 inline void Table_Field_FieldOptions::clear_has_default_null() {
3394 _has_bits_[0] &= ~0x00000004u;
3396 inline void Table_Field_FieldOptions::clear_default_null() {
3397 default_null_ =
false;
3398 clear_has_default_null();
3400 inline bool Table_Field_FieldOptions::default_null()
const {
3401 return default_null_;
3403 inline void Table_Field_FieldOptions::set_default_null(
bool value) {
3404 set_has_default_null();
3405 default_null_ = value;
3409 inline bool Table_Field_FieldOptions::has_default_bin_value()
const {
3410 return (_has_bits_[0] & 0x00000008u) != 0;
3412 inline void Table_Field_FieldOptions::set_has_default_bin_value() {
3413 _has_bits_[0] |= 0x00000008u;
3415 inline void Table_Field_FieldOptions::clear_has_default_bin_value() {
3416 _has_bits_[0] &= ~0x00000008u;
3418 inline void Table_Field_FieldOptions::clear_default_bin_value() {
3419 if (default_bin_value_ != &::google::protobuf::internal::kEmptyString) {
3420 default_bin_value_->clear();
3422 clear_has_default_bin_value();
3424 inline const ::std::string& Table_Field_FieldOptions::default_bin_value()
const {
3425 return *default_bin_value_;
3427 inline void Table_Field_FieldOptions::set_default_bin_value(const ::std::string& value) {
3428 set_has_default_bin_value();
3429 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3430 default_bin_value_ = new ::std::string;
3432 default_bin_value_->assign(value);
3434 inline void Table_Field_FieldOptions::set_default_bin_value(
const char* value) {
3435 set_has_default_bin_value();
3436 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3437 default_bin_value_ = new ::std::string;
3439 default_bin_value_->assign(value);
3441 inline void Table_Field_FieldOptions::set_default_bin_value(
const void* value,
size_t size) {
3442 set_has_default_bin_value();
3443 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3444 default_bin_value_ = new ::std::string;
3446 default_bin_value_->assign(reinterpret_cast<const char*>(value), size);
3448 inline ::std::string* Table_Field_FieldOptions::mutable_default_bin_value() {
3449 set_has_default_bin_value();
3450 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3451 default_bin_value_ = new ::std::string;
3453 return default_bin_value_;
3455 inline ::std::string* Table_Field_FieldOptions::release_default_bin_value() {
3456 clear_has_default_bin_value();
3457 if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3460 ::std::string* temp = default_bin_value_;
3461 default_bin_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3465 inline void Table_Field_FieldOptions::set_allocated_default_bin_value(::std::string* default_bin_value) {
3466 if (default_bin_value_ != &::google::protobuf::internal::kEmptyString) {
3467 delete default_bin_value_;
3469 if (default_bin_value) {
3470 set_has_default_bin_value();
3471 default_bin_value_ = default_bin_value;
3473 clear_has_default_bin_value();
3474 default_bin_value_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3479 inline bool Table_Field_FieldOptions::has_default_expression()
const {
3480 return (_has_bits_[0] & 0x00000010u) != 0;
3482 inline void Table_Field_FieldOptions::set_has_default_expression() {
3483 _has_bits_[0] |= 0x00000010u;
3485 inline void Table_Field_FieldOptions::clear_has_default_expression() {
3486 _has_bits_[0] &= ~0x00000010u;
3488 inline void Table_Field_FieldOptions::clear_default_expression() {
3489 if (default_expression_ != &::google::protobuf::internal::kEmptyString) {
3490 default_expression_->clear();
3492 clear_has_default_expression();
3494 inline const ::std::string& Table_Field_FieldOptions::default_expression()
const {
3495 return *default_expression_;
3497 inline void Table_Field_FieldOptions::set_default_expression(const ::std::string& value) {
3498 set_has_default_expression();
3499 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3500 default_expression_ = new ::std::string;
3502 default_expression_->assign(value);
3504 inline void Table_Field_FieldOptions::set_default_expression(
const char* value) {
3505 set_has_default_expression();
3506 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3507 default_expression_ = new ::std::string;
3509 default_expression_->assign(value);
3511 inline void Table_Field_FieldOptions::set_default_expression(
const char* value,
size_t size) {
3512 set_has_default_expression();
3513 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3514 default_expression_ = new ::std::string;
3516 default_expression_->assign(reinterpret_cast<const char*>(value), size);
3518 inline ::std::string* Table_Field_FieldOptions::mutable_default_expression() {
3519 set_has_default_expression();
3520 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3521 default_expression_ = new ::std::string;
3523 return default_expression_;
3525 inline ::std::string* Table_Field_FieldOptions::release_default_expression() {
3526 clear_has_default_expression();
3527 if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3530 ::std::string* temp = default_expression_;
3531 default_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3535 inline void Table_Field_FieldOptions::set_allocated_default_expression(::std::string* default_expression) {
3536 if (default_expression_ != &::google::protobuf::internal::kEmptyString) {
3537 delete default_expression_;
3539 if (default_expression) {
3540 set_has_default_expression();
3541 default_expression_ = default_expression;
3543 clear_has_default_expression();
3544 default_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3549 inline bool Table_Field_FieldOptions::has_update_expression()
const {
3550 return (_has_bits_[0] & 0x00000020u) != 0;
3552 inline void Table_Field_FieldOptions::set_has_update_expression() {
3553 _has_bits_[0] |= 0x00000020u;
3555 inline void Table_Field_FieldOptions::clear_has_update_expression() {
3556 _has_bits_[0] &= ~0x00000020u;
3558 inline void Table_Field_FieldOptions::clear_update_expression() {
3559 if (update_expression_ != &::google::protobuf::internal::kEmptyString) {
3560 update_expression_->clear();
3562 clear_has_update_expression();
3564 inline const ::std::string& Table_Field_FieldOptions::update_expression()
const {
3565 return *update_expression_;
3567 inline void Table_Field_FieldOptions::set_update_expression(const ::std::string& value) {
3568 set_has_update_expression();
3569 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3570 update_expression_ = new ::std::string;
3572 update_expression_->assign(value);
3574 inline void Table_Field_FieldOptions::set_update_expression(
const char* value) {
3575 set_has_update_expression();
3576 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3577 update_expression_ = new ::std::string;
3579 update_expression_->assign(value);
3581 inline void Table_Field_FieldOptions::set_update_expression(
const char* value,
size_t size) {
3582 set_has_update_expression();
3583 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3584 update_expression_ = new ::std::string;
3586 update_expression_->assign(reinterpret_cast<const char*>(value), size);
3588 inline ::std::string* Table_Field_FieldOptions::mutable_update_expression() {
3589 set_has_update_expression();
3590 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3591 update_expression_ = new ::std::string;
3593 return update_expression_;
3595 inline ::std::string* Table_Field_FieldOptions::release_update_expression() {
3596 clear_has_update_expression();
3597 if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3600 ::std::string* temp = update_expression_;
3601 update_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3605 inline void Table_Field_FieldOptions::set_allocated_update_expression(::std::string* update_expression) {
3606 if (update_expression_ != &::google::protobuf::internal::kEmptyString) {
3607 delete update_expression_;
3609 if (update_expression) {
3610 set_has_update_expression();
3611 update_expression_ = update_expression;
3613 clear_has_update_expression();
3614 update_expression_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3623 inline bool Table_Field_FieldConstraints::has_is_nullable()
const {
3624 return (_has_bits_[0] & 0x00000001u) != 0;
3626 inline void Table_Field_FieldConstraints::set_has_is_nullable() {
3627 _has_bits_[0] |= 0x00000001u;
3629 inline void Table_Field_FieldConstraints::clear_has_is_nullable() {
3630 _has_bits_[0] &= ~0x00000001u;
3632 inline void Table_Field_FieldConstraints::clear_is_nullable() {
3633 is_nullable_ =
true;
3634 clear_has_is_nullable();
3636 inline bool Table_Field_FieldConstraints::is_nullable()
const {
3637 return is_nullable_;
3639 inline void Table_Field_FieldConstraints::set_is_nullable(
bool value) {
3640 set_has_is_nullable();
3641 is_nullable_ = value;
3645 inline bool Table_Field_FieldConstraints::has_is_unsigned()
const {
3646 return (_has_bits_[0] & 0x00000002u) != 0;
3648 inline void Table_Field_FieldConstraints::set_has_is_unsigned() {
3649 _has_bits_[0] |= 0x00000002u;
3651 inline void Table_Field_FieldConstraints::clear_has_is_unsigned() {
3652 _has_bits_[0] &= ~0x00000002u;
3654 inline void Table_Field_FieldConstraints::clear_is_unsigned() {
3655 is_unsigned_ =
false;
3656 clear_has_is_unsigned();
3658 inline bool Table_Field_FieldConstraints::is_unsigned()
const {
3659 return is_unsigned_;
3661 inline void Table_Field_FieldConstraints::set_is_unsigned(
bool value) {
3662 set_has_is_unsigned();
3663 is_unsigned_ = value;
3667 inline bool Table_Field_FieldConstraints::has_is_notnull()
const {
3668 return (_has_bits_[0] & 0x00000004u) != 0;
3670 inline void Table_Field_FieldConstraints::set_has_is_notnull() {
3671 _has_bits_[0] |= 0x00000004u;
3673 inline void Table_Field_FieldConstraints::clear_has_is_notnull() {
3674 _has_bits_[0] &= ~0x00000004u;
3676 inline void Table_Field_FieldConstraints::clear_is_notnull() {
3677 is_notnull_ =
false;
3678 clear_has_is_notnull();
3680 inline bool Table_Field_FieldConstraints::is_notnull()
const {
3683 inline void Table_Field_FieldConstraints::set_is_notnull(
bool value) {
3684 set_has_is_notnull();
3685 is_notnull_ = value;
3689 inline bool Table_Field_FieldConstraints::has_is_unique()
const {
3690 return (_has_bits_[0] & 0x00000008u) != 0;
3692 inline void Table_Field_FieldConstraints::set_has_is_unique() {
3693 _has_bits_[0] |= 0x00000008u;
3695 inline void Table_Field_FieldConstraints::clear_has_is_unique() {
3696 _has_bits_[0] &= ~0x00000008u;
3698 inline void Table_Field_FieldConstraints::clear_is_unique() {
3700 clear_has_is_unique();
3702 inline bool Table_Field_FieldConstraints::is_unique()
const {
3705 inline void Table_Field_FieldConstraints::set_is_unique(
bool value) {
3706 set_has_is_unique();
3711 inline int Table_Field_FieldConstraints::expression_size()
const {
3712 return expression_.size();
3714 inline void Table_Field_FieldConstraints::clear_expression() {
3715 expression_.Clear();
3717 inline const ::std::string& Table_Field_FieldConstraints::expression(
int index)
const {
3718 return expression_.Get(index);
3720 inline ::std::string* Table_Field_FieldConstraints::mutable_expression(
int index) {
3721 return expression_.Mutable(index);
3723 inline void Table_Field_FieldConstraints::set_expression(
int index, const ::std::string& value) {
3724 expression_.Mutable(index)->assign(value);
3726 inline void Table_Field_FieldConstraints::set_expression(
int index,
const char* value) {
3727 expression_.Mutable(index)->assign(value);
3729 inline void Table_Field_FieldConstraints::set_expression(
int index,
const char* value,
size_t size) {
3730 expression_.Mutable(index)->assign(
3731 reinterpret_cast<const char*>(value), size);
3733 inline ::std::string* Table_Field_FieldConstraints::add_expression() {
3734 return expression_.Add();
3736 inline void Table_Field_FieldConstraints::add_expression(const ::std::string& value) {
3737 expression_.Add()->assign(value);
3739 inline void Table_Field_FieldConstraints::add_expression(
const char* value) {
3740 expression_.Add()->assign(value);
3742 inline void Table_Field_FieldConstraints::add_expression(
const char* value,
size_t size) {
3743 expression_.Add()->assign(reinterpret_cast<const char*>(value), size);
3745 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3746 Table_Field_FieldConstraints::expression()
const {
3749 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3750 Table_Field_FieldConstraints::mutable_expression() {
3751 return &expression_;
3759 inline bool Table_Field_NumericFieldOptions::has_is_autoincrement()
const {
3760 return (_has_bits_[0] & 0x00000001u) != 0;
3762 inline void Table_Field_NumericFieldOptions::set_has_is_autoincrement() {
3763 _has_bits_[0] |= 0x00000001u;
3765 inline void Table_Field_NumericFieldOptions::clear_has_is_autoincrement() {
3766 _has_bits_[0] &= ~0x00000001u;
3768 inline void Table_Field_NumericFieldOptions::clear_is_autoincrement() {
3769 is_autoincrement_ =
false;
3770 clear_has_is_autoincrement();
3772 inline bool Table_Field_NumericFieldOptions::is_autoincrement()
const {
3773 return is_autoincrement_;
3775 inline void Table_Field_NumericFieldOptions::set_is_autoincrement(
bool value) {
3776 set_has_is_autoincrement();
3777 is_autoincrement_ = value;
3781 inline bool Table_Field_NumericFieldOptions::has_scale()
const {
3782 return (_has_bits_[0] & 0x00000002u) != 0;
3784 inline void Table_Field_NumericFieldOptions::set_has_scale() {
3785 _has_bits_[0] |= 0x00000002u;
3787 inline void Table_Field_NumericFieldOptions::clear_has_scale() {
3788 _has_bits_[0] &= ~0x00000002u;
3790 inline void Table_Field_NumericFieldOptions::clear_scale() {
3794 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::scale()
const {
3797 inline void Table_Field_NumericFieldOptions::set_scale(::google::protobuf::uint32 value) {
3803 inline bool Table_Field_NumericFieldOptions::has_precision()
const {
3804 return (_has_bits_[0] & 0x00000004u) != 0;
3806 inline void Table_Field_NumericFieldOptions::set_has_precision() {
3807 _has_bits_[0] |= 0x00000004u;
3809 inline void Table_Field_NumericFieldOptions::clear_has_precision() {
3810 _has_bits_[0] &= ~0x00000004u;
3812 inline void Table_Field_NumericFieldOptions::clear_precision() {
3814 clear_has_precision();
3816 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::precision()
const {
3819 inline void Table_Field_NumericFieldOptions::set_precision(::google::protobuf::uint32 value) {
3820 set_has_precision();
3829 inline bool Table_Field_StringFieldOptions::has_is_fixed_width()
const {
3830 return (_has_bits_[0] & 0x00000001u) != 0;
3832 inline void Table_Field_StringFieldOptions::set_has_is_fixed_width() {
3833 _has_bits_[0] |= 0x00000001u;
3835 inline void Table_Field_StringFieldOptions::clear_has_is_fixed_width() {
3836 _has_bits_[0] &= ~0x00000001u;
3838 inline void Table_Field_StringFieldOptions::clear_is_fixed_width() {
3839 is_fixed_width_ =
false;
3840 clear_has_is_fixed_width();
3842 inline bool Table_Field_StringFieldOptions::is_fixed_width()
const {
3843 return is_fixed_width_;
3845 inline void Table_Field_StringFieldOptions::set_is_fixed_width(
bool value) {
3846 set_has_is_fixed_width();
3847 is_fixed_width_ = value;
3851 inline bool Table_Field_StringFieldOptions::has_length()
const {
3852 return (_has_bits_[0] & 0x00000002u) != 0;
3854 inline void Table_Field_StringFieldOptions::set_has_length() {
3855 _has_bits_[0] |= 0x00000002u;
3857 inline void Table_Field_StringFieldOptions::clear_has_length() {
3858 _has_bits_[0] &= ~0x00000002u;
3860 inline void Table_Field_StringFieldOptions::clear_length() {
3864 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::length()
const {
3867 inline void Table_Field_StringFieldOptions::set_length(::google::protobuf::uint32 value) {
3873 inline bool Table_Field_StringFieldOptions::has_collation_id()
const {
3874 return (_has_bits_[0] & 0x00000004u) != 0;
3876 inline void Table_Field_StringFieldOptions::set_has_collation_id() {
3877 _has_bits_[0] |= 0x00000004u;
3879 inline void Table_Field_StringFieldOptions::clear_has_collation_id() {
3880 _has_bits_[0] &= ~0x00000004u;
3882 inline void Table_Field_StringFieldOptions::clear_collation_id() {
3884 clear_has_collation_id();
3886 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::collation_id()
const {
3887 return collation_id_;
3889 inline void Table_Field_StringFieldOptions::set_collation_id(::google::protobuf::uint32 value) {
3890 set_has_collation_id();
3891 collation_id_ = value;
3895 inline bool Table_Field_StringFieldOptions::has_collation()
const {
3896 return (_has_bits_[0] & 0x00000008u) != 0;
3898 inline void Table_Field_StringFieldOptions::set_has_collation() {
3899 _has_bits_[0] |= 0x00000008u;
3901 inline void Table_Field_StringFieldOptions::clear_has_collation() {
3902 _has_bits_[0] &= ~0x00000008u;
3904 inline void Table_Field_StringFieldOptions::clear_collation() {
3905 if (collation_ != &::google::protobuf::internal::kEmptyString) {
3906 collation_->clear();
3908 clear_has_collation();
3910 inline const ::std::string& Table_Field_StringFieldOptions::collation()
const {
3913 inline void Table_Field_StringFieldOptions::set_collation(const ::std::string& value) {
3914 set_has_collation();
3915 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3916 collation_ = new ::std::string;
3918 collation_->assign(value);
3920 inline void Table_Field_StringFieldOptions::set_collation(
const char* value) {
3921 set_has_collation();
3922 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3923 collation_ = new ::std::string;
3925 collation_->assign(value);
3927 inline void Table_Field_StringFieldOptions::set_collation(
const char* value,
size_t size) {
3928 set_has_collation();
3929 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3930 collation_ = new ::std::string;
3932 collation_->assign(reinterpret_cast<const char*>(value), size);
3934 inline ::std::string* Table_Field_StringFieldOptions::mutable_collation() {
3935 set_has_collation();
3936 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3937 collation_ = new ::std::string;
3941 inline ::std::string* Table_Field_StringFieldOptions::release_collation() {
3942 clear_has_collation();
3943 if (collation_ == &::google::protobuf::internal::kEmptyString) {
3946 ::std::string* temp = collation_;
3947 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3951 inline void Table_Field_StringFieldOptions::set_allocated_collation(::std::string* collation) {
3952 if (collation_ != &::google::protobuf::internal::kEmptyString) {
3956 set_has_collation();
3957 collation_ = collation;
3959 clear_has_collation();
3960 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
3969 inline bool Table_Field_EnumerationValues::has_collation_id()
const {
3970 return (_has_bits_[0] & 0x00000001u) != 0;
3972 inline void Table_Field_EnumerationValues::set_has_collation_id() {
3973 _has_bits_[0] |= 0x00000001u;
3975 inline void Table_Field_EnumerationValues::clear_has_collation_id() {
3976 _has_bits_[0] &= ~0x00000001u;
3978 inline void Table_Field_EnumerationValues::clear_collation_id() {
3980 clear_has_collation_id();
3982 inline ::google::protobuf::uint32 Table_Field_EnumerationValues::collation_id()
const {
3983 return collation_id_;
3985 inline void Table_Field_EnumerationValues::set_collation_id(::google::protobuf::uint32 value) {
3986 set_has_collation_id();
3987 collation_id_ = value;
3991 inline bool Table_Field_EnumerationValues::has_collation()
const {
3992 return (_has_bits_[0] & 0x00000002u) != 0;
3994 inline void Table_Field_EnumerationValues::set_has_collation() {
3995 _has_bits_[0] |= 0x00000002u;
3997 inline void Table_Field_EnumerationValues::clear_has_collation() {
3998 _has_bits_[0] &= ~0x00000002u;
4000 inline void Table_Field_EnumerationValues::clear_collation() {
4001 if (collation_ != &::google::protobuf::internal::kEmptyString) {
4002 collation_->clear();
4004 clear_has_collation();
4006 inline const ::std::string& Table_Field_EnumerationValues::collation()
const {
4009 inline void Table_Field_EnumerationValues::set_collation(const ::std::string& value) {
4010 set_has_collation();
4011 if (collation_ == &::google::protobuf::internal::kEmptyString) {
4012 collation_ = new ::std::string;
4014 collation_->assign(value);
4016 inline void Table_Field_EnumerationValues::set_collation(
const char* value) {
4017 set_has_collation();
4018 if (collation_ == &::google::protobuf::internal::kEmptyString) {
4019 collation_ = new ::std::string;
4021 collation_->assign(value);
4023 inline void Table_Field_EnumerationValues::set_collation(
const char* value,
size_t size) {
4024 set_has_collation();
4025 if (collation_ == &::google::protobuf::internal::kEmptyString) {
4026 collation_ = new ::std::string;
4028 collation_->assign(reinterpret_cast<const char*>(value), size);
4030 inline ::std::string* Table_Field_EnumerationValues::mutable_collation() {
4031 set_has_collation();
4032 if (collation_ == &::google::protobuf::internal::kEmptyString) {
4033 collation_ = new ::std::string;
4037 inline ::std::string* Table_Field_EnumerationValues::release_collation() {
4038 clear_has_collation();
4039 if (collation_ == &::google::protobuf::internal::kEmptyString) {
4042 ::std::string* temp = collation_;
4043 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4047 inline void Table_Field_EnumerationValues::set_allocated_collation(::std::string* collation) {
4048 if (collation_ != &::google::protobuf::internal::kEmptyString) {
4052 set_has_collation();
4053 collation_ = collation;
4055 clear_has_collation();
4056 collation_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4061 inline int Table_Field_EnumerationValues::field_value_size()
const {
4062 return field_value_.size();
4064 inline void Table_Field_EnumerationValues::clear_field_value() {
4065 field_value_.Clear();
4067 inline const ::std::string& Table_Field_EnumerationValues::field_value(
int index)
const {
4068 return field_value_.Get(index);
4070 inline ::std::string* Table_Field_EnumerationValues::mutable_field_value(
int index) {
4071 return field_value_.Mutable(index);
4073 inline void Table_Field_EnumerationValues::set_field_value(
int index, const ::std::string& value) {
4074 field_value_.Mutable(index)->assign(value);
4076 inline void Table_Field_EnumerationValues::set_field_value(
int index,
const char* value) {
4077 field_value_.Mutable(index)->assign(value);
4079 inline void Table_Field_EnumerationValues::set_field_value(
int index,
const char* value,
size_t size) {
4080 field_value_.Mutable(index)->assign(
4081 reinterpret_cast<const char*>(value), size);
4083 inline ::std::string* Table_Field_EnumerationValues::add_field_value() {
4084 return field_value_.Add();
4086 inline void Table_Field_EnumerationValues::add_field_value(const ::std::string& value) {
4087 field_value_.Add()->assign(value);
4089 inline void Table_Field_EnumerationValues::add_field_value(
const char* value) {
4090 field_value_.Add()->assign(value);
4092 inline void Table_Field_EnumerationValues::add_field_value(
const char* value,
size_t size) {
4093 field_value_.Add()->assign(reinterpret_cast<const char*>(value), size);
4095 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
4096 Table_Field_EnumerationValues::field_value()
const {
4097 return field_value_;
4099 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
4100 Table_Field_EnumerationValues::mutable_field_value() {
4101 return &field_value_;
4109 inline bool Table_Field_TimeFieldOptions::has_microseconds()
const {
4110 return (_has_bits_[0] & 0x00000001u) != 0;
4112 inline void Table_Field_TimeFieldOptions::set_has_microseconds() {
4113 _has_bits_[0] |= 0x00000001u;
4115 inline void Table_Field_TimeFieldOptions::clear_has_microseconds() {
4116 _has_bits_[0] &= ~0x00000001u;
4118 inline void Table_Field_TimeFieldOptions::clear_microseconds() {
4119 microseconds_ =
false;
4120 clear_has_microseconds();
4122 inline bool Table_Field_TimeFieldOptions::microseconds()
const {
4123 return microseconds_;
4125 inline void Table_Field_TimeFieldOptions::set_microseconds(
bool value) {
4126 set_has_microseconds();
4127 microseconds_ = value;
4135 inline bool Table_Field::has_name()
const {
4136 return (_has_bits_[0] & 0x00000001u) != 0;
4138 inline void Table_Field::set_has_name() {
4139 _has_bits_[0] |= 0x00000001u;
4141 inline void Table_Field::clear_has_name() {
4142 _has_bits_[0] &= ~0x00000001u;
4144 inline void Table_Field::clear_name() {
4145 if (name_ != &::google::protobuf::internal::kEmptyString) {
4150 inline const ::std::string& Table_Field::name()
const {
4153 inline void Table_Field::set_name(const ::std::string& value) {
4155 if (name_ == &::google::protobuf::internal::kEmptyString) {
4156 name_ = new ::std::string;
4158 name_->assign(value);
4160 inline void Table_Field::set_name(
const char* value) {
4162 if (name_ == &::google::protobuf::internal::kEmptyString) {
4163 name_ = new ::std::string;
4165 name_->assign(value);
4167 inline void Table_Field::set_name(
const char* value,
size_t size) {
4169 if (name_ == &::google::protobuf::internal::kEmptyString) {
4170 name_ = new ::std::string;
4172 name_->assign(reinterpret_cast<const char*>(value), size);
4174 inline ::std::string* Table_Field::mutable_name() {
4176 if (name_ == &::google::protobuf::internal::kEmptyString) {
4177 name_ = new ::std::string;
4181 inline ::std::string* Table_Field::release_name() {
4183 if (name_ == &::google::protobuf::internal::kEmptyString) {
4186 ::std::string* temp = name_;
4187 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4191 inline void Table_Field::set_allocated_name(::std::string* name) {
4192 if (name_ != &::google::protobuf::internal::kEmptyString) {
4200 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4205 inline bool Table_Field::has_type()
const {
4206 return (_has_bits_[0] & 0x00000002u) != 0;
4208 inline void Table_Field::set_has_type() {
4209 _has_bits_[0] |= 0x00000002u;
4211 inline void Table_Field::clear_has_type() {
4212 _has_bits_[0] &= ~0x00000002u;
4214 inline void Table_Field::clear_type() {
4218 inline ::drizzled::message::Table_Field_FieldType Table_Field::type()
const {
4219 return static_cast< ::drizzled::message::Table_Field_FieldType
>(type_);
4221 inline void Table_Field::set_type(::drizzled::message::Table_Field_FieldType value) {
4222 assert(::drizzled::message::Table_Field_FieldType_IsValid(value));
4228 inline bool Table_Field::has_options()
const {
4229 return (_has_bits_[0] & 0x00000004u) != 0;
4231 inline void Table_Field::set_has_options() {
4232 _has_bits_[0] |= 0x00000004u;
4234 inline void Table_Field::clear_has_options() {
4235 _has_bits_[0] &= ~0x00000004u;
4237 inline void Table_Field::clear_options() {
4238 if (options_ != NULL) options_->::drizzled::message::Table_Field_FieldOptions::Clear();
4239 clear_has_options();
4241 inline const ::drizzled::message::Table_Field_FieldOptions& Table_Field::options()
const {
4242 return options_ != NULL ? *options_ : *default_instance_->options_;
4244 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::mutable_options() {
4246 if (options_ == NULL) options_ = new ::drizzled::message::Table_Field_FieldOptions;
4249 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::release_options() {
4250 clear_has_options();
4261 clear_has_options();
4266 inline bool Table_Field::has_constraints()
const {
4267 return (_has_bits_[0] & 0x00000008u) != 0;
4269 inline void Table_Field::set_has_constraints() {
4270 _has_bits_[0] |= 0x00000008u;
4272 inline void Table_Field::clear_has_constraints() {
4273 _has_bits_[0] &= ~0x00000008u;
4275 inline void Table_Field::clear_constraints() {
4276 if (constraints_ != NULL) constraints_->::drizzled::message::Table_Field_FieldConstraints::Clear();
4277 clear_has_constraints();
4279 inline const ::drizzled::message::Table_Field_FieldConstraints& Table_Field::constraints()
const {
4280 return constraints_ != NULL ? *constraints_ : *default_instance_->constraints_;
4282 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::mutable_constraints() {
4283 set_has_constraints();
4284 if (constraints_ == NULL) constraints_ = new ::drizzled::message::Table_Field_FieldConstraints;
4285 return constraints_;
4287 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::release_constraints() {
4288 clear_has_constraints();
4290 constraints_ = NULL;
4294 delete constraints_;
4295 constraints_ = constraints;
4297 set_has_constraints();
4299 clear_has_constraints();
4304 inline bool Table_Field::has_numeric_options()
const {
4305 return (_has_bits_[0] & 0x00000010u) != 0;
4307 inline void Table_Field::set_has_numeric_options() {
4308 _has_bits_[0] |= 0x00000010u;
4310 inline void Table_Field::clear_has_numeric_options() {
4311 _has_bits_[0] &= ~0x00000010u;
4313 inline void Table_Field::clear_numeric_options() {
4314 if (numeric_options_ != NULL) numeric_options_->::drizzled::message::Table_Field_NumericFieldOptions::Clear();
4315 clear_has_numeric_options();
4317 inline const ::drizzled::message::Table_Field_NumericFieldOptions& Table_Field::numeric_options()
const {
4318 return numeric_options_ != NULL ? *numeric_options_ : *default_instance_->numeric_options_;
4320 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::mutable_numeric_options() {
4321 set_has_numeric_options();
4322 if (numeric_options_ == NULL) numeric_options_ = new ::drizzled::message::Table_Field_NumericFieldOptions;
4323 return numeric_options_;
4325 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::release_numeric_options() {
4326 clear_has_numeric_options();
4328 numeric_options_ = NULL;
4332 delete numeric_options_;
4333 numeric_options_ = numeric_options;
4334 if (numeric_options) {
4335 set_has_numeric_options();
4337 clear_has_numeric_options();
4342 inline bool Table_Field::has_string_options()
const {
4343 return (_has_bits_[0] & 0x00000020u) != 0;
4345 inline void Table_Field::set_has_string_options() {
4346 _has_bits_[0] |= 0x00000020u;
4348 inline void Table_Field::clear_has_string_options() {
4349 _has_bits_[0] &= ~0x00000020u;
4351 inline void Table_Field::clear_string_options() {
4352 if (string_options_ != NULL) string_options_->::drizzled::message::Table_Field_StringFieldOptions::Clear();
4353 clear_has_string_options();
4355 inline const ::drizzled::message::Table_Field_StringFieldOptions& Table_Field::string_options()
const {
4356 return string_options_ != NULL ? *string_options_ : *default_instance_->string_options_;
4358 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::mutable_string_options() {
4359 set_has_string_options();
4360 if (string_options_ == NULL) string_options_ = new ::drizzled::message::Table_Field_StringFieldOptions;
4361 return string_options_;
4363 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::release_string_options() {
4364 clear_has_string_options();
4366 string_options_ = NULL;
4370 delete string_options_;
4371 string_options_ = string_options;
4372 if (string_options) {
4373 set_has_string_options();
4375 clear_has_string_options();
4380 inline bool Table_Field::has_time_options()
const {
4381 return (_has_bits_[0] & 0x00000040u) != 0;
4383 inline void Table_Field::set_has_time_options() {
4384 _has_bits_[0] |= 0x00000040u;
4386 inline void Table_Field::clear_has_time_options() {
4387 _has_bits_[0] &= ~0x00000040u;
4389 inline void Table_Field::clear_time_options() {
4390 if (time_options_ != NULL) time_options_->::drizzled::message::Table_Field_TimeFieldOptions::Clear();
4391 clear_has_time_options();
4393 inline const ::drizzled::message::Table_Field_TimeFieldOptions& Table_Field::time_options()
const {
4394 return time_options_ != NULL ? *time_options_ : *default_instance_->time_options_;
4396 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::mutable_time_options() {
4397 set_has_time_options();
4398 if (time_options_ == NULL) time_options_ = new ::drizzled::message::Table_Field_TimeFieldOptions;
4399 return time_options_;
4401 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::release_time_options() {
4402 clear_has_time_options();
4404 time_options_ = NULL;
4408 delete time_options_;
4409 time_options_ = time_options;
4411 set_has_time_options();
4413 clear_has_time_options();
4418 inline bool Table_Field::has_comment()
const {
4419 return (_has_bits_[0] & 0x00000080u) != 0;
4421 inline void Table_Field::set_has_comment() {
4422 _has_bits_[0] |= 0x00000080u;
4424 inline void Table_Field::clear_has_comment() {
4425 _has_bits_[0] &= ~0x00000080u;
4427 inline void Table_Field::clear_comment() {
4428 if (comment_ != &::google::protobuf::internal::kEmptyString) {
4431 clear_has_comment();
4433 inline const ::std::string& Table_Field::comment()
const {
4436 inline void Table_Field::set_comment(const ::std::string& value) {
4438 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4439 comment_ = new ::std::string;
4441 comment_->assign(value);
4443 inline void Table_Field::set_comment(
const char* value) {
4445 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4446 comment_ = new ::std::string;
4448 comment_->assign(value);
4450 inline void Table_Field::set_comment(
const char* value,
size_t size) {
4452 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4453 comment_ = new ::std::string;
4455 comment_->assign(reinterpret_cast<const char*>(value), size);
4457 inline ::std::string* Table_Field::mutable_comment() {
4459 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4460 comment_ = new ::std::string;
4464 inline ::std::string* Table_Field::release_comment() {
4465 clear_has_comment();
4466 if (comment_ == &::google::protobuf::internal::kEmptyString) {
4469 ::std::string* temp = comment_;
4470 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4474 inline void Table_Field::set_allocated_comment(::std::string* comment) {
4475 if (comment_ != &::google::protobuf::internal::kEmptyString) {
4482 clear_has_comment();
4483 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4488 inline bool Table_Field::has_enumeration_values()
const {
4489 return (_has_bits_[0] & 0x00000100u) != 0;
4491 inline void Table_Field::set_has_enumeration_values() {
4492 _has_bits_[0] |= 0x00000100u;
4494 inline void Table_Field::clear_has_enumeration_values() {
4495 _has_bits_[0] &= ~0x00000100u;
4497 inline void Table_Field::clear_enumeration_values() {
4498 if (enumeration_values_ != NULL) enumeration_values_->::drizzled::message::Table_Field_EnumerationValues::Clear();
4499 clear_has_enumeration_values();
4501 inline const ::drizzled::message::Table_Field_EnumerationValues& Table_Field::enumeration_values()
const {
4502 return enumeration_values_ != NULL ? *enumeration_values_ : *default_instance_->enumeration_values_;
4504 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::mutable_enumeration_values() {
4505 set_has_enumeration_values();
4506 if (enumeration_values_ == NULL) enumeration_values_ = new ::drizzled::message::Table_Field_EnumerationValues;
4507 return enumeration_values_;
4509 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::release_enumeration_values() {
4510 clear_has_enumeration_values();
4512 enumeration_values_ = NULL;
4516 delete enumeration_values_;
4517 enumeration_values_ = enumeration_values;
4518 if (enumeration_values) {
4519 set_has_enumeration_values();
4521 clear_has_enumeration_values();
4530 inline bool Table_Index_IndexPart::has_fieldnr()
const {
4531 return (_has_bits_[0] & 0x00000001u) != 0;
4533 inline void Table_Index_IndexPart::set_has_fieldnr() {
4534 _has_bits_[0] |= 0x00000001u;
4536 inline void Table_Index_IndexPart::clear_has_fieldnr() {
4537 _has_bits_[0] &= ~0x00000001u;
4539 inline void Table_Index_IndexPart::clear_fieldnr() {
4541 clear_has_fieldnr();
4543 inline ::google::protobuf::uint32 Table_Index_IndexPart::fieldnr()
const {
4546 inline void Table_Index_IndexPart::set_fieldnr(::google::protobuf::uint32 value) {
4552 inline bool Table_Index_IndexPart::has_compare_length()
const {
4553 return (_has_bits_[0] & 0x00000002u) != 0;
4555 inline void Table_Index_IndexPart::set_has_compare_length() {
4556 _has_bits_[0] |= 0x00000002u;
4558 inline void Table_Index_IndexPart::clear_has_compare_length() {
4559 _has_bits_[0] &= ~0x00000002u;
4561 inline void Table_Index_IndexPart::clear_compare_length() {
4562 compare_length_ = 0u;
4563 clear_has_compare_length();
4565 inline ::google::protobuf::uint32 Table_Index_IndexPart::compare_length()
const {
4566 return compare_length_;
4568 inline void Table_Index_IndexPart::set_compare_length(::google::protobuf::uint32 value) {
4569 set_has_compare_length();
4570 compare_length_ = value;
4574 inline bool Table_Index_IndexPart::has_in_reverse_order()
const {
4575 return (_has_bits_[0] & 0x00000004u) != 0;
4577 inline void Table_Index_IndexPart::set_has_in_reverse_order() {
4578 _has_bits_[0] |= 0x00000004u;
4580 inline void Table_Index_IndexPart::clear_has_in_reverse_order() {
4581 _has_bits_[0] &= ~0x00000004u;
4583 inline void Table_Index_IndexPart::clear_in_reverse_order() {
4584 in_reverse_order_ =
false;
4585 clear_has_in_reverse_order();
4587 inline bool Table_Index_IndexPart::in_reverse_order()
const {
4588 return in_reverse_order_;
4590 inline void Table_Index_IndexPart::set_in_reverse_order(
bool value) {
4591 set_has_in_reverse_order();
4592 in_reverse_order_ = value;
4600 inline bool Table_Index_Options::has_pack_key()
const {
4601 return (_has_bits_[0] & 0x00000001u) != 0;
4603 inline void Table_Index_Options::set_has_pack_key() {
4604 _has_bits_[0] |= 0x00000001u;
4606 inline void Table_Index_Options::clear_has_pack_key() {
4607 _has_bits_[0] &= ~0x00000001u;
4609 inline void Table_Index_Options::clear_pack_key() {
4611 clear_has_pack_key();
4613 inline bool Table_Index_Options::pack_key()
const {
4616 inline void Table_Index_Options::set_pack_key(
bool value) {
4622 inline bool Table_Index_Options::has_binary_pack_key()
const {
4623 return (_has_bits_[0] & 0x00000002u) != 0;
4625 inline void Table_Index_Options::set_has_binary_pack_key() {
4626 _has_bits_[0] |= 0x00000002u;
4628 inline void Table_Index_Options::clear_has_binary_pack_key() {
4629 _has_bits_[0] &= ~0x00000002u;
4631 inline void Table_Index_Options::clear_binary_pack_key() {
4632 binary_pack_key_ =
false;
4633 clear_has_binary_pack_key();
4635 inline bool Table_Index_Options::binary_pack_key()
const {
4636 return binary_pack_key_;
4638 inline void Table_Index_Options::set_binary_pack_key(
bool value) {
4639 set_has_binary_pack_key();
4640 binary_pack_key_ = value;
4644 inline bool Table_Index_Options::has_var_length_key()
const {
4645 return (_has_bits_[0] & 0x00000004u) != 0;
4647 inline void Table_Index_Options::set_has_var_length_key() {
4648 _has_bits_[0] |= 0x00000004u;
4650 inline void Table_Index_Options::clear_has_var_length_key() {
4651 _has_bits_[0] &= ~0x00000004u;
4653 inline void Table_Index_Options::clear_var_length_key() {
4654 var_length_key_ =
false;
4655 clear_has_var_length_key();
4657 inline bool Table_Index_Options::var_length_key()
const {
4658 return var_length_key_;
4660 inline void Table_Index_Options::set_var_length_key(
bool value) {
4661 set_has_var_length_key();
4662 var_length_key_ = value;
4666 inline bool Table_Index_Options::has_null_part_key()
const {
4667 return (_has_bits_[0] & 0x00000008u) != 0;
4669 inline void Table_Index_Options::set_has_null_part_key() {
4670 _has_bits_[0] |= 0x00000008u;
4672 inline void Table_Index_Options::clear_has_null_part_key() {
4673 _has_bits_[0] &= ~0x00000008u;
4675 inline void Table_Index_Options::clear_null_part_key() {
4676 null_part_key_ =
false;
4677 clear_has_null_part_key();
4679 inline bool Table_Index_Options::null_part_key()
const {
4680 return null_part_key_;
4682 inline void Table_Index_Options::set_null_part_key(
bool value) {
4683 set_has_null_part_key();
4684 null_part_key_ = value;
4688 inline bool Table_Index_Options::has_key_block_size()
const {
4689 return (_has_bits_[0] & 0x00000010u) != 0;
4691 inline void Table_Index_Options::set_has_key_block_size() {
4692 _has_bits_[0] |= 0x00000010u;
4694 inline void Table_Index_Options::clear_has_key_block_size() {
4695 _has_bits_[0] &= ~0x00000010u;
4697 inline void Table_Index_Options::clear_key_block_size() {
4698 key_block_size_ = 0u;
4699 clear_has_key_block_size();
4701 inline ::google::protobuf::uint32 Table_Index_Options::key_block_size()
const {
4702 return key_block_size_;
4704 inline void Table_Index_Options::set_key_block_size(::google::protobuf::uint32 value) {
4705 set_has_key_block_size();
4706 key_block_size_ = value;
4710 inline bool Table_Index_Options::has_has_partial_segments()
const {
4711 return (_has_bits_[0] & 0x00000020u) != 0;
4713 inline void Table_Index_Options::set_has_has_partial_segments() {
4714 _has_bits_[0] |= 0x00000020u;
4716 inline void Table_Index_Options::clear_has_has_partial_segments() {
4717 _has_bits_[0] &= ~0x00000020u;
4719 inline void Table_Index_Options::clear_has_partial_segments() {
4720 has_partial_segments_ =
false;
4721 clear_has_has_partial_segments();
4723 inline bool Table_Index_Options::has_partial_segments()
const {
4724 return has_partial_segments_;
4726 inline void Table_Index_Options::set_has_partial_segments(
bool value) {
4727 set_has_has_partial_segments();
4728 has_partial_segments_ = value;
4732 inline bool Table_Index_Options::has_auto_generated_key()
const {
4733 return (_has_bits_[0] & 0x00000040u) != 0;
4735 inline void Table_Index_Options::set_has_auto_generated_key() {
4736 _has_bits_[0] |= 0x00000040u;
4738 inline void Table_Index_Options::clear_has_auto_generated_key() {
4739 _has_bits_[0] &= ~0x00000040u;
4741 inline void Table_Index_Options::clear_auto_generated_key() {
4742 auto_generated_key_ =
false;
4743 clear_has_auto_generated_key();
4745 inline bool Table_Index_Options::auto_generated_key()
const {
4746 return auto_generated_key_;
4748 inline void Table_Index_Options::set_auto_generated_key(
bool value) {
4749 set_has_auto_generated_key();
4750 auto_generated_key_ = value;
4758 inline bool Table_Index::has_name()
const {
4759 return (_has_bits_[0] & 0x00000001u) != 0;
4761 inline void Table_Index::set_has_name() {
4762 _has_bits_[0] |= 0x00000001u;
4764 inline void Table_Index::clear_has_name() {
4765 _has_bits_[0] &= ~0x00000001u;
4767 inline void Table_Index::clear_name() {
4768 if (name_ != &::google::protobuf::internal::kEmptyString) {
4773 inline const ::std::string& Table_Index::name()
const {
4776 inline void Table_Index::set_name(const ::std::string& value) {
4778 if (name_ == &::google::protobuf::internal::kEmptyString) {
4779 name_ = new ::std::string;
4781 name_->assign(value);
4783 inline void Table_Index::set_name(
const char* value) {
4785 if (name_ == &::google::protobuf::internal::kEmptyString) {
4786 name_ = new ::std::string;
4788 name_->assign(value);
4790 inline void Table_Index::set_name(
const char* value,
size_t size) {
4792 if (name_ == &::google::protobuf::internal::kEmptyString) {
4793 name_ = new ::std::string;
4795 name_->assign(reinterpret_cast<const char*>(value), size);
4797 inline ::std::string* Table_Index::mutable_name() {
4799 if (name_ == &::google::protobuf::internal::kEmptyString) {
4800 name_ = new ::std::string;
4804 inline ::std::string* Table_Index::release_name() {
4806 if (name_ == &::google::protobuf::internal::kEmptyString) {
4809 ::std::string* temp = name_;
4810 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4814 inline void Table_Index::set_allocated_name(::std::string* name) {
4815 if (name_ != &::google::protobuf::internal::kEmptyString) {
4823 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
4828 inline bool Table_Index::has_is_primary()
const {
4829 return (_has_bits_[0] & 0x00000002u) != 0;
4831 inline void Table_Index::set_has_is_primary() {
4832 _has_bits_[0] |= 0x00000002u;
4834 inline void Table_Index::clear_has_is_primary() {
4835 _has_bits_[0] &= ~0x00000002u;
4837 inline void Table_Index::clear_is_primary() {
4838 is_primary_ =
false;
4839 clear_has_is_primary();
4841 inline bool Table_Index::is_primary()
const {
4844 inline void Table_Index::set_is_primary(
bool value) {
4845 set_has_is_primary();
4846 is_primary_ = value;
4850 inline bool Table_Index::has_is_unique()
const {
4851 return (_has_bits_[0] & 0x00000004u) != 0;
4853 inline void Table_Index::set_has_is_unique() {
4854 _has_bits_[0] |= 0x00000004u;
4856 inline void Table_Index::clear_has_is_unique() {
4857 _has_bits_[0] &= ~0x00000004u;
4859 inline void Table_Index::clear_is_unique() {
4861 clear_has_is_unique();
4863 inline bool Table_Index::is_unique()
const {
4866 inline void Table_Index::set_is_unique(
bool value) {
4867 set_has_is_unique();
4872 inline bool Table_Index::has_type()
const {
4873 return (_has_bits_[0] & 0x00000008u) != 0;
4875 inline void Table_Index::set_has_type() {
4876 _has_bits_[0] |= 0x00000008u;
4878 inline void Table_Index::clear_has_type() {
4879 _has_bits_[0] &= ~0x00000008u;
4881 inline void Table_Index::clear_type() {
4885 inline ::drizzled::message::Table_Index_IndexType Table_Index::type()
const {
4886 return static_cast< ::drizzled::message::Table_Index_IndexType
>(type_);
4888 inline void Table_Index::set_type(::drizzled::message::Table_Index_IndexType value) {
4889 assert(::drizzled::message::Table_Index_IndexType_IsValid(value));
4895 inline bool Table_Index::has_key_length()
const {
4896 return (_has_bits_[0] & 0x00000010u) != 0;
4898 inline void Table_Index::set_has_key_length() {
4899 _has_bits_[0] |= 0x00000010u;
4901 inline void Table_Index::clear_has_key_length() {
4902 _has_bits_[0] &= ~0x00000010u;
4904 inline void Table_Index::clear_key_length() {
4906 clear_has_key_length();
4908 inline ::google::protobuf::uint32 Table_Index::key_length()
const {
4911 inline void Table_Index::set_key_length(::google::protobuf::uint32 value) {
4912 set_has_key_length();
4913 key_length_ = value;
4917 inline int Table_Index::index_part_size()
const {
4918 return index_part_.size();
4920 inline void Table_Index::clear_index_part() {
4921 index_part_.Clear();
4923 inline const ::drizzled::message::Table_Index_IndexPart& Table_Index::index_part(
int index)
const {
4924 return index_part_.Get(index);
4926 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::mutable_index_part(
int index) {
4927 return index_part_.Mutable(index);
4929 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::add_index_part() {
4930 return index_part_.Add();
4932 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
4933 Table_Index::index_part()
const {
4936 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
4937 Table_Index::mutable_index_part() {
4938 return &index_part_;
4942 inline bool Table_Index::has_options()
const {
4943 return (_has_bits_[0] & 0x00000040u) != 0;
4945 inline void Table_Index::set_has_options() {
4946 _has_bits_[0] |= 0x00000040u;
4948 inline void Table_Index::clear_has_options() {
4949 _has_bits_[0] &= ~0x00000040u;
4951 inline void Table_Index::clear_options() {
4952 if (options_ != NULL) options_->::drizzled::message::Table_Index_Options::Clear();
4953 clear_has_options();
4955 inline const ::drizzled::message::Table_Index_Options& Table_Index::options()
const {
4956 return options_ != NULL ? *options_ : *default_instance_->options_;
4958 inline ::drizzled::message::Table_Index_Options* Table_Index::mutable_options() {
4960 if (options_ == NULL) options_ = new ::drizzled::message::Table_Index_Options;
4963 inline ::drizzled::message::Table_Index_Options* Table_Index::release_options() {
4964 clear_has_options();
4975 clear_has_options();
4980 inline bool Table_Index::has_comment()
const {
4981 return (_has_bits_[0] & 0x00000080u) != 0;
4983 inline void Table_Index::set_has_comment() {
4984 _has_bits_[0] |= 0x00000080u;
4986 inline void Table_Index::clear_has_comment() {
4987 _has_bits_[0] &= ~0x00000080u;
4989 inline void Table_Index::clear_comment() {
4990 if (comment_ != &::google::protobuf::internal::kEmptyString) {
4993 clear_has_comment();
4995 inline const ::std::string& Table_Index::comment()
const {
4998 inline void Table_Index::set_comment(const ::std::string& value) {
5000 if (comment_ == &::google::protobuf::internal::kEmptyString) {
5001 comment_ = new ::std::string;
5003 comment_->assign(value);
5005 inline void Table_Index::set_comment(
const char* value) {
5007 if (comment_ == &::google::protobuf::internal::kEmptyString) {
5008 comment_ = new ::std::string;
5010 comment_->assign(value);
5012 inline void Table_Index::set_comment(
const char* value,
size_t size) {
5014 if (comment_ == &::google::protobuf::internal::kEmptyString) {
5015 comment_ = new ::std::string;
5017 comment_->assign(reinterpret_cast<const char*>(value), size);
5019 inline ::std::string* Table_Index::mutable_comment() {
5021 if (comment_ == &::google::protobuf::internal::kEmptyString) {
5022 comment_ = new ::std::string;
5026 inline ::std::string* Table_Index::release_comment() {
5027 clear_has_comment();
5028 if (comment_ == &::google::protobuf::internal::kEmptyString) {
5031 ::std::string* temp = comment_;
5032 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5036 inline void Table_Index::set_allocated_comment(::std::string* comment) {
5037 if (comment_ != &::google::protobuf::internal::kEmptyString) {
5044 clear_has_comment();
5045 comment_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5054 inline bool Table::has_name()
const {
5055 return (_has_bits_[0] & 0x00000001u) != 0;
5057 inline void Table::set_has_name() {
5058 _has_bits_[0] |= 0x00000001u;
5060 inline void Table::clear_has_name() {
5061 _has_bits_[0] &= ~0x00000001u;
5063 inline void Table::clear_name() {
5064 if (name_ != &::google::protobuf::internal::kEmptyString) {
5069 inline const ::std::string& Table::name()
const {
5072 inline void Table::set_name(const ::std::string& value) {
5074 if (name_ == &::google::protobuf::internal::kEmptyString) {
5075 name_ = new ::std::string;
5077 name_->assign(value);
5079 inline void Table::set_name(
const char* value) {
5081 if (name_ == &::google::protobuf::internal::kEmptyString) {
5082 name_ = new ::std::string;
5084 name_->assign(value);
5086 inline void Table::set_name(
const char* value,
size_t size) {
5088 if (name_ == &::google::protobuf::internal::kEmptyString) {
5089 name_ = new ::std::string;
5091 name_->assign(reinterpret_cast<const char*>(value), size);
5093 inline ::std::string* Table::mutable_name() {
5095 if (name_ == &::google::protobuf::internal::kEmptyString) {
5096 name_ = new ::std::string;
5100 inline ::std::string* Table::release_name() {
5102 if (name_ == &::google::protobuf::internal::kEmptyString) {
5105 ::std::string* temp = name_;
5106 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5110 inline void Table::set_allocated_name(::std::string* name) {
5111 if (name_ != &::google::protobuf::internal::kEmptyString) {
5119 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5124 inline bool Table::has_schema()
const {
5125 return (_has_bits_[0] & 0x00000002u) != 0;
5127 inline void Table::set_has_schema() {
5128 _has_bits_[0] |= 0x00000002u;
5130 inline void Table::clear_has_schema() {
5131 _has_bits_[0] &= ~0x00000002u;
5133 inline void Table::clear_schema() {
5134 if (schema_ != &::google::protobuf::internal::kEmptyString) {
5139 inline const ::std::string& Table::schema()
const {
5142 inline void Table::set_schema(const ::std::string& value) {
5144 if (schema_ == &::google::protobuf::internal::kEmptyString) {
5145 schema_ = new ::std::string;
5147 schema_->assign(value);
5149 inline void Table::set_schema(
const char* value) {
5151 if (schema_ == &::google::protobuf::internal::kEmptyString) {
5152 schema_ = new ::std::string;
5154 schema_->assign(value);
5156 inline void Table::set_schema(
const char* value,
size_t size) {
5158 if (schema_ == &::google::protobuf::internal::kEmptyString) {
5159 schema_ = new ::std::string;
5161 schema_->assign(reinterpret_cast<const char*>(value), size);
5163 inline ::std::string* Table::mutable_schema() {
5165 if (schema_ == &::google::protobuf::internal::kEmptyString) {
5166 schema_ = new ::std::string;
5170 inline ::std::string* Table::release_schema() {
5172 if (schema_ == &::google::protobuf::internal::kEmptyString) {
5175 ::std::string* temp = schema_;
5176 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5180 inline void Table::set_allocated_schema(::std::string* schema) {
5181 if (schema_ != &::google::protobuf::internal::kEmptyString) {
5189 schema_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5194 inline bool Table::has_type()
const {
5195 return (_has_bits_[0] & 0x00000004u) != 0;
5197 inline void Table::set_has_type() {
5198 _has_bits_[0] |= 0x00000004u;
5200 inline void Table::clear_has_type() {
5201 _has_bits_[0] &= ~0x00000004u;
5203 inline void Table::clear_type() {
5207 inline ::drizzled::message::Table_TableType Table::type()
const {
5208 return static_cast< ::drizzled::message::Table_TableType
>(type_);
5210 inline void Table::set_type(::drizzled::message::Table_TableType value) {
5211 assert(::drizzled::message::Table_TableType_IsValid(value));
5217 inline bool Table::has_engine()
const {
5218 return (_has_bits_[0] & 0x00000008u) != 0;
5220 inline void Table::set_has_engine() {
5221 _has_bits_[0] |= 0x00000008u;
5223 inline void Table::clear_has_engine() {
5224 _has_bits_[0] &= ~0x00000008u;
5226 inline void Table::clear_engine() {
5227 if (engine_ != NULL) engine_->::drizzled::message::Engine::Clear();
5230 inline const ::drizzled::message::Engine& Table::engine()
const {
5231 return engine_ != NULL ? *engine_ : *default_instance_->engine_;
5233 inline ::drizzled::message::Engine* Table::mutable_engine() {
5235 if (engine_ == NULL) engine_ = new ::drizzled::message::Engine;
5238 inline ::drizzled::message::Engine* Table::release_engine() {
5255 inline int Table::field_size()
const {
5256 return field_.size();
5258 inline void Table::clear_field() {
5261 inline const ::drizzled::message::Table_Field& Table::field(
int index)
const {
5262 return field_.Get(index);
5264 inline ::drizzled::message::Table_Field* Table::mutable_field(
int index) {
5265 return field_.Mutable(index);
5267 inline ::drizzled::message::Table_Field* Table::add_field() {
5268 return field_.Add();
5270 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
5271 Table::field()
const {
5274 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
5275 Table::mutable_field() {
5280 inline int Table::indexes_size()
const {
5281 return indexes_.size();
5283 inline void Table::clear_indexes() {
5286 inline const ::drizzled::message::Table_Index& Table::indexes(
int index)
const {
5287 return indexes_.Get(index);
5289 inline ::drizzled::message::Table_Index* Table::mutable_indexes(
int index) {
5290 return indexes_.Mutable(index);
5292 inline ::drizzled::message::Table_Index* Table::add_indexes() {
5293 return indexes_.Add();
5295 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
5296 Table::indexes()
const {
5299 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
5300 Table::mutable_indexes() {
5305 inline int Table::fk_constraint_size()
const {
5306 return fk_constraint_.size();
5308 inline void Table::clear_fk_constraint() {
5309 fk_constraint_.Clear();
5311 inline const ::drizzled::message::Table_ForeignKeyConstraint& Table::fk_constraint(
int index)
const {
5312 return fk_constraint_.Get(index);
5314 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::mutable_fk_constraint(
int index) {
5315 return fk_constraint_.Mutable(index);
5317 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::add_fk_constraint() {
5318 return fk_constraint_.Add();
5320 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
5321 Table::fk_constraint()
const {
5322 return fk_constraint_;
5324 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
5325 Table::mutable_fk_constraint() {
5326 return &fk_constraint_;
5330 inline bool Table::has_options()
const {
5331 return (_has_bits_[0] & 0x00000080u) != 0;
5333 inline void Table::set_has_options() {
5334 _has_bits_[0] |= 0x00000080u;
5336 inline void Table::clear_has_options() {
5337 _has_bits_[0] &= ~0x00000080u;
5339 inline void Table::clear_options() {
5340 if (options_ != NULL) options_->::drizzled::message::Table_TableOptions::Clear();
5341 clear_has_options();
5343 inline const ::drizzled::message::Table_TableOptions& Table::options()
const {
5344 return options_ != NULL ? *options_ : *default_instance_->options_;
5346 inline ::drizzled::message::Table_TableOptions* Table::mutable_options() {
5348 if (options_ == NULL) options_ = new ::drizzled::message::Table_TableOptions;
5351 inline ::drizzled::message::Table_TableOptions* Table::release_options() {
5352 clear_has_options();
5363 clear_has_options();
5368 inline bool Table::has_creation_timestamp()
const {
5369 return (_has_bits_[0] & 0x00000100u) != 0;
5371 inline void Table::set_has_creation_timestamp() {
5372 _has_bits_[0] |= 0x00000100u;
5374 inline void Table::clear_has_creation_timestamp() {
5375 _has_bits_[0] &= ~0x00000100u;
5377 inline void Table::clear_creation_timestamp() {
5378 creation_timestamp_ = GOOGLE_ULONGLONG(0);
5379 clear_has_creation_timestamp();
5381 inline ::google::protobuf::uint64 Table::creation_timestamp()
const {
5382 return creation_timestamp_;
5384 inline void Table::set_creation_timestamp(::google::protobuf::uint64 value) {
5385 set_has_creation_timestamp();
5386 creation_timestamp_ = value;
5390 inline bool Table::has_update_timestamp()
const {
5391 return (_has_bits_[0] & 0x00000200u) != 0;
5393 inline void Table::set_has_update_timestamp() {
5394 _has_bits_[0] |= 0x00000200u;
5396 inline void Table::clear_has_update_timestamp() {
5397 _has_bits_[0] &= ~0x00000200u;
5399 inline void Table::clear_update_timestamp() {
5400 update_timestamp_ = GOOGLE_ULONGLONG(0);
5401 clear_has_update_timestamp();
5403 inline ::google::protobuf::uint64 Table::update_timestamp()
const {
5404 return update_timestamp_;
5406 inline void Table::set_update_timestamp(::google::protobuf::uint64 value) {
5407 set_has_update_timestamp();
5408 update_timestamp_ = value;
5412 inline bool Table::has_catalog()
const {
5413 return (_has_bits_[0] & 0x00000400u) != 0;
5415 inline void Table::set_has_catalog() {
5416 _has_bits_[0] |= 0x00000400u;
5418 inline void Table::clear_has_catalog() {
5419 _has_bits_[0] &= ~0x00000400u;
5421 inline void Table::clear_catalog() {
5422 if (catalog_ != &::google::protobuf::internal::kEmptyString) {
5425 clear_has_catalog();
5427 inline const ::std::string& Table::catalog()
const {
5430 inline void Table::set_catalog(const ::std::string& value) {
5432 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5433 catalog_ = new ::std::string;
5435 catalog_->assign(value);
5437 inline void Table::set_catalog(
const char* value) {
5439 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5440 catalog_ = new ::std::string;
5442 catalog_->assign(value);
5444 inline void Table::set_catalog(
const char* value,
size_t size) {
5446 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5447 catalog_ = new ::std::string;
5449 catalog_->assign(reinterpret_cast<const char*>(value), size);
5451 inline ::std::string* Table::mutable_catalog() {
5453 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5454 catalog_ = new ::std::string;
5458 inline ::std::string* Table::release_catalog() {
5459 clear_has_catalog();
5460 if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5463 ::std::string* temp = catalog_;
5464 catalog_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5468 inline void Table::set_allocated_catalog(::std::string* catalog) {
5469 if (catalog_ != &::google::protobuf::internal::kEmptyString) {
5476 clear_has_catalog();
5477 catalog_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5482 inline bool Table::has_uuid()
const {
5483 return (_has_bits_[0] & 0x00000800u) != 0;
5485 inline void Table::set_has_uuid() {
5486 _has_bits_[0] |= 0x00000800u;
5488 inline void Table::clear_has_uuid() {
5489 _has_bits_[0] &= ~0x00000800u;
5491 inline void Table::clear_uuid() {
5492 if (uuid_ != &::google::protobuf::internal::kEmptyString) {
5497 inline const ::std::string& Table::uuid()
const {
5500 inline void Table::set_uuid(const ::std::string& value) {
5502 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5503 uuid_ = new ::std::string;
5505 uuid_->assign(value);
5507 inline void Table::set_uuid(
const char* value) {
5509 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5510 uuid_ = new ::std::string;
5512 uuid_->assign(value);
5514 inline void Table::set_uuid(
const char* value,
size_t size) {
5516 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5517 uuid_ = new ::std::string;
5519 uuid_->assign(reinterpret_cast<const char*>(value), size);
5521 inline ::std::string* Table::mutable_uuid() {
5523 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5524 uuid_ = new ::std::string;
5528 inline ::std::string* Table::release_uuid() {
5530 if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5533 ::std::string* temp = uuid_;
5534 uuid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5538 inline void Table::set_allocated_uuid(::std::string* uuid) {
5539 if (uuid_ != &::google::protobuf::internal::kEmptyString) {
5547 uuid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
5552 inline bool Table::has_version()
const {
5553 return (_has_bits_[0] & 0x00001000u) != 0;
5555 inline void Table::set_has_version() {
5556 _has_bits_[0] |= 0x00001000u;
5558 inline void Table::clear_has_version() {
5559 _has_bits_[0] &= ~0x00001000u;
5561 inline void Table::clear_version() {
5562 version_ = GOOGLE_ULONGLONG(0);
5563 clear_has_version();
5565 inline ::google::protobuf::uint64 Table::version()
const {
5568 inline void Table::set_version(::google::protobuf::uint64 value) {
5574 inline bool Table::has_replication_options()
const {
5575 return (_has_bits_[0] & 0x00002000u) != 0;
5577 inline void Table::set_has_replication_options() {
5578 _has_bits_[0] |= 0x00002000u;
5580 inline void Table::clear_has_replication_options() {
5581 _has_bits_[0] &= ~0x00002000u;
5583 inline void Table::clear_replication_options() {
5584 if (replication_options_ != NULL) replication_options_->::drizzled::message::ReplicationOptions::Clear();
5585 clear_has_replication_options();
5587 inline const ::drizzled::message::ReplicationOptions& Table::replication_options()
const {
5588 return replication_options_ != NULL ? *replication_options_ : *default_instance_->replication_options_;
5590 inline ::drizzled::message::ReplicationOptions* Table::mutable_replication_options() {
5591 set_has_replication_options();
5592 if (replication_options_ == NULL) replication_options_ = new ::drizzled::message::ReplicationOptions;
5593 return replication_options_;
5595 inline ::drizzled::message::ReplicationOptions* Table::release_replication_options() {
5596 clear_has_replication_options();
5598 replication_options_ = NULL;
5602 delete replication_options_;
5603 replication_options_ = replication_options;
5604 if (replication_options) {
5605 set_has_replication_options();
5607 clear_has_replication_options();
5612 inline bool Table::has_access()
const {
5613 return (_has_bits_[0] & 0x00004000u) != 0;
5615 inline void Table::set_has_access() {
5616 _has_bits_[0] |= 0x00004000u;
5618 inline void Table::clear_has_access() {
5619 _has_bits_[0] &= ~0x00004000u;
5621 inline void Table::clear_access() {
5622 if (access_ != NULL) access_->::drizzled::message::Access::Clear();
5625 inline const ::drizzled::message::Access& Table::access()
const {
5626 return access_ != NULL ? *access_ : *default_instance_->access_;
5628 inline ::drizzled::message::Access* Table::mutable_access() {
5630 if (access_ == NULL) access_ = new ::drizzled::message::Access;
5633 inline ::drizzled::message::Access* Table::release_access() {
5654 inline int AddedFields::added_field_size()
const {
5655 return added_field_.size();
5657 inline void AddedFields::clear_added_field() {
5658 added_field_.Clear();
5660 inline const ::drizzled::message::Table_Field& AddedFields::added_field(
int index)
const {
5661 return added_field_.Get(index);
5663 inline ::drizzled::message::Table_Field* AddedFields::mutable_added_field(
int index) {
5664 return added_field_.Mutable(index);
5666 inline ::drizzled::message::Table_Field* AddedFields::add_added_field() {
5667 return added_field_.Add();
5669 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
5670 AddedFields::added_field()
const {
5671 return added_field_;
5673 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
5674 AddedFields::mutable_added_field() {
5675 return &added_field_;
5686 namespace protobuf {
5689 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption>() {
5690 return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
5693 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption>() {
5694 return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
5697 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Field_FieldType>() {
5698 return ::drizzled::message::Table_Field_FieldType_descriptor();
5701 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Index_IndexType>() {
5702 return ::drizzled::message::Table_Index_IndexType_descriptor();
5705 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_TableType>() {
5706 return ::drizzled::message::Table_TableType_descriptor();
5715 #endif // PROTOBUF_table_2eproto__INCLUDED