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