Drizzled Public API Documentation

engine.pb.cc
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: engine.proto
3 
4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
5 #include "engine.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* Engine_descriptor_ = NULL;
25 const ::google::protobuf::internal::GeneratedMessageReflection*
26  Engine_reflection_ = NULL;
27 const ::google::protobuf::Descriptor* Engine_Option_descriptor_ = NULL;
28 const ::google::protobuf::internal::GeneratedMessageReflection*
29  Engine_Option_reflection_ = NULL;
30 
31 } // namespace
32 
33 
34 void protobuf_AssignDesc_engine_2eproto() {
35  protobuf_AddDesc_engine_2eproto();
36  const ::google::protobuf::FileDescriptor* file =
37  ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
38  "engine.proto");
39  GOOGLE_CHECK(file != NULL);
40  Engine_descriptor_ = file->message_type(0);
41  static const int Engine_offsets_[2] = {
42  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Engine, name_),
43  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Engine, options_),
44  };
45  Engine_reflection_ =
46  new ::google::protobuf::internal::GeneratedMessageReflection(
47  Engine_descriptor_,
48  Engine::default_instance_,
49  Engine_offsets_,
50  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Engine, _has_bits_[0]),
51  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Engine, _unknown_fields_),
52  -1,
53  ::google::protobuf::DescriptorPool::generated_pool(),
54  ::google::protobuf::MessageFactory::generated_factory(),
55  sizeof(Engine));
56  Engine_Option_descriptor_ = Engine_descriptor_->nested_type(0);
57  static const int Engine_Option_offsets_[2] = {
58  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Engine_Option, name_),
59  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Engine_Option, state_),
60  };
61  Engine_Option_reflection_ =
62  new ::google::protobuf::internal::GeneratedMessageReflection(
63  Engine_Option_descriptor_,
64  Engine_Option::default_instance_,
65  Engine_Option_offsets_,
66  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Engine_Option, _has_bits_[0]),
67  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Engine_Option, _unknown_fields_),
68  -1,
69  ::google::protobuf::DescriptorPool::generated_pool(),
70  ::google::protobuf::MessageFactory::generated_factory(),
71  sizeof(Engine_Option));
72 }
73 
74 namespace {
75 
76 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
77 inline void protobuf_AssignDescriptorsOnce() {
78  ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
79  &protobuf_AssignDesc_engine_2eproto);
80 }
81 
82 void protobuf_RegisterTypes(const ::std::string&) {
83  protobuf_AssignDescriptorsOnce();
84  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
85  Engine_descriptor_, &Engine::default_instance());
86  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
87  Engine_Option_descriptor_, &Engine_Option::default_instance());
88 }
89 
90 } // namespace
91 
92 void protobuf_ShutdownFile_engine_2eproto() {
93  delete Engine::default_instance_;
94  delete Engine_reflection_;
95  delete Engine_Option::default_instance_;
96  delete Engine_Option_reflection_;
97 }
98 
99 void protobuf_AddDesc_engine_2eproto() {
100  static bool already_here = false;
101  if (already_here) return;
102  already_here = true;
103  GOOGLE_PROTOBUF_VERIFY_VERSION;
104 
105  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
106  "\n\014engine.proto\022\020drizzled.message\"o\n\006Engi"
107  "ne\022\014\n\004name\030\001 \002(\t\0220\n\007options\030\002 \003(\0132\037.driz"
108  "zled.message.Engine.Option\032%\n\006Option\022\014\n\004"
109  "name\030\001 \002(\t\022\r\n\005state\030\002 \001(\tB\'\n\024org.drizzle"
110  ".messagesB\rEngineMessageH\001", 186);
111  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
112  "engine.proto", &protobuf_RegisterTypes);
113  Engine::default_instance_ = new Engine();
114  Engine_Option::default_instance_ = new Engine_Option();
115  Engine::default_instance_->InitAsDefaultInstance();
116  Engine_Option::default_instance_->InitAsDefaultInstance();
117  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_engine_2eproto);
118 }
119 
120 // Force AddDescriptors() to be called at static initialization time.
123  protobuf_AddDesc_engine_2eproto();
124  }
125 } static_descriptor_initializer_engine_2eproto_;
126 
127 // ===================================================================
128 
129 #ifndef _MSC_VER
130 const int Engine_Option::kNameFieldNumber;
131 const int Engine_Option::kStateFieldNumber;
132 #endif // !_MSC_VER
133 
134 Engine_Option::Engine_Option()
135  : ::google::protobuf::Message() {
136  SharedCtor();
137 }
138 
139 void Engine_Option::InitAsDefaultInstance() {
140 }
141 
142 Engine_Option::Engine_Option(const Engine_Option& from)
143  : ::google::protobuf::Message() {
144  SharedCtor();
145  MergeFrom(from);
146 }
147 
148 void Engine_Option::SharedCtor() {
149  _cached_size_ = 0;
150  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
151  state_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
152  ::memset(_has_bits_, 0, sizeof(_has_bits_));
153 }
154 
155 Engine_Option::~Engine_Option() {
156  SharedDtor();
157 }
158 
159 void Engine_Option::SharedDtor() {
160  if (name_ != &::google::protobuf::internal::kEmptyString) {
161  delete name_;
162  }
163  if (state_ != &::google::protobuf::internal::kEmptyString) {
164  delete state_;
165  }
166  if (this != default_instance_) {
167  }
168 }
169 
170 void Engine_Option::SetCachedSize(int size) const {
171  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
172  _cached_size_ = size;
173  GOOGLE_SAFE_CONCURRENT_WRITES_END();
174 }
175 const ::google::protobuf::Descriptor* Engine_Option::descriptor() {
176  protobuf_AssignDescriptorsOnce();
177  return Engine_Option_descriptor_;
178 }
179 
180 const Engine_Option& Engine_Option::default_instance() {
181  if (default_instance_ == NULL) protobuf_AddDesc_engine_2eproto();
182  return *default_instance_;
183 }
184 
185 Engine_Option* Engine_Option::default_instance_ = NULL;
186 
187 Engine_Option* Engine_Option::New() const {
188  return new Engine_Option;
189 }
190 
191 void Engine_Option::Clear() {
192  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
193  if (has_name()) {
194  if (name_ != &::google::protobuf::internal::kEmptyString) {
195  name_->clear();
196  }
197  }
198  if (has_state()) {
199  if (state_ != &::google::protobuf::internal::kEmptyString) {
200  state_->clear();
201  }
202  }
203  }
204  ::memset(_has_bits_, 0, sizeof(_has_bits_));
205  mutable_unknown_fields()->Clear();
206 }
207 
208 bool Engine_Option::MergePartialFromCodedStream(
209  ::google::protobuf::io::CodedInputStream* input) {
210 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
211  ::google::protobuf::uint32 tag;
212  while ((tag = input->ReadTag()) != 0) {
213  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
214  // required string name = 1;
215  case 1: {
216  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
217  ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
218  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
219  input, this->mutable_name()));
220  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
221  this->name().data(), this->name().length(),
222  ::google::protobuf::internal::WireFormat::PARSE);
223  } else {
224  goto handle_uninterpreted;
225  }
226  if (input->ExpectTag(18)) goto parse_state;
227  break;
228  }
229 
230  // optional string state = 2;
231  case 2: {
232  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
233  ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
234  parse_state:
235  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
236  input, this->mutable_state()));
237  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
238  this->state().data(), this->state().length(),
239  ::google::protobuf::internal::WireFormat::PARSE);
240  } else {
241  goto handle_uninterpreted;
242  }
243  if (input->ExpectAtEnd()) return true;
244  break;
245  }
246 
247  default: {
248  handle_uninterpreted:
249  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
250  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
251  return true;
252  }
253  DO_(::google::protobuf::internal::WireFormat::SkipField(
254  input, tag, mutable_unknown_fields()));
255  break;
256  }
257  }
258  }
259  return true;
260 #undef DO_
261 }
262 
263 void Engine_Option::SerializeWithCachedSizes(
264  ::google::protobuf::io::CodedOutputStream* output) const {
265  // required string name = 1;
266  if (has_name()) {
267  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
268  this->name().data(), this->name().length(),
269  ::google::protobuf::internal::WireFormat::SERIALIZE);
270  ::google::protobuf::internal::WireFormatLite::WriteString(
271  1, this->name(), output);
272  }
273 
274  // optional string state = 2;
275  if (has_state()) {
276  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
277  this->state().data(), this->state().length(),
278  ::google::protobuf::internal::WireFormat::SERIALIZE);
279  ::google::protobuf::internal::WireFormatLite::WriteString(
280  2, this->state(), output);
281  }
282 
283  if (!unknown_fields().empty()) {
284  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
285  unknown_fields(), output);
286  }
287 }
288 
289 ::google::protobuf::uint8* Engine_Option::SerializeWithCachedSizesToArray(
290  ::google::protobuf::uint8* target) const {
291  // required string name = 1;
292  if (has_name()) {
293  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
294  this->name().data(), this->name().length(),
295  ::google::protobuf::internal::WireFormat::SERIALIZE);
296  target =
297  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
298  1, this->name(), target);
299  }
300 
301  // optional string state = 2;
302  if (has_state()) {
303  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
304  this->state().data(), this->state().length(),
305  ::google::protobuf::internal::WireFormat::SERIALIZE);
306  target =
307  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
308  2, this->state(), target);
309  }
310 
311  if (!unknown_fields().empty()) {
312  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
313  unknown_fields(), target);
314  }
315  return target;
316 }
317 
318 int Engine_Option::ByteSize() const {
319  int total_size = 0;
320 
321  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
322  // required string name = 1;
323  if (has_name()) {
324  total_size += 1 +
325  ::google::protobuf::internal::WireFormatLite::StringSize(
326  this->name());
327  }
328 
329  // optional string state = 2;
330  if (has_state()) {
331  total_size += 1 +
332  ::google::protobuf::internal::WireFormatLite::StringSize(
333  this->state());
334  }
335 
336  }
337  if (!unknown_fields().empty()) {
338  total_size +=
339  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
340  unknown_fields());
341  }
342  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
343  _cached_size_ = total_size;
344  GOOGLE_SAFE_CONCURRENT_WRITES_END();
345  return total_size;
346 }
347 
348 void Engine_Option::MergeFrom(const ::google::protobuf::Message& from) {
349  GOOGLE_CHECK_NE(&from, this);
350  const Engine_Option* source =
351  ::google::protobuf::internal::dynamic_cast_if_available<const Engine_Option*>(
352  &from);
353  if (source == NULL) {
354  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
355  } else {
356  MergeFrom(*source);
357  }
358 }
359 
360 void Engine_Option::MergeFrom(const Engine_Option& from) {
361  GOOGLE_CHECK_NE(&from, this);
362  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
363  if (from.has_name()) {
364  set_name(from.name());
365  }
366  if (from.has_state()) {
367  set_state(from.state());
368  }
369  }
370  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
371 }
372 
373 void Engine_Option::CopyFrom(const ::google::protobuf::Message& from) {
374  if (&from == this) return;
375  Clear();
376  MergeFrom(from);
377 }
378 
379 void Engine_Option::CopyFrom(const Engine_Option& from) {
380  if (&from == this) return;
381  Clear();
382  MergeFrom(from);
383 }
384 
385 bool Engine_Option::IsInitialized() const {
386  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
387 
388  return true;
389 }
390 
391 void Engine_Option::Swap(Engine_Option* other) {
392  if (other != this) {
393  std::swap(name_, other->name_);
394  std::swap(state_, other->state_);
395  std::swap(_has_bits_[0], other->_has_bits_[0]);
396  _unknown_fields_.Swap(&other->_unknown_fields_);
397  std::swap(_cached_size_, other->_cached_size_);
398  }
399 }
400 
401 ::google::protobuf::Metadata Engine_Option::GetMetadata() const {
402  protobuf_AssignDescriptorsOnce();
403  ::google::protobuf::Metadata metadata;
404  metadata.descriptor = Engine_Option_descriptor_;
405  metadata.reflection = Engine_Option_reflection_;
406  return metadata;
407 }
408 
409 
410 // -------------------------------------------------------------------
411 
412 #ifndef _MSC_VER
413 const int Engine::kNameFieldNumber;
414 const int Engine::kOptionsFieldNumber;
415 #endif // !_MSC_VER
416 
417 Engine::Engine()
418  : ::google::protobuf::Message() {
419  SharedCtor();
420 }
421 
422 void Engine::InitAsDefaultInstance() {
423 }
424 
425 Engine::Engine(const Engine& from)
426  : ::google::protobuf::Message() {
427  SharedCtor();
428  MergeFrom(from);
429 }
430 
431 void Engine::SharedCtor() {
432  _cached_size_ = 0;
433  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
434  ::memset(_has_bits_, 0, sizeof(_has_bits_));
435 }
436 
437 Engine::~Engine() {
438  SharedDtor();
439 }
440 
441 void Engine::SharedDtor() {
442  if (name_ != &::google::protobuf::internal::kEmptyString) {
443  delete name_;
444  }
445  if (this != default_instance_) {
446  }
447 }
448 
449 void Engine::SetCachedSize(int size) const {
450  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
451  _cached_size_ = size;
452  GOOGLE_SAFE_CONCURRENT_WRITES_END();
453 }
454 const ::google::protobuf::Descriptor* Engine::descriptor() {
455  protobuf_AssignDescriptorsOnce();
456  return Engine_descriptor_;
457 }
458 
459 const Engine& Engine::default_instance() {
460  if (default_instance_ == NULL) protobuf_AddDesc_engine_2eproto();
461  return *default_instance_;
462 }
463 
464 Engine* Engine::default_instance_ = NULL;
465 
466 Engine* Engine::New() const {
467  return new Engine;
468 }
469 
470 void Engine::Clear() {
471  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
472  if (has_name()) {
473  if (name_ != &::google::protobuf::internal::kEmptyString) {
474  name_->clear();
475  }
476  }
477  }
478  options_.Clear();
479  ::memset(_has_bits_, 0, sizeof(_has_bits_));
480  mutable_unknown_fields()->Clear();
481 }
482 
483 bool Engine::MergePartialFromCodedStream(
484  ::google::protobuf::io::CodedInputStream* input) {
485 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
486  ::google::protobuf::uint32 tag;
487  while ((tag = input->ReadTag()) != 0) {
488  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
489  // required string name = 1;
490  case 1: {
491  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
492  ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
493  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
494  input, this->mutable_name()));
495  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
496  this->name().data(), this->name().length(),
497  ::google::protobuf::internal::WireFormat::PARSE);
498  } else {
499  goto handle_uninterpreted;
500  }
501  if (input->ExpectTag(18)) goto parse_options;
502  break;
503  }
504 
505  // repeated .drizzled.message.Engine.Option options = 2;
506  case 2: {
507  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
508  ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
509  parse_options:
510  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
511  input, add_options()));
512  } else {
513  goto handle_uninterpreted;
514  }
515  if (input->ExpectTag(18)) goto parse_options;
516  if (input->ExpectAtEnd()) return true;
517  break;
518  }
519 
520  default: {
521  handle_uninterpreted:
522  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
523  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
524  return true;
525  }
526  DO_(::google::protobuf::internal::WireFormat::SkipField(
527  input, tag, mutable_unknown_fields()));
528  break;
529  }
530  }
531  }
532  return true;
533 #undef DO_
534 }
535 
536 void Engine::SerializeWithCachedSizes(
537  ::google::protobuf::io::CodedOutputStream* output) const {
538  // required string name = 1;
539  if (has_name()) {
540  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
541  this->name().data(), this->name().length(),
542  ::google::protobuf::internal::WireFormat::SERIALIZE);
543  ::google::protobuf::internal::WireFormatLite::WriteString(
544  1, this->name(), output);
545  }
546 
547  // repeated .drizzled.message.Engine.Option options = 2;
548  for (int i = 0; i < this->options_size(); i++) {
549  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
550  2, this->options(i), output);
551  }
552 
553  if (!unknown_fields().empty()) {
554  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
555  unknown_fields(), output);
556  }
557 }
558 
559 ::google::protobuf::uint8* Engine::SerializeWithCachedSizesToArray(
560  ::google::protobuf::uint8* target) const {
561  // required string name = 1;
562  if (has_name()) {
563  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
564  this->name().data(), this->name().length(),
565  ::google::protobuf::internal::WireFormat::SERIALIZE);
566  target =
567  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
568  1, this->name(), target);
569  }
570 
571  // repeated .drizzled.message.Engine.Option options = 2;
572  for (int i = 0; i < this->options_size(); i++) {
573  target = ::google::protobuf::internal::WireFormatLite::
574  WriteMessageNoVirtualToArray(
575  2, this->options(i), target);
576  }
577 
578  if (!unknown_fields().empty()) {
579  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
580  unknown_fields(), target);
581  }
582  return target;
583 }
584 
585 int Engine::ByteSize() const {
586  int total_size = 0;
587 
588  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
589  // required string name = 1;
590  if (has_name()) {
591  total_size += 1 +
592  ::google::protobuf::internal::WireFormatLite::StringSize(
593  this->name());
594  }
595 
596  }
597  // repeated .drizzled.message.Engine.Option options = 2;
598  total_size += 1 * this->options_size();
599  for (int i = 0; i < this->options_size(); i++) {
600  total_size +=
601  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
602  this->options(i));
603  }
604 
605  if (!unknown_fields().empty()) {
606  total_size +=
607  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
608  unknown_fields());
609  }
610  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
611  _cached_size_ = total_size;
612  GOOGLE_SAFE_CONCURRENT_WRITES_END();
613  return total_size;
614 }
615 
616 void Engine::MergeFrom(const ::google::protobuf::Message& from) {
617  GOOGLE_CHECK_NE(&from, this);
618  const Engine* source =
619  ::google::protobuf::internal::dynamic_cast_if_available<const Engine*>(
620  &from);
621  if (source == NULL) {
622  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
623  } else {
624  MergeFrom(*source);
625  }
626 }
627 
628 void Engine::MergeFrom(const Engine& from) {
629  GOOGLE_CHECK_NE(&from, this);
630  options_.MergeFrom(from.options_);
631  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
632  if (from.has_name()) {
633  set_name(from.name());
634  }
635  }
636  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
637 }
638 
639 void Engine::CopyFrom(const ::google::protobuf::Message& from) {
640  if (&from == this) return;
641  Clear();
642  MergeFrom(from);
643 }
644 
645 void Engine::CopyFrom(const Engine& from) {
646  if (&from == this) return;
647  Clear();
648  MergeFrom(from);
649 }
650 
651 bool Engine::IsInitialized() const {
652  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
653 
654  for (int i = 0; i < options_size(); i++) {
655  if (!this->options(i).IsInitialized()) return false;
656  }
657  return true;
658 }
659 
660 void Engine::Swap(Engine* other) {
661  if (other != this) {
662  std::swap(name_, other->name_);
663  options_.Swap(&other->options_);
664  std::swap(_has_bits_[0], other->_has_bits_[0]);
665  _unknown_fields_.Swap(&other->_unknown_fields_);
666  std::swap(_cached_size_, other->_cached_size_);
667  }
668 }
669 
670 ::google::protobuf::Metadata Engine::GetMetadata() const {
671  protobuf_AssignDescriptorsOnce();
672  ::google::protobuf::Metadata metadata;
673  metadata.descriptor = Engine_descriptor_;
674  metadata.reflection = Engine_reflection_;
675  return metadata;
676 }
677 
678 
679 // @@protoc_insertion_point(namespace_scope)
680 
681 } // namespace message
682 } // namespace drizzled
683 
684 // @@protoc_insertion_point(global_scope)