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 < 2004000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/repeated_field.h>
24 #include <google/protobuf/extension_set.h>
25 #include <google/protobuf/generated_message_reflection.h>
26 #include "engine.pb.h"
27 #include "access.pb.h"
28 #include "replication_options.pb.h"
29 // @@protoc_insertion_point(includes)
30 
31 namespace drizzled {
32 namespace message {
33 
34 // Internal implementation detail -- do not call these.
35 void protobuf_AddDesc_table_2eproto();
36 void protobuf_AssignDesc_table_2eproto();
37 void protobuf_ShutdownFile_table_2eproto();
38 
39 class Table;
40 class Table_TableOptions;
41 class Table_ForeignKeyConstraint;
42 class Table_Field;
43 class Table_Field_FieldOptions;
44 class Table_Field_FieldConstraints;
45 class Table_Field_NumericFieldOptions;
46 class Table_Field_StringFieldOptions;
47 class Table_Field_EnumerationValues;
48 class Table_Field_TimeFieldOptions;
49 class Table_Index;
50 class Table_Index_IndexPart;
51 class Table_Index_Options;
52 class AddedFields;
53 
54 enum Table_ForeignKeyConstraint_ForeignKeyMatchOption {
55  Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED = 0,
56  Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL = 1,
57  Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL = 2,
58  Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE = 3
59 };
60 bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(int value);
61 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
62 const Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
63 const int Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX + 1;
64 
65 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
66 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
67  return ::google::protobuf::internal::NameOfEnum(
68  Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), value);
69 }
70 inline bool Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(
71  const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyMatchOption* value) {
72  return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyMatchOption>(
73  Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor(), name, value);
74 }
75 enum Table_ForeignKeyConstraint_ForeignKeyOption {
76  Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF = 0,
77  Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT = 1,
78  Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE = 2,
79  Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL = 3,
80  Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION = 4,
81  Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT = 5
82 };
83 bool Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(int value);
84 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
85 const Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
86 const int Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE = Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX + 1;
87 
88 const ::google::protobuf::EnumDescriptor* Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
89 inline const ::std::string& Table_ForeignKeyConstraint_ForeignKeyOption_Name(Table_ForeignKeyConstraint_ForeignKeyOption value) {
90  return ::google::protobuf::internal::NameOfEnum(
91  Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), value);
92 }
93 inline bool Table_ForeignKeyConstraint_ForeignKeyOption_Parse(
94  const ::std::string& name, Table_ForeignKeyConstraint_ForeignKeyOption* value) {
95  return ::google::protobuf::internal::ParseNamedEnum<Table_ForeignKeyConstraint_ForeignKeyOption>(
96  Table_ForeignKeyConstraint_ForeignKeyOption_descriptor(), name, value);
97 }
98 enum Table_Field_FieldType {
99  Table_Field_FieldType_DOUBLE = 0,
100  Table_Field_FieldType_VARCHAR = 1,
101  Table_Field_FieldType_BLOB = 2,
102  Table_Field_FieldType_ENUM = 3,
103  Table_Field_FieldType_INTEGER = 4,
104  Table_Field_FieldType_BIGINT = 5,
105  Table_Field_FieldType_DECIMAL = 6,
106  Table_Field_FieldType_DATE = 7,
107  Table_Field_FieldType_EPOCH = 9,
108  Table_Field_FieldType_DATETIME = 10,
109  Table_Field_FieldType_UUID = 11,
110  Table_Field_FieldType_TIME = 12,
111  Table_Field_FieldType_BOOLEAN = 13,
112  Table_Field_FieldType_IPV6 = 14
113 };
114 bool Table_Field_FieldType_IsValid(int value);
115 const Table_Field_FieldType Table_Field_FieldType_FieldType_MIN = Table_Field_FieldType_DOUBLE;
116 const Table_Field_FieldType Table_Field_FieldType_FieldType_MAX = Table_Field_FieldType_IPV6;
117 const int Table_Field_FieldType_FieldType_ARRAYSIZE = Table_Field_FieldType_FieldType_MAX + 1;
118 
119 const ::google::protobuf::EnumDescriptor* Table_Field_FieldType_descriptor();
120 inline const ::std::string& Table_Field_FieldType_Name(Table_Field_FieldType value) {
121  return ::google::protobuf::internal::NameOfEnum(
122  Table_Field_FieldType_descriptor(), value);
123 }
124 inline bool Table_Field_FieldType_Parse(
125  const ::std::string& name, Table_Field_FieldType* value) {
126  return ::google::protobuf::internal::ParseNamedEnum<Table_Field_FieldType>(
127  Table_Field_FieldType_descriptor(), name, value);
128 }
129 enum Table_Index_IndexType {
130  Table_Index_IndexType_UNKNOWN_INDEX = 0,
131  Table_Index_IndexType_BTREE = 1,
132  Table_Index_IndexType_RTREE = 2,
133  Table_Index_IndexType_HASH = 3,
134  Table_Index_IndexType_FULLTEXT = 4
135 };
136 bool Table_Index_IndexType_IsValid(int value);
137 const Table_Index_IndexType Table_Index_IndexType_IndexType_MIN = Table_Index_IndexType_UNKNOWN_INDEX;
138 const Table_Index_IndexType Table_Index_IndexType_IndexType_MAX = Table_Index_IndexType_FULLTEXT;
139 const int Table_Index_IndexType_IndexType_ARRAYSIZE = Table_Index_IndexType_IndexType_MAX + 1;
140 
141 const ::google::protobuf::EnumDescriptor* Table_Index_IndexType_descriptor();
142 inline const ::std::string& Table_Index_IndexType_Name(Table_Index_IndexType value) {
143  return ::google::protobuf::internal::NameOfEnum(
144  Table_Index_IndexType_descriptor(), value);
145 }
146 inline bool Table_Index_IndexType_Parse(
147  const ::std::string& name, Table_Index_IndexType* value) {
148  return ::google::protobuf::internal::ParseNamedEnum<Table_Index_IndexType>(
149  Table_Index_IndexType_descriptor(), name, value);
150 }
151 enum Table_TableType {
152  Table_TableType_STANDARD = 0,
153  Table_TableType_TEMPORARY = 1,
154  Table_TableType_INTERNAL = 2,
155  Table_TableType_FUNCTION = 3
156 };
157 bool Table_TableType_IsValid(int value);
158 const Table_TableType Table_TableType_TableType_MIN = Table_TableType_STANDARD;
159 const Table_TableType Table_TableType_TableType_MAX = Table_TableType_FUNCTION;
160 const int Table_TableType_TableType_ARRAYSIZE = Table_TableType_TableType_MAX + 1;
161 
162 const ::google::protobuf::EnumDescriptor* Table_TableType_descriptor();
163 inline const ::std::string& Table_TableType_Name(Table_TableType value) {
164  return ::google::protobuf::internal::NameOfEnum(
165  Table_TableType_descriptor(), value);
166 }
167 inline bool Table_TableType_Parse(
168  const ::std::string& name, Table_TableType* value) {
169  return ::google::protobuf::internal::ParseNamedEnum<Table_TableType>(
170  Table_TableType_descriptor(), name, value);
171 }
172 // ===================================================================
173 
174 class Table_TableOptions : public ::google::protobuf::Message {
175  public:
177  virtual ~Table_TableOptions();
178 
180 
181  inline Table_TableOptions& operator=(const Table_TableOptions& from) {
182  CopyFrom(from);
183  return *this;
184  }
185 
186  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
187  return _unknown_fields_;
188  }
189 
190  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
191  return &_unknown_fields_;
192  }
193 
194  static const ::google::protobuf::Descriptor* descriptor();
195  static const Table_TableOptions& default_instance();
196 
197  void Swap(Table_TableOptions* other);
198 
199  // implements Message ----------------------------------------------
200 
201  Table_TableOptions* New() const;
202  void CopyFrom(const ::google::protobuf::Message& from);
203  void MergeFrom(const ::google::protobuf::Message& from);
204  void CopyFrom(const Table_TableOptions& from);
205  void MergeFrom(const Table_TableOptions& from);
206  void Clear();
207  bool IsInitialized() const;
208 
209  int ByteSize() const;
210  bool MergePartialFromCodedStream(
211  ::google::protobuf::io::CodedInputStream* input);
212  void SerializeWithCachedSizes(
213  ::google::protobuf::io::CodedOutputStream* output) const;
214  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
215  int GetCachedSize() const { return _cached_size_; }
216  private:
217  void SharedCtor();
218  void SharedDtor();
219  void SetCachedSize(int size) const;
220  public:
221 
222  ::google::protobuf::Metadata GetMetadata() const;
223 
224  // nested types ----------------------------------------------------
225 
226  // accessors -------------------------------------------------------
227 
228  // optional bool has_user_set_auto_increment_value = 1;
229  inline bool has_has_user_set_auto_increment_value() const;
230  inline void clear_has_user_set_auto_increment_value();
231  static const int kHasUserSetAutoIncrementValueFieldNumber = 1;
232  inline bool has_user_set_auto_increment_value() const;
233  inline void set_has_user_set_auto_increment_value(bool value);
234 
235  // optional string collation = 2;
236  inline bool has_collation() const;
237  inline void clear_collation();
238  static const int kCollationFieldNumber = 2;
239  inline const ::std::string& collation() const;
240  inline void set_collation(const ::std::string& value);
241  inline void set_collation(const char* value);
242  inline void set_collation(const char* value, size_t size);
243  inline ::std::string* mutable_collation();
244  inline ::std::string* release_collation();
245 
246  // optional uint32 collation_id = 3;
247  inline bool has_collation_id() const;
248  inline void clear_collation_id();
249  static const int kCollationIdFieldNumber = 3;
250  inline ::google::protobuf::uint32 collation_id() const;
251  inline void set_collation_id(::google::protobuf::uint32 value);
252 
253  // optional string data_file_name = 5;
254  inline bool has_data_file_name() const;
255  inline void clear_data_file_name();
256  static const int kDataFileNameFieldNumber = 5;
257  inline const ::std::string& data_file_name() const;
258  inline void set_data_file_name(const ::std::string& value);
259  inline void set_data_file_name(const char* value);
260  inline void set_data_file_name(const char* value, size_t size);
261  inline ::std::string* mutable_data_file_name();
262  inline ::std::string* release_data_file_name();
263 
264  // optional string index_file_name = 6;
265  inline bool has_index_file_name() const;
266  inline void clear_index_file_name();
267  static const int kIndexFileNameFieldNumber = 6;
268  inline const ::std::string& index_file_name() const;
269  inline void set_index_file_name(const ::std::string& value);
270  inline void set_index_file_name(const char* value);
271  inline void set_index_file_name(const char* value, size_t size);
272  inline ::std::string* mutable_index_file_name();
273  inline ::std::string* release_index_file_name();
274 
275  // optional uint64 max_rows = 7;
276  inline bool has_max_rows() const;
277  inline void clear_max_rows();
278  static const int kMaxRowsFieldNumber = 7;
279  inline ::google::protobuf::uint64 max_rows() const;
280  inline void set_max_rows(::google::protobuf::uint64 value);
281 
282  // optional uint64 min_rows = 8;
283  inline bool has_min_rows() const;
284  inline void clear_min_rows();
285  static const int kMinRowsFieldNumber = 8;
286  inline ::google::protobuf::uint64 min_rows() const;
287  inline void set_min_rows(::google::protobuf::uint64 value);
288 
289  // optional uint64 auto_increment_value = 9;
290  inline bool has_auto_increment_value() const;
291  inline void clear_auto_increment_value();
292  static const int kAutoIncrementValueFieldNumber = 9;
293  inline ::google::protobuf::uint64 auto_increment_value() const;
294  inline void set_auto_increment_value(::google::protobuf::uint64 value);
295 
296  // optional uint32 avg_row_length = 11;
297  inline bool has_avg_row_length() const;
298  inline void clear_avg_row_length();
299  static const int kAvgRowLengthFieldNumber = 11;
300  inline ::google::protobuf::uint32 avg_row_length() const;
301  inline void set_avg_row_length(::google::protobuf::uint32 value);
302 
303  // optional uint32 block_size = 13;
304  inline bool has_block_size() const;
305  inline void clear_block_size();
306  static const int kBlockSizeFieldNumber = 13;
307  inline ::google::protobuf::uint32 block_size() const;
308  inline void set_block_size(::google::protobuf::uint32 value);
309 
310  // optional string comment = 14;
311  inline bool has_comment() const;
312  inline void clear_comment();
313  static const int kCommentFieldNumber = 14;
314  inline const ::std::string& comment() const;
315  inline void set_comment(const ::std::string& value);
316  inline void set_comment(const char* value);
317  inline void set_comment(const char* value, size_t size);
318  inline ::std::string* mutable_comment();
319  inline ::std::string* release_comment();
320 
321  // optional bool pack_record = 16;
322  inline bool has_pack_record() const;
323  inline void clear_pack_record();
324  static const int kPackRecordFieldNumber = 16;
325  inline bool pack_record() const;
326  inline void set_pack_record(bool value);
327 
328  // optional bool checksum = 17;
329  inline bool has_checksum() const;
330  inline void clear_checksum();
331  static const int kChecksumFieldNumber = 17;
332  inline bool checksum() const;
333  inline void set_checksum(bool value);
334 
335  // optional bool page_checksum = 18;
336  inline bool has_page_checksum() const;
337  inline void clear_page_checksum();
338  static const int kPageChecksumFieldNumber = 18;
339  inline bool page_checksum() const;
340  inline void set_page_checksum(bool value);
341 
342  // optional bool delay_key_write = 19;
343  inline bool has_delay_key_write() const;
344  inline void clear_delay_key_write();
345  static const int kDelayKeyWriteFieldNumber = 19;
346  inline bool delay_key_write() const;
347  inline void set_delay_key_write(bool value);
348 
349  // optional bool unused = 20;
350  inline bool has_unused() const;
351  inline void clear_unused();
352  static const int kUnusedFieldNumber = 20;
353  inline bool unused() const;
354  inline void set_unused(bool value);
355 
356  // @@protoc_insertion_point(class_scope:drizzled.message.Table.TableOptions)
357  private:
358  inline void set_has_has_user_set_auto_increment_value();
359  inline void clear_has_has_user_set_auto_increment_value();
360  inline void set_has_collation();
361  inline void clear_has_collation();
362  inline void set_has_collation_id();
363  inline void clear_has_collation_id();
364  inline void set_has_data_file_name();
365  inline void clear_has_data_file_name();
366  inline void set_has_index_file_name();
367  inline void clear_has_index_file_name();
368  inline void set_has_max_rows();
369  inline void clear_has_max_rows();
370  inline void set_has_min_rows();
371  inline void clear_has_min_rows();
372  inline void set_has_auto_increment_value();
373  inline void clear_has_auto_increment_value();
374  inline void set_has_avg_row_length();
375  inline void clear_has_avg_row_length();
376  inline void set_has_block_size();
377  inline void clear_has_block_size();
378  inline void set_has_comment();
379  inline void clear_has_comment();
380  inline void set_has_pack_record();
381  inline void clear_has_pack_record();
382  inline void set_has_checksum();
383  inline void clear_has_checksum();
384  inline void set_has_page_checksum();
385  inline void clear_has_page_checksum();
386  inline void set_has_delay_key_write();
387  inline void clear_has_delay_key_write();
388  inline void set_has_unused();
389  inline void clear_has_unused();
390 
391  ::google::protobuf::UnknownFieldSet _unknown_fields_;
392 
393  ::std::string* collation_;
394  ::std::string* data_file_name_;
395  ::std::string* index_file_name_;
396  ::google::protobuf::uint64 max_rows_;
397  ::google::protobuf::uint32 collation_id_;
398  ::google::protobuf::uint32 avg_row_length_;
399  ::google::protobuf::uint64 min_rows_;
400  ::google::protobuf::uint64 auto_increment_value_;
401  ::google::protobuf::uint32 block_size_;
402  bool has_user_set_auto_increment_value_;
403  bool pack_record_;
404  bool checksum_;
405  bool page_checksum_;
406  ::std::string* comment_;
407  bool delay_key_write_;
408  bool unused_;
409 
410  mutable int _cached_size_;
411  ::google::protobuf::uint32 _has_bits_[(16 + 31) / 32];
412 
413  friend void protobuf_AddDesc_table_2eproto();
414  friend void protobuf_AssignDesc_table_2eproto();
415  friend void protobuf_ShutdownFile_table_2eproto();
416 
417  void InitAsDefaultInstance();
418  static Table_TableOptions* default_instance_;
419 };
420 // -------------------------------------------------------------------
421 
422 class Table_ForeignKeyConstraint : public ::google::protobuf::Message {
423  public:
425  virtual ~Table_ForeignKeyConstraint();
426 
428 
429  inline Table_ForeignKeyConstraint& operator=(const Table_ForeignKeyConstraint& from) {
430  CopyFrom(from);
431  return *this;
432  }
433 
434  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
435  return _unknown_fields_;
436  }
437 
438  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
439  return &_unknown_fields_;
440  }
441 
442  static const ::google::protobuf::Descriptor* descriptor();
443  static const Table_ForeignKeyConstraint& default_instance();
444 
445  void Swap(Table_ForeignKeyConstraint* other);
446 
447  // implements Message ----------------------------------------------
448 
449  Table_ForeignKeyConstraint* New() const;
450  void CopyFrom(const ::google::protobuf::Message& from);
451  void MergeFrom(const ::google::protobuf::Message& from);
452  void CopyFrom(const Table_ForeignKeyConstraint& from);
453  void MergeFrom(const Table_ForeignKeyConstraint& from);
454  void Clear();
455  bool IsInitialized() const;
456 
457  int ByteSize() const;
458  bool MergePartialFromCodedStream(
459  ::google::protobuf::io::CodedInputStream* input);
460  void SerializeWithCachedSizes(
461  ::google::protobuf::io::CodedOutputStream* output) const;
462  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
463  int GetCachedSize() const { return _cached_size_; }
464  private:
465  void SharedCtor();
466  void SharedDtor();
467  void SetCachedSize(int size) const;
468  public:
469 
470  ::google::protobuf::Metadata GetMetadata() const;
471 
472  // nested types ----------------------------------------------------
473 
474  typedef Table_ForeignKeyConstraint_ForeignKeyMatchOption ForeignKeyMatchOption;
475  static const ForeignKeyMatchOption MATCH_UNDEFINED = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_UNDEFINED;
476  static const ForeignKeyMatchOption MATCH_FULL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_FULL;
477  static const ForeignKeyMatchOption MATCH_PARTIAL = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_PARTIAL;
478  static const ForeignKeyMatchOption MATCH_SIMPLE = Table_ForeignKeyConstraint_ForeignKeyMatchOption_MATCH_SIMPLE;
479  static inline bool ForeignKeyMatchOption_IsValid(int value) {
480  return Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value);
481  }
482  static const ForeignKeyMatchOption ForeignKeyMatchOption_MIN =
483  Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MIN;
484  static const ForeignKeyMatchOption ForeignKeyMatchOption_MAX =
485  Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_MAX;
486  static const int ForeignKeyMatchOption_ARRAYSIZE =
487  Table_ForeignKeyConstraint_ForeignKeyMatchOption_ForeignKeyMatchOption_ARRAYSIZE;
488  static inline const ::google::protobuf::EnumDescriptor*
489  ForeignKeyMatchOption_descriptor() {
490  return Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
491  }
492  static inline const ::std::string& ForeignKeyMatchOption_Name(ForeignKeyMatchOption value) {
493  return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Name(value);
494  }
495  static inline bool ForeignKeyMatchOption_Parse(const ::std::string& name,
496  ForeignKeyMatchOption* value) {
497  return Table_ForeignKeyConstraint_ForeignKeyMatchOption_Parse(name, value);
498  }
499 
500  typedef Table_ForeignKeyConstraint_ForeignKeyOption ForeignKeyOption;
501  static const ForeignKeyOption OPTION_UNDEF = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_UNDEF;
502  static const ForeignKeyOption OPTION_RESTRICT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_RESTRICT;
503  static const ForeignKeyOption OPTION_CASCADE = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_CASCADE;
504  static const ForeignKeyOption OPTION_SET_NULL = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_NULL;
505  static const ForeignKeyOption OPTION_NO_ACTION = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_NO_ACTION;
506  static const ForeignKeyOption OPTION_SET_DEFAULT = Table_ForeignKeyConstraint_ForeignKeyOption_OPTION_SET_DEFAULT;
507  static inline bool ForeignKeyOption_IsValid(int value) {
508  return Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value);
509  }
510  static const ForeignKeyOption ForeignKeyOption_MIN =
511  Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MIN;
512  static const ForeignKeyOption ForeignKeyOption_MAX =
513  Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_MAX;
514  static const int ForeignKeyOption_ARRAYSIZE =
515  Table_ForeignKeyConstraint_ForeignKeyOption_ForeignKeyOption_ARRAYSIZE;
516  static inline const ::google::protobuf::EnumDescriptor*
517  ForeignKeyOption_descriptor() {
518  return Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
519  }
520  static inline const ::std::string& ForeignKeyOption_Name(ForeignKeyOption value) {
521  return Table_ForeignKeyConstraint_ForeignKeyOption_Name(value);
522  }
523  static inline bool ForeignKeyOption_Parse(const ::std::string& name,
524  ForeignKeyOption* value) {
525  return Table_ForeignKeyConstraint_ForeignKeyOption_Parse(name, value);
526  }
527 
528  // accessors -------------------------------------------------------
529 
530  // optional string name = 1;
531  inline bool has_name() const;
532  inline void clear_name();
533  static const int kNameFieldNumber = 1;
534  inline const ::std::string& name() const;
535  inline void set_name(const ::std::string& value);
536  inline void set_name(const char* value);
537  inline void set_name(const char* value, size_t size);
538  inline ::std::string* mutable_name();
539  inline ::std::string* release_name();
540 
541  // repeated string column_names = 2;
542  inline int column_names_size() const;
543  inline void clear_column_names();
544  static const int kColumnNamesFieldNumber = 2;
545  inline const ::std::string& column_names(int index) const;
546  inline ::std::string* mutable_column_names(int index);
547  inline void set_column_names(int index, const ::std::string& value);
548  inline void set_column_names(int index, const char* value);
549  inline void set_column_names(int index, const char* value, size_t size);
550  inline ::std::string* add_column_names();
551  inline void add_column_names(const ::std::string& value);
552  inline void add_column_names(const char* value);
553  inline void add_column_names(const char* value, size_t size);
554  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& column_names() const;
555  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_column_names();
556 
557  // required string references_table_name = 3;
558  inline bool has_references_table_name() const;
559  inline void clear_references_table_name();
560  static const int kReferencesTableNameFieldNumber = 3;
561  inline const ::std::string& references_table_name() const;
562  inline void set_references_table_name(const ::std::string& value);
563  inline void set_references_table_name(const char* value);
564  inline void set_references_table_name(const char* value, size_t size);
565  inline ::std::string* mutable_references_table_name();
566  inline ::std::string* release_references_table_name();
567 
568  // repeated string references_columns = 4;
569  inline int references_columns_size() const;
570  inline void clear_references_columns();
571  static const int kReferencesColumnsFieldNumber = 4;
572  inline const ::std::string& references_columns(int index) const;
573  inline ::std::string* mutable_references_columns(int index);
574  inline void set_references_columns(int index, const ::std::string& value);
575  inline void set_references_columns(int index, const char* value);
576  inline void set_references_columns(int index, const char* value, size_t size);
577  inline ::std::string* add_references_columns();
578  inline void add_references_columns(const ::std::string& value);
579  inline void add_references_columns(const char* value);
580  inline void add_references_columns(const char* value, size_t size);
581  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& references_columns() const;
582  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_references_columns();
583 
584  // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyMatchOption match = 5;
585  inline bool has_match() const;
586  inline void clear_match();
587  static const int kMatchFieldNumber = 5;
588  inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption match() const;
589  inline void set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value);
590 
591  // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption update_option = 6 [default = OPTION_UNDEF];
592  inline bool has_update_option() const;
593  inline void clear_update_option();
594  static const int kUpdateOptionFieldNumber = 6;
595  inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption update_option() const;
596  inline void set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
597 
598  // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption delete_option = 7 [default = OPTION_UNDEF];
599  inline bool has_delete_option() const;
600  inline void clear_delete_option();
601  static const int kDeleteOptionFieldNumber = 7;
602  inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption delete_option() const;
603  inline void set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value);
604 
605  // @@protoc_insertion_point(class_scope:drizzled.message.Table.ForeignKeyConstraint)
606  private:
607  inline void set_has_name();
608  inline void clear_has_name();
609  inline void set_has_references_table_name();
610  inline void clear_has_references_table_name();
611  inline void set_has_match();
612  inline void clear_has_match();
613  inline void set_has_update_option();
614  inline void clear_has_update_option();
615  inline void set_has_delete_option();
616  inline void clear_has_delete_option();
617 
618  ::google::protobuf::UnknownFieldSet _unknown_fields_;
619 
620  ::std::string* name_;
621  ::google::protobuf::RepeatedPtrField< ::std::string> column_names_;
622  ::std::string* references_table_name_;
623  ::google::protobuf::RepeatedPtrField< ::std::string> references_columns_;
624  int match_;
625  int update_option_;
626  int delete_option_;
627 
628  mutable int _cached_size_;
629  ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
630 
631  friend void protobuf_AddDesc_table_2eproto();
632  friend void protobuf_AssignDesc_table_2eproto();
633  friend void protobuf_ShutdownFile_table_2eproto();
634 
635  void InitAsDefaultInstance();
636  static Table_ForeignKeyConstraint* default_instance_;
637 };
638 // -------------------------------------------------------------------
639 
640 class Table_Field_FieldOptions : public ::google::protobuf::Message {
641  public:
643  virtual ~Table_Field_FieldOptions();
644 
646 
647  inline Table_Field_FieldOptions& operator=(const Table_Field_FieldOptions& from) {
648  CopyFrom(from);
649  return *this;
650  }
651 
652  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
653  return _unknown_fields_;
654  }
655 
656  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
657  return &_unknown_fields_;
658  }
659 
660  static const ::google::protobuf::Descriptor* descriptor();
661  static const Table_Field_FieldOptions& default_instance();
662 
663  void Swap(Table_Field_FieldOptions* other);
664 
665  // implements Message ----------------------------------------------
666 
667  Table_Field_FieldOptions* New() const;
668  void CopyFrom(const ::google::protobuf::Message& from);
669  void MergeFrom(const ::google::protobuf::Message& from);
670  void CopyFrom(const Table_Field_FieldOptions& from);
671  void MergeFrom(const Table_Field_FieldOptions& from);
672  void Clear();
673  bool IsInitialized() const;
674 
675  int ByteSize() const;
676  bool MergePartialFromCodedStream(
677  ::google::protobuf::io::CodedInputStream* input);
678  void SerializeWithCachedSizes(
679  ::google::protobuf::io::CodedOutputStream* output) const;
680  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
681  int GetCachedSize() const { return _cached_size_; }
682  private:
683  void SharedCtor();
684  void SharedDtor();
685  void SetCachedSize(int size) const;
686  public:
687 
688  ::google::protobuf::Metadata GetMetadata() const;
689 
690  // nested types ----------------------------------------------------
691 
692  // accessors -------------------------------------------------------
693 
694  // optional string default_value = 1;
695  inline bool has_default_value() const;
696  inline void clear_default_value();
697  static const int kDefaultValueFieldNumber = 1;
698  inline const ::std::string& default_value() const;
699  inline void set_default_value(const ::std::string& value);
700  inline void set_default_value(const char* value);
701  inline void set_default_value(const char* value, size_t size);
702  inline ::std::string* mutable_default_value();
703  inline ::std::string* release_default_value();
704 
705  // optional string update_value = 2;
706  inline bool has_update_value() const;
707  inline void clear_update_value();
708  static const int kUpdateValueFieldNumber = 2;
709  inline const ::std::string& update_value() const;
710  inline void set_update_value(const ::std::string& value);
711  inline void set_update_value(const char* value);
712  inline void set_update_value(const char* value, size_t size);
713  inline ::std::string* mutable_update_value();
714  inline ::std::string* release_update_value();
715 
716  // optional bool default_null = 3 [default = false];
717  inline bool has_default_null() const;
718  inline void clear_default_null();
719  static const int kDefaultNullFieldNumber = 3;
720  inline bool default_null() const;
721  inline void set_default_null(bool value);
722 
723  // optional bytes default_bin_value = 4;
724  inline bool has_default_bin_value() const;
725  inline void clear_default_bin_value();
726  static const int kDefaultBinValueFieldNumber = 4;
727  inline const ::std::string& default_bin_value() const;
728  inline void set_default_bin_value(const ::std::string& value);
729  inline void set_default_bin_value(const char* value);
730  inline void set_default_bin_value(const void* value, size_t size);
731  inline ::std::string* mutable_default_bin_value();
732  inline ::std::string* release_default_bin_value();
733 
734  // optional string default_expression = 5;
735  inline bool has_default_expression() const;
736  inline void clear_default_expression();
737  static const int kDefaultExpressionFieldNumber = 5;
738  inline const ::std::string& default_expression() const;
739  inline void set_default_expression(const ::std::string& value);
740  inline void set_default_expression(const char* value);
741  inline void set_default_expression(const char* value, size_t size);
742  inline ::std::string* mutable_default_expression();
743  inline ::std::string* release_default_expression();
744 
745  // optional string update_expression = 6;
746  inline bool has_update_expression() const;
747  inline void clear_update_expression();
748  static const int kUpdateExpressionFieldNumber = 6;
749  inline const ::std::string& update_expression() const;
750  inline void set_update_expression(const ::std::string& value);
751  inline void set_update_expression(const char* value);
752  inline void set_update_expression(const char* value, size_t size);
753  inline ::std::string* mutable_update_expression();
754  inline ::std::string* release_update_expression();
755 
756  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.FieldOptions)
757  private:
758  inline void set_has_default_value();
759  inline void clear_has_default_value();
760  inline void set_has_update_value();
761  inline void clear_has_update_value();
762  inline void set_has_default_null();
763  inline void clear_has_default_null();
764  inline void set_has_default_bin_value();
765  inline void clear_has_default_bin_value();
766  inline void set_has_default_expression();
767  inline void clear_has_default_expression();
768  inline void set_has_update_expression();
769  inline void clear_has_update_expression();
770 
771  ::google::protobuf::UnknownFieldSet _unknown_fields_;
772 
773  ::std::string* default_value_;
774  ::std::string* update_value_;
775  ::std::string* default_bin_value_;
776  ::std::string* default_expression_;
777  ::std::string* update_expression_;
778  bool default_null_;
779 
780  mutable int _cached_size_;
781  ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
782 
783  friend void protobuf_AddDesc_table_2eproto();
784  friend void protobuf_AssignDesc_table_2eproto();
785  friend void protobuf_ShutdownFile_table_2eproto();
786 
787  void InitAsDefaultInstance();
788  static Table_Field_FieldOptions* default_instance_;
789 };
790 // -------------------------------------------------------------------
791 
792 class Table_Field_FieldConstraints : public ::google::protobuf::Message {
793  public:
795  virtual ~Table_Field_FieldConstraints();
796 
798 
799  inline Table_Field_FieldConstraints& operator=(const Table_Field_FieldConstraints& from) {
800  CopyFrom(from);
801  return *this;
802  }
803 
804  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
805  return _unknown_fields_;
806  }
807 
808  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
809  return &_unknown_fields_;
810  }
811 
812  static const ::google::protobuf::Descriptor* descriptor();
813  static const Table_Field_FieldConstraints& default_instance();
814 
815  void Swap(Table_Field_FieldConstraints* other);
816 
817  // implements Message ----------------------------------------------
818 
819  Table_Field_FieldConstraints* New() const;
820  void CopyFrom(const ::google::protobuf::Message& from);
821  void MergeFrom(const ::google::protobuf::Message& from);
822  void CopyFrom(const Table_Field_FieldConstraints& from);
823  void MergeFrom(const Table_Field_FieldConstraints& from);
824  void Clear();
825  bool IsInitialized() const;
826 
827  int ByteSize() const;
828  bool MergePartialFromCodedStream(
829  ::google::protobuf::io::CodedInputStream* input);
830  void SerializeWithCachedSizes(
831  ::google::protobuf::io::CodedOutputStream* output) const;
832  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
833  int GetCachedSize() const { return _cached_size_; }
834  private:
835  void SharedCtor();
836  void SharedDtor();
837  void SetCachedSize(int size) const;
838  public:
839 
840  ::google::protobuf::Metadata GetMetadata() const;
841 
842  // nested types ----------------------------------------------------
843 
844  // accessors -------------------------------------------------------
845 
846  // optional bool is_nullable = 1 [default = true];
847  inline bool has_is_nullable() const;
848  inline void clear_is_nullable();
849  static const int kIsNullableFieldNumber = 1;
850  inline bool is_nullable() const;
851  inline void set_is_nullable(bool value);
852 
853  // optional bool is_unsigned = 2 [default = false];
854  inline bool has_is_unsigned() const;
855  inline void clear_is_unsigned();
856  static const int kIsUnsignedFieldNumber = 2;
857  inline bool is_unsigned() const;
858  inline void set_is_unsigned(bool value);
859 
860  // optional bool is_notnull = 3 [default = false];
861  inline bool has_is_notnull() const;
862  inline void clear_is_notnull();
863  static const int kIsNotnullFieldNumber = 3;
864  inline bool is_notnull() const;
865  inline void set_is_notnull(bool value);
866 
867  // optional bool is_unique = 4 [default = false];
868  inline bool has_is_unique() const;
869  inline void clear_is_unique();
870  static const int kIsUniqueFieldNumber = 4;
871  inline bool is_unique() const;
872  inline void set_is_unique(bool value);
873 
874  // repeated string expression = 16;
875  inline int expression_size() const;
876  inline void clear_expression();
877  static const int kExpressionFieldNumber = 16;
878  inline const ::std::string& expression(int index) const;
879  inline ::std::string* mutable_expression(int index);
880  inline void set_expression(int index, const ::std::string& value);
881  inline void set_expression(int index, const char* value);
882  inline void set_expression(int index, const char* value, size_t size);
883  inline ::std::string* add_expression();
884  inline void add_expression(const ::std::string& value);
885  inline void add_expression(const char* value);
886  inline void add_expression(const char* value, size_t size);
887  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& expression() const;
888  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_expression();
889 
890  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.FieldConstraints)
891  private:
892  inline void set_has_is_nullable();
893  inline void clear_has_is_nullable();
894  inline void set_has_is_unsigned();
895  inline void clear_has_is_unsigned();
896  inline void set_has_is_notnull();
897  inline void clear_has_is_notnull();
898  inline void set_has_is_unique();
899  inline void clear_has_is_unique();
900 
901  ::google::protobuf::UnknownFieldSet _unknown_fields_;
902 
903  ::google::protobuf::RepeatedPtrField< ::std::string> expression_;
904  bool is_nullable_;
905  bool is_unsigned_;
906  bool is_notnull_;
907  bool is_unique_;
908 
909  mutable int _cached_size_;
910  ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
911 
912  friend void protobuf_AddDesc_table_2eproto();
913  friend void protobuf_AssignDesc_table_2eproto();
914  friend void protobuf_ShutdownFile_table_2eproto();
915 
916  void InitAsDefaultInstance();
917  static Table_Field_FieldConstraints* default_instance_;
918 };
919 // -------------------------------------------------------------------
920 
921 class Table_Field_NumericFieldOptions : public ::google::protobuf::Message {
922  public:
925 
927 
929  CopyFrom(from);
930  return *this;
931  }
932 
933  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
934  return _unknown_fields_;
935  }
936 
937  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
938  return &_unknown_fields_;
939  }
940 
941  static const ::google::protobuf::Descriptor* descriptor();
942  static const Table_Field_NumericFieldOptions& default_instance();
943 
944  void Swap(Table_Field_NumericFieldOptions* other);
945 
946  // implements Message ----------------------------------------------
947 
948  Table_Field_NumericFieldOptions* New() const;
949  void CopyFrom(const ::google::protobuf::Message& from);
950  void MergeFrom(const ::google::protobuf::Message& from);
951  void CopyFrom(const Table_Field_NumericFieldOptions& from);
952  void MergeFrom(const Table_Field_NumericFieldOptions& from);
953  void Clear();
954  bool IsInitialized() const;
955 
956  int ByteSize() const;
957  bool MergePartialFromCodedStream(
958  ::google::protobuf::io::CodedInputStream* input);
959  void SerializeWithCachedSizes(
960  ::google::protobuf::io::CodedOutputStream* output) const;
961  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
962  int GetCachedSize() const { return _cached_size_; }
963  private:
964  void SharedCtor();
965  void SharedDtor();
966  void SetCachedSize(int size) const;
967  public:
968 
969  ::google::protobuf::Metadata GetMetadata() const;
970 
971  // nested types ----------------------------------------------------
972 
973  // accessors -------------------------------------------------------
974 
975  // optional bool is_autoincrement = 1 [default = false];
976  inline bool has_is_autoincrement() const;
977  inline void clear_is_autoincrement();
978  static const int kIsAutoincrementFieldNumber = 1;
979  inline bool is_autoincrement() const;
980  inline void set_is_autoincrement(bool value);
981 
982  // optional uint32 scale = 2;
983  inline bool has_scale() const;
984  inline void clear_scale();
985  static const int kScaleFieldNumber = 2;
986  inline ::google::protobuf::uint32 scale() const;
987  inline void set_scale(::google::protobuf::uint32 value);
988 
989  // optional uint32 precision = 3;
990  inline bool has_precision() const;
991  inline void clear_precision();
992  static const int kPrecisionFieldNumber = 3;
993  inline ::google::protobuf::uint32 precision() const;
994  inline void set_precision(::google::protobuf::uint32 value);
995 
996  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.NumericFieldOptions)
997  private:
998  inline void set_has_is_autoincrement();
999  inline void clear_has_is_autoincrement();
1000  inline void set_has_scale();
1001  inline void clear_has_scale();
1002  inline void set_has_precision();
1003  inline void clear_has_precision();
1004 
1005  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1006 
1007  bool is_autoincrement_;
1008  ::google::protobuf::uint32 scale_;
1009  ::google::protobuf::uint32 precision_;
1010 
1011  mutable int _cached_size_;
1012  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1013 
1014  friend void protobuf_AddDesc_table_2eproto();
1015  friend void protobuf_AssignDesc_table_2eproto();
1016  friend void protobuf_ShutdownFile_table_2eproto();
1017 
1018  void InitAsDefaultInstance();
1019  static Table_Field_NumericFieldOptions* default_instance_;
1020 };
1021 // -------------------------------------------------------------------
1022 
1023 class Table_Field_StringFieldOptions : public ::google::protobuf::Message {
1024  public:
1026  virtual ~Table_Field_StringFieldOptions();
1027 
1029 
1030  inline Table_Field_StringFieldOptions& operator=(const Table_Field_StringFieldOptions& from) {
1031  CopyFrom(from);
1032  return *this;
1033  }
1034 
1035  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1036  return _unknown_fields_;
1037  }
1038 
1039  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1040  return &_unknown_fields_;
1041  }
1042 
1043  static const ::google::protobuf::Descriptor* descriptor();
1044  static const Table_Field_StringFieldOptions& default_instance();
1045 
1046  void Swap(Table_Field_StringFieldOptions* other);
1047 
1048  // implements Message ----------------------------------------------
1049 
1050  Table_Field_StringFieldOptions* New() const;
1051  void CopyFrom(const ::google::protobuf::Message& from);
1052  void MergeFrom(const ::google::protobuf::Message& from);
1053  void CopyFrom(const Table_Field_StringFieldOptions& from);
1054  void MergeFrom(const Table_Field_StringFieldOptions& from);
1055  void Clear();
1056  bool IsInitialized() const;
1057 
1058  int ByteSize() const;
1059  bool MergePartialFromCodedStream(
1060  ::google::protobuf::io::CodedInputStream* input);
1061  void SerializeWithCachedSizes(
1062  ::google::protobuf::io::CodedOutputStream* output) const;
1063  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1064  int GetCachedSize() const { return _cached_size_; }
1065  private:
1066  void SharedCtor();
1067  void SharedDtor();
1068  void SetCachedSize(int size) const;
1069  public:
1070 
1071  ::google::protobuf::Metadata GetMetadata() const;
1072 
1073  // nested types ----------------------------------------------------
1074 
1075  // accessors -------------------------------------------------------
1076 
1077  // optional bool is_fixed_width = 1 [default = false];
1078  inline bool has_is_fixed_width() const;
1079  inline void clear_is_fixed_width();
1080  static const int kIsFixedWidthFieldNumber = 1;
1081  inline bool is_fixed_width() const;
1082  inline void set_is_fixed_width(bool value);
1083 
1084  // optional uint32 length = 2;
1085  inline bool has_length() const;
1086  inline void clear_length();
1087  static const int kLengthFieldNumber = 2;
1088  inline ::google::protobuf::uint32 length() const;
1089  inline void set_length(::google::protobuf::uint32 value);
1090 
1091  // optional uint32 collation_id = 3;
1092  inline bool has_collation_id() const;
1093  inline void clear_collation_id();
1094  static const int kCollationIdFieldNumber = 3;
1095  inline ::google::protobuf::uint32 collation_id() const;
1096  inline void set_collation_id(::google::protobuf::uint32 value);
1097 
1098  // optional string collation = 4;
1099  inline bool has_collation() const;
1100  inline void clear_collation();
1101  static const int kCollationFieldNumber = 4;
1102  inline const ::std::string& collation() const;
1103  inline void set_collation(const ::std::string& value);
1104  inline void set_collation(const char* value);
1105  inline void set_collation(const char* value, size_t size);
1106  inline ::std::string* mutable_collation();
1107  inline ::std::string* release_collation();
1108 
1109  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.StringFieldOptions)
1110  private:
1111  inline void set_has_is_fixed_width();
1112  inline void clear_has_is_fixed_width();
1113  inline void set_has_length();
1114  inline void clear_has_length();
1115  inline void set_has_collation_id();
1116  inline void clear_has_collation_id();
1117  inline void set_has_collation();
1118  inline void clear_has_collation();
1119 
1120  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1121 
1122  bool is_fixed_width_;
1123  ::google::protobuf::uint32 length_;
1124  ::std::string* collation_;
1125  ::google::protobuf::uint32 collation_id_;
1126 
1127  mutable int _cached_size_;
1128  ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
1129 
1130  friend void protobuf_AddDesc_table_2eproto();
1131  friend void protobuf_AssignDesc_table_2eproto();
1132  friend void protobuf_ShutdownFile_table_2eproto();
1133 
1134  void InitAsDefaultInstance();
1135  static Table_Field_StringFieldOptions* default_instance_;
1136 };
1137 // -------------------------------------------------------------------
1138 
1139 class Table_Field_EnumerationValues : public ::google::protobuf::Message {
1140  public:
1142  virtual ~Table_Field_EnumerationValues();
1143 
1145 
1146  inline Table_Field_EnumerationValues& operator=(const Table_Field_EnumerationValues& from) {
1147  CopyFrom(from);
1148  return *this;
1149  }
1150 
1151  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1152  return _unknown_fields_;
1153  }
1154 
1155  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1156  return &_unknown_fields_;
1157  }
1158 
1159  static const ::google::protobuf::Descriptor* descriptor();
1160  static const Table_Field_EnumerationValues& default_instance();
1161 
1162  void Swap(Table_Field_EnumerationValues* other);
1163 
1164  // implements Message ----------------------------------------------
1165 
1166  Table_Field_EnumerationValues* New() const;
1167  void CopyFrom(const ::google::protobuf::Message& from);
1168  void MergeFrom(const ::google::protobuf::Message& from);
1169  void CopyFrom(const Table_Field_EnumerationValues& from);
1170  void MergeFrom(const Table_Field_EnumerationValues& from);
1171  void Clear();
1172  bool IsInitialized() const;
1173 
1174  int ByteSize() const;
1175  bool MergePartialFromCodedStream(
1176  ::google::protobuf::io::CodedInputStream* input);
1177  void SerializeWithCachedSizes(
1178  ::google::protobuf::io::CodedOutputStream* output) const;
1179  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1180  int GetCachedSize() const { return _cached_size_; }
1181  private:
1182  void SharedCtor();
1183  void SharedDtor();
1184  void SetCachedSize(int size) const;
1185  public:
1186 
1187  ::google::protobuf::Metadata GetMetadata() const;
1188 
1189  // nested types ----------------------------------------------------
1190 
1191  // accessors -------------------------------------------------------
1192 
1193  // optional uint32 collation_id = 2;
1194  inline bool has_collation_id() const;
1195  inline void clear_collation_id();
1196  static const int kCollationIdFieldNumber = 2;
1197  inline ::google::protobuf::uint32 collation_id() const;
1198  inline void set_collation_id(::google::protobuf::uint32 value);
1199 
1200  // optional string collation = 3;
1201  inline bool has_collation() const;
1202  inline void clear_collation();
1203  static const int kCollationFieldNumber = 3;
1204  inline const ::std::string& collation() const;
1205  inline void set_collation(const ::std::string& value);
1206  inline void set_collation(const char* value);
1207  inline void set_collation(const char* value, size_t size);
1208  inline ::std::string* mutable_collation();
1209  inline ::std::string* release_collation();
1210 
1211  // repeated string field_value = 4;
1212  inline int field_value_size() const;
1213  inline void clear_field_value();
1214  static const int kFieldValueFieldNumber = 4;
1215  inline const ::std::string& field_value(int index) const;
1216  inline ::std::string* mutable_field_value(int index);
1217  inline void set_field_value(int index, const ::std::string& value);
1218  inline void set_field_value(int index, const char* value);
1219  inline void set_field_value(int index, const char* value, size_t size);
1220  inline ::std::string* add_field_value();
1221  inline void add_field_value(const ::std::string& value);
1222  inline void add_field_value(const char* value);
1223  inline void add_field_value(const char* value, size_t size);
1224  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& field_value() const;
1225  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_field_value();
1226 
1227  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.EnumerationValues)
1228  private:
1229  inline void set_has_collation_id();
1230  inline void clear_has_collation_id();
1231  inline void set_has_collation();
1232  inline void clear_has_collation();
1233 
1234  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1235 
1236  ::std::string* collation_;
1237  ::google::protobuf::RepeatedPtrField< ::std::string> field_value_;
1238  ::google::protobuf::uint32 collation_id_;
1239 
1240  mutable int _cached_size_;
1241  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1242 
1243  friend void protobuf_AddDesc_table_2eproto();
1244  friend void protobuf_AssignDesc_table_2eproto();
1245  friend void protobuf_ShutdownFile_table_2eproto();
1246 
1247  void InitAsDefaultInstance();
1248  static Table_Field_EnumerationValues* default_instance_;
1249 };
1250 // -------------------------------------------------------------------
1251 
1252 class Table_Field_TimeFieldOptions : public ::google::protobuf::Message {
1253  public:
1255  virtual ~Table_Field_TimeFieldOptions();
1256 
1258 
1259  inline Table_Field_TimeFieldOptions& operator=(const Table_Field_TimeFieldOptions& from) {
1260  CopyFrom(from);
1261  return *this;
1262  }
1263 
1264  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1265  return _unknown_fields_;
1266  }
1267 
1268  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1269  return &_unknown_fields_;
1270  }
1271 
1272  static const ::google::protobuf::Descriptor* descriptor();
1273  static const Table_Field_TimeFieldOptions& default_instance();
1274 
1275  void Swap(Table_Field_TimeFieldOptions* other);
1276 
1277  // implements Message ----------------------------------------------
1278 
1279  Table_Field_TimeFieldOptions* New() const;
1280  void CopyFrom(const ::google::protobuf::Message& from);
1281  void MergeFrom(const ::google::protobuf::Message& from);
1282  void CopyFrom(const Table_Field_TimeFieldOptions& from);
1283  void MergeFrom(const Table_Field_TimeFieldOptions& from);
1284  void Clear();
1285  bool IsInitialized() const;
1286 
1287  int ByteSize() const;
1288  bool MergePartialFromCodedStream(
1289  ::google::protobuf::io::CodedInputStream* input);
1290  void SerializeWithCachedSizes(
1291  ::google::protobuf::io::CodedOutputStream* output) const;
1292  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1293  int GetCachedSize() const { return _cached_size_; }
1294  private:
1295  void SharedCtor();
1296  void SharedDtor();
1297  void SetCachedSize(int size) const;
1298  public:
1299 
1300  ::google::protobuf::Metadata GetMetadata() const;
1301 
1302  // nested types ----------------------------------------------------
1303 
1304  // accessors -------------------------------------------------------
1305 
1306  // optional bool microseconds = 1;
1307  inline bool has_microseconds() const;
1308  inline void clear_microseconds();
1309  static const int kMicrosecondsFieldNumber = 1;
1310  inline bool microseconds() const;
1311  inline void set_microseconds(bool value);
1312 
1313  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field.TimeFieldOptions)
1314  private:
1315  inline void set_has_microseconds();
1316  inline void clear_has_microseconds();
1317 
1318  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1319 
1320  bool microseconds_;
1321 
1322  mutable int _cached_size_;
1323  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
1324 
1325  friend void protobuf_AddDesc_table_2eproto();
1326  friend void protobuf_AssignDesc_table_2eproto();
1327  friend void protobuf_ShutdownFile_table_2eproto();
1328 
1329  void InitAsDefaultInstance();
1330  static Table_Field_TimeFieldOptions* default_instance_;
1331 };
1332 // -------------------------------------------------------------------
1333 
1334 class Table_Field : public ::google::protobuf::Message {
1335  public:
1336  Table_Field();
1337  virtual ~Table_Field();
1338 
1339  Table_Field(const Table_Field& from);
1340 
1341  inline Table_Field& operator=(const Table_Field& from) {
1342  CopyFrom(from);
1343  return *this;
1344  }
1345 
1346  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1347  return _unknown_fields_;
1348  }
1349 
1350  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1351  return &_unknown_fields_;
1352  }
1353 
1354  static const ::google::protobuf::Descriptor* descriptor();
1355  static const Table_Field& default_instance();
1356 
1357  void Swap(Table_Field* other);
1358 
1359  // implements Message ----------------------------------------------
1360 
1361  Table_Field* New() const;
1362  void CopyFrom(const ::google::protobuf::Message& from);
1363  void MergeFrom(const ::google::protobuf::Message& from);
1364  void CopyFrom(const Table_Field& from);
1365  void MergeFrom(const Table_Field& from);
1366  void Clear();
1367  bool IsInitialized() const;
1368 
1369  int ByteSize() const;
1370  bool MergePartialFromCodedStream(
1371  ::google::protobuf::io::CodedInputStream* input);
1372  void SerializeWithCachedSizes(
1373  ::google::protobuf::io::CodedOutputStream* output) const;
1374  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1375  int GetCachedSize() const { return _cached_size_; }
1376  private:
1377  void SharedCtor();
1378  void SharedDtor();
1379  void SetCachedSize(int size) const;
1380  public:
1381 
1382  ::google::protobuf::Metadata GetMetadata() const;
1383 
1384  // nested types ----------------------------------------------------
1385 
1392 
1393  typedef Table_Field_FieldType FieldType;
1394  static const FieldType DOUBLE = Table_Field_FieldType_DOUBLE;
1395  static const FieldType VARCHAR = Table_Field_FieldType_VARCHAR;
1396  static const FieldType BLOB = Table_Field_FieldType_BLOB;
1397  static const FieldType ENUM = Table_Field_FieldType_ENUM;
1398  static const FieldType INTEGER = Table_Field_FieldType_INTEGER;
1399  static const FieldType BIGINT = Table_Field_FieldType_BIGINT;
1400  static const FieldType DECIMAL = Table_Field_FieldType_DECIMAL;
1401  static const FieldType DATE = Table_Field_FieldType_DATE;
1402  static const FieldType EPOCH = Table_Field_FieldType_EPOCH;
1403  static const FieldType DATETIME = Table_Field_FieldType_DATETIME;
1404  static const FieldType UUID = Table_Field_FieldType_UUID;
1405  static const FieldType TIME = Table_Field_FieldType_TIME;
1406  static const FieldType BOOLEAN = Table_Field_FieldType_BOOLEAN;
1407  static const FieldType IPV6 = Table_Field_FieldType_IPV6;
1408  static inline bool FieldType_IsValid(int value) {
1409  return Table_Field_FieldType_IsValid(value);
1410  }
1411  static const FieldType FieldType_MIN =
1412  Table_Field_FieldType_FieldType_MIN;
1413  static const FieldType FieldType_MAX =
1414  Table_Field_FieldType_FieldType_MAX;
1415  static const int FieldType_ARRAYSIZE =
1416  Table_Field_FieldType_FieldType_ARRAYSIZE;
1417  static inline const ::google::protobuf::EnumDescriptor*
1418  FieldType_descriptor() {
1419  return Table_Field_FieldType_descriptor();
1420  }
1421  static inline const ::std::string& FieldType_Name(FieldType value) {
1422  return Table_Field_FieldType_Name(value);
1423  }
1424  static inline bool FieldType_Parse(const ::std::string& name,
1425  FieldType* value) {
1426  return Table_Field_FieldType_Parse(name, value);
1427  }
1428 
1429  // accessors -------------------------------------------------------
1430 
1431  // required string name = 1;
1432  inline bool has_name() const;
1433  inline void clear_name();
1434  static const int kNameFieldNumber = 1;
1435  inline const ::std::string& name() const;
1436  inline void set_name(const ::std::string& value);
1437  inline void set_name(const char* value);
1438  inline void set_name(const char* value, size_t size);
1439  inline ::std::string* mutable_name();
1440  inline ::std::string* release_name();
1441 
1442  // required .drizzled.message.Table.Field.FieldType type = 2;
1443  inline bool has_type() const;
1444  inline void clear_type();
1445  static const int kTypeFieldNumber = 2;
1446  inline ::drizzled::message::Table_Field_FieldType type() const;
1447  inline void set_type(::drizzled::message::Table_Field_FieldType value);
1448 
1449  // optional .drizzled.message.Table.Field.FieldOptions options = 4;
1450  inline bool has_options() const;
1451  inline void clear_options();
1452  static const int kOptionsFieldNumber = 4;
1453  inline const ::drizzled::message::Table_Field_FieldOptions& options() const;
1454  inline ::drizzled::message::Table_Field_FieldOptions* mutable_options();
1455  inline ::drizzled::message::Table_Field_FieldOptions* release_options();
1456 
1457  // optional .drizzled.message.Table.Field.FieldConstraints constraints = 5;
1458  inline bool has_constraints() const;
1459  inline void clear_constraints();
1460  static const int kConstraintsFieldNumber = 5;
1461  inline const ::drizzled::message::Table_Field_FieldConstraints& constraints() const;
1462  inline ::drizzled::message::Table_Field_FieldConstraints* mutable_constraints();
1463  inline ::drizzled::message::Table_Field_FieldConstraints* release_constraints();
1464 
1465  // optional .drizzled.message.Table.Field.NumericFieldOptions numeric_options = 6;
1466  inline bool has_numeric_options() const;
1467  inline void clear_numeric_options();
1468  static const int kNumericOptionsFieldNumber = 6;
1469  inline const ::drizzled::message::Table_Field_NumericFieldOptions& numeric_options() const;
1470  inline ::drizzled::message::Table_Field_NumericFieldOptions* mutable_numeric_options();
1471  inline ::drizzled::message::Table_Field_NumericFieldOptions* release_numeric_options();
1472 
1473  // optional .drizzled.message.Table.Field.StringFieldOptions string_options = 7;
1474  inline bool has_string_options() const;
1475  inline void clear_string_options();
1476  static const int kStringOptionsFieldNumber = 7;
1477  inline const ::drizzled::message::Table_Field_StringFieldOptions& string_options() const;
1478  inline ::drizzled::message::Table_Field_StringFieldOptions* mutable_string_options();
1479  inline ::drizzled::message::Table_Field_StringFieldOptions* release_string_options();
1480 
1481  // optional .drizzled.message.Table.Field.TimeFieldOptions time_options = 8;
1482  inline bool has_time_options() const;
1483  inline void clear_time_options();
1484  static const int kTimeOptionsFieldNumber = 8;
1485  inline const ::drizzled::message::Table_Field_TimeFieldOptions& time_options() const;
1486  inline ::drizzled::message::Table_Field_TimeFieldOptions* mutable_time_options();
1487  inline ::drizzled::message::Table_Field_TimeFieldOptions* release_time_options();
1488 
1489  // optional string comment = 16;
1490  inline bool has_comment() const;
1491  inline void clear_comment();
1492  static const int kCommentFieldNumber = 16;
1493  inline const ::std::string& comment() const;
1494  inline void set_comment(const ::std::string& value);
1495  inline void set_comment(const char* value);
1496  inline void set_comment(const char* value, size_t size);
1497  inline ::std::string* mutable_comment();
1498  inline ::std::string* release_comment();
1499 
1500  // optional .drizzled.message.Table.Field.EnumerationValues enumeration_values = 17;
1501  inline bool has_enumeration_values() const;
1502  inline void clear_enumeration_values();
1503  static const int kEnumerationValuesFieldNumber = 17;
1504  inline const ::drizzled::message::Table_Field_EnumerationValues& enumeration_values() const;
1505  inline ::drizzled::message::Table_Field_EnumerationValues* mutable_enumeration_values();
1506  inline ::drizzled::message::Table_Field_EnumerationValues* release_enumeration_values();
1507 
1508  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Field)
1509  private:
1510  inline void set_has_name();
1511  inline void clear_has_name();
1512  inline void set_has_type();
1513  inline void clear_has_type();
1514  inline void set_has_options();
1515  inline void clear_has_options();
1516  inline void set_has_constraints();
1517  inline void clear_has_constraints();
1518  inline void set_has_numeric_options();
1519  inline void clear_has_numeric_options();
1520  inline void set_has_string_options();
1521  inline void clear_has_string_options();
1522  inline void set_has_time_options();
1523  inline void clear_has_time_options();
1524  inline void set_has_comment();
1525  inline void clear_has_comment();
1526  inline void set_has_enumeration_values();
1527  inline void clear_has_enumeration_values();
1528 
1529  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1530 
1531  ::std::string* name_;
1537  ::std::string* comment_;
1539  int type_;
1540 
1541  mutable int _cached_size_;
1542  ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
1543 
1544  friend void protobuf_AddDesc_table_2eproto();
1545  friend void protobuf_AssignDesc_table_2eproto();
1546  friend void protobuf_ShutdownFile_table_2eproto();
1547 
1548  void InitAsDefaultInstance();
1549  static Table_Field* default_instance_;
1550 };
1551 // -------------------------------------------------------------------
1552 
1553 class Table_Index_IndexPart : public ::google::protobuf::Message {
1554  public:
1556  virtual ~Table_Index_IndexPart();
1557 
1559 
1560  inline Table_Index_IndexPart& operator=(const Table_Index_IndexPart& from) {
1561  CopyFrom(from);
1562  return *this;
1563  }
1564 
1565  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1566  return _unknown_fields_;
1567  }
1568 
1569  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1570  return &_unknown_fields_;
1571  }
1572 
1573  static const ::google::protobuf::Descriptor* descriptor();
1574  static const Table_Index_IndexPart& default_instance();
1575 
1576  void Swap(Table_Index_IndexPart* other);
1577 
1578  // implements Message ----------------------------------------------
1579 
1580  Table_Index_IndexPart* New() const;
1581  void CopyFrom(const ::google::protobuf::Message& from);
1582  void MergeFrom(const ::google::protobuf::Message& from);
1583  void CopyFrom(const Table_Index_IndexPart& from);
1584  void MergeFrom(const Table_Index_IndexPart& from);
1585  void Clear();
1586  bool IsInitialized() const;
1587 
1588  int ByteSize() const;
1589  bool MergePartialFromCodedStream(
1590  ::google::protobuf::io::CodedInputStream* input);
1591  void SerializeWithCachedSizes(
1592  ::google::protobuf::io::CodedOutputStream* output) const;
1593  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1594  int GetCachedSize() const { return _cached_size_; }
1595  private:
1596  void SharedCtor();
1597  void SharedDtor();
1598  void SetCachedSize(int size) const;
1599  public:
1600 
1601  ::google::protobuf::Metadata GetMetadata() const;
1602 
1603  // nested types ----------------------------------------------------
1604 
1605  // accessors -------------------------------------------------------
1606 
1607  // required uint32 fieldnr = 1;
1608  inline bool has_fieldnr() const;
1609  inline void clear_fieldnr();
1610  static const int kFieldnrFieldNumber = 1;
1611  inline ::google::protobuf::uint32 fieldnr() const;
1612  inline void set_fieldnr(::google::protobuf::uint32 value);
1613 
1614  // optional uint32 compare_length = 2;
1615  inline bool has_compare_length() const;
1616  inline void clear_compare_length();
1617  static const int kCompareLengthFieldNumber = 2;
1618  inline ::google::protobuf::uint32 compare_length() const;
1619  inline void set_compare_length(::google::protobuf::uint32 value);
1620 
1621  // optional bool in_reverse_order = 3 [default = false];
1622  inline bool has_in_reverse_order() const;
1623  inline void clear_in_reverse_order();
1624  static const int kInReverseOrderFieldNumber = 3;
1625  inline bool in_reverse_order() const;
1626  inline void set_in_reverse_order(bool value);
1627 
1628  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Index.IndexPart)
1629  private:
1630  inline void set_has_fieldnr();
1631  inline void clear_has_fieldnr();
1632  inline void set_has_compare_length();
1633  inline void clear_has_compare_length();
1634  inline void set_has_in_reverse_order();
1635  inline void clear_has_in_reverse_order();
1636 
1637  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1638 
1639  ::google::protobuf::uint32 fieldnr_;
1640  ::google::protobuf::uint32 compare_length_;
1641  bool in_reverse_order_;
1642 
1643  mutable int _cached_size_;
1644  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
1645 
1646  friend void protobuf_AddDesc_table_2eproto();
1647  friend void protobuf_AssignDesc_table_2eproto();
1648  friend void protobuf_ShutdownFile_table_2eproto();
1649 
1650  void InitAsDefaultInstance();
1651  static Table_Index_IndexPart* default_instance_;
1652 };
1653 // -------------------------------------------------------------------
1654 
1655 class Table_Index_Options : public ::google::protobuf::Message {
1656  public:
1658  virtual ~Table_Index_Options();
1659 
1661 
1662  inline Table_Index_Options& operator=(const Table_Index_Options& from) {
1663  CopyFrom(from);
1664  return *this;
1665  }
1666 
1667  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1668  return _unknown_fields_;
1669  }
1670 
1671  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1672  return &_unknown_fields_;
1673  }
1674 
1675  static const ::google::protobuf::Descriptor* descriptor();
1676  static const Table_Index_Options& default_instance();
1677 
1678  void Swap(Table_Index_Options* other);
1679 
1680  // implements Message ----------------------------------------------
1681 
1682  Table_Index_Options* New() const;
1683  void CopyFrom(const ::google::protobuf::Message& from);
1684  void MergeFrom(const ::google::protobuf::Message& from);
1685  void CopyFrom(const Table_Index_Options& from);
1686  void MergeFrom(const Table_Index_Options& from);
1687  void Clear();
1688  bool IsInitialized() const;
1689 
1690  int ByteSize() const;
1691  bool MergePartialFromCodedStream(
1692  ::google::protobuf::io::CodedInputStream* input);
1693  void SerializeWithCachedSizes(
1694  ::google::protobuf::io::CodedOutputStream* output) const;
1695  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1696  int GetCachedSize() const { return _cached_size_; }
1697  private:
1698  void SharedCtor();
1699  void SharedDtor();
1700  void SetCachedSize(int size) const;
1701  public:
1702 
1703  ::google::protobuf::Metadata GetMetadata() const;
1704 
1705  // nested types ----------------------------------------------------
1706 
1707  // accessors -------------------------------------------------------
1708 
1709  // optional bool pack_key = 1;
1710  inline bool has_pack_key() const;
1711  inline void clear_pack_key();
1712  static const int kPackKeyFieldNumber = 1;
1713  inline bool pack_key() const;
1714  inline void set_pack_key(bool value);
1715 
1716  // optional bool binary_pack_key = 2;
1717  inline bool has_binary_pack_key() const;
1718  inline void clear_binary_pack_key();
1719  static const int kBinaryPackKeyFieldNumber = 2;
1720  inline bool binary_pack_key() const;
1721  inline void set_binary_pack_key(bool value);
1722 
1723  // optional bool var_length_key = 3;
1724  inline bool has_var_length_key() const;
1725  inline void clear_var_length_key();
1726  static const int kVarLengthKeyFieldNumber = 3;
1727  inline bool var_length_key() const;
1728  inline void set_var_length_key(bool value);
1729 
1730  // optional bool null_part_key = 4;
1731  inline bool has_null_part_key() const;
1732  inline void clear_null_part_key();
1733  static const int kNullPartKeyFieldNumber = 4;
1734  inline bool null_part_key() const;
1735  inline void set_null_part_key(bool value);
1736 
1737  // optional uint32 key_block_size = 5;
1738  inline bool has_key_block_size() const;
1739  inline void clear_key_block_size();
1740  static const int kKeyBlockSizeFieldNumber = 5;
1741  inline ::google::protobuf::uint32 key_block_size() const;
1742  inline void set_key_block_size(::google::protobuf::uint32 value);
1743 
1744  // optional bool has_partial_segments = 6;
1745  inline bool has_has_partial_segments() const;
1746  inline void clear_has_partial_segments();
1747  static const int kHasPartialSegmentsFieldNumber = 6;
1748  inline bool has_partial_segments() const;
1749  inline void set_has_partial_segments(bool value);
1750 
1751  // optional bool auto_generated_key = 7;
1752  inline bool has_auto_generated_key() const;
1753  inline void clear_auto_generated_key();
1754  static const int kAutoGeneratedKeyFieldNumber = 7;
1755  inline bool auto_generated_key() const;
1756  inline void set_auto_generated_key(bool value);
1757 
1758  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Index.Options)
1759  private:
1760  inline void set_has_pack_key();
1761  inline void clear_has_pack_key();
1762  inline void set_has_binary_pack_key();
1763  inline void clear_has_binary_pack_key();
1764  inline void set_has_var_length_key();
1765  inline void clear_has_var_length_key();
1766  inline void set_has_null_part_key();
1767  inline void clear_has_null_part_key();
1768  inline void set_has_key_block_size();
1769  inline void clear_has_key_block_size();
1770  inline void set_has_has_partial_segments();
1771  inline void clear_has_has_partial_segments();
1772  inline void set_has_auto_generated_key();
1773  inline void clear_has_auto_generated_key();
1774 
1775  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1776 
1777  bool pack_key_;
1778  bool binary_pack_key_;
1779  bool var_length_key_;
1780  bool null_part_key_;
1781  ::google::protobuf::uint32 key_block_size_;
1782  bool has_partial_segments_;
1783  bool auto_generated_key_;
1784 
1785  mutable int _cached_size_;
1786  ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
1787 
1788  friend void protobuf_AddDesc_table_2eproto();
1789  friend void protobuf_AssignDesc_table_2eproto();
1790  friend void protobuf_ShutdownFile_table_2eproto();
1791 
1792  void InitAsDefaultInstance();
1793  static Table_Index_Options* default_instance_;
1794 };
1795 // -------------------------------------------------------------------
1796 
1797 class Table_Index : public ::google::protobuf::Message {
1798  public:
1799  Table_Index();
1800  virtual ~Table_Index();
1801 
1802  Table_Index(const Table_Index& from);
1803 
1804  inline Table_Index& operator=(const Table_Index& from) {
1805  CopyFrom(from);
1806  return *this;
1807  }
1808 
1809  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1810  return _unknown_fields_;
1811  }
1812 
1813  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1814  return &_unknown_fields_;
1815  }
1816 
1817  static const ::google::protobuf::Descriptor* descriptor();
1818  static const Table_Index& default_instance();
1819 
1820  void Swap(Table_Index* other);
1821 
1822  // implements Message ----------------------------------------------
1823 
1824  Table_Index* New() const;
1825  void CopyFrom(const ::google::protobuf::Message& from);
1826  void MergeFrom(const ::google::protobuf::Message& from);
1827  void CopyFrom(const Table_Index& from);
1828  void MergeFrom(const Table_Index& from);
1829  void Clear();
1830  bool IsInitialized() const;
1831 
1832  int ByteSize() const;
1833  bool MergePartialFromCodedStream(
1834  ::google::protobuf::io::CodedInputStream* input);
1835  void SerializeWithCachedSizes(
1836  ::google::protobuf::io::CodedOutputStream* output) const;
1837  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1838  int GetCachedSize() const { return _cached_size_; }
1839  private:
1840  void SharedCtor();
1841  void SharedDtor();
1842  void SetCachedSize(int size) const;
1843  public:
1844 
1845  ::google::protobuf::Metadata GetMetadata() const;
1846 
1847  // nested types ----------------------------------------------------
1848 
1850  typedef Table_Index_Options Options;
1851 
1852  typedef Table_Index_IndexType IndexType;
1853  static const IndexType UNKNOWN_INDEX = Table_Index_IndexType_UNKNOWN_INDEX;
1854  static const IndexType BTREE = Table_Index_IndexType_BTREE;
1855  static const IndexType RTREE = Table_Index_IndexType_RTREE;
1856  static const IndexType HASH = Table_Index_IndexType_HASH;
1857  static const IndexType FULLTEXT = Table_Index_IndexType_FULLTEXT;
1858  static inline bool IndexType_IsValid(int value) {
1859  return Table_Index_IndexType_IsValid(value);
1860  }
1861  static const IndexType IndexType_MIN =
1862  Table_Index_IndexType_IndexType_MIN;
1863  static const IndexType IndexType_MAX =
1864  Table_Index_IndexType_IndexType_MAX;
1865  static const int IndexType_ARRAYSIZE =
1866  Table_Index_IndexType_IndexType_ARRAYSIZE;
1867  static inline const ::google::protobuf::EnumDescriptor*
1868  IndexType_descriptor() {
1869  return Table_Index_IndexType_descriptor();
1870  }
1871  static inline const ::std::string& IndexType_Name(IndexType value) {
1872  return Table_Index_IndexType_Name(value);
1873  }
1874  static inline bool IndexType_Parse(const ::std::string& name,
1875  IndexType* value) {
1876  return Table_Index_IndexType_Parse(name, value);
1877  }
1878 
1879  // accessors -------------------------------------------------------
1880 
1881  // required string name = 1;
1882  inline bool has_name() const;
1883  inline void clear_name();
1884  static const int kNameFieldNumber = 1;
1885  inline const ::std::string& name() const;
1886  inline void set_name(const ::std::string& value);
1887  inline void set_name(const char* value);
1888  inline void set_name(const char* value, size_t size);
1889  inline ::std::string* mutable_name();
1890  inline ::std::string* release_name();
1891 
1892  // required bool is_primary = 2;
1893  inline bool has_is_primary() const;
1894  inline void clear_is_primary();
1895  static const int kIsPrimaryFieldNumber = 2;
1896  inline bool is_primary() const;
1897  inline void set_is_primary(bool value);
1898 
1899  // required bool is_unique = 3;
1900  inline bool has_is_unique() const;
1901  inline void clear_is_unique();
1902  static const int kIsUniqueFieldNumber = 3;
1903  inline bool is_unique() const;
1904  inline void set_is_unique(bool value);
1905 
1906  // required .drizzled.message.Table.Index.IndexType type = 4 [default = UNKNOWN_INDEX];
1907  inline bool has_type() const;
1908  inline void clear_type();
1909  static const int kTypeFieldNumber = 4;
1910  inline ::drizzled::message::Table_Index_IndexType type() const;
1911  inline void set_type(::drizzled::message::Table_Index_IndexType value);
1912 
1913  // required uint32 key_length = 5;
1914  inline bool has_key_length() const;
1915  inline void clear_key_length();
1916  static const int kKeyLengthFieldNumber = 5;
1917  inline ::google::protobuf::uint32 key_length() const;
1918  inline void set_key_length(::google::protobuf::uint32 value);
1919 
1920  // repeated .drizzled.message.Table.Index.IndexPart index_part = 6;
1921  inline int index_part_size() const;
1922  inline void clear_index_part();
1923  static const int kIndexPartFieldNumber = 6;
1924  inline const ::drizzled::message::Table_Index_IndexPart& index_part(int index) const;
1925  inline ::drizzled::message::Table_Index_IndexPart* mutable_index_part(int index);
1926  inline ::drizzled::message::Table_Index_IndexPart* add_index_part();
1927  inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
1928  index_part() const;
1929  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
1930  mutable_index_part();
1931 
1932  // optional .drizzled.message.Table.Index.Options options = 7;
1933  inline bool has_options() const;
1934  inline void clear_options();
1935  static const int kOptionsFieldNumber = 7;
1936  inline const ::drizzled::message::Table_Index_Options& options() const;
1937  inline ::drizzled::message::Table_Index_Options* mutable_options();
1938  inline ::drizzled::message::Table_Index_Options* release_options();
1939 
1940  // optional string comment = 8;
1941  inline bool has_comment() const;
1942  inline void clear_comment();
1943  static const int kCommentFieldNumber = 8;
1944  inline const ::std::string& comment() const;
1945  inline void set_comment(const ::std::string& value);
1946  inline void set_comment(const char* value);
1947  inline void set_comment(const char* value, size_t size);
1948  inline ::std::string* mutable_comment();
1949  inline ::std::string* release_comment();
1950 
1951  // @@protoc_insertion_point(class_scope:drizzled.message.Table.Index)
1952  private:
1953  inline void set_has_name();
1954  inline void clear_has_name();
1955  inline void set_has_is_primary();
1956  inline void clear_has_is_primary();
1957  inline void set_has_is_unique();
1958  inline void clear_has_is_unique();
1959  inline void set_has_type();
1960  inline void clear_has_type();
1961  inline void set_has_key_length();
1962  inline void clear_has_key_length();
1963  inline void set_has_options();
1964  inline void clear_has_options();
1965  inline void set_has_comment();
1966  inline void clear_has_comment();
1967 
1968  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1969 
1970  ::std::string* name_;
1971  bool is_primary_;
1972  bool is_unique_;
1973  int type_;
1974  ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart > index_part_;
1976  ::std::string* comment_;
1977  ::google::protobuf::uint32 key_length_;
1978 
1979  mutable int _cached_size_;
1980  ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
1981 
1982  friend void protobuf_AddDesc_table_2eproto();
1983  friend void protobuf_AssignDesc_table_2eproto();
1984  friend void protobuf_ShutdownFile_table_2eproto();
1985 
1986  void InitAsDefaultInstance();
1987  static Table_Index* default_instance_;
1988 };
1989 // -------------------------------------------------------------------
1990 
1991 class Table : public ::google::protobuf::Message {
1992  public:
1993  Table();
1994  virtual ~Table();
1995 
1996  Table(const Table& from);
1997 
1998  inline Table& operator=(const Table& from) {
1999  CopyFrom(from);
2000  return *this;
2001  }
2002 
2003  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2004  return _unknown_fields_;
2005  }
2006 
2007  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2008  return &_unknown_fields_;
2009  }
2010 
2011  static const ::google::protobuf::Descriptor* descriptor();
2012  static const Table& default_instance();
2013 
2014  void Swap(Table* other);
2015 
2016  // implements Message ----------------------------------------------
2017 
2018  Table* New() const;
2019  void CopyFrom(const ::google::protobuf::Message& from);
2020  void MergeFrom(const ::google::protobuf::Message& from);
2021  void CopyFrom(const Table& from);
2022  void MergeFrom(const Table& from);
2023  void Clear();
2024  bool IsInitialized() const;
2025 
2026  int ByteSize() const;
2027  bool MergePartialFromCodedStream(
2028  ::google::protobuf::io::CodedInputStream* input);
2029  void SerializeWithCachedSizes(
2030  ::google::protobuf::io::CodedOutputStream* output) const;
2031  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2032  int GetCachedSize() const { return _cached_size_; }
2033  private:
2034  void SharedCtor();
2035  void SharedDtor();
2036  void SetCachedSize(int size) const;
2037  public:
2038 
2039  ::google::protobuf::Metadata GetMetadata() const;
2040 
2041  // nested types ----------------------------------------------------
2042 
2045  typedef Table_Field Field;
2046  typedef Table_Index Index;
2047 
2048  typedef Table_TableType TableType;
2049  static const TableType STANDARD = Table_TableType_STANDARD;
2050  static const TableType TEMPORARY = Table_TableType_TEMPORARY;
2051  static const TableType INTERNAL = Table_TableType_INTERNAL;
2052  static const TableType FUNCTION = Table_TableType_FUNCTION;
2053  static inline bool TableType_IsValid(int value) {
2054  return Table_TableType_IsValid(value);
2055  }
2056  static const TableType TableType_MIN =
2057  Table_TableType_TableType_MIN;
2058  static const TableType TableType_MAX =
2059  Table_TableType_TableType_MAX;
2060  static const int TableType_ARRAYSIZE =
2061  Table_TableType_TableType_ARRAYSIZE;
2062  static inline const ::google::protobuf::EnumDescriptor*
2063  TableType_descriptor() {
2064  return Table_TableType_descriptor();
2065  }
2066  static inline const ::std::string& TableType_Name(TableType value) {
2067  return Table_TableType_Name(value);
2068  }
2069  static inline bool TableType_Parse(const ::std::string& name,
2070  TableType* value) {
2071  return Table_TableType_Parse(name, value);
2072  }
2073 
2074  // accessors -------------------------------------------------------
2075 
2076  // required string name = 1;
2077  inline bool has_name() const;
2078  inline void clear_name();
2079  static const int kNameFieldNumber = 1;
2080  inline const ::std::string& name() const;
2081  inline void set_name(const ::std::string& value);
2082  inline void set_name(const char* value);
2083  inline void set_name(const char* value, size_t size);
2084  inline ::std::string* mutable_name();
2085  inline ::std::string* release_name();
2086 
2087  // required string schema = 6;
2088  inline bool has_schema() const;
2089  inline void clear_schema();
2090  static const int kSchemaFieldNumber = 6;
2091  inline const ::std::string& schema() const;
2092  inline void set_schema(const ::std::string& value);
2093  inline void set_schema(const char* value);
2094  inline void set_schema(const char* value, size_t size);
2095  inline ::std::string* mutable_schema();
2096  inline ::std::string* release_schema();
2097 
2098  // required .drizzled.message.Table.TableType type = 5;
2099  inline bool has_type() const;
2100  inline void clear_type();
2101  static const int kTypeFieldNumber = 5;
2102  inline ::drizzled::message::Table_TableType type() const;
2103  inline void set_type(::drizzled::message::Table_TableType value);
2104 
2105  // required .drizzled.message.Engine engine = 2;
2106  inline bool has_engine() const;
2107  inline void clear_engine();
2108  static const int kEngineFieldNumber = 2;
2109  inline const ::drizzled::message::Engine& engine() const;
2110  inline ::drizzled::message::Engine* mutable_engine();
2111  inline ::drizzled::message::Engine* release_engine();
2112 
2113  // repeated .drizzled.message.Table.Field field = 3;
2114  inline int field_size() const;
2115  inline void clear_field();
2116  static const int kFieldFieldNumber = 3;
2117  inline const ::drizzled::message::Table_Field& field(int index) const;
2118  inline ::drizzled::message::Table_Field* mutable_field(int index);
2119  inline ::drizzled::message::Table_Field* add_field();
2120  inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
2121  field() const;
2122  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
2123  mutable_field();
2124 
2125  // repeated .drizzled.message.Table.Index indexes = 4;
2126  inline int indexes_size() const;
2127  inline void clear_indexes();
2128  static const int kIndexesFieldNumber = 4;
2129  inline const ::drizzled::message::Table_Index& indexes(int index) const;
2130  inline ::drizzled::message::Table_Index* mutable_indexes(int index);
2131  inline ::drizzled::message::Table_Index* add_indexes();
2132  inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
2133  indexes() const;
2134  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
2135  mutable_indexes();
2136 
2137  // repeated .drizzled.message.Table.ForeignKeyConstraint fk_constraint = 8;
2138  inline int fk_constraint_size() const;
2139  inline void clear_fk_constraint();
2140  static const int kFkConstraintFieldNumber = 8;
2141  inline const ::drizzled::message::Table_ForeignKeyConstraint& fk_constraint(int index) const;
2142  inline ::drizzled::message::Table_ForeignKeyConstraint* mutable_fk_constraint(int index);
2143  inline ::drizzled::message::Table_ForeignKeyConstraint* add_fk_constraint();
2144  inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
2145  fk_constraint() const;
2146  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
2147  mutable_fk_constraint();
2148 
2149  // optional .drizzled.message.Table.TableOptions options = 9;
2150  inline bool has_options() const;
2151  inline void clear_options();
2152  static const int kOptionsFieldNumber = 9;
2153  inline const ::drizzled::message::Table_TableOptions& options() const;
2154  inline ::drizzled::message::Table_TableOptions* mutable_options();
2155  inline ::drizzled::message::Table_TableOptions* release_options();
2156 
2157  // required uint64 creation_timestamp = 11 [default = 0];
2158  inline bool has_creation_timestamp() const;
2159  inline void clear_creation_timestamp();
2160  static const int kCreationTimestampFieldNumber = 11;
2161  inline ::google::protobuf::uint64 creation_timestamp() const;
2162  inline void set_creation_timestamp(::google::protobuf::uint64 value);
2163 
2164  // required uint64 update_timestamp = 12 [default = 0];
2165  inline bool has_update_timestamp() const;
2166  inline void clear_update_timestamp();
2167  static const int kUpdateTimestampFieldNumber = 12;
2168  inline ::google::protobuf::uint64 update_timestamp() const;
2169  inline void set_update_timestamp(::google::protobuf::uint64 value);
2170 
2171  // optional string catalog = 13;
2172  inline bool has_catalog() const;
2173  inline void clear_catalog();
2174  static const int kCatalogFieldNumber = 13;
2175  inline const ::std::string& catalog() const;
2176  inline void set_catalog(const ::std::string& value);
2177  inline void set_catalog(const char* value);
2178  inline void set_catalog(const char* value, size_t size);
2179  inline ::std::string* mutable_catalog();
2180  inline ::std::string* release_catalog();
2181 
2182  // optional string uuid = 14;
2183  inline bool has_uuid() const;
2184  inline void clear_uuid();
2185  static const int kUuidFieldNumber = 14;
2186  inline const ::std::string& uuid() const;
2187  inline void set_uuid(const ::std::string& value);
2188  inline void set_uuid(const char* value);
2189  inline void set_uuid(const char* value, size_t size);
2190  inline ::std::string* mutable_uuid();
2191  inline ::std::string* release_uuid();
2192 
2193  // optional uint64 version = 15;
2194  inline bool has_version() const;
2195  inline void clear_version();
2196  static const int kVersionFieldNumber = 15;
2197  inline ::google::protobuf::uint64 version() const;
2198  inline void set_version(::google::protobuf::uint64 value);
2199 
2200  // optional .drizzled.message.ReplicationOptions replication_options = 16;
2201  inline bool has_replication_options() const;
2202  inline void clear_replication_options();
2203  static const int kReplicationOptionsFieldNumber = 16;
2204  inline const ::drizzled::message::ReplicationOptions& replication_options() const;
2205  inline ::drizzled::message::ReplicationOptions* mutable_replication_options();
2206  inline ::drizzled::message::ReplicationOptions* release_replication_options();
2207 
2208  // optional .drizzled.message.Access access = 17;
2209  inline bool has_access() const;
2210  inline void clear_access();
2211  static const int kAccessFieldNumber = 17;
2212  inline const ::drizzled::message::Access& access() const;
2213  inline ::drizzled::message::Access* mutable_access();
2214  inline ::drizzled::message::Access* release_access();
2215 
2216  // @@protoc_insertion_point(class_scope:drizzled.message.Table)
2217  private:
2218  inline void set_has_name();
2219  inline void clear_has_name();
2220  inline void set_has_schema();
2221  inline void clear_has_schema();
2222  inline void set_has_type();
2223  inline void clear_has_type();
2224  inline void set_has_engine();
2225  inline void clear_has_engine();
2226  inline void set_has_options();
2227  inline void clear_has_options();
2228  inline void set_has_creation_timestamp();
2229  inline void clear_has_creation_timestamp();
2230  inline void set_has_update_timestamp();
2231  inline void clear_has_update_timestamp();
2232  inline void set_has_catalog();
2233  inline void clear_has_catalog();
2234  inline void set_has_uuid();
2235  inline void clear_has_uuid();
2236  inline void set_has_version();
2237  inline void clear_has_version();
2238  inline void set_has_replication_options();
2239  inline void clear_has_replication_options();
2240  inline void set_has_access();
2241  inline void clear_has_access();
2242 
2243  ::google::protobuf::UnknownFieldSet _unknown_fields_;
2244 
2245  ::std::string* name_;
2246  ::std::string* schema_;
2247  ::drizzled::message::Engine* engine_;
2248  ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > field_;
2249  ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index > indexes_;
2250  ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint > fk_constraint_;
2252  ::google::protobuf::uint64 creation_timestamp_;
2253  ::google::protobuf::uint64 update_timestamp_;
2254  ::std::string* catalog_;
2255  ::std::string* uuid_;
2256  ::google::protobuf::uint64 version_;
2257  ::drizzled::message::ReplicationOptions* replication_options_;
2258  ::drizzled::message::Access* access_;
2259  int type_;
2260 
2261  mutable int _cached_size_;
2262  ::google::protobuf::uint32 _has_bits_[(15 + 31) / 32];
2263 
2264  friend void protobuf_AddDesc_table_2eproto();
2265  friend void protobuf_AssignDesc_table_2eproto();
2266  friend void protobuf_ShutdownFile_table_2eproto();
2267 
2268  void InitAsDefaultInstance();
2269  static Table* default_instance_;
2270 };
2271 // -------------------------------------------------------------------
2272 
2273 class AddedFields : public ::google::protobuf::Message {
2274  public:
2275  AddedFields();
2276  virtual ~AddedFields();
2277 
2278  AddedFields(const AddedFields& from);
2279 
2280  inline AddedFields& operator=(const AddedFields& from) {
2281  CopyFrom(from);
2282  return *this;
2283  }
2284 
2285  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2286  return _unknown_fields_;
2287  }
2288 
2289  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2290  return &_unknown_fields_;
2291  }
2292 
2293  static const ::google::protobuf::Descriptor* descriptor();
2294  static const AddedFields& default_instance();
2295 
2296  void Swap(AddedFields* other);
2297 
2298  // implements Message ----------------------------------------------
2299 
2300  AddedFields* New() const;
2301  void CopyFrom(const ::google::protobuf::Message& from);
2302  void MergeFrom(const ::google::protobuf::Message& from);
2303  void CopyFrom(const AddedFields& from);
2304  void MergeFrom(const AddedFields& from);
2305  void Clear();
2306  bool IsInitialized() const;
2307 
2308  int ByteSize() const;
2309  bool MergePartialFromCodedStream(
2310  ::google::protobuf::io::CodedInputStream* input);
2311  void SerializeWithCachedSizes(
2312  ::google::protobuf::io::CodedOutputStream* output) const;
2313  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
2314  int GetCachedSize() const { return _cached_size_; }
2315  private:
2316  void SharedCtor();
2317  void SharedDtor();
2318  void SetCachedSize(int size) const;
2319  public:
2320 
2321  ::google::protobuf::Metadata GetMetadata() const;
2322 
2323  // nested types ----------------------------------------------------
2324 
2325  // accessors -------------------------------------------------------
2326 
2327  // repeated .drizzled.message.Table.Field added_field = 1;
2328  inline int added_field_size() const;
2329  inline void clear_added_field();
2330  static const int kAddedFieldFieldNumber = 1;
2331  inline const ::drizzled::message::Table_Field& added_field(int index) const;
2332  inline ::drizzled::message::Table_Field* mutable_added_field(int index);
2333  inline ::drizzled::message::Table_Field* add_added_field();
2334  inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
2335  added_field() const;
2336  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
2337  mutable_added_field();
2338 
2339  // @@protoc_insertion_point(class_scope:drizzled.message.AddedFields)
2340  private:
2341 
2342  ::google::protobuf::UnknownFieldSet _unknown_fields_;
2343 
2344  ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field > added_field_;
2345 
2346  mutable int _cached_size_;
2347  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
2348 
2349  friend void protobuf_AddDesc_table_2eproto();
2350  friend void protobuf_AssignDesc_table_2eproto();
2351  friend void protobuf_ShutdownFile_table_2eproto();
2352 
2353  void InitAsDefaultInstance();
2354  static AddedFields* default_instance_;
2355 };
2356 // ===================================================================
2357 
2358 
2359 // ===================================================================
2360 
2361 // Table_TableOptions
2362 
2363 // optional bool has_user_set_auto_increment_value = 1;
2364 inline bool Table_TableOptions::has_has_user_set_auto_increment_value() const {
2365  return (_has_bits_[0] & 0x00000001u) != 0;
2366 }
2367 inline void Table_TableOptions::set_has_has_user_set_auto_increment_value() {
2368  _has_bits_[0] |= 0x00000001u;
2369 }
2370 inline void Table_TableOptions::clear_has_has_user_set_auto_increment_value() {
2371  _has_bits_[0] &= ~0x00000001u;
2372 }
2373 inline void Table_TableOptions::clear_has_user_set_auto_increment_value() {
2374  has_user_set_auto_increment_value_ = false;
2375  clear_has_has_user_set_auto_increment_value();
2376 }
2377 inline bool Table_TableOptions::has_user_set_auto_increment_value() const {
2378  return has_user_set_auto_increment_value_;
2379 }
2380 inline void Table_TableOptions::set_has_user_set_auto_increment_value(bool value) {
2381  set_has_has_user_set_auto_increment_value();
2382  has_user_set_auto_increment_value_ = value;
2383 }
2384 
2385 // optional string collation = 2;
2386 inline bool Table_TableOptions::has_collation() const {
2387  return (_has_bits_[0] & 0x00000002u) != 0;
2388 }
2389 inline void Table_TableOptions::set_has_collation() {
2390  _has_bits_[0] |= 0x00000002u;
2391 }
2392 inline void Table_TableOptions::clear_has_collation() {
2393  _has_bits_[0] &= ~0x00000002u;
2394 }
2395 inline void Table_TableOptions::clear_collation() {
2396  if (collation_ != &::google::protobuf::internal::kEmptyString) {
2397  collation_->clear();
2398  }
2399  clear_has_collation();
2400 }
2401 inline const ::std::string& Table_TableOptions::collation() const {
2402  return *collation_;
2403 }
2404 inline void Table_TableOptions::set_collation(const ::std::string& value) {
2405  set_has_collation();
2406  if (collation_ == &::google::protobuf::internal::kEmptyString) {
2407  collation_ = new ::std::string;
2408  }
2409  collation_->assign(value);
2410 }
2411 inline void Table_TableOptions::set_collation(const char* value) {
2412  set_has_collation();
2413  if (collation_ == &::google::protobuf::internal::kEmptyString) {
2414  collation_ = new ::std::string;
2415  }
2416  collation_->assign(value);
2417 }
2418 inline void Table_TableOptions::set_collation(const char* value, size_t size) {
2419  set_has_collation();
2420  if (collation_ == &::google::protobuf::internal::kEmptyString) {
2421  collation_ = new ::std::string;
2422  }
2423  collation_->assign(reinterpret_cast<const char*>(value), size);
2424 }
2425 inline ::std::string* Table_TableOptions::mutable_collation() {
2426  set_has_collation();
2427  if (collation_ == &::google::protobuf::internal::kEmptyString) {
2428  collation_ = new ::std::string;
2429  }
2430  return collation_;
2431 }
2432 inline ::std::string* Table_TableOptions::release_collation() {
2433  clear_has_collation();
2434  if (collation_ == &::google::protobuf::internal::kEmptyString) {
2435  return NULL;
2436  } else {
2437  ::std::string* temp = collation_;
2438  collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2439  return temp;
2440  }
2441 }
2442 
2443 // optional uint32 collation_id = 3;
2444 inline bool Table_TableOptions::has_collation_id() const {
2445  return (_has_bits_[0] & 0x00000004u) != 0;
2446 }
2447 inline void Table_TableOptions::set_has_collation_id() {
2448  _has_bits_[0] |= 0x00000004u;
2449 }
2450 inline void Table_TableOptions::clear_has_collation_id() {
2451  _has_bits_[0] &= ~0x00000004u;
2452 }
2453 inline void Table_TableOptions::clear_collation_id() {
2454  collation_id_ = 0u;
2455  clear_has_collation_id();
2456 }
2457 inline ::google::protobuf::uint32 Table_TableOptions::collation_id() const {
2458  return collation_id_;
2459 }
2460 inline void Table_TableOptions::set_collation_id(::google::protobuf::uint32 value) {
2461  set_has_collation_id();
2462  collation_id_ = value;
2463 }
2464 
2465 // optional string data_file_name = 5;
2466 inline bool Table_TableOptions::has_data_file_name() const {
2467  return (_has_bits_[0] & 0x00000008u) != 0;
2468 }
2469 inline void Table_TableOptions::set_has_data_file_name() {
2470  _has_bits_[0] |= 0x00000008u;
2471 }
2472 inline void Table_TableOptions::clear_has_data_file_name() {
2473  _has_bits_[0] &= ~0x00000008u;
2474 }
2475 inline void Table_TableOptions::clear_data_file_name() {
2476  if (data_file_name_ != &::google::protobuf::internal::kEmptyString) {
2477  data_file_name_->clear();
2478  }
2479  clear_has_data_file_name();
2480 }
2481 inline const ::std::string& Table_TableOptions::data_file_name() const {
2482  return *data_file_name_;
2483 }
2484 inline void Table_TableOptions::set_data_file_name(const ::std::string& value) {
2485  set_has_data_file_name();
2486  if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2487  data_file_name_ = new ::std::string;
2488  }
2489  data_file_name_->assign(value);
2490 }
2491 inline void Table_TableOptions::set_data_file_name(const char* value) {
2492  set_has_data_file_name();
2493  if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2494  data_file_name_ = new ::std::string;
2495  }
2496  data_file_name_->assign(value);
2497 }
2498 inline void Table_TableOptions::set_data_file_name(const char* value, size_t size) {
2499  set_has_data_file_name();
2500  if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2501  data_file_name_ = new ::std::string;
2502  }
2503  data_file_name_->assign(reinterpret_cast<const char*>(value), size);
2504 }
2505 inline ::std::string* Table_TableOptions::mutable_data_file_name() {
2506  set_has_data_file_name();
2507  if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2508  data_file_name_ = new ::std::string;
2509  }
2510  return data_file_name_;
2511 }
2512 inline ::std::string* Table_TableOptions::release_data_file_name() {
2513  clear_has_data_file_name();
2514  if (data_file_name_ == &::google::protobuf::internal::kEmptyString) {
2515  return NULL;
2516  } else {
2517  ::std::string* temp = data_file_name_;
2518  data_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2519  return temp;
2520  }
2521 }
2522 
2523 // optional string index_file_name = 6;
2524 inline bool Table_TableOptions::has_index_file_name() const {
2525  return (_has_bits_[0] & 0x00000010u) != 0;
2526 }
2527 inline void Table_TableOptions::set_has_index_file_name() {
2528  _has_bits_[0] |= 0x00000010u;
2529 }
2530 inline void Table_TableOptions::clear_has_index_file_name() {
2531  _has_bits_[0] &= ~0x00000010u;
2532 }
2533 inline void Table_TableOptions::clear_index_file_name() {
2534  if (index_file_name_ != &::google::protobuf::internal::kEmptyString) {
2535  index_file_name_->clear();
2536  }
2537  clear_has_index_file_name();
2538 }
2539 inline const ::std::string& Table_TableOptions::index_file_name() const {
2540  return *index_file_name_;
2541 }
2542 inline void Table_TableOptions::set_index_file_name(const ::std::string& value) {
2543  set_has_index_file_name();
2544  if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2545  index_file_name_ = new ::std::string;
2546  }
2547  index_file_name_->assign(value);
2548 }
2549 inline void Table_TableOptions::set_index_file_name(const char* value) {
2550  set_has_index_file_name();
2551  if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2552  index_file_name_ = new ::std::string;
2553  }
2554  index_file_name_->assign(value);
2555 }
2556 inline void Table_TableOptions::set_index_file_name(const char* value, size_t size) {
2557  set_has_index_file_name();
2558  if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2559  index_file_name_ = new ::std::string;
2560  }
2561  index_file_name_->assign(reinterpret_cast<const char*>(value), size);
2562 }
2563 inline ::std::string* Table_TableOptions::mutable_index_file_name() {
2564  set_has_index_file_name();
2565  if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2566  index_file_name_ = new ::std::string;
2567  }
2568  return index_file_name_;
2569 }
2570 inline ::std::string* Table_TableOptions::release_index_file_name() {
2571  clear_has_index_file_name();
2572  if (index_file_name_ == &::google::protobuf::internal::kEmptyString) {
2573  return NULL;
2574  } else {
2575  ::std::string* temp = index_file_name_;
2576  index_file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2577  return temp;
2578  }
2579 }
2580 
2581 // optional uint64 max_rows = 7;
2582 inline bool Table_TableOptions::has_max_rows() const {
2583  return (_has_bits_[0] & 0x00000020u) != 0;
2584 }
2585 inline void Table_TableOptions::set_has_max_rows() {
2586  _has_bits_[0] |= 0x00000020u;
2587 }
2588 inline void Table_TableOptions::clear_has_max_rows() {
2589  _has_bits_[0] &= ~0x00000020u;
2590 }
2591 inline void Table_TableOptions::clear_max_rows() {
2592  max_rows_ = GOOGLE_ULONGLONG(0);
2593  clear_has_max_rows();
2594 }
2595 inline ::google::protobuf::uint64 Table_TableOptions::max_rows() const {
2596  return max_rows_;
2597 }
2598 inline void Table_TableOptions::set_max_rows(::google::protobuf::uint64 value) {
2599  set_has_max_rows();
2600  max_rows_ = value;
2601 }
2602 
2603 // optional uint64 min_rows = 8;
2604 inline bool Table_TableOptions::has_min_rows() const {
2605  return (_has_bits_[0] & 0x00000040u) != 0;
2606 }
2607 inline void Table_TableOptions::set_has_min_rows() {
2608  _has_bits_[0] |= 0x00000040u;
2609 }
2610 inline void Table_TableOptions::clear_has_min_rows() {
2611  _has_bits_[0] &= ~0x00000040u;
2612 }
2613 inline void Table_TableOptions::clear_min_rows() {
2614  min_rows_ = GOOGLE_ULONGLONG(0);
2615  clear_has_min_rows();
2616 }
2617 inline ::google::protobuf::uint64 Table_TableOptions::min_rows() const {
2618  return min_rows_;
2619 }
2620 inline void Table_TableOptions::set_min_rows(::google::protobuf::uint64 value) {
2621  set_has_min_rows();
2622  min_rows_ = value;
2623 }
2624 
2625 // optional uint64 auto_increment_value = 9;
2626 inline bool Table_TableOptions::has_auto_increment_value() const {
2627  return (_has_bits_[0] & 0x00000080u) != 0;
2628 }
2629 inline void Table_TableOptions::set_has_auto_increment_value() {
2630  _has_bits_[0] |= 0x00000080u;
2631 }
2632 inline void Table_TableOptions::clear_has_auto_increment_value() {
2633  _has_bits_[0] &= ~0x00000080u;
2634 }
2635 inline void Table_TableOptions::clear_auto_increment_value() {
2636  auto_increment_value_ = GOOGLE_ULONGLONG(0);
2637  clear_has_auto_increment_value();
2638 }
2639 inline ::google::protobuf::uint64 Table_TableOptions::auto_increment_value() const {
2640  return auto_increment_value_;
2641 }
2642 inline void Table_TableOptions::set_auto_increment_value(::google::protobuf::uint64 value) {
2643  set_has_auto_increment_value();
2644  auto_increment_value_ = value;
2645 }
2646 
2647 // optional uint32 avg_row_length = 11;
2648 inline bool Table_TableOptions::has_avg_row_length() const {
2649  return (_has_bits_[0] & 0x00000100u) != 0;
2650 }
2651 inline void Table_TableOptions::set_has_avg_row_length() {
2652  _has_bits_[0] |= 0x00000100u;
2653 }
2654 inline void Table_TableOptions::clear_has_avg_row_length() {
2655  _has_bits_[0] &= ~0x00000100u;
2656 }
2657 inline void Table_TableOptions::clear_avg_row_length() {
2658  avg_row_length_ = 0u;
2659  clear_has_avg_row_length();
2660 }
2661 inline ::google::protobuf::uint32 Table_TableOptions::avg_row_length() const {
2662  return avg_row_length_;
2663 }
2664 inline void Table_TableOptions::set_avg_row_length(::google::protobuf::uint32 value) {
2665  set_has_avg_row_length();
2666  avg_row_length_ = value;
2667 }
2668 
2669 // optional uint32 block_size = 13;
2670 inline bool Table_TableOptions::has_block_size() const {
2671  return (_has_bits_[0] & 0x00000200u) != 0;
2672 }
2673 inline void Table_TableOptions::set_has_block_size() {
2674  _has_bits_[0] |= 0x00000200u;
2675 }
2676 inline void Table_TableOptions::clear_has_block_size() {
2677  _has_bits_[0] &= ~0x00000200u;
2678 }
2679 inline void Table_TableOptions::clear_block_size() {
2680  block_size_ = 0u;
2681  clear_has_block_size();
2682 }
2683 inline ::google::protobuf::uint32 Table_TableOptions::block_size() const {
2684  return block_size_;
2685 }
2686 inline void Table_TableOptions::set_block_size(::google::protobuf::uint32 value) {
2687  set_has_block_size();
2688  block_size_ = value;
2689 }
2690 
2691 // optional string comment = 14;
2692 inline bool Table_TableOptions::has_comment() const {
2693  return (_has_bits_[0] & 0x00000400u) != 0;
2694 }
2695 inline void Table_TableOptions::set_has_comment() {
2696  _has_bits_[0] |= 0x00000400u;
2697 }
2698 inline void Table_TableOptions::clear_has_comment() {
2699  _has_bits_[0] &= ~0x00000400u;
2700 }
2701 inline void Table_TableOptions::clear_comment() {
2702  if (comment_ != &::google::protobuf::internal::kEmptyString) {
2703  comment_->clear();
2704  }
2705  clear_has_comment();
2706 }
2707 inline const ::std::string& Table_TableOptions::comment() const {
2708  return *comment_;
2709 }
2710 inline void Table_TableOptions::set_comment(const ::std::string& value) {
2711  set_has_comment();
2712  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2713  comment_ = new ::std::string;
2714  }
2715  comment_->assign(value);
2716 }
2717 inline void Table_TableOptions::set_comment(const char* value) {
2718  set_has_comment();
2719  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2720  comment_ = new ::std::string;
2721  }
2722  comment_->assign(value);
2723 }
2724 inline void Table_TableOptions::set_comment(const char* value, size_t size) {
2725  set_has_comment();
2726  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2727  comment_ = new ::std::string;
2728  }
2729  comment_->assign(reinterpret_cast<const char*>(value), size);
2730 }
2731 inline ::std::string* Table_TableOptions::mutable_comment() {
2732  set_has_comment();
2733  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2734  comment_ = new ::std::string;
2735  }
2736  return comment_;
2737 }
2738 inline ::std::string* Table_TableOptions::release_comment() {
2739  clear_has_comment();
2740  if (comment_ == &::google::protobuf::internal::kEmptyString) {
2741  return NULL;
2742  } else {
2743  ::std::string* temp = comment_;
2744  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2745  return temp;
2746  }
2747 }
2748 
2749 // optional bool pack_record = 16;
2750 inline bool Table_TableOptions::has_pack_record() const {
2751  return (_has_bits_[0] & 0x00000800u) != 0;
2752 }
2753 inline void Table_TableOptions::set_has_pack_record() {
2754  _has_bits_[0] |= 0x00000800u;
2755 }
2756 inline void Table_TableOptions::clear_has_pack_record() {
2757  _has_bits_[0] &= ~0x00000800u;
2758 }
2759 inline void Table_TableOptions::clear_pack_record() {
2760  pack_record_ = false;
2761  clear_has_pack_record();
2762 }
2763 inline bool Table_TableOptions::pack_record() const {
2764  return pack_record_;
2765 }
2766 inline void Table_TableOptions::set_pack_record(bool value) {
2767  set_has_pack_record();
2768  pack_record_ = value;
2769 }
2770 
2771 // optional bool checksum = 17;
2772 inline bool Table_TableOptions::has_checksum() const {
2773  return (_has_bits_[0] & 0x00001000u) != 0;
2774 }
2775 inline void Table_TableOptions::set_has_checksum() {
2776  _has_bits_[0] |= 0x00001000u;
2777 }
2778 inline void Table_TableOptions::clear_has_checksum() {
2779  _has_bits_[0] &= ~0x00001000u;
2780 }
2781 inline void Table_TableOptions::clear_checksum() {
2782  checksum_ = false;
2783  clear_has_checksum();
2784 }
2785 inline bool Table_TableOptions::checksum() const {
2786  return checksum_;
2787 }
2788 inline void Table_TableOptions::set_checksum(bool value) {
2789  set_has_checksum();
2790  checksum_ = value;
2791 }
2792 
2793 // optional bool page_checksum = 18;
2794 inline bool Table_TableOptions::has_page_checksum() const {
2795  return (_has_bits_[0] & 0x00002000u) != 0;
2796 }
2797 inline void Table_TableOptions::set_has_page_checksum() {
2798  _has_bits_[0] |= 0x00002000u;
2799 }
2800 inline void Table_TableOptions::clear_has_page_checksum() {
2801  _has_bits_[0] &= ~0x00002000u;
2802 }
2803 inline void Table_TableOptions::clear_page_checksum() {
2804  page_checksum_ = false;
2805  clear_has_page_checksum();
2806 }
2807 inline bool Table_TableOptions::page_checksum() const {
2808  return page_checksum_;
2809 }
2810 inline void Table_TableOptions::set_page_checksum(bool value) {
2811  set_has_page_checksum();
2812  page_checksum_ = value;
2813 }
2814 
2815 // optional bool delay_key_write = 19;
2816 inline bool Table_TableOptions::has_delay_key_write() const {
2817  return (_has_bits_[0] & 0x00004000u) != 0;
2818 }
2819 inline void Table_TableOptions::set_has_delay_key_write() {
2820  _has_bits_[0] |= 0x00004000u;
2821 }
2822 inline void Table_TableOptions::clear_has_delay_key_write() {
2823  _has_bits_[0] &= ~0x00004000u;
2824 }
2825 inline void Table_TableOptions::clear_delay_key_write() {
2826  delay_key_write_ = false;
2827  clear_has_delay_key_write();
2828 }
2829 inline bool Table_TableOptions::delay_key_write() const {
2830  return delay_key_write_;
2831 }
2832 inline void Table_TableOptions::set_delay_key_write(bool value) {
2833  set_has_delay_key_write();
2834  delay_key_write_ = value;
2835 }
2836 
2837 // optional bool unused = 20;
2838 inline bool Table_TableOptions::has_unused() const {
2839  return (_has_bits_[0] & 0x00008000u) != 0;
2840 }
2841 inline void Table_TableOptions::set_has_unused() {
2842  _has_bits_[0] |= 0x00008000u;
2843 }
2844 inline void Table_TableOptions::clear_has_unused() {
2845  _has_bits_[0] &= ~0x00008000u;
2846 }
2847 inline void Table_TableOptions::clear_unused() {
2848  unused_ = false;
2849  clear_has_unused();
2850 }
2851 inline bool Table_TableOptions::unused() const {
2852  return unused_;
2853 }
2854 inline void Table_TableOptions::set_unused(bool value) {
2855  set_has_unused();
2856  unused_ = value;
2857 }
2858 
2859 // -------------------------------------------------------------------
2860 
2861 // Table_ForeignKeyConstraint
2862 
2863 // optional string name = 1;
2864 inline bool Table_ForeignKeyConstraint::has_name() const {
2865  return (_has_bits_[0] & 0x00000001u) != 0;
2866 }
2867 inline void Table_ForeignKeyConstraint::set_has_name() {
2868  _has_bits_[0] |= 0x00000001u;
2869 }
2870 inline void Table_ForeignKeyConstraint::clear_has_name() {
2871  _has_bits_[0] &= ~0x00000001u;
2872 }
2873 inline void Table_ForeignKeyConstraint::clear_name() {
2874  if (name_ != &::google::protobuf::internal::kEmptyString) {
2875  name_->clear();
2876  }
2877  clear_has_name();
2878 }
2879 inline const ::std::string& Table_ForeignKeyConstraint::name() const {
2880  return *name_;
2881 }
2882 inline void Table_ForeignKeyConstraint::set_name(const ::std::string& value) {
2883  set_has_name();
2884  if (name_ == &::google::protobuf::internal::kEmptyString) {
2885  name_ = new ::std::string;
2886  }
2887  name_->assign(value);
2888 }
2889 inline void Table_ForeignKeyConstraint::set_name(const char* value) {
2890  set_has_name();
2891  if (name_ == &::google::protobuf::internal::kEmptyString) {
2892  name_ = new ::std::string;
2893  }
2894  name_->assign(value);
2895 }
2896 inline void Table_ForeignKeyConstraint::set_name(const char* value, size_t size) {
2897  set_has_name();
2898  if (name_ == &::google::protobuf::internal::kEmptyString) {
2899  name_ = new ::std::string;
2900  }
2901  name_->assign(reinterpret_cast<const char*>(value), size);
2902 }
2903 inline ::std::string* Table_ForeignKeyConstraint::mutable_name() {
2904  set_has_name();
2905  if (name_ == &::google::protobuf::internal::kEmptyString) {
2906  name_ = new ::std::string;
2907  }
2908  return name_;
2909 }
2910 inline ::std::string* Table_ForeignKeyConstraint::release_name() {
2911  clear_has_name();
2912  if (name_ == &::google::protobuf::internal::kEmptyString) {
2913  return NULL;
2914  } else {
2915  ::std::string* temp = name_;
2916  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
2917  return temp;
2918  }
2919 }
2920 
2921 // repeated string column_names = 2;
2922 inline int Table_ForeignKeyConstraint::column_names_size() const {
2923  return column_names_.size();
2924 }
2925 inline void Table_ForeignKeyConstraint::clear_column_names() {
2926  column_names_.Clear();
2927 }
2928 inline const ::std::string& Table_ForeignKeyConstraint::column_names(int index) const {
2929  return column_names_.Get(index);
2930 }
2931 inline ::std::string* Table_ForeignKeyConstraint::mutable_column_names(int index) {
2932  return column_names_.Mutable(index);
2933 }
2934 inline void Table_ForeignKeyConstraint::set_column_names(int index, const ::std::string& value) {
2935  column_names_.Mutable(index)->assign(value);
2936 }
2937 inline void Table_ForeignKeyConstraint::set_column_names(int index, const char* value) {
2938  column_names_.Mutable(index)->assign(value);
2939 }
2940 inline void Table_ForeignKeyConstraint::set_column_names(int index, const char* value, size_t size) {
2941  column_names_.Mutable(index)->assign(
2942  reinterpret_cast<const char*>(value), size);
2943 }
2944 inline ::std::string* Table_ForeignKeyConstraint::add_column_names() {
2945  return column_names_.Add();
2946 }
2947 inline void Table_ForeignKeyConstraint::add_column_names(const ::std::string& value) {
2948  column_names_.Add()->assign(value);
2949 }
2950 inline void Table_ForeignKeyConstraint::add_column_names(const char* value) {
2951  column_names_.Add()->assign(value);
2952 }
2953 inline void Table_ForeignKeyConstraint::add_column_names(const char* value, size_t size) {
2954  column_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
2955 }
2956 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2957 Table_ForeignKeyConstraint::column_names() const {
2958  return column_names_;
2959 }
2960 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2961 Table_ForeignKeyConstraint::mutable_column_names() {
2962  return &column_names_;
2963 }
2964 
2965 // required string references_table_name = 3;
2966 inline bool Table_ForeignKeyConstraint::has_references_table_name() const {
2967  return (_has_bits_[0] & 0x00000004u) != 0;
2968 }
2969 inline void Table_ForeignKeyConstraint::set_has_references_table_name() {
2970  _has_bits_[0] |= 0x00000004u;
2971 }
2972 inline void Table_ForeignKeyConstraint::clear_has_references_table_name() {
2973  _has_bits_[0] &= ~0x00000004u;
2974 }
2975 inline void Table_ForeignKeyConstraint::clear_references_table_name() {
2976  if (references_table_name_ != &::google::protobuf::internal::kEmptyString) {
2977  references_table_name_->clear();
2978  }
2979  clear_has_references_table_name();
2980 }
2981 inline const ::std::string& Table_ForeignKeyConstraint::references_table_name() const {
2982  return *references_table_name_;
2983 }
2984 inline void Table_ForeignKeyConstraint::set_references_table_name(const ::std::string& value) {
2985  set_has_references_table_name();
2986  if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
2987  references_table_name_ = new ::std::string;
2988  }
2989  references_table_name_->assign(value);
2990 }
2991 inline void Table_ForeignKeyConstraint::set_references_table_name(const char* value) {
2992  set_has_references_table_name();
2993  if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
2994  references_table_name_ = new ::std::string;
2995  }
2996  references_table_name_->assign(value);
2997 }
2998 inline void Table_ForeignKeyConstraint::set_references_table_name(const char* value, size_t size) {
2999  set_has_references_table_name();
3000  if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3001  references_table_name_ = new ::std::string;
3002  }
3003  references_table_name_->assign(reinterpret_cast<const char*>(value), size);
3004 }
3005 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_table_name() {
3006  set_has_references_table_name();
3007  if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3008  references_table_name_ = new ::std::string;
3009  }
3010  return references_table_name_;
3011 }
3012 inline ::std::string* Table_ForeignKeyConstraint::release_references_table_name() {
3013  clear_has_references_table_name();
3014  if (references_table_name_ == &::google::protobuf::internal::kEmptyString) {
3015  return NULL;
3016  } else {
3017  ::std::string* temp = references_table_name_;
3018  references_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3019  return temp;
3020  }
3021 }
3022 
3023 // repeated string references_columns = 4;
3024 inline int Table_ForeignKeyConstraint::references_columns_size() const {
3025  return references_columns_.size();
3026 }
3027 inline void Table_ForeignKeyConstraint::clear_references_columns() {
3028  references_columns_.Clear();
3029 }
3030 inline const ::std::string& Table_ForeignKeyConstraint::references_columns(int index) const {
3031  return references_columns_.Get(index);
3032 }
3033 inline ::std::string* Table_ForeignKeyConstraint::mutable_references_columns(int index) {
3034  return references_columns_.Mutable(index);
3035 }
3036 inline void Table_ForeignKeyConstraint::set_references_columns(int index, const ::std::string& value) {
3037  references_columns_.Mutable(index)->assign(value);
3038 }
3039 inline void Table_ForeignKeyConstraint::set_references_columns(int index, const char* value) {
3040  references_columns_.Mutable(index)->assign(value);
3041 }
3042 inline void Table_ForeignKeyConstraint::set_references_columns(int index, const char* value, size_t size) {
3043  references_columns_.Mutable(index)->assign(
3044  reinterpret_cast<const char*>(value), size);
3045 }
3046 inline ::std::string* Table_ForeignKeyConstraint::add_references_columns() {
3047  return references_columns_.Add();
3048 }
3049 inline void Table_ForeignKeyConstraint::add_references_columns(const ::std::string& value) {
3050  references_columns_.Add()->assign(value);
3051 }
3052 inline void Table_ForeignKeyConstraint::add_references_columns(const char* value) {
3053  references_columns_.Add()->assign(value);
3054 }
3055 inline void Table_ForeignKeyConstraint::add_references_columns(const char* value, size_t size) {
3056  references_columns_.Add()->assign(reinterpret_cast<const char*>(value), size);
3057 }
3058 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3059 Table_ForeignKeyConstraint::references_columns() const {
3060  return references_columns_;
3061 }
3062 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3063 Table_ForeignKeyConstraint::mutable_references_columns() {
3064  return &references_columns_;
3065 }
3066 
3067 // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyMatchOption match = 5;
3068 inline bool Table_ForeignKeyConstraint::has_match() const {
3069  return (_has_bits_[0] & 0x00000010u) != 0;
3070 }
3071 inline void Table_ForeignKeyConstraint::set_has_match() {
3072  _has_bits_[0] |= 0x00000010u;
3073 }
3074 inline void Table_ForeignKeyConstraint::clear_has_match() {
3075  _has_bits_[0] &= ~0x00000010u;
3076 }
3077 inline void Table_ForeignKeyConstraint::clear_match() {
3078  match_ = 0;
3079  clear_has_match();
3080 }
3081 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption Table_ForeignKeyConstraint::match() const {
3082  return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption >(match_);
3083 }
3084 inline void Table_ForeignKeyConstraint::set_match(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption value) {
3085  GOOGLE_DCHECK(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_IsValid(value));
3086  set_has_match();
3087  match_ = value;
3088 }
3089 
3090 // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption update_option = 6 [default = OPTION_UNDEF];
3091 inline bool Table_ForeignKeyConstraint::has_update_option() const {
3092  return (_has_bits_[0] & 0x00000020u) != 0;
3093 }
3094 inline void Table_ForeignKeyConstraint::set_has_update_option() {
3095  _has_bits_[0] |= 0x00000020u;
3096 }
3097 inline void Table_ForeignKeyConstraint::clear_has_update_option() {
3098  _has_bits_[0] &= ~0x00000020u;
3099 }
3100 inline void Table_ForeignKeyConstraint::clear_update_option() {
3101  update_option_ = 0;
3102  clear_has_update_option();
3103 }
3104 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::update_option() const {
3105  return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption >(update_option_);
3106 }
3107 inline void Table_ForeignKeyConstraint::set_update_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
3108  GOOGLE_DCHECK(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
3109  set_has_update_option();
3110  update_option_ = value;
3111 }
3112 
3113 // required .drizzled.message.Table.ForeignKeyConstraint.ForeignKeyOption delete_option = 7 [default = OPTION_UNDEF];
3114 inline bool Table_ForeignKeyConstraint::has_delete_option() const {
3115  return (_has_bits_[0] & 0x00000040u) != 0;
3116 }
3117 inline void Table_ForeignKeyConstraint::set_has_delete_option() {
3118  _has_bits_[0] |= 0x00000040u;
3119 }
3120 inline void Table_ForeignKeyConstraint::clear_has_delete_option() {
3121  _has_bits_[0] &= ~0x00000040u;
3122 }
3123 inline void Table_ForeignKeyConstraint::clear_delete_option() {
3124  delete_option_ = 0;
3125  clear_has_delete_option();
3126 }
3127 inline ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption Table_ForeignKeyConstraint::delete_option() const {
3128  return static_cast< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption >(delete_option_);
3129 }
3130 inline void Table_ForeignKeyConstraint::set_delete_option(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption value) {
3131  GOOGLE_DCHECK(::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_IsValid(value));
3132  set_has_delete_option();
3133  delete_option_ = value;
3134 }
3135 
3136 // -------------------------------------------------------------------
3137 
3138 // Table_Field_FieldOptions
3139 
3140 // optional string default_value = 1;
3141 inline bool Table_Field_FieldOptions::has_default_value() const {
3142  return (_has_bits_[0] & 0x00000001u) != 0;
3143 }
3144 inline void Table_Field_FieldOptions::set_has_default_value() {
3145  _has_bits_[0] |= 0x00000001u;
3146 }
3147 inline void Table_Field_FieldOptions::clear_has_default_value() {
3148  _has_bits_[0] &= ~0x00000001u;
3149 }
3150 inline void Table_Field_FieldOptions::clear_default_value() {
3151  if (default_value_ != &::google::protobuf::internal::kEmptyString) {
3152  default_value_->clear();
3153  }
3154  clear_has_default_value();
3155 }
3156 inline const ::std::string& Table_Field_FieldOptions::default_value() const {
3157  return *default_value_;
3158 }
3159 inline void Table_Field_FieldOptions::set_default_value(const ::std::string& value) {
3160  set_has_default_value();
3161  if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3162  default_value_ = new ::std::string;
3163  }
3164  default_value_->assign(value);
3165 }
3166 inline void Table_Field_FieldOptions::set_default_value(const char* value) {
3167  set_has_default_value();
3168  if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3169  default_value_ = new ::std::string;
3170  }
3171  default_value_->assign(value);
3172 }
3173 inline void Table_Field_FieldOptions::set_default_value(const char* value, size_t size) {
3174  set_has_default_value();
3175  if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3176  default_value_ = new ::std::string;
3177  }
3178  default_value_->assign(reinterpret_cast<const char*>(value), size);
3179 }
3180 inline ::std::string* Table_Field_FieldOptions::mutable_default_value() {
3181  set_has_default_value();
3182  if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3183  default_value_ = new ::std::string;
3184  }
3185  return default_value_;
3186 }
3187 inline ::std::string* Table_Field_FieldOptions::release_default_value() {
3188  clear_has_default_value();
3189  if (default_value_ == &::google::protobuf::internal::kEmptyString) {
3190  return NULL;
3191  } else {
3192  ::std::string* temp = default_value_;
3193  default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3194  return temp;
3195  }
3196 }
3197 
3198 // optional string update_value = 2;
3199 inline bool Table_Field_FieldOptions::has_update_value() const {
3200  return (_has_bits_[0] & 0x00000002u) != 0;
3201 }
3202 inline void Table_Field_FieldOptions::set_has_update_value() {
3203  _has_bits_[0] |= 0x00000002u;
3204 }
3205 inline void Table_Field_FieldOptions::clear_has_update_value() {
3206  _has_bits_[0] &= ~0x00000002u;
3207 }
3208 inline void Table_Field_FieldOptions::clear_update_value() {
3209  if (update_value_ != &::google::protobuf::internal::kEmptyString) {
3210  update_value_->clear();
3211  }
3212  clear_has_update_value();
3213 }
3214 inline const ::std::string& Table_Field_FieldOptions::update_value() const {
3215  return *update_value_;
3216 }
3217 inline void Table_Field_FieldOptions::set_update_value(const ::std::string& value) {
3218  set_has_update_value();
3219  if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3220  update_value_ = new ::std::string;
3221  }
3222  update_value_->assign(value);
3223 }
3224 inline void Table_Field_FieldOptions::set_update_value(const char* value) {
3225  set_has_update_value();
3226  if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3227  update_value_ = new ::std::string;
3228  }
3229  update_value_->assign(value);
3230 }
3231 inline void Table_Field_FieldOptions::set_update_value(const char* value, size_t size) {
3232  set_has_update_value();
3233  if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3234  update_value_ = new ::std::string;
3235  }
3236  update_value_->assign(reinterpret_cast<const char*>(value), size);
3237 }
3238 inline ::std::string* Table_Field_FieldOptions::mutable_update_value() {
3239  set_has_update_value();
3240  if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3241  update_value_ = new ::std::string;
3242  }
3243  return update_value_;
3244 }
3245 inline ::std::string* Table_Field_FieldOptions::release_update_value() {
3246  clear_has_update_value();
3247  if (update_value_ == &::google::protobuf::internal::kEmptyString) {
3248  return NULL;
3249  } else {
3250  ::std::string* temp = update_value_;
3251  update_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3252  return temp;
3253  }
3254 }
3255 
3256 // optional bool default_null = 3 [default = false];
3257 inline bool Table_Field_FieldOptions::has_default_null() const {
3258  return (_has_bits_[0] & 0x00000004u) != 0;
3259 }
3260 inline void Table_Field_FieldOptions::set_has_default_null() {
3261  _has_bits_[0] |= 0x00000004u;
3262 }
3263 inline void Table_Field_FieldOptions::clear_has_default_null() {
3264  _has_bits_[0] &= ~0x00000004u;
3265 }
3266 inline void Table_Field_FieldOptions::clear_default_null() {
3267  default_null_ = false;
3268  clear_has_default_null();
3269 }
3270 inline bool Table_Field_FieldOptions::default_null() const {
3271  return default_null_;
3272 }
3273 inline void Table_Field_FieldOptions::set_default_null(bool value) {
3274  set_has_default_null();
3275  default_null_ = value;
3276 }
3277 
3278 // optional bytes default_bin_value = 4;
3279 inline bool Table_Field_FieldOptions::has_default_bin_value() const {
3280  return (_has_bits_[0] & 0x00000008u) != 0;
3281 }
3282 inline void Table_Field_FieldOptions::set_has_default_bin_value() {
3283  _has_bits_[0] |= 0x00000008u;
3284 }
3285 inline void Table_Field_FieldOptions::clear_has_default_bin_value() {
3286  _has_bits_[0] &= ~0x00000008u;
3287 }
3288 inline void Table_Field_FieldOptions::clear_default_bin_value() {
3289  if (default_bin_value_ != &::google::protobuf::internal::kEmptyString) {
3290  default_bin_value_->clear();
3291  }
3292  clear_has_default_bin_value();
3293 }
3294 inline const ::std::string& Table_Field_FieldOptions::default_bin_value() const {
3295  return *default_bin_value_;
3296 }
3297 inline void Table_Field_FieldOptions::set_default_bin_value(const ::std::string& value) {
3298  set_has_default_bin_value();
3299  if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3300  default_bin_value_ = new ::std::string;
3301  }
3302  default_bin_value_->assign(value);
3303 }
3304 inline void Table_Field_FieldOptions::set_default_bin_value(const char* value) {
3305  set_has_default_bin_value();
3306  if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3307  default_bin_value_ = new ::std::string;
3308  }
3309  default_bin_value_->assign(value);
3310 }
3311 inline void Table_Field_FieldOptions::set_default_bin_value(const void* value, size_t size) {
3312  set_has_default_bin_value();
3313  if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3314  default_bin_value_ = new ::std::string;
3315  }
3316  default_bin_value_->assign(reinterpret_cast<const char*>(value), size);
3317 }
3318 inline ::std::string* Table_Field_FieldOptions::mutable_default_bin_value() {
3319  set_has_default_bin_value();
3320  if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3321  default_bin_value_ = new ::std::string;
3322  }
3323  return default_bin_value_;
3324 }
3325 inline ::std::string* Table_Field_FieldOptions::release_default_bin_value() {
3326  clear_has_default_bin_value();
3327  if (default_bin_value_ == &::google::protobuf::internal::kEmptyString) {
3328  return NULL;
3329  } else {
3330  ::std::string* temp = default_bin_value_;
3331  default_bin_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3332  return temp;
3333  }
3334 }
3335 
3336 // optional string default_expression = 5;
3337 inline bool Table_Field_FieldOptions::has_default_expression() const {
3338  return (_has_bits_[0] & 0x00000010u) != 0;
3339 }
3340 inline void Table_Field_FieldOptions::set_has_default_expression() {
3341  _has_bits_[0] |= 0x00000010u;
3342 }
3343 inline void Table_Field_FieldOptions::clear_has_default_expression() {
3344  _has_bits_[0] &= ~0x00000010u;
3345 }
3346 inline void Table_Field_FieldOptions::clear_default_expression() {
3347  if (default_expression_ != &::google::protobuf::internal::kEmptyString) {
3348  default_expression_->clear();
3349  }
3350  clear_has_default_expression();
3351 }
3352 inline const ::std::string& Table_Field_FieldOptions::default_expression() const {
3353  return *default_expression_;
3354 }
3355 inline void Table_Field_FieldOptions::set_default_expression(const ::std::string& value) {
3356  set_has_default_expression();
3357  if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3358  default_expression_ = new ::std::string;
3359  }
3360  default_expression_->assign(value);
3361 }
3362 inline void Table_Field_FieldOptions::set_default_expression(const char* value) {
3363  set_has_default_expression();
3364  if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3365  default_expression_ = new ::std::string;
3366  }
3367  default_expression_->assign(value);
3368 }
3369 inline void Table_Field_FieldOptions::set_default_expression(const char* value, size_t size) {
3370  set_has_default_expression();
3371  if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3372  default_expression_ = new ::std::string;
3373  }
3374  default_expression_->assign(reinterpret_cast<const char*>(value), size);
3375 }
3376 inline ::std::string* Table_Field_FieldOptions::mutable_default_expression() {
3377  set_has_default_expression();
3378  if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3379  default_expression_ = new ::std::string;
3380  }
3381  return default_expression_;
3382 }
3383 inline ::std::string* Table_Field_FieldOptions::release_default_expression() {
3384  clear_has_default_expression();
3385  if (default_expression_ == &::google::protobuf::internal::kEmptyString) {
3386  return NULL;
3387  } else {
3388  ::std::string* temp = default_expression_;
3389  default_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3390  return temp;
3391  }
3392 }
3393 
3394 // optional string update_expression = 6;
3395 inline bool Table_Field_FieldOptions::has_update_expression() const {
3396  return (_has_bits_[0] & 0x00000020u) != 0;
3397 }
3398 inline void Table_Field_FieldOptions::set_has_update_expression() {
3399  _has_bits_[0] |= 0x00000020u;
3400 }
3401 inline void Table_Field_FieldOptions::clear_has_update_expression() {
3402  _has_bits_[0] &= ~0x00000020u;
3403 }
3404 inline void Table_Field_FieldOptions::clear_update_expression() {
3405  if (update_expression_ != &::google::protobuf::internal::kEmptyString) {
3406  update_expression_->clear();
3407  }
3408  clear_has_update_expression();
3409 }
3410 inline const ::std::string& Table_Field_FieldOptions::update_expression() const {
3411  return *update_expression_;
3412 }
3413 inline void Table_Field_FieldOptions::set_update_expression(const ::std::string& value) {
3414  set_has_update_expression();
3415  if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3416  update_expression_ = new ::std::string;
3417  }
3418  update_expression_->assign(value);
3419 }
3420 inline void Table_Field_FieldOptions::set_update_expression(const char* value) {
3421  set_has_update_expression();
3422  if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3423  update_expression_ = new ::std::string;
3424  }
3425  update_expression_->assign(value);
3426 }
3427 inline void Table_Field_FieldOptions::set_update_expression(const char* value, size_t size) {
3428  set_has_update_expression();
3429  if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3430  update_expression_ = new ::std::string;
3431  }
3432  update_expression_->assign(reinterpret_cast<const char*>(value), size);
3433 }
3434 inline ::std::string* Table_Field_FieldOptions::mutable_update_expression() {
3435  set_has_update_expression();
3436  if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3437  update_expression_ = new ::std::string;
3438  }
3439  return update_expression_;
3440 }
3441 inline ::std::string* Table_Field_FieldOptions::release_update_expression() {
3442  clear_has_update_expression();
3443  if (update_expression_ == &::google::protobuf::internal::kEmptyString) {
3444  return NULL;
3445  } else {
3446  ::std::string* temp = update_expression_;
3447  update_expression_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3448  return temp;
3449  }
3450 }
3451 
3452 // -------------------------------------------------------------------
3453 
3454 // Table_Field_FieldConstraints
3455 
3456 // optional bool is_nullable = 1 [default = true];
3457 inline bool Table_Field_FieldConstraints::has_is_nullable() const {
3458  return (_has_bits_[0] & 0x00000001u) != 0;
3459 }
3460 inline void Table_Field_FieldConstraints::set_has_is_nullable() {
3461  _has_bits_[0] |= 0x00000001u;
3462 }
3463 inline void Table_Field_FieldConstraints::clear_has_is_nullable() {
3464  _has_bits_[0] &= ~0x00000001u;
3465 }
3466 inline void Table_Field_FieldConstraints::clear_is_nullable() {
3467  is_nullable_ = true;
3468  clear_has_is_nullable();
3469 }
3470 inline bool Table_Field_FieldConstraints::is_nullable() const {
3471  return is_nullable_;
3472 }
3473 inline void Table_Field_FieldConstraints::set_is_nullable(bool value) {
3474  set_has_is_nullable();
3475  is_nullable_ = value;
3476 }
3477 
3478 // optional bool is_unsigned = 2 [default = false];
3479 inline bool Table_Field_FieldConstraints::has_is_unsigned() const {
3480  return (_has_bits_[0] & 0x00000002u) != 0;
3481 }
3482 inline void Table_Field_FieldConstraints::set_has_is_unsigned() {
3483  _has_bits_[0] |= 0x00000002u;
3484 }
3485 inline void Table_Field_FieldConstraints::clear_has_is_unsigned() {
3486  _has_bits_[0] &= ~0x00000002u;
3487 }
3488 inline void Table_Field_FieldConstraints::clear_is_unsigned() {
3489  is_unsigned_ = false;
3490  clear_has_is_unsigned();
3491 }
3492 inline bool Table_Field_FieldConstraints::is_unsigned() const {
3493  return is_unsigned_;
3494 }
3495 inline void Table_Field_FieldConstraints::set_is_unsigned(bool value) {
3496  set_has_is_unsigned();
3497  is_unsigned_ = value;
3498 }
3499 
3500 // optional bool is_notnull = 3 [default = false];
3501 inline bool Table_Field_FieldConstraints::has_is_notnull() const {
3502  return (_has_bits_[0] & 0x00000004u) != 0;
3503 }
3504 inline void Table_Field_FieldConstraints::set_has_is_notnull() {
3505  _has_bits_[0] |= 0x00000004u;
3506 }
3507 inline void Table_Field_FieldConstraints::clear_has_is_notnull() {
3508  _has_bits_[0] &= ~0x00000004u;
3509 }
3510 inline void Table_Field_FieldConstraints::clear_is_notnull() {
3511  is_notnull_ = false;
3512  clear_has_is_notnull();
3513 }
3514 inline bool Table_Field_FieldConstraints::is_notnull() const {
3515  return is_notnull_;
3516 }
3517 inline void Table_Field_FieldConstraints::set_is_notnull(bool value) {
3518  set_has_is_notnull();
3519  is_notnull_ = value;
3520 }
3521 
3522 // optional bool is_unique = 4 [default = false];
3523 inline bool Table_Field_FieldConstraints::has_is_unique() const {
3524  return (_has_bits_[0] & 0x00000008u) != 0;
3525 }
3526 inline void Table_Field_FieldConstraints::set_has_is_unique() {
3527  _has_bits_[0] |= 0x00000008u;
3528 }
3529 inline void Table_Field_FieldConstraints::clear_has_is_unique() {
3530  _has_bits_[0] &= ~0x00000008u;
3531 }
3532 inline void Table_Field_FieldConstraints::clear_is_unique() {
3533  is_unique_ = false;
3534  clear_has_is_unique();
3535 }
3536 inline bool Table_Field_FieldConstraints::is_unique() const {
3537  return is_unique_;
3538 }
3539 inline void Table_Field_FieldConstraints::set_is_unique(bool value) {
3540  set_has_is_unique();
3541  is_unique_ = value;
3542 }
3543 
3544 // repeated string expression = 16;
3545 inline int Table_Field_FieldConstraints::expression_size() const {
3546  return expression_.size();
3547 }
3548 inline void Table_Field_FieldConstraints::clear_expression() {
3549  expression_.Clear();
3550 }
3551 inline const ::std::string& Table_Field_FieldConstraints::expression(int index) const {
3552  return expression_.Get(index);
3553 }
3554 inline ::std::string* Table_Field_FieldConstraints::mutable_expression(int index) {
3555  return expression_.Mutable(index);
3556 }
3557 inline void Table_Field_FieldConstraints::set_expression(int index, const ::std::string& value) {
3558  expression_.Mutable(index)->assign(value);
3559 }
3560 inline void Table_Field_FieldConstraints::set_expression(int index, const char* value) {
3561  expression_.Mutable(index)->assign(value);
3562 }
3563 inline void Table_Field_FieldConstraints::set_expression(int index, const char* value, size_t size) {
3564  expression_.Mutable(index)->assign(
3565  reinterpret_cast<const char*>(value), size);
3566 }
3567 inline ::std::string* Table_Field_FieldConstraints::add_expression() {
3568  return expression_.Add();
3569 }
3570 inline void Table_Field_FieldConstraints::add_expression(const ::std::string& value) {
3571  expression_.Add()->assign(value);
3572 }
3573 inline void Table_Field_FieldConstraints::add_expression(const char* value) {
3574  expression_.Add()->assign(value);
3575 }
3576 inline void Table_Field_FieldConstraints::add_expression(const char* value, size_t size) {
3577  expression_.Add()->assign(reinterpret_cast<const char*>(value), size);
3578 }
3579 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3580 Table_Field_FieldConstraints::expression() const {
3581  return expression_;
3582 }
3583 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3584 Table_Field_FieldConstraints::mutable_expression() {
3585  return &expression_;
3586 }
3587 
3588 // -------------------------------------------------------------------
3589 
3590 // Table_Field_NumericFieldOptions
3591 
3592 // optional bool is_autoincrement = 1 [default = false];
3593 inline bool Table_Field_NumericFieldOptions::has_is_autoincrement() const {
3594  return (_has_bits_[0] & 0x00000001u) != 0;
3595 }
3596 inline void Table_Field_NumericFieldOptions::set_has_is_autoincrement() {
3597  _has_bits_[0] |= 0x00000001u;
3598 }
3599 inline void Table_Field_NumericFieldOptions::clear_has_is_autoincrement() {
3600  _has_bits_[0] &= ~0x00000001u;
3601 }
3602 inline void Table_Field_NumericFieldOptions::clear_is_autoincrement() {
3603  is_autoincrement_ = false;
3604  clear_has_is_autoincrement();
3605 }
3606 inline bool Table_Field_NumericFieldOptions::is_autoincrement() const {
3607  return is_autoincrement_;
3608 }
3609 inline void Table_Field_NumericFieldOptions::set_is_autoincrement(bool value) {
3610  set_has_is_autoincrement();
3611  is_autoincrement_ = value;
3612 }
3613 
3614 // optional uint32 scale = 2;
3615 inline bool Table_Field_NumericFieldOptions::has_scale() const {
3616  return (_has_bits_[0] & 0x00000002u) != 0;
3617 }
3618 inline void Table_Field_NumericFieldOptions::set_has_scale() {
3619  _has_bits_[0] |= 0x00000002u;
3620 }
3621 inline void Table_Field_NumericFieldOptions::clear_has_scale() {
3622  _has_bits_[0] &= ~0x00000002u;
3623 }
3624 inline void Table_Field_NumericFieldOptions::clear_scale() {
3625  scale_ = 0u;
3626  clear_has_scale();
3627 }
3628 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::scale() const {
3629  return scale_;
3630 }
3631 inline void Table_Field_NumericFieldOptions::set_scale(::google::protobuf::uint32 value) {
3632  set_has_scale();
3633  scale_ = value;
3634 }
3635 
3636 // optional uint32 precision = 3;
3637 inline bool Table_Field_NumericFieldOptions::has_precision() const {
3638  return (_has_bits_[0] & 0x00000004u) != 0;
3639 }
3640 inline void Table_Field_NumericFieldOptions::set_has_precision() {
3641  _has_bits_[0] |= 0x00000004u;
3642 }
3643 inline void Table_Field_NumericFieldOptions::clear_has_precision() {
3644  _has_bits_[0] &= ~0x00000004u;
3645 }
3646 inline void Table_Field_NumericFieldOptions::clear_precision() {
3647  precision_ = 0u;
3648  clear_has_precision();
3649 }
3650 inline ::google::protobuf::uint32 Table_Field_NumericFieldOptions::precision() const {
3651  return precision_;
3652 }
3653 inline void Table_Field_NumericFieldOptions::set_precision(::google::protobuf::uint32 value) {
3654  set_has_precision();
3655  precision_ = value;
3656 }
3657 
3658 // -------------------------------------------------------------------
3659 
3660 // Table_Field_StringFieldOptions
3661 
3662 // optional bool is_fixed_width = 1 [default = false];
3663 inline bool Table_Field_StringFieldOptions::has_is_fixed_width() const {
3664  return (_has_bits_[0] & 0x00000001u) != 0;
3665 }
3666 inline void Table_Field_StringFieldOptions::set_has_is_fixed_width() {
3667  _has_bits_[0] |= 0x00000001u;
3668 }
3669 inline void Table_Field_StringFieldOptions::clear_has_is_fixed_width() {
3670  _has_bits_[0] &= ~0x00000001u;
3671 }
3672 inline void Table_Field_StringFieldOptions::clear_is_fixed_width() {
3673  is_fixed_width_ = false;
3674  clear_has_is_fixed_width();
3675 }
3676 inline bool Table_Field_StringFieldOptions::is_fixed_width() const {
3677  return is_fixed_width_;
3678 }
3679 inline void Table_Field_StringFieldOptions::set_is_fixed_width(bool value) {
3680  set_has_is_fixed_width();
3681  is_fixed_width_ = value;
3682 }
3683 
3684 // optional uint32 length = 2;
3685 inline bool Table_Field_StringFieldOptions::has_length() const {
3686  return (_has_bits_[0] & 0x00000002u) != 0;
3687 }
3688 inline void Table_Field_StringFieldOptions::set_has_length() {
3689  _has_bits_[0] |= 0x00000002u;
3690 }
3691 inline void Table_Field_StringFieldOptions::clear_has_length() {
3692  _has_bits_[0] &= ~0x00000002u;
3693 }
3694 inline void Table_Field_StringFieldOptions::clear_length() {
3695  length_ = 0u;
3696  clear_has_length();
3697 }
3698 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::length() const {
3699  return length_;
3700 }
3701 inline void Table_Field_StringFieldOptions::set_length(::google::protobuf::uint32 value) {
3702  set_has_length();
3703  length_ = value;
3704 }
3705 
3706 // optional uint32 collation_id = 3;
3707 inline bool Table_Field_StringFieldOptions::has_collation_id() const {
3708  return (_has_bits_[0] & 0x00000004u) != 0;
3709 }
3710 inline void Table_Field_StringFieldOptions::set_has_collation_id() {
3711  _has_bits_[0] |= 0x00000004u;
3712 }
3713 inline void Table_Field_StringFieldOptions::clear_has_collation_id() {
3714  _has_bits_[0] &= ~0x00000004u;
3715 }
3716 inline void Table_Field_StringFieldOptions::clear_collation_id() {
3717  collation_id_ = 0u;
3718  clear_has_collation_id();
3719 }
3720 inline ::google::protobuf::uint32 Table_Field_StringFieldOptions::collation_id() const {
3721  return collation_id_;
3722 }
3723 inline void Table_Field_StringFieldOptions::set_collation_id(::google::protobuf::uint32 value) {
3724  set_has_collation_id();
3725  collation_id_ = value;
3726 }
3727 
3728 // optional string collation = 4;
3729 inline bool Table_Field_StringFieldOptions::has_collation() const {
3730  return (_has_bits_[0] & 0x00000008u) != 0;
3731 }
3732 inline void Table_Field_StringFieldOptions::set_has_collation() {
3733  _has_bits_[0] |= 0x00000008u;
3734 }
3735 inline void Table_Field_StringFieldOptions::clear_has_collation() {
3736  _has_bits_[0] &= ~0x00000008u;
3737 }
3738 inline void Table_Field_StringFieldOptions::clear_collation() {
3739  if (collation_ != &::google::protobuf::internal::kEmptyString) {
3740  collation_->clear();
3741  }
3742  clear_has_collation();
3743 }
3744 inline const ::std::string& Table_Field_StringFieldOptions::collation() const {
3745  return *collation_;
3746 }
3747 inline void Table_Field_StringFieldOptions::set_collation(const ::std::string& value) {
3748  set_has_collation();
3749  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3750  collation_ = new ::std::string;
3751  }
3752  collation_->assign(value);
3753 }
3754 inline void Table_Field_StringFieldOptions::set_collation(const char* value) {
3755  set_has_collation();
3756  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3757  collation_ = new ::std::string;
3758  }
3759  collation_->assign(value);
3760 }
3761 inline void Table_Field_StringFieldOptions::set_collation(const char* value, size_t size) {
3762  set_has_collation();
3763  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3764  collation_ = new ::std::string;
3765  }
3766  collation_->assign(reinterpret_cast<const char*>(value), size);
3767 }
3768 inline ::std::string* Table_Field_StringFieldOptions::mutable_collation() {
3769  set_has_collation();
3770  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3771  collation_ = new ::std::string;
3772  }
3773  return collation_;
3774 }
3775 inline ::std::string* Table_Field_StringFieldOptions::release_collation() {
3776  clear_has_collation();
3777  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3778  return NULL;
3779  } else {
3780  ::std::string* temp = collation_;
3781  collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3782  return temp;
3783  }
3784 }
3785 
3786 // -------------------------------------------------------------------
3787 
3788 // Table_Field_EnumerationValues
3789 
3790 // optional uint32 collation_id = 2;
3791 inline bool Table_Field_EnumerationValues::has_collation_id() const {
3792  return (_has_bits_[0] & 0x00000001u) != 0;
3793 }
3794 inline void Table_Field_EnumerationValues::set_has_collation_id() {
3795  _has_bits_[0] |= 0x00000001u;
3796 }
3797 inline void Table_Field_EnumerationValues::clear_has_collation_id() {
3798  _has_bits_[0] &= ~0x00000001u;
3799 }
3800 inline void Table_Field_EnumerationValues::clear_collation_id() {
3801  collation_id_ = 0u;
3802  clear_has_collation_id();
3803 }
3804 inline ::google::protobuf::uint32 Table_Field_EnumerationValues::collation_id() const {
3805  return collation_id_;
3806 }
3807 inline void Table_Field_EnumerationValues::set_collation_id(::google::protobuf::uint32 value) {
3808  set_has_collation_id();
3809  collation_id_ = value;
3810 }
3811 
3812 // optional string collation = 3;
3813 inline bool Table_Field_EnumerationValues::has_collation() const {
3814  return (_has_bits_[0] & 0x00000002u) != 0;
3815 }
3816 inline void Table_Field_EnumerationValues::set_has_collation() {
3817  _has_bits_[0] |= 0x00000002u;
3818 }
3819 inline void Table_Field_EnumerationValues::clear_has_collation() {
3820  _has_bits_[0] &= ~0x00000002u;
3821 }
3822 inline void Table_Field_EnumerationValues::clear_collation() {
3823  if (collation_ != &::google::protobuf::internal::kEmptyString) {
3824  collation_->clear();
3825  }
3826  clear_has_collation();
3827 }
3828 inline const ::std::string& Table_Field_EnumerationValues::collation() const {
3829  return *collation_;
3830 }
3831 inline void Table_Field_EnumerationValues::set_collation(const ::std::string& value) {
3832  set_has_collation();
3833  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3834  collation_ = new ::std::string;
3835  }
3836  collation_->assign(value);
3837 }
3838 inline void Table_Field_EnumerationValues::set_collation(const char* value) {
3839  set_has_collation();
3840  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3841  collation_ = new ::std::string;
3842  }
3843  collation_->assign(value);
3844 }
3845 inline void Table_Field_EnumerationValues::set_collation(const char* value, size_t size) {
3846  set_has_collation();
3847  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3848  collation_ = new ::std::string;
3849  }
3850  collation_->assign(reinterpret_cast<const char*>(value), size);
3851 }
3852 inline ::std::string* Table_Field_EnumerationValues::mutable_collation() {
3853  set_has_collation();
3854  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3855  collation_ = new ::std::string;
3856  }
3857  return collation_;
3858 }
3859 inline ::std::string* Table_Field_EnumerationValues::release_collation() {
3860  clear_has_collation();
3861  if (collation_ == &::google::protobuf::internal::kEmptyString) {
3862  return NULL;
3863  } else {
3864  ::std::string* temp = collation_;
3865  collation_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3866  return temp;
3867  }
3868 }
3869 
3870 // repeated string field_value = 4;
3871 inline int Table_Field_EnumerationValues::field_value_size() const {
3872  return field_value_.size();
3873 }
3874 inline void Table_Field_EnumerationValues::clear_field_value() {
3875  field_value_.Clear();
3876 }
3877 inline const ::std::string& Table_Field_EnumerationValues::field_value(int index) const {
3878  return field_value_.Get(index);
3879 }
3880 inline ::std::string* Table_Field_EnumerationValues::mutable_field_value(int index) {
3881  return field_value_.Mutable(index);
3882 }
3883 inline void Table_Field_EnumerationValues::set_field_value(int index, const ::std::string& value) {
3884  field_value_.Mutable(index)->assign(value);
3885 }
3886 inline void Table_Field_EnumerationValues::set_field_value(int index, const char* value) {
3887  field_value_.Mutable(index)->assign(value);
3888 }
3889 inline void Table_Field_EnumerationValues::set_field_value(int index, const char* value, size_t size) {
3890  field_value_.Mutable(index)->assign(
3891  reinterpret_cast<const char*>(value), size);
3892 }
3893 inline ::std::string* Table_Field_EnumerationValues::add_field_value() {
3894  return field_value_.Add();
3895 }
3896 inline void Table_Field_EnumerationValues::add_field_value(const ::std::string& value) {
3897  field_value_.Add()->assign(value);
3898 }
3899 inline void Table_Field_EnumerationValues::add_field_value(const char* value) {
3900  field_value_.Add()->assign(value);
3901 }
3902 inline void Table_Field_EnumerationValues::add_field_value(const char* value, size_t size) {
3903  field_value_.Add()->assign(reinterpret_cast<const char*>(value), size);
3904 }
3905 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
3906 Table_Field_EnumerationValues::field_value() const {
3907  return field_value_;
3908 }
3909 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
3910 Table_Field_EnumerationValues::mutable_field_value() {
3911  return &field_value_;
3912 }
3913 
3914 // -------------------------------------------------------------------
3915 
3916 // Table_Field_TimeFieldOptions
3917 
3918 // optional bool microseconds = 1;
3919 inline bool Table_Field_TimeFieldOptions::has_microseconds() const {
3920  return (_has_bits_[0] & 0x00000001u) != 0;
3921 }
3922 inline void Table_Field_TimeFieldOptions::set_has_microseconds() {
3923  _has_bits_[0] |= 0x00000001u;
3924 }
3925 inline void Table_Field_TimeFieldOptions::clear_has_microseconds() {
3926  _has_bits_[0] &= ~0x00000001u;
3927 }
3928 inline void Table_Field_TimeFieldOptions::clear_microseconds() {
3929  microseconds_ = false;
3930  clear_has_microseconds();
3931 }
3932 inline bool Table_Field_TimeFieldOptions::microseconds() const {
3933  return microseconds_;
3934 }
3935 inline void Table_Field_TimeFieldOptions::set_microseconds(bool value) {
3936  set_has_microseconds();
3937  microseconds_ = value;
3938 }
3939 
3940 // -------------------------------------------------------------------
3941 
3942 // Table_Field
3943 
3944 // required string name = 1;
3945 inline bool Table_Field::has_name() const {
3946  return (_has_bits_[0] & 0x00000001u) != 0;
3947 }
3948 inline void Table_Field::set_has_name() {
3949  _has_bits_[0] |= 0x00000001u;
3950 }
3951 inline void Table_Field::clear_has_name() {
3952  _has_bits_[0] &= ~0x00000001u;
3953 }
3954 inline void Table_Field::clear_name() {
3955  if (name_ != &::google::protobuf::internal::kEmptyString) {
3956  name_->clear();
3957  }
3958  clear_has_name();
3959 }
3960 inline const ::std::string& Table_Field::name() const {
3961  return *name_;
3962 }
3963 inline void Table_Field::set_name(const ::std::string& value) {
3964  set_has_name();
3965  if (name_ == &::google::protobuf::internal::kEmptyString) {
3966  name_ = new ::std::string;
3967  }
3968  name_->assign(value);
3969 }
3970 inline void Table_Field::set_name(const char* value) {
3971  set_has_name();
3972  if (name_ == &::google::protobuf::internal::kEmptyString) {
3973  name_ = new ::std::string;
3974  }
3975  name_->assign(value);
3976 }
3977 inline void Table_Field::set_name(const char* value, size_t size) {
3978  set_has_name();
3979  if (name_ == &::google::protobuf::internal::kEmptyString) {
3980  name_ = new ::std::string;
3981  }
3982  name_->assign(reinterpret_cast<const char*>(value), size);
3983 }
3984 inline ::std::string* Table_Field::mutable_name() {
3985  set_has_name();
3986  if (name_ == &::google::protobuf::internal::kEmptyString) {
3987  name_ = new ::std::string;
3988  }
3989  return name_;
3990 }
3991 inline ::std::string* Table_Field::release_name() {
3992  clear_has_name();
3993  if (name_ == &::google::protobuf::internal::kEmptyString) {
3994  return NULL;
3995  } else {
3996  ::std::string* temp = name_;
3997  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
3998  return temp;
3999  }
4000 }
4001 
4002 // required .drizzled.message.Table.Field.FieldType type = 2;
4003 inline bool Table_Field::has_type() const {
4004  return (_has_bits_[0] & 0x00000002u) != 0;
4005 }
4006 inline void Table_Field::set_has_type() {
4007  _has_bits_[0] |= 0x00000002u;
4008 }
4009 inline void Table_Field::clear_has_type() {
4010  _has_bits_[0] &= ~0x00000002u;
4011 }
4012 inline void Table_Field::clear_type() {
4013  type_ = 0;
4014  clear_has_type();
4015 }
4016 inline ::drizzled::message::Table_Field_FieldType Table_Field::type() const {
4017  return static_cast< ::drizzled::message::Table_Field_FieldType >(type_);
4018 }
4019 inline void Table_Field::set_type(::drizzled::message::Table_Field_FieldType value) {
4020  GOOGLE_DCHECK(::drizzled::message::Table_Field_FieldType_IsValid(value));
4021  set_has_type();
4022  type_ = value;
4023 }
4024 
4025 // optional .drizzled.message.Table.Field.FieldOptions options = 4;
4026 inline bool Table_Field::has_options() const {
4027  return (_has_bits_[0] & 0x00000004u) != 0;
4028 }
4029 inline void Table_Field::set_has_options() {
4030  _has_bits_[0] |= 0x00000004u;
4031 }
4032 inline void Table_Field::clear_has_options() {
4033  _has_bits_[0] &= ~0x00000004u;
4034 }
4035 inline void Table_Field::clear_options() {
4036  if (options_ != NULL) options_->::drizzled::message::Table_Field_FieldOptions::Clear();
4037  clear_has_options();
4038 }
4039 inline const ::drizzled::message::Table_Field_FieldOptions& Table_Field::options() const {
4040  return options_ != NULL ? *options_ : *default_instance_->options_;
4041 }
4042 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::mutable_options() {
4043  set_has_options();
4044  if (options_ == NULL) options_ = new ::drizzled::message::Table_Field_FieldOptions;
4045  return options_;
4046 }
4047 inline ::drizzled::message::Table_Field_FieldOptions* Table_Field::release_options() {
4048  clear_has_options();
4050  options_ = NULL;
4051  return temp;
4052 }
4053 
4054 // optional .drizzled.message.Table.Field.FieldConstraints constraints = 5;
4055 inline bool Table_Field::has_constraints() const {
4056  return (_has_bits_[0] & 0x00000008u) != 0;
4057 }
4058 inline void Table_Field::set_has_constraints() {
4059  _has_bits_[0] |= 0x00000008u;
4060 }
4061 inline void Table_Field::clear_has_constraints() {
4062  _has_bits_[0] &= ~0x00000008u;
4063 }
4064 inline void Table_Field::clear_constraints() {
4065  if (constraints_ != NULL) constraints_->::drizzled::message::Table_Field_FieldConstraints::Clear();
4066  clear_has_constraints();
4067 }
4068 inline const ::drizzled::message::Table_Field_FieldConstraints& Table_Field::constraints() const {
4069  return constraints_ != NULL ? *constraints_ : *default_instance_->constraints_;
4070 }
4071 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::mutable_constraints() {
4072  set_has_constraints();
4073  if (constraints_ == NULL) constraints_ = new ::drizzled::message::Table_Field_FieldConstraints;
4074  return constraints_;
4075 }
4076 inline ::drizzled::message::Table_Field_FieldConstraints* Table_Field::release_constraints() {
4077  clear_has_constraints();
4079  constraints_ = NULL;
4080  return temp;
4081 }
4082 
4083 // optional .drizzled.message.Table.Field.NumericFieldOptions numeric_options = 6;
4084 inline bool Table_Field::has_numeric_options() const {
4085  return (_has_bits_[0] & 0x00000010u) != 0;
4086 }
4087 inline void Table_Field::set_has_numeric_options() {
4088  _has_bits_[0] |= 0x00000010u;
4089 }
4090 inline void Table_Field::clear_has_numeric_options() {
4091  _has_bits_[0] &= ~0x00000010u;
4092 }
4093 inline void Table_Field::clear_numeric_options() {
4094  if (numeric_options_ != NULL) numeric_options_->::drizzled::message::Table_Field_NumericFieldOptions::Clear();
4095  clear_has_numeric_options();
4096 }
4097 inline const ::drizzled::message::Table_Field_NumericFieldOptions& Table_Field::numeric_options() const {
4098  return numeric_options_ != NULL ? *numeric_options_ : *default_instance_->numeric_options_;
4099 }
4100 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::mutable_numeric_options() {
4101  set_has_numeric_options();
4102  if (numeric_options_ == NULL) numeric_options_ = new ::drizzled::message::Table_Field_NumericFieldOptions;
4103  return numeric_options_;
4104 }
4105 inline ::drizzled::message::Table_Field_NumericFieldOptions* Table_Field::release_numeric_options() {
4106  clear_has_numeric_options();
4108  numeric_options_ = NULL;
4109  return temp;
4110 }
4111 
4112 // optional .drizzled.message.Table.Field.StringFieldOptions string_options = 7;
4113 inline bool Table_Field::has_string_options() const {
4114  return (_has_bits_[0] & 0x00000020u) != 0;
4115 }
4116 inline void Table_Field::set_has_string_options() {
4117  _has_bits_[0] |= 0x00000020u;
4118 }
4119 inline void Table_Field::clear_has_string_options() {
4120  _has_bits_[0] &= ~0x00000020u;
4121 }
4122 inline void Table_Field::clear_string_options() {
4123  if (string_options_ != NULL) string_options_->::drizzled::message::Table_Field_StringFieldOptions::Clear();
4124  clear_has_string_options();
4125 }
4126 inline const ::drizzled::message::Table_Field_StringFieldOptions& Table_Field::string_options() const {
4127  return string_options_ != NULL ? *string_options_ : *default_instance_->string_options_;
4128 }
4129 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::mutable_string_options() {
4130  set_has_string_options();
4131  if (string_options_ == NULL) string_options_ = new ::drizzled::message::Table_Field_StringFieldOptions;
4132  return string_options_;
4133 }
4134 inline ::drizzled::message::Table_Field_StringFieldOptions* Table_Field::release_string_options() {
4135  clear_has_string_options();
4137  string_options_ = NULL;
4138  return temp;
4139 }
4140 
4141 // optional .drizzled.message.Table.Field.TimeFieldOptions time_options = 8;
4142 inline bool Table_Field::has_time_options() const {
4143  return (_has_bits_[0] & 0x00000040u) != 0;
4144 }
4145 inline void Table_Field::set_has_time_options() {
4146  _has_bits_[0] |= 0x00000040u;
4147 }
4148 inline void Table_Field::clear_has_time_options() {
4149  _has_bits_[0] &= ~0x00000040u;
4150 }
4151 inline void Table_Field::clear_time_options() {
4152  if (time_options_ != NULL) time_options_->::drizzled::message::Table_Field_TimeFieldOptions::Clear();
4153  clear_has_time_options();
4154 }
4155 inline const ::drizzled::message::Table_Field_TimeFieldOptions& Table_Field::time_options() const {
4156  return time_options_ != NULL ? *time_options_ : *default_instance_->time_options_;
4157 }
4158 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::mutable_time_options() {
4159  set_has_time_options();
4160  if (time_options_ == NULL) time_options_ = new ::drizzled::message::Table_Field_TimeFieldOptions;
4161  return time_options_;
4162 }
4163 inline ::drizzled::message::Table_Field_TimeFieldOptions* Table_Field::release_time_options() {
4164  clear_has_time_options();
4166  time_options_ = NULL;
4167  return temp;
4168 }
4169 
4170 // optional string comment = 16;
4171 inline bool Table_Field::has_comment() const {
4172  return (_has_bits_[0] & 0x00000080u) != 0;
4173 }
4174 inline void Table_Field::set_has_comment() {
4175  _has_bits_[0] |= 0x00000080u;
4176 }
4177 inline void Table_Field::clear_has_comment() {
4178  _has_bits_[0] &= ~0x00000080u;
4179 }
4180 inline void Table_Field::clear_comment() {
4181  if (comment_ != &::google::protobuf::internal::kEmptyString) {
4182  comment_->clear();
4183  }
4184  clear_has_comment();
4185 }
4186 inline const ::std::string& Table_Field::comment() const {
4187  return *comment_;
4188 }
4189 inline void Table_Field::set_comment(const ::std::string& value) {
4190  set_has_comment();
4191  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4192  comment_ = new ::std::string;
4193  }
4194  comment_->assign(value);
4195 }
4196 inline void Table_Field::set_comment(const char* value) {
4197  set_has_comment();
4198  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4199  comment_ = new ::std::string;
4200  }
4201  comment_->assign(value);
4202 }
4203 inline void Table_Field::set_comment(const char* value, size_t size) {
4204  set_has_comment();
4205  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4206  comment_ = new ::std::string;
4207  }
4208  comment_->assign(reinterpret_cast<const char*>(value), size);
4209 }
4210 inline ::std::string* Table_Field::mutable_comment() {
4211  set_has_comment();
4212  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4213  comment_ = new ::std::string;
4214  }
4215  return comment_;
4216 }
4217 inline ::std::string* Table_Field::release_comment() {
4218  clear_has_comment();
4219  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4220  return NULL;
4221  } else {
4222  ::std::string* temp = comment_;
4223  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4224  return temp;
4225  }
4226 }
4227 
4228 // optional .drizzled.message.Table.Field.EnumerationValues enumeration_values = 17;
4229 inline bool Table_Field::has_enumeration_values() const {
4230  return (_has_bits_[0] & 0x00000100u) != 0;
4231 }
4232 inline void Table_Field::set_has_enumeration_values() {
4233  _has_bits_[0] |= 0x00000100u;
4234 }
4235 inline void Table_Field::clear_has_enumeration_values() {
4236  _has_bits_[0] &= ~0x00000100u;
4237 }
4238 inline void Table_Field::clear_enumeration_values() {
4239  if (enumeration_values_ != NULL) enumeration_values_->::drizzled::message::Table_Field_EnumerationValues::Clear();
4240  clear_has_enumeration_values();
4241 }
4242 inline const ::drizzled::message::Table_Field_EnumerationValues& Table_Field::enumeration_values() const {
4243  return enumeration_values_ != NULL ? *enumeration_values_ : *default_instance_->enumeration_values_;
4244 }
4245 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::mutable_enumeration_values() {
4246  set_has_enumeration_values();
4247  if (enumeration_values_ == NULL) enumeration_values_ = new ::drizzled::message::Table_Field_EnumerationValues;
4248  return enumeration_values_;
4249 }
4250 inline ::drizzled::message::Table_Field_EnumerationValues* Table_Field::release_enumeration_values() {
4251  clear_has_enumeration_values();
4252  ::drizzled::message::Table_Field_EnumerationValues* temp = enumeration_values_;
4253  enumeration_values_ = NULL;
4254  return temp;
4255 }
4256 
4257 // -------------------------------------------------------------------
4258 
4259 // Table_Index_IndexPart
4260 
4261 // required uint32 fieldnr = 1;
4262 inline bool Table_Index_IndexPart::has_fieldnr() const {
4263  return (_has_bits_[0] & 0x00000001u) != 0;
4264 }
4265 inline void Table_Index_IndexPart::set_has_fieldnr() {
4266  _has_bits_[0] |= 0x00000001u;
4267 }
4268 inline void Table_Index_IndexPart::clear_has_fieldnr() {
4269  _has_bits_[0] &= ~0x00000001u;
4270 }
4271 inline void Table_Index_IndexPart::clear_fieldnr() {
4272  fieldnr_ = 0u;
4273  clear_has_fieldnr();
4274 }
4275 inline ::google::protobuf::uint32 Table_Index_IndexPart::fieldnr() const {
4276  return fieldnr_;
4277 }
4278 inline void Table_Index_IndexPart::set_fieldnr(::google::protobuf::uint32 value) {
4279  set_has_fieldnr();
4280  fieldnr_ = value;
4281 }
4282 
4283 // optional uint32 compare_length = 2;
4284 inline bool Table_Index_IndexPart::has_compare_length() const {
4285  return (_has_bits_[0] & 0x00000002u) != 0;
4286 }
4287 inline void Table_Index_IndexPart::set_has_compare_length() {
4288  _has_bits_[0] |= 0x00000002u;
4289 }
4290 inline void Table_Index_IndexPart::clear_has_compare_length() {
4291  _has_bits_[0] &= ~0x00000002u;
4292 }
4293 inline void Table_Index_IndexPart::clear_compare_length() {
4294  compare_length_ = 0u;
4295  clear_has_compare_length();
4296 }
4297 inline ::google::protobuf::uint32 Table_Index_IndexPart::compare_length() const {
4298  return compare_length_;
4299 }
4300 inline void Table_Index_IndexPart::set_compare_length(::google::protobuf::uint32 value) {
4301  set_has_compare_length();
4302  compare_length_ = value;
4303 }
4304 
4305 // optional bool in_reverse_order = 3 [default = false];
4306 inline bool Table_Index_IndexPart::has_in_reverse_order() const {
4307  return (_has_bits_[0] & 0x00000004u) != 0;
4308 }
4309 inline void Table_Index_IndexPart::set_has_in_reverse_order() {
4310  _has_bits_[0] |= 0x00000004u;
4311 }
4312 inline void Table_Index_IndexPart::clear_has_in_reverse_order() {
4313  _has_bits_[0] &= ~0x00000004u;
4314 }
4315 inline void Table_Index_IndexPart::clear_in_reverse_order() {
4316  in_reverse_order_ = false;
4317  clear_has_in_reverse_order();
4318 }
4319 inline bool Table_Index_IndexPart::in_reverse_order() const {
4320  return in_reverse_order_;
4321 }
4322 inline void Table_Index_IndexPart::set_in_reverse_order(bool value) {
4323  set_has_in_reverse_order();
4324  in_reverse_order_ = value;
4325 }
4326 
4327 // -------------------------------------------------------------------
4328 
4329 // Table_Index_Options
4330 
4331 // optional bool pack_key = 1;
4332 inline bool Table_Index_Options::has_pack_key() const {
4333  return (_has_bits_[0] & 0x00000001u) != 0;
4334 }
4335 inline void Table_Index_Options::set_has_pack_key() {
4336  _has_bits_[0] |= 0x00000001u;
4337 }
4338 inline void Table_Index_Options::clear_has_pack_key() {
4339  _has_bits_[0] &= ~0x00000001u;
4340 }
4341 inline void Table_Index_Options::clear_pack_key() {
4342  pack_key_ = false;
4343  clear_has_pack_key();
4344 }
4345 inline bool Table_Index_Options::pack_key() const {
4346  return pack_key_;
4347 }
4348 inline void Table_Index_Options::set_pack_key(bool value) {
4349  set_has_pack_key();
4350  pack_key_ = value;
4351 }
4352 
4353 // optional bool binary_pack_key = 2;
4354 inline bool Table_Index_Options::has_binary_pack_key() const {
4355  return (_has_bits_[0] & 0x00000002u) != 0;
4356 }
4357 inline void Table_Index_Options::set_has_binary_pack_key() {
4358  _has_bits_[0] |= 0x00000002u;
4359 }
4360 inline void Table_Index_Options::clear_has_binary_pack_key() {
4361  _has_bits_[0] &= ~0x00000002u;
4362 }
4363 inline void Table_Index_Options::clear_binary_pack_key() {
4364  binary_pack_key_ = false;
4365  clear_has_binary_pack_key();
4366 }
4367 inline bool Table_Index_Options::binary_pack_key() const {
4368  return binary_pack_key_;
4369 }
4370 inline void Table_Index_Options::set_binary_pack_key(bool value) {
4371  set_has_binary_pack_key();
4372  binary_pack_key_ = value;
4373 }
4374 
4375 // optional bool var_length_key = 3;
4376 inline bool Table_Index_Options::has_var_length_key() const {
4377  return (_has_bits_[0] & 0x00000004u) != 0;
4378 }
4379 inline void Table_Index_Options::set_has_var_length_key() {
4380  _has_bits_[0] |= 0x00000004u;
4381 }
4382 inline void Table_Index_Options::clear_has_var_length_key() {
4383  _has_bits_[0] &= ~0x00000004u;
4384 }
4385 inline void Table_Index_Options::clear_var_length_key() {
4386  var_length_key_ = false;
4387  clear_has_var_length_key();
4388 }
4389 inline bool Table_Index_Options::var_length_key() const {
4390  return var_length_key_;
4391 }
4392 inline void Table_Index_Options::set_var_length_key(bool value) {
4393  set_has_var_length_key();
4394  var_length_key_ = value;
4395 }
4396 
4397 // optional bool null_part_key = 4;
4398 inline bool Table_Index_Options::has_null_part_key() const {
4399  return (_has_bits_[0] & 0x00000008u) != 0;
4400 }
4401 inline void Table_Index_Options::set_has_null_part_key() {
4402  _has_bits_[0] |= 0x00000008u;
4403 }
4404 inline void Table_Index_Options::clear_has_null_part_key() {
4405  _has_bits_[0] &= ~0x00000008u;
4406 }
4407 inline void Table_Index_Options::clear_null_part_key() {
4408  null_part_key_ = false;
4409  clear_has_null_part_key();
4410 }
4411 inline bool Table_Index_Options::null_part_key() const {
4412  return null_part_key_;
4413 }
4414 inline void Table_Index_Options::set_null_part_key(bool value) {
4415  set_has_null_part_key();
4416  null_part_key_ = value;
4417 }
4418 
4419 // optional uint32 key_block_size = 5;
4420 inline bool Table_Index_Options::has_key_block_size() const {
4421  return (_has_bits_[0] & 0x00000010u) != 0;
4422 }
4423 inline void Table_Index_Options::set_has_key_block_size() {
4424  _has_bits_[0] |= 0x00000010u;
4425 }
4426 inline void Table_Index_Options::clear_has_key_block_size() {
4427  _has_bits_[0] &= ~0x00000010u;
4428 }
4429 inline void Table_Index_Options::clear_key_block_size() {
4430  key_block_size_ = 0u;
4431  clear_has_key_block_size();
4432 }
4433 inline ::google::protobuf::uint32 Table_Index_Options::key_block_size() const {
4434  return key_block_size_;
4435 }
4436 inline void Table_Index_Options::set_key_block_size(::google::protobuf::uint32 value) {
4437  set_has_key_block_size();
4438  key_block_size_ = value;
4439 }
4440 
4441 // optional bool has_partial_segments = 6;
4442 inline bool Table_Index_Options::has_has_partial_segments() const {
4443  return (_has_bits_[0] & 0x00000020u) != 0;
4444 }
4445 inline void Table_Index_Options::set_has_has_partial_segments() {
4446  _has_bits_[0] |= 0x00000020u;
4447 }
4448 inline void Table_Index_Options::clear_has_has_partial_segments() {
4449  _has_bits_[0] &= ~0x00000020u;
4450 }
4451 inline void Table_Index_Options::clear_has_partial_segments() {
4452  has_partial_segments_ = false;
4453  clear_has_has_partial_segments();
4454 }
4455 inline bool Table_Index_Options::has_partial_segments() const {
4456  return has_partial_segments_;
4457 }
4458 inline void Table_Index_Options::set_has_partial_segments(bool value) {
4459  set_has_has_partial_segments();
4460  has_partial_segments_ = value;
4461 }
4462 
4463 // optional bool auto_generated_key = 7;
4464 inline bool Table_Index_Options::has_auto_generated_key() const {
4465  return (_has_bits_[0] & 0x00000040u) != 0;
4466 }
4467 inline void Table_Index_Options::set_has_auto_generated_key() {
4468  _has_bits_[0] |= 0x00000040u;
4469 }
4470 inline void Table_Index_Options::clear_has_auto_generated_key() {
4471  _has_bits_[0] &= ~0x00000040u;
4472 }
4473 inline void Table_Index_Options::clear_auto_generated_key() {
4474  auto_generated_key_ = false;
4475  clear_has_auto_generated_key();
4476 }
4477 inline bool Table_Index_Options::auto_generated_key() const {
4478  return auto_generated_key_;
4479 }
4480 inline void Table_Index_Options::set_auto_generated_key(bool value) {
4481  set_has_auto_generated_key();
4482  auto_generated_key_ = value;
4483 }
4484 
4485 // -------------------------------------------------------------------
4486 
4487 // Table_Index
4488 
4489 // required string name = 1;
4490 inline bool Table_Index::has_name() const {
4491  return (_has_bits_[0] & 0x00000001u) != 0;
4492 }
4493 inline void Table_Index::set_has_name() {
4494  _has_bits_[0] |= 0x00000001u;
4495 }
4496 inline void Table_Index::clear_has_name() {
4497  _has_bits_[0] &= ~0x00000001u;
4498 }
4499 inline void Table_Index::clear_name() {
4500  if (name_ != &::google::protobuf::internal::kEmptyString) {
4501  name_->clear();
4502  }
4503  clear_has_name();
4504 }
4505 inline const ::std::string& Table_Index::name() const {
4506  return *name_;
4507 }
4508 inline void Table_Index::set_name(const ::std::string& value) {
4509  set_has_name();
4510  if (name_ == &::google::protobuf::internal::kEmptyString) {
4511  name_ = new ::std::string;
4512  }
4513  name_->assign(value);
4514 }
4515 inline void Table_Index::set_name(const char* value) {
4516  set_has_name();
4517  if (name_ == &::google::protobuf::internal::kEmptyString) {
4518  name_ = new ::std::string;
4519  }
4520  name_->assign(value);
4521 }
4522 inline void Table_Index::set_name(const char* value, size_t size) {
4523  set_has_name();
4524  if (name_ == &::google::protobuf::internal::kEmptyString) {
4525  name_ = new ::std::string;
4526  }
4527  name_->assign(reinterpret_cast<const char*>(value), size);
4528 }
4529 inline ::std::string* Table_Index::mutable_name() {
4530  set_has_name();
4531  if (name_ == &::google::protobuf::internal::kEmptyString) {
4532  name_ = new ::std::string;
4533  }
4534  return name_;
4535 }
4536 inline ::std::string* Table_Index::release_name() {
4537  clear_has_name();
4538  if (name_ == &::google::protobuf::internal::kEmptyString) {
4539  return NULL;
4540  } else {
4541  ::std::string* temp = name_;
4542  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4543  return temp;
4544  }
4545 }
4546 
4547 // required bool is_primary = 2;
4548 inline bool Table_Index::has_is_primary() const {
4549  return (_has_bits_[0] & 0x00000002u) != 0;
4550 }
4551 inline void Table_Index::set_has_is_primary() {
4552  _has_bits_[0] |= 0x00000002u;
4553 }
4554 inline void Table_Index::clear_has_is_primary() {
4555  _has_bits_[0] &= ~0x00000002u;
4556 }
4557 inline void Table_Index::clear_is_primary() {
4558  is_primary_ = false;
4559  clear_has_is_primary();
4560 }
4561 inline bool Table_Index::is_primary() const {
4562  return is_primary_;
4563 }
4564 inline void Table_Index::set_is_primary(bool value) {
4565  set_has_is_primary();
4566  is_primary_ = value;
4567 }
4568 
4569 // required bool is_unique = 3;
4570 inline bool Table_Index::has_is_unique() const {
4571  return (_has_bits_[0] & 0x00000004u) != 0;
4572 }
4573 inline void Table_Index::set_has_is_unique() {
4574  _has_bits_[0] |= 0x00000004u;
4575 }
4576 inline void Table_Index::clear_has_is_unique() {
4577  _has_bits_[0] &= ~0x00000004u;
4578 }
4579 inline void Table_Index::clear_is_unique() {
4580  is_unique_ = false;
4581  clear_has_is_unique();
4582 }
4583 inline bool Table_Index::is_unique() const {
4584  return is_unique_;
4585 }
4586 inline void Table_Index::set_is_unique(bool value) {
4587  set_has_is_unique();
4588  is_unique_ = value;
4589 }
4590 
4591 // required .drizzled.message.Table.Index.IndexType type = 4 [default = UNKNOWN_INDEX];
4592 inline bool Table_Index::has_type() const {
4593  return (_has_bits_[0] & 0x00000008u) != 0;
4594 }
4595 inline void Table_Index::set_has_type() {
4596  _has_bits_[0] |= 0x00000008u;
4597 }
4598 inline void Table_Index::clear_has_type() {
4599  _has_bits_[0] &= ~0x00000008u;
4600 }
4601 inline void Table_Index::clear_type() {
4602  type_ = 0;
4603  clear_has_type();
4604 }
4605 inline ::drizzled::message::Table_Index_IndexType Table_Index::type() const {
4606  return static_cast< ::drizzled::message::Table_Index_IndexType >(type_);
4607 }
4608 inline void Table_Index::set_type(::drizzled::message::Table_Index_IndexType value) {
4609  GOOGLE_DCHECK(::drizzled::message::Table_Index_IndexType_IsValid(value));
4610  set_has_type();
4611  type_ = value;
4612 }
4613 
4614 // required uint32 key_length = 5;
4615 inline bool Table_Index::has_key_length() const {
4616  return (_has_bits_[0] & 0x00000010u) != 0;
4617 }
4618 inline void Table_Index::set_has_key_length() {
4619  _has_bits_[0] |= 0x00000010u;
4620 }
4621 inline void Table_Index::clear_has_key_length() {
4622  _has_bits_[0] &= ~0x00000010u;
4623 }
4624 inline void Table_Index::clear_key_length() {
4625  key_length_ = 0u;
4626  clear_has_key_length();
4627 }
4628 inline ::google::protobuf::uint32 Table_Index::key_length() const {
4629  return key_length_;
4630 }
4631 inline void Table_Index::set_key_length(::google::protobuf::uint32 value) {
4632  set_has_key_length();
4633  key_length_ = value;
4634 }
4635 
4636 // repeated .drizzled.message.Table.Index.IndexPart index_part = 6;
4637 inline int Table_Index::index_part_size() const {
4638  return index_part_.size();
4639 }
4640 inline void Table_Index::clear_index_part() {
4641  index_part_.Clear();
4642 }
4643 inline const ::drizzled::message::Table_Index_IndexPart& Table_Index::index_part(int index) const {
4644  return index_part_.Get(index);
4645 }
4646 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::mutable_index_part(int index) {
4647  return index_part_.Mutable(index);
4648 }
4649 inline ::drizzled::message::Table_Index_IndexPart* Table_Index::add_index_part() {
4650  return index_part_.Add();
4651 }
4652 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >&
4653 Table_Index::index_part() const {
4654  return index_part_;
4655 }
4656 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index_IndexPart >*
4657 Table_Index::mutable_index_part() {
4658  return &index_part_;
4659 }
4660 
4661 // optional .drizzled.message.Table.Index.Options options = 7;
4662 inline bool Table_Index::has_options() const {
4663  return (_has_bits_[0] & 0x00000040u) != 0;
4664 }
4665 inline void Table_Index::set_has_options() {
4666  _has_bits_[0] |= 0x00000040u;
4667 }
4668 inline void Table_Index::clear_has_options() {
4669  _has_bits_[0] &= ~0x00000040u;
4670 }
4671 inline void Table_Index::clear_options() {
4672  if (options_ != NULL) options_->::drizzled::message::Table_Index_Options::Clear();
4673  clear_has_options();
4674 }
4675 inline const ::drizzled::message::Table_Index_Options& Table_Index::options() const {
4676  return options_ != NULL ? *options_ : *default_instance_->options_;
4677 }
4678 inline ::drizzled::message::Table_Index_Options* Table_Index::mutable_options() {
4679  set_has_options();
4680  if (options_ == NULL) options_ = new ::drizzled::message::Table_Index_Options;
4681  return options_;
4682 }
4683 inline ::drizzled::message::Table_Index_Options* Table_Index::release_options() {
4684  clear_has_options();
4686  options_ = NULL;
4687  return temp;
4688 }
4689 
4690 // optional string comment = 8;
4691 inline bool Table_Index::has_comment() const {
4692  return (_has_bits_[0] & 0x00000080u) != 0;
4693 }
4694 inline void Table_Index::set_has_comment() {
4695  _has_bits_[0] |= 0x00000080u;
4696 }
4697 inline void Table_Index::clear_has_comment() {
4698  _has_bits_[0] &= ~0x00000080u;
4699 }
4700 inline void Table_Index::clear_comment() {
4701  if (comment_ != &::google::protobuf::internal::kEmptyString) {
4702  comment_->clear();
4703  }
4704  clear_has_comment();
4705 }
4706 inline const ::std::string& Table_Index::comment() const {
4707  return *comment_;
4708 }
4709 inline void Table_Index::set_comment(const ::std::string& value) {
4710  set_has_comment();
4711  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4712  comment_ = new ::std::string;
4713  }
4714  comment_->assign(value);
4715 }
4716 inline void Table_Index::set_comment(const char* value) {
4717  set_has_comment();
4718  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4719  comment_ = new ::std::string;
4720  }
4721  comment_->assign(value);
4722 }
4723 inline void Table_Index::set_comment(const char* value, size_t size) {
4724  set_has_comment();
4725  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4726  comment_ = new ::std::string;
4727  }
4728  comment_->assign(reinterpret_cast<const char*>(value), size);
4729 }
4730 inline ::std::string* Table_Index::mutable_comment() {
4731  set_has_comment();
4732  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4733  comment_ = new ::std::string;
4734  }
4735  return comment_;
4736 }
4737 inline ::std::string* Table_Index::release_comment() {
4738  clear_has_comment();
4739  if (comment_ == &::google::protobuf::internal::kEmptyString) {
4740  return NULL;
4741  } else {
4742  ::std::string* temp = comment_;
4743  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4744  return temp;
4745  }
4746 }
4747 
4748 // -------------------------------------------------------------------
4749 
4750 // Table
4751 
4752 // required string name = 1;
4753 inline bool Table::has_name() const {
4754  return (_has_bits_[0] & 0x00000001u) != 0;
4755 }
4756 inline void Table::set_has_name() {
4757  _has_bits_[0] |= 0x00000001u;
4758 }
4759 inline void Table::clear_has_name() {
4760  _has_bits_[0] &= ~0x00000001u;
4761 }
4762 inline void Table::clear_name() {
4763  if (name_ != &::google::protobuf::internal::kEmptyString) {
4764  name_->clear();
4765  }
4766  clear_has_name();
4767 }
4768 inline const ::std::string& Table::name() const {
4769  return *name_;
4770 }
4771 inline void Table::set_name(const ::std::string& value) {
4772  set_has_name();
4773  if (name_ == &::google::protobuf::internal::kEmptyString) {
4774  name_ = new ::std::string;
4775  }
4776  name_->assign(value);
4777 }
4778 inline void Table::set_name(const char* value) {
4779  set_has_name();
4780  if (name_ == &::google::protobuf::internal::kEmptyString) {
4781  name_ = new ::std::string;
4782  }
4783  name_->assign(value);
4784 }
4785 inline void Table::set_name(const char* value, size_t size) {
4786  set_has_name();
4787  if (name_ == &::google::protobuf::internal::kEmptyString) {
4788  name_ = new ::std::string;
4789  }
4790  name_->assign(reinterpret_cast<const char*>(value), size);
4791 }
4792 inline ::std::string* Table::mutable_name() {
4793  set_has_name();
4794  if (name_ == &::google::protobuf::internal::kEmptyString) {
4795  name_ = new ::std::string;
4796  }
4797  return name_;
4798 }
4799 inline ::std::string* Table::release_name() {
4800  clear_has_name();
4801  if (name_ == &::google::protobuf::internal::kEmptyString) {
4802  return NULL;
4803  } else {
4804  ::std::string* temp = name_;
4805  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4806  return temp;
4807  }
4808 }
4809 
4810 // required string schema = 6;
4811 inline bool Table::has_schema() const {
4812  return (_has_bits_[0] & 0x00000002u) != 0;
4813 }
4814 inline void Table::set_has_schema() {
4815  _has_bits_[0] |= 0x00000002u;
4816 }
4817 inline void Table::clear_has_schema() {
4818  _has_bits_[0] &= ~0x00000002u;
4819 }
4820 inline void Table::clear_schema() {
4821  if (schema_ != &::google::protobuf::internal::kEmptyString) {
4822  schema_->clear();
4823  }
4824  clear_has_schema();
4825 }
4826 inline const ::std::string& Table::schema() const {
4827  return *schema_;
4828 }
4829 inline void Table::set_schema(const ::std::string& value) {
4830  set_has_schema();
4831  if (schema_ == &::google::protobuf::internal::kEmptyString) {
4832  schema_ = new ::std::string;
4833  }
4834  schema_->assign(value);
4835 }
4836 inline void Table::set_schema(const char* value) {
4837  set_has_schema();
4838  if (schema_ == &::google::protobuf::internal::kEmptyString) {
4839  schema_ = new ::std::string;
4840  }
4841  schema_->assign(value);
4842 }
4843 inline void Table::set_schema(const char* value, size_t size) {
4844  set_has_schema();
4845  if (schema_ == &::google::protobuf::internal::kEmptyString) {
4846  schema_ = new ::std::string;
4847  }
4848  schema_->assign(reinterpret_cast<const char*>(value), size);
4849 }
4850 inline ::std::string* Table::mutable_schema() {
4851  set_has_schema();
4852  if (schema_ == &::google::protobuf::internal::kEmptyString) {
4853  schema_ = new ::std::string;
4854  }
4855  return schema_;
4856 }
4857 inline ::std::string* Table::release_schema() {
4858  clear_has_schema();
4859  if (schema_ == &::google::protobuf::internal::kEmptyString) {
4860  return NULL;
4861  } else {
4862  ::std::string* temp = schema_;
4863  schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
4864  return temp;
4865  }
4866 }
4867 
4868 // required .drizzled.message.Table.TableType type = 5;
4869 inline bool Table::has_type() const {
4870  return (_has_bits_[0] & 0x00000004u) != 0;
4871 }
4872 inline void Table::set_has_type() {
4873  _has_bits_[0] |= 0x00000004u;
4874 }
4875 inline void Table::clear_has_type() {
4876  _has_bits_[0] &= ~0x00000004u;
4877 }
4878 inline void Table::clear_type() {
4879  type_ = 0;
4880  clear_has_type();
4881 }
4882 inline ::drizzled::message::Table_TableType Table::type() const {
4883  return static_cast< ::drizzled::message::Table_TableType >(type_);
4884 }
4885 inline void Table::set_type(::drizzled::message::Table_TableType value) {
4886  GOOGLE_DCHECK(::drizzled::message::Table_TableType_IsValid(value));
4887  set_has_type();
4888  type_ = value;
4889 }
4890 
4891 // required .drizzled.message.Engine engine = 2;
4892 inline bool Table::has_engine() const {
4893  return (_has_bits_[0] & 0x00000008u) != 0;
4894 }
4895 inline void Table::set_has_engine() {
4896  _has_bits_[0] |= 0x00000008u;
4897 }
4898 inline void Table::clear_has_engine() {
4899  _has_bits_[0] &= ~0x00000008u;
4900 }
4901 inline void Table::clear_engine() {
4902  if (engine_ != NULL) engine_->::drizzled::message::Engine::Clear();
4903  clear_has_engine();
4904 }
4905 inline const ::drizzled::message::Engine& Table::engine() const {
4906  return engine_ != NULL ? *engine_ : *default_instance_->engine_;
4907 }
4908 inline ::drizzled::message::Engine* Table::mutable_engine() {
4909  set_has_engine();
4910  if (engine_ == NULL) engine_ = new ::drizzled::message::Engine;
4911  return engine_;
4912 }
4913 inline ::drizzled::message::Engine* Table::release_engine() {
4914  clear_has_engine();
4915  ::drizzled::message::Engine* temp = engine_;
4916  engine_ = NULL;
4917  return temp;
4918 }
4919 
4920 // repeated .drizzled.message.Table.Field field = 3;
4921 inline int Table::field_size() const {
4922  return field_.size();
4923 }
4924 inline void Table::clear_field() {
4925  field_.Clear();
4926 }
4927 inline const ::drizzled::message::Table_Field& Table::field(int index) const {
4928  return field_.Get(index);
4929 }
4930 inline ::drizzled::message::Table_Field* Table::mutable_field(int index) {
4931  return field_.Mutable(index);
4932 }
4933 inline ::drizzled::message::Table_Field* Table::add_field() {
4934  return field_.Add();
4935 }
4936 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
4937 Table::field() const {
4938  return field_;
4939 }
4940 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
4941 Table::mutable_field() {
4942  return &field_;
4943 }
4944 
4945 // repeated .drizzled.message.Table.Index indexes = 4;
4946 inline int Table::indexes_size() const {
4947  return indexes_.size();
4948 }
4949 inline void Table::clear_indexes() {
4950  indexes_.Clear();
4951 }
4952 inline const ::drizzled::message::Table_Index& Table::indexes(int index) const {
4953  return indexes_.Get(index);
4954 }
4955 inline ::drizzled::message::Table_Index* Table::mutable_indexes(int index) {
4956  return indexes_.Mutable(index);
4957 }
4958 inline ::drizzled::message::Table_Index* Table::add_indexes() {
4959  return indexes_.Add();
4960 }
4961 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >&
4962 Table::indexes() const {
4963  return indexes_;
4964 }
4965 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Index >*
4966 Table::mutable_indexes() {
4967  return &indexes_;
4968 }
4969 
4970 // repeated .drizzled.message.Table.ForeignKeyConstraint fk_constraint = 8;
4971 inline int Table::fk_constraint_size() const {
4972  return fk_constraint_.size();
4973 }
4974 inline void Table::clear_fk_constraint() {
4975  fk_constraint_.Clear();
4976 }
4977 inline const ::drizzled::message::Table_ForeignKeyConstraint& Table::fk_constraint(int index) const {
4978  return fk_constraint_.Get(index);
4979 }
4980 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::mutable_fk_constraint(int index) {
4981  return fk_constraint_.Mutable(index);
4982 }
4983 inline ::drizzled::message::Table_ForeignKeyConstraint* Table::add_fk_constraint() {
4984  return fk_constraint_.Add();
4985 }
4986 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >&
4987 Table::fk_constraint() const {
4988  return fk_constraint_;
4989 }
4990 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_ForeignKeyConstraint >*
4991 Table::mutable_fk_constraint() {
4992  return &fk_constraint_;
4993 }
4994 
4995 // optional .drizzled.message.Table.TableOptions options = 9;
4996 inline bool Table::has_options() const {
4997  return (_has_bits_[0] & 0x00000080u) != 0;
4998 }
4999 inline void Table::set_has_options() {
5000  _has_bits_[0] |= 0x00000080u;
5001 }
5002 inline void Table::clear_has_options() {
5003  _has_bits_[0] &= ~0x00000080u;
5004 }
5005 inline void Table::clear_options() {
5006  if (options_ != NULL) options_->::drizzled::message::Table_TableOptions::Clear();
5007  clear_has_options();
5008 }
5009 inline const ::drizzled::message::Table_TableOptions& Table::options() const {
5010  return options_ != NULL ? *options_ : *default_instance_->options_;
5011 }
5012 inline ::drizzled::message::Table_TableOptions* Table::mutable_options() {
5013  set_has_options();
5014  if (options_ == NULL) options_ = new ::drizzled::message::Table_TableOptions;
5015  return options_;
5016 }
5017 inline ::drizzled::message::Table_TableOptions* Table::release_options() {
5018  clear_has_options();
5019  ::drizzled::message::Table_TableOptions* temp = options_;
5020  options_ = NULL;
5021  return temp;
5022 }
5023 
5024 // required uint64 creation_timestamp = 11 [default = 0];
5025 inline bool Table::has_creation_timestamp() const {
5026  return (_has_bits_[0] & 0x00000100u) != 0;
5027 }
5028 inline void Table::set_has_creation_timestamp() {
5029  _has_bits_[0] |= 0x00000100u;
5030 }
5031 inline void Table::clear_has_creation_timestamp() {
5032  _has_bits_[0] &= ~0x00000100u;
5033 }
5034 inline void Table::clear_creation_timestamp() {
5035  creation_timestamp_ = GOOGLE_ULONGLONG(0);
5036  clear_has_creation_timestamp();
5037 }
5038 inline ::google::protobuf::uint64 Table::creation_timestamp() const {
5039  return creation_timestamp_;
5040 }
5041 inline void Table::set_creation_timestamp(::google::protobuf::uint64 value) {
5042  set_has_creation_timestamp();
5043  creation_timestamp_ = value;
5044 }
5045 
5046 // required uint64 update_timestamp = 12 [default = 0];
5047 inline bool Table::has_update_timestamp() const {
5048  return (_has_bits_[0] & 0x00000200u) != 0;
5049 }
5050 inline void Table::set_has_update_timestamp() {
5051  _has_bits_[0] |= 0x00000200u;
5052 }
5053 inline void Table::clear_has_update_timestamp() {
5054  _has_bits_[0] &= ~0x00000200u;
5055 }
5056 inline void Table::clear_update_timestamp() {
5057  update_timestamp_ = GOOGLE_ULONGLONG(0);
5058  clear_has_update_timestamp();
5059 }
5060 inline ::google::protobuf::uint64 Table::update_timestamp() const {
5061  return update_timestamp_;
5062 }
5063 inline void Table::set_update_timestamp(::google::protobuf::uint64 value) {
5064  set_has_update_timestamp();
5065  update_timestamp_ = value;
5066 }
5067 
5068 // optional string catalog = 13;
5069 inline bool Table::has_catalog() const {
5070  return (_has_bits_[0] & 0x00000400u) != 0;
5071 }
5072 inline void Table::set_has_catalog() {
5073  _has_bits_[0] |= 0x00000400u;
5074 }
5075 inline void Table::clear_has_catalog() {
5076  _has_bits_[0] &= ~0x00000400u;
5077 }
5078 inline void Table::clear_catalog() {
5079  if (catalog_ != &::google::protobuf::internal::kEmptyString) {
5080  catalog_->clear();
5081  }
5082  clear_has_catalog();
5083 }
5084 inline const ::std::string& Table::catalog() const {
5085  return *catalog_;
5086 }
5087 inline void Table::set_catalog(const ::std::string& value) {
5088  set_has_catalog();
5089  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5090  catalog_ = new ::std::string;
5091  }
5092  catalog_->assign(value);
5093 }
5094 inline void Table::set_catalog(const char* value) {
5095  set_has_catalog();
5096  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5097  catalog_ = new ::std::string;
5098  }
5099  catalog_->assign(value);
5100 }
5101 inline void Table::set_catalog(const char* value, size_t size) {
5102  set_has_catalog();
5103  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5104  catalog_ = new ::std::string;
5105  }
5106  catalog_->assign(reinterpret_cast<const char*>(value), size);
5107 }
5108 inline ::std::string* Table::mutable_catalog() {
5109  set_has_catalog();
5110  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5111  catalog_ = new ::std::string;
5112  }
5113  return catalog_;
5114 }
5115 inline ::std::string* Table::release_catalog() {
5116  clear_has_catalog();
5117  if (catalog_ == &::google::protobuf::internal::kEmptyString) {
5118  return NULL;
5119  } else {
5120  ::std::string* temp = catalog_;
5121  catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5122  return temp;
5123  }
5124 }
5125 
5126 // optional string uuid = 14;
5127 inline bool Table::has_uuid() const {
5128  return (_has_bits_[0] & 0x00000800u) != 0;
5129 }
5130 inline void Table::set_has_uuid() {
5131  _has_bits_[0] |= 0x00000800u;
5132 }
5133 inline void Table::clear_has_uuid() {
5134  _has_bits_[0] &= ~0x00000800u;
5135 }
5136 inline void Table::clear_uuid() {
5137  if (uuid_ != &::google::protobuf::internal::kEmptyString) {
5138  uuid_->clear();
5139  }
5140  clear_has_uuid();
5141 }
5142 inline const ::std::string& Table::uuid() const {
5143  return *uuid_;
5144 }
5145 inline void Table::set_uuid(const ::std::string& value) {
5146  set_has_uuid();
5147  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5148  uuid_ = new ::std::string;
5149  }
5150  uuid_->assign(value);
5151 }
5152 inline void Table::set_uuid(const char* value) {
5153  set_has_uuid();
5154  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5155  uuid_ = new ::std::string;
5156  }
5157  uuid_->assign(value);
5158 }
5159 inline void Table::set_uuid(const char* value, size_t size) {
5160  set_has_uuid();
5161  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5162  uuid_ = new ::std::string;
5163  }
5164  uuid_->assign(reinterpret_cast<const char*>(value), size);
5165 }
5166 inline ::std::string* Table::mutable_uuid() {
5167  set_has_uuid();
5168  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5169  uuid_ = new ::std::string;
5170  }
5171  return uuid_;
5172 }
5173 inline ::std::string* Table::release_uuid() {
5174  clear_has_uuid();
5175  if (uuid_ == &::google::protobuf::internal::kEmptyString) {
5176  return NULL;
5177  } else {
5178  ::std::string* temp = uuid_;
5179  uuid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
5180  return temp;
5181  }
5182 }
5183 
5184 // optional uint64 version = 15;
5185 inline bool Table::has_version() const {
5186  return (_has_bits_[0] & 0x00001000u) != 0;
5187 }
5188 inline void Table::set_has_version() {
5189  _has_bits_[0] |= 0x00001000u;
5190 }
5191 inline void Table::clear_has_version() {
5192  _has_bits_[0] &= ~0x00001000u;
5193 }
5194 inline void Table::clear_version() {
5195  version_ = GOOGLE_ULONGLONG(0);
5196  clear_has_version();
5197 }
5198 inline ::google::protobuf::uint64 Table::version() const {
5199  return version_;
5200 }
5201 inline void Table::set_version(::google::protobuf::uint64 value) {
5202  set_has_version();
5203  version_ = value;
5204 }
5205 
5206 // optional .drizzled.message.ReplicationOptions replication_options = 16;
5207 inline bool Table::has_replication_options() const {
5208  return (_has_bits_[0] & 0x00002000u) != 0;
5209 }
5210 inline void Table::set_has_replication_options() {
5211  _has_bits_[0] |= 0x00002000u;
5212 }
5213 inline void Table::clear_has_replication_options() {
5214  _has_bits_[0] &= ~0x00002000u;
5215 }
5216 inline void Table::clear_replication_options() {
5217  if (replication_options_ != NULL) replication_options_->::drizzled::message::ReplicationOptions::Clear();
5218  clear_has_replication_options();
5219 }
5220 inline const ::drizzled::message::ReplicationOptions& Table::replication_options() const {
5221  return replication_options_ != NULL ? *replication_options_ : *default_instance_->replication_options_;
5222 }
5223 inline ::drizzled::message::ReplicationOptions* Table::mutable_replication_options() {
5224  set_has_replication_options();
5225  if (replication_options_ == NULL) replication_options_ = new ::drizzled::message::ReplicationOptions;
5226  return replication_options_;
5227 }
5228 inline ::drizzled::message::ReplicationOptions* Table::release_replication_options() {
5229  clear_has_replication_options();
5230  ::drizzled::message::ReplicationOptions* temp = replication_options_;
5231  replication_options_ = NULL;
5232  return temp;
5233 }
5234 
5235 // optional .drizzled.message.Access access = 17;
5236 inline bool Table::has_access() const {
5237  return (_has_bits_[0] & 0x00004000u) != 0;
5238 }
5239 inline void Table::set_has_access() {
5240  _has_bits_[0] |= 0x00004000u;
5241 }
5242 inline void Table::clear_has_access() {
5243  _has_bits_[0] &= ~0x00004000u;
5244 }
5245 inline void Table::clear_access() {
5246  if (access_ != NULL) access_->::drizzled::message::Access::Clear();
5247  clear_has_access();
5248 }
5249 inline const ::drizzled::message::Access& Table::access() const {
5250  return access_ != NULL ? *access_ : *default_instance_->access_;
5251 }
5252 inline ::drizzled::message::Access* Table::mutable_access() {
5253  set_has_access();
5254  if (access_ == NULL) access_ = new ::drizzled::message::Access;
5255  return access_;
5256 }
5257 inline ::drizzled::message::Access* Table::release_access() {
5258  clear_has_access();
5259  ::drizzled::message::Access* temp = access_;
5260  access_ = NULL;
5261  return temp;
5262 }
5263 
5264 // -------------------------------------------------------------------
5265 
5266 // AddedFields
5267 
5268 // repeated .drizzled.message.Table.Field added_field = 1;
5269 inline int AddedFields::added_field_size() const {
5270  return added_field_.size();
5271 }
5272 inline void AddedFields::clear_added_field() {
5273  added_field_.Clear();
5274 }
5275 inline const ::drizzled::message::Table_Field& AddedFields::added_field(int index) const {
5276  return added_field_.Get(index);
5277 }
5278 inline ::drizzled::message::Table_Field* AddedFields::mutable_added_field(int index) {
5279  return added_field_.Mutable(index);
5280 }
5281 inline ::drizzled::message::Table_Field* AddedFields::add_added_field() {
5282  return added_field_.Add();
5283 }
5284 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >&
5285 AddedFields::added_field() const {
5286  return added_field_;
5287 }
5288 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::Table_Field >*
5289 AddedFields::mutable_added_field() {
5290  return &added_field_;
5291 }
5292 
5293 
5294 // @@protoc_insertion_point(namespace_scope)
5295 
5296 } // namespace message
5297 } // namespace drizzled
5298 
5299 #ifndef SWIG
5300 namespace google {
5301 namespace protobuf {
5302 
5303 template <>
5304 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption>() {
5305  return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyMatchOption_descriptor();
5306 }
5307 template <>
5308 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption>() {
5309  return ::drizzled::message::Table_ForeignKeyConstraint_ForeignKeyOption_descriptor();
5310 }
5311 template <>
5312 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Field_FieldType>() {
5313  return ::drizzled::message::Table_Field_FieldType_descriptor();
5314 }
5315 template <>
5316 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_Index_IndexType>() {
5317  return ::drizzled::message::Table_Index_IndexType_descriptor();
5318 }
5319 template <>
5320 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::Table_TableType>() {
5321  return ::drizzled::message::Table_TableType_descriptor();
5322 }
5323 
5324 } // namespace google
5325 } // namespace protobuf
5326 #endif // SWIG
5327 
5328 // @@protoc_insertion_point(global_scope)
5329 
5330 #endif // PROTOBUF_table_2eproto__INCLUDED