Drizzled Public API Documentation

table.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: table.proto
3 
4 #ifndef PROTOBUF_table_2eproto__INCLUDED
5 #define PROTOBUF_table_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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"
31 // @@protoc_insertion_point(includes)
32 
33 namespace drizzled {
34 namespace message {
35 
36 // Internal implementation detail -- do not call these.
37 void protobuf_AddDesc_table_2eproto();
38 void protobuf_AssignDesc_table_2eproto();
39 void protobuf_ShutdownFile_table_2eproto();
40 
41 class Table;
42 class Table_TableOptions;
43 class Table_ForeignKeyConstraint;
44 class Table_Field;
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;
51 class Table_Index;
52 class Table_Index_IndexPart;
53 class Table_Index_Options;
54 class AddedFields;
55 
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
61 };
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;
66 
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);
71 }
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);
76 }
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
84 };
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;
89 
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);
94 }
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);
99 }
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
115 };
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;
120 
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);
125 }
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);
130 }
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
137 };
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;
142 
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);
147 }
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);
152 }
153 enum Table_TableType {
154  Table_TableType_STANDARD = 0,
155  Table_TableType_TEMPORARY = 1,
156  Table_TableType_INTERNAL = 2,
157  Table_TableType_FUNCTION = 3
158 };
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;
163 
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);
168 }
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);
173 }
174 // ===================================================================
175 
176 class Table_TableOptions : public ::google::protobuf::Message {
177  public:
179  virtual ~Table_TableOptions();
180 
182 
183  inline Table_TableOptions& operator=(const Table_TableOptions& from) {
184  CopyFrom(from);
185  return *this;
186  }
187 
188  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
189  return _unknown_fields_;
190  }
191 
192  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
193  return &_unknown_fields_;
194  }
195 
196  static const ::google::protobuf::Descriptor* descriptor();
197  static const Table_TableOptions& default_instance();
198 
199  void Swap(Table_TableOptions* other);
200 
201  // implements Message ----------------------------------------------
202 
203  Table_TableOptions* New() const;
204  void CopyFrom(const ::google::protobuf::Message& from);
205  void MergeFrom(const ::google::protobuf::Message& from);
206  void CopyFrom(const Table_TableOptions& from);
207  void MergeFrom(const Table_TableOptions& from);
208  void Clear();
209  bool IsInitialized() const;
210 
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_; }
218  private:
219  void SharedCtor();
220  void SharedDtor();
221  void SetCachedSize(int size) const;
222  public:
223 
224  ::google::protobuf::Metadata GetMetadata() const;
225 
226  // nested types ----------------------------------------------------
227 
228  // accessors -------------------------------------------------------
229 
230  // optional bool has_user_set_auto_increment_value = 1;
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);
236 
237  // optional string collation = 2;
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);
248 
249  // optional uint32 collation_id = 3;
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);
255 
256  // optional string data_file_name = 5;
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);
267 
268  // optional string index_file_name = 6;
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);
279 
280  // optional uint64 max_rows = 7;
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);
286 
287  // optional uint64 min_rows = 8;
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);
293 
294  // optional uint64 auto_increment_value = 9;
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);
300 
301  // optional uint32 avg_row_length = 11;
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);
307 
308  // optional uint32 block_size = 13;
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);
314 
315  // optional string comment = 14;
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);
326 
327  // optional bool pack_record = 16;
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);
333 
334  // optional bool checksum = 17;
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);
340 
341  // optional bool page_checksum = 18;
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);
347 
348  // optional bool delay_key_write = 19;
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);
354 
355  // optional bool unused = 20;
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);
361 
362  // @@protoc_insertion_point(class_scope:drizzled.message.Table.TableOptions)
363  private:
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();
396 
397  ::google::protobuf::UnknownFieldSet _unknown_fields_;
398 
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_;
409  bool pack_record_;
410  bool checksum_;
411  bool page_checksum_;
412  ::std::string* comment_;
413  bool delay_key_write_;
414  bool unused_;
415 
416  mutable int _cached_size_;
417  ::google::protobuf::uint32 _has_bits_[(16 + 31) / 32];
418 
419  friend void protobuf_AddDesc_table_2eproto();
420  friend void protobuf_AssignDesc_table_2eproto();
421  friend void protobuf_ShutdownFile_table_2eproto();
422 
423  void InitAsDefaultInstance();
424  static Table_TableOptions* default_instance_;
425 };
426 // -------------------------------------------------------------------
427 
428 class Table_ForeignKeyConstraint : public ::google::protobuf::Message {
429  public:
431  virtual ~Table_ForeignKeyConstraint();
432 
434 
435  inline Table_ForeignKeyConstraint& operator=(const Table_ForeignKeyConstraint& from) {
436  CopyFrom(from);
437  return *this;
438  }
439 
440  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
441  return _unknown_fields_;
442  }
443 
444  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
445  return &_unknown_fields_;
446  }
447 
448  static const ::google::protobuf::Descriptor* descriptor();
449  static const Table_ForeignKeyConstraint& default_instance();
450 
451  void Swap(Table_ForeignKeyConstraint* other);
452 
453  // implements Message ----------------------------------------------
454 
455  Table_ForeignKeyConstraint* New() const;
456  void CopyFrom(const ::google::protobuf::Message& from);
457  void MergeFrom(const ::google::protobuf::Message& from);
458  void CopyFrom(const Table_ForeignKeyConstraint& from);
459  void MergeFrom(const Table_ForeignKeyConstraint& from);
460  void Clear();
461  bool IsInitialized() const;
462 
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_; }
470  private:
471  void SharedCtor();
472  void SharedDtor();
473  void SetCachedSize(int size) const;
474  public:
475 
476  ::google::protobuf::Metadata GetMetadata() const;
477 
478  // nested types ----------------------------------------------------
479 
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);
487  }
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();
497  }
498  static inline const ::std::string& ForeignKeyMatchOption_Name(ForeignKeyMatchOption value) {
499  return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(value);
500  }
501  static inline bool ForeignKeyMatchOption_Parse(const ::std::string& name,
502  ForeignKeyMatchOption* value) {
503  return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(name, value);
504  }
505 
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);
515  }
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();
525  }
526  static inline const ::std::string& ForeignKeyOption_Name(ForeignKeyOption value) {
527  return Table_ForeignKeyConstraint_ForeignKeyOption_Name(value);
528  }
529  static inline bool ForeignKeyOption_Parse(const ::std::string& name,
530  ForeignKeyOption* value) {
531  return Table_ForeignKeyConstraint_ForeignKeyOption_Parse(name, value);
532  }
533 
534  // accessors -------------------------------------------------------
535 
536  // optional string name = 1;
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);
547 
548  // repeated string column_names = 2;
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();
563 
564  // required string references_table_name = 3;
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);
575 
576  // repeated string references_columns = 4;
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();
591 
592  // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyMatchOption match = 5;
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);
598 
599  // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption update_option = 6 [default = OPTION_UNDEF];
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);
605 
606  // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption delete_option = 7 [default = OPTION_UNDEF];
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);
612 
613  // @@protoc_insertion_point(class_scope:drizzled.message.Table.ForeignKeyConstraint)
614  private:
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();
625 
626  ::google::protobuf::UnknownFieldSet _unknown_fields_;
627 
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_;
632  int match_;
633  int update_option_;
634  int delete_option_;
635 
636  mutable int _cached_size_;
637  ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
638 
639  friend void protobuf_AddDesc_table_2eproto();
640  friend void protobuf_AssignDesc_table_2eproto();
641  friend void protobuf_ShutdownFile_table_2eproto();
642 
643  void InitAsDefaultInstance();
644  static Table_ForeignKeyConstraint* default_instance_;
645 };
646 // -------------------------------------------------------------------
647 
648 class Table_Field_FieldOptions : public ::google::protobuf::Message {
649  public:
651  virtual ~Table_Field_FieldOptions();
652 
654 
655  inline Table_Field_FieldOptions& operator=(const Table_Field_FieldOptions& from) {
656  CopyFrom(from);
657  return *this;
658  }
659 
660  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
661  return _unknown_fields_;
662  }
663 
664  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
665  return &_unknown_fields_;
666  }
667 
668  static const ::google::protobuf::Descriptor* descriptor();
669  static const Table_Field_FieldOptions& default_instance();
670 
671  void Swap(Table_Field_FieldOptions* other);
672 
673  // implements Message ----------------------------------------------
674 
675  Table_Field_FieldOptions* New() const;
676  void CopyFrom(const ::google::protobuf::Message& from);
677  void MergeFrom(const ::google::protobuf::Message& from);
678  void CopyFrom(const Table_Field_FieldOptions& from);
679  void MergeFrom(const Table_Field_FieldOptions& from);
680  void Clear();
681  bool IsInitialized() const;
682 
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_; }
690  private:
691  void SharedCtor();
692  void SharedDtor();
693  void SetCachedSize(int size) const;
694  public:
695 
696  ::google::protobuf::Metadata GetMetadata() const;
697 
698  // nested types ----------------------------------------------------
699 
700  // accessors -------------------------------------------------------
701 
702  // optional string default_value = 1;
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);
713 
714  // optional string update_value = 2;
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);
725 
726  // optional bool default_null = 3 [default = false];
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);
732 
733  // optional bytes default_bin_value = 4;
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);
744 
745  // optional string default_expression = 5;
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);
756 
757  // optional string update_expression = 6;
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);
768 
769  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.FieldOptions)
770  private:
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();
783 
784  ::google::protobuf::UnknownFieldSet _unknown_fields_;
785 
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_;
791  bool default_null_;
792 
793  mutable int _cached_size_;
794  ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
795 
796  friend void protobuf_AddDesc_table_2eproto();
797  friend void protobuf_AssignDesc_table_2eproto();
798  friend void protobuf_ShutdownFile_table_2eproto();
799 
800  void InitAsDefaultInstance();
801  static Table_Field_FieldOptions* default_instance_;
802 };
803 // -------------------------------------------------------------------
804 
805 class Table_Field_FieldConstraints : public ::google::protobuf::Message {
806  public:
808  virtual ~Table_Field_FieldConstraints();
809 
811 
812  inline Table_Field_FieldConstraints& operator=(const Table_Field_FieldConstraints& from) {
813  CopyFrom(from);
814  return *this;
815  }
816 
817  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
818  return _unknown_fields_;
819  }
820 
821  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
822  return &_unknown_fields_;
823  }
824 
825  static const ::google::protobuf::Descriptor* descriptor();
826  static const Table_Field_FieldConstraints& default_instance();
827 
828  void Swap(Table_Field_FieldConstraints* other);
829 
830  // implements Message ----------------------------------------------
831 
832  Table_Field_FieldConstraints* New() const;
833  void CopyFrom(const ::google::protobuf::Message& from);
834  void MergeFrom(const ::google::protobuf::Message& from);
835  void CopyFrom(const Table_Field_FieldConstraints& from);
836  void MergeFrom(const Table_Field_FieldConstraints& from);
837  void Clear();
838  bool IsInitialized() const;
839 
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_; }
847  private:
848  void SharedCtor();
849  void SharedDtor();
850  void SetCachedSize(int size) const;
851  public:
852 
853  ::google::protobuf::Metadata GetMetadata() const;
854 
855  // nested types ----------------------------------------------------
856 
857  // accessors -------------------------------------------------------
858 
859  // optional bool is_nullable = 1 [default = true];
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);
865 
866  // optional bool is_unsigned = 2 [default = false];
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);
872 
873  // optional bool is_notnull = 3 [default = false];
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);
879 
880  // optional bool is_unique = 4 [default = false];
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);
886 
887  // repeated string expression = 16;
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();
902 
903  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.FieldConstraints)
904  private:
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();
913 
914  ::google::protobuf::UnknownFieldSet _unknown_fields_;
915 
916  ::google::protobuf::RepeatedPtrField< ::std::string> expression_;
917  bool is_nullable_;
918  bool is_unsigned_;
919  bool is_notnull_;
920  bool is_unique_;
921 
922  mutable int _cached_size_;
923  ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
924 
925  friend void protobuf_AddDesc_table_2eproto();
926  friend void protobuf_AssignDesc_table_2eproto();
927  friend void protobuf_ShutdownFile_table_2eproto();
928 
929  void InitAsDefaultInstance();
930  static Table_Field_FieldConstraints* default_instance_;
931 };
932 // -------------------------------------------------------------------
933 
934 class Table_Field_NumericFieldOptions : public ::google::protobuf::Message {
935  public:
938 
940 
942  CopyFrom(from);
943  return *this;
944  }
945 
946  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
947  return _unknown_fields_;
948  }
949 
950  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
951  return &_unknown_fields_;
952  }
953 
954  static const ::google::protobuf::Descriptor* descriptor();
955  static const Table_Field_NumericFieldOptions& default_instance();
956 
957  void Swap(Table_Field_NumericFieldOptions* other);
958 
959  // implements Message ----------------------------------------------
960 
961  Table_Field_NumericFieldOptions* New() const;
962  void CopyFrom(const ::google::protobuf::Message& from);
963  void MergeFrom(const ::google::protobuf::Message& from);
964  void CopyFrom(const Table_Field_NumericFieldOptions& from);
965  void MergeFrom(const Table_Field_NumericFieldOptions& from);
966  void Clear();
967  bool IsInitialized() const;
968 
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_; }
976  private:
977  void SharedCtor();
978  void SharedDtor();
979  void SetCachedSize(int size) const;
980  public:
981 
982  ::google::protobuf::Metadata GetMetadata() const;
983 
984  // nested types ----------------------------------------------------
985 
986  // accessors -------------------------------------------------------
987 
988  // optional bool is_autoincrement = 1 [default = false];
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);
994 
995  // optional uint32 scale = 2;
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);
1001 
1002  // optional uint32 precision = 3;
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);
1008 
1009  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.NumericFieldOptions)
1010  private:
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();
1017 
1018  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1019 
1020  bool is_autoincrement_;
1021  ::google::protobuf::uint32 scale_;
1022  ::google::protobuf::uint32 precision_;
1023 
1024  mutable int _cached_size_;
1025  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1026 
1027  friend void protobuf_AddDesc_table_2eproto();
1028  friend void protobuf_AssignDesc_table_2eproto();
1029  friend void protobuf_ShutdownFile_table_2eproto();
1030 
1031  void InitAsDefaultInstance();
1032  static Table_Field_NumericFieldOptions* default_instance_;
1033 };
1034 // -------------------------------------------------------------------
1035 
1036 class Table_Field_StringFieldOptions : public ::google::protobuf::Message {
1037  public:
1039  virtual ~Table_Field_StringFieldOptions();
1040 
1042 
1043  inline Table_Field_StringFieldOptions& operator=(const Table_Field_StringFieldOptions& from) {
1044  CopyFrom(from);
1045  return *this;
1046  }
1047 
1048  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1049  return _unknown_fields_;
1050  }
1051 
1052  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1053  return &_unknown_fields_;
1054  }
1055 
1056  static const ::google::protobuf::Descriptor* descriptor();
1057  static const Table_Field_StringFieldOptions& default_instance();
1058 
1059  void Swap(Table_Field_StringFieldOptions* other);
1060 
1061  // implements Message ----------------------------------------------
1062 
1063  Table_Field_StringFieldOptions* New() const;
1064  void CopyFrom(const ::google::protobuf::Message& from);
1065  void MergeFrom(const ::google::protobuf::Message& from);
1066  void CopyFrom(const Table_Field_StringFieldOptions& from);
1067  void MergeFrom(const Table_Field_StringFieldOptions& from);
1068  void Clear();
1069  bool IsInitialized() const;
1070 
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_; }
1078  private:
1079  void SharedCtor();
1080  void SharedDtor();
1081  void SetCachedSize(int size) const;
1082  public:
1083 
1084  ::google::protobuf::Metadata GetMetadata() const;
1085 
1086  // nested types ----------------------------------------------------
1087 
1088  // accessors -------------------------------------------------------
1089 
1090  // optional bool is_fixed_width = 1 [default = false];
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);
1096 
1097  // optional uint32 length = 2;
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);
1103 
1104  // optional uint32 collation_id = 3;
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);
1110 
1111  // optional string collation = 4;
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);
1122 
1123  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.StringFieldOptions)
1124  private:
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();
1133 
1134  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1135 
1136  bool is_fixed_width_;
1137  ::google::protobuf::uint32 length_;
1138  ::std::string* collation_;
1139  ::google::protobuf::uint32 collation_id_;
1140 
1141  mutable int _cached_size_;
1142  ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
1143 
1144  friend void protobuf_AddDesc_table_2eproto();
1145  friend void protobuf_AssignDesc_table_2eproto();
1146  friend void protobuf_ShutdownFile_table_2eproto();
1147 
1148  void InitAsDefaultInstance();
1149  static Table_Field_StringFieldOptions* default_instance_;
1150 };
1151 // -------------------------------------------------------------------
1152 
1153 class Table_Field_EnumerationValues : public ::google::protobuf::Message {
1154  public:
1156  virtual ~Table_Field_EnumerationValues();
1157 
1159 
1160  inline Table_Field_EnumerationValues& operator=(const Table_Field_EnumerationValues& from) {
1161  CopyFrom(from);
1162  return *this;
1163  }
1164 
1165  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1166  return _unknown_fields_;
1167  }
1168 
1169  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1170  return &_unknown_fields_;
1171  }
1172 
1173  static const ::google::protobuf::Descriptor* descriptor();
1174  static const Table_Field_EnumerationValues& default_instance();
1175 
1176  void Swap(Table_Field_EnumerationValues* other);
1177 
1178  // implements Message ----------------------------------------------
1179 
1180  Table_Field_EnumerationValues* New() const;
1181  void CopyFrom(const ::google::protobuf::Message& from);
1182  void MergeFrom(const ::google::protobuf::Message& from);
1183  void CopyFrom(const Table_Field_EnumerationValues& from);
1184  void MergeFrom(const Table_Field_EnumerationValues& from);
1185  void Clear();
1186  bool IsInitialized() const;
1187 
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_; }
1195  private:
1196  void SharedCtor();
1197  void SharedDtor();
1198  void SetCachedSize(int size) const;
1199  public:
1200 
1201  ::google::protobuf::Metadata GetMetadata() const;
1202 
1203  // nested types ----------------------------------------------------
1204 
1205  // accessors -------------------------------------------------------
1206 
1207  // optional uint32 collation_id = 2;
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);
1213 
1214  // optional string collation = 3;
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);
1225 
1226  // repeated string field_value = 4;
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();
1241 
1242  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.EnumerationValues)
1243  private:
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();
1248 
1249  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1250 
1251  ::std::string* collation_;
1252  ::google::protobuf::RepeatedPtrField< ::std::string> field_value_;
1253  ::google::protobuf::uint32 collation_id_;
1254 
1255  mutable int _cached_size_;
1256  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1257 
1258  friend void protobuf_AddDesc_table_2eproto();
1259  friend void protobuf_AssignDesc_table_2eproto();
1260  friend void protobuf_ShutdownFile_table_2eproto();
1261 
1262  void InitAsDefaultInstance();
1263  static Table_Field_EnumerationValues* default_instance_;
1264 };
1265 // -------------------------------------------------------------------
1266 
1267 class Table_Field_TimeFieldOptions : public ::google::protobuf::Message {
1268  public:
1270  virtual ~Table_Field_TimeFieldOptions();
1271 
1273 
1274  inline Table_Field_TimeFieldOptions& operator=(const Table_Field_TimeFieldOptions& from) {
1275  CopyFrom(from);
1276  return *this;
1277  }
1278 
1279  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1280  return _unknown_fields_;
1281  }
1282 
1283  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1284  return &_unknown_fields_;
1285  }
1286 
1287  static const ::google::protobuf::Descriptor* descriptor();
1288  static const Table_Field_TimeFieldOptions& default_instance();
1289 
1290  void Swap(Table_Field_TimeFieldOptions* other);
1291 
1292  // implements Message ----------------------------------------------
1293 
1294  Table_Field_TimeFieldOptions* New() const;
1295  void CopyFrom(const ::google::protobuf::Message& from);
1296  void MergeFrom(const ::google::protobuf::Message& from);
1297  void CopyFrom(const Table_Field_TimeFieldOptions& from);
1298  void MergeFrom(const Table_Field_TimeFieldOptions& from);
1299  void Clear();
1300  bool IsInitialized() const;
1301 
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_; }
1309  private:
1310  void SharedCtor();
1311  void SharedDtor();
1312  void SetCachedSize(int size) const;
1313  public:
1314 
1315  ::google::protobuf::Metadata GetMetadata() const;
1316 
1317  // nested types ----------------------------------------------------
1318 
1319  // accessors -------------------------------------------------------
1320 
1321  // optional bool microseconds = 1;
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);
1327 
1328  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.TimeFieldOptions)
1329  private:
1330  inline void set_has_microseconds();
1331  inline void clear_has_microseconds();
1332 
1333  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1334 
1335  bool microseconds_;
1336 
1337  mutable int _cached_size_;
1338  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
1339 
1340  friend void protobuf_AddDesc_table_2eproto();
1341  friend void protobuf_AssignDesc_table_2eproto();
1342  friend void protobuf_ShutdownFile_table_2eproto();
1343 
1344  void InitAsDefaultInstance();
1345  static Table_Field_TimeFieldOptions* default_instance_;
1346 };
1347 // -------------------------------------------------------------------
1348 
1349 class Table_Field : public ::google::protobuf::Message {
1350  public:
1351  Table_Field();
1352  virtual ~Table_Field();
1353 
1354  Table_Field(const Table_Field& from);
1355 
1356  inline Table_Field& operator=(const Table_Field& from) {
1357  CopyFrom(from);
1358  return *this;
1359  }
1360 
1361  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1362  return _unknown_fields_;
1363  }
1364 
1365  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1366  return &_unknown_fields_;
1367  }
1368 
1369  static const ::google::protobuf::Descriptor* descriptor();
1370  static const Table_Field& default_instance();
1371 
1372  void Swap(Table_Field* other);
1373 
1374  // implements Message ----------------------------------------------
1375 
1376  Table_Field* New() const;
1377  void CopyFrom(const ::google::protobuf::Message& from);
1378  void MergeFrom(const ::google::protobuf::Message& from);
1379  void CopyFrom(const Table_Field& from);
1380  void MergeFrom(const Table_Field& from);
1381  void Clear();
1382  bool IsInitialized() const;
1383 
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_; }
1391  private:
1392  void SharedCtor();
1393  void SharedDtor();
1394  void SetCachedSize(int size) const;
1395  public:
1396 
1397  ::google::protobuf::Metadata GetMetadata() const;
1398 
1399  // nested types ----------------------------------------------------
1400 
1407 
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);
1425  }
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();
1435  }
1436  static inline const ::std::string& FieldType_Name(FieldType value) {
1437  return Table_Field_FieldType_Name(value);
1438  }
1439  static inline bool FieldType_Parse(const ::std::string& name,
1440  FieldType* value) {
1441  return Table_Field_FieldType_Parse(name, value);
1442  }
1443 
1444  // accessors -------------------------------------------------------
1445 
1446  // required string name = 1;
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);
1457 
1458  // required .drizzled.message.Table.Field.FieldType type = 2;
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);
1464 
1465  // optional .drizzled.message.Table.Field.FieldOptions options = 4;
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();
1472  inline void set_allocated_options(::drizzled::message::Table_Field_FieldOptions* options);
1473 
1474  // optional .drizzled.message.Table.Field.FieldConstraints constraints = 5;
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();
1481  inline void set_allocated_constraints(::drizzled::message::Table_Field_FieldConstraints* constraints);
1482 
1483  // optional .drizzled.message.Table.Field.NumericFieldOptions numeric_options = 6;
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();
1490  inline void set_allocated_numeric_options(::drizzled::message::Table_Field_NumericFieldOptions* numeric_options);
1491 
1492  // optional .drizzled.message.Table.Field.StringFieldOptions string_options = 7;
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();
1499  inline void set_allocated_string_options(::drizzled::message::Table_Field_StringFieldOptions* string_options);
1500 
1501  // optional .drizzled.message.Table.Field.TimeFieldOptions time_options = 8;
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();
1508  inline void set_allocated_time_options(::drizzled::message::Table_Field_TimeFieldOptions* time_options);
1509 
1510  // optional string comment = 16;
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);
1521 
1522  // optional .drizzled.message.Table.Field.EnumerationValues enumeration_values = 17;
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();
1529  inline void set_allocated_enumeration_values(::drizzled::message::Table_Field_EnumerationValues* enumeration_values);
1530 
1531  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field)
1532  private:
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();
1551 
1552  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1553 
1554  ::std::string* name_;
1560  ::std::string* comment_;
1562  int type_;
1563 
1564  mutable int _cached_size_;
1565  ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
1566 
1567  friend void protobuf_AddDesc_table_2eproto();
1568  friend void protobuf_AssignDesc_table_2eproto();
1569  friend void protobuf_ShutdownFile_table_2eproto();
1570 
1571  void InitAsDefaultInstance();
1572  static Table_Field* default_instance_;
1573 };
1574 // -------------------------------------------------------------------
1575 
1576 class Table_Index_IndexPart : public ::google::protobuf::Message {
1577  public:
1579  virtual ~Table_Index_IndexPart();
1580 
1582 
1583  inline Table_Index_IndexPart& operator=(const Table_Index_IndexPart& from) {
1584  CopyFrom(from);
1585  return *this;
1586  }
1587 
1588  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1589  return _unknown_fields_;
1590  }
1591 
1592  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1593  return &_unknown_fields_;
1594  }
1595 
1596  static const ::google::protobuf::Descriptor* descriptor();
1597  static const Table_Index_IndexPart& default_instance();
1598 
1599  void Swap(Table_Index_IndexPart* other);
1600 
1601  // implements Message ----------------------------------------------
1602 
1603  Table_Index_IndexPart* New() const;
1604  void CopyFrom(const ::google::protobuf::Message& from);
1605  void MergeFrom(const ::google::protobuf::Message& from);
1606  void CopyFrom(const Table_Index_IndexPart& from);
1607  void MergeFrom(const Table_Index_IndexPart& from);
1608  void Clear();
1609  bool IsInitialized() const;
1610 
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_; }
1618  private:
1619  void SharedCtor();
1620  void SharedDtor();
1621  void SetCachedSize(int size) const;
1622  public:
1623 
1624  ::google::protobuf::Metadata GetMetadata() const;
1625 
1626  // nested types ----------------------------------------------------
1627 
1628  // accessors -------------------------------------------------------
1629 
1630  // required uint32 fieldnr = 1;
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);
1636 
1637  // optional uint32 compare_length = 2;
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);
1643 
1644  // optional bool in_reverse_order = 3 [default = false];
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);
1650 
1651  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Index.IndexPart)
1652  private:
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();
1659 
1660  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1661 
1662  ::google::protobuf::uint32 fieldnr_;
1663  ::google::protobuf::uint32 compare_length_;
1664  bool in_reverse_order_;
1665 
1666  mutable int _cached_size_;
1667  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1668 
1669  friend void protobuf_AddDesc_table_2eproto();
1670  friend void protobuf_AssignDesc_table_2eproto();
1671  friend void protobuf_ShutdownFile_table_2eproto();
1672 
1673  void InitAsDefaultInstance();
1674  static Table_Index_IndexPart* default_instance_;
1675 };
1676 // -------------------------------------------------------------------
1677 
1678 class Table_Index_Options : public ::google::protobuf::Message {
1679  public:
1681  virtual ~Table_Index_Options();
1682 
1684 
1685  inline Table_Index_Options& operator=(const Table_Index_Options& from) {
1686  CopyFrom(from);
1687  return *this;
1688  }
1689 
1690  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1691  return _unknown_fields_;
1692  }
1693 
1694  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1695  return &_unknown_fields_;
1696  }
1697 
1698  static const ::google::protobuf::Descriptor* descriptor();
1699  static const Table_Index_Options& default_instance();
1700 
1701  void Swap(Table_Index_Options* other);
1702 
1703  // implements Message ----------------------------------------------
1704 
1705  Table_Index_Options* New() const;
1706  void CopyFrom(const ::google::protobuf::Message& from);
1707  void MergeFrom(const ::google::protobuf::Message& from);
1708  void CopyFrom(const Table_Index_Options& from);
1709  void MergeFrom(const Table_Index_Options& from);
1710  void Clear();
1711  bool IsInitialized() const;
1712 
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_; }
1720  private:
1721  void SharedCtor();
1722  void SharedDtor();
1723  void SetCachedSize(int size) const;
1724  public:
1725 
1726  ::google::protobuf::Metadata GetMetadata() const;
1727 
1728  // nested types ----------------------------------------------------
1729 
1730  // accessors -------------------------------------------------------
1731 
1732  // optional bool pack_key = 1;
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);
1738 
1739  // optional bool binary_pack_key = 2;
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);
1745 
1746  // optional bool var_length_key = 3;
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);
1752 
1753  // optional bool null_part_key = 4;
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);
1759 
1760  // optional uint32 key_block_size = 5;
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);
1766 
1767  // optional bool has_partial_segments = 6;
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);
1773 
1774  // optional bool auto_generated_key = 7;
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);
1780 
1781  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Index.Options)
1782  private:
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();
1797 
1798  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1799 
1800  bool pack_key_;
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_;
1807 
1808  mutable int _cached_size_;
1809  ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
1810 
1811  friend void protobuf_AddDesc_table_2eproto();
1812  friend void protobuf_AssignDesc_table_2eproto();
1813  friend void protobuf_ShutdownFile_table_2eproto();
1814 
1815  void InitAsDefaultInstance();
1816  static Table_Index_Options* default_instance_;
1817 };
1818 // -------------------------------------------------------------------
1819 
1820 class Table_Index : public ::google::protobuf::Message {
1821  public:
1822  Table_Index();
1823  virtual ~Table_Index();
1824 
1825  Table_Index(const Table_Index& from);
1826 
1827  inline Table_Index& operator=(const Table_Index& from) {
1828  CopyFrom(from);
1829  return *this;
1830  }
1831 
1832  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1833  return _unknown_fields_;
1834  }
1835 
1836  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1837  return &_unknown_fields_;
1838  }
1839 
1840  static const ::google::protobuf::Descriptor* descriptor();
1841  static const Table_Index& default_instance();
1842 
1843  void Swap(Table_Index* other);
1844 
1845  // implements Message ----------------------------------------------
1846 
1847  Table_Index* New() const;
1848  void CopyFrom(const ::google::protobuf::Message& from);
1849  void MergeFrom(const ::google::protobuf::Message& from);
1850  void CopyFrom(const Table_Index& from);
1851  void MergeFrom(const Table_Index& from);
1852  void Clear();
1853  bool IsInitialized() const;
1854 
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_; }
1862  private:
1863  void SharedCtor();
1864  void SharedDtor();
1865  void SetCachedSize(int size) const;
1866  public:
1867 
1868  ::google::protobuf::Metadata GetMetadata() const;
1869 
1870  // nested types ----------------------------------------------------
1871 
1873  typedef Table_Index_Options Options;
1874 
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);
1883  }
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();
1893  }
1894  static inline const ::std::string& IndexType_Name(IndexType value) {
1895  return Table_Index_IndexType_Name(value);
1896  }
1897  static inline bool IndexType_Parse(const ::std::string& name,
1898  IndexType* value) {
1899  return Table_Index_IndexType_Parse(name, value);
1900  }
1901 
1902  // accessors -------------------------------------------------------
1903 
1904  // required string name = 1;
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);
1915 
1916  // required bool is_primary = 2;
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);
1922 
1923  // required bool is_unique = 3;
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);
1929 
1930  // required .drizzled.message.Table.Index.IndexType type = 4 [default = UNKNOWN_INDEX];
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);
1936 
1937  // required uint32 key_length = 5;
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);
1943 
1944  // repeated .drizzled.message.Table.Index.IndexPart index_part = 6;
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 >&
1952  index_part() const;
1953  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
1954  mutable_index_part();
1955 
1956  // optional .drizzled.message.Table.Index.Options options = 7;
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();
1963  inline void set_allocated_options(::drizzled::message::Table_Index_Options* options);
1964 
1965  // optional string comment = 8;
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);
1976 
1977  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Index)
1978  private:
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();
1993 
1994  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1995 
1996  ::std::string* name_;
1997  bool is_primary_;
1998  bool is_unique_;
1999  int type_;
2000  ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart > index_part_;
2002  ::std::string* comment_;
2003  ::google::protobuf::uint32 key_length_;
2004 
2005  mutable int _cached_size_;
2006  ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
2007 
2008  friend void protobuf_AddDesc_table_2eproto();
2009  friend void protobuf_AssignDesc_table_2eproto();
2010  friend void protobuf_ShutdownFile_table_2eproto();
2011 
2012  void InitAsDefaultInstance();
2013  static Table_Index* default_instance_;
2014 };
2015 // -------------------------------------------------------------------
2016 
2017 class Table : public ::google::protobuf::Message {
2018  public:
2019  Table();
2020  virtual ~Table();
2021 
2022  Table(const Table& from);
2023 
2024  inline Table& operator=(const Table& from) {
2025  CopyFrom(from);
2026  return *this;
2027  }
2028 
2029  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2030  return _unknown_fields_;
2031  }
2032 
2033  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2034  return &_unknown_fields_;
2035  }
2036 
2037  static const ::google::protobuf::Descriptor* descriptor();
2038  static const Table& default_instance();
2039 
2040  void Swap(Table* other);
2041 
2042  // implements Message ----------------------------------------------
2043 
2044  Table* New() const;
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);
2049  void Clear();
2050  bool IsInitialized() const;
2051 
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_; }
2059  private:
2060  void SharedCtor();
2061  void SharedDtor();
2062  void SetCachedSize(int size) const;
2063  public:
2064 
2065  ::google::protobuf::Metadata GetMetadata() const;
2066 
2067  // nested types ----------------------------------------------------
2068 
2071  typedef Table_Field Field;
2072  typedef Table_Index Index;
2073 
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);
2081  }
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();
2091  }
2092  static inline const ::std::string& TableType_Name(TableType value) {
2093  return Table_TableType_Name(value);
2094  }
2095  static inline bool TableType_Parse(const ::std::string& name,
2096  TableType* value) {
2097  return Table_TableType_Parse(name, value);
2098  }
2099 
2100  // accessors -------------------------------------------------------
2101 
2102  // required string name = 1;
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);
2113 
2114  // required string schema = 6;
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);
2125 
2126  // required .drizzled.message.Table.TableType type = 5;
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);
2132 
2133  // required .drizzled.message.Engine engine = 2;
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();
2140  inline void set_allocated_engine(::drizzled::message::Engine* engine);
2141 
2142  // repeated .drizzled.message.Table.Field field = 3;
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 >&
2150  field() const;
2151  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
2152  mutable_field();
2153 
2154  // repeated .drizzled.message.Table.Index indexes = 4;
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 >&
2162  indexes() const;
2163  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
2164  mutable_indexes();
2165 
2166  // repeated .drizzled.message.Table.ForeignKeyConstraint fk_constraint = 8;
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();
2177 
2178  // optional .drizzled.message.Table.TableOptions options = 9;
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();
2185  inline void set_allocated_options(::drizzled::message::Table_TableOptions* options);
2186 
2187  // required uint64 creation_timestamp = 11 [default = 0];
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);
2193 
2194  // required uint64 update_timestamp = 12 [default = 0];
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);
2200 
2201  // optional string catalog = 13;
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);
2212 
2213  // optional string uuid = 14;
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);
2224 
2225  // optional uint64 version = 15;
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);
2231 
2232  // optional .drizzled.message.ReplicationOptions replication_options = 16;
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();
2239  inline void set_allocated_replication_options(::drizzled::message::ReplicationOptions* replication_options);
2240 
2241  // optional .drizzled.message.Access access = 17;
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();
2248  inline void set_allocated_access(::drizzled::message::Access* access);
2249 
2250  // @@protoc_insertion_point(class_scope:drizzled.message.Table)
2251  private:
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();
2276 
2277  ::google::protobuf::UnknownFieldSet _unknown_fields_;
2278 
2279  ::std::string* name_;
2280  ::std::string* schema_;
2281  ::drizzled::message::Engine* engine_;
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_;
2291  ::drizzled::message::ReplicationOptions* replication_options_;
2292  ::drizzled::message::Access* access_;
2293  int type_;
2294 
2295  mutable int _cached_size_;
2296  ::google::protobuf::uint32 _has_bits_[(15 + 31) / 32];
2297 
2298  friend void protobuf_AddDesc_table_2eproto();
2299  friend void protobuf_AssignDesc_table_2eproto();
2300  friend void protobuf_ShutdownFile_table_2eproto();
2301 
2302  void InitAsDefaultInstance();
2303  static Table* default_instance_;
2304 };
2305 // -------------------------------------------------------------------
2306 
2307 class AddedFields : public ::google::protobuf::Message {
2308  public:
2309  AddedFields();
2310  virtual ~AddedFields();
2311 
2312  AddedFields(const AddedFields& from);
2313 
2314  inline AddedFields& operator=(const AddedFields& from) {
2315  CopyFrom(from);
2316  return *this;
2317  }
2318 
2319  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2320  return _unknown_fields_;
2321  }
2322 
2323  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2324  return &_unknown_fields_;
2325  }
2326 
2327  static const ::google::protobuf::Descriptor* descriptor();
2328  static const AddedFields& default_instance();
2329 
2330  void Swap(AddedFields* other);
2331 
2332  // implements Message ----------------------------------------------
2333 
2334  AddedFields* New() const;
2335  void CopyFrom(const ::google::protobuf::Message& from);
2336  void MergeFrom(const ::google::protobuf::Message& from);
2337  void CopyFrom(const AddedFields& from);
2338  void MergeFrom(const AddedFields& from);
2339  void Clear();
2340  bool IsInitialized() const;
2341 
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_; }
2349  private:
2350  void SharedCtor();
2351  void SharedDtor();
2352  void SetCachedSize(int size) const;
2353  public:
2354 
2355  ::google::protobuf::Metadata GetMetadata() const;
2356 
2357  // nested types ----------------------------------------------------
2358 
2359  // accessors -------------------------------------------------------
2360 
2361  // repeated .drizzled.message.Table.Field added_field = 1;
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();
2372 
2373  // @@protoc_insertion_point(class_scope:drizzled.message.AddedFields)
2374  private:
2375 
2376  ::google::protobuf::UnknownFieldSet _unknown_fields_;
2377 
2378  ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > added_field_;
2379 
2380  mutable int _cached_size_;
2381  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
2382 
2383  friend void protobuf_AddDesc_table_2eproto();
2384  friend void protobuf_AssignDesc_table_2eproto();
2385  friend void protobuf_ShutdownFile_table_2eproto();
2386 
2387  void InitAsDefaultInstance();
2388  static AddedFields* default_instance_;
2389 };
2390 // ===================================================================
2391 
2392 
2393 // ===================================================================
2394 
2395 // Table_TableOptions
2396 
2397 // optional bool has_user_set_auto_increment_value = 1;
2398 inline bool Table_TableOptions::has_has_user_set_auto_increment_value() const {
2399  return (_has_bits_[0] & 0x00000001u) != 0;
2400 }
2401 inline void Table_TableOptions::set_has_has_user_set_auto_increment_value() {
2402  _has_bits_[0] |= 0x00000001u;
2403 }
2404 inline void Table_TableOptions::clear_has_has_user_set_auto_increment_value() {
2405  _has_bits_[0] &= ~0x00000001u;
2406 }
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();
2410 }
2411 inline bool Table_TableOptions::has_user_set_auto_increment_value() const {
2412  return has_user_set_auto_increment_value_;
2413 }
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;
2417 }
2418 
2419 // optional string collation = 2;
2420 inline bool Table_TableOptions::has_collation() const {
2421  return (_has_bits_[0] & 0x00000002u) != 0;
2422 }
2423 inline void Table_TableOptions::set_has_collation() {
2424  _has_bits_[0] |= 0x00000002u;
2425 }
2426 inline void Table_TableOptions::clear_has_collation() {
2427  _has_bits_[0] &= ~0x00000002u;
2428 }
2429 inline void Table_TableOptions::clear_collation() {
2430  if (collation_ != &::google::protobuf::internal::kEmptyString) {
2431  collation_->clear();
2432  }
2433  clear_has_collation();
2434 }
2435 inline const ::std::string& Table_TableOptions::collation() const {
2436  return *collation_;
2437 }
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;
2442  }
2443  collation_->assign(value);
2444 }
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;
2449  }
2450  collation_->assign(value);
2451 }
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;
2456  }
2457  collation_->assign(reinterpret_cast<const char*>(value), size);
2458 }
2459 inline ::std::string* Table_TableOptions::mutable_collation() {
2460  set_has_collation();
2461  if (collation_ == &::google::protobuf::internal::kEmptyString) {
2462  collation_ = new ::std::string;
2463  }
2464  return collation_;
2465 }
2466 inline ::std::string* Table_TableOptions::release_collation() {
2467  clear_has_collation();
2468  if (collation_ == &::google::protobuf::internal::kEmptyString) {
2469  return NULL;
2470  } else {
2471  ::std::string* temp = collation_;
2472  collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2473  return temp;
2474  }
2475 }
2476 inline void Table_TableOptions::set_allocated_collation(::std::string* collation) {
2477  if (collation_ != &::google::protobuf::internal::kEmptyString) {
2478  delete collation_;
2479  }
2480  if (collation) {
2481  set_has_collation();
2482  collation_ = collation;
2483  } else {
2484  clear_has_collation();
2485  collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2486  }
2487 }
2488 
2489 // optional uint32 collation_id = 3;
2490 inline bool Table_TableOptions::has_collation_id() const {
2491  return (_has_bits_[0] & 0x00000004u) != 0;
2492 }
2493 inline void Table_TableOptions::set_has_collation_id() {
2494  _has_bits_[0] |= 0x00000004u;
2495 }
2496 inline void Table_TableOptions::clear_has_collation_id() {
2497  _has_bits_[0] &= ~0x00000004u;
2498 }
2499 inline void Table_TableOptions::clear_collation_id() {
2500  collation_id_ = 0u;
2501  clear_has_collation_id();
2502 }
2503 inline ::google::protobuf::uint32 Table_TableOptions::collation_id() const {
2504  return collation_id_;
2505 }
2506 inline void Table_TableOptions::set_collation_id(::google::protobuf::uint32 value) {
2507  set_has_collation_id();
2508  collation_id_ = value;
2509 }
2510 
2511 // optional string data_file_name = 5;
2512 inline bool Table_TableOptions::has_data_file_name() const {
2513  return (_has_bits_[0] & 0x00000008u) != 0;
2514 }
2515 inline void Table_TableOptions::set_has_data_file_name() {
2516  _has_bits_[0] |= 0x00000008u;
2517 }
2518 inline void Table_TableOptions::clear_has_data_file_name() {
2519  _has_bits_[0] &= ~0x00000008u;
2520 }
2521 inline void Table_TableOptions::clear_data_file_name() {
2522  if (data_file_name_ != &::google::protobuf::internal::kEmptyString) {
2523  data_file_name_->clear();
2524  }
2525  clear_has_data_file_name();
2526 }
2527 inline const ::std::string& Table_TableOptions::data_file_name() const {
2528  return *data_file_name_;
2529 }
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;
2534  }
2535  data_file_name_->assign(value);
2536 }
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;
2541  }
2542  data_file_name_->assign(value);
2543 }
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;
2548  }
2549  data_file_name_->assign(reinterpret_cast<const char*>(value), size);
2550 }
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;
2555  }
2556  return data_file_name_;
2557 }
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) {
2561  return NULL;
2562  } else {
2563  ::std::string* temp = data_file_name_;
2564  data_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2565  return temp;
2566  }
2567 }
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_;
2571  }
2572  if (data_file_name) {
2573  set_has_data_file_name();
2574  data_file_name_ = data_file_name;
2575  } else {
2576  clear_has_data_file_name();
2577  data_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2578  }
2579 }
2580 
2581 // optional string index_file_name = 6;
2582 inline bool Table_TableOptions::has_index_file_name() const {
2583  return (_has_bits_[0] & 0x00000010u) != 0;
2584 }
2585 inline void Table_TableOptions::set_has_index_file_name() {
2586  _has_bits_[0] |= 0x00000010u;
2587 }
2588 inline void Table_TableOptions::clear_has_index_file_name() {
2589  _has_bits_[0] &= ~0x00000010u;
2590 }
2591 inline void Table_TableOptions::clear_index_file_name() {
2592  if (index_file_name_ != &::google::protobuf::internal::kEmptyString) {
2593  index_file_name_->clear();
2594  }
2595  clear_has_index_file_name();
2596 }
2597 inline const ::std::string& Table_TableOptions::index_file_name() const {
2598  return *index_file_name_;
2599 }
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;
2604  }
2605  index_file_name_->assign(value);
2606 }
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;
2611  }
2612  index_file_name_->assign(value);
2613 }
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;
2618  }
2619  index_file_name_->assign(reinterpret_cast<const char*>(value), size);
2620 }
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;
2625  }
2626  return index_file_name_;
2627 }
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) {
2631  return NULL;
2632  } else {
2633  ::std::string* temp = index_file_name_;
2634  index_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2635  return temp;
2636  }
2637 }
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_;
2641  }
2642  if (index_file_name) {
2643  set_has_index_file_name();
2644  index_file_name_ = index_file_name;
2645  } else {
2646  clear_has_index_file_name();
2647  index_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2648  }
2649 }
2650 
2651 // optional uint64 max_rows = 7;
2652 inline bool Table_TableOptions::has_max_rows() const {
2653  return (_has_bits_[0] & 0x00000020u) != 0;
2654 }
2655 inline void Table_TableOptions::set_has_max_rows() {
2656  _has_bits_[0] |= 0x00000020u;
2657 }
2658 inline void Table_TableOptions::clear_has_max_rows() {
2659  _has_bits_[0] &= ~0x00000020u;
2660 }
2661 inline void Table_TableOptions::clear_max_rows() {
2662  max_rows_ = GOOGLE_ULONGLONG(0);
2663  clear_has_max_rows();
2664 }
2665 inline ::google::protobuf::uint64 Table_TableOptions::max_rows() const {
2666  return max_rows_;
2667 }
2668 inline void Table_TableOptions::set_max_rows(::google::protobuf::uint64 value) {
2669  set_has_max_rows();
2670  max_rows_ = value;
2671 }
2672 
2673 // optional uint64 min_rows = 8;
2674 inline bool Table_TableOptions::has_min_rows() const {
2675  return (_has_bits_[0] & 0x00000040u) != 0;
2676 }
2677 inline void Table_TableOptions::set_has_min_rows() {
2678  _has_bits_[0] |= 0x00000040u;
2679 }
2680 inline void Table_TableOptions::clear_has_min_rows() {
2681  _has_bits_[0] &= ~0x00000040u;
2682 }
2683 inline void Table_TableOptions::clear_min_rows() {
2684  min_rows_ = GOOGLE_ULONGLONG(0);
2685  clear_has_min_rows();
2686 }
2687 inline ::google::protobuf::uint64 Table_TableOptions::min_rows() const {
2688  return min_rows_;
2689 }
2690 inline void Table_TableOptions::set_min_rows(::google::protobuf::uint64 value) {
2691  set_has_min_rows();
2692  min_rows_ = value;
2693 }
2694 
2695 // optional uint64 auto_increment_value = 9;
2696 inline bool Table_TableOptions::has_auto_increment_value() const {
2697  return (_has_bits_[0] & 0x00000080u) != 0;
2698 }
2699 inline void Table_TableOptions::set_has_auto_increment_value() {
2700  _has_bits_[0] |= 0x00000080u;
2701 }
2702 inline void Table_TableOptions::clear_has_auto_increment_value() {
2703  _has_bits_[0] &= ~0x00000080u;
2704 }
2705 inline void Table_TableOptions::clear_auto_increment_value() {
2706  auto_increment_value_ = GOOGLE_ULONGLONG(0);
2707  clear_has_auto_increment_value();
2708 }
2709 inline ::google::protobuf::uint64 Table_TableOptions::auto_increment_value() const {
2710  return auto_increment_value_;
2711 }
2712 inline void Table_TableOptions::set_auto_increment_value(::google::protobuf::uint64 value) {
2713  set_has_auto_increment_value();
2714  auto_increment_value_ = value;
2715 }
2716 
2717 // optional uint32 avg_row_length = 11;
2718 inline bool Table_TableOptions::has_avg_row_length() const {
2719  return (_has_bits_[0] & 0x00000100u) != 0;
2720 }
2721 inline void Table_TableOptions::set_has_avg_row_length() {
2722  _has_bits_[0] |= 0x00000100u;
2723 }
2724 inline void Table_TableOptions::clear_has_avg_row_length() {
2725  _has_bits_[0] &= ~0x00000100u;
2726 }
2727 inline void Table_TableOptions::clear_avg_row_length() {
2728  avg_row_length_ = 0u;
2729  clear_has_avg_row_length();
2730 }
2731 inline ::google::protobuf::uint32 Table_TableOptions::avg_row_length() const {
2732  return avg_row_length_;
2733 }
2734 inline void Table_TableOptions::set_avg_row_length(::google::protobuf::uint32 value) {
2735  set_has_avg_row_length();
2736  avg_row_length_ = value;
2737 }
2738 
2739 // optional uint32 block_size = 13;
2740 inline bool Table_TableOptions::has_block_size() const {
2741  return (_has_bits_[0] & 0x00000200u) != 0;
2742 }
2743 inline void Table_TableOptions::set_has_block_size() {
2744  _has_bits_[0] |= 0x00000200u;
2745 }
2746 inline void Table_TableOptions::clear_has_block_size() {
2747  _has_bits_[0] &= ~0x00000200u;
2748 }
2749 inline void Table_TableOptions::clear_block_size() {
2750  block_size_ = 0u;
2751  clear_has_block_size();
2752 }
2753 inline ::google::protobuf::uint32 Table_TableOptions::block_size() const {
2754  return block_size_;
2755 }
2756 inline void Table_TableOptions::set_block_size(::google::protobuf::uint32 value) {
2757  set_has_block_size();
2758  block_size_ = value;
2759 }
2760 
2761 // optional string comment = 14;
2762 inline bool Table_TableOptions::has_comment() const {
2763  return (_has_bits_[0] & 0x00000400u) != 0;
2764 }
2765 inline void Table_TableOptions::set_has_comment() {
2766  _has_bits_[0] |= 0x00000400u;
2767 }
2768 inline void Table_TableOptions::clear_has_comment() {
2769  _has_bits_[0] &= ~0x00000400u;
2770 }
2771 inline void Table_TableOptions::clear_comment() {
2772  if (comment_ != &::google::protobuf::internal::kEmptyString) {
2773  comment_->clear();
2774  }
2775  clear_has_comment();
2776 }
2777 inline const ::std::string& Table_TableOptions::comment() const {
2778  return *comment_;
2779 }
2780 inline void Table_TableOptions::set_comment(const ::std::string& value) {
2781  set_has_comment();
2782  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2783  comment_ = new ::std::string;
2784  }
2785  comment_->assign(value);
2786 }
2787 inline void Table_TableOptions::set_comment(const char* value) {
2788  set_has_comment();
2789  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2790  comment_ = new ::std::string;
2791  }
2792  comment_->assign(value);
2793 }
2794 inline void Table_TableOptions::set_comment(const char* value, size_t size) {
2795  set_has_comment();
2796  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2797  comment_ = new ::std::string;
2798  }
2799  comment_->assign(reinterpret_cast<const char*>(value), size);
2800 }
2801 inline ::std::string* Table_TableOptions::mutable_comment() {
2802  set_has_comment();
2803  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2804  comment_ = new ::std::string;
2805  }
2806  return comment_;
2807 }
2808 inline ::std::string* Table_TableOptions::release_comment() {
2809  clear_has_comment();
2810  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2811  return NULL;
2812  } else {
2813  ::std::string* temp = comment_;
2814  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2815  return temp;
2816  }
2817 }
2818 inline void Table_TableOptions::set_allocated_comment(::std::string* comment) {
2819  if (comment_ != &::google::protobuf::internal::kEmptyString) {
2820  delete comment_;
2821  }
2822  if (comment) {
2823  set_has_comment();
2824  comment_ = comment;
2825  } else {
2826  clear_has_comment();
2827  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2828  }
2829 }
2830 
2831 // optional bool pack_record = 16;
2832 inline bool Table_TableOptions::has_pack_record() const {
2833  return (_has_bits_[0] & 0x00000800u) != 0;
2834 }
2835 inline void Table_TableOptions::set_has_pack_record() {
2836  _has_bits_[0] |= 0x00000800u;
2837 }
2838 inline void Table_TableOptions::clear_has_pack_record() {
2839  _has_bits_[0] &= ~0x00000800u;
2840 }
2841 inline void Table_TableOptions::clear_pack_record() {
2842  pack_record_ = false;
2843  clear_has_pack_record();
2844 }
2845 inline bool Table_TableOptions::pack_record() const {
2846  return pack_record_;
2847 }
2848 inline void Table_TableOptions::set_pack_record(bool value) {
2849  set_has_pack_record();
2850  pack_record_ = value;
2851 }
2852 
2853 // optional bool checksum = 17;
2854 inline bool Table_TableOptions::has_checksum() const {
2855  return (_has_bits_[0] & 0x00001000u) != 0;
2856 }
2857 inline void Table_TableOptions::set_has_checksum() {
2858  _has_bits_[0] |= 0x00001000u;
2859 }
2860 inline void Table_TableOptions::clear_has_checksum() {
2861  _has_bits_[0] &= ~0x00001000u;
2862 }
2863 inline void Table_TableOptions::clear_checksum() {
2864  checksum_ = false;
2865  clear_has_checksum();
2866 }
2867 inline bool Table_TableOptions::checksum() const {
2868  return checksum_;
2869 }
2870 inline void Table_TableOptions::set_checksum(bool value) {
2871  set_has_checksum();
2872  checksum_ = value;
2873 }
2874 
2875 // optional bool page_checksum = 18;
2876 inline bool Table_TableOptions::has_page_checksum() const {
2877  return (_has_bits_[0] & 0x00002000u) != 0;
2878 }
2879 inline void Table_TableOptions::set_has_page_checksum() {
2880  _has_bits_[0] |= 0x00002000u;
2881 }
2882 inline void Table_TableOptions::clear_has_page_checksum() {
2883  _has_bits_[0] &= ~0x00002000u;
2884 }
2885 inline void Table_TableOptions::clear_page_checksum() {
2886  page_checksum_ = false;
2887  clear_has_page_checksum();
2888 }
2889 inline bool Table_TableOptions::page_checksum() const {
2890  return page_checksum_;
2891 }
2892 inline void Table_TableOptions::set_page_checksum(bool value) {
2893  set_has_page_checksum();
2894  page_checksum_ = value;
2895 }
2896 
2897 // optional bool delay_key_write = 19;
2898 inline bool Table_TableOptions::has_delay_key_write() const {
2899  return (_has_bits_[0] & 0x00004000u) != 0;
2900 }
2901 inline void Table_TableOptions::set_has_delay_key_write() {
2902  _has_bits_[0] |= 0x00004000u;
2903 }
2904 inline void Table_TableOptions::clear_has_delay_key_write() {
2905  _has_bits_[0] &= ~0x00004000u;
2906 }
2907 inline void Table_TableOptions::clear_delay_key_write() {
2908  delay_key_write_ = false;
2909  clear_has_delay_key_write();
2910 }
2911 inline bool Table_TableOptions::delay_key_write() const {
2912  return delay_key_write_;
2913 }
2914 inline void Table_TableOptions::set_delay_key_write(bool value) {
2915  set_has_delay_key_write();
2916  delay_key_write_ = value;
2917 }
2918 
2919 // optional bool unused = 20;
2920 inline bool Table_TableOptions::has_unused() const {
2921  return (_has_bits_[0] & 0x00008000u) != 0;
2922 }
2923 inline void Table_TableOptions::set_has_unused() {
2924  _has_bits_[0] |= 0x00008000u;
2925 }
2926 inline void Table_TableOptions::clear_has_unused() {
2927  _has_bits_[0] &= ~0x00008000u;
2928 }
2929 inline void Table_TableOptions::clear_unused() {
2930  unused_ = false;
2931  clear_has_unused();
2932 }
2933 inline bool Table_TableOptions::unused() const {
2934  return unused_;
2935 }
2936 inline void Table_TableOptions::set_unused(bool value) {
2937  set_has_unused();
2938  unused_ = value;
2939 }
2940 
2941 // -------------------------------------------------------------------
2942 
2943 // Table_ForeignKeyConstraint
2944 
2945 // optional string name = 1;
2946 inline bool Table_ForeignKeyConstraint::has_name() const {
2947  return (_has_bits_[0] & 0x00000001u) != 0;
2948 }
2949 inline void Table_ForeignKeyConstraint::set_has_name() {
2950  _has_bits_[0] |= 0x00000001u;
2951 }
2952 inline void Table_ForeignKeyConstraint::clear_has_name() {
2953  _has_bits_[0] &= ~0x00000001u;
2954 }
2955 inline void Table_ForeignKeyConstraint::clear_name() {
2956  if (name_ != &::google::protobuf::internal::kEmptyString) {
2957  name_->clear();
2958  }
2959  clear_has_name();
2960 }
2961 inline const ::std::string& Table_ForeignKeyConstraint::name() const {
2962  return *name_;
2963 }
2964 inline void Table_ForeignKeyConstraint::set_name(const ::std::string& value) {
2965  set_has_name();
2966  if (name_ == &::google::protobuf::internal::kEmptyString) {
2967  name_ = new ::std::string;
2968  }
2969  name_->assign(value);
2970 }
2971 inline void Table_ForeignKeyConstraint::set_name(const char* value) {
2972  set_has_name();
2973  if (name_ == &::google::protobuf::internal::kEmptyString) {
2974  name_ = new ::std::string;
2975  }
2976  name_->assign(value);
2977 }
2978 inline void Table_ForeignKeyConstraint::set_name(const char* value, size_t size) {
2979  set_has_name();
2980  if (name_ == &::google::protobuf::internal::kEmptyString) {
2981  name_ = new ::std::string;
2982  }
2983  name_->assign(reinterpret_cast<const char*>(value), size);
2984 }
2985 inline ::std::string* Table_ForeignKeyConstraint::mutable_name() {
2986  set_has_name();
2987  if (name_ == &::google::protobuf::internal::kEmptyString) {
2988  name_ = new ::std::string;
2989  }
2990  return name_;
2991 }
2992 inline ::std::string* Table_ForeignKeyConstraint::release_name() {
2993  clear_has_name();
2994  if (name_ == &::google::protobuf::internal::kEmptyString) {
2995  return NULL;
2996  } else {
2997  ::std::string* temp = name_;
2998  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2999  return temp;
3000  }
3001 }
3002 inline void Table_ForeignKeyConstraint::set_allocated_name(::std::string* name) {
3003  if (name_ != &::google::protobuf::internal::kEmptyString) {
3004  delete name_;
3005  }
3006  if (name) {
3007  set_has_name();
3008  name_ = name;
3009  } else {
3010  clear_has_name();
3011  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3012  }
3013 }
3014 
3015 // repeated string column_names = 2;
3016 inline int Table_ForeignKeyConstraint::column_names_size() const {
3017  return column_names_.size();
3018 }
3019 inline void Table_ForeignKeyConstraint::clear_column_names() {
3020  column_names_.Clear();
3021 }
3022 inline const ::std::string& Table_ForeignKeyConstraint::column_names(int index) const {
3023  return column_names_.Get(index);
3024 }
3025 inline ::std::string* Table_ForeignKeyConstraint::mutable_column_names(int index) {
3026  return column_names_.Mutable(index);
3027 }
3028 inline void Table_ForeignKeyConstraint::set_column_names(int index, const ::std::string& value) {
3029  column_names_.Mutable(index)->assign(value);
3030 }
3031 inline void Table_ForeignKeyConstraint::set_column_names(int index, const char* value) {
3032  column_names_.Mutable(index)->assign(value);
3033 }
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);
3037 }
3038 inline ::std::string* Table_ForeignKeyConstraint::add_column_names() {
3039  return column_names_.Add();
3040 }
3041 inline void Table_ForeignKeyConstraint::add_column_names(const ::std::string& value) {
3042  column_names_.Add()->assign(value);
3043 }
3044 inline void Table_ForeignKeyConstraint::add_column_names(const char* value) {
3045  column_names_.Add()->assign(value);
3046 }
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);
3049 }
3050 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3051 Table_ForeignKeyConstraint::column_names() const {
3052  return column_names_;
3053 }
3054 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3055 Table_ForeignKeyConstraint::mutable_column_names() {
3056  return &column_names_;
3057 }
3058 
3059 // required string references_table_name = 3;
3060 inline bool Table_ForeignKeyConstraint::has_references_table_name() const {
3061  return (_has_bits_[0] & 0x00000004u) != 0;
3062 }
3063 inline void Table_ForeignKeyConstraint::set_has_references_table_name() {
3064  _has_bits_[0] |= 0x00000004u;
3065 }
3066 inline void Table_ForeignKeyConstraint::clear_has_references_table_name() {
3067  _has_bits_[0] &= ~0x00000004u;
3068 }
3069 inline void Table_ForeignKeyConstraint::clear_references_table_name() {
3070  if (references_table_name_ != &::google::protobuf::internal::kEmptyString) {
3071  references_table_name_->clear();
3072  }
3073  clear_has_references_table_name();
3074 }
3075 inline const ::std::string& Table_ForeignKeyConstraint::references_table_name() const {
3076  return *references_table_name_;
3077 }
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;
3082  }
3083  references_table_name_->assign(value);
3084 }
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;
3089  }
3090  references_table_name_->assign(value);
3091 }
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;
3096  }
3097  references_table_name_->assign(reinterpret_cast<const char*>(value), size);
3098 }
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;
3103  }
3104  return references_table_name_;
3105 }
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) {
3109  return NULL;
3110  } else {
3111  ::std::string* temp = references_table_name_;
3112  references_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3113  return temp;
3114  }
3115 }
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_;
3119  }
3120  if (references_table_name) {
3121  set_has_references_table_name();
3122  references_table_name_ = references_table_name;
3123  } else {
3124  clear_has_references_table_name();
3125  references_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3126  }
3127 }
3128 
3129 // repeated string references_columns = 4;
3130 inline int Table_ForeignKeyConstraint::references_columns_size() const {
3131  return references_columns_.size();
3132 }
3133 inline void Table_ForeignKeyConstraint::clear_references_columns() {
3134  references_columns_.Clear();
3135 }
3136 inline const ::std::string& Table_ForeignKeyConstraint::references_columns(int index) const {
3137  return references_columns_.Get(index);
3138 }
3139 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_columns(int index) {
3140  return references_columns_.Mutable(index);
3141 }
3142 inline void Table_ForeignKeyConstraint::set_references_columns(int index, const ::std::string& value) {
3143  references_columns_.Mutable(index)->assign(value);
3144 }
3145 inline void Table_ForeignKeyConstraint::set_references_columns(int index, const char* value) {
3146  references_columns_.Mutable(index)->assign(value);
3147 }
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);
3151 }
3152 inline ::std::string* Table_ForeignKeyConstraint::add_references_columns() {
3153  return references_columns_.Add();
3154 }
3155 inline void Table_ForeignKeyConstraint::add_references_columns(const ::std::string& value) {
3156  references_columns_.Add()->assign(value);
3157 }
3158 inline void Table_ForeignKeyConstraint::add_references_columns(const char* value) {
3159  references_columns_.Add()->assign(value);
3160 }
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);
3163 }
3164 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3165 Table_ForeignKeyConstraint::references_columns() const {
3166  return references_columns_;
3167 }
3168 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3169 Table_ForeignKeyConstraint::mutable_references_columns() {
3170  return &references_columns_;
3171 }
3172 
3173 // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyMatchOption match = 5;
3174 inline bool Table_ForeignKeyConstraint::has_match() const {
3175  return (_has_bits_[0] & 0x00000010u) != 0;
3176 }
3177 inline void Table_ForeignKeyConstraint::set_has_match() {
3178  _has_bits_[0] |= 0x00000010u;
3179 }
3180 inline void Table_ForeignKeyConstraint::clear_has_match() {
3181  _has_bits_[0] &= ~0x00000010u;
3182 }
3183 inline void Table_ForeignKeyConstraint::clear_match() {
3184  match_ = 0;
3185  clear_has_match();
3186 }
3187 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::match() const {
3188  return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption >(match_);
3189 }
3190 inline void Table_ForeignKeyConstraint::set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
3191  assert(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value));
3192  set_has_match();
3193  match_ = value;
3194 }
3195 
3196 // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption update_option = 6 [default = OPTION_UNDEF];
3197 inline bool Table_ForeignKeyConstraint::has_update_option() const {
3198  return (_has_bits_[0] & 0x00000020u) != 0;
3199 }
3200 inline void Table_ForeignKeyConstraint::set_has_update_option() {
3201  _has_bits_[0] |= 0x00000020u;
3202 }
3203 inline void Table_ForeignKeyConstraint::clear_has_update_option() {
3204  _has_bits_[0] &= ~0x00000020u;
3205 }
3206 inline void Table_ForeignKeyConstraint::clear_update_option() {
3207  update_option_ = 0;
3208  clear_has_update_option();
3209 }
3210 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::update_option() const {
3211  return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption >(update_option_);
3212 }
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;
3217 }
3218 
3219 // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption delete_option = 7 [default = OPTION_UNDEF];
3220 inline bool Table_ForeignKeyConstraint::has_delete_option() const {
3221  return (_has_bits_[0] & 0x00000040u) != 0;
3222 }
3223 inline void Table_ForeignKeyConstraint::set_has_delete_option() {
3224  _has_bits_[0] |= 0x00000040u;
3225 }
3226 inline void Table_ForeignKeyConstraint::clear_has_delete_option() {
3227  _has_bits_[0] &= ~0x00000040u;
3228 }
3229 inline void Table_ForeignKeyConstraint::clear_delete_option() {
3230  delete_option_ = 0;
3231  clear_has_delete_option();
3232 }
3233 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::delete_option() const {
3234  return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption >(delete_option_);
3235 }
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;
3240 }
3241 
3242 // -------------------------------------------------------------------
3243 
3244 // Table_Field_FieldOptions
3245 
3246 // optional string default_value = 1;
3247 inline bool Table_Field_FieldOptions::has_default_value() const {
3248  return (_has_bits_[0] & 0x00000001u) != 0;
3249 }
3250 inline void Table_Field_FieldOptions::set_has_default_value() {
3251  _has_bits_[0] |= 0x00000001u;
3252 }
3253 inline void Table_Field_FieldOptions::clear_has_default_value() {
3254  _has_bits_[0] &= ~0x00000001u;
3255 }
3256 inline void Table_Field_FieldOptions::clear_default_value() {
3257  if (default_value_ != &::google::protobuf::internal::kEmptyString) {
3258  default_value_->clear();
3259  }
3260  clear_has_default_value();
3261 }
3262 inline const ::std::string& Table_Field_FieldOptions::default_value() const {
3263  return *default_value_;
3264 }
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;
3269  }
3270  default_value_->assign(value);
3271 }
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;
3276  }
3277  default_value_->assign(value);
3278 }
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;
3283  }
3284  default_value_->assign(reinterpret_cast<const char*>(value), size);
3285 }
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;
3290  }
3291  return default_value_;
3292 }
3293 inline ::std::string* Table_Field_FieldOptions::release_default_value() {
3294  clear_has_default_value();
3295  if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3296  return NULL;
3297  } else {
3298  ::std::string* temp = default_value_;
3299  default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3300  return temp;
3301  }
3302 }
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_;
3306  }
3307  if (default_value) {
3308  set_has_default_value();
3309  default_value_ = default_value;
3310  } else {
3311  clear_has_default_value();
3312  default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3313  }
3314 }
3315 
3316 // optional string update_value = 2;
3317 inline bool Table_Field_FieldOptions::has_update_value() const {
3318  return (_has_bits_[0] & 0x00000002u) != 0;
3319 }
3320 inline void Table_Field_FieldOptions::set_has_update_value() {
3321  _has_bits_[0] |= 0x00000002u;
3322 }
3323 inline void Table_Field_FieldOptions::clear_has_update_value() {
3324  _has_bits_[0] &= ~0x00000002u;
3325 }
3326 inline void Table_Field_FieldOptions::clear_update_value() {
3327  if (update_value_ != &::google::protobuf::internal::kEmptyString) {
3328  update_value_->clear();
3329  }
3330  clear_has_update_value();
3331 }
3332 inline const ::std::string& Table_Field_FieldOptions::update_value() const {
3333  return *update_value_;
3334 }
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;
3339  }
3340  update_value_->assign(value);
3341 }
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;
3346  }
3347  update_value_->assign(value);
3348 }
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;
3353  }
3354  update_value_->assign(reinterpret_cast<const char*>(value), size);
3355 }
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;
3360  }
3361  return update_value_;
3362 }
3363 inline ::std::string* Table_Field_FieldOptions::release_update_value() {
3364  clear_has_update_value();
3365  if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3366  return NULL;
3367  } else {
3368  ::std::string* temp = update_value_;
3369  update_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3370  return temp;
3371  }
3372 }
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_;
3376  }
3377  if (update_value) {
3378  set_has_update_value();
3379  update_value_ = update_value;
3380  } else {
3381  clear_has_update_value();
3382  update_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3383  }
3384 }
3385 
3386 // optional bool default_null = 3 [default = false];
3387 inline bool Table_Field_FieldOptions::has_default_null() const {
3388  return (_has_bits_[0] & 0x00000004u) != 0;
3389 }
3390 inline void Table_Field_FieldOptions::set_has_default_null() {
3391  _has_bits_[0] |= 0x00000004u;
3392 }
3393 inline void Table_Field_FieldOptions::clear_has_default_null() {
3394  _has_bits_[0] &= ~0x00000004u;
3395 }
3396 inline void Table_Field_FieldOptions::clear_default_null() {
3397  default_null_ = false;
3398  clear_has_default_null();
3399 }
3400 inline bool Table_Field_FieldOptions::default_null() const {
3401  return default_null_;
3402 }
3403 inline void Table_Field_FieldOptions::set_default_null(bool value) {
3404  set_has_default_null();
3405  default_null_ = value;
3406 }
3407 
3408 // optional bytes default_bin_value = 4;
3409 inline bool Table_Field_FieldOptions::has_default_bin_value() const {
3410  return (_has_bits_[0] & 0x00000008u) != 0;
3411 }
3412 inline void Table_Field_FieldOptions::set_has_default_bin_value() {
3413  _has_bits_[0] |= 0x00000008u;
3414 }
3415 inline void Table_Field_FieldOptions::clear_has_default_bin_value() {
3416  _has_bits_[0] &= ~0x00000008u;
3417 }
3418 inline void Table_Field_FieldOptions::clear_default_bin_value() {
3419  if (default_bin_value_ != &::google::protobuf::internal::kEmptyString) {
3420  default_bin_value_->clear();
3421  }
3422  clear_has_default_bin_value();
3423 }
3424 inline const ::std::string& Table_Field_FieldOptions::default_bin_value() const {
3425  return *default_bin_value_;
3426 }
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;
3431  }
3432  default_bin_value_->assign(value);
3433 }
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;
3438  }
3439  default_bin_value_->assign(value);
3440 }
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;
3445  }
3446  default_bin_value_->assign(reinterpret_cast<const char*>(value), size);
3447 }
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;
3452  }
3453  return default_bin_value_;
3454 }
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) {
3458  return NULL;
3459  } else {
3460  ::std::string* temp = default_bin_value_;
3461  default_bin_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3462  return temp;
3463  }
3464 }
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_;
3468  }
3469  if (default_bin_value) {
3470  set_has_default_bin_value();
3471  default_bin_value_ = default_bin_value;
3472  } else {
3473  clear_has_default_bin_value();
3474  default_bin_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3475  }
3476 }
3477 
3478 // optional string default_expression = 5;
3479 inline bool Table_Field_FieldOptions::has_default_expression() const {
3480  return (_has_bits_[0] & 0x00000010u) != 0;
3481 }
3482 inline void Table_Field_FieldOptions::set_has_default_expression() {
3483  _has_bits_[0] |= 0x00000010u;
3484 }
3485 inline void Table_Field_FieldOptions::clear_has_default_expression() {
3486  _has_bits_[0] &= ~0x00000010u;
3487 }
3488 inline void Table_Field_FieldOptions::clear_default_expression() {
3489  if (default_expression_ != &::google::protobuf::internal::kEmptyString) {
3490  default_expression_->clear();
3491  }
3492  clear_has_default_expression();
3493 }
3494 inline const ::std::string& Table_Field_FieldOptions::default_expression() const {
3495  return *default_expression_;
3496 }
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;
3501  }
3502  default_expression_->assign(value);
3503 }
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;
3508  }
3509  default_expression_->assign(value);
3510 }
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;
3515  }
3516  default_expression_->assign(reinterpret_cast<const char*>(value), size);
3517 }
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;
3522  }
3523  return default_expression_;
3524 }
3525 inline ::std::string* Table_Field_FieldOptions::release_default_expression() {
3526  clear_has_default_expression();
3527  if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3528  return NULL;
3529  } else {
3530  ::std::string* temp = default_expression_;
3531  default_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3532  return temp;
3533  }
3534 }
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_;
3538  }
3539  if (default_expression) {
3540  set_has_default_expression();
3541  default_expression_ = default_expression;
3542  } else {
3543  clear_has_default_expression();
3544  default_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3545  }
3546 }
3547 
3548 // optional string update_expression = 6;
3549 inline bool Table_Field_FieldOptions::has_update_expression() const {
3550  return (_has_bits_[0] & 0x00000020u) != 0;
3551 }
3552 inline void Table_Field_FieldOptions::set_has_update_expression() {
3553  _has_bits_[0] |= 0x00000020u;
3554 }
3555 inline void Table_Field_FieldOptions::clear_has_update_expression() {
3556  _has_bits_[0] &= ~0x00000020u;
3557 }
3558 inline void Table_Field_FieldOptions::clear_update_expression() {
3559  if (update_expression_ != &::google::protobuf::internal::kEmptyString) {
3560  update_expression_->clear();
3561  }
3562  clear_has_update_expression();
3563 }
3564 inline const ::std::string& Table_Field_FieldOptions::update_expression() const {
3565  return *update_expression_;
3566 }
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;
3571  }
3572  update_expression_->assign(value);
3573 }
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;
3578  }
3579  update_expression_->assign(value);
3580 }
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;
3585  }
3586  update_expression_->assign(reinterpret_cast<const char*>(value), size);
3587 }
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;
3592  }
3593  return update_expression_;
3594 }
3595 inline ::std::string* Table_Field_FieldOptions::release_update_expression() {
3596  clear_has_update_expression();
3597  if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3598  return NULL;
3599  } else {
3600  ::std::string* temp = update_expression_;
3601  update_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3602  return temp;
3603  }
3604 }
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_;
3608  }
3609  if (update_expression) {
3610  set_has_update_expression();
3611  update_expression_ = update_expression;
3612  } else {
3613  clear_has_update_expression();
3614  update_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3615  }
3616 }
3617 
3618 // -------------------------------------------------------------------
3619 
3620 // Table_Field_FieldConstraints
3621 
3622 // optional bool is_nullable = 1 [default = true];
3623 inline bool Table_Field_FieldConstraints::has_is_nullable() const {
3624  return (_has_bits_[0] & 0x00000001u) != 0;
3625 }
3626 inline void Table_Field_FieldConstraints::set_has_is_nullable() {
3627  _has_bits_[0] |= 0x00000001u;
3628 }
3629 inline void Table_Field_FieldConstraints::clear_has_is_nullable() {
3630  _has_bits_[0] &= ~0x00000001u;
3631 }
3632 inline void Table_Field_FieldConstraints::clear_is_nullable() {
3633  is_nullable_ = true;
3634  clear_has_is_nullable();
3635 }
3636 inline bool Table_Field_FieldConstraints::is_nullable() const {
3637  return is_nullable_;
3638 }
3639 inline void Table_Field_FieldConstraints::set_is_nullable(bool value) {
3640  set_has_is_nullable();
3641  is_nullable_ = value;
3642 }
3643 
3644 // optional bool is_unsigned = 2 [default = false];
3645 inline bool Table_Field_FieldConstraints::has_is_unsigned() const {
3646  return (_has_bits_[0] & 0x00000002u) != 0;
3647 }
3648 inline void Table_Field_FieldConstraints::set_has_is_unsigned() {
3649  _has_bits_[0] |= 0x00000002u;
3650 }
3651 inline void Table_Field_FieldConstraints::clear_has_is_unsigned() {
3652  _has_bits_[0] &= ~0x00000002u;
3653 }
3654 inline void Table_Field_FieldConstraints::clear_is_unsigned() {
3655  is_unsigned_ = false;
3656  clear_has_is_unsigned();
3657 }
3658 inline bool Table_Field_FieldConstraints::is_unsigned() const {
3659  return is_unsigned_;
3660 }
3661 inline void Table_Field_FieldConstraints::set_is_unsigned(bool value) {
3662  set_has_is_unsigned();
3663  is_unsigned_ = value;
3664 }
3665 
3666 // optional bool is_notnull = 3 [default = false];
3667 inline bool Table_Field_FieldConstraints::has_is_notnull() const {
3668  return (_has_bits_[0] & 0x00000004u) != 0;
3669 }
3670 inline void Table_Field_FieldConstraints::set_has_is_notnull() {
3671  _has_bits_[0] |= 0x00000004u;
3672 }
3673 inline void Table_Field_FieldConstraints::clear_has_is_notnull() {
3674  _has_bits_[0] &= ~0x00000004u;
3675 }
3676 inline void Table_Field_FieldConstraints::clear_is_notnull() {
3677  is_notnull_ = false;
3678  clear_has_is_notnull();
3679 }
3680 inline bool Table_Field_FieldConstraints::is_notnull() const {
3681  return is_notnull_;
3682 }
3683 inline void Table_Field_FieldConstraints::set_is_notnull(bool value) {
3684  set_has_is_notnull();
3685  is_notnull_ = value;
3686 }
3687 
3688 // optional bool is_unique = 4 [default = false];
3689 inline bool Table_Field_FieldConstraints::has_is_unique() const {
3690  return (_has_bits_[0] & 0x00000008u) != 0;
3691 }
3692 inline void Table_Field_FieldConstraints::set_has_is_unique() {
3693  _has_bits_[0] |= 0x00000008u;
3694 }
3695 inline void Table_Field_FieldConstraints::clear_has_is_unique() {
3696  _has_bits_[0] &= ~0x00000008u;
3697 }
3698 inline void Table_Field_FieldConstraints::clear_is_unique() {
3699  is_unique_ = false;
3700  clear_has_is_unique();
3701 }
3702 inline bool Table_Field_FieldConstraints::is_unique() const {
3703  return is_unique_;
3704 }
3705 inline void Table_Field_FieldConstraints::set_is_unique(bool value) {
3706  set_has_is_unique();
3707  is_unique_ = value;
3708 }
3709 
3710 // repeated string expression = 16;
3711 inline int Table_Field_FieldConstraints::expression_size() const {
3712  return expression_.size();
3713 }
3714 inline void Table_Field_FieldConstraints::clear_expression() {
3715  expression_.Clear();
3716 }
3717 inline const ::std::string& Table_Field_FieldConstraints::expression(int index) const {
3718  return expression_.Get(index);
3719 }
3720 inline ::std::string* Table_Field_FieldConstraints::mutable_expression(int index) {
3721  return expression_.Mutable(index);
3722 }
3723 inline void Table_Field_FieldConstraints::set_expression(int index, const ::std::string& value) {
3724  expression_.Mutable(index)->assign(value);
3725 }
3726 inline void Table_Field_FieldConstraints::set_expression(int index, const char* value) {
3727  expression_.Mutable(index)->assign(value);
3728 }
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);
3732 }
3733 inline ::std::string* Table_Field_FieldConstraints::add_expression() {
3734  return expression_.Add();
3735 }
3736 inline void Table_Field_FieldConstraints::add_expression(const ::std::string& value) {
3737  expression_.Add()->assign(value);
3738 }
3739 inline void Table_Field_FieldConstraints::add_expression(const char* value) {
3740  expression_.Add()->assign(value);
3741 }
3742 inline void Table_Field_FieldConstraints::add_expression(const char* value, size_t size) {
3743  expression_.Add()->assign(reinterpret_cast<const char*>(value), size);
3744 }
3745 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3746 Table_Field_FieldConstraints::expression() const {
3747  return expression_;
3748 }
3749 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3750 Table_Field_FieldConstraints::mutable_expression() {
3751  return &expression_;
3752 }
3753 
3754 // -------------------------------------------------------------------
3755 
3756 // Table_Field_NumericFieldOptions
3757 
3758 // optional bool is_autoincrement = 1 [default = false];
3759 inline bool Table_Field_NumericFieldOptions::has_is_autoincrement() const {
3760  return (_has_bits_[0] & 0x00000001u) != 0;
3761 }
3762 inline void Table_Field_NumericFieldOptions::set_has_is_autoincrement() {
3763  _has_bits_[0] |= 0x00000001u;
3764 }
3765 inline void Table_Field_NumericFieldOptions::clear_has_is_autoincrement() {
3766  _has_bits_[0] &= ~0x00000001u;
3767 }
3768 inline void Table_Field_NumericFieldOptions::clear_is_autoincrement() {
3769  is_autoincrement_ = false;
3770  clear_has_is_autoincrement();
3771 }
3772 inline bool Table_Field_NumericFieldOptions::is_autoincrement() const {
3773  return is_autoincrement_;
3774 }
3775 inline void Table_Field_NumericFieldOptions::set_is_autoincrement(bool value) {
3776  set_has_is_autoincrement();
3777  is_autoincrement_ = value;
3778 }
3779 
3780 // optional uint32 scale = 2;
3781 inline bool Table_Field_NumericFieldOptions::has_scale() const {
3782  return (_has_bits_[0] & 0x00000002u) != 0;
3783 }
3784 inline void Table_Field_NumericFieldOptions::set_has_scale() {
3785  _has_bits_[0] |= 0x00000002u;
3786 }
3787 inline void Table_Field_NumericFieldOptions::clear_has_scale() {
3788  _has_bits_[0] &= ~0x00000002u;
3789 }
3790 inline void Table_Field_NumericFieldOptions::clear_scale() {
3791  scale_ = 0u;
3792  clear_has_scale();
3793 }
3794 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::scale() const {
3795  return scale_;
3796 }
3797 inline void Table_Field_NumericFieldOptions::set_scale(::google::protobuf::uint32 value) {
3798  set_has_scale();
3799  scale_ = value;
3800 }
3801 
3802 // optional uint32 precision = 3;
3803 inline bool Table_Field_NumericFieldOptions::has_precision() const {
3804  return (_has_bits_[0] & 0x00000004u) != 0;
3805 }
3806 inline void Table_Field_NumericFieldOptions::set_has_precision() {
3807  _has_bits_[0] |= 0x00000004u;
3808 }
3809 inline void Table_Field_NumericFieldOptions::clear_has_precision() {
3810  _has_bits_[0] &= ~0x00000004u;
3811 }
3812 inline void Table_Field_NumericFieldOptions::clear_precision() {
3813  precision_ = 0u;
3814  clear_has_precision();
3815 }
3816 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::precision() const {
3817  return precision_;
3818 }
3819 inline void Table_Field_NumericFieldOptions::set_precision(::google::protobuf::uint32 value) {
3820  set_has_precision();
3821  precision_ = value;
3822 }
3823 
3824 // -------------------------------------------------------------------
3825 
3826 // Table_Field_StringFieldOptions
3827 
3828 // optional bool is_fixed_width = 1 [default = false];
3829 inline bool Table_Field_StringFieldOptions::has_is_fixed_width() const {
3830  return (_has_bits_[0] & 0x00000001u) != 0;
3831 }
3832 inline void Table_Field_StringFieldOptions::set_has_is_fixed_width() {
3833  _has_bits_[0] |= 0x00000001u;
3834 }
3835 inline void Table_Field_StringFieldOptions::clear_has_is_fixed_width() {
3836  _has_bits_[0] &= ~0x00000001u;
3837 }
3838 inline void Table_Field_StringFieldOptions::clear_is_fixed_width() {
3839  is_fixed_width_ = false;
3840  clear_has_is_fixed_width();
3841 }
3842 inline bool Table_Field_StringFieldOptions::is_fixed_width() const {
3843  return is_fixed_width_;
3844 }
3845 inline void Table_Field_StringFieldOptions::set_is_fixed_width(bool value) {
3846  set_has_is_fixed_width();
3847  is_fixed_width_ = value;
3848 }
3849 
3850 // optional uint32 length = 2;
3851 inline bool Table_Field_StringFieldOptions::has_length() const {
3852  return (_has_bits_[0] & 0x00000002u) != 0;
3853 }
3854 inline void Table_Field_StringFieldOptions::set_has_length() {
3855  _has_bits_[0] |= 0x00000002u;
3856 }
3857 inline void Table_Field_StringFieldOptions::clear_has_length() {
3858  _has_bits_[0] &= ~0x00000002u;
3859 }
3860 inline void Table_Field_StringFieldOptions::clear_length() {
3861  length_ = 0u;
3862  clear_has_length();
3863 }
3864 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::length() const {
3865  return length_;
3866 }
3867 inline void Table_Field_StringFieldOptions::set_length(::google::protobuf::uint32 value) {
3868  set_has_length();
3869  length_ = value;
3870 }
3871 
3872 // optional uint32 collation_id = 3;
3873 inline bool Table_Field_StringFieldOptions::has_collation_id() const {
3874  return (_has_bits_[0] & 0x00000004u) != 0;
3875 }
3876 inline void Table_Field_StringFieldOptions::set_has_collation_id() {
3877  _has_bits_[0] |= 0x00000004u;
3878 }
3879 inline void Table_Field_StringFieldOptions::clear_has_collation_id() {
3880  _has_bits_[0] &= ~0x00000004u;
3881 }
3882 inline void Table_Field_StringFieldOptions::clear_collation_id() {
3883  collation_id_ = 0u;
3884  clear_has_collation_id();
3885 }
3886 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::collation_id() const {
3887  return collation_id_;
3888 }
3889 inline void Table_Field_StringFieldOptions::set_collation_id(::google::protobuf::uint32 value) {
3890  set_has_collation_id();
3891  collation_id_ = value;
3892 }
3893 
3894 // optional string collation = 4;
3895 inline bool Table_Field_StringFieldOptions::has_collation() const {
3896  return (_has_bits_[0] & 0x00000008u) != 0;
3897 }
3898 inline void Table_Field_StringFieldOptions::set_has_collation() {
3899  _has_bits_[0] |= 0x00000008u;
3900 }
3901 inline void Table_Field_StringFieldOptions::clear_has_collation() {
3902  _has_bits_[0] &= ~0x00000008u;
3903 }
3904 inline void Table_Field_StringFieldOptions::clear_collation() {
3905  if (collation_ != &::google::protobuf::internal::kEmptyString) {
3906  collation_->clear();
3907  }
3908  clear_has_collation();
3909 }
3910 inline const ::std::string& Table_Field_StringFieldOptions::collation() const {
3911  return *collation_;
3912 }
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;
3917  }
3918  collation_->assign(value);
3919 }
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;
3924  }
3925  collation_->assign(value);
3926 }
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;
3931  }
3932  collation_->assign(reinterpret_cast<const char*>(value), size);
3933 }
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;
3938  }
3939  return collation_;
3940 }
3941 inline ::std::string* Table_Field_StringFieldOptions::release_collation() {
3942  clear_has_collation();
3943  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3944  return NULL;
3945  } else {
3946  ::std::string* temp = collation_;
3947  collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3948  return temp;
3949  }
3950 }
3951 inline void Table_Field_StringFieldOptions::set_allocated_collation(::std::string* collation) {
3952  if (collation_ != &::google::protobuf::internal::kEmptyString) {
3953  delete collation_;
3954  }
3955  if (collation) {
3956  set_has_collation();
3957  collation_ = collation;
3958  } else {
3959  clear_has_collation();
3960  collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3961  }
3962 }
3963 
3964 // -------------------------------------------------------------------
3965 
3966 // Table_Field_EnumerationValues
3967 
3968 // optional uint32 collation_id = 2;
3969 inline bool Table_Field_EnumerationValues::has_collation_id() const {
3970  return (_has_bits_[0] & 0x00000001u) != 0;
3971 }
3972 inline void Table_Field_EnumerationValues::set_has_collation_id() {
3973  _has_bits_[0] |= 0x00000001u;
3974 }
3975 inline void Table_Field_EnumerationValues::clear_has_collation_id() {
3976  _has_bits_[0] &= ~0x00000001u;
3977 }
3978 inline void Table_Field_EnumerationValues::clear_collation_id() {
3979  collation_id_ = 0u;
3980  clear_has_collation_id();
3981 }
3982 inline ::google::protobuf::uint32 Table_Field_EnumerationValues::collation_id() const {
3983  return collation_id_;
3984 }
3985 inline void Table_Field_EnumerationValues::set_collation_id(::google::protobuf::uint32 value) {
3986  set_has_collation_id();
3987  collation_id_ = value;
3988 }
3989 
3990 // optional string collation = 3;
3991 inline bool Table_Field_EnumerationValues::has_collation() const {
3992  return (_has_bits_[0] & 0x00000002u) != 0;
3993 }
3994 inline void Table_Field_EnumerationValues::set_has_collation() {
3995  _has_bits_[0] |= 0x00000002u;
3996 }
3997 inline void Table_Field_EnumerationValues::clear_has_collation() {
3998  _has_bits_[0] &= ~0x00000002u;
3999 }
4000 inline void Table_Field_EnumerationValues::clear_collation() {
4001  if (collation_ != &::google::protobuf::internal::kEmptyString) {
4002  collation_->clear();
4003  }
4004  clear_has_collation();
4005 }
4006 inline const ::std::string& Table_Field_EnumerationValues::collation() const {
4007  return *collation_;
4008 }
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;
4013  }
4014  collation_->assign(value);
4015 }
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;
4020  }
4021  collation_->assign(value);
4022 }
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;
4027  }
4028  collation_->assign(reinterpret_cast<const char*>(value), size);
4029 }
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;
4034  }
4035  return collation_;
4036 }
4037 inline ::std::string* Table_Field_EnumerationValues::release_collation() {
4038  clear_has_collation();
4039  if (collation_ == &::google::protobuf::internal::kEmptyString) {
4040  return NULL;
4041  } else {
4042  ::std::string* temp = collation_;
4043  collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4044  return temp;
4045  }
4046 }
4047 inline void Table_Field_EnumerationValues::set_allocated_collation(::std::string* collation) {
4048  if (collation_ != &::google::protobuf::internal::kEmptyString) {
4049  delete collation_;
4050  }
4051  if (collation) {
4052  set_has_collation();
4053  collation_ = collation;
4054  } else {
4055  clear_has_collation();
4056  collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4057  }
4058 }
4059 
4060 // repeated string field_value = 4;
4061 inline int Table_Field_EnumerationValues::field_value_size() const {
4062  return field_value_.size();
4063 }
4064 inline void Table_Field_EnumerationValues::clear_field_value() {
4065  field_value_.Clear();
4066 }
4067 inline const ::std::string& Table_Field_EnumerationValues::field_value(int index) const {
4068  return field_value_.Get(index);
4069 }
4070 inline ::std::string* Table_Field_EnumerationValues::mutable_field_value(int index) {
4071  return field_value_.Mutable(index);
4072 }
4073 inline void Table_Field_EnumerationValues::set_field_value(int index, const ::std::string& value) {
4074  field_value_.Mutable(index)->assign(value);
4075 }
4076 inline void Table_Field_EnumerationValues::set_field_value(int index, const char* value) {
4077  field_value_.Mutable(index)->assign(value);
4078 }
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);
4082 }
4083 inline ::std::string* Table_Field_EnumerationValues::add_field_value() {
4084  return field_value_.Add();
4085 }
4086 inline void Table_Field_EnumerationValues::add_field_value(const ::std::string& value) {
4087  field_value_.Add()->assign(value);
4088 }
4089 inline void Table_Field_EnumerationValues::add_field_value(const char* value) {
4090  field_value_.Add()->assign(value);
4091 }
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);
4094 }
4095 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
4096 Table_Field_EnumerationValues::field_value() const {
4097  return field_value_;
4098 }
4099 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
4100 Table_Field_EnumerationValues::mutable_field_value() {
4101  return &field_value_;
4102 }
4103 
4104 // -------------------------------------------------------------------
4105 
4106 // Table_Field_TimeFieldOptions
4107 
4108 // optional bool microseconds = 1;
4109 inline bool Table_Field_TimeFieldOptions::has_microseconds() const {
4110  return (_has_bits_[0] & 0x00000001u) != 0;
4111 }
4112 inline void Table_Field_TimeFieldOptions::set_has_microseconds() {
4113  _has_bits_[0] |= 0x00000001u;
4114 }
4115 inline void Table_Field_TimeFieldOptions::clear_has_microseconds() {
4116  _has_bits_[0] &= ~0x00000001u;
4117 }
4118 inline void Table_Field_TimeFieldOptions::clear_microseconds() {
4119  microseconds_ = false;
4120  clear_has_microseconds();
4121 }
4122 inline bool Table_Field_TimeFieldOptions::microseconds() const {
4123  return microseconds_;
4124 }
4125 inline void Table_Field_TimeFieldOptions::set_microseconds(bool value) {
4126  set_has_microseconds();
4127  microseconds_ = value;
4128 }
4129 
4130 // -------------------------------------------------------------------
4131 
4132 // Table_Field
4133 
4134 // required string name = 1;
4135 inline bool Table_Field::has_name() const {
4136  return (_has_bits_[0] & 0x00000001u) != 0;
4137 }
4138 inline void Table_Field::set_has_name() {
4139  _has_bits_[0] |= 0x00000001u;
4140 }
4141 inline void Table_Field::clear_has_name() {
4142  _has_bits_[0] &= ~0x00000001u;
4143 }
4144 inline void Table_Field::clear_name() {
4145  if (name_ != &::google::protobuf::internal::kEmptyString) {
4146  name_->clear();
4147  }
4148  clear_has_name();
4149 }
4150 inline const ::std::string& Table_Field::name() const {
4151  return *name_;
4152 }
4153 inline void Table_Field::set_name(const ::std::string& value) {
4154  set_has_name();
4155  if (name_ == &::google::protobuf::internal::kEmptyString) {
4156  name_ = new ::std::string;
4157  }
4158  name_->assign(value);
4159 }
4160 inline void Table_Field::set_name(const char* value) {
4161  set_has_name();
4162  if (name_ == &::google::protobuf::internal::kEmptyString) {
4163  name_ = new ::std::string;
4164  }
4165  name_->assign(value);
4166 }
4167 inline void Table_Field::set_name(const char* value, size_t size) {
4168  set_has_name();
4169  if (name_ == &::google::protobuf::internal::kEmptyString) {
4170  name_ = new ::std::string;
4171  }
4172  name_->assign(reinterpret_cast<const char*>(value), size);
4173 }
4174 inline ::std::string* Table_Field::mutable_name() {
4175  set_has_name();
4176  if (name_ == &::google::protobuf::internal::kEmptyString) {
4177  name_ = new ::std::string;
4178  }
4179  return name_;
4180 }
4181 inline ::std::string* Table_Field::release_name() {
4182  clear_has_name();
4183  if (name_ == &::google::protobuf::internal::kEmptyString) {
4184  return NULL;
4185  } else {
4186  ::std::string* temp = name_;
4187  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4188  return temp;
4189  }
4190 }
4191 inline void Table_Field::set_allocated_name(::std::string* name) {
4192  if (name_ != &::google::protobuf::internal::kEmptyString) {
4193  delete name_;
4194  }
4195  if (name) {
4196  set_has_name();
4197  name_ = name;
4198  } else {
4199  clear_has_name();
4200  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4201  }
4202 }
4203 
4204 // required .drizzled.message.Table.Field.FieldType type = 2;
4205 inline bool Table_Field::has_type() const {
4206  return (_has_bits_[0] & 0x00000002u) != 0;
4207 }
4208 inline void Table_Field::set_has_type() {
4209  _has_bits_[0] |= 0x00000002u;
4210 }
4211 inline void Table_Field::clear_has_type() {
4212  _has_bits_[0] &= ~0x00000002u;
4213 }
4214 inline void Table_Field::clear_type() {
4215  type_ = 0;
4216  clear_has_type();
4217 }
4218 inline ::drizzled::message::Table_Field_FieldType Table_Field::type() const {
4219  return static_cast< ::drizzled::message::Table_Field_FieldType >(type_);
4220 }
4221 inline void Table_Field::set_type(::drizzled::message::Table_Field_FieldType value) {
4222  assert(::drizzled::message::Table_Field_FieldType_IsValid(value));
4223  set_has_type();
4224  type_ = value;
4225 }
4226 
4227 // optional .drizzled.message.Table.Field.FieldOptions options = 4;
4228 inline bool Table_Field::has_options() const {
4229  return (_has_bits_[0] & 0x00000004u) != 0;
4230 }
4231 inline void Table_Field::set_has_options() {
4232  _has_bits_[0] |= 0x00000004u;
4233 }
4234 inline void Table_Field::clear_has_options() {
4235  _has_bits_[0] &= ~0x00000004u;
4236 }
4237 inline void Table_Field::clear_options() {
4238  if (options_ != NULL) options_->::drizzled::message::Table_Field_FieldOptions::Clear();
4239  clear_has_options();
4240 }
4241 inline const ::drizzled::message::Table_Field_FieldOptions& Table_Field::options() const {
4242  return options_ != NULL ? *options_ : *default_instance_->options_;
4243 }
4244 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::mutable_options() {
4245  set_has_options();
4246  if (options_ == NULL) options_ = new ::drizzled::message::Table_Field_FieldOptions;
4247  return options_;
4248 }
4249 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::release_options() {
4250  clear_has_options();
4252  options_ = NULL;
4253  return temp;
4254 }
4255 inline void Table_Field::set_allocated_options(::drizzled::message::Table_Field_FieldOptions* options) {
4256  delete options_;
4257  options_ = options;
4258  if (options) {
4259  set_has_options();
4260  } else {
4261  clear_has_options();
4262  }
4263 }
4264 
4265 // optional .drizzled.message.Table.Field.FieldConstraints constraints = 5;
4266 inline bool Table_Field::has_constraints() const {
4267  return (_has_bits_[0] & 0x00000008u) != 0;
4268 }
4269 inline void Table_Field::set_has_constraints() {
4270  _has_bits_[0] |= 0x00000008u;
4271 }
4272 inline void Table_Field::clear_has_constraints() {
4273  _has_bits_[0] &= ~0x00000008u;
4274 }
4275 inline void Table_Field::clear_constraints() {
4276  if (constraints_ != NULL) constraints_->::drizzled::message::Table_Field_FieldConstraints::Clear();
4277  clear_has_constraints();
4278 }
4279 inline const ::drizzled::message::Table_Field_FieldConstraints& Table_Field::constraints() const {
4280  return constraints_ != NULL ? *constraints_ : *default_instance_->constraints_;
4281 }
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_;
4286 }
4287 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::release_constraints() {
4288  clear_has_constraints();
4290  constraints_ = NULL;
4291  return temp;
4292 }
4293 inline void Table_Field::set_allocated_constraints(::drizzled::message::Table_Field_FieldConstraints* constraints) {
4294  delete constraints_;
4295  constraints_ = constraints;
4296  if (constraints) {
4297  set_has_constraints();
4298  } else {
4299  clear_has_constraints();
4300  }
4301 }
4302 
4303 // optional .drizzled.message.Table.Field.NumericFieldOptions numeric_options = 6;
4304 inline bool Table_Field::has_numeric_options() const {
4305  return (_has_bits_[0] & 0x00000010u) != 0;
4306 }
4307 inline void Table_Field::set_has_numeric_options() {
4308  _has_bits_[0] |= 0x00000010u;
4309 }
4310 inline void Table_Field::clear_has_numeric_options() {
4311  _has_bits_[0] &= ~0x00000010u;
4312 }
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();
4316 }
4317 inline const ::drizzled::message::Table_Field_NumericFieldOptions& Table_Field::numeric_options() const {
4318  return numeric_options_ != NULL ? *numeric_options_ : *default_instance_->numeric_options_;
4319 }
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_;
4324 }
4325 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::release_numeric_options() {
4326  clear_has_numeric_options();
4328  numeric_options_ = NULL;
4329  return temp;
4330 }
4331 inline void Table_Field::set_allocated_numeric_options(::drizzled::message::Table_Field_NumericFieldOptions* numeric_options) {
4332  delete numeric_options_;
4333  numeric_options_ = numeric_options;
4334  if (numeric_options) {
4335  set_has_numeric_options();
4336  } else {
4337  clear_has_numeric_options();
4338  }
4339 }
4340 
4341 // optional .drizzled.message.Table.Field.StringFieldOptions string_options = 7;
4342 inline bool Table_Field::has_string_options() const {
4343  return (_has_bits_[0] & 0x00000020u) != 0;
4344 }
4345 inline void Table_Field::set_has_string_options() {
4346  _has_bits_[0] |= 0x00000020u;
4347 }
4348 inline void Table_Field::clear_has_string_options() {
4349  _has_bits_[0] &= ~0x00000020u;
4350 }
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();
4354 }
4355 inline const ::drizzled::message::Table_Field_StringFieldOptions& Table_Field::string_options() const {
4356  return string_options_ != NULL ? *string_options_ : *default_instance_->string_options_;
4357 }
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_;
4362 }
4363 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::release_string_options() {
4364  clear_has_string_options();
4366  string_options_ = NULL;
4367  return temp;
4368 }
4369 inline void Table_Field::set_allocated_string_options(::drizzled::message::Table_Field_StringFieldOptions* string_options) {
4370  delete string_options_;
4371  string_options_ = string_options;
4372  if (string_options) {
4373  set_has_string_options();
4374  } else {
4375  clear_has_string_options();
4376  }
4377 }
4378 
4379 // optional .drizzled.message.Table.Field.TimeFieldOptions time_options = 8;
4380 inline bool Table_Field::has_time_options() const {
4381  return (_has_bits_[0] & 0x00000040u) != 0;
4382 }
4383 inline void Table_Field::set_has_time_options() {
4384  _has_bits_[0] |= 0x00000040u;
4385 }
4386 inline void Table_Field::clear_has_time_options() {
4387  _has_bits_[0] &= ~0x00000040u;
4388 }
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();
4392 }
4393 inline const ::drizzled::message::Table_Field_TimeFieldOptions& Table_Field::time_options() const {
4394  return time_options_ != NULL ? *time_options_ : *default_instance_->time_options_;
4395 }
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_;
4400 }
4401 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::release_time_options() {
4402  clear_has_time_options();
4404  time_options_ = NULL;
4405  return temp;
4406 }
4407 inline void Table_Field::set_allocated_time_options(::drizzled::message::Table_Field_TimeFieldOptions* time_options) {
4408  delete time_options_;
4409  time_options_ = time_options;
4410  if (time_options) {
4411  set_has_time_options();
4412  } else {
4413  clear_has_time_options();
4414  }
4415 }
4416 
4417 // optional string comment = 16;
4418 inline bool Table_Field::has_comment() const {
4419  return (_has_bits_[0] & 0x00000080u) != 0;
4420 }
4421 inline void Table_Field::set_has_comment() {
4422  _has_bits_[0] |= 0x00000080u;
4423 }
4424 inline void Table_Field::clear_has_comment() {
4425  _has_bits_[0] &= ~0x00000080u;
4426 }
4427 inline void Table_Field::clear_comment() {
4428  if (comment_ != &::google::protobuf::internal::kEmptyString) {
4429  comment_->clear();
4430  }
4431  clear_has_comment();
4432 }
4433 inline const ::std::string& Table_Field::comment() const {
4434  return *comment_;
4435 }
4436 inline void Table_Field::set_comment(const ::std::string& value) {
4437  set_has_comment();
4438  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4439  comment_ = new ::std::string;
4440  }
4441  comment_->assign(value);
4442 }
4443 inline void Table_Field::set_comment(const char* value) {
4444  set_has_comment();
4445  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4446  comment_ = new ::std::string;
4447  }
4448  comment_->assign(value);
4449 }
4450 inline void Table_Field::set_comment(const char* value, size_t size) {
4451  set_has_comment();
4452  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4453  comment_ = new ::std::string;
4454  }
4455  comment_->assign(reinterpret_cast<const char*>(value), size);
4456 }
4457 inline ::std::string* Table_Field::mutable_comment() {
4458  set_has_comment();
4459  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4460  comment_ = new ::std::string;
4461  }
4462  return comment_;
4463 }
4464 inline ::std::string* Table_Field::release_comment() {
4465  clear_has_comment();
4466  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4467  return NULL;
4468  } else {
4469  ::std::string* temp = comment_;
4470  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4471  return temp;
4472  }
4473 }
4474 inline void Table_Field::set_allocated_comment(::std::string* comment) {
4475  if (comment_ != &::google::protobuf::internal::kEmptyString) {
4476  delete comment_;
4477  }
4478  if (comment) {
4479  set_has_comment();
4480  comment_ = comment;
4481  } else {
4482  clear_has_comment();
4483  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4484  }
4485 }
4486 
4487 // optional .drizzled.message.Table.Field.EnumerationValues enumeration_values = 17;
4488 inline bool Table_Field::has_enumeration_values() const {
4489  return (_has_bits_[0] & 0x00000100u) != 0;
4490 }
4491 inline void Table_Field::set_has_enumeration_values() {
4492  _has_bits_[0] |= 0x00000100u;
4493 }
4494 inline void Table_Field::clear_has_enumeration_values() {
4495  _has_bits_[0] &= ~0x00000100u;
4496 }
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();
4500 }
4501 inline const ::drizzled::message::Table_Field_EnumerationValues& Table_Field::enumeration_values() const {
4502  return enumeration_values_ != NULL ? *enumeration_values_ : *default_instance_->enumeration_values_;
4503 }
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_;
4508 }
4509 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::release_enumeration_values() {
4510  clear_has_enumeration_values();
4511  ::drizzled::message::Table_Field_EnumerationValues* temp = enumeration_values_;
4512  enumeration_values_ = NULL;
4513  return temp;
4514 }
4515 inline void Table_Field::set_allocated_enumeration_values(::drizzled::message::Table_Field_EnumerationValues* enumeration_values) {
4516  delete enumeration_values_;
4517  enumeration_values_ = enumeration_values;
4518  if (enumeration_values) {
4519  set_has_enumeration_values();
4520  } else {
4521  clear_has_enumeration_values();
4522  }
4523 }
4524 
4525 // -------------------------------------------------------------------
4526 
4527 // Table_Index_IndexPart
4528 
4529 // required uint32 fieldnr = 1;
4530 inline bool Table_Index_IndexPart::has_fieldnr() const {
4531  return (_has_bits_[0] & 0x00000001u) != 0;
4532 }
4533 inline void Table_Index_IndexPart::set_has_fieldnr() {
4534  _has_bits_[0] |= 0x00000001u;
4535 }
4536 inline void Table_Index_IndexPart::clear_has_fieldnr() {
4537  _has_bits_[0] &= ~0x00000001u;
4538 }
4539 inline void Table_Index_IndexPart::clear_fieldnr() {
4540  fieldnr_ = 0u;
4541  clear_has_fieldnr();
4542 }
4543 inline ::google::protobuf::uint32 Table_Index_IndexPart::fieldnr() const {
4544  return fieldnr_;
4545 }
4546 inline void Table_Index_IndexPart::set_fieldnr(::google::protobuf::uint32 value) {
4547  set_has_fieldnr();
4548  fieldnr_ = value;
4549 }
4550 
4551 // optional uint32 compare_length = 2;
4552 inline bool Table_Index_IndexPart::has_compare_length() const {
4553  return (_has_bits_[0] & 0x00000002u) != 0;
4554 }
4555 inline void Table_Index_IndexPart::set_has_compare_length() {
4556  _has_bits_[0] |= 0x00000002u;
4557 }
4558 inline void Table_Index_IndexPart::clear_has_compare_length() {
4559  _has_bits_[0] &= ~0x00000002u;
4560 }
4561 inline void Table_Index_IndexPart::clear_compare_length() {
4562  compare_length_ = 0u;
4563  clear_has_compare_length();
4564 }
4565 inline ::google::protobuf::uint32 Table_Index_IndexPart::compare_length() const {
4566  return compare_length_;
4567 }
4568 inline void Table_Index_IndexPart::set_compare_length(::google::protobuf::uint32 value) {
4569  set_has_compare_length();
4570  compare_length_ = value;
4571 }
4572 
4573 // optional bool in_reverse_order = 3 [default = false];
4574 inline bool Table_Index_IndexPart::has_in_reverse_order() const {
4575  return (_has_bits_[0] & 0x00000004u) != 0;
4576 }
4577 inline void Table_Index_IndexPart::set_has_in_reverse_order() {
4578  _has_bits_[0] |= 0x00000004u;
4579 }
4580 inline void Table_Index_IndexPart::clear_has_in_reverse_order() {
4581  _has_bits_[0] &= ~0x00000004u;
4582 }
4583 inline void Table_Index_IndexPart::clear_in_reverse_order() {
4584  in_reverse_order_ = false;
4585  clear_has_in_reverse_order();
4586 }
4587 inline bool Table_Index_IndexPart::in_reverse_order() const {
4588  return in_reverse_order_;
4589 }
4590 inline void Table_Index_IndexPart::set_in_reverse_order(bool value) {
4591  set_has_in_reverse_order();
4592  in_reverse_order_ = value;
4593 }
4594 
4595 // -------------------------------------------------------------------
4596 
4597 // Table_Index_Options
4598 
4599 // optional bool pack_key = 1;
4600 inline bool Table_Index_Options::has_pack_key() const {
4601  return (_has_bits_[0] & 0x00000001u) != 0;
4602 }
4603 inline void Table_Index_Options::set_has_pack_key() {
4604  _has_bits_[0] |= 0x00000001u;
4605 }
4606 inline void Table_Index_Options::clear_has_pack_key() {
4607  _has_bits_[0] &= ~0x00000001u;
4608 }
4609 inline void Table_Index_Options::clear_pack_key() {
4610  pack_key_ = false;
4611  clear_has_pack_key();
4612 }
4613 inline bool Table_Index_Options::pack_key() const {
4614  return pack_key_;
4615 }
4616 inline void Table_Index_Options::set_pack_key(bool value) {
4617  set_has_pack_key();
4618  pack_key_ = value;
4619 }
4620 
4621 // optional bool binary_pack_key = 2;
4622 inline bool Table_Index_Options::has_binary_pack_key() const {
4623  return (_has_bits_[0] & 0x00000002u) != 0;
4624 }
4625 inline void Table_Index_Options::set_has_binary_pack_key() {
4626  _has_bits_[0] |= 0x00000002u;
4627 }
4628 inline void Table_Index_Options::clear_has_binary_pack_key() {
4629  _has_bits_[0] &= ~0x00000002u;
4630 }
4631 inline void Table_Index_Options::clear_binary_pack_key() {
4632  binary_pack_key_ = false;
4633  clear_has_binary_pack_key();
4634 }
4635 inline bool Table_Index_Options::binary_pack_key() const {
4636  return binary_pack_key_;
4637 }
4638 inline void Table_Index_Options::set_binary_pack_key(bool value) {
4639  set_has_binary_pack_key();
4640  binary_pack_key_ = value;
4641 }
4642 
4643 // optional bool var_length_key = 3;
4644 inline bool Table_Index_Options::has_var_length_key() const {
4645  return (_has_bits_[0] & 0x00000004u) != 0;
4646 }
4647 inline void Table_Index_Options::set_has_var_length_key() {
4648  _has_bits_[0] |= 0x00000004u;
4649 }
4650 inline void Table_Index_Options::clear_has_var_length_key() {
4651  _has_bits_[0] &= ~0x00000004u;
4652 }
4653 inline void Table_Index_Options::clear_var_length_key() {
4654  var_length_key_ = false;
4655  clear_has_var_length_key();
4656 }
4657 inline bool Table_Index_Options::var_length_key() const {
4658  return var_length_key_;
4659 }
4660 inline void Table_Index_Options::set_var_length_key(bool value) {
4661  set_has_var_length_key();
4662  var_length_key_ = value;
4663 }
4664 
4665 // optional bool null_part_key = 4;
4666 inline bool Table_Index_Options::has_null_part_key() const {
4667  return (_has_bits_[0] & 0x00000008u) != 0;
4668 }
4669 inline void Table_Index_Options::set_has_null_part_key() {
4670  _has_bits_[0] |= 0x00000008u;
4671 }
4672 inline void Table_Index_Options::clear_has_null_part_key() {
4673  _has_bits_[0] &= ~0x00000008u;
4674 }
4675 inline void Table_Index_Options::clear_null_part_key() {
4676  null_part_key_ = false;
4677  clear_has_null_part_key();
4678 }
4679 inline bool Table_Index_Options::null_part_key() const {
4680  return null_part_key_;
4681 }
4682 inline void Table_Index_Options::set_null_part_key(bool value) {
4683  set_has_null_part_key();
4684  null_part_key_ = value;
4685 }
4686 
4687 // optional uint32 key_block_size = 5;
4688 inline bool Table_Index_Options::has_key_block_size() const {
4689  return (_has_bits_[0] & 0x00000010u) != 0;
4690 }
4691 inline void Table_Index_Options::set_has_key_block_size() {
4692  _has_bits_[0] |= 0x00000010u;
4693 }
4694 inline void Table_Index_Options::clear_has_key_block_size() {
4695  _has_bits_[0] &= ~0x00000010u;
4696 }
4697 inline void Table_Index_Options::clear_key_block_size() {
4698  key_block_size_ = 0u;
4699  clear_has_key_block_size();
4700 }
4701 inline ::google::protobuf::uint32 Table_Index_Options::key_block_size() const {
4702  return key_block_size_;
4703 }
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;
4707 }
4708 
4709 // optional bool has_partial_segments = 6;
4710 inline bool Table_Index_Options::has_has_partial_segments() const {
4711  return (_has_bits_[0] & 0x00000020u) != 0;
4712 }
4713 inline void Table_Index_Options::set_has_has_partial_segments() {
4714  _has_bits_[0] |= 0x00000020u;
4715 }
4716 inline void Table_Index_Options::clear_has_has_partial_segments() {
4717  _has_bits_[0] &= ~0x00000020u;
4718 }
4719 inline void Table_Index_Options::clear_has_partial_segments() {
4720  has_partial_segments_ = false;
4721  clear_has_has_partial_segments();
4722 }
4723 inline bool Table_Index_Options::has_partial_segments() const {
4724  return has_partial_segments_;
4725 }
4726 inline void Table_Index_Options::set_has_partial_segments(bool value) {
4727  set_has_has_partial_segments();
4728  has_partial_segments_ = value;
4729 }
4730 
4731 // optional bool auto_generated_key = 7;
4732 inline bool Table_Index_Options::has_auto_generated_key() const {
4733  return (_has_bits_[0] & 0x00000040u) != 0;
4734 }
4735 inline void Table_Index_Options::set_has_auto_generated_key() {
4736  _has_bits_[0] |= 0x00000040u;
4737 }
4738 inline void Table_Index_Options::clear_has_auto_generated_key() {
4739  _has_bits_[0] &= ~0x00000040u;
4740 }
4741 inline void Table_Index_Options::clear_auto_generated_key() {
4742  auto_generated_key_ = false;
4743  clear_has_auto_generated_key();
4744 }
4745 inline bool Table_Index_Options::auto_generated_key() const {
4746  return auto_generated_key_;
4747 }
4748 inline void Table_Index_Options::set_auto_generated_key(bool value) {
4749  set_has_auto_generated_key();
4750  auto_generated_key_ = value;
4751 }
4752 
4753 // -------------------------------------------------------------------
4754 
4755 // Table_Index
4756 
4757 // required string name = 1;
4758 inline bool Table_Index::has_name() const {
4759  return (_has_bits_[0] & 0x00000001u) != 0;
4760 }
4761 inline void Table_Index::set_has_name() {
4762  _has_bits_[0] |= 0x00000001u;
4763 }
4764 inline void Table_Index::clear_has_name() {
4765  _has_bits_[0] &= ~0x00000001u;
4766 }
4767 inline void Table_Index::clear_name() {
4768  if (name_ != &::google::protobuf::internal::kEmptyString) {
4769  name_->clear();
4770  }
4771  clear_has_name();
4772 }
4773 inline const ::std::string& Table_Index::name() const {
4774  return *name_;
4775 }
4776 inline void Table_Index::set_name(const ::std::string& value) {
4777  set_has_name();
4778  if (name_ == &::google::protobuf::internal::kEmptyString) {
4779  name_ = new ::std::string;
4780  }
4781  name_->assign(value);
4782 }
4783 inline void Table_Index::set_name(const char* value) {
4784  set_has_name();
4785  if (name_ == &::google::protobuf::internal::kEmptyString) {
4786  name_ = new ::std::string;
4787  }
4788  name_->assign(value);
4789 }
4790 inline void Table_Index::set_name(const char* value, size_t size) {
4791  set_has_name();
4792  if (name_ == &::google::protobuf::internal::kEmptyString) {
4793  name_ = new ::std::string;
4794  }
4795  name_->assign(reinterpret_cast<const char*>(value), size);
4796 }
4797 inline ::std::string* Table_Index::mutable_name() {
4798  set_has_name();
4799  if (name_ == &::google::protobuf::internal::kEmptyString) {
4800  name_ = new ::std::string;
4801  }
4802  return name_;
4803 }
4804 inline ::std::string* Table_Index::release_name() {
4805  clear_has_name();
4806  if (name_ == &::google::protobuf::internal::kEmptyString) {
4807  return NULL;
4808  } else {
4809  ::std::string* temp = name_;
4810  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4811  return temp;
4812  }
4813 }
4814 inline void Table_Index::set_allocated_name(::std::string* name) {
4815  if (name_ != &::google::protobuf::internal::kEmptyString) {
4816  delete name_;
4817  }
4818  if (name) {
4819  set_has_name();
4820  name_ = name;
4821  } else {
4822  clear_has_name();
4823  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4824  }
4825 }
4826 
4827 // required bool is_primary = 2;
4828 inline bool Table_Index::has_is_primary() const {
4829  return (_has_bits_[0] & 0x00000002u) != 0;
4830 }
4831 inline void Table_Index::set_has_is_primary() {
4832  _has_bits_[0] |= 0x00000002u;
4833 }
4834 inline void Table_Index::clear_has_is_primary() {
4835  _has_bits_[0] &= ~0x00000002u;
4836 }
4837 inline void Table_Index::clear_is_primary() {
4838  is_primary_ = false;
4839  clear_has_is_primary();
4840 }
4841 inline bool Table_Index::is_primary() const {
4842  return is_primary_;
4843 }
4844 inline void Table_Index::set_is_primary(bool value) {
4845  set_has_is_primary();
4846  is_primary_ = value;
4847 }
4848 
4849 // required bool is_unique = 3;
4850 inline bool Table_Index::has_is_unique() const {
4851  return (_has_bits_[0] & 0x00000004u) != 0;
4852 }
4853 inline void Table_Index::set_has_is_unique() {
4854  _has_bits_[0] |= 0x00000004u;
4855 }
4856 inline void Table_Index::clear_has_is_unique() {
4857  _has_bits_[0] &= ~0x00000004u;
4858 }
4859 inline void Table_Index::clear_is_unique() {
4860  is_unique_ = false;
4861  clear_has_is_unique();
4862 }
4863 inline bool Table_Index::is_unique() const {
4864  return is_unique_;
4865 }
4866 inline void Table_Index::set_is_unique(bool value) {
4867  set_has_is_unique();
4868  is_unique_ = value;
4869 }
4870 
4871 // required .drizzled.message.Table.Index.IndexType type = 4 [default = UNKNOWN_INDEX];
4872 inline bool Table_Index::has_type() const {
4873  return (_has_bits_[0] & 0x00000008u) != 0;
4874 }
4875 inline void Table_Index::set_has_type() {
4876  _has_bits_[0] |= 0x00000008u;
4877 }
4878 inline void Table_Index::clear_has_type() {
4879  _has_bits_[0] &= ~0x00000008u;
4880 }
4881 inline void Table_Index::clear_type() {
4882  type_ = 0;
4883  clear_has_type();
4884 }
4885 inline ::drizzled::message::Table_Index_IndexType Table_Index::type() const {
4886  return static_cast< ::drizzled::message::Table_Index_IndexType >(type_);
4887 }
4888 inline void Table_Index::set_type(::drizzled::message::Table_Index_IndexType value) {
4889  assert(::drizzled::message::Table_Index_IndexType_IsValid(value));
4890  set_has_type();
4891  type_ = value;
4892 }
4893 
4894 // required uint32 key_length = 5;
4895 inline bool Table_Index::has_key_length() const {
4896  return (_has_bits_[0] & 0x00000010u) != 0;
4897 }
4898 inline void Table_Index::set_has_key_length() {
4899  _has_bits_[0] |= 0x00000010u;
4900 }
4901 inline void Table_Index::clear_has_key_length() {
4902  _has_bits_[0] &= ~0x00000010u;
4903 }
4904 inline void Table_Index::clear_key_length() {
4905  key_length_ = 0u;
4906  clear_has_key_length();
4907 }
4908 inline ::google::protobuf::uint32 Table_Index::key_length() const {
4909  return key_length_;
4910 }
4911 inline void Table_Index::set_key_length(::google::protobuf::uint32 value) {
4912  set_has_key_length();
4913  key_length_ = value;
4914 }
4915 
4916 // repeated .drizzled.message.Table.Index.IndexPart index_part = 6;
4917 inline int Table_Index::index_part_size() const {
4918  return index_part_.size();
4919 }
4920 inline void Table_Index::clear_index_part() {
4921  index_part_.Clear();
4922 }
4923 inline const ::drizzled::message::Table_Index_IndexPart& Table_Index::index_part(int index) const {
4924  return index_part_.Get(index);
4925 }
4926 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::mutable_index_part(int index) {
4927  return index_part_.Mutable(index);
4928 }
4929 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::add_index_part() {
4930  return index_part_.Add();
4931 }
4932 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
4933 Table_Index::index_part() const {
4934  return index_part_;
4935 }
4936 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
4937 Table_Index::mutable_index_part() {
4938  return &index_part_;
4939 }
4940 
4941 // optional .drizzled.message.Table.Index.Options options = 7;
4942 inline bool Table_Index::has_options() const {
4943  return (_has_bits_[0] & 0x00000040u) != 0;
4944 }
4945 inline void Table_Index::set_has_options() {
4946  _has_bits_[0] |= 0x00000040u;
4947 }
4948 inline void Table_Index::clear_has_options() {
4949  _has_bits_[0] &= ~0x00000040u;
4950 }
4951 inline void Table_Index::clear_options() {
4952  if (options_ != NULL) options_->::drizzled::message::Table_Index_Options::Clear();
4953  clear_has_options();
4954 }
4955 inline const ::drizzled::message::Table_Index_Options& Table_Index::options() const {
4956  return options_ != NULL ? *options_ : *default_instance_->options_;
4957 }
4958 inline ::drizzled::message::Table_Index_Options* Table_Index::mutable_options() {
4959  set_has_options();
4960  if (options_ == NULL) options_ = new ::drizzled::message::Table_Index_Options;
4961  return options_;
4962 }
4963 inline ::drizzled::message::Table_Index_Options* Table_Index::release_options() {
4964  clear_has_options();
4966  options_ = NULL;
4967  return temp;
4968 }
4969 inline void Table_Index::set_allocated_options(::drizzled::message::Table_Index_Options* options) {
4970  delete options_;
4971  options_ = options;
4972  if (options) {
4973  set_has_options();
4974  } else {
4975  clear_has_options();
4976  }
4977 }
4978 
4979 // optional string comment = 8;
4980 inline bool Table_Index::has_comment() const {
4981  return (_has_bits_[0] & 0x00000080u) != 0;
4982 }
4983 inline void Table_Index::set_has_comment() {
4984  _has_bits_[0] |= 0x00000080u;
4985 }
4986 inline void Table_Index::clear_has_comment() {
4987  _has_bits_[0] &= ~0x00000080u;
4988 }
4989 inline void Table_Index::clear_comment() {
4990  if (comment_ != &::google::protobuf::internal::kEmptyString) {
4991  comment_->clear();
4992  }
4993  clear_has_comment();
4994 }
4995 inline const ::std::string& Table_Index::comment() const {
4996  return *comment_;
4997 }
4998 inline void Table_Index::set_comment(const ::std::string& value) {
4999  set_has_comment();
5000  if (comment_ == &::google::protobuf::internal::kEmptyString) {
5001  comment_ = new ::std::string;
5002  }
5003  comment_->assign(value);
5004 }
5005 inline void Table_Index::set_comment(const char* value) {
5006  set_has_comment();
5007  if (comment_ == &::google::protobuf::internal::kEmptyString) {
5008  comment_ = new ::std::string;
5009  }
5010  comment_->assign(value);
5011 }
5012 inline void Table_Index::set_comment(const char* value, size_t size) {
5013  set_has_comment();
5014  if (comment_ == &::google::protobuf::internal::kEmptyString) {
5015  comment_ = new ::std::string;
5016  }
5017  comment_->assign(reinterpret_cast<const char*>(value), size);
5018 }
5019 inline ::std::string* Table_Index::mutable_comment() {
5020  set_has_comment();
5021  if (comment_ == &::google::protobuf::internal::kEmptyString) {
5022  comment_ = new ::std::string;
5023  }
5024  return comment_;
5025 }
5026 inline ::std::string* Table_Index::release_comment() {
5027  clear_has_comment();
5028  if (comment_ == &::google::protobuf::internal::kEmptyString) {
5029  return NULL;
5030  } else {
5031  ::std::string* temp = comment_;
5032  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5033  return temp;
5034  }
5035 }
5036 inline void Table_Index::set_allocated_comment(::std::string* comment) {
5037  if (comment_ != &::google::protobuf::internal::kEmptyString) {
5038  delete comment_;
5039  }
5040  if (comment) {
5041  set_has_comment();
5042  comment_ = comment;
5043  } else {
5044  clear_has_comment();
5045  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5046  }
5047 }
5048 
5049 // -------------------------------------------------------------------
5050 
5051 // Table
5052 
5053 // required string name = 1;
5054 inline bool Table::has_name() const {
5055  return (_has_bits_[0] & 0x00000001u) != 0;
5056 }
5057 inline void Table::set_has_name() {
5058  _has_bits_[0] |= 0x00000001u;
5059 }
5060 inline void Table::clear_has_name() {
5061  _has_bits_[0] &= ~0x00000001u;
5062 }
5063 inline void Table::clear_name() {
5064  if (name_ != &::google::protobuf::internal::kEmptyString) {
5065  name_->clear();
5066  }
5067  clear_has_name();
5068 }
5069 inline const ::std::string& Table::name() const {
5070  return *name_;
5071 }
5072 inline void Table::set_name(const ::std::string& value) {
5073  set_has_name();
5074  if (name_ == &::google::protobuf::internal::kEmptyString) {
5075  name_ = new ::std::string;
5076  }
5077  name_->assign(value);
5078 }
5079 inline void Table::set_name(const char* value) {
5080  set_has_name();
5081  if (name_ == &::google::protobuf::internal::kEmptyString) {
5082  name_ = new ::std::string;
5083  }
5084  name_->assign(value);
5085 }
5086 inline void Table::set_name(const char* value, size_t size) {
5087  set_has_name();
5088  if (name_ == &::google::protobuf::internal::kEmptyString) {
5089  name_ = new ::std::string;
5090  }
5091  name_->assign(reinterpret_cast<const char*>(value), size);
5092 }
5093 inline ::std::string* Table::mutable_name() {
5094  set_has_name();
5095  if (name_ == &::google::protobuf::internal::kEmptyString) {
5096  name_ = new ::std::string;
5097  }
5098  return name_;
5099 }
5100 inline ::std::string* Table::release_name() {
5101  clear_has_name();
5102  if (name_ == &::google::protobuf::internal::kEmptyString) {
5103  return NULL;
5104  } else {
5105  ::std::string* temp = name_;
5106  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5107  return temp;
5108  }
5109 }
5110 inline void Table::set_allocated_name(::std::string* name) {
5111  if (name_ != &::google::protobuf::internal::kEmptyString) {
5112  delete name_;
5113  }
5114  if (name) {
5115  set_has_name();
5116  name_ = name;
5117  } else {
5118  clear_has_name();
5119  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5120  }
5121 }
5122 
5123 // required string schema = 6;
5124 inline bool Table::has_schema() const {
5125  return (_has_bits_[0] & 0x00000002u) != 0;
5126 }
5127 inline void Table::set_has_schema() {
5128  _has_bits_[0] |= 0x00000002u;
5129 }
5130 inline void Table::clear_has_schema() {
5131  _has_bits_[0] &= ~0x00000002u;
5132 }
5133 inline void Table::clear_schema() {
5134  if (schema_ != &::google::protobuf::internal::kEmptyString) {
5135  schema_->clear();
5136  }
5137  clear_has_schema();
5138 }
5139 inline const ::std::string& Table::schema() const {
5140  return *schema_;
5141 }
5142 inline void Table::set_schema(const ::std::string& value) {
5143  set_has_schema();
5144  if (schema_ == &::google::protobuf::internal::kEmptyString) {
5145  schema_ = new ::std::string;
5146  }
5147  schema_->assign(value);
5148 }
5149 inline void Table::set_schema(const char* value) {
5150  set_has_schema();
5151  if (schema_ == &::google::protobuf::internal::kEmptyString) {
5152  schema_ = new ::std::string;
5153  }
5154  schema_->assign(value);
5155 }
5156 inline void Table::set_schema(const char* value, size_t size) {
5157  set_has_schema();
5158  if (schema_ == &::google::protobuf::internal::kEmptyString) {
5159  schema_ = new ::std::string;
5160  }
5161  schema_->assign(reinterpret_cast<const char*>(value), size);
5162 }
5163 inline ::std::string* Table::mutable_schema() {
5164  set_has_schema();
5165  if (schema_ == &::google::protobuf::internal::kEmptyString) {
5166  schema_ = new ::std::string;
5167  }
5168  return schema_;
5169 }
5170 inline ::std::string* Table::release_schema() {
5171  clear_has_schema();
5172  if (schema_ == &::google::protobuf::internal::kEmptyString) {
5173  return NULL;
5174  } else {
5175  ::std::string* temp = schema_;
5176  schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5177  return temp;
5178  }
5179 }
5180 inline void Table::set_allocated_schema(::std::string* schema) {
5181  if (schema_ != &::google::protobuf::internal::kEmptyString) {
5182  delete schema_;
5183  }
5184  if (schema) {
5185  set_has_schema();
5186  schema_ = schema;
5187  } else {
5188  clear_has_schema();
5189  schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5190  }
5191 }
5192 
5193 // required .drizzled.message.Table.TableType type = 5;
5194 inline bool Table::has_type() const {
5195  return (_has_bits_[0] & 0x00000004u) != 0;
5196 }
5197 inline void Table::set_has_type() {
5198  _has_bits_[0] |= 0x00000004u;
5199 }
5200 inline void Table::clear_has_type() {
5201  _has_bits_[0] &= ~0x00000004u;
5202 }
5203 inline void Table::clear_type() {
5204  type_ = 0;
5205  clear_has_type();
5206 }
5207 inline ::drizzled::message::Table_TableType Table::type() const {
5208  return static_cast< ::drizzled::message::Table_TableType >(type_);
5209 }
5210 inline void Table::set_type(::drizzled::message::Table_TableType value) {
5211  assert(::drizzled::message::Table_TableType_IsValid(value));
5212  set_has_type();
5213  type_ = value;
5214 }
5215 
5216 // required .drizzled.message.Engine engine = 2;
5217 inline bool Table::has_engine() const {
5218  return (_has_bits_[0] & 0x00000008u) != 0;
5219 }
5220 inline void Table::set_has_engine() {
5221  _has_bits_[0] |= 0x00000008u;
5222 }
5223 inline void Table::clear_has_engine() {
5224  _has_bits_[0] &= ~0x00000008u;
5225 }
5226 inline void Table::clear_engine() {
5227  if (engine_ != NULL) engine_->::drizzled::message::Engine::Clear();
5228  clear_has_engine();
5229 }
5230 inline const ::drizzled::message::Engine& Table::engine() const {
5231  return engine_ != NULL ? *engine_ : *default_instance_->engine_;
5232 }
5233 inline ::drizzled::message::Engine* Table::mutable_engine() {
5234  set_has_engine();
5235  if (engine_ == NULL) engine_ = new ::drizzled::message::Engine;
5236  return engine_;
5237 }
5238 inline ::drizzled::message::Engine* Table::release_engine() {
5239  clear_has_engine();
5240  ::drizzled::message::Engine* temp = engine_;
5241  engine_ = NULL;
5242  return temp;
5243 }
5244 inline void Table::set_allocated_engine(::drizzled::message::Engine* engine) {
5245  delete engine_;
5246  engine_ = engine;
5247  if (engine) {
5248  set_has_engine();
5249  } else {
5250  clear_has_engine();
5251  }
5252 }
5253 
5254 // repeated .drizzled.message.Table.Field field = 3;
5255 inline int Table::field_size() const {
5256  return field_.size();
5257 }
5258 inline void Table::clear_field() {
5259  field_.Clear();
5260 }
5261 inline const ::drizzled::message::Table_Field& Table::field(int index) const {
5262  return field_.Get(index);
5263 }
5264 inline ::drizzled::message::Table_Field* Table::mutable_field(int index) {
5265  return field_.Mutable(index);
5266 }
5267 inline ::drizzled::message::Table_Field* Table::add_field() {
5268  return field_.Add();
5269 }
5270 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
5271 Table::field() const {
5272  return field_;
5273 }
5274 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
5275 Table::mutable_field() {
5276  return &field_;
5277 }
5278 
5279 // repeated .drizzled.message.Table.Index indexes = 4;
5280 inline int Table::indexes_size() const {
5281  return indexes_.size();
5282 }
5283 inline void Table::clear_indexes() {
5284  indexes_.Clear();
5285 }
5286 inline const ::drizzled::message::Table_Index& Table::indexes(int index) const {
5287  return indexes_.Get(index);
5288 }
5289 inline ::drizzled::message::Table_Index* Table::mutable_indexes(int index) {
5290  return indexes_.Mutable(index);
5291 }
5292 inline ::drizzled::message::Table_Index* Table::add_indexes() {
5293  return indexes_.Add();
5294 }
5295 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
5296 Table::indexes() const {
5297  return indexes_;
5298 }
5299 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
5300 Table::mutable_indexes() {
5301  return &indexes_;
5302 }
5303 
5304 // repeated .drizzled.message.Table.ForeignKeyConstraint fk_constraint = 8;
5305 inline int Table::fk_constraint_size() const {
5306  return fk_constraint_.size();
5307 }
5308 inline void Table::clear_fk_constraint() {
5309  fk_constraint_.Clear();
5310 }
5311 inline const ::drizzled::message::Table_ForeignKeyConstraint& Table::fk_constraint(int index) const {
5312  return fk_constraint_.Get(index);
5313 }
5314 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::mutable_fk_constraint(int index) {
5315  return fk_constraint_.Mutable(index);
5316 }
5317 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::add_fk_constraint() {
5318  return fk_constraint_.Add();
5319 }
5320 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
5321 Table::fk_constraint() const {
5322  return fk_constraint_;
5323 }
5324 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
5325 Table::mutable_fk_constraint() {
5326  return &fk_constraint_;
5327 }
5328 
5329 // optional .drizzled.message.Table.TableOptions options = 9;
5330 inline bool Table::has_options() const {
5331  return (_has_bits_[0] & 0x00000080u) != 0;
5332 }
5333 inline void Table::set_has_options() {
5334  _has_bits_[0] |= 0x00000080u;
5335 }
5336 inline void Table::clear_has_options() {
5337  _has_bits_[0] &= ~0x00000080u;
5338 }
5339 inline void Table::clear_options() {
5340  if (options_ != NULL) options_->::drizzled::message::Table_TableOptions::Clear();
5341  clear_has_options();
5342 }
5343 inline const ::drizzled::message::Table_TableOptions& Table::options() const {
5344  return options_ != NULL ? *options_ : *default_instance_->options_;
5345 }
5346 inline ::drizzled::message::Table_TableOptions* Table::mutable_options() {
5347  set_has_options();
5348  if (options_ == NULL) options_ = new ::drizzled::message::Table_TableOptions;
5349  return options_;
5350 }
5351 inline ::drizzled::message::Table_TableOptions* Table::release_options() {
5352  clear_has_options();
5353  ::drizzled::message::Table_TableOptions* temp = options_;
5354  options_ = NULL;
5355  return temp;
5356 }
5357 inline void Table::set_allocated_options(::drizzled::message::Table_TableOptions* options) {
5358  delete options_;
5359  options_ = options;
5360  if (options) {
5361  set_has_options();
5362  } else {
5363  clear_has_options();
5364  }
5365 }
5366 
5367 // required uint64 creation_timestamp = 11 [default = 0];
5368 inline bool Table::has_creation_timestamp() const {
5369  return (_has_bits_[0] & 0x00000100u) != 0;
5370 }
5371 inline void Table::set_has_creation_timestamp() {
5372  _has_bits_[0] |= 0x00000100u;
5373 }
5374 inline void Table::clear_has_creation_timestamp() {
5375  _has_bits_[0] &= ~0x00000100u;
5376 }
5377 inline void Table::clear_creation_timestamp() {
5378  creation_timestamp_ = GOOGLE_ULONGLONG(0);
5379  clear_has_creation_timestamp();
5380 }
5381 inline ::google::protobuf::uint64 Table::creation_timestamp() const {
5382  return creation_timestamp_;
5383 }
5384 inline void Table::set_creation_timestamp(::google::protobuf::uint64 value) {
5385  set_has_creation_timestamp();
5386  creation_timestamp_ = value;
5387 }
5388 
5389 // required uint64 update_timestamp = 12 [default = 0];
5390 inline bool Table::has_update_timestamp() const {
5391  return (_has_bits_[0] & 0x00000200u) != 0;
5392 }
5393 inline void Table::set_has_update_timestamp() {
5394  _has_bits_[0] |= 0x00000200u;
5395 }
5396 inline void Table::clear_has_update_timestamp() {
5397  _has_bits_[0] &= ~0x00000200u;
5398 }
5399 inline void Table::clear_update_timestamp() {
5400  update_timestamp_ = GOOGLE_ULONGLONG(0);
5401  clear_has_update_timestamp();
5402 }
5403 inline ::google::protobuf::uint64 Table::update_timestamp() const {
5404  return update_timestamp_;
5405 }
5406 inline void Table::set_update_timestamp(::google::protobuf::uint64 value) {
5407  set_has_update_timestamp();
5408  update_timestamp_ = value;
5409 }
5410 
5411 // optional string catalog = 13;
5412 inline bool Table::has_catalog() const {
5413  return (_has_bits_[0] & 0x00000400u) != 0;
5414 }
5415 inline void Table::set_has_catalog() {
5416  _has_bits_[0] |= 0x00000400u;
5417 }
5418 inline void Table::clear_has_catalog() {
5419  _has_bits_[0] &= ~0x00000400u;
5420 }
5421 inline void Table::clear_catalog() {
5422  if (catalog_ != &::google::protobuf::internal::kEmptyString) {
5423  catalog_->clear();
5424  }
5425  clear_has_catalog();
5426 }
5427 inline const ::std::string& Table::catalog() const {
5428  return *catalog_;
5429 }
5430 inline void Table::set_catalog(const ::std::string& value) {
5431  set_has_catalog();
5432  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5433  catalog_ = new ::std::string;
5434  }
5435  catalog_->assign(value);
5436 }
5437 inline void Table::set_catalog(const char* value) {
5438  set_has_catalog();
5439  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5440  catalog_ = new ::std::string;
5441  }
5442  catalog_->assign(value);
5443 }
5444 inline void Table::set_catalog(const char* value, size_t size) {
5445  set_has_catalog();
5446  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5447  catalog_ = new ::std::string;
5448  }
5449  catalog_->assign(reinterpret_cast<const char*>(value), size);
5450 }
5451 inline ::std::string* Table::mutable_catalog() {
5452  set_has_catalog();
5453  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5454  catalog_ = new ::std::string;
5455  }
5456  return catalog_;
5457 }
5458 inline ::std::string* Table::release_catalog() {
5459  clear_has_catalog();
5460  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5461  return NULL;
5462  } else {
5463  ::std::string* temp = catalog_;
5464  catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5465  return temp;
5466  }
5467 }
5468 inline void Table::set_allocated_catalog(::std::string* catalog) {
5469  if (catalog_ != &::google::protobuf::internal::kEmptyString) {
5470  delete catalog_;
5471  }
5472  if (catalog) {
5473  set_has_catalog();
5474  catalog_ = catalog;
5475  } else {
5476  clear_has_catalog();
5477  catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5478  }
5479 }
5480 
5481 // optional string uuid = 14;
5482 inline bool Table::has_uuid() const {
5483  return (_has_bits_[0] & 0x00000800u) != 0;
5484 }
5485 inline void Table::set_has_uuid() {
5486  _has_bits_[0] |= 0x00000800u;
5487 }
5488 inline void Table::clear_has_uuid() {
5489  _has_bits_[0] &= ~0x00000800u;
5490 }
5491 inline void Table::clear_uuid() {
5492  if (uuid_ != &::google::protobuf::internal::kEmptyString) {
5493  uuid_->clear();
5494  }
5495  clear_has_uuid();
5496 }
5497 inline const ::std::string& Table::uuid() const {
5498  return *uuid_;
5499 }
5500 inline void Table::set_uuid(const ::std::string& value) {
5501  set_has_uuid();
5502  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5503  uuid_ = new ::std::string;
5504  }
5505  uuid_->assign(value);
5506 }
5507 inline void Table::set_uuid(const char* value) {
5508  set_has_uuid();
5509  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5510  uuid_ = new ::std::string;
5511  }
5512  uuid_->assign(value);
5513 }
5514 inline void Table::set_uuid(const char* value, size_t size) {
5515  set_has_uuid();
5516  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5517  uuid_ = new ::std::string;
5518  }
5519  uuid_->assign(reinterpret_cast<const char*>(value), size);
5520 }
5521 inline ::std::string* Table::mutable_uuid() {
5522  set_has_uuid();
5523  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5524  uuid_ = new ::std::string;
5525  }
5526  return uuid_;
5527 }
5528 inline ::std::string* Table::release_uuid() {
5529  clear_has_uuid();
5530  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5531  return NULL;
5532  } else {
5533  ::std::string* temp = uuid_;
5534  uuid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5535  return temp;
5536  }
5537 }
5538 inline void Table::set_allocated_uuid(::std::string* uuid) {
5539  if (uuid_ != &::google::protobuf::internal::kEmptyString) {
5540  delete uuid_;
5541  }
5542  if (uuid) {
5543  set_has_uuid();
5544  uuid_ = uuid;
5545  } else {
5546  clear_has_uuid();
5547  uuid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5548  }
5549 }
5550 
5551 // optional uint64 version = 15;
5552 inline bool Table::has_version() const {
5553  return (_has_bits_[0] & 0x00001000u) != 0;
5554 }
5555 inline void Table::set_has_version() {
5556  _has_bits_[0] |= 0x00001000u;
5557 }
5558 inline void Table::clear_has_version() {
5559  _has_bits_[0] &= ~0x00001000u;
5560 }
5561 inline void Table::clear_version() {
5562  version_ = GOOGLE_ULONGLONG(0);
5563  clear_has_version();
5564 }
5565 inline ::google::protobuf::uint64 Table::version() const {
5566  return version_;
5567 }
5568 inline void Table::set_version(::google::protobuf::uint64 value) {
5569  set_has_version();
5570  version_ = value;
5571 }
5572 
5573 // optional .drizzled.message.ReplicationOptions replication_options = 16;
5574 inline bool Table::has_replication_options() const {
5575  return (_has_bits_[0] & 0x00002000u) != 0;
5576 }
5577 inline void Table::set_has_replication_options() {
5578  _has_bits_[0] |= 0x00002000u;
5579 }
5580 inline void Table::clear_has_replication_options() {
5581  _has_bits_[0] &= ~0x00002000u;
5582 }
5583 inline void Table::clear_replication_options() {
5584  if (replication_options_ != NULL) replication_options_->::drizzled::message::ReplicationOptions::Clear();
5585  clear_has_replication_options();
5586 }
5587 inline const ::drizzled::message::ReplicationOptions& Table::replication_options() const {
5588  return replication_options_ != NULL ? *replication_options_ : *default_instance_->replication_options_;
5589 }
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_;
5594 }
5595 inline ::drizzled::message::ReplicationOptions* Table::release_replication_options() {
5596  clear_has_replication_options();
5597  ::drizzled::message::ReplicationOptions* temp = replication_options_;
5598  replication_options_ = NULL;
5599  return temp;
5600 }
5601 inline void Table::set_allocated_replication_options(::drizzled::message::ReplicationOptions* replication_options) {
5602  delete replication_options_;
5603  replication_options_ = replication_options;
5604  if (replication_options) {
5605  set_has_replication_options();
5606  } else {
5607  clear_has_replication_options();
5608  }
5609 }
5610 
5611 // optional .drizzled.message.Access access = 17;
5612 inline bool Table::has_access() const {
5613  return (_has_bits_[0] & 0x00004000u) != 0;
5614 }
5615 inline void Table::set_has_access() {
5616  _has_bits_[0] |= 0x00004000u;
5617 }
5618 inline void Table::clear_has_access() {
5619  _has_bits_[0] &= ~0x00004000u;
5620 }
5621 inline void Table::clear_access() {
5622  if (access_ != NULL) access_->::drizzled::message::Access::Clear();
5623  clear_has_access();
5624 }
5625 inline const ::drizzled::message::Access& Table::access() const {
5626  return access_ != NULL ? *access_ : *default_instance_->access_;
5627 }
5628 inline ::drizzled::message::Access* Table::mutable_access() {
5629  set_has_access();
5630  if (access_ == NULL) access_ = new ::drizzled::message::Access;
5631  return access_;
5632 }
5633 inline ::drizzled::message::Access* Table::release_access() {
5634  clear_has_access();
5635  ::drizzled::message::Access* temp = access_;
5636  access_ = NULL;
5637  return temp;
5638 }
5639 inline void Table::set_allocated_access(::drizzled::message::Access* access) {
5640  delete access_;
5641  access_ = access;
5642  if (access) {
5643  set_has_access();
5644  } else {
5645  clear_has_access();
5646  }
5647 }
5648 
5649 // -------------------------------------------------------------------
5650 
5651 // AddedFields
5652 
5653 // repeated .drizzled.message.Table.Field added_field = 1;
5654 inline int AddedFields::added_field_size() const {
5655  return added_field_.size();
5656 }
5657 inline void AddedFields::clear_added_field() {
5658  added_field_.Clear();
5659 }
5660 inline const ::drizzled::message::Table_Field& AddedFields::added_field(int index) const {
5661  return added_field_.Get(index);
5662 }
5663 inline ::drizzled::message::Table_Field* AddedFields::mutable_added_field(int index) {
5664  return added_field_.Mutable(index);
5665 }
5666 inline ::drizzled::message::Table_Field* AddedFields::add_added_field() {
5667  return added_field_.Add();
5668 }
5669 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
5670 AddedFields::added_field() const {
5671  return added_field_;
5672 }
5673 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
5674 AddedFields::mutable_added_field() {
5675  return &added_field_;
5676 }
5677 
5678 
5679 // @@protoc_insertion_point(namespace_scope)
5680 
5681 } // namespace message
5682 } // namespace drizzled
5683 
5684 #ifndef SWIG
5685 namespace google {
5686 namespace protobuf {
5687 
5688 template <>
5689 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption>() {
5690  return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
5691 }
5692 template <>
5693 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption>() {
5694  return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
5695 }
5696 template <>
5697 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Field_FieldType>() {
5698  return ::drizzled::message::Table_Field_FieldType_descriptor();
5699 }
5700 template <>
5701 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Index_IndexType>() {
5702  return ::drizzled::message::Table_Index_IndexType_descriptor();
5703 }
5704 template <>
5705 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_TableType>() {
5706  return ::drizzled::message::Table_TableType_descriptor();
5707 }
5708 
5709 } // namespace google
5710 } // namespace protobuf
5711 #endif // SWIG
5712 
5713 // @@protoc_insertion_point(global_scope)
5714 
5715 #endif // PROTOBUF_table_2eproto__INCLUDED