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