Drizzled Public API Documentation

alter_table.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: alter_table.proto
3 
4 #ifndef PROTOBUF_alter_5ftable_2eproto__INCLUDED
5 #define PROTOBUF_alter_5ftable_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 // @@protoc_insertion_point(includes)
29 
30 namespace drizzled {
31 namespace message {
32 
33 // Internal implementation detail -- do not call these.
34 void protobuf_AddDesc_alter_5ftable_2eproto();
35 void protobuf_AssignDesc_alter_5ftable_2eproto();
36 void protobuf_ShutdownFile_alter_5ftable_2eproto();
37 
38 class AlterTable;
39 class AlterTable_AlterTableOperation;
40 class AlterTable_RenameTable;
41 class AlterTable_AlterKeysOnOff;
42 
43 enum AlterTable_AlterTableOperation_Operation {
44  AlterTable_AlterTableOperation_Operation_DISCARD_TABLESPACE = 0,
45  AlterTable_AlterTableOperation_Operation_IMPORT_TABLESPACE = 1,
46  AlterTable_AlterTableOperation_Operation_DROP_KEY = 2,
47  AlterTable_AlterTableOperation_Operation_DROP_COLUMN = 3,
48  AlterTable_AlterTableOperation_Operation_DROP_FOREIGN_KEY = 4
49 };
50 bool AlterTable_AlterTableOperation_Operation_IsValid(int value);
51 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation_Operation_Operation_MIN = AlterTable_AlterTableOperation_Operation_DISCARD_TABLESPACE;
52 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation_Operation_Operation_MAX = AlterTable_AlterTableOperation_Operation_DROP_FOREIGN_KEY;
53 const int AlterTable_AlterTableOperation_Operation_Operation_ARRAYSIZE = AlterTable_AlterTableOperation_Operation_Operation_MAX + 1;
54 
55 const ::google::protobuf::EnumDescriptor* AlterTable_AlterTableOperation_Operation_descriptor();
56 inline const ::std::string& AlterTable_AlterTableOperation_Operation_Name(AlterTable_AlterTableOperation_Operation value) {
57  return ::google::protobuf::internal::NameOfEnum(
58  AlterTable_AlterTableOperation_Operation_descriptor(), value);
59 }
60 inline bool AlterTable_AlterTableOperation_Operation_Parse(
61  const ::std::string& name, AlterTable_AlterTableOperation_Operation* value) {
62  return ::google::protobuf::internal::ParseNamedEnum<AlterTable_AlterTableOperation_Operation>(
63  AlterTable_AlterTableOperation_Operation_descriptor(), name, value);
64 }
65 enum AlterTable_BuildMethod {
66  AlterTable_BuildMethod_BUILD_DEFAULT = 0,
67  AlterTable_BuildMethod_BUILD_ONLINE = 1,
68  AlterTable_BuildMethod_BUILD_OFFLINE = 2
69 };
70 bool AlterTable_BuildMethod_IsValid(int value);
71 const AlterTable_BuildMethod AlterTable_BuildMethod_BuildMethod_MIN = AlterTable_BuildMethod_BUILD_DEFAULT;
72 const AlterTable_BuildMethod AlterTable_BuildMethod_BuildMethod_MAX = AlterTable_BuildMethod_BUILD_OFFLINE;
73 const int AlterTable_BuildMethod_BuildMethod_ARRAYSIZE = AlterTable_BuildMethod_BuildMethod_MAX + 1;
74 
75 const ::google::protobuf::EnumDescriptor* AlterTable_BuildMethod_descriptor();
76 inline const ::std::string& AlterTable_BuildMethod_Name(AlterTable_BuildMethod value) {
77  return ::google::protobuf::internal::NameOfEnum(
78  AlterTable_BuildMethod_descriptor(), value);
79 }
80 inline bool AlterTable_BuildMethod_Parse(
81  const ::std::string& name, AlterTable_BuildMethod* value) {
82  return ::google::protobuf::internal::ParseNamedEnum<AlterTable_BuildMethod>(
83  AlterTable_BuildMethod_descriptor(), name, value);
84 }
85 // ===================================================================
86 
87 class AlterTable_AlterTableOperation : public ::google::protobuf::Message {
88  public:
91 
93 
94  inline AlterTable_AlterTableOperation& operator=(const AlterTable_AlterTableOperation& from) {
95  CopyFrom(from);
96  return *this;
97  }
98 
99  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
100  return _unknown_fields_;
101  }
102 
103  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
104  return &_unknown_fields_;
105  }
106 
107  static const ::google::protobuf::Descriptor* descriptor();
108  static const AlterTable_AlterTableOperation& default_instance();
109 
110  void Swap(AlterTable_AlterTableOperation* other);
111 
112  // implements Message ----------------------------------------------
113 
114  AlterTable_AlterTableOperation* New() const;
115  void CopyFrom(const ::google::protobuf::Message& from);
116  void MergeFrom(const ::google::protobuf::Message& from);
117  void CopyFrom(const AlterTable_AlterTableOperation& from);
118  void MergeFrom(const AlterTable_AlterTableOperation& from);
119  void Clear();
120  bool IsInitialized() const;
121 
122  int ByteSize() const;
123  bool MergePartialFromCodedStream(
124  ::google::protobuf::io::CodedInputStream* input);
125  void SerializeWithCachedSizes(
126  ::google::protobuf::io::CodedOutputStream* output) const;
127  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
128  int GetCachedSize() const { return _cached_size_; }
129  private:
130  void SharedCtor();
131  void SharedDtor();
132  void SetCachedSize(int size) const;
133  public:
134  ::google::protobuf::Metadata GetMetadata() const;
135 
136  // nested types ----------------------------------------------------
137 
138  typedef AlterTable_AlterTableOperation_Operation Operation;
139  static const Operation DISCARD_TABLESPACE = AlterTable_AlterTableOperation_Operation_DISCARD_TABLESPACE;
140  static const Operation IMPORT_TABLESPACE = AlterTable_AlterTableOperation_Operation_IMPORT_TABLESPACE;
141  static const Operation DROP_KEY = AlterTable_AlterTableOperation_Operation_DROP_KEY;
142  static const Operation DROP_COLUMN = AlterTable_AlterTableOperation_Operation_DROP_COLUMN;
143  static const Operation DROP_FOREIGN_KEY = AlterTable_AlterTableOperation_Operation_DROP_FOREIGN_KEY;
144  static inline bool Operation_IsValid(int value) {
145  return AlterTable_AlterTableOperation_Operation_IsValid(value);
146  }
147  static const Operation Operation_MIN =
148  AlterTable_AlterTableOperation_Operation_Operation_MIN;
149  static const Operation Operation_MAX =
150  AlterTable_AlterTableOperation_Operation_Operation_MAX;
151  static const int Operation_ARRAYSIZE =
152  AlterTable_AlterTableOperation_Operation_Operation_ARRAYSIZE;
153  static inline const ::google::protobuf::EnumDescriptor*
154  Operation_descriptor() {
155  return AlterTable_AlterTableOperation_Operation_descriptor();
156  }
157  static inline const ::std::string& Operation_Name(Operation value) {
158  return AlterTable_AlterTableOperation_Operation_Name(value);
159  }
160  static inline bool Operation_Parse(const ::std::string& name,
161  Operation* value) {
162  return AlterTable_AlterTableOperation_Operation_Parse(name, value);
163  }
164 
165  // accessors -------------------------------------------------------
166 
167  // required .drizzled.message.AlterTable.AlterTableOperation.Operation operation = 1;
168  inline bool has_operation() const;
169  inline void clear_operation();
170  static const int kOperationFieldNumber = 1;
171  inline ::drizzled::message::AlterTable_AlterTableOperation_Operation operation() const;
172  inline void set_operation(::drizzled::message::AlterTable_AlterTableOperation_Operation value);
173 
174  // optional string drop_name = 2;
175  inline bool has_drop_name() const;
176  inline void clear_drop_name();
177  static const int kDropNameFieldNumber = 2;
178  inline const ::std::string& drop_name() const;
179  inline void set_drop_name(const ::std::string& value);
180  inline void set_drop_name(const char* value);
181  inline void set_drop_name(const char* value, size_t size);
182  inline ::std::string* mutable_drop_name();
183  inline ::std::string* release_drop_name();
184  inline void set_allocated_drop_name(::std::string* drop_name);
185 
186  // @@protoc_insertion_point(class_scope:drizzled.message.AlterTable.AlterTableOperation)
187  private:
188  inline void set_has_operation();
189  inline void clear_has_operation();
190  inline void set_has_drop_name();
191  inline void clear_has_drop_name();
192 
193  ::google::protobuf::UnknownFieldSet _unknown_fields_;
194 
195  ::google::protobuf::uint32 _has_bits_[1];
196  mutable int _cached_size_;
197  ::std::string* drop_name_;
198  int operation_;
199  friend void protobuf_AddDesc_alter_5ftable_2eproto();
200  friend void protobuf_AssignDesc_alter_5ftable_2eproto();
201  friend void protobuf_ShutdownFile_alter_5ftable_2eproto();
202 
203  void InitAsDefaultInstance();
204  static AlterTable_AlterTableOperation* default_instance_;
205 };
206 // -------------------------------------------------------------------
207 
208 class AlterTable_RenameTable : public ::google::protobuf::Message {
209  public:
211  virtual ~AlterTable_RenameTable();
212 
214 
215  inline AlterTable_RenameTable& operator=(const AlterTable_RenameTable& from) {
216  CopyFrom(from);
217  return *this;
218  }
219 
220  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
221  return _unknown_fields_;
222  }
223 
224  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
225  return &_unknown_fields_;
226  }
227 
228  static const ::google::protobuf::Descriptor* descriptor();
229  static const AlterTable_RenameTable& default_instance();
230 
231  void Swap(AlterTable_RenameTable* other);
232 
233  // implements Message ----------------------------------------------
234 
235  AlterTable_RenameTable* New() const;
236  void CopyFrom(const ::google::protobuf::Message& from);
237  void MergeFrom(const ::google::protobuf::Message& from);
238  void CopyFrom(const AlterTable_RenameTable& from);
239  void MergeFrom(const AlterTable_RenameTable& from);
240  void Clear();
241  bool IsInitialized() const;
242 
243  int ByteSize() const;
244  bool MergePartialFromCodedStream(
245  ::google::protobuf::io::CodedInputStream* input);
246  void SerializeWithCachedSizes(
247  ::google::protobuf::io::CodedOutputStream* output) const;
248  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
249  int GetCachedSize() const { return _cached_size_; }
250  private:
251  void SharedCtor();
252  void SharedDtor();
253  void SetCachedSize(int size) const;
254  public:
255  ::google::protobuf::Metadata GetMetadata() const;
256 
257  // nested types ----------------------------------------------------
258 
259  // accessors -------------------------------------------------------
260 
261  // required string to_schema = 1;
262  inline bool has_to_schema() const;
263  inline void clear_to_schema();
264  static const int kToSchemaFieldNumber = 1;
265  inline const ::std::string& to_schema() const;
266  inline void set_to_schema(const ::std::string& value);
267  inline void set_to_schema(const char* value);
268  inline void set_to_schema(const char* value, size_t size);
269  inline ::std::string* mutable_to_schema();
270  inline ::std::string* release_to_schema();
271  inline void set_allocated_to_schema(::std::string* to_schema);
272 
273  // required string to_name = 2;
274  inline bool has_to_name() const;
275  inline void clear_to_name();
276  static const int kToNameFieldNumber = 2;
277  inline const ::std::string& to_name() const;
278  inline void set_to_name(const ::std::string& value);
279  inline void set_to_name(const char* value);
280  inline void set_to_name(const char* value, size_t size);
281  inline ::std::string* mutable_to_name();
282  inline ::std::string* release_to_name();
283  inline void set_allocated_to_name(::std::string* to_name);
284 
285  // @@protoc_insertion_point(class_scope:drizzled.message.AlterTable.RenameTable)
286  private:
287  inline void set_has_to_schema();
288  inline void clear_has_to_schema();
289  inline void set_has_to_name();
290  inline void clear_has_to_name();
291 
292  ::google::protobuf::UnknownFieldSet _unknown_fields_;
293 
294  ::google::protobuf::uint32 _has_bits_[1];
295  mutable int _cached_size_;
296  ::std::string* to_schema_;
297  ::std::string* to_name_;
298  friend void protobuf_AddDesc_alter_5ftable_2eproto();
299  friend void protobuf_AssignDesc_alter_5ftable_2eproto();
300  friend void protobuf_ShutdownFile_alter_5ftable_2eproto();
301 
302  void InitAsDefaultInstance();
303  static AlterTable_RenameTable* default_instance_;
304 };
305 // -------------------------------------------------------------------
306 
307 class AlterTable_AlterKeysOnOff : public ::google::protobuf::Message {
308  public:
310  virtual ~AlterTable_AlterKeysOnOff();
311 
313 
314  inline AlterTable_AlterKeysOnOff& operator=(const AlterTable_AlterKeysOnOff& from) {
315  CopyFrom(from);
316  return *this;
317  }
318 
319  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
320  return _unknown_fields_;
321  }
322 
323  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
324  return &_unknown_fields_;
325  }
326 
327  static const ::google::protobuf::Descriptor* descriptor();
328  static const AlterTable_AlterKeysOnOff& default_instance();
329 
330  void Swap(AlterTable_AlterKeysOnOff* other);
331 
332  // implements Message ----------------------------------------------
333 
334  AlterTable_AlterKeysOnOff* New() const;
335  void CopyFrom(const ::google::protobuf::Message& from);
336  void MergeFrom(const ::google::protobuf::Message& from);
337  void CopyFrom(const AlterTable_AlterKeysOnOff& from);
338  void MergeFrom(const AlterTable_AlterKeysOnOff& from);
339  void Clear();
340  bool IsInitialized() const;
341 
342  int ByteSize() const;
343  bool MergePartialFromCodedStream(
344  ::google::protobuf::io::CodedInputStream* input);
345  void SerializeWithCachedSizes(
346  ::google::protobuf::io::CodedOutputStream* output) const;
347  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
348  int GetCachedSize() const { return _cached_size_; }
349  private:
350  void SharedCtor();
351  void SharedDtor();
352  void SetCachedSize(int size) const;
353  public:
354  ::google::protobuf::Metadata GetMetadata() const;
355 
356  // nested types ----------------------------------------------------
357 
358  // accessors -------------------------------------------------------
359 
360  // required bool enable = 1;
361  inline bool has_enable() const;
362  inline void clear_enable();
363  static const int kEnableFieldNumber = 1;
364  inline bool enable() const;
365  inline void set_enable(bool value);
366 
367  // @@protoc_insertion_point(class_scope:drizzled.message.AlterTable.AlterKeysOnOff)
368  private:
369  inline void set_has_enable();
370  inline void clear_has_enable();
371 
372  ::google::protobuf::UnknownFieldSet _unknown_fields_;
373 
374  ::google::protobuf::uint32 _has_bits_[1];
375  mutable int _cached_size_;
376  bool enable_;
377  friend void protobuf_AddDesc_alter_5ftable_2eproto();
378  friend void protobuf_AssignDesc_alter_5ftable_2eproto();
379  friend void protobuf_ShutdownFile_alter_5ftable_2eproto();
380 
381  void InitAsDefaultInstance();
382  static AlterTable_AlterKeysOnOff* default_instance_;
383 };
384 // -------------------------------------------------------------------
385 
386 class AlterTable : public ::google::protobuf::Message {
387  public:
388  AlterTable();
389  virtual ~AlterTable();
390 
391  AlterTable(const AlterTable& from);
392 
393  inline AlterTable& operator=(const AlterTable& from) {
394  CopyFrom(from);
395  return *this;
396  }
397 
398  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
399  return _unknown_fields_;
400  }
401 
402  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
403  return &_unknown_fields_;
404  }
405 
406  static const ::google::protobuf::Descriptor* descriptor();
407  static const AlterTable& default_instance();
408 
409  void Swap(AlterTable* other);
410 
411  // implements Message ----------------------------------------------
412 
413  AlterTable* New() const;
414  void CopyFrom(const ::google::protobuf::Message& from);
415  void MergeFrom(const ::google::protobuf::Message& from);
416  void CopyFrom(const AlterTable& from);
417  void MergeFrom(const AlterTable& from);
418  void Clear();
419  bool IsInitialized() const;
420 
421  int ByteSize() const;
422  bool MergePartialFromCodedStream(
423  ::google::protobuf::io::CodedInputStream* input);
424  void SerializeWithCachedSizes(
425  ::google::protobuf::io::CodedOutputStream* output) const;
426  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
427  int GetCachedSize() const { return _cached_size_; }
428  private:
429  void SharedCtor();
430  void SharedDtor();
431  void SetCachedSize(int size) const;
432  public:
433  ::google::protobuf::Metadata GetMetadata() const;
434 
435  // nested types ----------------------------------------------------
436 
440 
441  typedef AlterTable_BuildMethod BuildMethod;
442  static const BuildMethod BUILD_DEFAULT = AlterTable_BuildMethod_BUILD_DEFAULT;
443  static const BuildMethod BUILD_ONLINE = AlterTable_BuildMethod_BUILD_ONLINE;
444  static const BuildMethod BUILD_OFFLINE = AlterTable_BuildMethod_BUILD_OFFLINE;
445  static inline bool BuildMethod_IsValid(int value) {
446  return AlterTable_BuildMethod_IsValid(value);
447  }
448  static const BuildMethod BuildMethod_MIN =
449  AlterTable_BuildMethod_BuildMethod_MIN;
450  static const BuildMethod BuildMethod_MAX =
451  AlterTable_BuildMethod_BuildMethod_MAX;
452  static const int BuildMethod_ARRAYSIZE =
453  AlterTable_BuildMethod_BuildMethod_ARRAYSIZE;
454  static inline const ::google::protobuf::EnumDescriptor*
455  BuildMethod_descriptor() {
456  return AlterTable_BuildMethod_descriptor();
457  }
458  static inline const ::std::string& BuildMethod_Name(BuildMethod value) {
459  return AlterTable_BuildMethod_Name(value);
460  }
461  static inline bool BuildMethod_Parse(const ::std::string& name,
462  BuildMethod* value) {
463  return AlterTable_BuildMethod_Parse(name, value);
464  }
465 
466  // accessors -------------------------------------------------------
467 
468  // optional string catalog = 1;
469  inline bool has_catalog() const;
470  inline void clear_catalog();
471  static const int kCatalogFieldNumber = 1;
472  inline const ::std::string& catalog() const;
473  inline void set_catalog(const ::std::string& value);
474  inline void set_catalog(const char* value);
475  inline void set_catalog(const char* value, size_t size);
476  inline ::std::string* mutable_catalog();
477  inline ::std::string* release_catalog();
478  inline void set_allocated_catalog(::std::string* catalog);
479 
480  // required string schema = 2;
481  inline bool has_schema() const;
482  inline void clear_schema();
483  static const int kSchemaFieldNumber = 2;
484  inline const ::std::string& schema() const;
485  inline void set_schema(const ::std::string& value);
486  inline void set_schema(const char* value);
487  inline void set_schema(const char* value, size_t size);
488  inline ::std::string* mutable_schema();
489  inline ::std::string* release_schema();
490  inline void set_allocated_schema(::std::string* schema);
491 
492  // required string name = 3;
493  inline bool has_name() const;
494  inline void clear_name();
495  static const int kNameFieldNumber = 3;
496  inline const ::std::string& name() const;
497  inline void set_name(const ::std::string& value);
498  inline void set_name(const char* value);
499  inline void set_name(const char* value, size_t size);
500  inline ::std::string* mutable_name();
501  inline ::std::string* release_name();
502  inline void set_allocated_name(::std::string* name);
503 
504  // required .drizzled.message.AlterTable.BuildMethod build_method = 4 [default = BUILD_DEFAULT];
505  inline bool has_build_method() const;
506  inline void clear_build_method();
507  static const int kBuildMethodFieldNumber = 4;
508  inline ::drizzled::message::AlterTable_BuildMethod build_method() const;
509  inline void set_build_method(::drizzled::message::AlterTable_BuildMethod value);
510 
511  // required bool ignore = 5 [default = false];
512  inline bool has_ignore() const;
513  inline void clear_ignore();
514  static const int kIgnoreFieldNumber = 5;
515  inline bool ignore() const;
516  inline void set_ignore(bool value);
517 
518  // repeated .drizzled.message.AlterTable.AlterTableOperation operations = 6;
519  inline int operations_size() const;
520  inline void clear_operations();
521  static const int kOperationsFieldNumber = 6;
522  inline const ::drizzled::message::AlterTable_AlterTableOperation& operations(int index) const;
523  inline ::drizzled::message::AlterTable_AlterTableOperation* mutable_operations(int index);
524  inline ::drizzled::message::AlterTable_AlterTableOperation* add_operations();
525  inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation >&
526  operations() const;
527  inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation >*
528  mutable_operations();
529 
530  // optional .drizzled.message.AlterTable.RenameTable rename = 7;
531  inline bool has_rename() const;
532  inline void clear_rename();
533  static const int kRenameFieldNumber = 7;
534  inline const ::drizzled::message::AlterTable_RenameTable& rename() const;
535  inline ::drizzled::message::AlterTable_RenameTable* mutable_rename();
536  inline ::drizzled::message::AlterTable_RenameTable* release_rename();
537  inline void set_allocated_rename(::drizzled::message::AlterTable_RenameTable* rename);
538 
539  // optional .drizzled.message.AlterTable.AlterKeysOnOff alter_keys_onoff = 8;
540  inline bool has_alter_keys_onoff() const;
541  inline void clear_alter_keys_onoff();
542  static const int kAlterKeysOnoffFieldNumber = 8;
543  inline const ::drizzled::message::AlterTable_AlterKeysOnOff& alter_keys_onoff() const;
544  inline ::drizzled::message::AlterTable_AlterKeysOnOff* mutable_alter_keys_onoff();
545  inline ::drizzled::message::AlterTable_AlterKeysOnOff* release_alter_keys_onoff();
546  inline void set_allocated_alter_keys_onoff(::drizzled::message::AlterTable_AlterKeysOnOff* alter_keys_onoff);
547 
548  // @@protoc_insertion_point(class_scope:drizzled.message.AlterTable)
549  private:
550  inline void set_has_catalog();
551  inline void clear_has_catalog();
552  inline void set_has_schema();
553  inline void clear_has_schema();
554  inline void set_has_name();
555  inline void clear_has_name();
556  inline void set_has_build_method();
557  inline void clear_has_build_method();
558  inline void set_has_ignore();
559  inline void clear_has_ignore();
560  inline void set_has_rename();
561  inline void clear_has_rename();
562  inline void set_has_alter_keys_onoff();
563  inline void clear_has_alter_keys_onoff();
564 
565  ::google::protobuf::UnknownFieldSet _unknown_fields_;
566 
567  ::google::protobuf::uint32 _has_bits_[1];
568  mutable int _cached_size_;
569  ::std::string* catalog_;
570  ::std::string* schema_;
571  ::std::string* name_;
572  int build_method_;
573  bool ignore_;
574  ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation > operations_;
577  friend void protobuf_AddDesc_alter_5ftable_2eproto();
578  friend void protobuf_AssignDesc_alter_5ftable_2eproto();
579  friend void protobuf_ShutdownFile_alter_5ftable_2eproto();
580 
581  void InitAsDefaultInstance();
582  static AlterTable* default_instance_;
583 };
584 // ===================================================================
585 
586 
587 // ===================================================================
588 
589 // AlterTable_AlterTableOperation
590 
591 // required .drizzled.message.AlterTable.AlterTableOperation.Operation operation = 1;
592 inline bool AlterTable_AlterTableOperation::has_operation() const {
593  return (_has_bits_[0] & 0x00000001u) != 0;
594 }
595 inline void AlterTable_AlterTableOperation::set_has_operation() {
596  _has_bits_[0] |= 0x00000001u;
597 }
598 inline void AlterTable_AlterTableOperation::clear_has_operation() {
599  _has_bits_[0] &= ~0x00000001u;
600 }
601 inline void AlterTable_AlterTableOperation::clear_operation() {
602  operation_ = 0;
603  clear_has_operation();
604 }
605 inline ::drizzled::message::AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation::operation() const {
606  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.AlterTableOperation.operation)
607  return static_cast< ::drizzled::message::AlterTable_AlterTableOperation_Operation >(operation_);
608 }
609 inline void AlterTable_AlterTableOperation::set_operation(::drizzled::message::AlterTable_AlterTableOperation_Operation value) {
610  assert(::drizzled::message::AlterTable_AlterTableOperation_Operation_IsValid(value));
611  set_has_operation();
612  operation_ = value;
613  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.AlterTableOperation.operation)
614 }
615 
616 // optional string drop_name = 2;
617 inline bool AlterTable_AlterTableOperation::has_drop_name() const {
618  return (_has_bits_[0] & 0x00000002u) != 0;
619 }
620 inline void AlterTable_AlterTableOperation::set_has_drop_name() {
621  _has_bits_[0] |= 0x00000002u;
622 }
623 inline void AlterTable_AlterTableOperation::clear_has_drop_name() {
624  _has_bits_[0] &= ~0x00000002u;
625 }
626 inline void AlterTable_AlterTableOperation::clear_drop_name() {
627  if (drop_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
628  drop_name_->clear();
629  }
630  clear_has_drop_name();
631 }
632 inline const ::std::string& AlterTable_AlterTableOperation::drop_name() const {
633  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.AlterTableOperation.drop_name)
634  return *drop_name_;
635 }
636 inline void AlterTable_AlterTableOperation::set_drop_name(const ::std::string& value) {
637  set_has_drop_name();
638  if (drop_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
639  drop_name_ = new ::std::string;
640  }
641  drop_name_->assign(value);
642  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.AlterTableOperation.drop_name)
643 }
644 inline void AlterTable_AlterTableOperation::set_drop_name(const char* value) {
645  set_has_drop_name();
646  if (drop_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
647  drop_name_ = new ::std::string;
648  }
649  drop_name_->assign(value);
650  // @@protoc_insertion_point(field_set_char:drizzled.message.AlterTable.AlterTableOperation.drop_name)
651 }
652 inline void AlterTable_AlterTableOperation::set_drop_name(const char* value, size_t size) {
653  set_has_drop_name();
654  if (drop_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
655  drop_name_ = new ::std::string;
656  }
657  drop_name_->assign(reinterpret_cast<const char*>(value), size);
658  // @@protoc_insertion_point(field_set_pointer:drizzled.message.AlterTable.AlterTableOperation.drop_name)
659 }
660 inline ::std::string* AlterTable_AlterTableOperation::mutable_drop_name() {
661  set_has_drop_name();
662  if (drop_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
663  drop_name_ = new ::std::string;
664  }
665  // @@protoc_insertion_point(field_mutable:drizzled.message.AlterTable.AlterTableOperation.drop_name)
666  return drop_name_;
667 }
668 inline ::std::string* AlterTable_AlterTableOperation::release_drop_name() {
669  clear_has_drop_name();
670  if (drop_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
671  return NULL;
672  } else {
673  ::std::string* temp = drop_name_;
674  drop_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
675  return temp;
676  }
677 }
678 inline void AlterTable_AlterTableOperation::set_allocated_drop_name(::std::string* drop_name) {
679  if (drop_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
680  delete drop_name_;
681  }
682  if (drop_name) {
683  set_has_drop_name();
684  drop_name_ = drop_name;
685  } else {
686  clear_has_drop_name();
687  drop_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
688  }
689  // @@protoc_insertion_point(field_set_allocated:drizzled.message.AlterTable.AlterTableOperation.drop_name)
690 }
691 
692 // -------------------------------------------------------------------
693 
694 // AlterTable_RenameTable
695 
696 // required string to_schema = 1;
697 inline bool AlterTable_RenameTable::has_to_schema() const {
698  return (_has_bits_[0] & 0x00000001u) != 0;
699 }
700 inline void AlterTable_RenameTable::set_has_to_schema() {
701  _has_bits_[0] |= 0x00000001u;
702 }
703 inline void AlterTable_RenameTable::clear_has_to_schema() {
704  _has_bits_[0] &= ~0x00000001u;
705 }
706 inline void AlterTable_RenameTable::clear_to_schema() {
707  if (to_schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
708  to_schema_->clear();
709  }
710  clear_has_to_schema();
711 }
712 inline const ::std::string& AlterTable_RenameTable::to_schema() const {
713  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.RenameTable.to_schema)
714  return *to_schema_;
715 }
716 inline void AlterTable_RenameTable::set_to_schema(const ::std::string& value) {
717  set_has_to_schema();
718  if (to_schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
719  to_schema_ = new ::std::string;
720  }
721  to_schema_->assign(value);
722  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.RenameTable.to_schema)
723 }
724 inline void AlterTable_RenameTable::set_to_schema(const char* value) {
725  set_has_to_schema();
726  if (to_schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
727  to_schema_ = new ::std::string;
728  }
729  to_schema_->assign(value);
730  // @@protoc_insertion_point(field_set_char:drizzled.message.AlterTable.RenameTable.to_schema)
731 }
732 inline void AlterTable_RenameTable::set_to_schema(const char* value, size_t size) {
733  set_has_to_schema();
734  if (to_schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
735  to_schema_ = new ::std::string;
736  }
737  to_schema_->assign(reinterpret_cast<const char*>(value), size);
738  // @@protoc_insertion_point(field_set_pointer:drizzled.message.AlterTable.RenameTable.to_schema)
739 }
740 inline ::std::string* AlterTable_RenameTable::mutable_to_schema() {
741  set_has_to_schema();
742  if (to_schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
743  to_schema_ = new ::std::string;
744  }
745  // @@protoc_insertion_point(field_mutable:drizzled.message.AlterTable.RenameTable.to_schema)
746  return to_schema_;
747 }
748 inline ::std::string* AlterTable_RenameTable::release_to_schema() {
749  clear_has_to_schema();
750  if (to_schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
751  return NULL;
752  } else {
753  ::std::string* temp = to_schema_;
754  to_schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
755  return temp;
756  }
757 }
758 inline void AlterTable_RenameTable::set_allocated_to_schema(::std::string* to_schema) {
759  if (to_schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
760  delete to_schema_;
761  }
762  if (to_schema) {
763  set_has_to_schema();
764  to_schema_ = to_schema;
765  } else {
766  clear_has_to_schema();
767  to_schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
768  }
769  // @@protoc_insertion_point(field_set_allocated:drizzled.message.AlterTable.RenameTable.to_schema)
770 }
771 
772 // required string to_name = 2;
773 inline bool AlterTable_RenameTable::has_to_name() const {
774  return (_has_bits_[0] & 0x00000002u) != 0;
775 }
776 inline void AlterTable_RenameTable::set_has_to_name() {
777  _has_bits_[0] |= 0x00000002u;
778 }
779 inline void AlterTable_RenameTable::clear_has_to_name() {
780  _has_bits_[0] &= ~0x00000002u;
781 }
782 inline void AlterTable_RenameTable::clear_to_name() {
783  if (to_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
784  to_name_->clear();
785  }
786  clear_has_to_name();
787 }
788 inline const ::std::string& AlterTable_RenameTable::to_name() const {
789  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.RenameTable.to_name)
790  return *to_name_;
791 }
792 inline void AlterTable_RenameTable::set_to_name(const ::std::string& value) {
793  set_has_to_name();
794  if (to_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
795  to_name_ = new ::std::string;
796  }
797  to_name_->assign(value);
798  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.RenameTable.to_name)
799 }
800 inline void AlterTable_RenameTable::set_to_name(const char* value) {
801  set_has_to_name();
802  if (to_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
803  to_name_ = new ::std::string;
804  }
805  to_name_->assign(value);
806  // @@protoc_insertion_point(field_set_char:drizzled.message.AlterTable.RenameTable.to_name)
807 }
808 inline void AlterTable_RenameTable::set_to_name(const char* value, size_t size) {
809  set_has_to_name();
810  if (to_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
811  to_name_ = new ::std::string;
812  }
813  to_name_->assign(reinterpret_cast<const char*>(value), size);
814  // @@protoc_insertion_point(field_set_pointer:drizzled.message.AlterTable.RenameTable.to_name)
815 }
816 inline ::std::string* AlterTable_RenameTable::mutable_to_name() {
817  set_has_to_name();
818  if (to_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
819  to_name_ = new ::std::string;
820  }
821  // @@protoc_insertion_point(field_mutable:drizzled.message.AlterTable.RenameTable.to_name)
822  return to_name_;
823 }
824 inline ::std::string* AlterTable_RenameTable::release_to_name() {
825  clear_has_to_name();
826  if (to_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
827  return NULL;
828  } else {
829  ::std::string* temp = to_name_;
830  to_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
831  return temp;
832  }
833 }
834 inline void AlterTable_RenameTable::set_allocated_to_name(::std::string* to_name) {
835  if (to_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
836  delete to_name_;
837  }
838  if (to_name) {
839  set_has_to_name();
840  to_name_ = to_name;
841  } else {
842  clear_has_to_name();
843  to_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
844  }
845  // @@protoc_insertion_point(field_set_allocated:drizzled.message.AlterTable.RenameTable.to_name)
846 }
847 
848 // -------------------------------------------------------------------
849 
850 // AlterTable_AlterKeysOnOff
851 
852 // required bool enable = 1;
853 inline bool AlterTable_AlterKeysOnOff::has_enable() const {
854  return (_has_bits_[0] & 0x00000001u) != 0;
855 }
856 inline void AlterTable_AlterKeysOnOff::set_has_enable() {
857  _has_bits_[0] |= 0x00000001u;
858 }
859 inline void AlterTable_AlterKeysOnOff::clear_has_enable() {
860  _has_bits_[0] &= ~0x00000001u;
861 }
862 inline void AlterTable_AlterKeysOnOff::clear_enable() {
863  enable_ = false;
864  clear_has_enable();
865 }
866 inline bool AlterTable_AlterKeysOnOff::enable() const {
867  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.AlterKeysOnOff.enable)
868  return enable_;
869 }
870 inline void AlterTable_AlterKeysOnOff::set_enable(bool value) {
871  set_has_enable();
872  enable_ = value;
873  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.AlterKeysOnOff.enable)
874 }
875 
876 // -------------------------------------------------------------------
877 
878 // AlterTable
879 
880 // optional string catalog = 1;
881 inline bool AlterTable::has_catalog() const {
882  return (_has_bits_[0] & 0x00000001u) != 0;
883 }
884 inline void AlterTable::set_has_catalog() {
885  _has_bits_[0] |= 0x00000001u;
886 }
887 inline void AlterTable::clear_has_catalog() {
888  _has_bits_[0] &= ~0x00000001u;
889 }
890 inline void AlterTable::clear_catalog() {
891  if (catalog_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
892  catalog_->clear();
893  }
894  clear_has_catalog();
895 }
896 inline const ::std::string& AlterTable::catalog() const {
897  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.catalog)
898  return *catalog_;
899 }
900 inline void AlterTable::set_catalog(const ::std::string& value) {
901  set_has_catalog();
902  if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
903  catalog_ = new ::std::string;
904  }
905  catalog_->assign(value);
906  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.catalog)
907 }
908 inline void AlterTable::set_catalog(const char* value) {
909  set_has_catalog();
910  if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
911  catalog_ = new ::std::string;
912  }
913  catalog_->assign(value);
914  // @@protoc_insertion_point(field_set_char:drizzled.message.AlterTable.catalog)
915 }
916 inline void AlterTable::set_catalog(const char* value, size_t size) {
917  set_has_catalog();
918  if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
919  catalog_ = new ::std::string;
920  }
921  catalog_->assign(reinterpret_cast<const char*>(value), size);
922  // @@protoc_insertion_point(field_set_pointer:drizzled.message.AlterTable.catalog)
923 }
924 inline ::std::string* AlterTable::mutable_catalog() {
925  set_has_catalog();
926  if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
927  catalog_ = new ::std::string;
928  }
929  // @@protoc_insertion_point(field_mutable:drizzled.message.AlterTable.catalog)
930  return catalog_;
931 }
932 inline ::std::string* AlterTable::release_catalog() {
933  clear_has_catalog();
934  if (catalog_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
935  return NULL;
936  } else {
937  ::std::string* temp = catalog_;
938  catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
939  return temp;
940  }
941 }
942 inline void AlterTable::set_allocated_catalog(::std::string* catalog) {
943  if (catalog_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
944  delete catalog_;
945  }
946  if (catalog) {
947  set_has_catalog();
948  catalog_ = catalog;
949  } else {
950  clear_has_catalog();
951  catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
952  }
953  // @@protoc_insertion_point(field_set_allocated:drizzled.message.AlterTable.catalog)
954 }
955 
956 // required string schema = 2;
957 inline bool AlterTable::has_schema() const {
958  return (_has_bits_[0] & 0x00000002u) != 0;
959 }
960 inline void AlterTable::set_has_schema() {
961  _has_bits_[0] |= 0x00000002u;
962 }
963 inline void AlterTable::clear_has_schema() {
964  _has_bits_[0] &= ~0x00000002u;
965 }
966 inline void AlterTable::clear_schema() {
967  if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
968  schema_->clear();
969  }
970  clear_has_schema();
971 }
972 inline const ::std::string& AlterTable::schema() const {
973  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.schema)
974  return *schema_;
975 }
976 inline void AlterTable::set_schema(const ::std::string& value) {
977  set_has_schema();
978  if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
979  schema_ = new ::std::string;
980  }
981  schema_->assign(value);
982  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.schema)
983 }
984 inline void AlterTable::set_schema(const char* value) {
985  set_has_schema();
986  if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
987  schema_ = new ::std::string;
988  }
989  schema_->assign(value);
990  // @@protoc_insertion_point(field_set_char:drizzled.message.AlterTable.schema)
991 }
992 inline void AlterTable::set_schema(const char* value, size_t size) {
993  set_has_schema();
994  if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
995  schema_ = new ::std::string;
996  }
997  schema_->assign(reinterpret_cast<const char*>(value), size);
998  // @@protoc_insertion_point(field_set_pointer:drizzled.message.AlterTable.schema)
999 }
1000 inline ::std::string* AlterTable::mutable_schema() {
1001  set_has_schema();
1002  if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1003  schema_ = new ::std::string;
1004  }
1005  // @@protoc_insertion_point(field_mutable:drizzled.message.AlterTable.schema)
1006  return schema_;
1007 }
1008 inline ::std::string* AlterTable::release_schema() {
1009  clear_has_schema();
1010  if (schema_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1011  return NULL;
1012  } else {
1013  ::std::string* temp = schema_;
1014  schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1015  return temp;
1016  }
1017 }
1018 inline void AlterTable::set_allocated_schema(::std::string* schema) {
1019  if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1020  delete schema_;
1021  }
1022  if (schema) {
1023  set_has_schema();
1024  schema_ = schema;
1025  } else {
1026  clear_has_schema();
1027  schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1028  }
1029  // @@protoc_insertion_point(field_set_allocated:drizzled.message.AlterTable.schema)
1030 }
1031 
1032 // required string name = 3;
1033 inline bool AlterTable::has_name() const {
1034  return (_has_bits_[0] & 0x00000004u) != 0;
1035 }
1036 inline void AlterTable::set_has_name() {
1037  _has_bits_[0] |= 0x00000004u;
1038 }
1039 inline void AlterTable::clear_has_name() {
1040  _has_bits_[0] &= ~0x00000004u;
1041 }
1042 inline void AlterTable::clear_name() {
1043  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1044  name_->clear();
1045  }
1046  clear_has_name();
1047 }
1048 inline const ::std::string& AlterTable::name() const {
1049  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.name)
1050  return *name_;
1051 }
1052 inline void AlterTable::set_name(const ::std::string& value) {
1053  set_has_name();
1054  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1055  name_ = new ::std::string;
1056  }
1057  name_->assign(value);
1058  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.name)
1059 }
1060 inline void AlterTable::set_name(const char* value) {
1061  set_has_name();
1062  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1063  name_ = new ::std::string;
1064  }
1065  name_->assign(value);
1066  // @@protoc_insertion_point(field_set_char:drizzled.message.AlterTable.name)
1067 }
1068 inline void AlterTable::set_name(const char* value, size_t size) {
1069  set_has_name();
1070  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1071  name_ = new ::std::string;
1072  }
1073  name_->assign(reinterpret_cast<const char*>(value), size);
1074  // @@protoc_insertion_point(field_set_pointer:drizzled.message.AlterTable.name)
1075 }
1076 inline ::std::string* AlterTable::mutable_name() {
1077  set_has_name();
1078  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1079  name_ = new ::std::string;
1080  }
1081  // @@protoc_insertion_point(field_mutable:drizzled.message.AlterTable.name)
1082  return name_;
1083 }
1084 inline ::std::string* AlterTable::release_name() {
1085  clear_has_name();
1086  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1087  return NULL;
1088  } else {
1089  ::std::string* temp = name_;
1090  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1091  return temp;
1092  }
1093 }
1094 inline void AlterTable::set_allocated_name(::std::string* name) {
1095  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1096  delete name_;
1097  }
1098  if (name) {
1099  set_has_name();
1100  name_ = name;
1101  } else {
1102  clear_has_name();
1103  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1104  }
1105  // @@protoc_insertion_point(field_set_allocated:drizzled.message.AlterTable.name)
1106 }
1107 
1108 // required .drizzled.message.AlterTable.BuildMethod build_method = 4 [default = BUILD_DEFAULT];
1109 inline bool AlterTable::has_build_method() const {
1110  return (_has_bits_[0] & 0x00000008u) != 0;
1111 }
1112 inline void AlterTable::set_has_build_method() {
1113  _has_bits_[0] |= 0x00000008u;
1114 }
1115 inline void AlterTable::clear_has_build_method() {
1116  _has_bits_[0] &= ~0x00000008u;
1117 }
1118 inline void AlterTable::clear_build_method() {
1119  build_method_ = 0;
1120  clear_has_build_method();
1121 }
1122 inline ::drizzled::message::AlterTable_BuildMethod AlterTable::build_method() const {
1123  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.build_method)
1124  return static_cast< ::drizzled::message::AlterTable_BuildMethod >(build_method_);
1125 }
1126 inline void AlterTable::set_build_method(::drizzled::message::AlterTable_BuildMethod value) {
1127  assert(::drizzled::message::AlterTable_BuildMethod_IsValid(value));
1128  set_has_build_method();
1129  build_method_ = value;
1130  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.build_method)
1131 }
1132 
1133 // required bool ignore = 5 [default = false];
1134 inline bool AlterTable::has_ignore() const {
1135  return (_has_bits_[0] & 0x00000010u) != 0;
1136 }
1137 inline void AlterTable::set_has_ignore() {
1138  _has_bits_[0] |= 0x00000010u;
1139 }
1140 inline void AlterTable::clear_has_ignore() {
1141  _has_bits_[0] &= ~0x00000010u;
1142 }
1143 inline void AlterTable::clear_ignore() {
1144  ignore_ = false;
1145  clear_has_ignore();
1146 }
1147 inline bool AlterTable::ignore() const {
1148  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.ignore)
1149  return ignore_;
1150 }
1151 inline void AlterTable::set_ignore(bool value) {
1152  set_has_ignore();
1153  ignore_ = value;
1154  // @@protoc_insertion_point(field_set:drizzled.message.AlterTable.ignore)
1155 }
1156 
1157 // repeated .drizzled.message.AlterTable.AlterTableOperation operations = 6;
1158 inline int AlterTable::operations_size() const {
1159  return operations_.size();
1160 }
1161 inline void AlterTable::clear_operations() {
1162  operations_.Clear();
1163 }
1164 inline const ::drizzled::message::AlterTable_AlterTableOperation& AlterTable::operations(int index) const {
1165  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.operations)
1166  return operations_.Get(index);
1167 }
1168 inline ::drizzled::message::AlterTable_AlterTableOperation* AlterTable::mutable_operations(int index) {
1169  // @@protoc_insertion_point(field_mutable:drizzled.message.AlterTable.operations)
1170  return operations_.Mutable(index);
1171 }
1172 inline ::drizzled::message::AlterTable_AlterTableOperation* AlterTable::add_operations() {
1173  // @@protoc_insertion_point(field_add:drizzled.message.AlterTable.operations)
1174  return operations_.Add();
1175 }
1176 inline const ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation >&
1177 AlterTable::operations() const {
1178  // @@protoc_insertion_point(field_list:drizzled.message.AlterTable.operations)
1179  return operations_;
1180 }
1181 inline ::google::protobuf::RepeatedPtrField< ::drizzled::message::AlterTable_AlterTableOperation >*
1182 AlterTable::mutable_operations() {
1183  // @@protoc_insertion_point(field_mutable_list:drizzled.message.AlterTable.operations)
1184  return &operations_;
1185 }
1186 
1187 // optional .drizzled.message.AlterTable.RenameTable rename = 7;
1188 inline bool AlterTable::has_rename() const {
1189  return (_has_bits_[0] & 0x00000040u) != 0;
1190 }
1191 inline void AlterTable::set_has_rename() {
1192  _has_bits_[0] |= 0x00000040u;
1193 }
1194 inline void AlterTable::clear_has_rename() {
1195  _has_bits_[0] &= ~0x00000040u;
1196 }
1197 inline void AlterTable::clear_rename() {
1198  if (rename_ != NULL) rename_->::drizzled::message::AlterTable_RenameTable::Clear();
1199  clear_has_rename();
1200 }
1201 inline const ::drizzled::message::AlterTable_RenameTable& AlterTable::rename() const {
1202  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.rename)
1203  return rename_ != NULL ? *rename_ : *default_instance_->rename_;
1204 }
1205 inline ::drizzled::message::AlterTable_RenameTable* AlterTable::mutable_rename() {
1206  set_has_rename();
1207  if (rename_ == NULL) rename_ = new ::drizzled::message::AlterTable_RenameTable;
1208  // @@protoc_insertion_point(field_mutable:drizzled.message.AlterTable.rename)
1209  return rename_;
1210 }
1211 inline ::drizzled::message::AlterTable_RenameTable* AlterTable::release_rename() {
1212  clear_has_rename();
1214  rename_ = NULL;
1215  return temp;
1216 }
1217 inline void AlterTable::set_allocated_rename(::drizzled::message::AlterTable_RenameTable* rename) {
1218  delete rename_;
1219  rename_ = rename;
1220  if (rename) {
1221  set_has_rename();
1222  } else {
1223  clear_has_rename();
1224  }
1225  // @@protoc_insertion_point(field_set_allocated:drizzled.message.AlterTable.rename)
1226 }
1227 
1228 // optional .drizzled.message.AlterTable.AlterKeysOnOff alter_keys_onoff = 8;
1229 inline bool AlterTable::has_alter_keys_onoff() const {
1230  return (_has_bits_[0] & 0x00000080u) != 0;
1231 }
1232 inline void AlterTable::set_has_alter_keys_onoff() {
1233  _has_bits_[0] |= 0x00000080u;
1234 }
1235 inline void AlterTable::clear_has_alter_keys_onoff() {
1236  _has_bits_[0] &= ~0x00000080u;
1237 }
1238 inline void AlterTable::clear_alter_keys_onoff() {
1239  if (alter_keys_onoff_ != NULL) alter_keys_onoff_->::drizzled::message::AlterTable_AlterKeysOnOff::Clear();
1240  clear_has_alter_keys_onoff();
1241 }
1242 inline const ::drizzled::message::AlterTable_AlterKeysOnOff& AlterTable::alter_keys_onoff() const {
1243  // @@protoc_insertion_point(field_get:drizzled.message.AlterTable.alter_keys_onoff)
1244  return alter_keys_onoff_ != NULL ? *alter_keys_onoff_ : *default_instance_->alter_keys_onoff_;
1245 }
1246 inline ::drizzled::message::AlterTable_AlterKeysOnOff* AlterTable::mutable_alter_keys_onoff() {
1247  set_has_alter_keys_onoff();
1248  if (alter_keys_onoff_ == NULL) alter_keys_onoff_ = new ::drizzled::message::AlterTable_AlterKeysOnOff;
1249  // @@protoc_insertion_point(field_mutable:drizzled.message.AlterTable.alter_keys_onoff)
1250  return alter_keys_onoff_;
1251 }
1252 inline ::drizzled::message::AlterTable_AlterKeysOnOff* AlterTable::release_alter_keys_onoff() {
1253  clear_has_alter_keys_onoff();
1254  ::drizzled::message::AlterTable_AlterKeysOnOff* temp = alter_keys_onoff_;
1255  alter_keys_onoff_ = NULL;
1256  return temp;
1257 }
1258 inline void AlterTable::set_allocated_alter_keys_onoff(::drizzled::message::AlterTable_AlterKeysOnOff* alter_keys_onoff) {
1259  delete alter_keys_onoff_;
1260  alter_keys_onoff_ = alter_keys_onoff;
1261  if (alter_keys_onoff) {
1262  set_has_alter_keys_onoff();
1263  } else {
1264  clear_has_alter_keys_onoff();
1265  }
1266  // @@protoc_insertion_point(field_set_allocated:drizzled.message.AlterTable.alter_keys_onoff)
1267 }
1268 
1269 
1270 // @@protoc_insertion_point(namespace_scope)
1271 
1272 } // namespace message
1273 } // namespace drizzled
1274 
1275 #ifndef SWIG
1276 namespace google {
1277 namespace protobuf {
1278 
1279 template <> struct is_proto_enum< ::drizzled::message::AlterTable_AlterTableOperation_Operation> : ::google::protobuf::internal::true_type {};
1280 template <>
1281 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::AlterTable_AlterTableOperation_Operation>() {
1282  return ::drizzled::message::AlterTable_AlterTableOperation_Operation_descriptor();
1283 }
1284 template <> struct is_proto_enum< ::drizzled::message::AlterTable_BuildMethod> : ::google::protobuf::internal::true_type {};
1285 template <>
1286 inline const EnumDescriptor* GetEnumDescriptor< ::drizzled::message::AlterTable_BuildMethod>() {
1287  return ::drizzled::message::AlterTable_BuildMethod_descriptor();
1288 }
1289 
1290 } // namespace google
1291 } // namespace protobuf
1292 #endif // SWIG
1293 
1294 // @@protoc_insertion_point(global_scope)
1295 
1296 #endif // PROTOBUF_alter_5ftable_2eproto__INCLUDED
TODO: Rename this file - func.h is stupid.