Drizzled Public API Documentation

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