Drizzled Public API Documentation

alter_table.pb.cc
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: alter_table.proto
3 
4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
5 #include "alter_table.pb.h"
6 
7 #include <algorithm>
8 
9 #include <google/protobuf/stubs/common.h>
10 #include <google/protobuf/stubs/once.h>
11 #include <google/protobuf/io/coded_stream.h>
12 #include <google/protobuf/wire_format_lite_inl.h>
13 #include <google/protobuf/descriptor.h>
14 #include <google/protobuf/generated_message_reflection.h>
15 #include <google/protobuf/reflection_ops.h>
16 #include <google/protobuf/wire_format.h>
17 // @@protoc_insertion_point(includes)
18 
19 namespace drizzled {
20 namespace message {
21 
22 namespace {
23 
24 const ::google::protobuf::Descriptor* AlterTable_descriptor_ = NULL;
25 const ::google::protobuf::internal::GeneratedMessageReflection*
26  AlterTable_reflection_ = NULL;
27 const ::google::protobuf::Descriptor* AlterTable_AlterTableOperation_descriptor_ = NULL;
28 const ::google::protobuf::internal::GeneratedMessageReflection*
29  AlterTable_AlterTableOperation_reflection_ = NULL;
30 const ::google::protobuf::EnumDescriptor* AlterTable_AlterTableOperation_Operation_descriptor_ = NULL;
31 const ::google::protobuf::Descriptor* AlterTable_RenameTable_descriptor_ = NULL;
32 const ::google::protobuf::internal::GeneratedMessageReflection*
33  AlterTable_RenameTable_reflection_ = NULL;
34 const ::google::protobuf::Descriptor* AlterTable_AlterKeysOnOff_descriptor_ = NULL;
35 const ::google::protobuf::internal::GeneratedMessageReflection*
36  AlterTable_AlterKeysOnOff_reflection_ = NULL;
37 const ::google::protobuf::EnumDescriptor* AlterTable_BuildMethod_descriptor_ = NULL;
38 
39 } // namespace
40 
41 
42 void protobuf_AssignDesc_alter_5ftable_2eproto() {
43  protobuf_AddDesc_alter_5ftable_2eproto();
44  const ::google::protobuf::FileDescriptor* file =
45  ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
46  "alter_table.proto");
47  GOOGLE_CHECK(file != NULL);
48  AlterTable_descriptor_ = file->message_type(0);
49  static const int AlterTable_offsets_[8] = {
50  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, catalog_),
51  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, schema_),
52  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, name_),
53  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, build_method_),
54  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, ignore_),
55  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, operations_),
56  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, rename_),
57  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, alter_keys_onoff_),
58  };
59  AlterTable_reflection_ =
60  new ::google::protobuf::internal::GeneratedMessageReflection(
61  AlterTable_descriptor_,
62  AlterTable::default_instance_,
63  AlterTable_offsets_,
64  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, _has_bits_[0]),
65  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable, _unknown_fields_),
66  -1,
67  ::google::protobuf::DescriptorPool::generated_pool(),
68  ::google::protobuf::MessageFactory::generated_factory(),
69  sizeof(AlterTable));
70  AlterTable_AlterTableOperation_descriptor_ = AlterTable_descriptor_->nested_type(0);
71  static const int AlterTable_AlterTableOperation_offsets_[2] = {
72  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_AlterTableOperation, operation_),
73  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_AlterTableOperation, drop_name_),
74  };
75  AlterTable_AlterTableOperation_reflection_ =
76  new ::google::protobuf::internal::GeneratedMessageReflection(
77  AlterTable_AlterTableOperation_descriptor_,
78  AlterTable_AlterTableOperation::default_instance_,
79  AlterTable_AlterTableOperation_offsets_,
80  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_AlterTableOperation, _has_bits_[0]),
81  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_AlterTableOperation, _unknown_fields_),
82  -1,
83  ::google::protobuf::DescriptorPool::generated_pool(),
84  ::google::protobuf::MessageFactory::generated_factory(),
85  sizeof(AlterTable_AlterTableOperation));
86  AlterTable_AlterTableOperation_Operation_descriptor_ = AlterTable_AlterTableOperation_descriptor_->enum_type(0);
87  AlterTable_RenameTable_descriptor_ = AlterTable_descriptor_->nested_type(1);
88  static const int AlterTable_RenameTable_offsets_[2] = {
89  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_RenameTable, to_schema_),
90  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_RenameTable, to_name_),
91  };
92  AlterTable_RenameTable_reflection_ =
93  new ::google::protobuf::internal::GeneratedMessageReflection(
94  AlterTable_RenameTable_descriptor_,
95  AlterTable_RenameTable::default_instance_,
96  AlterTable_RenameTable_offsets_,
97  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_RenameTable, _has_bits_[0]),
98  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_RenameTable, _unknown_fields_),
99  -1,
100  ::google::protobuf::DescriptorPool::generated_pool(),
101  ::google::protobuf::MessageFactory::generated_factory(),
102  sizeof(AlterTable_RenameTable));
103  AlterTable_AlterKeysOnOff_descriptor_ = AlterTable_descriptor_->nested_type(2);
104  static const int AlterTable_AlterKeysOnOff_offsets_[1] = {
105  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_AlterKeysOnOff, enable_),
106  };
107  AlterTable_AlterKeysOnOff_reflection_ =
108  new ::google::protobuf::internal::GeneratedMessageReflection(
109  AlterTable_AlterKeysOnOff_descriptor_,
110  AlterTable_AlterKeysOnOff::default_instance_,
111  AlterTable_AlterKeysOnOff_offsets_,
112  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_AlterKeysOnOff, _has_bits_[0]),
113  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AlterTable_AlterKeysOnOff, _unknown_fields_),
114  -1,
115  ::google::protobuf::DescriptorPool::generated_pool(),
116  ::google::protobuf::MessageFactory::generated_factory(),
117  sizeof(AlterTable_AlterKeysOnOff));
118  AlterTable_BuildMethod_descriptor_ = AlterTable_descriptor_->enum_type(0);
119 }
120 
121 namespace {
122 
123 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
124 inline void protobuf_AssignDescriptorsOnce() {
125  ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
126  &protobuf_AssignDesc_alter_5ftable_2eproto);
127 }
128 
129 void protobuf_RegisterTypes(const ::std::string&) {
130  protobuf_AssignDescriptorsOnce();
131  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
132  AlterTable_descriptor_, &AlterTable::default_instance());
133  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
134  AlterTable_AlterTableOperation_descriptor_, &AlterTable_AlterTableOperation::default_instance());
135  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
136  AlterTable_RenameTable_descriptor_, &AlterTable_RenameTable::default_instance());
137  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
138  AlterTable_AlterKeysOnOff_descriptor_, &AlterTable_AlterKeysOnOff::default_instance());
139 }
140 
141 } // namespace
142 
143 void protobuf_ShutdownFile_alter_5ftable_2eproto() {
144  delete AlterTable::default_instance_;
145  delete AlterTable_reflection_;
146  delete AlterTable_AlterTableOperation::default_instance_;
147  delete AlterTable_AlterTableOperation_reflection_;
148  delete AlterTable_RenameTable::default_instance_;
149  delete AlterTable_RenameTable_reflection_;
150  delete AlterTable_AlterKeysOnOff::default_instance_;
151  delete AlterTable_AlterKeysOnOff_reflection_;
152 }
153 
154 void protobuf_AddDesc_alter_5ftable_2eproto() {
155  static bool already_here = false;
156  if (already_here) return;
157  already_here = true;
158  GOOGLE_PROTOBUF_VERIFY_VERSION;
159 
160  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
161  "\n\021alter_table.proto\022\020drizzled.message\"\357\005"
162  "\n\nAlterTable\022\017\n\007catalog\030\001 \001(\t\022\016\n\006schema\030"
163  "\002 \002(\t\022\014\n\004name\030\003 \002(\t\022M\n\014build_method\030\004 \002("
164  "\0162(.drizzled.message.AlterTable.BuildMet"
165  "hod:\rBUILD_DEFAULT\022\025\n\006ignore\030\005 \002(\010:\005fals"
166  "e\022D\n\noperations\030\006 \003(\01320.drizzled.message"
167  ".AlterTable.AlterTableOperation\0228\n\006renam"
168  "e\030\007 \001(\0132(.drizzled.message.AlterTable.Re"
169  "nameTable\022E\n\020alter_keys_onoff\030\010 \001(\0132+.dr"
170  "izzled.message.AlterTable.AlterKeysOnOff"
171  "\032\350\001\n\023AlterTableOperation\022M\n\toperation\030\001 "
172  "\002(\0162:.drizzled.message.AlterTable.AlterT"
173  "ableOperation.Operation\022\021\n\tdrop_name\030\002 \001"
174  "(\t\"o\n\tOperation\022\026\n\022DISCARD_TABLESPACE\020\000\022"
175  "\025\n\021IMPORT_TABLESPACE\020\001\022\014\n\010DROP_KEY\020\002\022\017\n\013"
176  "DROP_COLUMN\020\003\022\024\n\020DROP_FOREIGN_KEY\020\004\0321\n\013R"
177  "enameTable\022\021\n\tto_schema\030\001 \002(\t\022\017\n\007to_name"
178  "\030\002 \002(\t\032 \n\016AlterKeysOnOff\022\016\n\006enable\030\001 \002(\010"
179  "\"E\n\013BuildMethod\022\021\n\rBUILD_DEFAULT\020\000\022\020\n\014BU"
180  "ILD_ONLINE\020\001\022\021\n\rBUILD_OFFLINE\020\002B+\n\024org.d"
181  "rizzle.messagesB\021AlterTableMessageH\001", 836);
182  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
183  "alter_table.proto", &protobuf_RegisterTypes);
184  AlterTable::default_instance_ = new AlterTable();
185  AlterTable_AlterTableOperation::default_instance_ = new AlterTable_AlterTableOperation();
186  AlterTable_RenameTable::default_instance_ = new AlterTable_RenameTable();
187  AlterTable_AlterKeysOnOff::default_instance_ = new AlterTable_AlterKeysOnOff();
188  AlterTable::default_instance_->InitAsDefaultInstance();
189  AlterTable_AlterTableOperation::default_instance_->InitAsDefaultInstance();
190  AlterTable_RenameTable::default_instance_->InitAsDefaultInstance();
191  AlterTable_AlterKeysOnOff::default_instance_->InitAsDefaultInstance();
192  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_alter_5ftable_2eproto);
193 }
194 
195 // Force AddDescriptors() to be called at static initialization time.
198  protobuf_AddDesc_alter_5ftable_2eproto();
199  }
200 } static_descriptor_initializer_alter_5ftable_2eproto_;
201 
202 // ===================================================================
203 
204 const ::google::protobuf::EnumDescriptor* AlterTable_BuildMethod_descriptor() {
205  protobuf_AssignDescriptorsOnce();
206  return AlterTable_BuildMethod_descriptor_;
207 }
208 bool AlterTable_BuildMethod_IsValid(int value) {
209  switch(value) {
210  case 0:
211  case 1:
212  case 2:
213  return true;
214  default:
215  return false;
216  }
217 }
218 
219 #ifndef _MSC_VER
220 const AlterTable_BuildMethod AlterTable::BUILD_DEFAULT;
221 const AlterTable_BuildMethod AlterTable::BUILD_ONLINE;
222 const AlterTable_BuildMethod AlterTable::BUILD_OFFLINE;
223 const AlterTable_BuildMethod AlterTable::BuildMethod_MIN;
224 const AlterTable_BuildMethod AlterTable::BuildMethod_MAX;
225 const int AlterTable::BuildMethod_ARRAYSIZE;
226 #endif // _MSC_VER
227 const ::google::protobuf::EnumDescriptor* AlterTable_AlterTableOperation_Operation_descriptor() {
228  protobuf_AssignDescriptorsOnce();
229  return AlterTable_AlterTableOperation_Operation_descriptor_;
230 }
231 bool AlterTable_AlterTableOperation_Operation_IsValid(int value) {
232  switch(value) {
233  case 0:
234  case 1:
235  case 2:
236  case 3:
237  case 4:
238  return true;
239  default:
240  return false;
241  }
242 }
243 
244 #ifndef _MSC_VER
245 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation::DISCARD_TABLESPACE;
246 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation::IMPORT_TABLESPACE;
247 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation::DROP_KEY;
248 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation::DROP_COLUMN;
249 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation::DROP_FOREIGN_KEY;
250 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation::Operation_MIN;
251 const AlterTable_AlterTableOperation_Operation AlterTable_AlterTableOperation::Operation_MAX;
252 const int AlterTable_AlterTableOperation::Operation_ARRAYSIZE;
253 #endif // _MSC_VER
254 #ifndef _MSC_VER
255 const int AlterTable_AlterTableOperation::kOperationFieldNumber;
256 const int AlterTable_AlterTableOperation::kDropNameFieldNumber;
257 #endif // !_MSC_VER
258 
259 AlterTable_AlterTableOperation::AlterTable_AlterTableOperation()
260  : ::google::protobuf::Message() {
261  SharedCtor();
262  // @@protoc_insertion_point(constructor:drizzled.message.AlterTable.AlterTableOperation)
263 }
264 
265 void AlterTable_AlterTableOperation::InitAsDefaultInstance() {
266 }
267 
268 AlterTable_AlterTableOperation::AlterTable_AlterTableOperation(const AlterTable_AlterTableOperation& from)
269  : ::google::protobuf::Message() {
270  SharedCtor();
271  MergeFrom(from);
272  // @@protoc_insertion_point(copy_constructor:drizzled.message.AlterTable.AlterTableOperation)
273 }
274 
275 void AlterTable_AlterTableOperation::SharedCtor() {
276  ::google::protobuf::internal::GetEmptyString();
277  _cached_size_ = 0;
278  operation_ = 0;
279  drop_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
280  ::memset(_has_bits_, 0, sizeof(_has_bits_));
281 }
282 
283 AlterTable_AlterTableOperation::~AlterTable_AlterTableOperation() {
284  // @@protoc_insertion_point(destructor:drizzled.message.AlterTable.AlterTableOperation)
285  SharedDtor();
286 }
287 
288 void AlterTable_AlterTableOperation::SharedDtor() {
289  if (drop_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
290  delete drop_name_;
291  }
292  if (this != default_instance_) {
293  }
294 }
295 
296 void AlterTable_AlterTableOperation::SetCachedSize(int size) const {
297  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
298  _cached_size_ = size;
299  GOOGLE_SAFE_CONCURRENT_WRITES_END();
300 }
301 const ::google::protobuf::Descriptor* AlterTable_AlterTableOperation::descriptor() {
302  protobuf_AssignDescriptorsOnce();
303  return AlterTable_AlterTableOperation_descriptor_;
304 }
305 
306 const AlterTable_AlterTableOperation& AlterTable_AlterTableOperation::default_instance() {
307  if (default_instance_ == NULL) protobuf_AddDesc_alter_5ftable_2eproto();
308  return *default_instance_;
309 }
310 
311 AlterTable_AlterTableOperation* AlterTable_AlterTableOperation::default_instance_ = NULL;
312 
313 AlterTable_AlterTableOperation* AlterTable_AlterTableOperation::New() const {
314  return new AlterTable_AlterTableOperation;
315 }
316 
317 void AlterTable_AlterTableOperation::Clear() {
318  if (_has_bits_[0 / 32] & 3) {
319  operation_ = 0;
320  if (has_drop_name()) {
321  if (drop_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
322  drop_name_->clear();
323  }
324  }
325  }
326  ::memset(_has_bits_, 0, sizeof(_has_bits_));
327  mutable_unknown_fields()->Clear();
328 }
329 
330 bool AlterTable_AlterTableOperation::MergePartialFromCodedStream(
331  ::google::protobuf::io::CodedInputStream* input) {
332 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
333  ::google::protobuf::uint32 tag;
334  // @@protoc_insertion_point(parse_start:drizzled.message.AlterTable.AlterTableOperation)
335  for (;;) {
336  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
337  tag = p.first;
338  if (!p.second) goto handle_unusual;
339  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
340  // required .drizzled.message.AlterTable.AlterTableOperation.Operation operation = 1;
341  case 1: {
342  if (tag == 8) {
343  int value;
344  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
345  int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
346  input, &value)));
347  if (::drizzled::message::AlterTable_AlterTableOperation_Operation_IsValid(value)) {
348  set_operation(static_cast< ::drizzled::message::AlterTable_AlterTableOperation_Operation >(value));
349  } else {
350  mutable_unknown_fields()->AddVarint(1, value);
351  }
352  } else {
353  goto handle_unusual;
354  }
355  if (input->ExpectTag(18)) goto parse_drop_name;
356  break;
357  }
358 
359  // optional string drop_name = 2;
360  case 2: {
361  if (tag == 18) {
362  parse_drop_name:
363  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
364  input, this->mutable_drop_name()));
365  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
366  this->drop_name().data(), this->drop_name().length(),
367  ::google::protobuf::internal::WireFormat::PARSE,
368  "drop_name");
369  } else {
370  goto handle_unusual;
371  }
372  if (input->ExpectAtEnd()) goto success;
373  break;
374  }
375 
376  default: {
377  handle_unusual:
378  if (tag == 0 ||
379  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
380  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
381  goto success;
382  }
383  DO_(::google::protobuf::internal::WireFormat::SkipField(
384  input, tag, mutable_unknown_fields()));
385  break;
386  }
387  }
388  }
389 success:
390  // @@protoc_insertion_point(parse_success:drizzled.message.AlterTable.AlterTableOperation)
391  return true;
392 failure:
393  // @@protoc_insertion_point(parse_failure:drizzled.message.AlterTable.AlterTableOperation)
394  return false;
395 #undef DO_
396 }
397 
398 void AlterTable_AlterTableOperation::SerializeWithCachedSizes(
399  ::google::protobuf::io::CodedOutputStream* output) const {
400  // @@protoc_insertion_point(serialize_start:drizzled.message.AlterTable.AlterTableOperation)
401  // required .drizzled.message.AlterTable.AlterTableOperation.Operation operation = 1;
402  if (has_operation()) {
403  ::google::protobuf::internal::WireFormatLite::WriteEnum(
404  1, this->operation(), output);
405  }
406 
407  // optional string drop_name = 2;
408  if (has_drop_name()) {
409  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
410  this->drop_name().data(), this->drop_name().length(),
411  ::google::protobuf::internal::WireFormat::SERIALIZE,
412  "drop_name");
413  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
414  2, this->drop_name(), output);
415  }
416 
417  if (!unknown_fields().empty()) {
418  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
419  unknown_fields(), output);
420  }
421  // @@protoc_insertion_point(serialize_end:drizzled.message.AlterTable.AlterTableOperation)
422 }
423 
424 ::google::protobuf::uint8* AlterTable_AlterTableOperation::SerializeWithCachedSizesToArray(
425  ::google::protobuf::uint8* target) const {
426  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.AlterTable.AlterTableOperation)
427  // required .drizzled.message.AlterTable.AlterTableOperation.Operation operation = 1;
428  if (has_operation()) {
429  target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
430  1, this->operation(), target);
431  }
432 
433  // optional string drop_name = 2;
434  if (has_drop_name()) {
435  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
436  this->drop_name().data(), this->drop_name().length(),
437  ::google::protobuf::internal::WireFormat::SERIALIZE,
438  "drop_name");
439  target =
440  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
441  2, this->drop_name(), target);
442  }
443 
444  if (!unknown_fields().empty()) {
445  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
446  unknown_fields(), target);
447  }
448  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.AlterTable.AlterTableOperation)
449  return target;
450 }
451 
452 int AlterTable_AlterTableOperation::ByteSize() const {
453  int total_size = 0;
454 
455  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
456  // required .drizzled.message.AlterTable.AlterTableOperation.Operation operation = 1;
457  if (has_operation()) {
458  total_size += 1 +
459  ::google::protobuf::internal::WireFormatLite::EnumSize(this->operation());
460  }
461 
462  // optional string drop_name = 2;
463  if (has_drop_name()) {
464  total_size += 1 +
465  ::google::protobuf::internal::WireFormatLite::StringSize(
466  this->drop_name());
467  }
468 
469  }
470  if (!unknown_fields().empty()) {
471  total_size +=
472  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
473  unknown_fields());
474  }
475  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
476  _cached_size_ = total_size;
477  GOOGLE_SAFE_CONCURRENT_WRITES_END();
478  return total_size;
479 }
480 
481 void AlterTable_AlterTableOperation::MergeFrom(const ::google::protobuf::Message& from) {
482  GOOGLE_CHECK_NE(&from, this);
483  const AlterTable_AlterTableOperation* source =
484  ::google::protobuf::internal::dynamic_cast_if_available<const AlterTable_AlterTableOperation*>(
485  &from);
486  if (source == NULL) {
487  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
488  } else {
489  MergeFrom(*source);
490  }
491 }
492 
493 void AlterTable_AlterTableOperation::MergeFrom(const AlterTable_AlterTableOperation& from) {
494  GOOGLE_CHECK_NE(&from, this);
495  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
496  if (from.has_operation()) {
497  set_operation(from.operation());
498  }
499  if (from.has_drop_name()) {
500  set_drop_name(from.drop_name());
501  }
502  }
503  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
504 }
505 
506 void AlterTable_AlterTableOperation::CopyFrom(const ::google::protobuf::Message& from) {
507  if (&from == this) return;
508  Clear();
509  MergeFrom(from);
510 }
511 
512 void AlterTable_AlterTableOperation::CopyFrom(const AlterTable_AlterTableOperation& from) {
513  if (&from == this) return;
514  Clear();
515  MergeFrom(from);
516 }
517 
518 bool AlterTable_AlterTableOperation::IsInitialized() const {
519  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
520 
521  return true;
522 }
523 
524 void AlterTable_AlterTableOperation::Swap(AlterTable_AlterTableOperation* other) {
525  if (other != this) {
526  std::swap(operation_, other->operation_);
527  std::swap(drop_name_, other->drop_name_);
528  std::swap(_has_bits_[0], other->_has_bits_[0]);
529  _unknown_fields_.Swap(&other->_unknown_fields_);
530  std::swap(_cached_size_, other->_cached_size_);
531  }
532 }
533 
534 ::google::protobuf::Metadata AlterTable_AlterTableOperation::GetMetadata() const {
535  protobuf_AssignDescriptorsOnce();
536  ::google::protobuf::Metadata metadata;
537  metadata.descriptor = AlterTable_AlterTableOperation_descriptor_;
538  metadata.reflection = AlterTable_AlterTableOperation_reflection_;
539  return metadata;
540 }
541 
542 
543 // -------------------------------------------------------------------
544 
545 #ifndef _MSC_VER
546 const int AlterTable_RenameTable::kToSchemaFieldNumber;
547 const int AlterTable_RenameTable::kToNameFieldNumber;
548 #endif // !_MSC_VER
549 
550 AlterTable_RenameTable::AlterTable_RenameTable()
551  : ::google::protobuf::Message() {
552  SharedCtor();
553  // @@protoc_insertion_point(constructor:drizzled.message.AlterTable.RenameTable)
554 }
555 
556 void AlterTable_RenameTable::InitAsDefaultInstance() {
557 }
558 
559 AlterTable_RenameTable::AlterTable_RenameTable(const AlterTable_RenameTable& from)
560  : ::google::protobuf::Message() {
561  SharedCtor();
562  MergeFrom(from);
563  // @@protoc_insertion_point(copy_constructor:drizzled.message.AlterTable.RenameTable)
564 }
565 
566 void AlterTable_RenameTable::SharedCtor() {
567  ::google::protobuf::internal::GetEmptyString();
568  _cached_size_ = 0;
569  to_schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
570  to_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
571  ::memset(_has_bits_, 0, sizeof(_has_bits_));
572 }
573 
574 AlterTable_RenameTable::~AlterTable_RenameTable() {
575  // @@protoc_insertion_point(destructor:drizzled.message.AlterTable.RenameTable)
576  SharedDtor();
577 }
578 
579 void AlterTable_RenameTable::SharedDtor() {
580  if (to_schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
581  delete to_schema_;
582  }
583  if (to_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
584  delete to_name_;
585  }
586  if (this != default_instance_) {
587  }
588 }
589 
590 void AlterTable_RenameTable::SetCachedSize(int size) const {
591  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
592  _cached_size_ = size;
593  GOOGLE_SAFE_CONCURRENT_WRITES_END();
594 }
595 const ::google::protobuf::Descriptor* AlterTable_RenameTable::descriptor() {
596  protobuf_AssignDescriptorsOnce();
597  return AlterTable_RenameTable_descriptor_;
598 }
599 
600 const AlterTable_RenameTable& AlterTable_RenameTable::default_instance() {
601  if (default_instance_ == NULL) protobuf_AddDesc_alter_5ftable_2eproto();
602  return *default_instance_;
603 }
604 
605 AlterTable_RenameTable* AlterTable_RenameTable::default_instance_ = NULL;
606 
607 AlterTable_RenameTable* AlterTable_RenameTable::New() const {
608  return new AlterTable_RenameTable;
609 }
610 
611 void AlterTable_RenameTable::Clear() {
612  if (_has_bits_[0 / 32] & 3) {
613  if (has_to_schema()) {
614  if (to_schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
615  to_schema_->clear();
616  }
617  }
618  if (has_to_name()) {
619  if (to_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
620  to_name_->clear();
621  }
622  }
623  }
624  ::memset(_has_bits_, 0, sizeof(_has_bits_));
625  mutable_unknown_fields()->Clear();
626 }
627 
628 bool AlterTable_RenameTable::MergePartialFromCodedStream(
629  ::google::protobuf::io::CodedInputStream* input) {
630 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
631  ::google::protobuf::uint32 tag;
632  // @@protoc_insertion_point(parse_start:drizzled.message.AlterTable.RenameTable)
633  for (;;) {
634  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
635  tag = p.first;
636  if (!p.second) goto handle_unusual;
637  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
638  // required string to_schema = 1;
639  case 1: {
640  if (tag == 10) {
641  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
642  input, this->mutable_to_schema()));
643  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
644  this->to_schema().data(), this->to_schema().length(),
645  ::google::protobuf::internal::WireFormat::PARSE,
646  "to_schema");
647  } else {
648  goto handle_unusual;
649  }
650  if (input->ExpectTag(18)) goto parse_to_name;
651  break;
652  }
653 
654  // required string to_name = 2;
655  case 2: {
656  if (tag == 18) {
657  parse_to_name:
658  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
659  input, this->mutable_to_name()));
660  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
661  this->to_name().data(), this->to_name().length(),
662  ::google::protobuf::internal::WireFormat::PARSE,
663  "to_name");
664  } else {
665  goto handle_unusual;
666  }
667  if (input->ExpectAtEnd()) goto success;
668  break;
669  }
670 
671  default: {
672  handle_unusual:
673  if (tag == 0 ||
674  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
675  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
676  goto success;
677  }
678  DO_(::google::protobuf::internal::WireFormat::SkipField(
679  input, tag, mutable_unknown_fields()));
680  break;
681  }
682  }
683  }
684 success:
685  // @@protoc_insertion_point(parse_success:drizzled.message.AlterTable.RenameTable)
686  return true;
687 failure:
688  // @@protoc_insertion_point(parse_failure:drizzled.message.AlterTable.RenameTable)
689  return false;
690 #undef DO_
691 }
692 
693 void AlterTable_RenameTable::SerializeWithCachedSizes(
694  ::google::protobuf::io::CodedOutputStream* output) const {
695  // @@protoc_insertion_point(serialize_start:drizzled.message.AlterTable.RenameTable)
696  // required string to_schema = 1;
697  if (has_to_schema()) {
698  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
699  this->to_schema().data(), this->to_schema().length(),
700  ::google::protobuf::internal::WireFormat::SERIALIZE,
701  "to_schema");
702  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
703  1, this->to_schema(), output);
704  }
705 
706  // required string to_name = 2;
707  if (has_to_name()) {
708  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
709  this->to_name().data(), this->to_name().length(),
710  ::google::protobuf::internal::WireFormat::SERIALIZE,
711  "to_name");
712  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
713  2, this->to_name(), output);
714  }
715 
716  if (!unknown_fields().empty()) {
717  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
718  unknown_fields(), output);
719  }
720  // @@protoc_insertion_point(serialize_end:drizzled.message.AlterTable.RenameTable)
721 }
722 
723 ::google::protobuf::uint8* AlterTable_RenameTable::SerializeWithCachedSizesToArray(
724  ::google::protobuf::uint8* target) const {
725  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.AlterTable.RenameTable)
726  // required string to_schema = 1;
727  if (has_to_schema()) {
728  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
729  this->to_schema().data(), this->to_schema().length(),
730  ::google::protobuf::internal::WireFormat::SERIALIZE,
731  "to_schema");
732  target =
733  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
734  1, this->to_schema(), target);
735  }
736 
737  // required string to_name = 2;
738  if (has_to_name()) {
739  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
740  this->to_name().data(), this->to_name().length(),
741  ::google::protobuf::internal::WireFormat::SERIALIZE,
742  "to_name");
743  target =
744  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
745  2, this->to_name(), target);
746  }
747 
748  if (!unknown_fields().empty()) {
749  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
750  unknown_fields(), target);
751  }
752  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.AlterTable.RenameTable)
753  return target;
754 }
755 
756 int AlterTable_RenameTable::ByteSize() const {
757  int total_size = 0;
758 
759  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
760  // required string to_schema = 1;
761  if (has_to_schema()) {
762  total_size += 1 +
763  ::google::protobuf::internal::WireFormatLite::StringSize(
764  this->to_schema());
765  }
766 
767  // required string to_name = 2;
768  if (has_to_name()) {
769  total_size += 1 +
770  ::google::protobuf::internal::WireFormatLite::StringSize(
771  this->to_name());
772  }
773 
774  }
775  if (!unknown_fields().empty()) {
776  total_size +=
777  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
778  unknown_fields());
779  }
780  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
781  _cached_size_ = total_size;
782  GOOGLE_SAFE_CONCURRENT_WRITES_END();
783  return total_size;
784 }
785 
786 void AlterTable_RenameTable::MergeFrom(const ::google::protobuf::Message& from) {
787  GOOGLE_CHECK_NE(&from, this);
788  const AlterTable_RenameTable* source =
789  ::google::protobuf::internal::dynamic_cast_if_available<const AlterTable_RenameTable*>(
790  &from);
791  if (source == NULL) {
792  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
793  } else {
794  MergeFrom(*source);
795  }
796 }
797 
798 void AlterTable_RenameTable::MergeFrom(const AlterTable_RenameTable& from) {
799  GOOGLE_CHECK_NE(&from, this);
800  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
801  if (from.has_to_schema()) {
802  set_to_schema(from.to_schema());
803  }
804  if (from.has_to_name()) {
805  set_to_name(from.to_name());
806  }
807  }
808  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
809 }
810 
811 void AlterTable_RenameTable::CopyFrom(const ::google::protobuf::Message& from) {
812  if (&from == this) return;
813  Clear();
814  MergeFrom(from);
815 }
816 
817 void AlterTable_RenameTable::CopyFrom(const AlterTable_RenameTable& from) {
818  if (&from == this) return;
819  Clear();
820  MergeFrom(from);
821 }
822 
823 bool AlterTable_RenameTable::IsInitialized() const {
824  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
825 
826  return true;
827 }
828 
829 void AlterTable_RenameTable::Swap(AlterTable_RenameTable* other) {
830  if (other != this) {
831  std::swap(to_schema_, other->to_schema_);
832  std::swap(to_name_, other->to_name_);
833  std::swap(_has_bits_[0], other->_has_bits_[0]);
834  _unknown_fields_.Swap(&other->_unknown_fields_);
835  std::swap(_cached_size_, other->_cached_size_);
836  }
837 }
838 
839 ::google::protobuf::Metadata AlterTable_RenameTable::GetMetadata() const {
840  protobuf_AssignDescriptorsOnce();
841  ::google::protobuf::Metadata metadata;
842  metadata.descriptor = AlterTable_RenameTable_descriptor_;
843  metadata.reflection = AlterTable_RenameTable_reflection_;
844  return metadata;
845 }
846 
847 
848 // -------------------------------------------------------------------
849 
850 #ifndef _MSC_VER
851 const int AlterTable_AlterKeysOnOff::kEnableFieldNumber;
852 #endif // !_MSC_VER
853 
854 AlterTable_AlterKeysOnOff::AlterTable_AlterKeysOnOff()
855  : ::google::protobuf::Message() {
856  SharedCtor();
857  // @@protoc_insertion_point(constructor:drizzled.message.AlterTable.AlterKeysOnOff)
858 }
859 
860 void AlterTable_AlterKeysOnOff::InitAsDefaultInstance() {
861 }
862 
863 AlterTable_AlterKeysOnOff::AlterTable_AlterKeysOnOff(const AlterTable_AlterKeysOnOff& from)
864  : ::google::protobuf::Message() {
865  SharedCtor();
866  MergeFrom(from);
867  // @@protoc_insertion_point(copy_constructor:drizzled.message.AlterTable.AlterKeysOnOff)
868 }
869 
870 void AlterTable_AlterKeysOnOff::SharedCtor() {
871  _cached_size_ = 0;
872  enable_ = false;
873  ::memset(_has_bits_, 0, sizeof(_has_bits_));
874 }
875 
876 AlterTable_AlterKeysOnOff::~AlterTable_AlterKeysOnOff() {
877  // @@protoc_insertion_point(destructor:drizzled.message.AlterTable.AlterKeysOnOff)
878  SharedDtor();
879 }
880 
881 void AlterTable_AlterKeysOnOff::SharedDtor() {
882  if (this != default_instance_) {
883  }
884 }
885 
886 void AlterTable_AlterKeysOnOff::SetCachedSize(int size) const {
887  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
888  _cached_size_ = size;
889  GOOGLE_SAFE_CONCURRENT_WRITES_END();
890 }
891 const ::google::protobuf::Descriptor* AlterTable_AlterKeysOnOff::descriptor() {
892  protobuf_AssignDescriptorsOnce();
893  return AlterTable_AlterKeysOnOff_descriptor_;
894 }
895 
896 const AlterTable_AlterKeysOnOff& AlterTable_AlterKeysOnOff::default_instance() {
897  if (default_instance_ == NULL) protobuf_AddDesc_alter_5ftable_2eproto();
898  return *default_instance_;
899 }
900 
901 AlterTable_AlterKeysOnOff* AlterTable_AlterKeysOnOff::default_instance_ = NULL;
902 
903 AlterTable_AlterKeysOnOff* AlterTable_AlterKeysOnOff::New() const {
904  return new AlterTable_AlterKeysOnOff;
905 }
906 
907 void AlterTable_AlterKeysOnOff::Clear() {
908  enable_ = false;
909  ::memset(_has_bits_, 0, sizeof(_has_bits_));
910  mutable_unknown_fields()->Clear();
911 }
912 
913 bool AlterTable_AlterKeysOnOff::MergePartialFromCodedStream(
914  ::google::protobuf::io::CodedInputStream* input) {
915 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
916  ::google::protobuf::uint32 tag;
917  // @@protoc_insertion_point(parse_start:drizzled.message.AlterTable.AlterKeysOnOff)
918  for (;;) {
919  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
920  tag = p.first;
921  if (!p.second) goto handle_unusual;
922  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
923  // required bool enable = 1;
924  case 1: {
925  if (tag == 8) {
926  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
927  bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
928  input, &enable_)));
929  set_has_enable();
930  } else {
931  goto handle_unusual;
932  }
933  if (input->ExpectAtEnd()) goto success;
934  break;
935  }
936 
937  default: {
938  handle_unusual:
939  if (tag == 0 ||
940  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
941  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
942  goto success;
943  }
944  DO_(::google::protobuf::internal::WireFormat::SkipField(
945  input, tag, mutable_unknown_fields()));
946  break;
947  }
948  }
949  }
950 success:
951  // @@protoc_insertion_point(parse_success:drizzled.message.AlterTable.AlterKeysOnOff)
952  return true;
953 failure:
954  // @@protoc_insertion_point(parse_failure:drizzled.message.AlterTable.AlterKeysOnOff)
955  return false;
956 #undef DO_
957 }
958 
959 void AlterTable_AlterKeysOnOff::SerializeWithCachedSizes(
960  ::google::protobuf::io::CodedOutputStream* output) const {
961  // @@protoc_insertion_point(serialize_start:drizzled.message.AlterTable.AlterKeysOnOff)
962  // required bool enable = 1;
963  if (has_enable()) {
964  ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->enable(), output);
965  }
966 
967  if (!unknown_fields().empty()) {
968  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
969  unknown_fields(), output);
970  }
971  // @@protoc_insertion_point(serialize_end:drizzled.message.AlterTable.AlterKeysOnOff)
972 }
973 
974 ::google::protobuf::uint8* AlterTable_AlterKeysOnOff::SerializeWithCachedSizesToArray(
975  ::google::protobuf::uint8* target) const {
976  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.AlterTable.AlterKeysOnOff)
977  // required bool enable = 1;
978  if (has_enable()) {
979  target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->enable(), target);
980  }
981 
982  if (!unknown_fields().empty()) {
983  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
984  unknown_fields(), target);
985  }
986  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.AlterTable.AlterKeysOnOff)
987  return target;
988 }
989 
990 int AlterTable_AlterKeysOnOff::ByteSize() const {
991  int total_size = 0;
992 
993  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
994  // required bool enable = 1;
995  if (has_enable()) {
996  total_size += 1 + 1;
997  }
998 
999  }
1000  if (!unknown_fields().empty()) {
1001  total_size +=
1002  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1003  unknown_fields());
1004  }
1005  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1006  _cached_size_ = total_size;
1007  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1008  return total_size;
1009 }
1010 
1011 void AlterTable_AlterKeysOnOff::MergeFrom(const ::google::protobuf::Message& from) {
1012  GOOGLE_CHECK_NE(&from, this);
1013  const AlterTable_AlterKeysOnOff* source =
1014  ::google::protobuf::internal::dynamic_cast_if_available<const AlterTable_AlterKeysOnOff*>(
1015  &from);
1016  if (source == NULL) {
1017  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1018  } else {
1019  MergeFrom(*source);
1020  }
1021 }
1022 
1023 void AlterTable_AlterKeysOnOff::MergeFrom(const AlterTable_AlterKeysOnOff& from) {
1024  GOOGLE_CHECK_NE(&from, this);
1025  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1026  if (from.has_enable()) {
1027  set_enable(from.enable());
1028  }
1029  }
1030  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
1031 }
1032 
1033 void AlterTable_AlterKeysOnOff::CopyFrom(const ::google::protobuf::Message& from) {
1034  if (&from == this) return;
1035  Clear();
1036  MergeFrom(from);
1037 }
1038 
1039 void AlterTable_AlterKeysOnOff::CopyFrom(const AlterTable_AlterKeysOnOff& from) {
1040  if (&from == this) return;
1041  Clear();
1042  MergeFrom(from);
1043 }
1044 
1045 bool AlterTable_AlterKeysOnOff::IsInitialized() const {
1046  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
1047 
1048  return true;
1049 }
1050 
1051 void AlterTable_AlterKeysOnOff::Swap(AlterTable_AlterKeysOnOff* other) {
1052  if (other != this) {
1053  std::swap(enable_, other->enable_);
1054  std::swap(_has_bits_[0], other->_has_bits_[0]);
1055  _unknown_fields_.Swap(&other->_unknown_fields_);
1056  std::swap(_cached_size_, other->_cached_size_);
1057  }
1058 }
1059 
1060 ::google::protobuf::Metadata AlterTable_AlterKeysOnOff::GetMetadata() const {
1061  protobuf_AssignDescriptorsOnce();
1062  ::google::protobuf::Metadata metadata;
1063  metadata.descriptor = AlterTable_AlterKeysOnOff_descriptor_;
1064  metadata.reflection = AlterTable_AlterKeysOnOff_reflection_;
1065  return metadata;
1066 }
1067 
1068 
1069 // -------------------------------------------------------------------
1070 
1071 #ifndef _MSC_VER
1072 const int AlterTable::kCatalogFieldNumber;
1073 const int AlterTable::kSchemaFieldNumber;
1074 const int AlterTable::kNameFieldNumber;
1075 const int AlterTable::kBuildMethodFieldNumber;
1076 const int AlterTable::kIgnoreFieldNumber;
1077 const int AlterTable::kOperationsFieldNumber;
1078 const int AlterTable::kRenameFieldNumber;
1079 const int AlterTable::kAlterKeysOnoffFieldNumber;
1080 #endif // !_MSC_VER
1081 
1082 AlterTable::AlterTable()
1083  : ::google::protobuf::Message() {
1084  SharedCtor();
1085  // @@protoc_insertion_point(constructor:drizzled.message.AlterTable)
1086 }
1087 
1088 void AlterTable::InitAsDefaultInstance() {
1089  rename_ = const_cast< ::drizzled::message::AlterTable_RenameTable*>(&::drizzled::message::AlterTable_RenameTable::default_instance());
1090  alter_keys_onoff_ = const_cast< ::drizzled::message::AlterTable_AlterKeysOnOff*>(&::drizzled::message::AlterTable_AlterKeysOnOff::default_instance());
1091 }
1092 
1093 AlterTable::AlterTable(const AlterTable& from)
1094  : ::google::protobuf::Message() {
1095  SharedCtor();
1096  MergeFrom(from);
1097  // @@protoc_insertion_point(copy_constructor:drizzled.message.AlterTable)
1098 }
1099 
1100 void AlterTable::SharedCtor() {
1101  ::google::protobuf::internal::GetEmptyString();
1102  _cached_size_ = 0;
1103  catalog_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1104  schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1105  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1106  build_method_ = 0;
1107  ignore_ = false;
1108  rename_ = NULL;
1109  alter_keys_onoff_ = NULL;
1110  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1111 }
1112 
1113 AlterTable::~AlterTable() {
1114  // @@protoc_insertion_point(destructor:drizzled.message.AlterTable)
1115  SharedDtor();
1116 }
1117 
1118 void AlterTable::SharedDtor() {
1119  if (catalog_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1120  delete catalog_;
1121  }
1122  if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1123  delete schema_;
1124  }
1125  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1126  delete name_;
1127  }
1128  if (this != default_instance_) {
1129  delete rename_;
1130  delete alter_keys_onoff_;
1131  }
1132 }
1133 
1134 void AlterTable::SetCachedSize(int size) const {
1135  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1136  _cached_size_ = size;
1137  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1138 }
1139 const ::google::protobuf::Descriptor* AlterTable::descriptor() {
1140  protobuf_AssignDescriptorsOnce();
1141  return AlterTable_descriptor_;
1142 }
1143 
1144 const AlterTable& AlterTable::default_instance() {
1145  if (default_instance_ == NULL) protobuf_AddDesc_alter_5ftable_2eproto();
1146  return *default_instance_;
1147 }
1148 
1149 AlterTable* AlterTable::default_instance_ = NULL;
1150 
1151 AlterTable* AlterTable::New() const {
1152  return new AlterTable;
1153 }
1154 
1155 void AlterTable::Clear() {
1156 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
1157  &reinterpret_cast<AlterTable*>(16)->f) - \
1158  reinterpret_cast<char*>(16))
1159 
1160 #define ZR_(first, last) do { \
1161  size_t f = OFFSET_OF_FIELD_(first); \
1162  size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \
1163  ::memset(&first, 0, n); \
1164  } while (0)
1165 
1166  if (_has_bits_[0 / 32] & 223) {
1167  ZR_(build_method_, ignore_);
1168  if (has_catalog()) {
1169  if (catalog_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1170  catalog_->clear();
1171  }
1172  }
1173  if (has_schema()) {
1174  if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1175  schema_->clear();
1176  }
1177  }
1178  if (has_name()) {
1179  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1180  name_->clear();
1181  }
1182  }
1183  if (has_rename()) {
1184  if (rename_ != NULL) rename_->::drizzled::message::AlterTable_RenameTable::Clear();
1185  }
1186  if (has_alter_keys_onoff()) {
1187  if (alter_keys_onoff_ != NULL) alter_keys_onoff_->::drizzled::message::AlterTable_AlterKeysOnOff::Clear();
1188  }
1189  }
1190 
1191 #undef OFFSET_OF_FIELD_
1192 #undef ZR_
1193 
1194  operations_.Clear();
1195  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1196  mutable_unknown_fields()->Clear();
1197 }
1198 
1199 bool AlterTable::MergePartialFromCodedStream(
1200  ::google::protobuf::io::CodedInputStream* input) {
1201 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
1202  ::google::protobuf::uint32 tag;
1203  // @@protoc_insertion_point(parse_start:drizzled.message.AlterTable)
1204  for (;;) {
1205  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
1206  tag = p.first;
1207  if (!p.second) goto handle_unusual;
1208  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1209  // optional string catalog = 1;
1210  case 1: {
1211  if (tag == 10) {
1212  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1213  input, this->mutable_catalog()));
1214  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1215  this->catalog().data(), this->catalog().length(),
1216  ::google::protobuf::internal::WireFormat::PARSE,
1217  "catalog");
1218  } else {
1219  goto handle_unusual;
1220  }
1221  if (input->ExpectTag(18)) goto parse_schema;
1222  break;
1223  }
1224 
1225  // required string schema = 2;
1226  case 2: {
1227  if (tag == 18) {
1228  parse_schema:
1229  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1230  input, this->mutable_schema()));
1231  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1232  this->schema().data(), this->schema().length(),
1233  ::google::protobuf::internal::WireFormat::PARSE,
1234  "schema");
1235  } else {
1236  goto handle_unusual;
1237  }
1238  if (input->ExpectTag(26)) goto parse_name;
1239  break;
1240  }
1241 
1242  // required string name = 3;
1243  case 3: {
1244  if (tag == 26) {
1245  parse_name:
1246  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1247  input, this->mutable_name()));
1248  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1249  this->name().data(), this->name().length(),
1250  ::google::protobuf::internal::WireFormat::PARSE,
1251  "name");
1252  } else {
1253  goto handle_unusual;
1254  }
1255  if (input->ExpectTag(32)) goto parse_build_method;
1256  break;
1257  }
1258 
1259  // required .drizzled.message.AlterTable.BuildMethod build_method = 4 [default = BUILD_DEFAULT];
1260  case 4: {
1261  if (tag == 32) {
1262  parse_build_method:
1263  int value;
1264  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1265  int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
1266  input, &value)));
1267  if (::drizzled::message::AlterTable_BuildMethod_IsValid(value)) {
1268  set_build_method(static_cast< ::drizzled::message::AlterTable_BuildMethod >(value));
1269  } else {
1270  mutable_unknown_fields()->AddVarint(4, value);
1271  }
1272  } else {
1273  goto handle_unusual;
1274  }
1275  if (input->ExpectTag(40)) goto parse_ignore;
1276  break;
1277  }
1278 
1279  // required bool ignore = 5 [default = false];
1280  case 5: {
1281  if (tag == 40) {
1282  parse_ignore:
1283  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1284  bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1285  input, &ignore_)));
1286  set_has_ignore();
1287  } else {
1288  goto handle_unusual;
1289  }
1290  if (input->ExpectTag(50)) goto parse_operations;
1291  break;
1292  }
1293 
1294  // repeated .drizzled.message.AlterTable.AlterTableOperation operations = 6;
1295  case 6: {
1296  if (tag == 50) {
1297  parse_operations:
1298  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
1299  input, add_operations()));
1300  } else {
1301  goto handle_unusual;
1302  }
1303  if (input->ExpectTag(50)) goto parse_operations;
1304  if (input->ExpectTag(58)) goto parse_rename;
1305  break;
1306  }
1307 
1308  // optional .drizzled.message.AlterTable.RenameTable rename = 7;
1309  case 7: {
1310  if (tag == 58) {
1311  parse_rename:
1312  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
1313  input, mutable_rename()));
1314  } else {
1315  goto handle_unusual;
1316  }
1317  if (input->ExpectTag(66)) goto parse_alter_keys_onoff;
1318  break;
1319  }
1320 
1321  // optional .drizzled.message.AlterTable.AlterKeysOnOff alter_keys_onoff = 8;
1322  case 8: {
1323  if (tag == 66) {
1324  parse_alter_keys_onoff:
1325  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
1326  input, mutable_alter_keys_onoff()));
1327  } else {
1328  goto handle_unusual;
1329  }
1330  if (input->ExpectAtEnd()) goto success;
1331  break;
1332  }
1333 
1334  default: {
1335  handle_unusual:
1336  if (tag == 0 ||
1337  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1338  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1339  goto success;
1340  }
1341  DO_(::google::protobuf::internal::WireFormat::SkipField(
1342  input, tag, mutable_unknown_fields()));
1343  break;
1344  }
1345  }
1346  }
1347 success:
1348  // @@protoc_insertion_point(parse_success:drizzled.message.AlterTable)
1349  return true;
1350 failure:
1351  // @@protoc_insertion_point(parse_failure:drizzled.message.AlterTable)
1352  return false;
1353 #undef DO_
1354 }
1355 
1356 void AlterTable::SerializeWithCachedSizes(
1357  ::google::protobuf::io::CodedOutputStream* output) const {
1358  // @@protoc_insertion_point(serialize_start:drizzled.message.AlterTable)
1359  // optional string catalog = 1;
1360  if (has_catalog()) {
1361  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1362  this->catalog().data(), this->catalog().length(),
1363  ::google::protobuf::internal::WireFormat::SERIALIZE,
1364  "catalog");
1365  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1366  1, this->catalog(), output);
1367  }
1368 
1369  // required string schema = 2;
1370  if (has_schema()) {
1371  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1372  this->schema().data(), this->schema().length(),
1373  ::google::protobuf::internal::WireFormat::SERIALIZE,
1374  "schema");
1375  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1376  2, this->schema(), output);
1377  }
1378 
1379  // required string name = 3;
1380  if (has_name()) {
1381  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1382  this->name().data(), this->name().length(),
1383  ::google::protobuf::internal::WireFormat::SERIALIZE,
1384  "name");
1385  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1386  3, this->name(), output);
1387  }
1388 
1389  // required .drizzled.message.AlterTable.BuildMethod build_method = 4 [default = BUILD_DEFAULT];
1390  if (has_build_method()) {
1391  ::google::protobuf::internal::WireFormatLite::WriteEnum(
1392  4, this->build_method(), output);
1393  }
1394 
1395  // required bool ignore = 5 [default = false];
1396  if (has_ignore()) {
1397  ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->ignore(), output);
1398  }
1399 
1400  // repeated .drizzled.message.AlterTable.AlterTableOperation operations = 6;
1401  for (int i = 0; i < this->operations_size(); i++) {
1402  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1403  6, this->operations(i), output);
1404  }
1405 
1406  // optional .drizzled.message.AlterTable.RenameTable rename = 7;
1407  if (has_rename()) {
1408  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1409  7, this->rename(), output);
1410  }
1411 
1412  // optional .drizzled.message.AlterTable.AlterKeysOnOff alter_keys_onoff = 8;
1413  if (has_alter_keys_onoff()) {
1414  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1415  8, this->alter_keys_onoff(), output);
1416  }
1417 
1418  if (!unknown_fields().empty()) {
1419  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1420  unknown_fields(), output);
1421  }
1422  // @@protoc_insertion_point(serialize_end:drizzled.message.AlterTable)
1423 }
1424 
1425 ::google::protobuf::uint8* AlterTable::SerializeWithCachedSizesToArray(
1426  ::google::protobuf::uint8* target) const {
1427  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.AlterTable)
1428  // optional string catalog = 1;
1429  if (has_catalog()) {
1430  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1431  this->catalog().data(), this->catalog().length(),
1432  ::google::protobuf::internal::WireFormat::SERIALIZE,
1433  "catalog");
1434  target =
1435  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1436  1, this->catalog(), target);
1437  }
1438 
1439  // required string schema = 2;
1440  if (has_schema()) {
1441  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1442  this->schema().data(), this->schema().length(),
1443  ::google::protobuf::internal::WireFormat::SERIALIZE,
1444  "schema");
1445  target =
1446  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1447  2, this->schema(), target);
1448  }
1449 
1450  // required string name = 3;
1451  if (has_name()) {
1452  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1453  this->name().data(), this->name().length(),
1454  ::google::protobuf::internal::WireFormat::SERIALIZE,
1455  "name");
1456  target =
1457  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1458  3, this->name(), target);
1459  }
1460 
1461  // required .drizzled.message.AlterTable.BuildMethod build_method = 4 [default = BUILD_DEFAULT];
1462  if (has_build_method()) {
1463  target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1464  4, this->build_method(), target);
1465  }
1466 
1467  // required bool ignore = 5 [default = false];
1468  if (has_ignore()) {
1469  target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->ignore(), target);
1470  }
1471 
1472  // repeated .drizzled.message.AlterTable.AlterTableOperation operations = 6;
1473  for (int i = 0; i < this->operations_size(); i++) {
1474  target = ::google::protobuf::internal::WireFormatLite::
1475  WriteMessageNoVirtualToArray(
1476  6, this->operations(i), target);
1477  }
1478 
1479  // optional .drizzled.message.AlterTable.RenameTable rename = 7;
1480  if (has_rename()) {
1481  target = ::google::protobuf::internal::WireFormatLite::
1482  WriteMessageNoVirtualToArray(
1483  7, this->rename(), target);
1484  }
1485 
1486  // optional .drizzled.message.AlterTable.AlterKeysOnOff alter_keys_onoff = 8;
1487  if (has_alter_keys_onoff()) {
1488  target = ::google::protobuf::internal::WireFormatLite::
1489  WriteMessageNoVirtualToArray(
1490  8, this->alter_keys_onoff(), target);
1491  }
1492 
1493  if (!unknown_fields().empty()) {
1494  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1495  unknown_fields(), target);
1496  }
1497  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.AlterTable)
1498  return target;
1499 }
1500 
1501 int AlterTable::ByteSize() const {
1502  int total_size = 0;
1503 
1504  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1505  // optional string catalog = 1;
1506  if (has_catalog()) {
1507  total_size += 1 +
1508  ::google::protobuf::internal::WireFormatLite::StringSize(
1509  this->catalog());
1510  }
1511 
1512  // required string schema = 2;
1513  if (has_schema()) {
1514  total_size += 1 +
1515  ::google::protobuf::internal::WireFormatLite::StringSize(
1516  this->schema());
1517  }
1518 
1519  // required string name = 3;
1520  if (has_name()) {
1521  total_size += 1 +
1522  ::google::protobuf::internal::WireFormatLite::StringSize(
1523  this->name());
1524  }
1525 
1526  // required .drizzled.message.AlterTable.BuildMethod build_method = 4 [default = BUILD_DEFAULT];
1527  if (has_build_method()) {
1528  total_size += 1 +
1529  ::google::protobuf::internal::WireFormatLite::EnumSize(this->build_method());
1530  }
1531 
1532  // required bool ignore = 5 [default = false];
1533  if (has_ignore()) {
1534  total_size += 1 + 1;
1535  }
1536 
1537  // optional .drizzled.message.AlterTable.RenameTable rename = 7;
1538  if (has_rename()) {
1539  total_size += 1 +
1540  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
1541  this->rename());
1542  }
1543 
1544  // optional .drizzled.message.AlterTable.AlterKeysOnOff alter_keys_onoff = 8;
1545  if (has_alter_keys_onoff()) {
1546  total_size += 1 +
1547  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
1548  this->alter_keys_onoff());
1549  }
1550 
1551  }
1552  // repeated .drizzled.message.AlterTable.AlterTableOperation operations = 6;
1553  total_size += 1 * this->operations_size();
1554  for (int i = 0; i < this->operations_size(); i++) {
1555  total_size +=
1556  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
1557  this->operations(i));
1558  }
1559 
1560  if (!unknown_fields().empty()) {
1561  total_size +=
1562  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1563  unknown_fields());
1564  }
1565  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1566  _cached_size_ = total_size;
1567  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1568  return total_size;
1569 }
1570 
1571 void AlterTable::MergeFrom(const ::google::protobuf::Message& from) {
1572  GOOGLE_CHECK_NE(&from, this);
1573  const AlterTable* source =
1574  ::google::protobuf::internal::dynamic_cast_if_available<const AlterTable*>(
1575  &from);
1576  if (source == NULL) {
1577  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1578  } else {
1579  MergeFrom(*source);
1580  }
1581 }
1582 
1583 void AlterTable::MergeFrom(const AlterTable& from) {
1584  GOOGLE_CHECK_NE(&from, this);
1585  operations_.MergeFrom(from.operations_);
1586  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1587  if (from.has_catalog()) {
1588  set_catalog(from.catalog());
1589  }
1590  if (from.has_schema()) {
1591  set_schema(from.schema());
1592  }
1593  if (from.has_name()) {
1594  set_name(from.name());
1595  }
1596  if (from.has_build_method()) {
1597  set_build_method(from.build_method());
1598  }
1599  if (from.has_ignore()) {
1600  set_ignore(from.ignore());
1601  }
1602  if (from.has_rename()) {
1603  mutable_rename()->::drizzled::message::AlterTable_RenameTable::MergeFrom(from.rename());
1604  }
1605  if (from.has_alter_keys_onoff()) {
1606  mutable_alter_keys_onoff()->::drizzled::message::AlterTable_AlterKeysOnOff::MergeFrom(from.alter_keys_onoff());
1607  }
1608  }
1609  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
1610 }
1611 
1612 void AlterTable::CopyFrom(const ::google::protobuf::Message& from) {
1613  if (&from == this) return;
1614  Clear();
1615  MergeFrom(from);
1616 }
1617 
1618 void AlterTable::CopyFrom(const AlterTable& from) {
1619  if (&from == this) return;
1620  Clear();
1621  MergeFrom(from);
1622 }
1623 
1624 bool AlterTable::IsInitialized() const {
1625  if ((_has_bits_[0] & 0x0000001e) != 0x0000001e) return false;
1626 
1627  if (!::google::protobuf::internal::AllAreInitialized(this->operations())) return false;
1628  if (has_rename()) {
1629  if (!this->rename().IsInitialized()) return false;
1630  }
1631  if (has_alter_keys_onoff()) {
1632  if (!this->alter_keys_onoff().IsInitialized()) return false;
1633  }
1634  return true;
1635 }
1636 
1637 void AlterTable::Swap(AlterTable* other) {
1638  if (other != this) {
1639  std::swap(catalog_, other->catalog_);
1640  std::swap(schema_, other->schema_);
1641  std::swap(name_, other->name_);
1642  std::swap(build_method_, other->build_method_);
1643  std::swap(ignore_, other->ignore_);
1644  operations_.Swap(&other->operations_);
1645  std::swap(rename_, other->rename_);
1646  std::swap(alter_keys_onoff_, other->alter_keys_onoff_);
1647  std::swap(_has_bits_[0], other->_has_bits_[0]);
1648  _unknown_fields_.Swap(&other->_unknown_fields_);
1649  std::swap(_cached_size_, other->_cached_size_);
1650  }
1651 }
1652 
1653 ::google::protobuf::Metadata AlterTable::GetMetadata() const {
1654  protobuf_AssignDescriptorsOnce();
1655  ::google::protobuf::Metadata metadata;
1656  metadata.descriptor = AlterTable_descriptor_;
1657  metadata.reflection = AlterTable_reflection_;
1658  return metadata;
1659 }
1660 
1661 
1662 // @@protoc_insertion_point(namespace_scope)
1663 
1664 } // namespace message
1665 } // namespace drizzled
1666 
1667 // @@protoc_insertion_point(global_scope)
TODO: Rename this file - func.h is stupid.